:root {
  --bg: #FAF8F4;
  --surface: #FFFFFF;
  --surface-soft: #F3EFE8;
  --ink: #1A2238;
  --ink-muted: #5A647B;
  --border: #E6E0D6;
  --blue: #234E9B;
  --blue-soft: #EAF1FC;
  --red: #D9534F;
  --red-soft: #FDECEC;
  --amber-bg: #FEF3C7;
  --amber-ink: #92400E;
  --green: #2E7D62;
  --green-soft: #E6F4EF;
  --purple: #6D4C9F;
  --purple-soft: #F2ECFA;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 24px rgba(26, 34, 56, 0.06);
  --shadow-sm: 0 2px 10px rgba(26, 34, 56, 0.05);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.app-shell {
  max-width: 780px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(86px + env(safe-area-inset-bottom));
}

/* Header */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.brand-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.brand-sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

.brand-tagline {
  margin: 0;
  font-size: 11px;
  color: var(--ink-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  transition: transform 0.12s ease, background 0.15s ease;
}

.pill-btn:active {
  transform: scale(0.96);
}

.pill-subtle {
  background: var(--surface-soft);
  color: var(--ink-muted);
  border-color: transparent;
}

.voice-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.voice-dot.male {
  background: var(--blue);
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 16px;
}

/* Section Headers & Hero */
.hero-banner {
  background: linear-gradient(135deg, #1A2238 0%, #234E9B 100%);
  color: #FAF8F4;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.hero-banner h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
}

.hero-banner p {
  margin: 0;
  font-size: 13px;
  opacity: 0.88;
}

.hero-cta {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: #FAF8F4;
  color: #1A2238;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-cta:active {
  transform: scale(0.96);
}

/* Legend Strip */
.legend-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--ink-muted);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Unit Map Grid */
.unit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 12px;
}

.unit-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.unit-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.unit-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.unit-emoji {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface-soft);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.unit-stage {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 4px;
}

.unit-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.unit-subtitle {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.unit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
  font-size: 12px;
  color: var(--ink-muted);
}

.progress-bar-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--surface-soft);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--green);
  transition: width 0.25s ease;
}

/* Unit Detail Header */
.unit-detail-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
}

.detail-toggles {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.toggle-chip {
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-muted);
}

.toggle-chip.active {
  background: var(--blue-soft);
  border-color: var(--blue);
  color: var(--blue);
}

.unit-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 14px;
  gap: 10px;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.12s ease, opacity 0.15s ease;
}

.primary-btn:active {
  transform: scale(0.97);
}

.primary-btn.danger {
  background: var(--red);
}

/* Four-Layer Sentence Card */
.sentence-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sentence-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease;
}

.sentence-card.is-playing {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(35, 78, 155, 0.12);
}

.sentence-card.is-fuzzy {
  border-left: 5px solid var(--red);
}

.sentence-card.is-mastered {
  border-left: 5px solid var(--green);
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.speaker-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}

.speaker-badge.other {
  background: var(--blue-soft);
  color: var(--blue);
}

.speaker-badge.me {
  background: var(--green-soft);
  color: var(--green);
}

.card-index {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
}

.status-pills {
  display: flex;
  gap: 6px;
}

.status-btn {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--ink-muted);
  background: var(--surface-soft);
}

.status-btn.active-fuzzy {
  background: var(--red-soft);
  border-color: var(--red);
  color: var(--red);
}

.status-btn.active-mastered {
  background: var(--green-soft);
  border-color: var(--green);
  color: var(--green);
}

/* Layer 1: French visual pronunciation text */
.layer-fr {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 4px;
  cursor: pointer;
}

.tok-silent {
  color: #A0A7B8;
  opacity: 0.55;
  text-decoration: underline dotted #B6BDCB;
  text-underline-offset: 4px;
}

.tok-nasal {
  background: var(--amber-bg);
  color: var(--amber-ink);
  border-radius: 5px;
  padding: 0 3px;
}

.tok-liaison {
  color: var(--blue);
  font-weight: 900;
  margin: 0 1px;
}

.tok-liaison-char {
  color: var(--blue);
  text-decoration: underline solid var(--blue);
  text-underline-offset: 4px;
}

.tok-r {
  border-bottom: 2px solid rgba(217, 83, 79, 0.55);
}

/* Layer 2: IPA */
.layer-ipa {
  font-family: ui-monospace, "SF Mono", Menlo, Monaco, monospace;
  font-size: 14px;
  color: var(--blue);
  background: var(--blue-soft);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 8px;
  margin: 4px 0 10px;
}

/* Layer 3: Chinese meaning + Building Blocks */
.layer-zh {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.blocks-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.block-chip {
  display: inline-flex;
  flex-direction: column;
  padding: 5px 10px;
  border-radius: 10px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  font-size: 12px;
}

.block-chip .b-fr {
  font-weight: 700;
  color: var(--ink);
}

.block-chip .b-zh {
  color: var(--ink-muted);
  font-size: 11.5px;
}

/* Layer 4: Real Spoken French */
.spoken-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--purple-soft);
  border: 1px solid rgba(109, 76, 159, 0.22);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  margin-bottom: 10px;
}

