/* Grow With AI — AI Slot Quiz
   Starship console: deep space, brushed titanium, ice-cyan hologram glow,
   restrained gold. Matches the teal hologram bridge on the site videos.
   Mobile-first. No paid assets.
*/

:root {
  --bg0: #070b14;
  --bg1: #10192a;
  --bg2: #04060c;
  --ice: #d9f7ff;
  --ice-2: #7ee7f6;
  --cyan: #3ec8de;
  --cyan-dim: rgba(62, 200, 222, .22);
  --gold: #c6a15a;
  --gold-hi: #e7d7a8;
  --metal-hi: #f4f7fa;
  --metal: #9aa6b2;
  --metal-lo: #3c4854;
  --ink: #e8f3f6;
  --ink-dim: rgba(214, 230, 236, .72);
  --glass: rgba(8, 16, 28, .72);
  --cell: clamp(52px, 15.2vw, 92px);
  --gap: clamp(3px, .8vw, 8px);
  --display: Orbitron, "Segoe UI", sans-serif;
  --ui: "Exo 2", "Segoe UI", system-ui, sans-serif;
  --read: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
html { height: 100%; }
body {
  min-height: 100%;
  font-family: var(--read);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 42% at 50% -10%, rgba(62, 200, 222, .16), transparent 58%),
    radial-gradient(ellipse 50% 36% at 80% 100%, rgba(90, 70, 160, .12), transparent 60%),
    radial-gradient(ellipse 40% 28% at 8% 80%, rgba(62, 200, 222, .06), transparent 70%),
    linear-gradient(180deg, var(--bg1) 0%, var(--bg0) 46%, var(--bg2) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, .85) 0 0.6px, transparent 1.2px),
    radial-gradient(circle at 72% 16%, rgba(255, 255, 255, .7) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 40% 70%, rgba(190, 230, 240, .7) 0 0.5px, transparent 1.1px),
    radial-gradient(circle at 84% 62%, rgba(255, 255, 255, .55) 0 0.5px, transparent 1px),
    linear-gradient(rgba(126, 231, 246, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 231, 246, .035) 1px, transparent 1px);
  background-size: 240px 180px, 320px 220px, 180px 160px, 280px 200px, 48px 48px, 48px 48px;
  opacity: .55;
  z-index: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}
.skip:focus {
  left: 8px;
  z-index: 20;
  background: #041018;
  color: var(--ice);
  padding: 8px 12px;
}

.top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 8px;
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(7, 11, 20, .92), rgba(7, 11, 20, .55) 72%, transparent);
}
.brand {
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ice);
  text-decoration: none;
}
.brand span { color: var(--ice-2); }
.top-actions { display: flex; gap: 8px; }

.icon-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 4px;
  border: 1px solid rgba(190, 220, 230, .45);
  background: linear-gradient(180deg, rgba(28, 42, 56, .8), rgba(8, 14, 22, .88));
  color: var(--ice);
  font: 500 11px/1 var(--display);
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: inset 0 0 12px rgba(62, 200, 222, .12), 0 0 0 1px rgba(198, 161, 90, .28);
}
.icon-btn:hover { border-color: rgba(126, 231, 246, .8); }
.icon-btn:focus-visible, .spin-btn:focus-visible, .choice:focus-visible,
.btn:focus-visible, .brand:focus-visible {
  outline: 2px solid var(--ice-2);
  outline-offset: 3px;
}

.stage {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  margin: 0 auto;
  padding: 8px 14px 32px;
}

.marquee {
  text-align: center;
  margin: 6px 0 12px;
}
.subtitle {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold-hi);
}
.jackpot {
  margin: 8px 0 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(26px, 7.2vw, 42px);
  letter-spacing: .16em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--ice);
  text-shadow: 0 0 18px rgba(62, 200, 222, .45);
}

