/* OneLifeVibe — one page, eight worlds. */

:root {
  --night: #07060d;
  --night-2: #0e0b1a;
  --ink: #f5f2ff;
  --ink-dim: rgba(245, 242, 255, .74);
  --ink-faint: rgba(245, 242, 255, .5);
  --paper: #f3ede2;
  --paper-ink: #1a1522;
  --iri: linear-gradient(100deg, #f7b733 0%, #ff7a59 14%, #ec4899 28%, #a855f7 42%, #6366f1 56%, #38bdf8 70%, #10b981 84%, #e8ff6a 100%);
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --serif-brand: "Fraunces", Georgia, serif;
  --round: "Nunito", ui-rounded, system-ui, sans-serif;
  --jakarta: "Plus Jakarta Sans", system-ui, sans-serif;
  --bodoni: "Bodoni Moda", Didot, Georgia, serif;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #0b0914; border-radius: 8px; }
/* light surfaces: flip the two-tone ring so the outer band is dark */
:is(.tune, .world--sixonseven, .world--introworth, .world--soclasica, .world--astrodios, .passport-card) :focus-visible { outline-color: #0b0914; box-shadow: 0 0 0 6px #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: #fff; color: #0b0914; padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 12px; left: 50%; z-index: 200;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 1200px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .35s, border-color .35s, box-shadow .35s;
}
.nav.is-solid {
  /* solid, no backdrop blur: re-blurring the page under a fixed bar every scroll frame flickers on phones */
  background: rgb(14, 11, 27);
  border-color: rgba(255, 255, 255, .09);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: #fff; }
.brand svg { width: 34px; height: 34px; }
.brand b { font-weight: 800; background: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 10px 15px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 550; color: var(--ink-dim); transition: background-color .2s, color .2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-links a.nav-cta { background: #fff; color: #0b0914; font-weight: 650; }
.nav-links a.nav-cta:hover { background: #f1eaff; }
.motion-toggle {
  display: none; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: var(--ink-dim); font-size: 14px; font-weight: 550;
  transition: background-color .2s, color .2s;
}
.js .motion-toggle { display: inline-flex; }
.motion-toggle:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.motion-toggle[aria-pressed="true"] { color: #fff; border-color: rgba(255, 255, 255, .4); }
.mt-ico { position: relative; width: 12px; height: 12px; flex: none; }
.mt-ico::before, .mt-ico::after { content: ""; position: absolute; top: 0; bottom: 0; width: 4px; border-radius: 1px; background: currentColor; }
.mt-ico::before { left: 1px; } .mt-ico::after { right: 1px; }
.motion-toggle[aria-pressed="true"] .mt-ico::before { left: 2px; width: 0; height: 0; border-radius: 0; background: none; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.motion-toggle[aria-pressed="true"] .mt-ico::after { display: none; }
.nav-links { align-items: center; }
@media (max-width: 860px) { .mt-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .motion-toggle { width: 40px; padding: 0; justify-content: center; } }
@media (max-width: 560px) { .nav-links a:not(.nav-cta) { display: none; } .nav-links { gap: 6px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px; border-radius: 999px;
  font: 650 16px/1.1 var(--sans); letter-spacing: -.01em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, background-color .2s, translate .3s cubic-bezier(.2, .7, .2, 1);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--light { background: #fff; color: #0b0914; box-shadow: 0 12px 34px -12px rgba(236, 72, 153, .7); }
.btn--light:hover { box-shadow: 0 18px 44px -12px rgba(168, 85, 247, .9); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .24); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--dark { background: #1a1522; color: #fff; }
.btn--dark:hover { box-shadow: 0 14px 30px -14px rgba(26, 21, 34, .8); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  padding: 104px var(--gutter) 96px;
  background:
    radial-gradient(55% 50% at 72% 42%, rgba(99, 102, 241, .28), transparent 70%),
    radial-gradient(38% 42% at 18% 82%, rgba(236, 72, 153, .2), transparent 70%),
    radial-gradient(30% 30% at 92% 92%, rgba(247, 183, 51, .16), transparent 70%),
    radial-gradient(40% 40% at 8% 10%, rgba(16, 185, 129, .12), transparent 70%),
    var(--night);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-grid {
  max-width: 1340px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 16px;
  min-height: calc(100svh - 200px);
}
.hero-copy { position: relative; z-index: 130; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim);
  padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .04);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .7); } 80%, 100% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } }
.hero-title { margin: 22px 0 22px; }
.ht-1 { display: block; font-family: var(--display); font-style: italic; font-size: clamp(72px, 10.6vw, 176px); line-height: .84; letter-spacing: -.025em; }
.ht-2 { display: block; font-weight: 700; font-size: clamp(36px, 4.7vw, 76px); line-height: 1; letter-spacing: -.045em; margin-top: .16em; }
.ht-2 em, .grad {
  font-style: normal; background: var(--iri); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: iri 9s linear infinite;
}
@keyframes iri { to { background-position: -200% 0; } }
.lede { max-width: 33em; font-size: clamp(17px, 1.3vw, 19.5px); color: var(--ink-dim); margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.now { margin-top: 26px; display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-dim); max-width: 34em; }
.now .onair { flex: none; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; padding: 5px 8px; border-radius: 6px; background: #d7261f; color: #fff; box-shadow: 0 0 18px rgba(215, 38, 31, .6); animation: onair 2.4s ease-in-out infinite; }
@keyframes onair { 50% { box-shadow: 0 0 4px rgba(215, 38, 31, .3); } }
.now a { color: #fff; font-weight: 650; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .45); }

/* Orbit */
.orbit { position: relative; height: clamp(420px, 80vh, 780px); width: 100%; touch-action: manipulation; }
.orbit-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.orbit-back { z-index: 1; }
.orbit-front { z-index: 55; }
.sun {
  --sun: 150px;
  position: absolute; left: 50%; top: 50%; z-index: 50;
  width: var(--sun); height: var(--sun);
  transform: translate(-50%, -50%);
  border: 0; padding: 0; border-radius: 50%; background: transparent; cursor: pointer;
  display: grid; place-items: center;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.sun:hover { transform: translate(-50%, -50%) scale(1.05); }
.sun:active { transform: translate(-50%, -50%) scale(.96); }
.sun::before {
  content: ""; position: absolute; inset: -38%; border-radius: 50%;
  background: conic-gradient(from 0deg, #f7b733, #ec4899, #6366f1, #38bdf8, #10b981, #e8ff6a, #f7b733);
  filter: blur(30px); opacity: .55; animation: spin 16s linear infinite;
}
.sun i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); animation: sunpulse 3.4s cubic-bezier(.2, .6, .3, 1) infinite; }
.sun i + i { animation-delay: 1.7s; }
@keyframes sunpulse { from { transform: scale(1); opacity: .75; } to { transform: scale(2.4); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.sun-core {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff 0%, #ffeaf4 16%, #f9a8d4 36%, #a855f7 64%, #33155f 100%);
  box-shadow: 0 0 70px rgba(236, 72, 153, .55), inset -14px -18px 40px rgba(40, 10, 80, .55);
}
.sun-label { position: relative; font-family: var(--display); font-style: italic; font-size: calc(var(--sun) * .27); line-height: 1; color: #2b0d45; transform: translateY(-4%); }

.planets { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.planet {
  --ps: 74px;
  position: absolute; left: calc(50% + cos(var(--a)) * 40%); top: calc(50% + sin(var(--a)) * 30%);
  width: var(--ps); height: var(--ps);
  transform: translate(-50%, -50%);
  display: block; text-decoration: none; color: #fff; pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.orbit.is-live .planet { left: 0; top: 0; will-change: transform; }
.planet-ball {
  position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 46% 42%, var(--p1), var(--p2) 78%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset -10px -14px 22px rgba(0, 0, 0, .45), 0 0 34px var(--glow);
  transition: box-shadow .25s, transform .25s cubic-bezier(.2, .7, .2, 1);
}
.planet-ball svg { width: 50%; height: 50%; border-radius: 24%; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.planet:hover .planet-ball, .planet:focus-visible .planet-ball, .planet.is-active .planet-ball {
  transform: scale(1.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), inset -10px -14px 22px rgba(0, 0, 0, .4), 0 0 0 3px #fff, 0 0 60px var(--glow);
}
.planet:focus-visible { outline: none; box-shadow: none; }
.planet--ringed .planet-ball::after {
  content: ""; position: absolute; left: -30%; right: -30%; top: 41%; height: 18%;
  border-radius: 50%; border: 2px solid rgba(232, 196, 120, .9); transform: rotate(-16deg);
  box-shadow: 0 0 12px rgba(232, 196, 120, .45); pointer-events: none;
}
.planet-name {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  padding: 4px 9px; border-radius: 999px; background: rgba(7, 6, 13, .66); border: 1px solid rgba(255, 255, 255, .14);
  opacity: var(--near, 1); transition: opacity .2s;
}
.planet:hover .planet-name, .planet:focus-visible .planet-name, .planet.is-active .planet-name { opacity: 1; }

.orbit-card {
  --accent: #fff;
  position: absolute; right: 0; bottom: 5%; z-index: 140;
  width: min(330px, 88%);
  padding: 18px 18px 16px; border-radius: 22px;
  background: rgba(12, 10, 24, .78);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .13); border-top: 3px solid var(--accent);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .25s, transform .25s cubic-bezier(.2, .7, .2, 1);
}
.orbit-card.is-on { opacity: 1; transform: none; pointer-events: auto; }
.oc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.oc-top svg { width: 40px; height: 40px; border-radius: 11px; flex: none; }
.oc-name { font-weight: 750; font-size: 18px; line-height: 1.1; letter-spacing: -.01em; }
.oc-domain { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); }
.oc-top .tag18 { margin-left: auto; }
.oc-motto { font-family: var(--display); font-style: italic; font-size: 24px; line-height: 1.12; margin-bottom: 8px; color: var(--accent); }
.oc-blurb { font-size: 14.5px; color: var(--ink-dim); line-height: 1.45; margin-bottom: 14px; }
.oc-go { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: #0b0914; font-weight: 700; font-size: 14.5px; text-decoration: none; }
.oc-go:hover { filter: brightness(1.08); }
.orbit-hint { position: absolute; left: 0; right: 0; top: 2%; text-align: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--ink-faint); z-index: 5; pointer-events: none; }
.hint-touch { display: none; }
@media (hover: none) { .hint-fine { display: none; } .hint-touch { display: inline; } }

.tag18 { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; padding: 3px 7px; border-radius: 6px; border: 1px solid currentColor; opacity: .9; }

.lifeline { position: absolute; left: 0; right: 0; bottom: 18px; width: 100%; height: 70px; pointer-events: none; z-index: 1; }
.lifeline path { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ll-base { stroke: rgba(255, 255, 255, .1); }
.ll-pulse { stroke: url(#g-line); stroke-width: 2.5; stroke-dasharray: 240 2400; stroke-dashoffset: 2640; animation: beat 4.5s linear infinite; filter: drop-shadow(0 0 6px rgba(236, 72, 153, .8)); }
@keyframes beat { to { stroke-dashoffset: 0; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .35); z-index: 3; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 980px) {
  .hero { padding-top: 96px; padding-bottom: 110px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 4px; }
  .orbit { height: clamp(380px, 104vw, 580px); margin: 0 calc(var(--gutter) * -1); width: auto; }
  .orbit-card { left: 50%; right: auto; bottom: 0; transform: translate(-50%, 12px); }
  .orbit-card.is-on { transform: translate(-50%, 0); }
  .orbit-hint { top: auto; bottom: 2%; }
  .orbit:has(.orbit-card.is-on) .orbit-hint { opacity: 0; }
  .scroll-cue { display: none; }
}
@media (max-width: 639px) {
  .orbit { height: clamp(460px, 136vw, 600px); }
}

/* ---------- Ticker ---------- */
.ticker { background: #0b0914; border-block: 1px solid rgba(255, 255, 255, .07); overflow: hidden; padding: 24px 0; }
.ticker-track { display: flex; width: max-content; animation: tick 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.ticker-item { font-family: var(--display); font-style: italic; font-size: clamp(28px, 3.3vw, 46px); line-height: 1.2; white-space: nowrap; color: var(--c); }
.ticker-sep { color: rgba(255, 255, 255, .3); font-size: 18px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
.sec-head { max-width: 780px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; padding: 0 var(--gutter); }
.kicker { font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .72; margin-bottom: 16px; }
.sec-head h2, .spin h2 { font-weight: 700; font-size: clamp(42px, 6.4vw, 92px); letter-spacing: -.05em; line-height: .96; margin-bottom: 18px; }
.sec-head h2 em, .spin h2 em { font-family: var(--display); font-weight: 400; font-style: italic; letter-spacing: -.015em; }
.sec-head > p:last-child { font-size: clamp(17px, 1.4vw, 19px); opacity: .78; max-width: 36em; margin: 0 auto; }

/* ---------- Radio ---------- */
.tune {
  color-scheme: light;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(255, 255, 255, .75), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(236, 72, 153, .1), transparent 70%),
    radial-gradient(40% 50% at 0% 80%, rgba(247, 183, 51, .14), transparent 70%),
    var(--paper);
  color: var(--paper-ink);
  padding: clamp(84px, 10vw, 140px) var(--gutter);
}
.radio {
  max-width: 1000px; margin: 0 auto; position: relative;
  padding: clamp(16px, 2.8vw, 30px);
  border-radius: 36px;
  background: linear-gradient(180deg, #fbf7ef, #e8dcc6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -3px 0 rgba(60, 40, 20, .08), 0 0 0 1px rgba(60, 40, 20, .12), 0 50px 90px -40px rgba(70, 45, 20, .55);
}
.radio-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; padding: 0 4px; }
.radio-brand { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .22em; }
.radio-brand b { color: #c11b17; }
.led { width: 10px; height: 10px; border-radius: 50%; background: #5a4a38; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); transition: background-color .2s, box-shadow .2s; }
.led.on { background: #ff3b30; box-shadow: 0 0 10px #ff3b30, 0 0 2px #fff inset; }
.sound-toggle {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-weight: 650; font-size: 13.5px; padding: 9px 15px; border-radius: 999px;
  border: 1px solid rgba(26, 21, 34, .18); background: rgba(255, 255, 255, .7); color: var(--paper-ink);
  transition: background-color .2s, color .2s;
}
.sound-toggle[aria-pressed="true"] { background: var(--paper-ink); color: #fff; border-color: var(--paper-ink); }
.sound-ico { width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 4V5L7 9H3zm13.5 3a4.5 4.5 0 0 0-2.5-4v8a4.5 4.5 0 0 0 2.5-4zM14 3.2v2.1a7 7 0 0 1 0 13.4v2.1a9 9 0 0 0 0-17.6z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 4V5L7 9H3zm13.5 3a4.5 4.5 0 0 0-2.5-4v8a4.5 4.5 0 0 0 2.5-4zM14 3.2v2.1a7 7 0 0 1 0 13.4v2.1a9 9 0 0 0 0-17.6z'/%3E%3C/svg%3E") center/contain no-repeat; }

.radio-body { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; }
.grille {
  position: relative; border-radius: 24px; min-height: 240px;
  background: radial-gradient(circle, rgba(52, 38, 24, .6) 1.7px, transparent 2.2px) 3px 3px / 12px 12px, linear-gradient(180deg, #dccfb6, #c9b998);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, .18), 0 1px 0 rgba(255, 255, 255, .8);
  display: grid; place-items: end center; padding-bottom: 22px;
}
.radio.is-locked .grille { animation: thump .9s ease-in-out infinite; }
@keyframes thump { 50% { box-shadow: inset 0 2px 16px rgba(0, 0, 0, .28), 0 1px 0 rgba(255, 255, 255, .8); background-size: 12.4px 12.4px, auto; } }
.knob {
  --rot: -150deg;
  position: relative; width: 74px; height: 74px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff, #e2d6bf 55%, #b4a283);
  box-shadow: 0 8px 18px rgba(50, 30, 10, .32), inset 0 -3px 6px rgba(0, 0, 0, .15), 0 0 0 6px rgba(255, 255, 255, .35);
  transform: rotate(var(--rot));
}
.knob::before { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 18px; margin-left: -2px; border-radius: 2px; background: #c11b17; }
.knob::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: repeating-conic-gradient(rgba(0, 0, 0, .07) 0 6deg, transparent 6deg 12deg); }

.screen {
  --st: #f7b733; --sig: 1;
  position: relative; overflow: hidden; color: #fff; min-height: 240px;
  border-radius: 24px; padding: 20px 24px 0;
  background: radial-gradient(120% 140% at 50% 0%, #211b36, #0b0913 72%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 12px 40px rgba(0, 0, 0, .65);
}
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255, 255, 255, .08), transparent 38%), repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); }
.screen-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.freq { font-family: var(--mono); font-weight: 700; font-size: clamp(42px, 6vw, 66px); line-height: 1; letter-spacing: -.03em; color: var(--st); text-shadow: 0 0 22px var(--st); font-variant-numeric: tabular-nums; transition: color .3s; }
.freq small { font-size: .34em; margin-left: .35em; letter-spacing: .1em; opacity: .8; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-top: 6px; }
.bars i { width: 6px; border-radius: 2px; background: rgba(255, 255, 255, .16); transition: background-color .2s; }
.bars i:nth-child(1) { height: 6px; } .bars i:nth-child(2) { height: 11px; } .bars i:nth-child(3) { height: 16px; } .bars i:nth-child(4) { height: 21px; } .bars i:nth-child(5) { height: 26px; }
.bars i.on { background: var(--st); box-shadow: 0 0 8px var(--st); }
.station { margin-top: 14px; position: relative; z-index: 1; opacity: calc(.22 + var(--sig) * .78); filter: blur(calc((1 - var(--sig)) * 5px)); }
.st-name { font-weight: 750; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; line-height: 1.1; }
.st-motto { font-family: var(--display); font-style: italic; font-size: clamp(20px, 2.3vw, 27px); line-height: 1.2; color: rgba(255, 255, 255, .82); margin-top: 4px; }
.wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 96px; }

.band {
  position: relative; margin-top: 18px; height: 92px; border-radius: 20px; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  background: linear-gradient(180deg, #2b2338, #15111e);
  box-shadow: inset 0 3px 12px rgba(0, 0, 0, .65), 0 1px 0 rgba(255, 255, 255, .9);
  overflow: hidden;
}
.band:active { cursor: grabbing; }
.band:focus-visible { outline: 3px solid #c11b17; outline-offset: 3px; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 200, 120, .08), transparent 40%); pointer-events: none; }
.band-inner { position: absolute; inset: 0 22px; }
.tk { position: absolute; top: 10px; width: 1px; height: 9px; background: rgba(255, 255, 255, .28); }
.tk.major { height: 16px; background: rgba(255, 255, 255, .55); }
.tl { position: absolute; top: 30px; transform: translateX(-50%); font-family: var(--mono); font-size: 10.5px; color: rgba(255, 255, 255, .55); }
.mk { position: absolute; bottom: 10px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .08em; color: rgba(255, 255, 255, .6); white-space: nowrap; transition: color .2s; }
.mk::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.mk.on { color: #fff; }
.needle { position: absolute; top: 6px; bottom: 6px; left: 0; width: 3px; margin-left: -1.5px; border-radius: 2px; background: #ff3b30; box-shadow: 0 0 14px #ff3b30, 0 0 2px #fff; z-index: 2; }
.radio-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding: 0 4px; }
.radio-status { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; opacity: .75; }

.feelings { list-style: none; padding: 0; margin: 30px auto 0; max-width: 1000px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.feelings button {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer; min-height: 44px;
  font-weight: 560; font-size: 15px; padding: 10px 17px; border-radius: 999px;
  border: 1px solid rgba(26, 21, 34, .14); background: #fff; color: var(--paper-ink);
  box-shadow: 0 6px 16px -10px rgba(60, 40, 20, .5);
  transition: transform .2s, background-color .2s, color .2s, border-color .2s;
}
.feelings button:hover { transform: translateY(-2px); border-color: rgba(26, 21, 34, .3); }
.feelings button i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.feelings button[aria-pressed="true"] { background: var(--paper-ink); color: #fff; border-color: var(--paper-ink); }

@media (max-width: 720px) {
  .radio-body { grid-template-columns: 1fr; }
  .grille { display: none; }
  .screen { min-height: 230px; padding: 18px 18px 0; }
  .mk span { display: none; }
  .radio-foot .btn { width: 100%; }
}

/* ---------- Worlds ---------- */
.worlds { background: var(--night); padding-top: clamp(90px, 10vw, 140px); }
.world {
  --bg: #111; --ink: #fff; --muted: rgba(255, 255, 255, .76); --accent: #fff; --accent-ink: #000;
  --face: var(--sans); --face-w: 700; --line: rgba(255, 255, 255, .14);
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--bg); color: var(--ink);
  padding: clamp(72px, 9vw, 130px) var(--gutter);
}
.world::before {
  content: attr(data-num); position: absolute; z-index: -1; right: -2vw; bottom: -10vw;
  font-family: var(--display); font-style: italic; font-size: clamp(220px, 36vw, 560px); line-height: 1;
  color: var(--ink); opacity: .05; pointer-events: none;
}
.world:nth-of-type(even)::before { right: auto; left: -2vw; }
.world-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5.5vw, 88px); align-items: center; }
.world:nth-of-type(even) .world-art { order: 2; }
.world-art { position: relative; aspect-ratio: 5 / 4; border-radius: 30px; overflow: hidden; background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 40px 90px -40px rgba(0, 0, 0, .7); }
.world-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.world-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.world-meta span:not(.tag18):not(.live):not(.stamped) + span:not(.tag18):not(.live):not(.stamped)::before { content: "·"; margin-right: 16px; opacity: .6; }
.world-meta .live { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }
.world-meta .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: ping 2.2s infinite; }
.world-id { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.world-id svg { width: 54px; height: 54px; border-radius: 15px; flex: none; box-shadow: 0 10px 24px rgba(0, 0, 0, .28); }
.wordmark { font-size: 25px; font-weight: 800; letter-spacing: -.01em; line-height: 1; }
.world-motto { font-family: var(--face); font-weight: var(--face-w); font-size: clamp(40px, 4.9vw, 70px); line-height: 1.02; letter-spacing: -.025em; margin-bottom: 22px; text-wrap: balance; }
.world-blurb { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--muted); margin-bottom: 24px; max-width: 30em; }
.world-facts { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 11px; }
.world-facts li { display: flex; gap: 12px; align-items: baseline; font-size: 16.5px; line-height: 1.45; }
.world-facts li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.world-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.world-cta {
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px;
  padding: 15px 26px; border-radius: 999px; text-decoration: none;
  background: var(--accent); color: var(--accent-ink); font-weight: 720; font-size: 17px; letter-spacing: -.01em;
  box-shadow: 0 16px 34px -14px var(--accent);
  transition: transform .2s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, translate .3s cubic-bezier(.2, .7, .2, 1);
}
.world-cta:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 22px 40px -14px var(--accent); }
.world-domain { display: inline-flex; align-items: center; min-height: 32px; font-family: var(--mono); font-size: 14px; color: var(--muted); text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.world-domain:hover { color: var(--ink); }

.js .world-body > * { opacity: 0; transform: translateY(26px); transition: opacity .8s, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .world.in .world-body > * { opacity: 1; transform: none; }
.js .world.in .world-body > :nth-child(2) { transition-delay: .06s; }
.js .world.in .world-body > :nth-child(3) { transition-delay: .12s; }
.js .world.in .world-body > :nth-child(4) { transition-delay: .18s; }
.js .world.in .world-body > :nth-child(5) { transition-delay: .24s; }
.js .world.in .world-body > :nth-child(6) { transition-delay: .3s; }
.js .world-art { transform: scale(.94); opacity: .4; transition: transform 1s cubic-bezier(.2, .7, .2, 1), opacity 1s; }
.js .world.in .world-art { transform: none; opacity: 1; }

@media (max-width: 900px) {
  .world-inner { grid-template-columns: 1fr; }
  .world:nth-of-type(even) .world-art { order: 0; }
  .world-art { aspect-ratio: 4 / 3.4; border-radius: 24px; }
}

/* Brand themes */
.world--wuuuh { --bg: #0c0a08; --ink: #fff4dc; --muted: rgba(255, 244, 220, .74); --accent: #f7b733; --accent-ink: #1a1204; --face: var(--serif-brand); --face-w: 700; --line: rgba(247, 183, 51, .24); }
.wm-wuuuh { font-family: var(--serif-brand); color: #f7b733; letter-spacing: .05em; }

.world--aisenatus { --bg: #07080b; --ink: #f2f3f5; --muted: rgba(242, 243, 245, .72); --accent: #e8ff6a; --accent-ink: #07080b; --face: var(--sans); --face-w: 800; --line: rgba(255, 255, 255, .13); }
.world--aisenatus .world-motto { letter-spacing: -.045em; }
.world--aisenatus .hl { color: #ff4a43; }
.wm-senatus { letter-spacing: .06em; } .wm-senatus b { color: #e8ff6a; }

.world--helpbless { --bg: #0f6b5c; --ink: #fff; --muted: rgba(255, 255, 255, .84); --accent: #fff; --accent-ink: #0f6b5c; --face: var(--serif-brand); --face-w: 650; --line: rgba(255, 255, 255, .22); }
.world--helpbless .hl { color: #ffd0b8; }
.wm-bless b { color: #ffb48f; }

.world--taskfamily { --bg: linear-gradient(135deg, #5457e8 0%, #8b4fe0 50%, #b8306f 100%); --ink: #fff; --muted: rgba(255, 255, 255, .95); --accent: #fbbf24; --accent-ink: #2a1650; --face: var(--round); --face-w: 900; --line: rgba(255, 255, 255, .24); }
.world--taskfamily .world-art { background: #6366f1; }
.world--taskfamily .hl { color: #fde68a; }
.wm-family { font-family: var(--round); font-weight: 900; } .wm-family b { color: #fbbf24; }

.world--sixonseven { --bg: linear-gradient(135deg, #ffb495 0%, #ff8d66 52%, #f7764f 100%); --ink: #1f0a04; --muted: rgba(31, 10, 4, .8); --accent: #1f0a04; --accent-ink: #fff1e8; --face: var(--serif-brand); --face-w: 700; --line: rgba(31, 10, 4, .16); }
.world--sixonseven .world-art { background: #f2683f; }
.world--sixonseven .world-motto em { font-style: italic; font-weight: 600; }
.wm-six { font-family: var(--serif-brand); font-weight: 800; font-size: 30px; } .wm-six em { font-style: italic; font-weight: 600; color: #8f2410; }

.world--introworth { --bg: #f2f6ff; --ink: #0a2a72; --muted: #3a4d80; --accent: #1657e8; --accent-ink: #fff; --face: var(--jakarta); --face-w: 800; --line: rgba(10, 42, 114, .12); color-scheme: light; }
.world--introworth .world-motto { letter-spacing: -.04em; }
.world--introworth .hl { color: #07875c; }
.wm-intro { font-family: var(--jakarta); font-weight: 800; color: #0a2a72; }

.world--soclasica { --bg: #fbf6ef; --ink: #1b1416; --muted: #5d4b50; --accent: #1b1416; --accent-ink: #fbeff2; --face: var(--bodoni); --face-w: 500; --line: rgba(184, 137, 59, .5); color-scheme: light; }
.world--soclasica .world-motto { letter-spacing: -.01em; }
.world--soclasica .world-motto em { color: #b0204f; }
.world--soclasica .world-art::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(201, 164, 92, .85); border-radius: 20px; pointer-events: none; }
.world--soclasica .world-facts li::before { background: #b8893b; box-shadow: 0 0 0 3px rgba(184, 137, 59, .2); }
.wm-clasica { font-family: var(--bodoni); font-weight: 500; letter-spacing: .3em; font-size: 22px; }

.world--storychoose { --bg: radial-gradient(120% 90% at 80% 0%, #252c70 0%, #0d1230 62%); --ink: #eef0ff; --muted: rgba(238, 240, 255, .76); --accent: #f4c95d; --accent-ink: #0d1230; --face: var(--display); --face-w: 400; --line: rgba(244, 201, 93, .22); }
.world--storychoose .world-art { background: #0d1230; }
.world--storychoose .world-motto { font-size: clamp(46px, 5.6vw, 80px); letter-spacing: -.015em; }
.world--storychoose .world-motto em { color: #f4c95d; }
.wm-story b { color: #f4c95d; }

.world--astrodios { --bg: radial-gradient(120% 90% at 20% 0%, #f8efd9 0%, #f4e9cf 45%, #eadcbc 100%); --ink: #21160d; --muted: #5a4630; --accent: #5b351b; --accent-ink: #f4e9cf; --face: var(--serif-brand); --face-w: 600; --line: rgba(199, 154, 75, .55); color-scheme: light; }
.world--astrodios .world-art { background: #43260f; box-shadow: 0 0 0 3px #c79a4b, 0 0 0 9px #43260f, 0 40px 90px -40px rgba(47, 26, 11, .7); }
.world--astrodios .world-motto em { font-style: italic; color: #b5551b; }
.world--astrodios .world-facts li::before { background: #e3891f; box-shadow: 0 0 0 3px rgba(227, 137, 31, .22); }
.world--astrodios .world-cta { background: linear-gradient(135deg, #5b351b, #2f1a0b); box-shadow: 0 0 0 1px #c79a4b, 0 16px 34px -14px rgba(47, 26, 11, .8); }
.wm-astro { font-family: "Uncial Antiqua", var(--serif-brand); font-weight: 400; letter-spacing: .04em; color: #21160d; } .wm-astro b { font-weight: 400; color: #b5551b; }

/* ---------- Spin ---------- */
.spin {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: clamp(96px, 11vw, 160px) var(--gutter);
  background: radial-gradient(80% 110% at 50% 0%, #2c1356 0%, #0e0a1d 55%, var(--night) 100%);
}
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.spin-inner { max-width: 940px; margin: 0 auto; position: relative; z-index: 2; }
.spin-sub { color: var(--ink-dim); font-size: 18px; }
.reel {
  --rh: clamp(92px, 12vw, 150px);
  position: relative; height: var(--rh); margin: 42px auto 26px; overflow: hidden;
  border-radius: 30px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .5), 0 30px 80px -40px rgba(168, 85, 247, .7);
}
.reel::before, .reel::after { content: ""; position: absolute; left: 0; right: 0; height: 28%; z-index: 2; pointer-events: none; }
.reel::before { top: 0; background: linear-gradient(#110b22, transparent); }
.reel::after { bottom: 0; background: linear-gradient(transparent, #110b22); }
.reel-item { height: var(--rh); display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 22px); padding: 0 16px; }
.reel-item svg { width: clamp(44px, 6vw, 76px); height: clamp(44px, 6vw, 76px); border-radius: 22%; flex: none; }
.reel-item span { font-family: var(--f); font-weight: 800; font-size: clamp(34px, 6.6vw, 92px); letter-spacing: -.035em; line-height: 1; color: var(--c); white-space: nowrap; }
.spin-result { min-height: 3em; font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-dim); margin-bottom: 18px; }
.spin-result b { color: #fff; }
.spin-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */
.foot { background: #05040a; padding: clamp(72px, 8vw, 110px) var(--gutter) 34px; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .06); }
.foot-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; }
.foot-brand p { margin-top: 16px; color: var(--ink-dim); max-width: 22em; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; }
.foot-links a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; text-decoration: none; transition: background-color .2s; }
.foot-links a:hover { background: rgba(255, 255, 255, .06); }
.foot-links svg { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.foot-links b { display: block; font-weight: 700; }
.foot-links small { display: block; font-family: var(--mono); font-size: 12px; color: var(--ink-faint); }
.foot-giant {
  font-family: var(--display); font-style: italic; text-align: center; white-space: nowrap;
  font-size: clamp(96px, 21vw, 340px); line-height: .9; letter-spacing: -.03em;
  margin: clamp(40px, 6vw, 80px) 0 0;
  background: var(--iri); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: iri 14s linear infinite;
}
.foot-note { max-width: var(--maxw); margin: 28px auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 22px; font-size: 13.5px; color: var(--ink-faint); }
.foot-note a { text-underline-offset: 3px; }
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-links { grid-template-columns: 1fr; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker { overflow-x: auto; }
  .ticker-track { animation: none !important; }
  .ll-pulse { stroke-dashoffset: 1300; }
  .js .world-body > *, .js .world-art { opacity: 1; transform: none; }
}

/* Pause motion toggle (WCAG 2.2.2): freeze every endless CSS animation, skip one-shot entrances */
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
.motion-paused .hero :is(.eyebrow, .ht-1, .ht-2, .lede, .hero-cta, .now), .motion-paused .stamp.thunk .st-ring { animation: none !important; }
.motion-paused .ticker { overflow-x: auto; }
.motion-paused.js .world-body > *, .motion-paused.js .world-art { opacity: 1; transform: none; transition: none; }

/* Per-world colours (kept out of inline styles so the CSP can forbid them) */
.planet[data-world="wuuuh"] { --a: 0deg; --p1: #ffd27a; --p2: #8a4b00; --glow: rgba(247, 183, 51, .6); }
.planet[data-world="aisenatus"] { --a: 40deg; --p1: #e8ff6a; --p2: #1a1d10; --glow: rgba(232, 255, 106, .45); }
.planet[data-world="helpbless"] { --a: 80deg; --p1: #5fd3bd; --p2: #0b4d42; --glow: rgba(45, 212, 191, .5); }
.planet[data-world="taskfamily"] { --a: 120deg; --p1: #9a9dfb; --p2: #c0267a; --glow: rgba(236, 72, 153, .55); }
.planet[data-world="sixonseven"] { --a: 160deg; --p1: #ffc2a6; --p2: #cf3360; --glow: rgba(255, 138, 99, .55); }
.planet[data-world="introworth"] { --a: 200deg; --p1: #6e9bff; --p2: #0a2a72; --glow: rgba(22, 87, 232, .6); }
.planet[data-world="soclasica"] { --a: 240deg; --p1: #ffd0da; --p2: #8e1d43; --glow: rgba(255, 159, 179, .5); }
.planet[data-world="astrodios"] { --a: 320deg; --p1: #f6b34d; --p2: #5a2e0c; --glow: rgba(227, 137, 31, .55); }
.planet[data-world="storychoose"] { --a: 280deg; --p1: #3b4590; --p2: #0d1230; --glow: rgba(244, 201, 93, .45); }
.k-wuuuh { --c: #f7b733; } .k-aisenatus { --c: #e8ff6a; } .k-helpbless { --c: #5eead4; } .k-taskfamily { --c: #f9a8d4; }
.k-sixonseven { --c: #ff9a73; } .k-introworth { --c: #7ea6ff; } .k-soclasica { --c: #ffc2cf; } .k-storychoose { --c: #f4c95d; } .k-astrodios { --c: #f0a250; }
[data-tune="wuuuh"] { --c: #f7b733; } [data-tune="aisenatus"] { --c: #b8cc2a; } [data-tune="helpbless"] { --c: #0f6b5c; } [data-tune="taskfamily"] { --c: #a855f7; }
[data-tune="sixonseven"] { --c: #f2683f; } [data-tune="introworth"] { --c: #1657e8; } [data-tune="soclasica"] { --c: #d0246c; } [data-tune="storychoose"] { --c: #d9a62e; } [data-tune="astrodios"] { --c: #c96d14; }

/* ---------- Interactive art hints ---------- */
.art-hint {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; pointer-events: none;
  font-family: var(--mono); font-size: 11px; letter-spacing: .05em; line-height: 1.2;
  padding: 7px 12px; border-radius: 999px; color: #fff;
  background: rgba(7, 6, 13, .58); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .16);
  opacity: 0; transform: translateY(6px); transition: opacity .5s .7s, transform .5s .7s;
}
.art-hint b { font-weight: 600; }
.art-hint::before { content: "✦ "; color: var(--accent); }
.world.in .art-hint { opacity: .94; transform: none; }
.world--soclasica .art-hint { left: 24px; bottom: auto; top: 24px; }
.world--astrodios .art-hint { bottom: auto; top: 16px; }
.world-art canvas.is-touchy { cursor: pointer; }

/* ---------- World dots ---------- */
.dots { position: fixed; right: 14px; top: 50%; z-index: 150; display: flex; flex-direction: column; gap: 6px; transform: translate(14px, -50%); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.dots.on { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.dots a { position: relative; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; text-decoration: none; }
.dots a::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgba(7, 6, 13, .6), 0 0 10px var(--c); transition: transform .2s, box-shadow .2s; }
.dots a:hover::before, .dots a:focus-visible::before { transform: scale(1.4); }
.dots a.is-active::before { transform: scale(1.55); box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(7, 6, 13, .55), 0 0 16px var(--c); }
.dots span { position: absolute; right: calc(100% + 6px); top: 50%; transform: translateY(-50%); white-space: nowrap; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(7, 6, 13, .86); padding: 6px 10px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.dots a:hover span, .dots a:focus-visible span { opacity: 1; }
@media (max-width: 900px) { .dots { display: none; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 400; transform: translate(-50%, 20px); padding: 12px 20px; border-radius: 999px; background: #fff; color: #0b0914; font-weight: 700; font-size: 15px; box-shadow: 0 18px 50px -12px rgba(168, 85, 247, .8); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Warp ---------- */
.warp { --wc: #fff; position: fixed; inset: 0; z-index: 500; background: #07060d; opacity: 0; pointer-events: none; transition: opacity .12s; }
.warp.on { opacity: 1; pointer-events: auto; }
.warp canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.warp-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.9); display: flex; flex-direction: column; align-items: center; gap: 12px; color: #fff; text-align: center; opacity: 0; transition: opacity .3s .1s, transform .5s .1s cubic-bezier(.2, .7, .2, 1); }
.warp.on .warp-label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.warp-label svg { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 0 70px var(--wc); }
.warp-label span { font-weight: 750; font-size: clamp(22px, 3vw, 32px); letter-spacing: -.02em; text-shadow: 0 2px 20px rgba(0, 0, 0, .6); }
.warp-label small { font-family: var(--mono); font-size: 13px; color: var(--wc); letter-spacing: .08em; }

/* ---------- Keyboard hint ---------- */
.kbd-hint kbd { font-family: var(--mono); font-size: 11.5px; padding: 1px 6px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: var(--ink-dim); }
.kbd-hint { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.kbd-toggle { border: 0; background: none; padding: 4px 0; min-height: 28px; font: inherit; color: var(--ink-dim); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.kbd-hint.is-off .kbd-keys { opacity: .5; text-decoration: line-through; }
@media (hover: none) { .kbd-keys { display: none; } }

/* ---------- Vibe check ---------- */
.check {
  background:
    radial-gradient(60% 55% at 15% 20%, rgba(168, 85, 247, .2), transparent 70%),
    radial-gradient(50% 50% at 90% 85%, rgba(16, 185, 129, .13), transparent 70%),
    #0b0914;
  padding: clamp(90px, 10vw, 140px) var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.check-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.wheel-wrap { position: relative; }
.wheel { display: block; width: 100%; max-width: 540px; margin: 0 auto; overflow: visible; touch-action: none; user-select: none; -webkit-user-select: none; cursor: crosshair; }
.wh-ring { fill: none; stroke: rgba(255, 255, 255, .09); }
.wh-axis { stroke: rgba(255, 255, 255, .13); }
.wh-shape { stroke: #f9a8d4; stroke-width: 2.5; stroke-linejoin: round; filter: drop-shadow(0 0 22px rgba(236, 72, 153, .5)); }
.wh-dot { fill: var(--c); stroke: #0b0914; stroke-width: 3; cursor: grab; transition: r .15s; }
.wh-dot:hover, .wh-dot.drag { r: 12; }
.wh-dot.drag { cursor: grabbing; }
.wheel-score { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); }
.wheel-score b { display: block; font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(38px, 5vw, 56px); letter-spacing: -.02em; text-transform: none; color: #fff; text-shadow: 0 0 30px rgba(236, 72, 153, .7); line-height: 1; }
.sliders { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sliders li { display: grid; grid-template-columns: 32px minmax(0, 1fr) 30px; grid-template-areas: "logo name out" "logo range out"; column-gap: 12px; align-items: center; padding: 8px 12px; border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .06); }
.sl-logo { grid-area: logo; width: 32px; height: 32px; border-radius: 9px; }
.sl-name { grid-area: name; font-weight: 650; font-size: 15px; line-height: 1.2; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sl-name small { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--ink-faint); letter-spacing: .04em; }
.sliders input[type="range"] { grid-area: range; width: 100%; height: 32px; margin: -3px 0 -3px; accent-color: var(--c); cursor: pointer; }
.sliders output { grid-area: out; justify-self: end; font-family: var(--mono); font-weight: 700; font-size: 16px; color: var(--c); font-variant-numeric: tabular-nums; }
.verdict { --vc: #fff; margin-top: 20px; padding: 22px 22px 20px; border-radius: 22px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); border-top: 3px solid var(--vc); }
.vd-k { font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; }
.vd-main { font-family: var(--display); font-style: italic; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; color: var(--vc); margin-bottom: 8px; }
.vd-sub { color: var(--ink-dim); font-size: 15.5px; margin-bottom: 16px; }
.vd-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.vd-foot { margin-top: 14px; font-size: 14px; color: var(--ink-faint); }
.vd-foot b { color: var(--ink); }
@media (max-width: 900px) { .check-grid { grid-template-columns: 1fr; } .wheel { max-width: 420px; } }

/* ---------- Hero entrance ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.js .hero .eyebrow { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero .ht-1 { animation: rise 1.1s .08s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero .ht-2 { animation: rise 1.1s .2s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero .lede { animation: rise 1s .34s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero .hero-cta { animation: rise 1s .46s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero .now { animation: rise 1s .6s cubic-bezier(.2, .7, .2, 1) both; }

/* ---------- Time of day ---------- */
.tod-dawn .hero { background: radial-gradient(55% 50% at 72% 42%, rgba(251, 146, 60, .24), transparent 70%), radial-gradient(38% 42% at 18% 82%, rgba(244, 114, 182, .24), transparent 70%), radial-gradient(30% 30% at 92% 92%, rgba(56, 189, 248, .16), transparent 70%), radial-gradient(40% 40% at 8% 10%, rgba(253, 224, 71, .1), transparent 70%), var(--night); }
.tod-day .hero { background: radial-gradient(55% 50% at 72% 42%, rgba(56, 189, 248, .26), transparent 70%), radial-gradient(38% 42% at 18% 82%, rgba(99, 102, 241, .24), transparent 70%), radial-gradient(30% 30% at 92% 92%, rgba(16, 185, 129, .16), transparent 70%), radial-gradient(40% 40% at 8% 10%, rgba(232, 255, 106, .1), transparent 70%), var(--night); }
.tod-dusk .hero { background: radial-gradient(55% 50% at 72% 42%, rgba(249, 115, 22, .26), transparent 70%), radial-gradient(38% 42% at 18% 82%, rgba(236, 72, 153, .26), transparent 70%), radial-gradient(30% 30% at 92% 92%, rgba(168, 85, 247, .2), transparent 70%), radial-gradient(40% 40% at 8% 10%, rgba(247, 183, 51, .12), transparent 70%), var(--night); }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 210; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--iri); transform: scaleX(0); transform-origin: left center; box-shadow: 0 0 12px rgba(236, 72, 153, .7); }

/* ---------- Passport ---------- */
.passport { background: #07060d; padding: clamp(70px, 9vw, 120px) var(--gutter); }
.passport-card {
  color-scheme: light;
  max-width: 1120px; margin: 0 auto; position: relative; overflow: hidden;
  padding: clamp(28px, 4.5vw, 56px); border-radius: 30px; color: #1c1830;
  background:
    repeating-radial-gradient(circle at 0 0, rgba(28, 24, 48, .035) 0 1px, transparent 1px 9px),
    repeating-radial-gradient(circle at 100% 100%, rgba(176, 32, 79, .03) 0 1px, transparent 1px 11px),
    linear-gradient(160deg, #fbf5e8, #efe3cb);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 100px -50px rgba(168, 85, 247, .6);
}
.passport-card::before { content: ""; position: absolute; inset: 14px; border: 1.5px dashed rgba(28, 24, 48, .2); border-radius: 20px; pointer-events: none; }
.pp-head { position: relative; text-align: center; max-width: 640px; margin: 0 auto 34px; }
.pp-head h2 { font-weight: 700; font-size: clamp(36px, 5vw, 64px); letter-spacing: -.045em; line-height: 1; margin-bottom: 12px; }
.pp-head h2 em { font-family: var(--display); font-weight: 400; font-style: italic; letter-spacing: -.01em; color: #b0204f; }
.pp-sub { color: rgba(28, 24, 48, .72); }
.stamps { position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.5vw, 30px); }
.stamp a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: inherit; padding: 10px 6px; border-radius: 20px; transition: background-color .2s; }
.stamp a:hover { background: rgba(28, 24, 48, .05); }
.st-ring { --sz: clamp(86px, 10vw, 118px); position: relative; display: grid; place-items: center; flex: none; width: var(--sz); height: var(--sz); border-radius: 50%; border: 2px dashed rgba(28, 24, 48, .28); transition: transform .3s; }
.st-ring svg { width: calc(var(--sz) * .44); height: calc(var(--sz) * .44); border-radius: 22%; filter: grayscale(1); opacity: .35; }
.st-ring i { position: absolute; top: 9%; font-family: var(--mono); font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; color: rgba(28, 24, 48, .4); }
.stamp b { font-weight: 750; font-size: 15px; letter-spacing: -.01em; }
.stamp small { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(28, 24, 48, .74); }
.stamp.is-on .st-ring { border: 3px double var(--ink); transform: rotate(var(--r)); box-shadow: inset 0 0 0 5px color-mix(in srgb, var(--ink) 12%, transparent); background: radial-gradient(circle, color-mix(in srgb, var(--ink) 10%, transparent), transparent 70%); }
.stamp.is-on .st-ring svg { filter: none; opacity: 1; }
.stamp.is-on .st-ring i { color: var(--ink); }
.stamp.is-on small { color: color-mix(in srgb, var(--ink) 72%, #000); font-weight: 700; }
.stamp.thunk .st-ring { animation: thunk .55s cubic-bezier(.2, .9, .3, 1.3) both; }
@keyframes thunk { 0% { transform: scale(1.9) rotate(calc(var(--r) - 25deg)); opacity: 0; } 60% { transform: scale(.92) rotate(var(--r)); opacity: 1; } 100% { transform: scale(1) rotate(var(--r)); } }
.pp-foot { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(28, 24, 48, .7); }
.pp-reset { border: 0; background: none; padding: 8px 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.passport.complete .passport-card { background: repeating-radial-gradient(circle at 0 0, rgba(184, 137, 59, .07) 0 1px, transparent 1px 9px), linear-gradient(160deg, #fff6dc, #f0d9a8); }
.passport.complete .pp-head h2 em { color: #a16207; }
.world-meta .stamped { color: var(--ink); opacity: .9; }
@media (max-width: 760px) { .stamps { gap: 8px; } .st-ring { --sz: clamp(68px, 21vw, 96px); } .stamp b { font-size: 13px; } .stamp small { font-size: 9.5px; } }

/* ---------- 404 ---------- */
.lost { display: grid; place-items: center; text-align: center; }
.lost-inner { max-width: 760px; }
.lost .lede { margin-left: auto; margin-right: auto; }
.lost .hero-cta { justify-content: center; }

/* ---------- Text pages (privacy, terms, support, developers) ---------- */
.doc-page { background: radial-gradient(60% 40% at 80% 0%, rgba(99, 102, 241, .18), transparent 70%), var(--night); }
.doc-nav { position: sticky; top: 12px; transform: none; left: auto; margin: 12px auto 0; }
.doc { padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(56px, 8vw, 96px); }
.doc-inner { max-width: 880px; margin: 0 auto; }
.doc-inner h1 { font-weight: 700; font-size: clamp(38px, 6vw, 64px); letter-spacing: -.045em; line-height: 1; margin: 0 0 10px; }
.doc-updated { color: var(--ink-faint); font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; margin-bottom: 34px; }
.doc-inner h2 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -.01em; margin: 40px 0 12px; }
.doc-inner p, .doc-inner li { color: var(--ink-dim); font-size: 17px; line-height: 1.65; }
.doc-inner p { margin: 0 0 14px; }
.doc-inner ul { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 6px; }
.doc-inner b { color: var(--ink); }
.doc-inner a { color: #c4b5fd; text-underline-offset: 3px; }
.doc-inner a:hover { color: #fff; }
.doc-inner code { font-family: var(--mono); font-size: .86em; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); color: #f5f2ff; word-break: break-word; }
.doc-inner pre { overflow-x: auto; margin: 8px 0 24px; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); font-size: 13px; line-height: 1.55; }
.doc-inner pre code { padding: 0; background: none; word-break: normal; white-space: pre; font-size: inherit; }
.doc-table { overflow-x: auto; margin: 8px 0 24px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; }
.doc-table table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 14px; }
.doc-table th, .doc-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, .07); color: var(--ink-dim); }
.doc-table th { color: var(--ink); font-weight: 700; background: rgba(255, 255, 255, .04); position: sticky; top: 0; }
.doc-table td:first-child code { white-space: nowrap; }
.doc-foot { border-top: 1px solid rgba(255, 255, 255, .07); padding: 26px var(--gutter) 34px; text-align: center; color: var(--ink-faint); font-size: 14px; }
.doc-foot a { color: var(--ink-dim); text-underline-offset: 3px; }
.foot-legal { display: inline-flex; flex-wrap: wrap; gap: 2px 14px; }
.foot-legal a, .doc-foot a { display: inline-flex; align-items: center; min-height: 28px; }

/* ---------- Today's world + streak ---------- */
.today { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.today-chip { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 6px 14px 6px 6px; border-radius: 999px; text-decoration: none; font-size: 14.5px; color: var(--ink-dim); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); transition: background-color .2s, color .2s; }
.today-chip:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.today-chip svg { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.today-chip b { color: #fff; font-weight: 700; }
.streak { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); }
.streak::before { content: "✦ "; color: #f7b733; }

/* ---------- Status-aware orbit ---------- */
.planet.is-down .planet-ball { filter: grayscale(.85) brightness(.7); }
.planet.is-down .planet-name::after { content: " · back soon"; }
.oc-down { margin: -4px 0 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: #fbbf24; }

/* ---------- Vibe check: friend view, ghost, delta ---------- */
.check-banner { max-width: 1120px; margin: 0 auto 24px; padding: 12px 18px; border-radius: 16px; text-align: center; font-size: 15px; color: var(--ink); background: rgba(168, 85, 247, .16); border: 1px solid rgba(168, 85, 247, .4); }
.link-btn { border: 0; background: none; padding: 4px 2px; min-height: 28px; font: inherit; font-weight: 700; color: #f9a8d4; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wh-ghost { fill: none; stroke: rgba(255, 255, 255, .38); stroke-width: 1.5; stroke-dasharray: 5 6; stroke-linejoin: round; }
.vd-delta { margin-top: 12px; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--ink-dim); }

/* ---------- Passport share ---------- */
.pp-actions { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; justify-content: flex-end; }
.pp-share { min-height: 44px; padding: 10px 18px; font-size: 14px; text-transform: none; letter-spacing: 0; }
.pp-share[aria-busy="true"] { opacity: .6; cursor: progress; }
@media (max-width: 560px) { .pp-foot { flex-direction: column; align-items: stretch; text-align: center; } .pp-actions { justify-content: center; } }

/* ---------------- The Lab ---------------- */
.lab { padding: clamp(64px, 9vw, 120px) var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.lab-head { max-width: 720px; margin-bottom: 28px; }
.lab-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 76px); line-height: 1; margin: 8px 0 12px; }
.lab-head h2 em { background: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lab-sub { color: var(--ink-dim); max-width: 56ch; }
.lab-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.lab-tabs [role="tab"] { text-align: left; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: var(--ink); cursor: pointer; display: grid; gap: 2px; font: inherit; }
.lab-tabs [role="tab"] b { font-weight: 700; }
.lab-tabs [role="tab"] span { color: var(--ink-faint); font-size: 13px; }
.lab-tabs [role="tab"][aria-selected="true"] { border-color: transparent; background: linear-gradient(#141026, #141026) padding-box, var(--iri) border-box; border: 1px solid transparent; }
.lab-tabs [role="tab"]:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lab-stage { border-radius: 28px; padding: clamp(14px, 2.4vw, 26px); background: radial-gradient(120% 80% at 50% 0%, #1a1238 0%, #0a0816 70%); border: 1px solid rgba(255, 255, 255, .08); }
.lab-panel { display: grid; gap: 12px; }
.lab-hud { display: flex; flex-wrap: wrap; gap: 10px 22px; font: 13px/1.4 var(--mono); color: var(--ink-dim); }
.lab-hud b { color: var(--ink); font-weight: 600; }
.lab-miss { letter-spacing: 2px; }
.lab-canvas { width: 100%; aspect-ratio: 16 / 10; max-height: 70vh; display: block; border-radius: 18px; background: rgba(0, 0, 0, .25); touch-action: none; cursor: crosshair; }
.lab-canvas--disc { aspect-ratio: 1; max-width: 520px; margin: 0 auto; cursor: default; background: transparent; }
.lab-canvas--wide { aspect-ratio: 16 / 9; cursor: ns-resize; }
.lab-status { color: var(--ink); min-height: 1.4em; }
.lab-hint, .lab-small { color: var(--ink-faint); font-size: 14px; }
.lab-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lab-card { padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 8px; }
.lab-card h3 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 4vw, 40px); margin: 0; }
.lab-form { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px 18px; align-items: end; }
.lab-form label { display: grid; gap: 6px; font-size: 14px; color: var(--ink-dim); }
.lab-form input[type="text"] { padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .3); color: var(--ink); font: inherit; }
.lab-form input[type="range"] { accent-color: #a855f7; }
.lab-form .lab-actions { grid-column: 1 / -1; }
.lab-level { width: 90px; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; align-self: center; }
.lab-level::after { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--lvl, 0)); background: var(--iri); }
@media (max-width: 720px) {
  .lab-tabs { grid-template-columns: 1fr; }
  .lab-form { grid-template-columns: 1fr; }
  .lab-canvas { aspect-ratio: 1; }
  .lab-canvas--wide { aspect-ratio: 4 / 5; }
}