.spoken-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.spoken-fr {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.spoken-note {
  font-size: 12px;
  color: var(--ink-muted);
}

.spoken-play-btn {
  flex-shrink: 0;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* Backward Buildup (Pimsleur) */
.backward-box {
  background: #F6F9FC;
  border: 1px dashed #BFD3EE;
  border-radius: var(--radius-sm);
  padding: 8px 11px;
  margin-bottom: 10px;
  font-size: 12px;
}

.backward-title {
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}

.backward-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}

.backward-step {
  background: #fff;
  border: 1px solid #D9E5F7;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}

/* Pronunciation Tip */
.tip-box {
  font-size: 12.5px;
  color: var(--ink-muted);
  background: var(--surface-soft);
  border-radius: var(--radius-sm);
  padding: 8px 11px;
  margin-bottom: 12px;
}

/* Card Audio & Shadowing Toolbar */
.card-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  transition: transform 0.1s ease, background 0.15s ease;
}

.ctrl-btn:active {
  transform: scale(0.96);
}

.ctrl-btn.play-main {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.ctrl-btn.play-slow {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: rgba(35, 78, 155, 0.25);
}

.ctrl-btn.rec-active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  animation: pulseGlow 1.1s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 83, 79, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(217, 83, 79, 0); }
}

/* ============== Ear-Washing Studio View ============== */
.studio-card {
  background: linear-gradient(160deg, #1A2238 0%, #203A6B 100%);
  color: #FAF8F4;
  border-radius: 24px;
  padding: 22px 20px;
  box-shadow: 0 16px 36px rgba(26, 34, 56, 0.18);
  margin-bottom: 16px;
}

.studio-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  opacity: 0.85;
  margin-bottom: 14px;
}

.phase-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.phase-pill.speak-now {
  background: var(--red);
  color: #fff;
  animation: pulseGlow 1s infinite;
}

.studio-fr {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 6px;
}

.studio-fr .tok-silent {
  color: rgba(250, 248, 244, 0.35);
  text-decoration-color: rgba(250, 248, 244, 0.25);
}

.studio-fr .tok-nasal {
  background: rgba(251, 191, 36, 0.25);
  color: #FDE68A;
}

.studio-fr .tok-liaison,
.studio-fr .tok-liaison-char {
  color: #93C5FD;
}

.studio-ipa {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 14px;
  color: #BFDBFE;
  margin-bottom: 10px;
}

.studio-zh {
  font-size: 17px;
  font-weight: 600;
  color: rgba(250, 248, 244, 0.92);
  margin-bottom: 12px;
}

.studio-spoken {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 10px;
  background: rgba(167, 139, 250, 0.22);
  color: #DDD6FE;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.rhythm-track {
  display: flex;
  gap: 6px;
  margin: 14px 0 18px;
}

.rhythm-step {
  flex: 1;
  text-align: center;
  padding: 6px 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.2s ease;
}

.rhythm-step.active {
  background: #FAF8F4;
  color: #1A2238;
  font-weight: 800;
}

.transport-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
}

.transport-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 18px;
  display: grid;
  place-items: center;
}

.transport-btn.main-play {
  width: 64px;
  height: 64px;
  background: #FAF8F4;
  color: #1A2238;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.settings-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.setting-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 7px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-chip {
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--surface-soft);
  border: 1.5px solid transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.choice-chip.selected {
  background: var(--blue-soft);
  border-color: var(--blue);
  color: var(--blue);
}

.queue-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.queue-header {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 800;
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}

.queue-row {
  width: 100%;
  text-align: left;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.queue-row:last-child {
  border-bottom: none;
}

.queue-row.current {
  background: var(--blue-soft);
}

.queue-row-fr {
  font-size: 14px;
  font-weight: 700;
}

.queue-row-zh {
  font-size: 12px;
  color: var(--ink-muted);
}

/* ============== Phonetics Lab ============== */
.lab-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.lab-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  margin-bottom: 6px;
}

.lab-title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
}

.lab-sub {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--ink-muted);
}

.lab-note-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.lab-note {
  background: var(--surface-soft);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  font-size: 12.5px;
}

.lab-note strong {
  display: block;
  font-size: 11.5px;
  color: var(--blue);
  margin-bottom: 2px;
}

.lab-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lab-ex-btn {
  flex: 1 1 180px;
  text-align: left;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: #FAF8F4;
  border: 1.5px solid var(--border);
  transition: border-color 0.15s ease, transform 0.1s ease;
}

.lab-ex-btn:hover {
  border-color: var(--blue);
}

.lab-ex-btn:active {
  transform: scale(0.98);
}

.lab-ex-fr {
  font-size: 18px;
  font-weight: 800;
}

.lab-ex-ipa {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--blue);
}

.lab-ex-zh {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* ============== Review Dashboard ============== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
}

.stat-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--blue);
}

.stat-label {
  font-size: 11.5px;
  color: var(--ink-muted);
}

.empty-state {
  text-align: center;
  padding: 36px 20px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--ink-muted);
}

/* Mini Persistent Player */
.mini-player {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(68px + env(safe-area-inset-bottom));
  width: min(748px, calc(100% - 24px));
  background: #1A2238;
  color: #FAF8F4;
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 10px 28px rgba(26, 34, 56, 0.25);
  z-index: 30;
}

.mini-player.hidden {
  display: none;
}

.mini-player-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  cursor: pointer;
}

.mini-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ADE80;
  flex-shrink: 0;
}

.mini-text {
  min-width: 0;
}

.mini-fr {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-phase {
  font-size: 11.5px;
  opacity: 0.78;
}

.mini-controls {
  display: flex;
  gap: 8px;
}

.icon-circle-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 25;
}

.bottom-nav .nav-item {
  flex: 1;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px 10px;
  gap: 2px;
  color: var(--ink-muted);
  font-size: 11.5px;
  font-weight: 600;
}

.bottom-nav .nav-item.active {
  color: var(--blue);
  font-weight: 800;
}

.nav-icon {
  font-size: 20px;
  line-height: 1.1;
}

/* Toast */
.toast {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  background: #1A2238;
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  z-index: 50;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.toast.hidden {
  display: none;
}

@media (max-width: 520px) {
  .hero-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .layer-fr {
    font-size: 21px;
  }
  .studio-fr {
    font-size: 23px;
  }
}
