*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0D0D0D;
  --white: #FAFAF8;
  --accent: #E8501A;
  --muted: #888580;
  --border: #E2E0DB;
  --surface: #F2F0EC;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.screen.hidden { display: none; }

.container {
  max-width: 520px;
  width: 100%;
}

.container.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.logo {
  font-family: 'Instrument Serif', serif;
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
  letter-spacing: 0.5px;
}

.logo span { color: var(--accent); }

h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

h1 em { font-style: italic; color: var(--accent); }

h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.subtitle {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.setup-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.field input,
.field textarea {
  background: #1A1A1A;
  border: 1px solid #2A2A2A;
  border-radius: 10px;
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #444;
}

.btn-primary {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
  width: 100%;
}

.btn-primary:hover { opacity: 0.9; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-secondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid #2A2A2A;
  border-radius: 12px;
  padding: 12px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.btn-secondary:hover { border-color: var(--muted); }

.note {
  font-size: 12px;
  color: #444;
  text-align: center;
}

/* LOADER */
.loader {
  width: 40px;
  height: 40px;
  border: 2px solid #2A2A2A;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* BRIEFING SCREEN */
.briefing-header {
  margin-bottom: 32px;
}

.date-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 12px;
}

.player-card {
  background: #161616;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.play-btn:hover { opacity: 0.9; }

.player-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}

.player-time {
  font-size: 12px;
  color: var(--muted);
}

.progress-bar {
  height: 4px;
  background: #2A2A2A;
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

/* TRANSCRIPT */
.transcript-section {
  margin-bottom: 24px;
}

.transcript-toggle {
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  padding: 12px 0;
  border-top: 1px solid #2A2A2A;
  transition: color 0.2s;
}

.transcript-toggle:hover { color: var(--white); }

.transcript {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  padding: 16px 0;
  white-space: pre-wrap;
}

.transcript.hidden { display: none; }

.actions {
  display: flex;
  justify-content: center;
}