/* Audience Play — one stylesheet for phone, host and projector.
   Theme lives in :root so a show can be re-branded without touching layout. */
:root {
  --bg: #0b0a10;
  --bg-2: #16141f;
  --bg-3: #221f2e;
  --line: #34304a;
  --text: #f5f3ff;
  --muted: #a39fbd;
  --accent: #ff2e88; /* hot pink */
  --accent-2: #ffe14d; /* marquee yellow */
  --good: #2ee6a6;
  --warn: #ff8a3d;
  --c0: #ff2e88;
  --c1: #3db8ff;
  --c2: #ffe14d;
  --c3: #2ee6a6;
  --c4: #b066ff;
  --c5: #ff8a3d;
  --display: "Anton", Impact, "Arial Narrow Bold", "Arial Black", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body { overscroll-behavior: none; }
#root { min-height: 100%; }
button, input { font: inherit; color: inherit; }
input {
  width: 100%; padding: 14px 16px; border-radius: 10px; border: 2px solid var(--line);
  background: var(--bg-2); font-size: 18px; outline: none;
}
input:focus { border-color: var(--accent); }
h1, h2, h3 { margin: 0; }
.muted { color: var(--muted); }
.err { color: var(--warn); }
.center { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.pulse { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }

/* Colors per answer slot */
.c0 { --c: var(--c0); } .c1 { --c: var(--c1); } .c2 { --c: var(--c2); }
.c3 { --c: var(--c3); } .c4 { --c: var(--c4); } .c5 { --c: var(--c5); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px; border: 2px solid var(--line);
  background: var(--bg-3); cursor: pointer; font-weight: 700; text-decoration: none;
  transition: transform 0.06s, background 0.15s, border-color 0.15s; user-select: none;
}
a.btn { color: var(--text); }
.btn:hover { border-color: var(--muted); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.warn { background: var(--warn); border-color: var(--warn); color: #111; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.big { padding: 14px 22px; font-size: 18px; }
.btn.huge { padding: 18px 28px; font-size: 20px; letter-spacing: 0.04em; min-height: 64px; }
.btn.small { padding: 6px 12px; font-size: 14px; }
.btn.tiny { padding: 2px 8px; font-size: 12px; border-width: 1px; }
.btn.wide { width: 100%; margin-top: 12px; }

.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); vertical-align: middle; }
.dot.open { background: var(--good); box-shadow: 0 0 8px var(--good); }
.dot.reconnecting, .dot.connecting { background: var(--warn); animation: pulse 1s infinite; }
.dot.ended { background: #f33; }

.wordmark { font-family: var(--display); font-weight: 400; letter-spacing: 0.02em; line-height: 0.9; }
.wordmark span { color: var(--accent); }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50;
  background: var(--bg-3); border: 2px solid var(--warn); padding: 12px 18px; border-radius: 12px; font-weight: 700;
}
.banner { background: var(--warn); color: #111; text-align: center; padding: 8px; font-weight: 700; }
.banner.warn { background: var(--accent-2); }

/* ------------------------------------------------------------------- home */
.home { max-width: 460px; margin: 0 auto; padding: 48px 16px; display: flex; flex-direction: column; gap: 20px; }
.home .wordmark { font-size: 64px; text-align: center; }
.tagline { text-align: center; color: var(--muted); margin: -8px 0 8px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.card label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.card form { display: flex; gap: 10px; }

/* ------------------------------------------------------------------ phone */
.phone { min-height: 100dvh; display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom); }
.phone.center { padding: 24px 20px; gap: 16px; }
.phone-bar { display: flex; justify-content: space-between; padding: 12px 16px; font-weight: 900; letter-spacing: 0.06em; border-bottom: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 900; color: var(--accent); font-size: 14px; margin: 0; }
.big-msg { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1.05; }
.mega { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 18vw, 96px); line-height: 0.95; }
.mega.locked { color: var(--accent-2); }
.prompt { font-size: 26px; font-weight: 900; line-height: 1.15; }
.stage { flex: 1; display: flex; flex-direction: column; gap: 18px; padding: 20px 16px; }
.stage.center { gap: 12px; }
.join-form { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 14px; }
.join-form input { font-size: 22px; text-align: center; padding: 18px; }
.choices { flex: 1; display: grid; gap: 12px; grid-auto-rows: 1fr; }
.choices.n4, .choices.n6 { grid-template-columns: 1fr 1fr; }
.choice {
  border: none; border-radius: 18px; background: var(--c); color: #111; font-weight: 900;
  font-size: clamp(20px, 6vw, 30px); padding: 16px; min-height: 84px; cursor: pointer;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.25); word-break: break-word;
}
.choice:active { transform: scale(0.97); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25); }
.choice:disabled { opacity: 0.4; }