.hud {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0 14px;
}
.meter {
  flex: 1;
  background: linear-gradient(180deg, rgba(18, 34, 48, .78), rgba(6, 12, 20, .86));
  border: 1px solid rgba(170, 214, 226, .38);
  border-radius: 4px;
  padding: 8px 12px 7px;
  box-shadow:
    inset 0 0 16px rgba(62, 200, 222, .08),
    0 0 0 1px rgba(198, 161, 90, .22);
  text-align: center;
}
.meter .label {
  display: block;
  font-family: var(--display);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .28em;
  color: var(--gold);
  text-transform: uppercase;
}
.meter .value {
  display: block;
  margin-top: 4px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 5.4vw, 28px);
  letter-spacing: .12em;
  color: var(--ice);
  text-shadow: 0 0 12px rgba(126, 231, 246, .4);
  font-variant-numeric: tabular-nums;
}

.cabinet {
  position: relative;
  padding: 14px 11px 16px;
  border-radius: 16px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .16) 0 1px, transparent 1px 3px),
    linear-gradient(165deg, #f7fafc 0%, #d5dee6 10%, #8e9ba8 30%, #4a5764 54%, #2a333c 76%, #b7c2cc 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .65),
    0 16px 36px rgba(0, 0, 0, .48),
    0 0 28px rgba(62, 200, 222, .16);
}
.cabinet::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 12px;
  pointer-events: none;
  border: 1px solid rgba(198, 161, 90, .45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.cabinet-inner {
  position: relative;
  background:
    linear-gradient(180deg, rgba(16, 30, 46, .94), rgba(5, 10, 18, .96));
  border-radius: 10px;
  padding: 12px 10px 14px;
  box-shadow:
    inset 0 0 0 1px rgba(180, 214, 224, .16),
    inset 0 12px 28px rgba(0, 0, 0, .45),
    inset 0 0 32px rgba(40, 150, 176, .12);
}

.leds {
  display: flex;
  justify-content: space-between;
  margin: 0 6px 10px;
}
.leds i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--ice-2) 45%, #0c4e5c);
  box-shadow: 0 0 8px rgba(126, 231, 246, .75);
  animation: led 2.8s ease-in-out infinite;
}
.leds i:nth-child(5n) {
  background: radial-gradient(circle at 35% 30%, #fff, var(--gold-hi) 46%, #6a5424);
  box-shadow: 0 0 6px rgba(198, 161, 90, .65);
}
.leds i:nth-child(odd) { animation-delay: -1.1s; }
@keyframes led {
  0%, 100% { opacity: .35; }
  50% { opacity: 1; }
}

.frame-ornament {
  position: absolute;
  width: 36px;
  height: 36px;
  pointer-events: none;
  z-index: 3;
  opacity: .9;
}
.frame-ornament.tl { top: 6px; left: 6px; }
.frame-ornament.tr { top: 6px; right: 6px; transform: scaleX(-1); }
.frame-ornament.bl { bottom: 6px; left: 6px; transform: scaleY(-1); }
.frame-ornament.br { bottom: 6px; right: 6px; transform: scale(-1); }

.reels-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #050910;
  box-shadow:
    inset 0 0 0 1px rgba(186, 224, 234, .32),
    inset 0 0 28px rgba(40, 160, 186, .2),
    0 0 18px rgba(0, 0, 0, .45);
}
.reels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gap);
  height: calc(var(--cell) * 3);
  padding: 0;
}
.reel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(126, 231, 246, .2), transparent 16% 84%, rgba(126, 231, 246, .14)),
    linear-gradient(180deg, #122033, #070d16);
  border-left: 1px solid rgba(186, 220, 230, .14);
}
.reel:first-child { border-left: none; }
.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 8, 14, .55), transparent 16% 84%, rgba(4, 8, 14, .62));
  box-shadow: inset 0 0 18px rgba(62, 200, 222, .12);
}
.strip { will-change: transform; }
.cell {
  height: var(--cell);
  display: grid;
  place-items: center;
  padding: 5px;
}
.sym {
  width: calc(var(--cell) - 12px);
  height: calc(var(--cell) - 12px);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(214, 242, 248, .16), rgba(8, 16, 28, .35) 38%, rgba(4, 10, 18, .72));
  border: 1px solid rgba(176, 222, 234, .42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    inset 0 0 14px rgba(62, 200, 222, .16);
  display: grid;
  place-items: center;
}
.sym svg { width: 74%; height: 74%; display: block; }

