/* BloxTV · a TV channel for one coin. Palette: oxblood (red-black night, siren red, screen-glow).
   Type: Chakra Petch (display) + Rubik (body). Captions in videos stay Montserrat. */
:root {
  --bg: #120607; --surface: #1e0c0e; --surface-2: #2a1215; --line: #3a1a1e; --line-2: #4e252a;
  --text: #f6e9ea; --muted: #b9999c; --accent: #e0344a; --accent-ink: #ffffff; --glow: #5ee6ff; --yellow: #ffd23f; --ok: #3fd47f; --live: #ff3b4e;
  --radius: 18px; --radius-sm: 12px; --shadow: 0 12px 36px rgba(0, 0, 0, .45);
  --c: var(--accent);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 Rubik, system-ui, sans-serif; overflow-x: hidden; }
h1, h2, h3 { font-family: "Chakra Petch", Rubik, sans-serif; font-weight: 700; line-height: 1.05; margin: 0 0 .4em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(38px, 6.2vw, 76px); text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
a { color: inherit; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; word-break: break-all; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }

/* ---------- Background: rain over a block town, with a faint TV scanline */
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.scan { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; opacity: .5; }
.top, main, .foot { position: relative; z-index: 2; }

/* ---------- Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(18, 6, 7, .82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 22px "Chakra Petch", sans-serif; text-transform: uppercase; letter-spacing: .02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.nav { display: flex; gap: 2px; margin-left: 8px; }
.nav a { padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: 14px; white-space: nowrap; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 500; white-space: nowrap; }
#conn { color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: 500 15px Rubik, sans-serif; text-decoration: none; cursor: pointer; transition: transform .1s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { background: var(--surface-2); border-color: var(--muted); }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #c92a3e; border-color: #c92a3e; }
/* The two calls to action */
.btn-buy { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.btn-buy:hover { background: #c92a3e; border-color: #c92a3e; }
.btn-buy[aria-disabled="true"] { opacity: .8; }
.btn-launch { background: transparent; border: 2px solid var(--yellow); color: var(--yellow); font-weight: 600; }
.btn-launch:hover { background: rgba(255, 210, 63, .12); border-color: var(--yellow); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.cta-pair { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-pair .btn { min-height: 56px; padding: 0 30px; font-size: 18px; }
.cta-pair.hero .btn { min-height: 64px; padding: 0 36px; font-size: 20px; box-shadow: 0 10px 30px rgba(224, 52, 74, .35); }
.cta-pair.hero .btn-launch { box-shadow: none; }
.top .btn-buy { min-height: 48px; padding: 0 24px; font-size: 16px; }
.top .btn-launch { min-height: 48px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* Home: three steps */
.steps3 { list-style: none; padding: 0; margin: 28px auto 0; max-width: 860px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.steps3 a { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; min-height: 72px; }
.steps3 a:hover { border-color: var(--accent); }
.steps3 .n { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #fff; font: 700 20px "Chakra Petch", sans-serif; }
.steps3 b { font: 700 17px "Chakra Petch", sans-serif; }
.steps3 a > span:last-child { color: var(--muted); font-size: 14px; }

/* Coin cards */
.coins-head { display: flex; justify-content: space-between; align-items: baseline; max-width: 860px; margin: 40px auto 12px; text-align: left; }
.coins-head h2 { font-size: 24px; margin: 0; }
.coins-head a { color: var(--muted); font-size: 15px; }
.coin-row { display: flex; gap: 12px; max-width: 860px; margin: 0 auto 40px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; text-align: left; }
.coin-row > * { flex: 0 0 280px; scroll-snap-align: start; }
.coin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 24px; }
.coin-card { display: grid; gap: 10px; align-content: start; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); text-decoration: none; }
.coin-card .cc-main { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.coin-card img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.coin-card .cc-text { display: grid; }
.coin-card .cc-name { font: 700 18px "Chakra Petch", sans-serif; }
.coin-card .cc-tick { color: var(--yellow); font: 700 15px "Chakra Petch", sans-serif; }
.coin-card .cc-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 14px; }
.coin-card .mini { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.coin-card .mini span { display: block; height: 100%; background: var(--accent); }
.coin-card.next { border: 2px dashed var(--yellow); background: rgba(255, 210, 63, .05); justify-items: start; }
.coin-card.next .cc-plus { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; border: 2px solid var(--yellow); color: var(--yellow); font: 700 30px "Chakra Petch", sans-serif; }
.coin-card.next .cc-meta { display: block; }

/* Compact vote on the home page */
.votes.compact .more { display: inline-block; margin-top: 4px; color: var(--muted); font-size: 14px; }

/* End-of-page call to action */
.end-cta { position: relative; z-index: 2; padding: 40px 0 48px; border-top: 1px solid var(--line); text-align: center; background: linear-gradient(180deg, rgba(224, 52, 74, .08), transparent); }
.end-cta h2 { margin-bottom: 6px; }
.end-cta p { color: var(--muted); margin-bottom: 20px; }

/* Phone-only pieces */
.menu-btn { display: none; }
.back-home { display: none; }
.mobile-bar { display: none; }

.btn-icon { width: 44px; padding: 0; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .5; pointer-events: none; }

main { outline: none; padding-bottom: 48px; }
.page { padding-top: 40px; }
.page-head { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.page-head p { color: var(--muted); font-size: 17px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--muted); }
@keyframes blink { 50% { opacity: .35; } }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.live { background: var(--live); animation: blink 1.2s ease-in-out infinite; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.section { margin-top: 24px; }

/* ---------- Home: centered, the TV is the hero */
.home { text-align: center; padding-top: 48px; }
.home h1 { margin: 16px auto 10px; max-width: 14ch; }
.home h1 em { font-style: normal; color: var(--yellow); }
.home .lede { font-size: 18px; color: var(--muted); max-width: 54ch; margin: 0 auto 22px; }
.home .lede strong { color: var(--text); font-weight: 500; }
.home-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }

.tv-wrap { display: flex; justify-content: center; margin: 0 auto; }
.tv { position: relative; width: min(100%, 380px); padding: 26px 26px 34px; border-radius: 34px; background: linear-gradient(180deg, #8a1f2a, #5b1119 60%, #3f0b11); box-shadow: 0 40px 90px rgba(0, 0, 0, .6), inset 0 2px 0 rgba(255, 255, 255, .12), inset 0 -3px 0 rgba(0, 0, 0, .4); }
.tv::before { content: ""; position: absolute; left: 50%; top: -22px; width: 54px; height: 28px; margin-left: -27px; border-radius: 27px 27px 6px 6px; background: radial-gradient(circle at 50% 35%, #ff6b7a, var(--accent) 55%, #7a0f1b); box-shadow: 0 0 24px rgba(255, 59, 78, .5); }
.tv.on-air::before { animation: siren 1.1s ease-in-out infinite; }
@keyframes siren { 50% { box-shadow: 0 0 44px rgba(255, 59, 78, .95), 0 0 80px rgba(255, 59, 78, .4); } }
.tv::after { content: ""; position: absolute; left: 50%; top: -6px; width: 70px; height: 8px; margin-left: -35px; border-radius: 4px; background: #2b0609; }
.screen { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #050304; box-shadow: inset 0 0 40px rgba(0, 0, 0, .9), 0 0 0 4px #220508, 0 0 40px rgba(94, 230, 255, .12); }
.screen .reel-canvas, .screen video { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 0; }
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 50%, transparent 60%, rgba(0, 0, 0, .55)); border-radius: 18px; }
.static { position: absolute; inset: 0; background: repeating-radial-gradient(circle at 30% 20%, #2a2a2a 0 1px, #0a0a0a 1px 3px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 5px); animation: flicker .12s steps(2) infinite; display: grid; place-items: center; text-align: center; padding: 28px; }
.static span { position: relative; z-index: 1; font: 700 20px "Chakra Petch", sans-serif; text-transform: uppercase; color: #fff; text-shadow: 0 2px 8px #000; }
@keyframes flicker { 50% { transform: translate(1px, -1px); opacity: .92; } }
.tv-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.tv-controls .knobs { display: flex; gap: 10px; }
.knob { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d8d8d8, #6b6b6b 60%, #3a3a3a); box-shadow: 0 2px 4px rgba(0, 0, 0, .6); }
.knob::after { content: ""; display: block; width: 2px; height: 9px; margin: 2px auto 0; background: #222; }
.tv-badge { font: 700 14px "Chakra Petch", sans-serif; text-transform: uppercase; letter-spacing: .08em; color: #ffd7dc; }
.tv-sound { position: absolute; right: 36px; top: 36px; z-index: 2; min-height: 36px; padding: 0 12px; font-size: 14px; background: rgba(0, 0, 0, .6); border-color: rgba(255, 255, 255, .25); }
.tv-caption { margin: 18px auto 0; max-width: 520px; }
.tv-caption strong { font-family: "Chakra Petch", sans-serif; font-size: 18px; }
.tv-caption .muted { display: block; font-size: 14px; }
.tv-caption .mini { height: 6px; border-radius: 999px; background: var(--surface-2); margin: 10px auto 0; overflow: hidden; max-width: 360px; }
.tv-caption .mini span { display: block; height: 100%; background: var(--accent); transition: width .6s; }

.channels { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.chan { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); font: 700 14px "Chakra Petch", sans-serif; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.chan.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.seasons { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 20px; }
.season { display: grid; min-width: 120px; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); font: 700 15px "Chakra Petch", sans-serif; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; text-align: left; }
.season small { font: 500 14px Rubik, sans-serif; text-transform: none; letter-spacing: 0; }
.season.on { border-color: var(--accent); color: var(--text); background: var(--surface-2); }
.home-vote { max-width: 620px; margin: 40px auto 0; text-align: left; }
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 40px auto 0; text-align: left; }
.tile { display: block; text-decoration: none; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.tile .k { font: 700 14px "Chakra Petch", sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.tile h3 { margin: 6px 0 4px; }
.tile p { color: var(--muted); margin: 0; font-size: 15px; }
.launch-tease { margin: 48px auto 0; padding: 32px 24px; border-radius: 24px; border: 1px dashed var(--line-2); background: linear-gradient(180deg, rgba(224, 52, 74, .08), transparent); }
.launch-tease h2 { margin-bottom: 6px; }
.launch-tease p { color: var(--muted); max-width: 52ch; margin: 0 auto 16px; }

/* ---------- Live board */
.stages { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stages li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); color: var(--muted); }
.stages li > div { display: grid; min-width: 0; }
.stages strong { font: 700 15px "Chakra Petch", sans-serif; color: var(--text); text-transform: uppercase; letter-spacing: .04em; }
.stage-detail { font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage-n { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font: 700 14px "Chakra Petch", sans-serif; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--muted); }
.stages li.done .stage-n { background: var(--ok); border-color: var(--ok); color: #06240f; font-size: 0; }
.stages li.done .stage-n::after { content: "✓"; font-size: 15px; }
.stages li.active { border-color: var(--accent); }
.stages li.active .stage-n { background: var(--accent); border-color: var(--accent); color: #fff; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(224, 52, 74, .2); } }
.board-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.panel-head h2, .panel-head h3 { margin: 0; font-size: 18px; }
.counter { margin: 12px 0 2px; font: 700 clamp(40px, 6vw, 64px)/1 "Chakra Petch", sans-serif; font-variant-numeric: tabular-nums; }
.counter-of { font: 500 17px Rubik, sans-serif; color: var(--muted); }
.counter.bump #counter { animation: bump .6s ease; }
@keyframes bump { 30% { color: var(--ok); } }
.meter { height: 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin: 10px 0; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #ff7a5c); transition: width .6s ease; }
.meter.big { height: 20px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 0; }
.kpis div { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.kpis dt { font-size: 14px; color: var(--muted); }
.kpis dd { margin: 2px 0 0; font: 700 18px "Chakra Petch", sans-serif; font-variant-numeric: tabular-nums; }
.feed-h { margin: 16px 0 8px; font: 700 14px "Chakra Petch", sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.feed { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.feed li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; }
.feed li.new { animation: pop-in .45s ease both; }
.feed .plus { font-weight: 500; color: var(--ok); font-variant-numeric: tabular-nums; }
.feed .note { grid-template-columns: 1fr; color: var(--muted); }
.feed .tx { font-size: 14px; color: var(--muted); }
@keyframes pop-in { from { opacity: 0; transform: translateY(6px); } }
.dev { margin-top: 12px; }
.dev .row { display: flex; gap: 8px; }
.dev input { flex: 1; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; }
.script-live { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font: 500 16px/1.5 ui-monospace, "SF Mono", Menlo, monospace; }
.script-live li { padding: 8px 12px; border-left: 3px solid var(--accent); background: var(--bg); border-radius: 0 8px 8px 0; }
.script-live li.note { border-color: var(--line-2); color: var(--muted); font-family: Rubik, sans-serif; }
.script-live li.typing::after { content: "▍"; animation: blink .8s steps(1) infinite; }
.render { margin-top: 14px; }
.frames { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.frame { position: relative; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.frame canvas { width: 100%; height: 100%; display: block; }
.frame > span { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 6px; font: 700 14px "Chakra Petch", sans-serif; background: rgba(6, 3, 4, .8); color: #fff; padding: 2px 7px; border-radius: 6px; }
.frame.empty, .frame.writing { border-style: dashed; }
.frame.empty > span, .frame.writing > span { background: transparent; color: var(--muted); left: 0; right: 0; bottom: 45%; justify-content: center; }
.frame.in { animation: pop-in .45s ease both; }

/* ---------- Vote */
.cliff { margin: 4px 0 12px; padding: 12px 16px; border-left: 4px solid var(--accent); background: var(--bg); border-radius: 8px; font: 700 18px/1.35 "Chakra Petch", sans-serif; }
.cliff span { display: block; font: 500 14px Rubik, sans-serif; text-transform: uppercase; letter-spacing: .08em; opacity: .65; margin-bottom: 4px; }
.vote-opts { display: grid; gap: 8px; margin: 10px 0; }
.vote-opt { position: relative; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 12px 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; cursor: pointer; overflow: hidden; min-height: 56px; }
.vote-opt:hover { border-color: var(--muted); }
.vote-opt.lead { border-color: var(--accent); }
.vote-opt.mine { outline: 2px solid var(--yellow); outline-offset: -2px; }
.vote-opt .k { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font: 700 14px "Chakra Petch", sans-serif; background: var(--accent); color: #fff; }
.vote-opt .l { font-weight: 500; }
.vote-opt .n { font: 700 16px "Chakra Petch", sans-serif; font-variant-numeric: tabular-nums; color: var(--muted); }
.vote-opt.lead .n { color: var(--text); }
.vote-opt .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--surface-2); }
.vote-opt .bar span { display: block; height: 100%; background: var(--accent); transition: width .5s ease; }
.vote-feed li { grid-template-columns: auto 1fr auto auto; }
.vote-how { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.vote-how div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 15px; }
.vote-how b { display: block; font-family: "Chakra Petch", sans-serif; margin-bottom: 4px; }

/* ---------- Episodes */
.posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.poster { position: relative; display: block; width: 100%; aspect-ratio: 9 / 14; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; padding: 0; transition: transform .15s, border-color .15s; }
.poster:hover { transform: translateY(-3px); border-color: var(--accent); }
.poster video, .poster canvas, .poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .85) 70%); }
.poster .meta { position: absolute; left: 14px; right: 14px; bottom: 14px; }
.poster .ep-num { font: 700 14px "Chakra Petch", sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); }
.poster .ep-line { display: block; font: 700 16px/1.3 "Chakra Petch", sans-serif; margin: 4px 0; }
.poster .ep-when { font-size: 14px; color: var(--muted); }
.poster .ep-play { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .3); }
.poster.empty { display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); border-style: dashed; cursor: default; }
.player { width: min(94vw, 560px); border: 1px solid var(--line-2); border-radius: 22px; padding: 14px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.player::backdrop { background: rgba(0, 0, 0, .75); }
.player-stage { width: min(100%, 360px); margin: 0 auto; }
.player-stage .reel-canvas, .player-stage video { width: 100%; aspect-ratio: 9 / 16; border-radius: 16px; display: block; background: #000; }
.player-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 6px; }
.player details { margin-top: 8px; }
.player summary { cursor: pointer; color: var(--muted); }
.player ol { padding-left: 20px; display: grid; gap: 8px; margin: 10px 0; }

/* ---------- Towns, split, how, FAQ */
.towns { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.town-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; }
.town-row img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.t-name { font: 700 18px "Chakra Petch", sans-serif; }
.t-meta { color: var(--muted); font-size: 14px; }
.t-right { text-align: right; font-size: 14px; color: var(--muted); display: grid; }
.t-right b { color: var(--text); font-family: "Chakra Petch", sans-serif; font-size: 15px; }
.split { display: grid; grid-template-columns: 6fr 2fr 2fr; gap: 6px; margin: 18px 0 10px; }
.split div { padding: 16px; border-radius: 12px; font-weight: 500; font-size: 14px; }
.split b { display: block; font: 700 26px "Chakra Petch", sans-serif; }
.split .s1 { background: var(--accent); color: #fff; }
.split .s2 { background: var(--text); color: var(--bg); }
.split .s3 { background: var(--surface-2); }
.split-notes { display: grid; grid-template-columns: 6fr 2fr 2fr; gap: 6px; font-size: 14px; color: var(--muted); }
.split-notes b { color: var(--text); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.steps { padding-left: 22px; display: grid; gap: 10px; margin: 0; }
.steps b { font-family: "Chakra Petch", sans-serif; }
.facts { margin: 0; display: grid; gap: 12px; }
.facts dd { margin: 0; font-weight: 500; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font: 700 16px "Chakra Petch", sans-serif; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 24px; padding: 0; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.stats dt { font-size: 14px; color: var(--muted); }
.stats dd { margin: 4px 0 0; font: 700 28px "Chakra Petch", sans-serif; font-variant-numeric: tabular-nums; }

/* ---------- Launch teaser dialog */
.launch { width: min(94vw, 520px); border: 1px solid var(--line-2); border-radius: 22px; padding: 26px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.launch::backdrop { background: rgba(0, 0, 0, .75); }
.launch h2 { margin-bottom: 4px; }
.launch .form { display: grid; gap: 10px; margin: 18px 0; }
.launch label { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.launch input, .launch textarea { min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; opacity: .6; }
.launch .row { display: flex; gap: 8px; flex-wrap: wrap; }
.soon { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(255, 210, 63, .14); color: var(--yellow); font: 700 14px "Chakra Petch", sans-serif; text-transform: uppercase; letter-spacing: .08em; }

.launch-form { display: grid; gap: 10px; margin: 14px 0; }
.launch-form label { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.launch-form input { min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; opacity: .6; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.foot { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: grid; gap: 8px; text-align: center; }
.foot-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px; }
.foot-nav a { color: var(--text); text-decoration: none; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 500; transition: .25s; z-index: 50; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.loading { border-radius: var(--radius); background: linear-gradient(90deg, var(--surface), var(--surface-2), var(--surface)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }

@media (max-width: 900px) {
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -6px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); cursor: pointer; order: -1; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--text); position: relative; content: ""; }
  .menu-btn span::before { position: absolute; top: -6px; } .menu-btn span::after { position: absolute; top: 6px; }
  .nav { display: none; }
  body.menu-open .nav { display: grid; position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 64px); z-index: 30; margin: 0; padding: 12px 16px; gap: 4px; align-content: start; background: var(--bg); overflow-y: auto; }
  body.menu-open .nav a { font-size: 20px; padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--text); }
  #launch-btn { display: none; }
  .steps3 { grid-template-columns: 1fr; }
  body.not-home .back-home { display: inline-flex; align-items: center; min-height: 44px; position: relative; z-index: 2; margin: 12px 16px 0; color: var(--muted); font-size: 15px; text-decoration: none; }
  .home-grid, .cols { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr; }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .split-notes { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .top .wrap { gap: 8px; }
  .top #buy, .pill.on-air { display: none; }
  .mobile-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(18, 6, 7, .94); border-top: 1px solid var(--line-2); }
  .mobile-bar .cta-pair { flex-wrap: nowrap; gap: 8px; }
  .mobile-bar .cta-pair .btn { flex: 1; min-height: 52px; padding: 0 10px; font-size: 16px; }
  body { padding-bottom: 76px; }
  .cta-pair.hero, .cta-pair.big { flex-direction: column; align-items: stretch; }
  .cta-pair.hero .btn, .cta-pair.big .btn { width: 100%; }
  .coin-row > * { flex-basis: 82%; }
  #launch-btn { display: none; }
  .pill.on-air .vw { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .vote-how { grid-template-columns: 1fr; }
  .posters { grid-template-columns: repeat(2, 1fr); }
  .tv { padding: 18px 18px 24px; }
  .tv-sound { right: 26px; top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .dot.live, .tv.on-air::before, .static, .stages li.active .stage-n { animation: none; }
  .scan { display: none; }
}