/* ------------------------------------------------------------------- bars */
.bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bar { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 10px; background: var(--bg-3); overflow: hidden; font-weight: 900; }
.bar .fill { position: absolute; inset: 0 auto 0 0; background: var(--c); opacity: 0.85; transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.bar .label, .bar .pct { position: relative; }
.bar .label { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.bar .pct { font-variant-numeric: tabular-nums; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.bar.mine { outline: 3px solid #fff; }
.bars.big { gap: 18px; }
.bars.big .bar { padding: 22px 28px; font-size: 44px; border-radius: 16px; }

/* ------------------------------------------------------------------- host */
.host { min-height: 100vh; display: flex; flex-direction: column; }
.host-bar { display: flex; align-items: center; gap: 20px; padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--bg-2); flex-wrap: wrap; }
.room-code { font-family: var(--display); font-size: 40px; line-height: 1; display: flex; flex-direction: column; }
.room-code small, .stat small { font-family: var(--body); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); font-weight: 700; }
.stat { display: flex; flex-direction: column; align-items: flex-start; font-weight: 700; }
.stat b { font-size: 28px; line-height: 1; }
.spacer { flex: 1; }
.host-grid { flex: 1; display: grid; grid-template-columns: 260px 1fr 300px; gap: 16px; padding: 16px; }
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.panel h3 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.qr { width: 100%; height: auto; border-radius: 8px; }
.join-url { margin: 0; text-align: center; font-weight: 700; word-break: break-all; font-size: 14px; }
.scene-controls { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.scene-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn.scene.on { background: var(--accent-2); border-color: var(--accent-2); color: #111; }
.round, .composer { display: flex; flex-direction: column; gap: 16px; }
.round-head { display: flex; align-items: center; gap: 12px; }
.pill { padding: 4px 10px; border-radius: 999px; font-weight: 900; font-size: 13px; letter-spacing: 0.08em; background: var(--bg-3); }
.pill.open { background: var(--good); color: #111; }
.pill.locked { background: var(--warn); color: #111; }
.pill.results { background: var(--accent); }
.round-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.presets { display: flex; gap: 8px; flex-wrap: wrap; }
.prompt-input { font-size: 22px; font-weight: 700; }
.option-inputs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.option-inputs li { display: flex; gap: 8px; align-items: center; }
.option-inputs li input { border-left: 8px solid var(--c); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.check input { width: 20px; height: 20px; }
.players ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; max-height: calc(100vh - 200px); }
.players li { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border-bottom: 1px solid var(--bg-3); font-size: 14px; }
.players li.off { opacity: 0.5; }
.players .num { color: var(--muted); font-variant-numeric: tabular-nums; min-width: 24px; }
.players .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.players .tag { background: var(--c); color: #111; font-weight: 900; font-size: 11px; padding: 2px 6px; border-radius: 6px; }
.players .rtt { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) {
  .host-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------- projector */
body[data-screen="broadcast"] { cursor: none; overflow: hidden; }
.tv { width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; padding: 5vh 6vw;
  background: radial-gradient(ellipse at 50% 120%, #2a0f24 0%, var(--bg) 60%); }
.tv-scene { width: 100%; animation: tvIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes tvIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.tv-standby { display: flex; justify-content: center; }
.tv-wordmark { font-size: 14vw; text-align: center; display: flex; flex-direction: column; }
.tv-wordmark span { color: var(--accent); }
.tv-eyebrow { font-weight: 900; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent-2); font-size: 2.4vw; margin: 0 0 1vh; }
.tv-huge { font-family: var(--display); font-weight: 400; font-size: 16vw; line-height: 0.9; }
.tv-url { font-size: 2.6vw; font-weight: 700; color: var(--muted); margin: 1vh 0; }
.tv-count { font-size: 2.4vw; font-weight: 700; color: var(--muted); margin: 3vh 0 0; }
.tv-count b { color: var(--text); font-size: 3.6vw; }
.tv-join { display: flex; align-items: center; justify-content: center; gap: 5vw; }
.tv-qr { width: min(40vw, 70vh); height: auto; border-radius: 18px; box-shadow: 0 0 60px rgba(255, 46, 136, 0.35); }
.tv-round { display: flex; flex-direction: column; gap: 3vh; }
.tv-prompt { font-family: var(--display); font-weight: 400; font-size: 6vw; line-height: 1; }
.tv-options { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2vw; }
.tv-options li { background: var(--c); color: #111; font-weight: 900; font-size: 3.6vw; padding: 3vh 2vw; border-radius: 18px; }
.tv-winner { font-family: var(--display); font-weight: 400; font-size: 9vw; color: var(--accent-2); line-height: 1; animation: pop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }
.tv-message { font-family: var(--display); font-weight: 400; font-size: 8vw; text-align: center; line-height: 1.05; }
.tv .bars.big .bar { font-size: 3.4vw; padding: 2.2vh 2vw; }

/* ------------------------------------------------------------ small bits */
.small { font-size: 13px; }
select {
  width: 100%; padding: 14px 16px; border-radius: 10px; border: 2px solid var(--line);
  background: var(--bg-2); color: var(--text); font: inherit; font-size: 18px;
}
.rsvp-star { color: var(--accent-2); margin-right: 4px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------ pass/ticket */
.live-strip { background: var(--accent); color: #fff; font-weight: 900; letter-spacing: 0.1em; font-size: 13px; padding: 6px 16px; display: flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1s infinite; }
.ticket-page { gap: 0; }
.ticket {
  margin: 16px; padding: 22px 20px; border-radius: 20px; position: relative;
  background: linear-gradient(145deg, #2a0f24 0%, var(--bg-2) 60%); border: 1px solid var(--line);
}
.ticket-title { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 0.95; margin: 6px 0 8px; }
.ticket-name { font-weight: 900; font-size: 18px; margin: 0; }
.ticket-rip { border-top: 2px dashed var(--line); margin: 18px -20px; }
.ticket-facts { display: grid; gap: 14px; margin: 0; }
.ticket-facts dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 900; }
.ticket-facts dd { margin: 2px 0 0; font-weight: 700; line-height: 1.35; }
.ticket-facts a { color: inherit; text-decoration: none; }
.countdown { display: flex; gap: 10px; margin-top: 20px; }
.countdown span { flex: 1; background: var(--bg); border-radius: 12px; padding: 10px 4px; text-align: center; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.countdown b { display: block; font-family: var(--display); font-weight: 400; font-size: 34px; color: var(--text); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.howto { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }

/* ------------------------------------------------------------------ rsvp */
.rsvp { max-width: 520px; margin: 0 auto; padding: 24px 16px; display: flex; flex-direction: column; gap: 18px; }
body.embedded .rsvp { padding: 8px 4px; }
html:has(body.embedded), body.embedded { background: transparent; }
body.embedded #root { min-height: 0; }
body.embedded[data-screen="rsvp"] { min-height: 0; }
.rsvp-head h1 { font-family: var(--display); font-weight: 400; font-size: 42px; line-height: 1; }
.rsvp-head p { margin: 6px 0 0; font-weight: 700; }
.rsvp-pitch { margin: 0; font-size: 17px; line-height: 1.4; }
.rsvp-form { display: flex; flex-direction: column; gap: 14px; }
.rsvp-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.rsvp-done { display: flex; flex-direction: column; gap: 14px; }
.rsvp-done h2 { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; }
.remote-card { background: var(--bg-2); border: 2px solid var(--accent); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.remote-card p { margin: 4px 0 0; }
body.theme-light { --bg: #ffffff; --bg-2: #f4f2f8; --bg-3: #e9e5f2; --line: #d6d0e4; --text: #14121c; --muted: #5d5873; }
body.theme-light.embedded { background: transparent; }

/* ----------------------------------------------------------------- admin */
.admin { min-height: 100vh; display: flex; flex-direction: column; }
.admin-mark { font-size: 32px; }
.admin-grid { display: grid; grid-template-columns: 280px 1fr; gap: 16px; padding: 16px; }
.show-item { text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 10px; border: 2px solid var(--line); background: var(--bg-3); cursor: pointer; font-size: 14px; }
.show-item.on { border-color: var(--accent); }
.show-panel, .show-form { display: flex; flex-direction: column; gap: 16px; }
.show-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.show-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.show-head p { margin: 4px 0 0; }
.stats { display: flex; gap: 28px; flex-wrap: wrap; }
.box { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.box h3 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.code-input { width: 140px; font-family: var(--display); font-size: 24px; letter-spacing: 0.08em; text-transform: uppercase; }
.code { white-space: pre-wrap; word-break: break-all; background: var(--bg); padding: 12px; border-radius: 8px; font-size: 12px; }
.guests { width: 100%; border-collapse: collapse; font-size: 14px; }
.guests th { text-align: left; color: var(--muted); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px; }
.guests td { padding: 8px 6px; border-top: 1px solid var(--bg-3); }
.guests .actions { display: flex; gap: 6px; justify-content: flex-end; }
.tag-status { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--bg-3); }
.tag-status.sent { background: var(--good); color: #111; }
.tag-status.failed { background: var(--warn); color: #111; }
@media (max-width: 900px) { .admin-grid { grid-template-columns: 1fr; } .row3 { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ games */
.center-text { text-align: center; }
.score-chip { margin-left: 8px; color: var(--accent-2); }
.mega.good { color: var(--good); }
.mega.bad { color: var(--warn); }
.stage-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.countdown-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 10px; border-radius: 999px; background: var(--bg-3); border: 2px solid var(--line); font-family: var(--display); font-size: 26px; font-variant-numeric: tabular-nums; }
.countdown-pill.hurry { background: var(--warn); color: #111; border-color: var(--warn); animation: pulse 0.5s infinite; }
.countdown-pill.big { min-width: 11vh; height: 11vh; font-size: 7vh; }
.letter { display: inline-flex; width: 1.6em; height: 1.6em; align-items: center; justify-content: center; border-radius: 8px; background: rgba(0, 0, 0, 0.25); margin-right: 10px; font-size: 0.8em; }
.bar.correct { outline: 4px solid var(--good); }
.bars.has-correct .bar.wrong { opacity: 0.45; }

/* Big one-button controllers (buzz, gong, tap) */
.big-button {
  flex: 1; min-height: 52vh; border: none; border-radius: 50%; aspect-ratio: 1; align-self: center; width: min(86vw, 52vh);
  font-family: var(--display); font-size: clamp(56px, 18vw, 110px); color: #fff; cursor: pointer;
  touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  box-shadow: inset 0 -14px 0 rgba(0, 0, 0, 0.3), 0 0 60px rgba(255, 46, 136, 0.35);
  transition: transform 0.05s;
}
.big-button:active { transform: scale(0.95); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.3); }
.big-button.buzz { background: radial-gradient(circle at 50% 35%, #ff5a5a, #c4001d); }
.big-button.gong-btn { background: radial-gradient(circle at 50% 35%, #ffd76a, #b8860b); color: #2a1a00; font-size: clamp(44px, 14vw, 90px); }
.big-button.tap { background: radial-gradient(circle at 50% 35%, #ff5aa8, var(--accent)); }
.big-button.tap.pop { transform: scale(0.97); }
.big-button small { font-family: var(--body); font-size: 22px; font-weight: 900; opacity: 0.85; }

/* Rate 1-10 */
.rate-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; flex: 1; align-content: center; }
.rate-btn { aspect-ratio: 1; border: none; border-radius: 16px; font-family: var(--display); font-size: clamp(28px, 9vw, 44px); cursor: pointer; color: #111;
  background: color-mix(in srgb, var(--warn), var(--good) calc(var(--p) * 1%)); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.25); }
.rate-btn:active { transform: scale(0.94); }
.r1 { --p: 0; } .r2 { --p: 11; } .r3 { --p: 22; } .r4 { --p: 33; } .r5 { --p: 44; } .r6 { --p: 55; } .r7 { --p: 66; } .r8 { --p: 77; } .r9 { --p: 88; } .r10 { --p: 100; }
.rating { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.rating-avg { display: flex; align-items: baseline; gap: 8px; }
.rating-avg b { font-family: var(--display); font-weight: 400; font-size: 72px; line-height: 1; color: var(--accent-2); }
.rating-avg span { font-size: 22px; color: var(--muted); font-weight: 700; }
.rating-dist { display: flex; gap: 6px; height: 90px; align-items: flex-end; width: 100%; max-width: 420px; }
.rating-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.rating-bar { width: 100%; background: var(--accent); border-radius: 4px 4px 0 0; min-height: 3px; transition: height 0.4s; }
.rating-col small { font-size: 11px; color: var(--muted); font-weight: 700; }
.rating.big .rating-avg b { font-size: 22vh; }
.rating.big .rating-avg span { font-size: 5vh; }
.rating.big .rating-dist { height: 22vh; max-width: 70vw; gap: 1vw; }
.rating.big .rating-col small { font-size: 2.2vh; }
.rating.big p { font-size: 2.4vh; }

/* Buzz order */
.buzz-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; width: 100%; }
.buzz-list li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--bg-3); border-radius: 10px; font-weight: 700; }
.buzz-list li.first { background: var(--good); color: #111; }
.buzz-list .pos { font-family: var(--display); font-size: 22px; min-width: 28px; }
.buzz-list .who { flex: 1; }
.buzz-list .gap { font-variant-numeric: tabular-nums; font-size: 13px; opacity: 0.8; }
.buzz-list.big li { font-size: 4.5vh; padding: 2vh 2vw; border-radius: 16px; }
.buzz-list.big .pos { font-size: 5vh; min-width: 6vh; }
.buzz-list.big .gap { font-size: 3vh; }

/* Gong */
.gong { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.gong-track { height: 22px; background: var(--bg-3); border-radius: 999px; overflow: hidden; }
.gong-fill { height: 100%; background: linear-gradient(90deg, #ffd76a, #ff8a3d); transition: width 0.3s; }
.gong p { margin: 0; font-weight: 700; text-align: center; }
.gong.gonged .gong-fill { background: var(--warn); }
.gong.big .gong-track { height: 6vh; }
.gong.big p { font-size: 4vh; }

/* Meter */
.meter { position: relative; height: 34px; background: var(--bg-3); border-radius: 999px; overflow: hidden; width: 100%; }
.meter-fill { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--c3), var(--accent-2), var(--accent)); transition: width 0.2s linear; }
.meter-peak { position: absolute; top: 0; bottom: 0; width: 4px; background: #fff; box-shadow: 0 0 10px #fff; transition: left 0.2s; }
.meter-pct { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-weight: 900; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7); }
.meter.big { height: 22vh; border-radius: 30px; }
.meter.big .meter-pct { font-family: var(--display); font-size: 12vh; font-weight: 400; right: 3vw; }
.meter.big .meter-peak { width: 1vw; }

/* Leaderboard */
.leaderboard { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.leaderboard li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--bg-3); border-radius: 10px; font-weight: 700; }
.leaderboard li.top { background: var(--accent-2); color: #111; }
.leaderboard li.mine { outline: 3px solid #fff; }
.leaderboard .pos { font-family: var(--display); min-width: 24px; }
.leaderboard .who { flex: 1; }
.leaderboard .pts { font-variant-numeric: tabular-nums; }
.leaderboard.big { gap: 1.2vh; }
.leaderboard.big li { font-size: 4.2vh; padding: 1.6vh 2vw; border-radius: 16px; }
.leaderboard.big .pos { font-size: 5vh; min-width: 6vh; }
.scores { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.scores h3 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* Host composer */
.game-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.btn.tab.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.pill.game { background: var(--accent-2); color: #111; }
.correct-pick { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--bg-3); cursor: pointer; font-weight: 900; color: var(--good); flex-shrink: 0; }
.correct-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.correct-pick:has(input:checked) { background: var(--good); color: #111; }
.row-opts { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.row-opts label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.row-opts select { width: auto; font-size: 16px; padding: 10px 12px; }
.row-opts .check { flex-direction: row; }
.slider { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.slider input { padding: 0; accent-color: var(--accent); }
.runsheet { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.runsheet h3 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.runsheet ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.runsheet li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.rs-prompt { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* TV extras */
.tv-headrow { display: flex; justify-content: space-between; align-items: center; gap: 2vw; }
.tv-sub { font-size: 3.4vh; color: var(--muted); font-weight: 700; margin: 0; }
.tv-bang { font-family: var(--display); font-weight: 400; font-size: 26vh; line-height: 0.9; color: var(--accent-2); animation: pop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1); }
.tv-gonged .tv-bang { color: var(--warn); animation: pop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1), shake 0.5s 0.6s 2; }
@keyframes shake { 25% { transform: translateX(-2vw) rotate(-2deg); } 75% { transform: translateX(2vw) rotate(2deg); } }
.tv-options .letter { background: rgba(0, 0, 0, 0.2); }
.tv-round .rating, .tv-round .gong, .tv-round .meter, .tv-round .buzz-list { margin-top: 1vh; }

/* fixes after browser review */
.big-button { flex: none; width: min(80vw, 50vh); height: min(80vw, 50vh); min-height: 0; margin: auto; }
.tv-prompt.small { font-size: 3.6vw; }
.tv-winner { font-size: 7.5vw; }
.tv-round { gap: 2.4vh; }
.tv .bars.big { gap: 1.4vh; }
.tv .bars.big .bar { font-size: 3vw; padding: 1.6vh 2vw; }
.btn.danger { color: var(--warn); }

/* ------------------------------------------------------------ show audio */
.audio-gate { position: fixed; inset: 0; background: rgba(5, 4, 10, 0.85); display: flex; align-items: center; justify-content: center; z-index: 100; cursor: default; }
.audio-card { background: var(--bg-2); border: 2px solid var(--accent); border-radius: 20px; padding: 32px; max-width: 560px; display: flex; flex-direction: column; gap: 18px; }
.audio-card h2 { font-family: var(--display); font-weight: 400; font-size: 44px; }
.audio-card p { margin: 0; color: var(--muted); font-size: 18px; }
.audio-card .check { align-items: flex-start; font-weight: 500; font-size: 17px; line-height: 1.35; }
.audio-card .check input { margin-top: 4px; flex-shrink: 0; }
.audio-status { position: fixed; left: 16px; bottom: 12px; font: 700 13px var(--body); letter-spacing: 0.06em; color: var(--muted); background: rgba(0, 0, 0, 0.55); padding: 6px 12px; border-radius: 999px; opacity: 0; transition: opacity 0.6s; font-variant-numeric: tabular-nums; }
.audio-status.show { opacity: 1; }
body[data-screen="broadcast"]:has(.audio-gate) { cursor: default; }
.tv-spot .tv-bang { color: var(--accent); }

/* --------------------------------------------------------- phone alerts */
@keyframes flashA { 0% { box-shadow: inset 0 0 0 100vmax rgba(255, 225, 77, 0.45); } 100% { box-shadow: inset 0 0 0 100vmax rgba(255, 225, 77, 0); } }
@keyframes flashB { 0%, 40%, 80% { box-shadow: inset 0 0 0 100vmax rgba(255, 46, 136, 0.6); } 20%, 60%, 100% { box-shadow: inset 0 0 0 100vmax rgba(255, 46, 136, 0); } }
body.flash::after, body.flash-strong::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200; }
body.flash::after { animation: flashA 0.6s ease-out forwards; }
body.flash-strong::after { animation: flashB 1.4s ease-out forwards; }
.overlay { position: fixed; inset: 0; z-index: 150; background: rgba(5, 4, 10, 0.92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.dm-card { background: var(--bg-2); border: 3px solid var(--accent-2); border-radius: 22px; padding: 26px 22px; width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 16px; text-align: center; }
.dm-card .dm-text { font-size: 26px; font-weight: 900; line-height: 1.25; margin: 0; word-break: break-word; }
.spot-card { text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.spot-card .mega { color: var(--accent); animation: pulse 0.9s infinite; }

/* ------------------------------------------------------ host extras */
.host-tools { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.host-tools h3 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sfx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sfx-grid .btn { font-size: 13px; padding: 8px 6px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row input[type="range"] { flex: 1; padding: 0; accent-color: var(--accent); }
.modal { position: fixed; inset: 0; background: rgba(5, 4, 10, 0.75); z-index: 120; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 22px; width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 14px; }
.modal-card textarea { width: 100%; min-height: 90px; padding: 12px; border-radius: 10px; border: 2px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: 17px; resize: vertical; }
.players .name { cursor: pointer; }
.players .name:hover { color: var(--accent-2); }
.spot-now { background: var(--bg-3); border-radius: 10px; padding: 10px 12px; font-weight: 700; display: flex; align-items: center; gap: 8px; justify-content: space-between; }

/* ------------------------------------------------------- comic showdown */
.comics { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); width: 100%; }
.comics.n2 { grid-template-columns: repeat(2, 1fr); }
.comics.n4 { grid-template-columns: repeat(2, 1fr); }
.comic { position: relative; border-radius: 16px; padding: 14px; background: color-mix(in srgb, var(--c) 22%, var(--bg-2)); border: 3px solid var(--c); display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; overflow: hidden; }
.comic-name { font-family: var(--display); font-size: 28px; line-height: 1; }
.comic-score { font-family: var(--display); font-size: 40px; color: var(--accent-2); line-height: 1; }
.comic-votes { font-weight: 900; }
.comic-stake { font-weight: 700; color: var(--muted); font-size: 14px; }
.comic-streak { letter-spacing: 0.2em; color: var(--warn); font-size: 14px; }
.comic.picked { box-shadow: 0 0 0 4px #fff, 0 0 40px var(--c); }
.comic.lead { box-shadow: 0 0 30px color-mix(in srgb, var(--accent-2) 60%, transparent); }
.crown { position: absolute; top: 4px; right: 10px; color: var(--accent-2); font-size: 22px; }
.comic.jailed { filter: grayscale(0.7); opacity: 0.75;
  background-image: repeating-linear-gradient(90deg, transparent 0 22px, rgba(0, 0, 0, 0.55) 22px 30px), none; }
.jail-bars { background: #111; color: var(--warn); font-weight: 900; font-size: 12px; letter-spacing: 0.1em; padding: 3px 8px; border-radius: 6px; }
.comics.big { gap: 2vw; }
.comics.big .comic { padding: 3vh 1.5vw; border-width: 6px; border-radius: 28px; gap: 1.2vh; }
.comics.big .comic-name { font-size: 6vw; }
.comics.big .comic-score { font-size: 7vw; }
.comics.big .comic-votes { font-size: 3.4vh; }
.comics.big .comic-stake { font-size: 3vh; }
.comics.big .comic-streak { font-size: 3vh; }
.comics.big .jail-bars { font-size: 2.6vh; padding: 0.8vh 1.2vw; }
.comics.big .crown { font-size: 6vh; }
.tv-stake { font-family: var(--display); font-size: 6vw; color: var(--accent); margin: 0; }
.tv-jail { font-size: 9vw; color: var(--warn); animation: pop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1), shake 0.5s 0.6s 2; }
.tv-miss { color: var(--warn); }
.tv-title-art { width: 100%; max-height: 90vh; object-fit: contain; border-radius: 12px; }
.tv-standby { width: 100%; }

/* phone */
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: 1; align-content: center; }
.chip { aspect-ratio: 1; border-radius: 50%; border: 6px dashed rgba(255, 255, 255, 0.55); background: var(--c); color: #111; font-family: var(--display); font-size: clamp(34px, 11vw, 56px); cursor: pointer; box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.25); }
.chip:active { transform: scale(0.95); }
.choice.jailed { background: repeating-linear-gradient(90deg, var(--bg-3) 0 18px, #111 18px 26px); color: var(--muted); }
.jail-tag { display: block; font-size: 14px; margin-top: 6px; }
.judge-yes { --c: var(--good); }
.judge-no { --c: var(--warn); }
.jail-banner { background: var(--warn); color: #111; font-weight: 900; padding: 8px 14px; border-radius: 10px; margin: 0; }
.good-text { color: var(--good); }

/* host */
.showdown, .showdown-cta { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; background: color-mix(in srgb, var(--accent) 6%, var(--bg-2)); }
.showdown-cta { flex-direction: row; align-items: center; gap: 12px; background: transparent; }
.showdown-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.showdown-head h2 { font-size: 20px; }
.showdown-comics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.sd-comic { border: 2px solid var(--c); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; background: color-mix(in srgb, var(--c) 12%, var(--bg-2)); }
.sd-comic.picked { box-shadow: 0 0 0 3px #fff; }
.sd-comic.jailed { opacity: 0.7; }
.sd-score { font-family: var(--display); font-size: 30px; color: var(--accent-2); line-height: 1; }
.sd-result { margin: 0; font-size: 17px; }
.showdown-next { display: flex; flex-direction: column; gap: 10px; }

/* ---------------------------------------------- showdown v2: ballot, reactions, fans */
.mega.locked.c0-text { color: var(--c0); } .mega.locked.c1-text { color: var(--c1); }
.mega.locked.c2-text { color: var(--c2); } .mega.locked.c3-text { color: var(--c3); }
.ballot { gap: 12px; }
.ballot-step { margin: 4px 0 0; font-weight: 900; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.ballot-step span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #111; font-size: 16px; }
.ballot .choices { flex: 0; grid-auto-rows: auto; }
.ballot .choices.n3 { grid-template-columns: 1fr 1fr 1fr; }
.ballot .choice { min-height: 72px; font-size: clamp(18px, 5.2vw, 26px); padding: 10px 6px; }
.ballot .chips { flex: 0; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ballot .chip { font-size: clamp(22px, 7vw, 34px); border-width: 4px; }
.chip.nocomic { background: var(--bg-3); color: var(--text); }
.choice.selected, .chip.selected { outline: 4px solid #fff; outline-offset: 2px; transform: scale(1.04); }
.choice.dim, .chip.dim { opacity: 0.45; }
.lock-btn { width: 100%; margin-top: auto; min-height: 70px; font-size: 22px; }
.lock-btn:disabled { opacity: 0.5; }
.hurry-banner { margin: 0; background: var(--warn); color: #111; font-weight: 900; text-align: center; padding: 10px; border-radius: 10px; animation: pulse 0.6s infinite; }
.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: 1; grid-auto-rows: 1fr; }
.score-grid .choice:first-child { grid-column: 1 / -1; }
.fan-card { margin: 0; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--good) 18%, var(--bg-2)); border: 2px solid var(--good); font-size: 17px; }
.fan-card.other { background: var(--bg-2); border-color: var(--line); color: var(--muted); }
.stage.playing { text-align: center; align-items: stretch; }
.react-pad { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: 1; min-height: 240px; }
.react-btn { position: relative; border: none; border-radius: 20px; background: var(--bg-3); color: var(--text); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-shadow: inset 0 -6px 0 rgba(0,0,0,.3); touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.react-btn .react-emoji { font-size: clamp(44px, 14vw, 72px); line-height: 1; }
.react-btn .react-label { font-weight: 900; letter-spacing: 0.1em; font-size: 14px; }
.react-btn small { position: absolute; top: 8px; right: 12px; color: var(--muted); font-weight: 700; }
.react-btn.r-lol { background: color-mix(in srgb, var(--c2) 22%, var(--bg-3)); }
.react-btn.r-fire { background: color-mix(in srgb, var(--warn) 25%, var(--bg-3)); }
.react-btn.r-clap { background: color-mix(in srgb, var(--c1) 22%, var(--bg-3)); }
.react-btn.r-oof { background: color-mix(in srgb, var(--c4) 22%, var(--bg-3)); }
.react-btn.pop .react-emoji { animation: pop 0.25s cubic-bezier(0.3, 1.6, 0.5, 1); }
.react-btn:active { transform: scale(0.96); }
.small { font-size: 13px; }
/* host */
.lockin { align-items: center; gap: 12px; flex-wrap: wrap; font-size: 18px; }
.pill.warn { background: var(--warn); color: #111; }
/* projector */
.tv-lockin { width: 60%; margin: 1vh auto 0; }
.tv-lockin-bar { height: 2.2vh; border-radius: 99px; background: var(--bg-3); overflow: hidden; }
.tv-lockin-bar > div { height: 100%; background: var(--good); transition: width 0.4s; }
.tv-lockin p { margin: 0.8vh 0 0; font-size: 3.2vh; text-align: center; }
.tv-overtime { font-family: var(--display); font-size: 5vh; color: var(--warn); margin: 0; animation: pulse 0.7s infinite; text-align: center; }
.tv-hype { display: flex; justify-content: center; gap: 4vw; font-size: 5vh; font-weight: 900; margin-top: 2vh; font-variant-numeric: tabular-nums; }
.tv-float-layer { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.tv-float { position: absolute; bottom: -10vh; font-size: 8vh; animation: floatup 3s ease-out forwards; }
@keyframes floatup { 0% { transform: translateY(0) scale(0.6); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(-105vh) scale(1.2); opacity: 0; } }
.tv-fans { margin-top: 3vh; }
.tv-fans h2 { font-size: 3.5vh; color: var(--muted); text-align: center; margin-bottom: 1vh; letter-spacing: 0.1em; }
.tv-scores-dist { font-size: 3vh; color: var(--muted); }
.tv-fans .leaderboard { font-size: 3.2vh; max-width: 60vw; margin: 0 auto; }

/* ------------------------------------------------------------ show plan (admin) */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.plan { display: flex; flex-direction: column; gap: 14px; }
.plan-bar { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line); }
.plan-meter { height: 6px; width: 260px; max-width: 60vw; border-radius: 99px; background: var(--bg); margin-top: 6px; overflow: hidden; }
.plan-meter > div { height: 100%; background: var(--good); }
.plan-meter > div.over { background: var(--warn); }
.plan-seg-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.plan-seg-title { flex: 1; min-width: 200px; font-weight: 900; font-size: 18px; padding: 8px 10px; }
.plan-time { font-variant-numeric: tabular-nums; color: var(--accent-2); font-weight: 700; min-width: 64px; }
.plan-cues { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.plan-cue { border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; background: var(--bg-2); }
.plan-cue.open { border-color: var(--accent); }
.plan-cue.bad { border-color: var(--warn); background: color-mix(in srgb, var(--warn) 10%, var(--bg-2)); }
.plan-cue-row { display: flex; align-items: center; gap: 6px; }
.plan-cue-row input { padding: 6px 8px; font-size: 15px; }
.plan-cue-row .plan-min { width: 72px; flex: none; }
.plan-icon { width: 26px; text-align: center; font-size: 18px; }
.plan-cue-sum { margin: 2px 0 0 102px; }
.plan-cue-detail { display: flex; flex-direction: column; gap: 10px; padding: 10px 4px 4px; }
.plan-cue-detail label { display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: 14px; }
.plan-cue-detail label.check { flex-direction: row; align-items: center; font-weight: 500; }
.plan-cue-detail input, .plan-cue-detail select { font-size: 15px; padding: 8px 10px; }
.plan-tpls { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; }
.plan .row-opts input, .plan .row-opts select { font-size: 15px; padding: 8px 10px; }
select { background: var(--bg-2); color: var(--text); border: 2px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; }

/* ------------------------------------------------------------ run of show (host) */
.runner { border: 2px solid var(--accent-2); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; background: color-mix(in srgb, var(--accent-2) 5%, var(--bg-2)); }
.runner-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.runner-head h2 { font-size: 18px; }
.runner-next { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.runner-go { flex: 1; min-width: 260px; font-size: 22px; padding: 16px; text-align: left; justify-content: flex-start; }
.runner-go small { display: block; font-size: 13px; font-weight: 500; opacity: 0.8; }
.runner-notes { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--bg-3); font-size: 16px; }
.runner-list { max-height: 340px; overflow: auto; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); padding-top: 8px; }
.runner-list .seg { margin-top: 8px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 900; }
.runner-list button.cue { display: flex; gap: 8px; align-items: center; width: 100%; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 8px; padding: 5px 8px; color: var(--text); cursor: pointer; font-size: 14px; }
.runner-list button.cue:hover { border-color: var(--line); }
.runner-list button.cue.done { opacity: 0.45; }
.runner-list button.cue.next { border-color: var(--accent-2); background: color-mix(in srgb, var(--accent-2) 12%, transparent); font-weight: 700; }
.runner-list .t { font-variant-numeric: tabular-nums; color: var(--muted); min-width: 64px; }
.runner-clock { font-variant-numeric: tabular-nums; font-weight: 700; }
.runner-clock.late { color: var(--warn); }
.runner-clock.early { color: var(--good); }
.removed ul { list-style: none; padding: 0; margin: 6px 0; display: flex; flex-direction: column; gap: 6px; } .removed li { display: flex; align-items: center; gap: 8px; opacity: 0.8; }

/* phone: big-screen mirror */
.screen-toggle { border: 1px solid var(--line); background: var(--bg-3); color: var(--text); border-radius: 99px; padding: 4px 10px; font-size: 13px; font-weight: 700; cursor: pointer; }
.screen-toggle.on { background: var(--accent-2); color: #111; border-color: var(--accent-2); }
.stage.mirror { gap: 14px; }
.mirror-message { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 13vw, 72px); line-height: 1; color: var(--accent-2); text-align: center; }
.stage.mirror .comics .comic-name { font-size: 22px; }
.runner-auto { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 8px 12px; border-radius: 10px; background: color-mix(in srgb, var(--good) 18%, var(--bg-3)); border: 1px solid var(--good); font-weight: 700; }
.auto-tag { margin-left: auto; font-size: 12px; color: var(--accent-2); font-weight: 700; }
.runner-head .check { display: flex; align-items: center; gap: 4px; font-weight: 700; }
.removed { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 8px; } .removed .row { display: flex; align-items: center; gap: 8px; justify-content: space-between; }

/* host left column: uniform button grids (equal columns that never overflow the panel) */
.scene-controls { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.scene-grid, .sfx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scene-grid .btn { height: 56px; min-height: 56px; padding: 8px 6px; font-size: 15px; line-height: 1.15; white-space: normal; text-align: center; min-width: 0; }
.sfx-grid .btn { min-height: 38px; min-width: 0; white-space: normal; line-height: 1.15; }
.scene-controls input, .scene-controls .btn.wide { width: 100%; }
.host-grid > .panel { min-width: 0; }
.sfx-grid .btn:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* slides on phones */
.phone-slide { margin: 10px 12px 0; border-radius: 14px; overflow: hidden; background: #000; border: 2px solid var(--accent-2); cursor: zoom-in; }
.phone-slide img { display: block; width: 100%; max-height: 34vh; object-fit: contain; background: #000; }
.phone-slide figcaption { font-size: 12px; color: var(--muted); padding: 4px 10px 6px; text-align: center; background: var(--bg-2); }
.slide-viewer { flex-direction: column; gap: 12px; padding: 16px; }
.slide-scroll { width: 100%; flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #000; -webkit-overflow-scrolling: touch; }
.slide-scroll img { max-width: 100%; max-height: 100%; object-fit: contain; }
.slide-scroll.zoomed { display: block; }
.slide-scroll.zoomed img { max-width: none; max-height: none; width: 250%; }
.mirror-slide { width: 100%; max-height: 62vh; object-fit: contain; border-radius: 12px; background: #000; }
/* projector */
.tv-slide { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2vh; background: #000; }
.tv-slide img { max-width: 100%; max-height: 88vh; object-fit: contain; }
.tv-slide p { margin: 0; font-family: var(--display); font-size: 5vh; color: var(--accent-2); }
.tv-slide-thumb { display: block; margin: 0 auto 2vh; height: 30vh; width: auto; max-width: 70%; object-fit: contain; border-radius: 16px; border: 4px solid var(--accent-2); background: #000; }
.host-slide { display: flex; gap: 10px; align-items: flex-start; padding: 8px; border: 2px solid var(--accent-2); border-radius: 10px; }
.host-slide img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; background: #000; }
.host-slide p { margin: 2px 0 6px; }
.picker { max-width: 760px; width: 100%; max-height: 88vh; overflow: auto; }
.picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.picker-item { background: var(--bg-3); border: 2px solid var(--line); border-radius: 10px; padding: 6px; cursor: pointer; color: var(--text); display: flex; flex-direction: column; gap: 4px; }
.picker-item:hover { border-color: var(--accent-2); }
.picker-item img { width: 100%; height: 100px; object-fit: cover; border-radius: 6px; background: #000; }
.picker-item span { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-grid.small { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); max-height: 260px; overflow: auto; }
.picker-grid.small .picker-item img { height: 70px; }
.picker-item.on { border-color: var(--accent-2); box-shadow: 0 0 0 2px var(--accent-2); }
.slide-sum { display: flex; align-items: center; gap: 8px; }
.slide-sum img { width: 54px; height: 36px; object-fit: cover; border-radius: 4px; background: #000; }
.codes { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.codes ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.codes li { display: flex; align-items: center; gap: 8px; }
.codes li .btn { margin-left: auto; }
.codes .row { display: flex; gap: 6px; }
.codes .code-input { width: 110px; padding: 6px 8px; font-size: 14px; }
.lucky-host .big-msg { font-size: 20px; } .lucky-word { color: var(--accent-2); font-size: 28px; }
.tv-lucky { display: flex; flex-direction: column; align-items: center; gap: 2vh; } .tv-lucky .tv-options { width: 100%; }
.word-input { font-size: 26px; text-align: center; padding: 16px; font-weight: 900; }
.big-button.buzz.off { filter: grayscale(0.8); opacity: 0.6; }
.big-button small { display: block; font-size: 14px; font-weight: 600; }

/* host: show night checklist + numbering */
.back-admin { white-space: nowrap; }
.checklist { border: 2px solid var(--good); border-radius: 14px; margin-bottom: 16px; background: color-mix(in srgb, var(--good) 6%, var(--bg-2)); }
.checklist.closed { border-color: var(--line); }
.checklist-head { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: none; border: none; color: var(--text); cursor: pointer; text-align: left; font-size: 15px; }
.steps { list-style: none; margin: 0; padding: 0 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; background: var(--bg-2); }
.steps li > div { flex: 1; }
.steps li p { margin: 2px 0 0; }
.steps li.done { opacity: 0.6; }
.step-n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #111; font-weight: 900; }
.steps li.done .step-n { background: var(--good); }
.cue-n { font-size: 0.8em; opacity: 0.85; margin-right: 4px; }
.runner-list .n { min-width: 26px; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; }
.tv-pot { text-align: center; font-family: var(--display); font-size: 6vh; color: var(--accent-2); margin: 0 0 1vh; letter-spacing: 0.04em; }
.tv-pot b { font-weight: 400; }
.pot-note { margin: -4px 0 0; }

/* phone: game tracker */
.tracker { margin: 8px 12px 0; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.tracker.open { border-color: var(--accent-2); }
.tracker-bar { width: 100%; display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "title dots more" "now now now"; gap: 2px 8px; align-items: center; padding: 8px 12px; background: none; border: none; color: var(--text); text-align: left; cursor: pointer; }
.tracker-title { grid-area: title; font-weight: 900; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tracker-dots { grid-area: dots; display: flex; gap: 3px; align-items: center; }
.tracker-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.tracker-dots i.done { background: var(--good); }
.tracker-dots i.live { background: var(--accent-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-2) 35%, transparent); animation: pulse 1s infinite; }
.tracker-dots i.hidden { width: auto; height: auto; background: none; font-style: normal; font-size: 11px; color: var(--muted); }
.tracker-now { grid-area: now; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tracker-more { grid-area: more; font-size: 11px; color: var(--muted); }
.tracker-sheet { padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.tracker-groups { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tracker-groups li { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.tracker-steps { display: flex; gap: 6px; flex-wrap: wrap; }
.tstep { font-size: 12px; padding: 3px 8px; border-radius: 99px; background: var(--bg-3); color: var(--muted); }
.tstep.done { color: var(--good); }
.tstep.live { background: var(--accent-2); color: #111; font-weight: 800; }
.tracker-mine { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 40vh; overflow: auto; }
.tracker-mine li { display: flex; flex-direction: column; gap: 1px; padding: 6px 8px; border-radius: 8px; background: var(--bg-3); font-size: 14px; }

/* phone: tabs */
.fan-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: var(--bg-2); position: sticky; top: 0; z-index: 20; }
.fan-tabs button { position: relative; background: none; border: none; color: var(--muted); font-weight: 800; font-size: 13px; padding: 10px 2px; cursor: pointer; border-bottom: 3px solid transparent; }
.fan-tabs button.on { color: var(--text); border-bottom-color: var(--accent); }
.tab-ping { position: absolute; top: 7px; right: 14%; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 0.8s infinite; }
.tab-page { gap: 10px; }
.show-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.show-list > li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; background: var(--bg-2); }
.show-list > li > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.show-list > li.done { opacity: 0.6; }
.show-list > li.now { border: 2px solid var(--accent-2); }
.show-mark { width: 22px; text-align: center; font-weight: 900; color: var(--muted); }
.show-list > li.done .show-mark { color: var(--good); }
.show-list > li.now .show-mark { color: var(--accent-2); }
.choices-game { display: flex; flex-direction: column; gap: 4px; }
.you-line { margin: 4px 0 0; text-align: center; }

/* ---------------------------------------------------------- fan accounts */
.saved-star { margin-left: 6px; text-decoration: none; }
.save-night { display: flex; flex-direction: column; gap: 8px; text-align: left; width: 100%; margin-top: 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); color: var(--text); font: inherit; }
.save-night.pitch { cursor: pointer; border: 2px solid var(--accent-2); background: linear-gradient(135deg, rgba(255, 225, 77, 0.12), rgba(255, 46, 136, 0.12)); }
.save-night.pitch.compact { margin: 10px 16px 0; width: auto; }
.save-night .save-cta { font-weight: 900; color: var(--accent-2); letter-spacing: 0.04em; }
.save-night.saved { border-color: var(--good); }
.save-night.saved .btn { align-self: flex-start; }
.save-night.form input:not([type="checkbox"]) { font-size: 17px; padding: 12px; }
.me-page { gap: 0; padding-bottom: 40px; }
.me-hero { padding: 24px 16px 8px; }
.me-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.me-stats div { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; text-align: center; display: flex; flex-direction: column; }
.me-stats b { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.1; }
.me-stats span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.me-comics, .me-badges, .me-shows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.me-comics li { display: flex; align-items: center; gap: 12px; }
.me-comics img, .me-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.me-avatar { display: grid; place-items: center; background: var(--bg-3); font-family: var(--display); font-size: 24px; color: var(--accent-2); }
.me-comic-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.me-bar { height: 6px; border-radius: 3px; background: var(--bg-3); overflow: hidden; }
.me-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.me-badges { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.me-badges li { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); opacity: 0.45; }
.me-badges li.on { opacity: 1; border-color: var(--accent-2); }
.me-badge-icon { font-size: 26px; }
.me-shows li { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.me-shows li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fans-admin { display: flex; flex-direction: column; gap: 12px; }
.fans-admin h2 { margin: 0; }
.admin-stats { max-width: 560px; }
.fans-search { max-width: 360px; }
.comic-roster { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.comic-roster li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.comic-roster input { width: auto; flex: 1 1 160px; }
.comic-photo { display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; }
.comic-photo img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.fans-admin form.row input { width: auto; flex: 1 1 200px; }
.signup-comics { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.signup-comics legend { font-weight: 700; margin-bottom: 8px; }
.signup-comics > div { display: flex; flex-wrap: wrap; gap: 8px; }
.comic-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 2px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.comic-chip img, .comic-chip .me-avatar { width: 32px; height: 32px; font-size: 16px; border-radius: 50%; object-fit: cover; }
.comic-chip.on { border-color: var(--accent); background: rgba(255, 46, 136, 0.15); }
.theme-light .comic-chip { background: #fff; color: #111; }
.rsvp-form label.check { flex-direction: row; align-items: center; gap: 10px; text-align: left; }
.rsvp-form label.check input { width: 20px; height: 20px; flex: none; margin: 0; }

/* ------------------------------------------------------- comic pages + votes */
.cc-page { max-width: 760px; margin: 0 auto; padding: 20px 16px 40px; display: flex; flex-direction: column; gap: 18px; }
.cc-page.center { align-items: center; text-align: center; padding-top: 60px; }
.cc-head p { margin: 4px 0; }
.cc-search { font-size: 17px; padding: 12px 14px; }
.cc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.cc-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); color: var(--text); text-decoration: none; height: 100%; box-sizing: border-box; }
.cc-card:hover { border-color: var(--accent); }
.cc-card b { font-size: 18px; }
.cc-blurb { line-height: 1.35; }
.cc-mini-stats { color: var(--accent-2); margin-top: auto; }
.cc-avatar { border-radius: 50%; object-fit: cover; flex: none; display: inline-grid; place-items: center; }
.cc-hero { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.cc-hero > div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 0; }
.cc-hero h1 { margin: 0; }
.cc-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; }
.cc-links a { color: var(--text); font-weight: 700; text-decoration: none; }
.cc-bio { white-space: pre-line; line-height: 1.5; font-size: 17px; margin: 0; }
.cc-stats { margin: 0; }
.cc-clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.cc-clip { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.cc-clip iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #000; }
.cc-clip.tall iframe { aspect-ratio: 9 / 16; max-height: 640px; }
.cc-clip-link { display: block; padding: 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); font-weight: 700; text-decoration: none; }
.cc-foot { text-align: center; }
.cc-poll { padding: 16px; border-radius: var(--radius); border: 2px solid var(--accent-2); background: linear-gradient(135deg, rgba(255, 225, 77, 0.08), rgba(255, 46, 136, 0.08)); display: flex; flex-direction: column; gap: 10px; }
.cc-poll h2 { margin: 0; font-size: 24px; }
.cc-poll p { margin: 0; }
.cc-poll-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cc-poll-list li { display: flex; align-items: center; gap: 8px; }
.cc-poll-row { flex: 1; display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; text-align: left; min-width: 0; }
button.cc-poll-row { cursor: pointer; }
.cc-poll-row.on { border-color: var(--accent); background: rgba(255, 46, 136, 0.15); }
.cc-poll-row.mine { border-color: var(--good); }
.cc-poll-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cc-check { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 900; color: var(--accent); }
.cc-poll-row.on .cc-check { border-color: var(--accent); }
.cc-pct { font-family: var(--display); font-weight: 400; font-size: 22px; }
.cc-poll-more { flex: none; }
.cc-join { margin-top: 0; }
.me-comic-name { color: inherit; text-decoration: none; }
.theme-light .cc-card, .theme-light .cc-poll-row, .theme-light .cc-clip-link { background: #fff; color: #111; }
.theme-light .cc-links a { color: #111; }
.comic-roster li.open, .comic-roster li.poll-admin { flex-direction: column; align-items: stretch; }
.comic-summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; width: 100%; }
.comic-summary-main { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 2px; }
.comic-editor { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 12px; background: var(--bg-3); }
.comic-editor label { display: flex; flex-direction: column; gap: 4px; font-weight: 700; }
.comic-editor textarea { font: inherit; padding: 10px; border-radius: 10px; background: var(--bg); color: var(--text); border: 1px solid var(--line); resize: vertical; }
.comic-links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.comic-clips-edit { display: flex; flex-direction: column; gap: 8px; }
.comic-clips-edit .row input { flex: 1 1 200px; width: auto; }
.poll-results { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.poll-results li { display: grid; grid-template-columns: 160px 1fr 80px; gap: 10px; align-items: center; }
.poll-results li.top span:first-child { font-weight: 900; color: var(--accent-2); }
.comic-editor input, .comic-editor select { flex: none; width: 100%; box-sizing: border-box; }
.comic-editor .row input { flex: 1 1 200px; width: auto; }
.comic-editor > .comic-clips-edit > .btn, .comic-editor .btn { align-self: flex-start; }
.cc-foot a, .cc-page a.small { color: var(--accent-2); }

/* ------------------------------------------------------------ public site */
.stage-banner { position: sticky; top: 0; z-index: 50; background: var(--accent-2); color: #111; text-align: center; font-weight: 900; font-size: 13px; letter-spacing: 0.08em; padding: 6px 12px; border-bottom: 6px solid; border-image: repeating-linear-gradient(135deg, #111 0 10px, var(--accent-2) 10px 20px) 6; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(11, 10, 16, 0.92); position: relative; z-index: 40; backdrop-filter: blur(8px); }
.site-brand { font-size: 22px; color: var(--text); text-decoration: none; white-space: nowrap; }
.site-brand span { margin: 0 0.18em; }
.site-nav nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.site-nav nav a { color: var(--muted); text-decoration: none; font-weight: 700; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.site-nav nav a:hover, .site-nav nav a[aria-current="page"] { color: var(--text); background: var(--bg-3); }
.site-nav .site-account { color: var(--accent-2); }
.site-nav ~ .phone { min-height: auto; }
.site-foot { border-top: 1px solid var(--line); margin-top: 32px; padding: 24px 16px 40px; text-align: center; display: flex; flex-direction: column; gap: 10px; }
.site-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.site-foot a { color: var(--muted); text-decoration: none; font-weight: 700; }
.site-foot a:hover { color: var(--text); }
@media (max-width: 520px) {
  .site-nav { flex-direction: column; align-items: stretch; gap: 6px; padding: 10px 12px 6px; }
  .site-brand { font-size: 20px; text-align: center; }
  .site-nav nav { justify-content: center; flex-wrap: wrap; overflow: visible; row-gap: 2px; }
  .site-nav nav a { padding: 6px 8px; font-size: 15px; }
}

.site-home { max-width: 960px; margin: 0 auto; padding: 20px 16px 8px; display: flex; flex-direction: column; gap: 28px; }
.sh-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.sh-hero-art { width: 100%; border-radius: 18px; box-shadow: 0 10px 40px rgba(176, 102, 255, 0.35); display: block; }
.sh-hero-copy { display: flex; flex-direction: column; gap: 12px; }
.sh-headline { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 60px); line-height: 0.98; margin: 0; }
.sh-sub { margin: 0; font-size: 18px; line-height: 1.45; color: var(--muted); }
.sh-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.sh-section { display: flex; flex-direction: column; gap: 14px; }
.sh-title { font-family: var(--display); font-weight: 400; font-size: 32px; margin: 0; line-height: 1; }
.sh-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sh-row a { color: var(--accent-2); font-weight: 700; text-decoration: none; }
.sh-shows { display: grid; gap: 12px; }
.sh-show { flex-direction: row; gap: 16px; align-items: flex-start; }
.sh-show.featured { border: 2px solid var(--accent); background: linear-gradient(135deg, rgba(255, 46, 136, 0.12), rgba(176, 102, 255, 0.08)); }
.sh-show h3 { margin: 0; font-size: 22px; }
.sh-show p { margin: 0; }
.sh-show-body { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; }
.sh-date { flex: none; width: 64px; text-align: center; border-radius: 12px; background: var(--bg-3); padding: 8px 0; display: flex; flex-direction: column; }
.sh-date span { text-transform: uppercase; font-weight: 900; font-size: 13px; letter-spacing: 0.1em; color: var(--accent); }
.sh-date b { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; }
.sh-lineup { display: flex; flex-wrap: wrap; gap: 6px; }
.sh-lineup .comic-chip { text-decoration: none; color: var(--text); }
.sh-join { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.sh-join > b { font-size: 18px; }
.sh-join .sh-join-form { flex: 1 1 260px; }
.sh-join-form { display: flex; gap: 10px; }
.sh-join-form input { text-transform: uppercase; letter-spacing: 0.2em; font-weight: 900; }
.sh-live { border: 2px solid var(--good); }
.sh-live .eyebrow { color: var(--good); }
.sh-live p { margin: 0; }
.sh-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sh-steps li { gap: 6px; }
.sh-steps b { font-size: 18px; }
.sh-step-icon { font-size: 30px; }
.sh-cult { padding: 24px; border-radius: 18px; border: 2px solid var(--accent-2); background: linear-gradient(135deg, rgba(255, 225, 77, 0.1), rgba(255, 46, 136, 0.1)); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.sh-cult p { margin: 0; font-size: 17px; line-height: 1.45; }
.sh-comics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.sh-comic { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); color: var(--text); text-decoration: none; text-align: center; height: 100%; box-sizing: border-box; }
.sh-comic:hover { border-color: var(--accent); }
@media (max-width: 720px) {
  .sh-hero { grid-template-columns: 1fr; gap: 16px; }
  .sh-steps { grid-template-columns: 1fr; }
  .sh-sub { font-size: 16px; }
}

/* site pages carried over from WordPress */
.site-page { max-width: 760px; margin: 0 auto; padding: 24px 16px 8px; display: flex; flex-direction: column; gap: 16px; }
.site-page .sh-headline { font-size: clamp(36px, 7vw, 54px); }
.site-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 17px; line-height: 1.4; }
.site-clients { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.site-clients li { padding: 8px 14px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-weight: 700; }
.site-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.site-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.site-form label.wide, .site-form .wide { grid-column: 1 / -1; }
.site-form select, .site-form textarea { width: 100%; padding: 14px 16px; border-radius: 10px; border: 2px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; font-size: 17px; box-sizing: border-box; }
.site-form textarea { resize: vertical; min-height: 120px; }
.site-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.site-form-done { border-color: var(--good); }
@media (max-width: 600px) { .site-form { grid-template-columns: 1fr; } }
.prose { line-height: 1.55; font-size: 17px; }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: 28px; margin: 12px 0 0; }
.prose p, .prose ul { margin: 0; }
.prose ul { padding-left: 20px; display: grid; gap: 8px; }
.prose a { color: var(--accent-2); }
.sh-more { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.sh-more a.card { color: var(--text); text-decoration: none; gap: 6px; height: 100%; box-sizing: border-box; }
.sh-more a.card:hover { border-color: var(--accent); }

/* Pass the Mic */
.ptm-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.ptm-score { font-size: 20px; }
.ptm-score b { font-family: var(--display); font-weight: 400; font-size: 32px; color: var(--accent-2); margin: 0 4px; }
.ptm-levels { display: flex; gap: 6px; }
.ptm-stage { position: relative; }
.ptm-canvas { width: 100%; height: auto; display: block; border-radius: 16px; border: 2px solid var(--line); touch-action: none; cursor: none; }
.ptm-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; text-align: center; background: rgba(11, 10, 16, 0.82); border-radius: 16px; }
.ptm-overlay p { margin: 0; max-width: 460px; }
.ptm-overlay .big-msg { font-size: clamp(26px, 6vw, 40px); }
.ptm-board { margin: 0; padding: 0; list-style: none; counter-reset: r; display: grid; gap: 6px; }
.ptm-board li { counter-increment: r; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: var(--bg-2); }
.ptm-board li::before { content: counter(r); font-family: var(--display); color: var(--accent); width: 24px; }
.ptm-board .ptm-pts { margin-left: auto; font-weight: 900; color: var(--accent-2); }

/* admin inbox */
.inbox { display: flex; flex-direction: column; gap: 12px; }
.inbox-filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.inbox-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.inbox-list .card { padding: 12px 14px; gap: 10px; }
.inbox-list .card.done { opacity: 0.6; }
.inbox-head { all: unset; cursor: pointer; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.inbox-fields { margin: 0; display: grid; gap: 8px; }
.inbox-fields dt { color: var(--muted); font-size: 13px; font-weight: 700; }
.inbox-fields dd { margin: 0; white-space: pre-wrap; }
.inbox-fields a { color: var(--accent-2); }
.inbox .row { display: flex; gap: 8px; flex-wrap: wrap; }
.inbox .row-between { display: flex; justify-content: space-between; align-items: center; }

/* ---- Game bets ---- */
.bad-text { color: var(--warn); }
.pill.live { background: var(--good); color: #111; }
.settle-box { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; padding: 10px 12px; border: 2px dashed var(--accent-2); border-radius: var(--radius); background: color-mix(in srgb, var(--accent-2) 8%, var(--bg-2)); }
.plan-game { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; padding: 6px 10px; border-radius: 10px; background: var(--bg-3); }
.runner-up { flex-direction: column; align-items: stretch; gap: 8px; }
.runner-up-q { font-weight: 800; font-size: 18px; }
.runner-up .btn.c0 { border-color: var(--c0); }
.runner-up .btn.c1 { border-color: var(--c1); }
.runner-up .btn.c2 { border-color: var(--c2); }
.runner-up .btn.c3 { border-color: var(--c3); }
.tv-settled { text-align: center; margin-bottom: 2vh; }
.tv-settled .tv-winner { margin: 0; }

/* ---- Start from / combine shows ---- */
.plan-build summary { cursor: pointer; }
.plan-build-row { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.plan-build-row label { display: flex; flex-direction: column; gap: 4px; }
.plan-build-row label.check { flex-direction: row; align-items: center; }
.plan-build-pick { margin-top: 8px; padding: 8px 12px; border-radius: 10px; background: var(--bg-3); }
.plan-build-pick ul { list-style: none; margin: 0 0 8px; padding: 0; columns: 2; }
@media (max-width: 700px) { .plan-build-pick ul { columns: 1; } }

/* ---- Suggest a comic ---- */
.cc-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: var(--radius); }
.cc-suggest.form { flex-direction: column; align-items: stretch; border-style: solid; background: var(--bg-2); }
.cc-suggest.form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; margin-top: 6px; }
.cc-suggest.form label.filled input { border-color: var(--good); }
.cc-suggest fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px 10px; margin: 6px 0 0; }
.cc-suggest legend { font-weight: 800; padding: 0 6px; font-size: 14px; }
.cc-suggest.done { border-color: var(--good); }
.cc-suggest .cc-join { width: 100%; }

/* ---- Game day shortcuts (account ↔ Game Remote) ---- */
.account-chip { font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-decoration: none; color: var(--accent-2); white-space: nowrap; align-self: center; }
.me-gameday { border: 2px solid var(--accent-2); }
.me-gameday.live { border-color: var(--accent); box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.me-gameday .prompt { margin: 0; }
.me-remote { display: block; text-align: center; text-decoration: none; margin: 8px 0; }

/* ---- More ways to sign in ---- */
.signin { display: flex; flex-direction: column; gap: 10px; }
.signin-passkey { width: 100%; }
.center-text { text-align: center; }
.seg-tabs { display: flex; gap: 6px; }
.seg-tabs button { flex: 1; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font-weight: 800; }
.seg-tabs button.on { background: var(--accent); border-color: var(--accent); }
.code-form { display: flex; flex-direction: column; gap: 6px; }
.code-input { font-size: 28px; letter-spacing: 8px; font-family: Menlo, Consolas, monospace; max-width: 220px; text-align: center; }
.signin-code { margin-top: 8px; }
.signin-list { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-direction: column; gap: 8px; }
.signin-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.signin-settings.nudge { border: 2px solid var(--accent-2); }
.signin-phone { margin-top: 10px; }