.reel.blurry .strip { filter: blur(2.5px) brightness(1.25); }
.reel.bounce .strip { animation: bounce .28s cubic-bezier(.2, 1.4, .3, 1); }
@keyframes bounce {
  0% { transform: translateY(var(--from, 0)); }
  40% { transform: translateY(calc(var(--to, 0) - 10px)); }
  100% { transform: translateY(var(--to, 0)); }
}

.payline {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, var(--ice-2) 12%, #fff 50%, var(--ice-2) 88%, transparent);
  box-shadow: 0 0 10px rgba(126, 231, 246, .85);
  pointer-events: none;
  opacity: .8;
  z-index: 4;
}
.payline-nub {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--ice-2) 55%, #0a4a56);
  z-index: 5;
  box-shadow: 0 0 8px rgba(126, 231, 246, .9);
}
.payline-nub.left { left: 2px; }
.payline-nub.right { right: 2px; }

.spin-wrap { text-align: center; margin: 18px 0 8px; }
.spin-btn {
  appearance: none;
  width: min(300px, 88%);
  min-height: 64px;
  padding: 14px 28px;
  border-radius: 6px;
  border: 1px solid rgba(198, 236, 246, .75);
  cursor: pointer;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(18px, 4.6vw, 22px);
  letter-spacing: .46em;
  text-indent: .46em;
  text-transform: uppercase;
  color: var(--ice);
  background:
    linear-gradient(180deg, rgba(186, 230, 240, .2), rgba(10, 24, 36, .2) 28%, rgba(6, 14, 24, .88)),
    linear-gradient(180deg, #163040, #071018);
  text-shadow: 0 0 12px rgba(126, 231, 246, .65);
  box-shadow:
    0 0 0 1px rgba(8, 14, 20, .85),
    0 0 22px rgba(62, 200, 222, .38),
    inset 0 0 18px rgba(90, 220, 240, .22),
    inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: transform .08s ease, box-shadow .12s ease;
}
.spin-btn:hover {
  box-shadow:
    0 0 0 1px rgba(8, 14, 20, .85),
    0 0 28px rgba(126, 231, 246, .55),
    inset 0 0 22px rgba(126, 231, 246, .28),
    inset 0 1px 0 rgba(255, 255, 255, .5);
}
.spin-btn:active {
  transform: translateY(2px);
  box-shadow:
    0 0 16px rgba(62, 200, 222, .3),
    inset 0 0 16px rgba(62, 200, 222, .35);
}
.spin-btn:disabled {
  cursor: default;
  color: rgba(217, 247, 255, .55);
  box-shadow:
    inset 0 0 12px rgba(62, 200, 222, .1),
    0 0 0 1px rgba(120, 140, 150, .35);
}

.disclaimer {
  margin: 10px 0 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-dim);
}
.end-disclaimer { margin-top: 14px; color: var(--ink-dim); }
.tagline {
  margin: 8px auto 0;
  max-width: 36em;
  text-align: center;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(232, 243, 246, .86);
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: end center;
  padding: 16px 12px 20px;
  background: rgba(3, 6, 12, .62);
  backdrop-filter: blur(8px);
}
.overlay[hidden] { display: none !important; }
.overlay.center { place-items: center; }

