:root {
  color-scheme: dark;
  --bg: #05050c;
  --bg-2: #0a0b18;
  --panel: rgba(19, 20, 36, .86);
  --panel-solid: #151626;
  --panel-2: #1d1f32;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.22);
  --text: #f8f8ff;
  --muted: #b8b7c9;
  --subtle: #7f8299;
  --pink: #ff1c91;
  --violet: #9f36ff;
  --cyan: #10caf5;
  --green: #31e6a1;
  --amber: #ffbd50;
  --red: #ff5575;
  --shadow: 0 24px 80px rgba(0,0,0,.44);
  --radius: 26px;
  --radius-sm: 17px;
  --gradient: linear-gradient(115deg, var(--pink), var(--violet) 48%, var(--cyan));
  --gradient-soft: linear-gradient(135deg, rgba(255,28,145,.22), rgba(159,54,255,.16) 48%, rgba(16,202,245,.2));
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; min-height: 100%; color: var(--text); background:
  radial-gradient(circle at 8% 4%, rgba(255,28,145,.18), transparent 34rem),
  radial-gradient(circle at 90% 10%, rgba(16,202,245,.14), transparent 36rem),
  linear-gradient(180deg, #070711, #030309 62%, #05050a); }
body::before { content:""; position: fixed; inset: 0; pointer-events: none; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to bottom, #000, transparent 76%); }
img { display:block; max-width:100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
[hidden] { display:none !important; }
.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.no-scroll { overflow:hidden!important; touch-action:none; }

.shell { width:min(1180px, calc(100% - 28px)); margin:0 auto; padding:22px 0 calc(52px + var(--safe-bottom)); position:relative; z-index:1; }
.shell.wide { width:min(1540px, calc(100% - 28px)); }
.brandbar { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:20px; }
.brand-lockup { display:flex; align-items:center; gap:12px; min-width:0; text-decoration:none; }
.brand-mark { width:56px; height:56px; object-fit:cover; border-radius:50%; clip-path:circle(49% at 50% 50%); background:#000; box-shadow:0 0 32px rgba(158,53,255,.22); }
.brand-name { min-width:0; }
.brand-name strong { display:block; font-size:clamp(1.05rem, 2.8vw, 1.35rem); letter-spacing:-.04em; }
.brand-name span { display:block; margin-top:2px; color:var(--muted); font-size:.72rem; text-transform:uppercase; letter-spacing:.18em; }
.status-chip, .chip { display:inline-flex; align-items:center; gap:7px; min-height:34px; padding:7px 12px; border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.055); color:var(--muted); font-size:.82rem; font-weight:750; white-space:nowrap; }
.status-chip::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--green); box-shadow:0 0 15px var(--green); }
.status-chip.offline::before { background:var(--red); box-shadow:none; }
.chip.pink { color:#fff; border-color:rgba(255,28,145,.34); background:rgba(255,28,145,.12); }
.chip.green { color:var(--green); border-color:rgba(49,230,161,.3); background:rgba(49,230,161,.09); }
.chip.amber { color:var(--amber); border-color:rgba(255,189,80,.3); background:rgba(255,189,80,.09); }

.hero { position:relative; overflow:hidden; border:1px solid var(--line); border-radius:32px; padding:clamp(26px, 6vw, 62px); background:linear-gradient(145deg, rgba(21,22,38,.94), rgba(12,13,26,.82)); box-shadow:var(--shadow); }
.hero::after { content:""; position:absolute; width:36rem; aspect-ratio:1; right:-17rem; top:-20rem; border-radius:50%; background:var(--gradient); filter:blur(30px); opacity:.19; }
.hero > * { position:relative; z-index:1; }
.eyebrow { margin:0 0 10px; color:var(--cyan); font-size:.76rem; font-weight:900; letter-spacing:.23em; text-transform:uppercase; }
h1,h2,h3,p { margin-top:0; }
h1 { margin-bottom:13px; font-size:clamp(2.3rem, 8vw, 5.6rem); line-height:.92; letter-spacing:-.075em; }
h2 { margin-bottom:10px; font-size:clamp(1.65rem, 4vw, 2.55rem); line-height:1; letter-spacing:-.055em; }
h3 { margin-bottom:8px; font-size:1.08rem; letter-spacing:-.025em; }
.lede { max-width:760px; margin-bottom:0; color:var(--muted); font-size:clamp(1rem, 2.6vw, 1.25rem); line-height:1.55; }
.gradient-text { color:transparent; background:var(--gradient); background-clip:text; -webkit-background-clip:text; }

.card { border:1px solid var(--line); border-radius:var(--radius); background:linear-gradient(145deg, rgba(24,25,42,.92), rgba(13,14,26,.9)); box-shadow:0 18px 55px rgba(0,0,0,.24); }
.card-pad { padding:clamp(20px, 4vw, 34px); }
.section { margin-top:24px; }
.section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:16px; }
.section-head p { margin:0; color:var(--muted); }
.stack { display:grid; gap:14px; }
.grid-2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.grid-3 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }

.field { display:grid; gap:8px; }
.field label { color:var(--muted); font-size:.86rem; font-weight:800; }
input, textarea, select { width:100%; min-height:52px; border:1px solid var(--line-strong); border-radius:15px; padding:12px 15px; color:var(--text); background:rgba(255,255,255,.065); outline:none; font-size:16px; line-height:1.25; transition:border .18s, box-shadow .18s, background .18s; }
input::placeholder, textarea::placeholder { color:#888a9c; }
input:focus, textarea:focus, select:focus { border-color:var(--cyan); background:rgba(255,255,255,.09); box-shadow:0 0 0 4px rgba(16,202,245,.13); }
textarea { min-height:92px; resize:vertical; }
.search-row { display:flex; align-items:stretch; gap:10px; }
.search-row input { flex:1; }
.suggestion-box { position:relative; }
.suggestions { position:absolute; left:0; right:0; top:calc(100% + 8px); z-index:30; overflow:hidden; border:1px solid var(--line-strong); border-radius:16px; background:#171827; box-shadow:0 24px 70px rgba(0,0,0,.55); }
.suggestion { display:block; width:100%; border:0; border-bottom:1px solid var(--line); padding:13px 15px; text-align:left; background:transparent; cursor:pointer; color:var(--text); font-weight:700; }
.suggestion:last-child { border-bottom:0; }
.suggestion:is(:hover,:focus-visible) { background:rgba(16,202,245,.1); }

.btn { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:48px; border:1px solid var(--line); border-radius:14px; padding:11px 17px; background:rgba(255,255,255,.07); color:#fff; text-decoration:none; font-weight:850; line-height:1; cursor:pointer; transition:transform .15s, border .15s, filter .15s, background .15s; }
.btn:is(:hover,:focus-visible) { border-color:rgba(255,255,255,.32); background:rgba(255,255,255,.11); }
.btn:active { transform:translateY(1px) scale(.99); }
.btn:disabled { opacity:.42; cursor:not-allowed; transform:none; }
.btn.primary { border:0; background:var(--gradient); box-shadow:0 12px 32px rgba(159,54,255,.26); }
.btn.primary:is(:hover,:focus-visible) { filter:brightness(1.1); }
.btn.success { border-color:rgba(49,230,161,.35); color:var(--green); background:rgba(49,230,161,.09); }
.btn.danger { border-color:rgba(255,85,117,.34); color:#ff8ca2; background:rgba(255,85,117,.09); }
.btn.warning { border-color:rgba(255,189,80,.34); color:var(--amber); background:rgba(255,189,80,.09); }
.btn.small { min-height:38px; padding:8px 12px; border-radius:11px; font-size:.82rem; }
.btn.icon { width:48px; padding:0; font-size:1.15rem; }
.btn.wide { width:100%; }
.btn.glow { box-shadow:0 0 0 1px rgba(16,202,245,.3), 0 12px 40px rgba(16,202,245,.12); }
.actions { display:flex; flex-wrap:wrap; gap:10px; }

.notice { border:1px solid var(--line); border-radius:15px; padding:13px 15px; background:rgba(255,255,255,.05); color:var(--muted); line-height:1.45; }
.notice.error { color:#ffb2c0; border-color:rgba(255,85,117,.36); background:rgba(255,85,117,.08); }
.notice.success { color:#9ef6d0; border-color:rgba(49,230,161,.31); background:rgba(49,230,161,.08); }
.notice.info { color:#afefff; border-color:rgba(16,202,245,.32); background:rgba(16,202,245,.07); }
.empty { border:1px dashed var(--line-strong); border-radius:18px; padding:27px 20px; color:var(--muted); text-align:center; }
.spinner { width:20px; height:20px; border:3px solid rgba(255,255,255,.25); border-top-color:#fff; border-radius:50%; animation:spin .8s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }

/* Guest request */
.guest-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,330px); align-items:center; gap:28px; }
.guest-hero .hero-copy h1 { font-size:clamp(2.6rem, 7vw, 5rem); }
.guest-logo { width:min(100%, 320px); aspect-ratio:1; justify-self:end; object-fit:cover; border-radius:50%; clip-path:circle(49% at 50% 50%); background:#000; filter:drop-shadow(0 22px 34px rgba(0,0,0,.42)); }
.search-panel { margin-top:22px; padding:clamp(18px, 4vw, 30px); }
.search-help { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:10px; color:var(--muted); font-size:.82rem; }
.search-help span + span { margin-left:4px; }
.result-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.result-card { overflow:hidden; position:relative; border:1px solid var(--line); border-radius:20px; background:rgba(255,255,255,.045); transition:transform .18s, border .18s, box-shadow .18s; }
.result-card:hover { transform:translateY(-2px); border-color:rgba(16,202,245,.35); box-shadow:0 18px 44px rgba(0,0,0,.28); }
.result-media { position:relative; aspect-ratio:16/9; overflow:hidden; background:#000; }
.result-media img { width:100%; height:100%; object-fit:cover; }
.result-player { position:absolute; inset:0; background:#000; }
.result-player iframe { width:100%; height:100%; border:0; }
.preview-play { position:absolute; left:50%; top:50%; translate:-50% -50%; width:54px; height:54px; border:1px solid rgba(255,255,255,.46); border-radius:50%; display:grid; place-items:center; padding:0 0 0 3px; background:linear-gradient(135deg, rgba(255,28,145,.95), rgba(159,54,255,.94), rgba(16,202,245,.9)); box-shadow:0 10px 28px rgba(0,0,0,.48); font-size:1rem; cursor:pointer; }
.preview-stop { position:absolute; z-index:5; top:8px; right:8px; min-height:44px; border:1px solid rgba(255,255,255,.28); border-radius:999px; padding:9px 13px; background:rgba(5,5,12,.92); color:#fff; font-size:.78rem; font-weight:850; cursor:pointer; }
.result-body { padding:15px; }
.result-title { min-height:2.6em; margin:0 0 7px; font-size:1rem; line-height:1.28; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.result-channel { margin:0 0 13px; color:var(--muted); font-size:.8rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.result-meta { display:flex; justify-content:space-between; gap:10px; margin-bottom:12px; color:var(--subtle); font-size:.75rem; }
.vote-list, .guest-lineup { display:grid; gap:10px; }
.vote-row, .lineup-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:12px; border:1px solid var(--line); border-radius:16px; padding:12px; background:rgba(255,255,255,.04); }
.lineup-row.up-next { border-color:rgba(49,230,161,.48); background:rgba(49,230,161,.09); box-shadow:0 0 30px rgba(49,230,161,.07); }
.lineup-num { display:grid; place-items:center; width:35px; height:35px; border-radius:50%; background:rgba(255,255,255,.08); font-weight:900; }
.lineup-row.up-next .lineup-num { color:#02150e; background:var(--green); }
.row-title { margin:0; font-weight:850; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.row-sub { margin:3px 0 0; color:var(--muted); font-size:.8rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.votes { min-width:42px; text-align:center; font-weight:900; color:var(--pink); }
.guest-footer { margin-top:30px; padding-top:18px; border-top:1px solid var(--line); display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; color:var(--subtle); font-size:.76rem; }
.admin-links { display:flex; flex-wrap:wrap; gap:8px; }
.admin-links a { text-decoration:none; border:1px solid var(--line); border-radius:999px; padding:6px 10px; }

/* Bottom sheet */
.sheet-backdrop { position:fixed; z-index:100; inset:0; display:grid; align-items:end; background:rgba(0,0,0,.72); backdrop-filter:blur(8px); padding:12px; }
.sheet { width:min(620px,100%); max-height:min(88vh,760px); overflow:auto; margin:0 auto; border:1px solid var(--line-strong); border-radius:28px 28px 20px 20px; padding:22px; background:#181927; box-shadow:0 -24px 90px rgba(0,0,0,.55); animation:sheet-in .22s ease-out; }
@keyframes sheet-in { from { transform:translateY(24px); opacity:0; } }
.sheet-grabber { width:52px; height:5px; border-radius:99px; margin:0 auto 18px; background:rgba(255,255,255,.25); }
.sheet-close { position:absolute; right:20px; top:18px; width:38px; height:38px; border:1px solid var(--line); border-radius:50%; background:rgba(255,255,255,.07); cursor:pointer; }
.sheet-inner { position:relative; }
.selection-summary { display:grid; grid-template-columns:110px minmax(0,1fr); gap:15px; align-items:center; margin-bottom:18px; }
.selection-summary img { width:110px; aspect-ratio:16/9; object-fit:cover; border-radius:13px; }
.signup-success-position { margin:10px 0 18px; color:var(--muted); line-height:1.55; }
.dare-card { display:grid; grid-template-columns:auto minmax(0,1fr); gap:12px; margin-top:18px; border:1px solid rgba(16,202,245,.25); border-radius:18px; padding:16px; background:linear-gradient(135deg,rgba(16,202,245,.08),rgba(159,54,255,.07)); }
.dare-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; color:#051016; background:var(--gradient); font-size:1.25rem; font-weight:950; }
.dare-card h3 { margin:0 0 6px; font-size:1.15rem; }
.dare-card p { margin:0 0 12px; color:var(--muted); font-size:.86rem; line-height:1.45; }
.dare-card form { grid-column:1/-1; }
.signup-success-sheet #dare-skip { margin-top:12px; }
.privacy-line { margin:12px 0 0; color:var(--subtle); font-size:.72rem; line-height:1.45; text-align:center; }

/* Display screens */
.display-body { width:100vw; height:100vh; min-height:0; overflow:hidden; background:#020207; }
.display-root { position:fixed; inset:0; overflow:hidden; background:
  radial-gradient(circle at 18% 10%, rgba(255,28,145,.19), transparent 38%),
  radial-gradient(circle at 90% 18%, rgba(16,202,245,.17), transparent 38%),
  #030309; }
.display-root::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(110deg, transparent 35%, rgba(255,255,255,.02), transparent 65%); }
.display-scene { position:absolute; inset:0; display:none; z-index:1; }
.display-scene.active { display:flex; }
.screen-brand { position:absolute; z-index:10; top:2.2vh; left:2.2vw; display:flex; align-items:center; gap:1vw; padding:.55vw .9vw .55vw .55vw; border:1px solid rgba(255,255,255,.12); border-radius:999px; background:rgba(0,0,0,.62); box-shadow:0 8px 28px rgba(0,0,0,.3); backdrop-filter:blur(12px); }
.screen-brand img { width:clamp(50px,5vw,92px); aspect-ratio:1; object-fit:cover; border-radius:50%; clip-path:circle(49% at 50% 50%); background:#000; }
.screen-brand strong { font-size:clamp(1.2rem,2.1vw,2.2rem); letter-spacing:-.045em; }
.screen-brand span { display:block; color:var(--cyan); font-size:clamp(.55rem,.75vw,.9rem); letter-spacing:.2em; text-transform:uppercase; font-weight:900; }
.screen-clock { position:absolute; z-index:10; top:3.5vh; right:3vw; color:rgba(255,255,255,.66); font-size:clamp(.8rem,1.1vw,1.2rem); font-weight:800; }
.display-fullscreen { position:fixed; z-index:20; right:2vw; bottom:2vh; display:flex; align-items:center; gap:10px; min-height:48px; border:1px solid rgba(255,255,255,.2); border-radius:999px; padding:8px 14px 8px 9px; color:#fff; background:rgba(10,11,24,.72); box-shadow:0 10px 35px rgba(0,0,0,.3); backdrop-filter:blur(14px); cursor:pointer; opacity:.62; transition:opacity .18s, border-color .18s, background .18s, transform .18s; }
.display-fullscreen:is(:hover,:focus-visible), .display-fullscreen.is-display-launch { opacity:.94; border-color:rgba(16,202,245,.4); background:rgba(13,16,31,.88); }
.display-fullscreen:focus-visible { outline:3px solid rgba(16,202,245,.55); outline-offset:3px; }
.display-fullscreen:active { transform:scale(.98); }
.display-fullscreen:disabled { cursor:wait; opacity:.45; }
.display-fullscreen-icon { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; color:#041015; background:linear-gradient(135deg,var(--pink),var(--cyan)); font-size:1.15rem; font-weight:900; }
.display-fullscreen-copy { display:grid; gap:2px; text-align:left; line-height:1; }
.display-fullscreen-copy strong { font-size:.78rem; letter-spacing:.01em; }
.display-fullscreen-copy small { color:var(--muted); font-size:.62rem; }
.display-fullscreen.is-display-launch { animation:fullscreen-in 1.2s ease-out both; }
.display-fullscreen-status { position:fixed; z-index:21; right:2vw; bottom:calc(2vh + 58px); max-width:min(390px,80vw); border:1px solid rgba(255,189,80,.4); border-radius:12px; padding:9px 12px; color:#ffe0a8; background:rgba(15,12,20,.9); font-size:clamp(.68rem,.85vw,.82rem); line-height:1.35; }
.display-fullscreen-status:empty { display:none; }
@keyframes fullscreen-in { 0% { opacity:0; transform:translateY(8px); } 55% { transform:translateY(0); } }
@media (display-mode: fullscreen) { .display-fullscreen { display:none; } }
.audience-lobby { padding:10vh 3vw 3vh; display:grid!important; grid-template-columns:minmax(0,1.45fr) minmax(340px,.65fr); gap:2.5vw; }
.audience-lobby:not(.active) { display:none!important; }
.lineup-panel { min-width:0; overflow:hidden; border:1px solid var(--line); border-radius:2vw; padding:2.2vw; background:linear-gradient(145deg,rgba(20,21,38,.92),rgba(9,10,20,.9)); box-shadow:var(--shadow); }
.lineup-head { display:flex; align-items:flex-end; justify-content:space-between; gap:2vw; margin-bottom:1.5vw; }
.lineup-head h1 { margin:0; font-size:clamp(2.3rem,4.3vw,5rem); }
.now-card { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:1.2vw; border:1px solid rgba(16,202,245,.35); border-radius:1.4vw; padding:1.15vw; margin-bottom:1.2vw; background:linear-gradient(110deg,rgba(16,202,245,.13),rgba(159,54,255,.08)); }
.now-badge { padding:.55vw .75vw; border-radius:.65vw; color:#001014; background:var(--cyan); font-size:clamp(.55rem,.8vw,.85rem); font-weight:950; text-transform:uppercase; letter-spacing:.12em; }
.now-card h2 { margin:0; font-size:clamp(1.35rem,2.5vw,3rem); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.now-card p { margin:.35vw 0 0; color:var(--muted); font-size:clamp(.75rem,1.15vw,1.25rem); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.queue-tv-list { min-height:0; display:grid; grid-auto-flow:column; grid-template-rows:repeat(6,minmax(0,1fr)); grid-auto-columns:minmax(0,1fr); gap:.65vw; max-height:58vh; overflow:hidden; }
.queue-tv-row { min-width:0; display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:.8vw; border:1px solid var(--line); border-radius:.9vw; padding:.72vw .86vw; background:rgba(255,255,255,.045); }
.queue-tv-row.up-next { border-color:rgba(49,230,161,.5); background:rgba(49,230,161,.1); }
.queue-tv-num { width:2.4vw; min-width:30px; aspect-ratio:1; display:grid; place-items:center; border-radius:50%; background:rgba(255,255,255,.08); font-size:clamp(.75rem,1vw,1.05rem); font-weight:950; }
.queue-tv-row.up-next .queue-tv-num { color:#00130b; background:var(--green); }
.queue-tv-row strong { display:block; font-size:clamp(.85rem,1.25vw,1.4rem); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.queue-tv-row span { display:block; margin-top:.14vw; color:var(--muted); font-size:clamp(.6rem,.8vw,.9rem); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.up-label { color:var(--green)!important; font-size:clamp(.52rem,.7vw,.78rem)!important; font-weight:950; letter-spacing:.1em; text-transform:uppercase; }
.join-panel { min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; border:1px solid var(--line); border-radius:2vw; padding:2vw; background:linear-gradient(160deg,rgba(25,20,42,.94),rgba(8,14,26,.94)); box-shadow:var(--shadow); }
.join-panel h2 { margin-bottom:.7vw; font-size:clamp(2rem,3.2vw,4rem); }
.join-panel p { margin-bottom:1.2vw; color:var(--muted); font-size:clamp(.8rem,1.15vw,1.25rem); }
.qr-frame { width:min(31vw, 55vh, 600px); max-width:100%; aspect-ratio:1; flex:0 0 auto; padding:clamp(10px,1vw,18px); border-radius:clamp(18px,1.5vw,28px); background:#fff; box-shadow:0 0 0 .45vw rgba(255,255,255,.07), 0 0 60px rgba(16,202,245,.18); overflow:hidden; }
.qr-frame img { width:100%; height:100%; object-fit:contain; }
.join-url { max-width:100%; margin-top:1.2vw; color:#fff!important; font-weight:900; overflow-wrap:anywhere; }
.stage-pill { display:inline-flex; align-items:center; gap:.7vw; margin-top:1vw; padding:.7vw 1vw; border:1px solid rgba(49,230,161,.32); border-radius:999px; color:var(--green); font-size:clamp(.7rem,.9vw,1rem); font-weight:850; }

.intro-scene, .post-scene, .leaderboard-scene, .performer-idle { align-items:center; justify-content:center; text-align:center; padding:7vh 6vw; }
.intro-glow { position:absolute; width:70vw; height:70vw; border-radius:50%; background:var(--gradient); filter:blur(9vw); opacity:.16; animation:pulse-glow 2.8s ease-in-out infinite; }
@keyframes pulse-glow { 50% { transform:scale(1.08); opacity:.25; } }
.intro-content, .post-content, .leaderboard-content { position:relative; z-index:2; width:min(92vw,1500px); }
.intro-kicker { color:var(--cyan); font-size:clamp(.8rem,1.5vw,1.65rem); font-weight:950; letter-spacing:.32em; text-transform:uppercase; }
.intro-performer { margin:.4em 0 .12em; font-size:clamp(4rem,11vw,12rem); line-height:.8; letter-spacing:-.075em; text-wrap:balance; }
.intro-song { margin:0 auto; max-width:90%; color:var(--muted); font-size:clamp(1.5rem,3.7vw,4.5rem); line-height:1.05; text-wrap:balance; }
.countdown { display:grid; place-items:center; width:clamp(100px,10vw,190px); aspect-ratio:1; margin:3.2vh auto 0; border:clamp(5px,.55vw,10px) solid rgba(255,255,255,.1); border-top-color:var(--pink); border-right-color:var(--cyan); border-radius:50%; font-size:clamp(3rem,6vw,7rem); font-weight:950; box-shadow:0 0 60px rgba(159,54,255,.2); }
.countdown-line { width:min(700px,70vw); height:8px; margin:2.2vh auto 0; overflow:hidden; border-radius:99px; background:rgba(255,255,255,.1); }
.countdown-line span { display:block; height:100%; width:100%; transform-origin:left; background:var(--gradient); }

.video-scene { align-items:center; justify-content:center; background:#000; }
.stage-video { position:absolute; inset:0; width:100%; height:100%; background:#000; }
.stage-video iframe, .stage-video > div { width:100%!important; height:100%!important; border:0; }
.video-overlay { position:absolute; z-index:3; left:0; right:0; top:0; display:flex; justify-content:space-between; align-items:flex-start; padding:2.2vh 2.5vw; pointer-events:none; background:linear-gradient(to bottom,rgba(0,0,0,.68),transparent); }
.video-overlay .mini-now { max-width:60vw; margin-top:clamp(64px,8vh,105px); padding:.65em .85em; border-radius:14px; background:rgba(0,0,0,.58); }
.video-overlay strong { display:block; font-size:clamp(1rem,1.8vw,2rem); text-shadow:0 2px 14px #000; }
.video-overlay span { display:block; margin-top:.2em; color:rgba(255,255,255,.76); font-size:clamp(.7rem,1vw,1.1rem); text-shadow:0 2px 10px #000; }
.video-watermark { width:clamp(55px,5vw,96px); aspect-ratio:1; object-fit:cover; border-radius:50%; clip-path:circle(49% at 50% 50%); background:#000; filter:drop-shadow(0 3px 18px #000); }
.pause-overlay { position:absolute; z-index:5; inset:0; display:none; place-items:center; background:rgba(0,0,0,.55); backdrop-filter:blur(5px); font-size:clamp(3rem,8vw,8rem); font-weight:950; letter-spacing:-.06em; }
.pause-overlay.visible { display:grid; }

.post-content { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,.55fr); align-items:center; gap:5vw; text-align:left; }
.post-copy h1 { margin-bottom:.15em; font-size:clamp(3.2rem,7vw,8rem); }
.post-copy .performer { color:transparent; background:var(--gradient); background-clip:text; -webkit-background-clip:text; }
.post-copy p { color:var(--muted); font-size:clamp(1.1rem,2vw,2.2rem); }
.next-card { margin-top:2vh; display:inline-block; border:1px solid rgba(49,230,161,.35); border-radius:1vw; padding:1.1vw 1.4vw; background:rgba(49,230,161,.09); }
.next-card b { color:var(--green); text-transform:uppercase; letter-spacing:.14em; font-size:clamp(.65rem,.85vw,.95rem); }
.next-card strong { display:block; margin-top:.3em; font-size:clamp(1.2rem,2vw,2.2rem); }
.post-qr { justify-self:end; text-align:center; }
.post-qr .qr-frame { width:min(36vw,64vh,680px); }

.leaderboard-content h1 { margin-bottom:3vh; font-size:clamp(3rem,7vw,8rem); }
.leaderboard-tv { width:min(1100px,90vw); margin:0 auto; display:grid; gap:1vh; }
.leaderboard-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:1.5vw; border:1px solid var(--line); border-radius:1vw; padding:1.1vh 1.5vw; background:rgba(255,255,255,.05); text-align:left; }
.leaderboard-row:first-child { border-color:rgba(255,189,80,.5); background:linear-gradient(110deg,rgba(255,189,80,.15),rgba(255,28,145,.08)); transform:scale(1.025); }
.leader-rank { width:clamp(42px,4vw,72px); aspect-ratio:1; display:grid; place-items:center; border-radius:50%; background:rgba(255,255,255,.08); font-size:clamp(1rem,1.8vw,2rem); font-weight:950; }
.leaderboard-row strong { font-size:clamp(1rem,1.7vw,2rem); }
.leaderboard-row span { display:block; margin-top:.15em; color:var(--muted); font-size:clamp(.65rem,1vw,1.15rem); }
.leader-votes { color:var(--pink); font-size:clamp(1.2rem,2.3vw,2.8rem); font-weight:950; }

.performer-idle { flex-direction:column; }
.performer-idle > img { width:min(42vw,55vh,600px); aspect-ratio:1; object-fit:cover; border-radius:50%; clip-path:circle(49% at 50% 50%); background:#000; filter:drop-shadow(0 20px 50px rgba(0,0,0,.5)); }
.performer-idle h1 { margin-top:1vh; margin-bottom:.15em; font-size:clamp(3rem,7vw,8rem); }
.performer-idle p { color:var(--muted); font-size:clamp(1rem,2vw,2rem); }
.performer-thanks { display:none; grid-template-columns:minmax(0,1fr) minmax(340px,.65fr); gap:5vw; text-align:left; }
.performer-thanks.active { display:grid; }
.performer-thanks-copy h1 { margin:.12em 0 .18em; font-size:clamp(3rem,6vw,7rem); }
.performer-thanks-copy h1 span { color:transparent; background:var(--gradient); background-clip:text; -webkit-background-clip:text; }
.performer-thanks-copy p { max-width:900px; line-height:1.35; }
.performer-thanks-copy .next-up-copy { margin-top:1.2em; color:var(--green); font-weight:850; }
.performer-thanks-qr { text-align:center; }
.performer-thanks-qr .qr-frame { width:min(38vw,62vh,680px); }
.performer-thanks-qr .qr-frame img { width:100%; height:100%; object-fit:contain; border-radius:0; clip-path:none; background:#fff; filter:none; }
.preflight-status { display:inline-flex; align-items:center; gap:12px; margin-top:2vh; color:var(--cyan); font-size:clamp(.8rem,1.3vw,1.3rem); font-weight:850; }

/* Manager */
.manager-shell { width:min(1700px,calc(100% - 22px)); padding-bottom:calc(110px + var(--safe-bottom)); }
.manager-login { width:min(520px,calc(100% - 28px)); margin:12vh auto; }
.manager-login .card { padding:30px; }
.manager-login img { width:180px; aspect-ratio:1; margin:0 auto 18px; object-fit:cover; border-radius:50%; clip-path:circle(49% at 50% 50%); background:#000; }
.manager-top { position:sticky; z-index:50; top:0; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 0; background:linear-gradient(to bottom,rgba(5,5,12,.98),rgba(5,5,12,.88),transparent); backdrop-filter:blur(14px); }
.manager-title { display:flex; align-items:center; gap:12px; }
.manager-title img { width:48px; height:48px; object-fit:cover; border-radius:50%; clip-path:circle(49% at 50% 50%); background:#000; }
.manager-title h1 { margin:0; font-size:clamp(1.45rem,3vw,2.2rem); }
.manager-title p { margin:2px 0 0; color:var(--muted); font-size:.75rem; }
.manager-layout { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(350px,.85fr); gap:18px; align-items:start; }
.manager-column { display:grid; gap:18px; min-width:0; }
.now-manager { display:grid; grid-template-columns:190px minmax(0,1fr); gap:20px; }
.now-manager-thumb { width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:17px; background:#05050a; }
.now-manager h2 { margin:0 0 7px; }
.now-manager p { color:var(--muted); margin:0; }
.transport { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:8px; margin-top:18px; }
.transport .btn { min-width:0; padding-inline:8px; font-size:.78rem; }
.progress-row { display:grid; grid-template-columns:56px minmax(0,1fr) 56px; align-items:center; gap:10px; margin-top:17px; }
input[type="range"] { min-height:28px; padding:0; border:0; box-shadow:none; background:transparent; accent-color:var(--cyan); }
.volume-row { display:grid; grid-template-columns:auto minmax(0,1fr) 44px; align-items:center; gap:10px; margin-top:12px; }
.queue-manager { display:grid; gap:9px; }
.queue-manager-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:10px; border:1px solid var(--line); border-radius:15px; padding:11px; background:rgba(255,255,255,.035); }
.queue-manager-row:first-child { border-color:rgba(49,230,161,.38); background:rgba(49,230,161,.06); }
.queue-manager-actions { display:flex; gap:5px; }
.queue-manager-actions .btn { width:36px; min-height:34px; padding:0; border-radius:10px; }
.toggle-list { display:grid; gap:10px; }
.toggle-row { display:flex; align-items:center; justify-content:space-between; gap:18px; border:1px solid var(--line); border-radius:15px; padding:12px 14px; background:rgba(255,255,255,.035); }
.toggle-row strong { display:block; }
.toggle-row span { display:block; margin-top:3px; color:var(--muted); font-size:.78rem; }
.switch { position:relative; width:52px; height:30px; flex:0 0 auto; }
.switch input { position:absolute; opacity:0; pointer-events:none; }
.switch i { position:absolute; inset:0; border-radius:99px; background:#3b3d50; transition:.18s; cursor:pointer; }
.switch i::after { content:""; position:absolute; width:22px; height:22px; left:4px; top:4px; border-radius:50%; background:#fff; transition:.18s; }
.switch input:checked + i { background:linear-gradient(90deg,var(--pink),var(--cyan)); }
.switch input:checked + i::after { transform:translateX(22px); }
.device-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.device-card { border:1px solid var(--line); border-radius:15px; padding:13px; background:rgba(255,255,255,.035); }
.device-card.online { border-color:rgba(49,230,161,.28); }
.device-card strong { display:flex; align-items:center; gap:7px; }
.device-dot { width:9px; height:9px; border-radius:50%; background:var(--red); }
.device-card.online .device-dot { background:var(--green); box-shadow:0 0 13px rgba(49,230,161,.7); }
.device-card p { margin:8px 0 0; color:var(--muted); font-size:.75rem; line-height:1.4; }
.api-meter { height:12px; overflow:hidden; border-radius:99px; background:rgba(255,255,255,.08); }
.api-meter span { display:block; height:100%; background:var(--gradient); }
.manager-player-wrap { position:relative; overflow:hidden; border:1px solid var(--line); border-radius:18px; aspect-ratio:16/9; background:#000; }
.manager-player-wrap iframe, .manager-player-wrap > div { width:100%!important; height:100%!important; }
.audio-lock { position:absolute; z-index:4; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:13px; padding:20px; text-align:center; background:linear-gradient(135deg,rgba(5,5,12,.94),rgba(22,16,40,.93)); }
.audio-lock.unlocked { display:none; }
.audio-lock p { max-width:450px; color:var(--muted); margin:0; }
.audio-test-status { margin-top:12px; }
.manager-sticky { position:fixed; z-index:80; left:50%; bottom:max(10px,var(--safe-bottom)); translate:-50% 0; width:min(760px,calc(100% - 18px)); display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:7px; padding:8px; border:1px solid var(--line-strong); border-radius:18px; background:rgba(18,19,32,.94); box-shadow:0 16px 60px rgba(0,0,0,.55); backdrop-filter:blur(18px); }
.manager-sticky .btn { min-height:50px; padding:7px; font-size:.75rem; }
.mini-leaderboard { display:grid; gap:8px; }
.mini-leader-row { display:grid; grid-template-columns:32px minmax(0,1fr) auto; gap:10px; align-items:center; padding:9px 10px; border-radius:13px; background:rgba(255,255,255,.04); }
.safety-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.safety-check { display:flex; gap:10px; align-items:flex-start; border:1px solid var(--line); border-radius:14px; padding:11px; color:var(--muted); }
.safety-check input { width:19px; height:19px; min-height:0; margin:1px 0 0; accent-color:var(--green); }

/* Modal */
.modal-backdrop { position:fixed; z-index:110; inset:0; display:grid; place-items:center; padding:14px; background:rgba(0,0,0,.78); backdrop-filter:blur(8px); }
.modal { width:min(780px,100%); max-height:90vh; overflow:auto; border:1px solid var(--line-strong); border-radius:25px; padding:22px; background:#171827; box-shadow:0 30px 100px rgba(0,0,0,.65); }
.modal-head { display:flex; justify-content:space-between; gap:14px; align-items:center; margin-bottom:15px; }
.modal-head h2 { margin:0; }
.modal-close { width:40px; height:40px; border:1px solid var(--line); border-radius:50%; background:rgba(255,255,255,.06); cursor:pointer; }
.manager-search-results { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:12px; }
.manager-result { display:grid; grid-template-columns:115px minmax(0,1fr); gap:10px; border:1px solid var(--line); border-radius:14px; padding:9px; background:rgba(255,255,255,.035); }
.manager-result img { width:115px; aspect-ratio:16/9; object-fit:cover; border-radius:10px; }
.manager-result h3 { font-size:.9rem; line-height:1.25; margin:0 0 8px; }
.manager-preview-play { width:44px; height:44px; font-size:.8rem; }
.manager-preview-frame { position:relative; width:115px; aspect-ratio:16/9; overflow:hidden; border-radius:10px; background:#000; }
.manager-preview-frame > img,.manager-preview-frame iframe { width:100%; height:100%; border:0; object-fit:cover; }
.manager-preview-stop { position:absolute; z-index:6; top:6px; right:6px; min-height:34px; border:1px solid rgba(255,255,255,.35); border-radius:999px; padding:6px 9px; color:#fff; background:rgba(4,4,10,.9); font-size:.68rem; font-weight:850; }

/* Privacy-safe operational diagnostics */
.diagnostic-privacy { white-space:normal; line-height:1.5; margin-bottom:12px; }
.diagnostic-list { display:grid; gap:10px; }
.diagnostic-row { display:grid; gap:8px; border:1px solid var(--line); border-radius:15px; padding:13px; background:rgba(255,255,255,.035); }
.diagnostic-row.error { border-color:rgba(255,85,117,.34); background:rgba(255,85,117,.06); }
.diagnostic-row.warning { border-color:rgba(255,189,80,.3); }
.diagnostic-row p { margin:0; color:var(--muted); font-size:.82rem; line-height:1.45; }
.diagnostic-row small { color:var(--subtle); }
.diagnostic-row .btn { justify-self:start; }
.diagnostic-head { display:flex; flex-wrap:wrap; align-items:center; gap:8px; color:var(--muted); font-size:.75rem; }
.diagnostic-head code { color:var(--cyan); font:700 .74rem ui-monospace,SFMono-Regular,Menlo,monospace; }

/* Setup */
.setup-checks { display:grid; gap:12px; }
.setup-check { display:grid; grid-template-columns:auto minmax(0,1fr); gap:13px; border:1px solid var(--line); border-radius:16px; padding:15px; background:rgba(255,255,255,.04); }
.setup-icon { width:36px; height:36px; display:grid; place-items:center; border-radius:50%; font-weight:950; background:rgba(255,255,255,.08); }
.setup-check.ok .setup-icon { color:#00130b; background:var(--green); }
.setup-check.warn .setup-icon { color:#201400; background:var(--amber); }
.setup-check.bad .setup-icon { color:#25000b; background:var(--red); }
.setup-check p { margin:4px 0 0; color:var(--muted); line-height:1.45; }

@media (max-width: 980px) {
  .result-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .manager-layout { grid-template-columns:1fr; }
  .audience-lobby { grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr); }
  .queue-tv-list { grid-template-rows:repeat(7,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .shell, .shell.wide { width:min(100% - 20px, 700px); padding-top:10px; }
  .brandbar { margin-bottom:10px; }
  .brand-mark { width:45px; height:45px; border-radius:50%; }
  .brand-name span { display:none; }
  .hero { border-radius:24px; padding:23px 20px; }
  .guest-hero { grid-template-columns:1fr; }
  .guest-logo { display:none; }
  .guest-hero .hero-copy h1 { font-size:clamp(2.25rem,13.5vw,4.2rem); }
  .lede { font-size:.97rem; }
  .search-panel { margin-top:14px; padding:17px; }
  .search-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
  .search-row .btn { padding-inline:14px; }
  .search-help { display:block; }
  .search-help span + span { display:block; margin:4px 0 0; }
  .section { margin-top:16px; }
  .section-head { align-items:flex-start; }
  .section-head p { font-size:.8rem; }
  .result-grid { grid-template-columns:1fr; gap:12px; }
  .result-card { display:grid; grid-template-columns:142px minmax(0,1fr); border-radius:17px; }
  .result-media { aspect-ratio:auto; min-height:145px; }
  .result-body { padding:12px; }
  .result-title { font-size:.92rem; }
  .preview-play { width:44px; height:44px; }
  .selection-summary { grid-template-columns:90px minmax(0,1fr); }
  .selection-summary img { width:90px; }
  .sheet { padding:18px; }
  .grid-2, .grid-3 { grid-template-columns:1fr; }
  .guest-footer { display:grid; }
  .manager-shell { width:calc(100% - 14px); }
  .manager-top { top:0; padding:7px 0 10px; }
  .manager-title p { display:none; }
  .manager-title img { width:40px; height:40px; }
  .now-manager { grid-template-columns:105px minmax(0,1fr); gap:12px; }
  .transport { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .device-grid { grid-template-columns:1fr; }
  .safety-grid { grid-template-columns:1fr; }
  .manager-search-results { grid-template-columns:1fr; }
  .manager-sticky { grid-template-columns:repeat(6,minmax(0,1fr)); }
  .manager-sticky .btn { min-height:46px; font-size:0; }
  .manager-sticky .btn span.icon-label { font-size:1.1rem; }
  .post-content { grid-template-columns:1fr; text-align:center; }
  .post-qr { justify-self:center; }
}
@media (max-width: 430px) {
  .status-chip { font-size:.72rem; padding-inline:9px; }
  .result-card { grid-template-columns:125px minmax(0,1fr); }
  .result-media { min-height:137px; }
  .result-body .btn { min-height:42px; padding-inline:10px; font-size:.8rem; }
  .vote-row, .lineup-row { gap:9px; padding:10px; }
  .row-title { font-size:.9rem; }
  .sheet-backdrop { padding:0; }
  .sheet { border-radius:26px 26px 0 0; padding-bottom:calc(20px + var(--safe-bottom)); }
  .dare-card { grid-template-columns:1fr; }
  .dare-card form { grid-column:auto; }
}

/* TV-specific fallback at uncommon aspect ratios */
@media (max-aspect-ratio: 4/3) and (min-width: 800px) {
  .audience-lobby { grid-template-columns:minmax(0,1fr) minmax(280px,.55fr); gap:1.5vw; }
  .qr-frame { width:min(34vw,48vh,560px); }
  .queue-tv-list { grid-template-rows:repeat(8,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto!important; animation-duration:.001ms!important; animation-iteration-count:1!important; transition-duration:.001ms!important; }
}
.queue-tv-list.dense { grid-template-rows:repeat(8,minmax(0,1fr)); gap:.45vw; }
.queue-tv-list.dense .queue-tv-row { padding:.48vw .65vw; }
.queue-tv-list.dense .queue-tv-row strong { font-size:clamp(.7rem,1vw,1.1rem); }
.queue-tv-list.dense .queue-tv-row span { font-size:clamp(.52rem,.68vw,.74rem); }
.queue-tv-list.ultra { grid-template-rows:repeat(10,minmax(0,1fr)); gap:.32vw; }
.queue-tv-list.ultra .queue-tv-row { padding:.32vw .5vw; border-radius:.6vw; }
.queue-tv-list.ultra .queue-tv-num { min-width:24px; width:1.8vw; }
.queue-tv-list.ultra .queue-tv-row strong { font-size:clamp(.6rem,.78vw,.88rem); }
.queue-tv-list.ultra .queue-tv-row span { font-size:clamp(.45rem,.56vw,.64rem); }

/* V10.5 show lifecycle and simplified manager */
.wrap { white-space:normal; line-height:1.5; }
.show-lifecycle-card { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:8px; padding:18px 22px; background:linear-gradient(115deg,rgba(16,202,245,.1),rgba(159,54,255,.08),rgba(255,28,145,.08)); }
.show-lifecycle-card p { max-width:850px; margin:9px 0 0; color:var(--muted); line-height:1.45; }
.lifecycle-labels { align-items:center; }
.lifecycle-actions { flex:0 0 auto; justify-content:flex-end; }
.manager-command-deck { position:relative; }
.manager-command-deck .now-manager-thumb { display:none; }
.manager-command-deck .manager-player-wrap { width:100%; max-height:52vh; }
.primary-transport { grid-template-columns:repeat(5,minmax(0,1fr)); }
.stage-workflow-actions { align-items:center; margin-top:12px; }
.compact-more { position:relative; }
.compact-more summary { min-height:48px; display:flex; align-items:center; border:1px solid var(--line); border-radius:14px; padding:11px 17px; color:var(--muted); font-weight:800; cursor:pointer; list-style:none; }
.compact-more summary::-webkit-details-marker { display:none; }
.compact-more[open] { width:100%; }
.compact-more .actions { padding-top:10px; }
.manager-tools { overflow:hidden; }
.manager-tools > summary { min-height:68px; display:flex; align-items:center; justify-content:space-between; gap:15px; padding:17px 20px; cursor:pointer; list-style:none; }
.manager-tools > summary::-webkit-details-marker { display:none; }
.manager-tools > summary b { display:block; font-size:1rem; }
.manager-tools > summary small { display:block; margin-top:4px; color:var(--muted); line-height:1.35; }
.manager-tools-content { display:grid; gap:0; border-top:1px solid var(--line); padding:0 20px 20px; }
.manager-tools-content > section { padding:20px 0; border-bottom:1px solid var(--line); }
.manager-tools-content > section:last-child { border-bottom:0; padding-bottom:0; }
.manager-tools-content h3 { margin:0; font-size:1.25rem; }
.manager-sticky { display:none; }
.confirm-modal { width:min(680px,100%); }
.confirm-modal > p:not(.eyebrow) { color:var(--muted); font-size:1rem; line-height:1.6; }
.share-phone-modal .lede { font-size:.96rem; margin-bottom:18px; }

/* Final winners screen */
.finale-scene { align-items:center; justify-content:center; padding:8vh 5vw 5vh; text-align:center; background:
  radial-gradient(circle at 50% 42%,rgba(255,189,80,.16),transparent 34%),
  radial-gradient(circle at 20% 15%,rgba(255,28,145,.18),transparent 35%),
  radial-gradient(circle at 85% 20%,rgba(16,202,245,.16),transparent 34%); }
.finale-content { width:min(1500px,94vw); }
.finale-content h1 { margin-bottom:4vh; font-size:clamp(4rem,9vw,10rem); }
.finale-winners { display:flex; align-items:flex-end; justify-content:center; gap:1.5vw; min-height:34vh; }
.finale-winner { width:min(29vw,430px); min-height:25vh; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1vh; border:1px solid var(--line); border-radius:2vw 2vw .8vw .8vw; padding:2vw; background:linear-gradient(155deg,rgba(30,31,52,.96),rgba(11,12,24,.96)); box-shadow:0 24px 70px rgba(0,0,0,.35); }
.finale-winner.rank-1 { min-height:34vh; order:2; border-color:rgba(255,189,80,.62); background:linear-gradient(155deg,rgba(85,61,20,.7),rgba(24,16,30,.96)); transform:translateY(-2vh); }
.finale-winner.rank-2 { order:1; border-color:rgba(185,205,230,.45); }
.finale-winner.rank-3 { order:3; border-color:rgba(213,139,89,.45); }
.finale-place { display:grid; place-items:center; width:clamp(60px,5vw,96px); aspect-ratio:1; border-radius:50%; color:#170d00; background:var(--amber); font-size:clamp(1.2rem,2vw,2.2rem); font-weight:950; }
.finale-winner strong { font-size:clamp(1.5rem,3vw,3.7rem); line-height:.95; text-wrap:balance; }
.finale-winner > span:not(.finale-place) { color:var(--muted); font-size:clamp(.8rem,1.2vw,1.35rem); }
.finale-winner b { color:var(--pink); font-size:clamp(1rem,1.7vw,2rem); }
.finale-prize { margin:3vh 0 0; font-size:clamp(1.4rem,2.5vw,3rem); font-weight:900; }
.finale-thanks { margin:1vh 0 0; color:var(--muted); font-size:clamp(.9rem,1.4vw,1.55rem); }

/* Dedicated iPhone Manager */
.phone-manager { padding-bottom:calc(92px + var(--safe-bottom)); background:#05050c; }
.phone-pairing { width:min(520px,calc(100% - 24px)); margin:7vh auto; }
.phone-pairing .card { padding:24px; }
.phone-pairing img { width:150px; aspect-ratio:1; margin:0 auto 18px; object-fit:cover; border-radius:50%; clip-path:circle(49% at 50% 50%); background:#000; }
.phone-pairing h1 { font-size:clamp(2.5rem,12vw,4rem); }
.phone-pairing p { color:var(--muted); line-height:1.5; }
.phone-app { width:min(760px,100%); margin:0 auto; padding:0 10px calc(28px + var(--safe-bottom)); }
.phone-topbar { position:sticky; z-index:50; top:0; display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 -10px; padding:calc(8px + env(safe-area-inset-top,0px)) 12px 8px; background:rgba(5,5,12,.94); border-bottom:1px solid var(--line); backdrop-filter:blur(18px); }
.phone-brand { display:flex; align-items:center; min-width:0; gap:9px; }
.phone-brand img { width:42px; height:42px; object-fit:cover; border-radius:50%; clip-path:circle(49% at 50% 50%); background:#000; }
.phone-brand strong { display:block; font-size:.98rem; letter-spacing:-.035em; }
.phone-brand span { display:block; margin-top:2px; color:var(--cyan); font-size:.61rem; letter-spacing:.13em; text-transform:uppercase; }
.phone-alert { position:sticky; z-index:45; top:68px; margin:8px 0; box-shadow:0 10px 30px rgba(0,0,0,.35); }
.phone-now { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:17px 6px 14px; }
.phone-now h2 { margin:0 0 6px; font-size:clamp(1.55rem,7vw,2.2rem); }
.phone-now p { margin:0; color:var(--muted); line-height:1.35; }
.phone-tabs { position:sticky; z-index:40; top:67px; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:4px; margin:0 -2px 12px; padding:5px; border:1px solid var(--line); border-radius:15px; background:rgba(18,19,32,.94); backdrop-filter:blur(16px); }
.phone-tabs button { min-height:45px; border:0; border-radius:11px; padding:5px 3px; color:var(--muted); background:transparent; font-size:.76rem; font-weight:850; }
.phone-tabs button.active { color:#fff; background:var(--gradient); box-shadow:0 8px 24px rgba(159,54,255,.2); }
.phone-tabs button span { display:inline-grid; place-items:center; min-width:19px; height:19px; margin-left:2px; border-radius:99px; background:rgba(255,255,255,.16); font-size:.67rem; }
.phone-panels { display:grid; }
.phone-panel { display:none; gap:12px; }
.phone-panel.active { display:grid; }
.phone-panel .card-pad { padding:17px; border-radius:20px; }
.phone-panel h2 { font-size:1.9rem; }
.phone-primary-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.phone-control { min-height:82px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; border:1px solid var(--line); border-radius:17px; color:#fff; background:rgba(255,255,255,.06); font-weight:850; }
.phone-control b { font-size:1.45rem; }
.phone-control.primary { border:0; background:var(--gradient); }
.phone-control.success { color:var(--green); border-color:rgba(49,230,161,.38); background:rgba(49,230,161,.09); }
.phone-slider { margin-top:16px; }
.phone-slider label { display:flex; justify-content:space-between; }
.phone-slider input { min-height:38px; }
.phone-secondary-controls { margin-top:12px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.phone-secondary-controls .btn { min-width:0; padding:10px 7px; font-size:.77rem; }
.phone-queue-row { display:grid; grid-template-columns:auto minmax(0,1fr); gap:10px; border:1px solid var(--line); border-radius:16px; padding:12px; background:rgba(255,255,255,.04); }
.phone-queue-row:first-child { border-color:rgba(49,230,161,.42); background:rgba(49,230,161,.07); }
.phone-queue-row > div:nth-child(2) { min-width:0; }
.phone-queue-row strong,.phone-queue-row span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.phone-queue-row span { margin-top:4px; color:var(--muted); font-size:.78rem; }
.phone-row-actions { grid-column:1/-1; display:grid; grid-template-columns:1.5fr repeat(3,1fr); gap:7px; }
.phone-row-actions button { min-height:46px; border:1px solid var(--line); border-radius:12px; color:#fff; background:rgba(255,255,255,.07); font-weight:850; }
.phone-row-actions button:first-child { color:var(--green); border-color:rgba(49,230,161,.35); }
.phone-search-results { display:grid; gap:10px; margin-top:12px; }
.phone-result { display:grid; grid-template-columns:120px minmax(0,1fr); gap:11px; border:1px solid var(--line); border-radius:15px; padding:9px; background:rgba(255,255,255,.04); }
.phone-result-media { position:relative; min-height:92px; overflow:hidden; border-radius:11px; background:#000; }
.phone-result img { width:100%; height:100%; object-fit:cover; }
.phone-result-media > button { position:absolute; z-index:5; left:7px; bottom:7px; min-height:38px; border:1px solid rgba(255,255,255,.35); border-radius:10px; color:#fff; background:rgba(0,0,0,.8); font-size:.7rem; font-weight:850; }
.phone-result-media > .phone-preview-stop { left:auto; right:7px; top:7px; bottom:auto; min-height:34px; border-radius:999px; padding:6px 9px; }
.phone-result strong,.phone-result span { display:block; }
.phone-result strong { font-size:.88rem; line-height:1.25; }
.phone-result span { margin:5px 0 8px; color:var(--muted); font-size:.72rem; }
.phone-preview-frame { position:absolute; z-index:3; inset:0; background:#000; }
.phone-preview-frame iframe { width:100%; height:100%; border:0; }

/* V10.6 optional one-iPhone show mode */
.phone-solo-card { margin:0 0 12px; padding:17px; border-color:rgba(16,202,245,.27); background:linear-gradient(135deg,rgba(16,202,245,.08),rgba(159,54,255,.07)); }
.phone-solo-card > summary { list-style:none; cursor:pointer; }
.phone-solo-card > summary::-webkit-details-marker { display:none; }
.phone-solo-card > summary::after { content:"Show setup"; flex:0 0 auto; border:1px solid var(--line); border-radius:999px; padding:6px 9px; color:var(--cyan); background:rgba(255,255,255,.04); font-size:.68rem; font-weight:900; letter-spacing:.04em; text-transform:uppercase; }
.phone-solo-card[open] > summary::after { content:"Hide setup"; }
.phone-solo-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.phone-solo-card h2 { margin:0; font-size:clamp(1.5rem,7vw,2rem); }
.phone-solo-actions { display:grid; gap:8px; margin-top:14px; }
.cast-button { gap:9px; }
.cast-icon { position:relative; width:23px; height:17px; display:inline-block; border:2px solid currentColor; border-radius:3px; vertical-align:-3px; }
.cast-icon::before,.cast-icon::after { content:""; position:absolute; left:-5px; bottom:-5px; border:2px solid currentColor; border-right:0; border-top:0; border-radius:0 0 0 8px; }
.cast-icon::before { width:7px; height:7px; }
.cast-icon::after { width:13px; height:13px; opacity:.7; }
.phone-stage-shell { position:fixed; z-index:-1; inset:0; overflow:hidden; color:#fff; background:#000; opacity:0; pointer-events:none; transition:opacity .18s ease; }
.phone-stage-shell.open { z-index:300; opacity:1; pointer-events:auto; }
.phone-stage-top { position:absolute; z-index:20; top:0; left:0; right:0; min-height:68px; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:calc(8px + env(safe-area-inset-top,0px)) 14px 8px; background:linear-gradient(to bottom,rgba(0,0,0,.88),transparent); }
.phone-stage-brand { display:flex; align-items:center; gap:8px; padding:5px 9px 5px 5px; border-radius:999px; background:rgba(0,0,0,.62); }
.phone-stage-brand img { width:38px; height:38px; object-fit:cover; border-radius:50%; clip-path:circle(49% at 50% 50%); background:#000; }
.phone-stage-brand strong { font-size:.92rem; }
.phone-stage-head-actions { display:flex; gap:7px; }
.phone-stage-head-actions button { min-height:42px; border:1px solid rgba(255,255,255,.25); border-radius:12px; padding:8px 12px; color:#fff; background:rgba(0,0,0,.7); font-weight:850; }
.phone-stage-head-actions .cast-icon { width:20px; height:15px; }
.phone-stage-scene { position:absolute; inset:0; min-width:0; display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,.7fr); align-items:center; gap:4vw; padding:calc(78px + env(safe-area-inset-top,0px)) 5vw calc(96px + env(safe-area-inset-bottom,0px)); background:
  radial-gradient(circle at 18% 20%,rgba(255,28,145,.2),transparent 36%),
  radial-gradient(circle at 85% 22%,rgba(16,202,245,.18),transparent 38%),
  #080812; opacity:0; pointer-events:none; transition:opacity .2s ease; }
.phone-stage-scene.active { z-index:2; opacity:1; pointer-events:auto; }
.phone-stage-copy { min-width:0; }
.phone-stage-copy h1,.phone-stage-centered h1 { margin:.1em 0 .18em; font-size:clamp(2.7rem,8vw,7rem); line-height:.92; letter-spacing:-.055em; text-wrap:balance; }
.phone-stage-copy p,.phone-stage-centered p { color:#cbc9d6; font-size:clamp(1rem,2.2vw,1.65rem); line-height:1.4; }
.phone-stage-url { display:block; margin-top:1em; color:var(--cyan); font-size:clamp(1.2rem,2.5vw,2rem); }
.phone-stage-next { margin-top:1.2em; border:1px solid rgba(49,230,161,.4); border-radius:14px; padding:12px 14px; color:var(--green); background:rgba(49,230,161,.09); font-weight:850; }
.phone-stage-qr { justify-self:center; width:min(42vw,67vh,720px); aspect-ratio:1; padding:clamp(10px,1.4vw,18px); border-radius:clamp(16px,2vw,28px); background:#fff; box-shadow:0 0 70px rgba(16,202,245,.18); }
.phone-stage-qr img { width:100%; height:100%; object-fit:contain; }
.phone-stage-centered { grid-column:1/-1; width:min(1100px,92vw); justify-self:center; text-align:center; }
.phone-stage-video { display:block; padding:0; background:#000; }
.phone-stage-video #phone-solo-player,.phone-stage-video #phone-solo-player > div,.phone-stage-video iframe { width:100%!important; height:100%!important; border:0; pointer-events:none; }
.phone-stage-tap-layer { position:absolute; z-index:12; inset:68px 0 82px; border:0; color:transparent; background:transparent; touch-action:manipulation; }
.phone-stage-video-label { position:absolute; z-index:4; left:16px; top:calc(72px + env(safe-area-inset-top,0px)); max-width:70vw; padding:9px 12px; border-radius:12px; background:rgba(0,0,0,.64); }
.phone-stage-video-label strong,.phone-stage-video-label span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.phone-stage-video-label span { color:rgba(255,255,255,.72); font-size:.78rem; }
.phone-stage-winners { display:grid; gap:9px; width:min(680px,90vw); margin:20px auto; }
.phone-stage-winner { display:grid; grid-template-columns:44px minmax(0,1fr) auto; align-items:center; gap:10px; border:1px solid rgba(255,255,255,.14); border-radius:14px; padding:11px 13px; background:rgba(255,255,255,.06); text-align:left; }
.phone-stage-winner:first-child { border-color:rgba(255,189,80,.5); background:rgba(255,189,80,.11); }
.phone-stage-winner b { display:grid; place-items:center; width:36px; height:36px; border-radius:50%; color:#171000; background:var(--amber); }
.phone-stage-winner span { color:var(--pink); font-weight:900; }
.phone-stage-controls { position:absolute; z-index:25; left:50%; bottom:calc(8px + env(safe-area-inset-bottom,0px)); translate:-50% 0; width:min(620px,calc(100% - 16px)); display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; padding:6px; border:1px solid rgba(255,255,255,.17); border-radius:17px; background:rgba(6,6,14,.88); backdrop-filter:blur(18px); }
.phone-stage-controls button { min-height:54px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; border:0; border-radius:12px; color:#fff; background:rgba(255,255,255,.06); font-weight:850; }
.phone-stage-controls b { font-size:1.15rem; }
.phone-stage-controls span { font-size:.67rem; }
.phone-stage-top,.phone-stage-controls { transition:opacity .18s ease,transform .18s ease; }
.phone-stage-shell.stage-chrome-hidden .phone-stage-top { opacity:0; transform:translateY(-18px); pointer-events:none; }
.phone-stage-shell.stage-chrome-hidden .phone-stage-controls { opacity:0; transform:translateY(18px); pointer-events:none; }
.phone-stage-resume { position:absolute; z-index:40; inset:0; width:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; border:0; color:#fff; background:rgba(3,3,10,.9); font-size:1rem; }
.phone-stage-resume strong { font-size:clamp(2.2rem,10vw,5rem); }
.phone-stage-resume span { color:var(--cyan); font-size:clamp(1rem,4vw,1.5rem); font-weight:850; }
.phone-stage-resume[hidden] { display:none; }
body.phone-stage-open { overflow:hidden; }
#phone-mirror-modal { z-index:410; }
.mirror-steps { display:grid; gap:10px; margin:14px 0; padding-left:24px; color:var(--muted); line-height:1.45; }
.mirror-steps strong { color:#fff; }

@media (max-width:700px) and (orientation:portrait) {
  .phone-stage-scene { grid-template-columns:1fr; align-content:center; gap:16px; padding-inline:20px; text-align:center; }
  .phone-stage-copy h1,.phone-stage-centered h1 { font-size:clamp(2.5rem,12vw,4.6rem); }
  .phone-stage-copy p,.phone-stage-centered p { font-size:1rem; }
  .phone-stage-qr { width:min(74vw,38vh,500px); }
  .phone-stage-next { margin-top:.7em; }
}

@media (max-width: 980px) {
  .show-lifecycle-card { align-items:flex-start; }
  .lifecycle-actions { justify-content:flex-start; }
}
@media (max-width: 760px) {
  .manager-sticky { display:grid; }
  .show-lifecycle-card { display:grid; padding:16px; }
  .lifecycle-actions { display:grid; grid-template-columns:1fr; width:100%; }
  .lifecycle-actions .btn { width:100%; }
  .manager-head-actions .status-chip { display:none; }
  .manager-head-actions .btn { padding-inline:10px; }
  .primary-transport { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .primary-transport .btn:last-child { grid-column:1/-1; }
  .manager-command-deck .manager-player-wrap { max-height:none; }
  .manager-tools > summary small { display:none; }
  .finale-winners { gap:1vw; }
}
