/* Don't Touch That Dial! — base, shared components, global chrome */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
  padding-bottom: 44px;
  cursor: url('../assets/cursor-mic.svg') 6 3, auto;
  transition: background-color .3s;
}
a, button, [role="slider"], .card, .door, .scard, label { cursor: url('../assets/cursor-mic.svg') 6 3, pointer; }
input { cursor: text; }
img, svg { max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
#view { outline: none; display: block; min-height: 70vh; }
[hidden] { display: none !important; }

/* ---------- Keyframes ---------- */
@keyframes chase { from { background-position: 0 0; } to { background-position: 26px 0; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes swayL { from { transform: rotate(-26deg); } to { transform: rotate(-10deg); } }
@keyframes swayR { from { transform: rotate(26deg); } to { transform: rotate(10deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flicker { 0%, 100% { opacity: 1; } 92% { opacity: 1; } 94% { opacity: .72; } 96% { opacity: 1; } }
@keyframes glowPulse { 0%, 100% { box-shadow: 0 0 18px #FF3B4E, 0 0 48px #B3121E; } 50% { box-shadow: 0 0 6px #FF3B4E, 0 0 14px #B3121E; } }
@keyframes shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(5px); } 30%, 50%, 70% { transform: translateX(-9px); } 40%, 60% { transform: translateX(9px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
@keyframes floatUp { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-40px); } }
@keyframes rollbar { from { transform: translateY(-30%); } to { transform: translateY(130%); } }
@keyframes buzzPulse { 0%, 100% { box-shadow: 0 10px 0 var(--buzzer-lo), 0 16px 30px rgba(0,0,0,.6), 0 0 0 0 var(--buzzer); } 50% { box-shadow: 0 10px 0 var(--buzzer-lo), 0 16px 30px rgba(0,0,0,.6), 0 0 0 14px rgba(255,255,255,0); } }
.shake { animation: shake .5s both; }

/* ---------- Reduce motion ---------- */
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after {
  animation-duration: .001ms !important; animation-iteration-count: 1 !important;
  transition-duration: .001ms !important; scroll-behavior: auto !important;
}
.reduce-motion { scroll-behavior: auto; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 60; background: var(--topbar-bg); color: var(--topbar-ink); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(127,127,127,.25); }
.topbar__inner { max-width: 1280px; margin: 0 auto; padding: 6px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; justify-content: space-between; }
.topbar__logo { font-family: 'Yellowtail', cursive; font-size: 28px; color: var(--topbar-ink); text-decoration: none; padding: 4px 0; white-space: nowrap; }
.topbar__nav { display: flex; flex-wrap: wrap; gap: 2px; font-family: 'Courier Prime', monospace; font-size: 15px; }
.topbar__nav a { color: var(--topbar-ink); text-decoration: none; padding: 10px 12px; border-radius: 8px; }
.topbar__nav a:hover, .topbar__nav a[aria-current="page"] { background: rgba(127,127,127,.2); }
.topbar__tools { display: flex; gap: 8px; align-items: center; }
.tool-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid currentColor; background: transparent; color: var(--topbar-ink); font-family: 'Courier Prime', monospace; font-size: 14px; }
.tool-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tool-btn[aria-pressed="true"]#btn-motion { background: var(--topbar-ink); color: var(--topbar-bg); }
.tool-btn--round { width: 44px; padding: 0; justify-content: center; }
#btn-sound .ic-off { display: none; }
#btn-sound[aria-pressed="false"] .ic-on { display: none; }
#btn-sound[aria-pressed="false"] .ic-off { display: block; }
@media (max-width: 640px) {
  .tool-btn__label { display: none; } #btn-motion { width: 44px; padding: 0; justify-content: center; }
  .topbar__inner { padding: 4px 12px; gap: 0 8px; }
  .topbar__logo { font-size: 22px; flex: 1 1 auto; }
  .topbar__nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; }
  .topbar__nav a { white-space: nowrap; padding: 8px 10px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 3px solid var(--line); background: var(--panel); color: var(--panel-ink); font-family: var(--font-body); font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .12s, box-shadow .12s; text-align: center; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; transform: none; }
.btn--primary { background: var(--accent2); color: var(--accent2-ink); box-shadow: 3px 3px 0 var(--line); }
.btn--gold { background: var(--accent); color: var(--accent-ink); box-shadow: 3px 3px 0 var(--line); }
.btn--ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.btn--big { min-height: 58px; padding: 0 30px; font-size: 18px; }
.buzzer { display: inline-flex; align-items: center; justify-content: center; width: 124px; height: 124px; border-radius: 50%; border: 6px solid var(--buzzer-rim); background: radial-gradient(circle at 38% 32%, var(--buzzer-hi), var(--buzzer) 45%, var(--buzzer-lo) 100%); color: var(--buzzer-ink); font-family: var(--font-display); font-size: 22px; letter-spacing: 1px; text-decoration: none; box-shadow: 0 10px 0 var(--buzzer-lo), 0 16px 30px rgba(0,0,0,.6); transition: transform .08s, box-shadow .08s; animation: buzzPulse 2s infinite; }
.buzzer:hover { transform: translateY(-2px); }
.buzzer:active { transform: translateY(8px); box-shadow: 0 2px 0 var(--buzzer-lo), 0 6px 14px rgba(0,0,0,.6); }

/* ---------- Typography helpers ---------- */
.kicker { font-family: var(--font-deco); font-size: 15px; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 5vw, 60px); line-height: 1.05; }
.script { font-family: var(--font-script); font-weight: 400; }
.mono { font-family: var(--font-mono); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; position: relative; }
.section--alt { background: var(--section-alt); }
.center { text-align: center; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s, transform .6s; }
.reveal.is-in { opacity: 1; transform: none; }
.reduce-motion .reveal { opacity: 1; transform: none; }

/* ---------- Stage (the TV studio set) ---------- */
.stage { position: relative; overflow: hidden; background: var(--stage-bg); border-bottom: 6px solid var(--trim); isolation: isolate; }
.stage__content { position: relative; z-index: 3; max-width: 1180px; margin: 0 auto; padding: 92px 24px 140px; }
.stage__curtain { position: absolute; top: 0; bottom: 0; width: 11%; min-width: 46px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.5), rgba(0,0,0,0) 45%, rgba(0,0,0,.35)), repeating-linear-gradient(90deg, var(--curtain-a) 0 14px, var(--curtain-b) 14px 30px, var(--curtain-a) 30px 44px); }
.stage__curtain--l { left: 0; border-bottom-right-radius: 40% 12%; }
.stage__curtain--r { right: 0; transform: scaleX(-1); border-bottom-right-radius: 40% 12%; }
.stage__valance { position: absolute; top: 0; left: 0; right: 0; height: 50px; z-index: 2; background: repeating-linear-gradient(90deg, var(--curtain-a) 0 40px, var(--curtain-b) 40px 80px); border-bottom: 6px solid var(--trim); }
.stage__scallop { position: absolute; top: 56px; left: 0; right: 0; height: 22px; z-index: 2; background: radial-gradient(circle at 50% 0, var(--curtain-b) 0 19px, transparent 20px); background-size: 40px 22px; }
.stage__beam { position: absolute; top: -40px; width: 340px; height: 125%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, var(--beam), transparent 85%); clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); transform-origin: top center; mix-blend-mode: screen; }
.stage__beam--l { left: 14%; animation: swayL 6s ease-in-out infinite alternate; }
.stage__beam--r { right: 14%; animation: swayR 7s ease-in-out infinite alternate; }
.stage__sunburst { position: absolute; left: 50%; top: 42%; width: 1500px; height: 1500px; margin: -750px 0 0 -750px; border-radius: 50%; z-index: 0; background: repeating-conic-gradient(from 0deg, var(--sunburst) 0 6deg, transparent 6deg 12deg); animation: spin 140s linear infinite; pointer-events: none; }
.stage__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 190px; z-index: 1; background: var(--floor); border-top: 5px solid var(--trim); }
.stage__glow { position: absolute; left: 50%; bottom: 110px; width: 900px; height: 160px; margin-left: -450px; border-radius: 50%; z-index: 1; background: radial-gradient(ellipse, rgba(255,226,163,.25), transparent 70%); pointer-events: none; }
.stage__crowd { position: absolute; left: 0; right: 0; bottom: 0; height: 96px; z-index: 4; pointer-events: none; background-image: radial-gradient(circle at 50% 34%, var(--crowd) 0 17px, transparent 18px), radial-gradient(ellipse at 50% 100%, var(--crowd) 0 36px, transparent 37px); background-size: 64px 96px; }
.stage__crowd--front { height: 64px; background-size: 56px 64px; background-position: 28px 0; filter: brightness(.6); }
.stage__crowd--front { background-image: radial-gradient(circle at 50% 30%, #000 0 15px, transparent 16px), radial-gradient(ellipse at 50% 100%, #000 0 32px, transparent 33px); }

/* ---------- Bulb marquee ---------- */
.bulbs { padding: 18px; border-radius: 32px; background-color: var(--bulb-bg); background-image: radial-gradient(circle, var(--bulb) 0 3px, var(--bulb-ring) 4px 5px, transparent 6px); background-size: 26px 26px; box-shadow: 0 0 60px var(--bulb-glow), 0 0 0 4px var(--trim); animation: chase .9s steps(2) infinite; }
.bulbs__in { border-radius: 18px; background: var(--marquee-bg); border: 3px solid var(--trim); color: var(--marquee-ink); padding: 32px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.title-neon { color: var(--title-color); text-shadow: var(--title-glow); animation: flicker 5s infinite; }

/* ---------- Host, desk & speech bubble ---------- */
.host { width: 250px; max-width: 64vw; filter: var(--host-filter); position: relative; z-index: 1; }
.host__svg { display: block; width: 100%; height: auto; }
.h-suit { fill: var(--host-suit); } .h-lapel { fill: var(--host-lapel); } .h-tie { fill: var(--host-tie); } .h-tie-knot { fill: var(--host-tie-knot); }
.h-lid { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); transition: transform .07s; }
.blink .h-lid { transform: scaleY(1); }
.h-brow { transform-box: fill-box; transition: transform .25s; }
.mood-happy .h-brow { transform: translateY(-5px); }
.mood-surprised .h-brow { transform: translateY(-9px); }
.mood-sad .h-brow--l { transform-origin: 100% 50%; transform: rotate(14deg); }
.mood-sad .h-brow--r { transform-origin: 0 50%; transform: rotate(-14deg); }
.host-spot { display: flex; flex-direction: column; align-items: center; position: relative; }
.host-spot .host { cursor: inherit; }
.desk { position: relative; z-index: 2; margin-top: -52px; width: min(380px, 88vw); padding: 18px 16px 20px; border-radius: 22px 22px 8px 8px; background: linear-gradient(180deg, var(--desk-a), var(--desk-b)); border: 4px solid var(--trim); box-shadow: 0 22px 40px rgba(0,0,0,.5), inset 0 6px 0 rgba(255,255,255,.18); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.desk::before { content: ''; position: absolute; left: 14px; right: 14px; top: 10px; height: 4px; background: var(--trim); border-radius: 2px; }
.desk__label { margin-top: 8px; font-family: var(--font-deco); font-size: 14px; letter-spacing: .3em; color: var(--desk-ink); }
.desk__plate { padding: 6px 22px; border-radius: 8px; background: linear-gradient(180deg, #F7DD9A, #C99A3E); color: #2E1810; font-family: 'Bowlby One', sans-serif; font-size: 22px; letter-spacing: 2px; }
.bubble { position: relative; max-width: 420px; padding: 16px 20px; border-radius: 22px; background: var(--bubble-bg); color: var(--bubble-ink); border: 3px solid var(--line); box-shadow: 0 14px 30px rgba(0,0,0,.35); font-size: 17px; line-height: 1.45; min-height: 58px; opacity: 0; transform: scale(.92) translateY(6px); transition: opacity .25s, transform .25s; }
.bubble.is-on { opacity: 1; transform: none; }
.bubble::after { content: ''; position: absolute; width: 22px; height: 22px; background: var(--bubble-bg); border-left: 3px solid var(--line); border-bottom: 3px solid var(--line); transform: rotate(45deg); left: -13px; top: 22px; }
.bubble--down::after { left: 40px; top: auto; bottom: -13px; transform: rotate(-45deg); }

/* ---------- Channel dial ---------- */
.dial { position: fixed; right: 16px; bottom: 56px; z-index: 65; display: flex; flex-direction: column; align-items: center; gap: 2px; user-select: none; touch-action: none; }
.dial__body { width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #8A5A3C, #4A2A18 70%); border: 4px solid #1E1A17; box-shadow: 0 12px 30px rgba(0,0,0,.55), inset 0 3px 0 rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; }
.dial__face { position: relative; width: 140px; height: 140px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.dial__num { position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border: 0; padding: 0; border-radius: 50%; background: transparent; color: #F4E4C8; font-family: 'Courier Prime', monospace; font-weight: 700; font-size: 13px; line-height: 24px; text-align: center; }
.dial__num.is-on { background: #F2B84B; color: #1E1A17; box-shadow: 0 0 10px #F2B84B; }
.dial__knob { width: 82px; height: 82px; border-radius: 50%; position: relative; background: radial-gradient(circle at 35% 30%, #FFFFFF, #CFC6B6 45%, #8C8272 100%); border: 3px solid #1E1A17; box-shadow: 0 6px 10px rgba(0,0,0,.5); transition: transform .18s cubic-bezier(.3,1.6,.5,1); touch-action: none; }
.dial__knob.is-grabbed { transition: none; }
.dial__grip { position: absolute; inset: 8px; border-radius: 50%; background: repeating-conic-gradient(rgba(0,0,0,.18) 0 6deg, transparent 6deg 18deg); }
.dial__pointer { position: absolute; left: 50%; top: 4px; width: 6px; height: 26px; margin-left: -3px; border-radius: 3px; background: #E0202F; box-shadow: 0 0 6px rgba(224,32,47,.8); }
.dial__caption { font-family: 'Courier Prime', monospace; font-weight: 700; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: #F4E4C8; background: #1E1A17; padding: 2px 10px; border-radius: 6px; }
.dial__hint { position: absolute; right: 158px; top: 50px; white-space: nowrap; padding: 8px 14px; border-radius: 14px; background: #FFFDF6; color: #1E1A17; border: 3px solid #1E1A17; font-family: 'Yellowtail', cursive; font-size: 22px; opacity: 0; transform: translateX(10px); transition: opacity .3s, transform .3s; pointer-events: none; }
.dial.hint .dial__hint { opacity: 1; transform: none; animation: blink 2.4s infinite; }
@media (max-width: 760px) {
  .dial { transform: scale(.58); transform-origin: bottom right; right: 8px; bottom: 50px; }
  .dial__hint { display: none; }
}

/* ---------- Breaking News ticker ---------- */
.ticker { position: fixed; left: 0; right: 0; bottom: 0; z-index: 64; height: 44px; display: flex; background: var(--ticker-bg); color: var(--ticker-ink); border-top: 3px solid var(--ticker-label-bg); font-family: 'Courier Prime', monospace; font-size: 15px; }
.ticker__label { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--ticker-label-bg); color: var(--ticker-label-ink); font-family: 'Bowlby One', sans-serif; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.ticker__dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; animation: blink 1.2s infinite; }
.ticker__window { flex: 1 1 auto; overflow: hidden; display: flex; align-items: center; position: relative; }
.ticker__track { flex: 0 0 auto; display: flex; margin: 0; padding: 0; list-style: none; animation: marquee 60s linear infinite; }
.ticker__item { white-space: nowrap; padding: 0 28px; position: relative; }
.ticker__item::after { content: '◆'; position: absolute; right: -6px; opacity: .6; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.reduce-motion .ticker__track { animation: none; }
.reduce-motion .ticker__track--clone { display: none; }
.reduce-motion .ticker__item { display: none; }
.reduce-motion .ticker__item.is-on { display: block; }

/* ---------- FX layers ---------- */
.fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 95; pointer-events: none; }
.zap { position: fixed; inset: 0; z-index: 90; display: none; background: #000; }
.zap.is-on { display: block; }
.zap canvas { width: 100%; height: 100%; image-rendering: pixelated; opacity: .9; }
.zap__roll { position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(255,255,255,.18), transparent); animation: rollbar .5s linear infinite; }
.zap.is-calm canvas, .zap.is-calm .zap__roll { display: none; }
.osd { position: fixed; top: 74px; right: 26px; z-index: 96; font-family: 'VT323', monospace; font-size: 54px; line-height: 1; color: #6CFF6C; text-shadow: 0 0 8px rgba(108,255,108,.8), 2px 2px 0 #003300; opacity: 0; transition: opacity .2s; pointer-events: none; }
.osd.is-on { opacity: 1; }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 100; display: none; }
.intro.is-on { display: block; }
.intro__screen { position: absolute; inset: 0; z-index: 5; background: #000; display: flex; align-items: center; justify-content: center; text-align: center; color: #F4EBD9; padding: 24px; transition: opacity .5s; }
.intro__panel { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 560px; }
.intro__kicker { font-family: 'Limelight', serif; letter-spacing: .4em; text-transform: uppercase; font-size: 14px; color: #F2B84B; }
.intro__title { font-family: 'Yellowtail', cursive; font-weight: 400; font-size: clamp(48px, 9vw, 84px); line-height: 1; color: #FFD6E4; text-shadow: 0 0 6px #FF6FA8, 0 0 22px #FF2E7E; }
.intro__power { width: 112px; height: 112px; border-radius: 50%; border: 5px solid #F4EBD9; background: radial-gradient(circle at 38% 32%, #FF8A8A, #E0202F 45%, #8A0B14); color: #FFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(224,32,47,.2), 0 0 40px rgba(224,32,47,.6); animation: buzzPulse 1.6s infinite; }
.intro__power svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.intro__hint { font-family: 'Courier Prime', monospace; font-size: 15px; color: #D9CDB8; }
.intro__skip { background: none; border: 0; color: #D9CDB8; text-decoration: underline; font-family: 'Courier Prime', monospace; font-size: 15px; min-height: 44px; padding: 0 12px; }
.intro__crt { position: absolute; inset: 0; background: #FFF; transform: scale(0, 0); opacity: 0; pointer-events: none; }
.intro.is-power .intro__panel { opacity: 0; transition: opacity .15s; }
.intro.is-power .intro__crt { animation: crt .75s ease-out forwards; }
@keyframes crt { 0% { opacity: 1; transform: scale(0, .004); } 45% { opacity: 1; transform: scale(1, .004); } 70% { opacity: 1; transform: scale(1, 1); } 100% { opacity: 0; transform: scale(1, 1); } }
.intro__static { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; opacity: 0; pointer-events: none; z-index: 2; }
.intro__crt { z-index: 3; }
.intro.is-static .intro__static { opacity: .85; }
.intro__curtain { position: absolute; top: 0; bottom: 0; width: 50.5%; z-index: 2; transition: transform 1.5s cubic-bezier(.7,0,.3,1); background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,0) 30%, rgba(0,0,0,.3) 60%, rgba(0,0,0,0)), repeating-linear-gradient(90deg, #4E0B16 0 18px, #9B1D30 18px 40px, #4E0B16 40px 58px); box-shadow: inset 0 -40px 60px rgba(0,0,0,.5); }
.intro__curtain--l { left: 0; border-right: 4px solid #2A050C; }
.intro__curtain--r { right: 0; border-left: 4px solid #2A050C; }
.intro__valance { position: absolute; top: 0; left: 0; right: 0; height: 70px; z-index: 3; background: repeating-linear-gradient(90deg, #6E1222 0 46px, #8E1B2B 46px 92px); border-bottom: 8px solid #D4A63A; transition: transform 1.2s .3s; }
.intro__sign { position: absolute; left: 50%; top: 50%; z-index: 4; transform: translate(-50%, -50%); transition: opacity .4s; }
.intro.is-curtains .intro__screen { opacity: 0; pointer-events: none; }
.intro.is-open .intro__curtain--l { transform: translateX(-100%); }
.intro.is-open .intro__curtain--r { transform: translateX(100%); }
.intro.is-open .intro__valance { transform: translateY(-100%); }
.intro.is-open .intro__sign { opacity: 0; }

/* ---------- Commercial overlay ---------- */
.overlay { position: fixed; inset: 0; z-index: 70; display: none; }
.overlay.is-on { display: block; }

/* ---------- Generic cards & bits ---------- */
.panel { background: var(--panel); color: var(--panel-ink); border: 3px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); }
.input { min-height: 50px; padding: 0 16px; border-radius: 12px; border: 3px solid var(--line); background: var(--panel); color: var(--panel-ink); font: inherit; font-size: 17px; width: 100%; }
.input.is-correct { border-color: #2E9E5B; } .input.is-wrong { border-color: #D9473F; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.bars span:nth-child(1) { background: #D8D8D8; } .bars span:nth-child(2) { background: #D9C640; } .bars span:nth-child(3) { background: #4FB8C0; }
.bars span:nth-child(4) { background: #5DB25B; } .bars span:nth-child(5) { background: #B44FA8; } .bars span:nth-child(6) { background: #C63E37; } .bars span:nth-child(7) { background: #3A50B4; }