.card {
  width: min(100%, 460px);
  max-height: min(86vh, 720px);
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(22, 38, 54, .92), rgba(7, 14, 24, .94));
  color: var(--ink);
  border-radius: 10px;
  border: 1px solid rgba(186, 228, 238, .4);
  box-shadow:
    0 0 0 1px rgba(198, 161, 90, .28),
    0 18px 50px rgba(0, 0, 0, .55),
    inset 0 0 28px rgba(62, 200, 222, .08);
  padding: 20px 18px 18px;
  backdrop-filter: blur(10px);
}
.card h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .08em;
  margin: 0 0 8px;
  color: var(--ice);
}
.card h2:focus { outline: none; }
.card h2:focus-visible { outline: 2px solid var(--ice-2); outline-offset: 4px; }
.q-meta {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-hi);
}
.q-text {
  margin: 0 0 16px;
  font-family: var(--read);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  color: #f4fbff;
}
.choices { display: flex; flex-direction: column; gap: 10px; }
.free-text { display: flex; flex-direction: column; gap: 10px; }
.free-text[hidden] { display: none !important; }
.free-text label { font-size: 15px; line-height: 1.4; color: var(--ink-dim); }
.free-text textarea {
  width: 100%;
  min-height: 7em;
  resize: vertical;
  font: 17px/1.4 var(--read);
  color: var(--ink);
  background: rgba(6, 14, 24, .55);
  border: 1px solid rgba(170, 214, 226, .4);
  border-radius: 6px;
  padding: 12px 14px;
}
.free-text textarea:focus-visible { outline: 2px solid var(--ice-2); outline-offset: 3px; }
.check-summary { list-style: none; margin: 0 0 16px; padding: 0; }
.check-summary li { padding: 10px 0; border-bottom: 1px solid rgba(170, 214, 226, .22); }
.check-q {
  display: block;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-hi);
  margin-bottom: 4px;
}
.check-a { display: block; font-size: 16px; line-height: 1.4; color: #f4fbff; }
.check-mail-note { margin: 8px 0 12px; font-size: 14px; line-height: 1.4; color: var(--ink-dim); }
.check-next { margin: 0 0 16px; padding: 12px; border: 1px solid rgba(170, 214, 226, .35); border-radius: 6px; }
.check-next p { margin: 0 0 8px; }
#guideCard .btn.secondary, #checkCard .btn.secondary { margin-top: 8px; }
.choice {
  appearance: none;
  width: 100%;
  text-align: left;
  font: 400 17px/1.35 var(--read);
  color: var(--ink);
  background: rgba(6, 14, 24, .55);
  border: 1px solid rgba(170, 214, 226, .4);
  border-radius: 6px;
  padding: 12px 14px;
  min-height: 52px;
  cursor: pointer;
  box-shadow: inset 0 0 12px rgba(62, 200, 222, .06);
}
.choice:hover {
  border-color: rgba(126, 231, 246, .85);
  background: rgba(16, 40, 52, .72);
}
.choice:active { transform: translateY(1px); }
.choice[disabled] { cursor: default; }

.teacher {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.teacher-face {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 0 8px rgba(62, 200, 222, .45));
}
.teacher h2 { margin-bottom: 2px; }
.teacher p { margin: 0; font-size: 15px; color: var(--ink-dim); }
.correct-label {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ice-2);
}
.correct-answer {
  margin: 0 0 12px;
  padding: 10px 12px;
  background: rgba(62, 200, 222, .1);
  border-left: 2px solid var(--ice-2);
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.4;
  color: #f4fbff;
}
.teach-body {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.45;
  color: rgba(236, 246, 248, .92);
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid rgba(198, 236, 246, .7);
  font: 500 14px/1.2 var(--display);
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  color: var(--ice);
  background:
    linear-gradient(180deg, rgba(186, 230, 240, .18), rgba(8, 18, 30, .9));
  box-shadow: inset 0 0 14px rgba(62, 200, 222, .16), 0 0 12px rgba(62, 200, 222, .18);
}
.btn:active { transform: translateY(1px); }
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(170, 214, 226, .35);
  box-shadow: none;
  letter-spacing: .06em;
  margin-top: 0;
}
.end-links { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.end-score {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 6vw, 32px);
  letter-spacing: .08em;
  margin: 6px 0 10px;
  color: var(--ice);
  text-shadow: 0 0 14px rgba(126, 231, 246, .35);
}
.end-note { margin: 0 0 16px; line-height: 1.45; color: rgba(232, 243, 246, .9); }

.win-layer {
  position: fixed;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  display: grid;
  place-items: center;
}
.win-layer[hidden] { display: none !important; }
.win-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 44%, rgba(90, 220, 240, .28), transparent 42%);
  animation: wash 1.6s ease-out forwards;
}
.pulse {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(78vw, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(190, 246, 255, .75);
  box-shadow:
    0 0 24px rgba(62, 200, 222, .35),
    inset 0 0 30px rgba(62, 200, 222, .18);
  animation: ring 1.5s ease-out infinite;
}
.pulse.late { animation-delay: .45s; border-color: rgba(231, 215, 168, .45); }
.win-banner {
  position: relative;
  z-index: 2;
  max-width: calc(100% - 28px);
  margin: 0 14px;
  padding: 16px 18px 14px;
  border-radius: 8px;
  border: 1px solid rgba(186, 228, 238, .5);
  background: rgba(4, 10, 18, .78);
  box-shadow:
    0 0 0 1px rgba(198, 161, 90, .28),
    0 0 28px rgba(62, 200, 222, .28),
    inset 0 0 18px rgba(62, 200, 222, .08);
  backdrop-filter: blur(8px);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 6.4vw, 40px);
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.15;
  text-align: center;
  color: var(--ice);
  text-shadow: 0 0 16px rgba(126, 231, 246, .75);
  animation: winpulse 1.4s ease-in-out infinite;
  pointer-events: none;
}
.win-sub {
  display: block;
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(13px, 3.4vw, 16px);
  letter-spacing: .28em;
  color: var(--gold-hi);
  text-shadow: 0 0 10px rgba(198, 161, 90, .45);
}
@keyframes ring {
  0% { transform: translate(-50%, -50%) scale(.42); opacity: .9; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}
@keyframes wash {
  0% { opacity: 0; }
  25% { opacity: 1; }
  100% { opacity: .35; }
}
@keyframes winpulse {
  0%, 100% { opacity: .82; filter: brightness(1); }
  50% { opacity: 1; filter: brightness(1.15); }
}
#coins {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 720px) {
  .overlay { place-items: center; }
  .cabinet { padding: 18px 16px 20px; }
  .tagline { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .leds i, .reel.bounce .strip, .win-banner, .pulse, .win-layer::before { animation: none; }
  .reel.blurry .strip { filter: none; }
  .win-layer::before { opacity: .4; }
}

.show-q {
  display: block;
  margin: 10px auto 0;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 6px;
  border: 1px solid rgba(170, 214, 226, .45);
  background: transparent;
  color: var(--ice);
  font: 500 13px/1 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}
.q-context { margin: -6px 0 14px; font-size: 15px; line-height: 1.4; color: var(--gold-hi); }

body.setup-onboard .marquee,
body.setup-onboard .hud,
body.setup-onboard .cabinet,
body.setup-onboard .spin-wrap,
body.setup-onboard .tagline,
body.setup-onboard .disclaimer { display: none; }

.onboard {
  width: min(100%, 560px);
  margin: 12px auto 28px;
  padding: 8px 4px 24px;
}
.onboard h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 5vw, 32px);
  letter-spacing: .04em;
  line-height: 1.25;
  margin: 8px 0 12px;
  color: var(--ice);
}
.onboard h2:focus { outline: none; }
.onboard h2:focus-visible { outline: 2px solid var(--ice-2); outline-offset: 4px; }
.ob-count, .ob-help, .ob-warn, .ob-speech, .ob-optional { color: var(--ink-dim); font-size: 15px; line-height: 1.45; }
.ob-count { margin: 0; font-family: var(--display); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-hi); }
.ob-choices { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.ob-choices button, .ob-summary select, .ob-summary input, #obPrompt, #obInput {
  width: 100%;
  text-align: left;
  font: 400 17px/1.35 var(--read);
  color: var(--ink);
  background: rgba(6, 14, 24, .55);
  border: 1px solid rgba(170, 214, 226, .4);
  border-radius: 6px;
  padding: 12px 14px;
  min-height: 48px;
}
.ob-choices button { cursor: pointer; }
.ob-choices button[aria-pressed="true"] {
  border-color: rgba(126, 231, 246, .9);
  box-shadow: inset 0 0 12px rgba(62, 200, 222, .16);
}
.ob-ack { min-height: 1.4em; margin: 8px 0; color: var(--ice); }
.ob-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.ob-nav .btn { width: auto; flex: 1 1 140px; }
.ob-speech { display: flex; gap: 10px; align-items: center; }
.ob-speech .icon-btn { width: auto; }
.ob-text label, .ob-platform, .onboard > label { display: block; margin: 12px 0 6px; color: var(--gold-hi); font-size: 14px; }
.ob-summary { margin: 8px 0 16px; }
.ob-summary .row { margin: 0 0 12px; }
.ob-summary .row span { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.ob-clip { margin: 12px 0; }
.ob-clip video { width: 100%; border-radius: 6px; background: #050910; }
.ob-clip figcaption { color: var(--ink-dim); font-size: 14px; margin-top: 6px; }
#obPrompt { min-height: 12em; resize: vertical; }
#obDraft { margin-top: 8px; }
