@font-face { font-family:"Space Mono"; font-weight:400; font-display:swap; src:url("/static/fonts/space-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family:"Space Mono"; font-weight:700; font-display:swap; src:url("/static/fonts/space-mono-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg:#0a0414; --ink:#fff6e0; --dim:#b3a0cf; --gold:#ffc24a; --gold2:#ff8a1f; --hot:#ff2e7e; --cy:#35e0ff; --ok:#2dff9a; --bad:#ff3b4e; --vio:#8f5bff;
  --panel:rgba(22,11,44,.82); --line:rgba(255,194,74,.3); --pc:#ffc24a; --mood:#ffc24a;
  --show:"Avenir Next Condensed", "HelveticaNeue-CondensedBlack", "Arial Narrow", Impact, sans-serif;
  --mono:"Space Mono", ui-monospace, Menlo, monospace;
}
.c0 { --pc:#ffc24a; } .c1 { --pc:#35e0ff; } .c2 { --pc:#ff2e7e; } .c3 { --pc:#2dff9a; }
.c4 { --pc:#b78bff; } .c5 { --pc:#ff7a3d; } .c6 { --pc:#f4f06a; } .c7 { --pc:#7fa8ff; }
body[data-mood=gold] { --mood:#ffc24a; } body[data-mood=cyan] { --mood:#35e0ff; } body[data-mood=hot] { --mood:#ff2e7e; }
body[data-mood=ok] { --mood:#2dff9a; } body[data-mood=bad] { --mood:#ff3b4e; } body[data-mood=vio] { --mood:#8f5bff; }

* { box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
[hidden] { display:none !important; }
html, body { height:100%; }
body { margin:0; background:radial-gradient(ellipse 120% 80% at 50% -10%, #3a1670 0%, #170a30 45%, var(--bg) 78%); color:var(--ink); font:400 15px/1.45 var(--mono);
  overflow:hidden; display:flex; flex-direction:column; touch-action:manipulation; user-select:none; -webkit-user-select:none; }
input, select, button { font:inherit; color:inherit; }
input { user-select:text; -webkit-user-select:text; }
#fx { position:fixed; inset:0; width:100%; height:100%; pointer-events:none; z-index:0; }
body::after { content:""; position:fixed; inset:0; pointer-events:none; z-index:0; background:radial-gradient(ellipse at 50% 55%, transparent 45%, rgba(0,0,0,.72) 100%); }
.flash { position:fixed; inset:0; z-index:6; pointer-events:none; opacity:0; background:var(--fc, #fff); mix-blend-mode:screen; }
.flash.go { animation:flash .7s ease-out; }
@keyframes flash { 0% { opacity:.5; } 100% { opacity:0; } }

/* ---------- Leiste ---------- */
.bar { position:relative; z-index:3; display:flex; align-items:center; gap:10px; padding:8px 14px; padding-top:max(8px, env(safe-area-inset-top)); background:linear-gradient(180deg, rgba(6,2,14,.9), rgba(6,2,14,.35)); border-bottom:1px solid rgba(255,255,255,.07); }
.grow { flex:1; }
.logo, .title { font-family:var(--show); font-weight:800; font-style:italic; letter-spacing:.01em; }
.logo { font-size:22px; text-shadow:0 2px 0 #000; } .logo span, .title span { color:var(--gold); }
.where { color:var(--dim); font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; letter-spacing:.08em; text-transform:uppercase; }
.ghost { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.16); border-radius:999px; padding:5px 13px; font-size:12px; color:var(--dim); cursor:pointer; text-decoration:none; white-space:nowrap; backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
.ghost:hover { color:var(--ink); border-color:var(--gold); }
body[data-role=player] #mute, body[data-role=player] #full, body[data-role=door] #full { display:none; }
body.cinema .bar { opacity:0; transition:opacity .4s; } body.cinema .bar:hover { opacity:1; }

/* ---------- Schriftzug mit Lauflicht ---------- */
.marquee { position:relative; flex:none; padding:clamp(12px, min(2.6vw, 3vh), 34px) clamp(26px, 5vw, 70px); border-radius:clamp(20px, 3vw, 44px); background:linear-gradient(180deg, #2a0f52, #12062a); transform:rotate(-2.5deg);
  box-shadow:0 0 0 3px #000, 0 0 0 7px var(--gold), 0 0 0 10px #000, 0 30px 80px rgba(0,0,0,.7), 0 0 120px rgba(255,194,74,.28); text-align:center; }
.marquee::before { content:""; position:absolute; inset:9px; border-radius:inherit; pointer-events:none; opacity:.95;
  background:radial-gradient(circle, #fff7d6 0 2.6px, rgba(255,214,120,.55) 3px 4.4px, transparent 5px) 0 0 / 26px 26px;
  -webkit-mask:linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask:linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); padding:15px; animation:bulbs 1s steps(2) infinite; }
@keyframes bulbs { 50% { opacity:.45; background-position:13px 13px; } }
.title { font-size:clamp(50px, min(13vw, 19vh), 168px); line-height:.86; margin:0; color:#fff;
  text-shadow:0 2px 0 #d9cfff, 0 4px 0 #a48cff, 0 6px 0 #5a35c9, 0 8px 0 #2a0f6e, 0 12px 0 #000, 0 0 70px rgba(255,194,74,.5); }
.title span { background:linear-gradient(180deg, #fff1b8 5%, var(--gold) 45%, var(--gold2) 95%); -webkit-background-clip:text; background-clip:text; color:transparent;
  text-shadow:none; filter:drop-shadow(0 3px 0 #a04d00) drop-shadow(0 7px 0 #4a1f00) drop-shadow(0 11px 0 #000); }
.tag { margin:.35em 0 0; font-family:var(--show); font-weight:800; font-size:clamp(14px, 2.2vw, 28px); letter-spacing:.5em; text-transform:uppercase; color:var(--cy); text-shadow:0 0 18px var(--cy); padding-left:.5em; }
.sub { color:var(--dim); margin:clamp(12px, 2.6vh, 26px) 0 0; text-align:center; max-width:52ch; font-size:clamp(13px, 1.3vw, 17px); }
.note { color:var(--bad); min-height:1.5em; margin:10px 0 0; text-align:center; }
.big { font-family:var(--show); font-weight:800; font-size:24px; letter-spacing:.05em; text-transform:uppercase; color:#2a1200; border:0; border-radius:16px; padding:14px 28px; cursor:pointer;
  background:linear-gradient(180deg, #ffe9a6, var(--gold) 45%, var(--gold2)); box-shadow:0 7px 0 #8a4a05, 0 16px 34px rgba(0,0,0,.55), inset 0 2px 0 rgba(255,255,255,.7); transition:transform .08s, box-shadow .08s, filter .2s; }
.big:hover { filter:brightness(1.08); }
.big:active { transform:translateY(6px); box-shadow:0 1px 0 #8a4a05, inset 0 2px 0 rgba(255,255,255,.7); }
.big:disabled { filter:grayscale(1) brightness(.55); cursor:default; }
.big.huge { font-size:clamp(26px, 3.4vw, 46px); padding:16px 54px; border-radius:22px; animation:beckon 1.6s ease-in-out infinite; }
.big.huge:disabled { animation:none; }
@keyframes beckon { 50% { transform:scale(1.045); box-shadow:0 7px 0 #8a4a05, 0 0 70px rgba(255,194,74,.7), inset 0 2px 0 rgba(255,255,255,.7); } }

/* ---------- Eingang und Lobby ---------- */
.door, .lobby { position:relative; z-index:1; flex:1; display:flex; flex-direction:column; align-items:center; justify-content:safe center; padding:26px 16px; overflow:auto; }
.cards { display:flex; flex-wrap:wrap; gap:18px; justify-content:center; margin-top:30px; width:100%; max-width:860px; }
.card, .panel { background:var(--panel); border:1px solid var(--line); border-radius:20px; backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); box-shadow:0 18px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08); }
.card { flex:1 1 300px; max-width:410px; padding:20px; display:flex; flex-direction:column; gap:12px; }
.card.hot { border-color:var(--hot); box-shadow:0 18px 50px rgba(0,0,0,.45), 0 0 50px rgba(255,46,126,.3); }
.card h2 { font-family:var(--show); font-weight:800; font-size:28px; margin:0; text-transform:uppercase; letter-spacing:.03em; }
.card p { margin:0; color:var(--dim); font-size:13px; }
label { display:flex; flex-direction:column; gap:5px; font-size:12px; color:var(--dim); flex:1; min-width:0; }
input, select { background:#0a0416; border:1px solid var(--line); border-radius:11px; padding:11px 12px; font-size:16px; color:var(--ink); width:100%; min-width:0; }
input:focus, select:focus, button:focus-visible { outline:2px solid var(--cy); outline-offset:2px; }
.row { display:flex; gap:10px; align-items:flex-end; }
.joinbox { display:flex; flex-wrap:wrap; gap:14px; margin:clamp(12px, 2.6vh, 26px) 0 0; justify-content:center; }
.panel { padding:14px 18px; display:flex; flex-direction:column; gap:6px; min-width:270px; }
.panel small { color:var(--dim); font-size:12px; }
.panel b { font-size:clamp(15px, 2vw, 23px); color:var(--cy); user-select:text; -webkit-user-select:text; word-break:break-all; text-shadow:0 0 16px rgba(53,224,255,.5); }
.howto { list-style:none; margin:clamp(10px, 2vh, 20px) 0 clamp(12px, 2.6vh, 26px); padding:0; display:flex; flex-wrap:wrap; gap:10px 26px; justify-content:center; color:var(--dim); font-size:13px; }
.howto li { display:flex; align-items:center; gap:9px; }
.howto b { width:1.9em; height:1.9em; display:grid; place-items:center; border-radius:50%; background:var(--gold); color:#2a1200; font-family:var(--show); font-size:15px; }

/* ---------- Bühne ---------- */
.stage { position:relative; z-index:1; flex:1; min-height:0; display:flex; flex-direction:column; }
.play { flex:1; min-height:0; display:flex; flex-direction:column; padding:0 3vw; }
.board { flex:1; min-height:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1.5vh; text-align:center; }
.board.shake { animation:shake .5s; }
@keyframes shake { 15% { transform:translateX(-14px) rotate(-.6deg); } 35% { transform:translateX(12px) rotate(.5deg); } 55% { transform:translateX(-8px); } 75% { transform:translateX(5px); } }
.head { display:flex; gap:10px; }
.chip { border:1px solid rgba(255,255,255,.2); background:rgba(0,0,0,.4); border-radius:99px; padding:4px 16px; font-size:clamp(11px, 1.05vw, 15px); color:var(--ink); text-transform:uppercase; letter-spacing:.16em; }
.chip:empty { display:none; }
.chip.gold { color:#2a1200; background:linear-gradient(180deg, #ffe9a6, var(--gold)); border-color:var(--gold); font-weight:700; box-shadow:0 0 22px rgba(255,194,74,.5); }
.headline { font-family:var(--show); font-weight:800; font-style:italic; font-size:clamp(26px, 4.4vw, 70px); line-height:1; margin:0; text-transform:uppercase; text-wrap:balance; max-width:min(1100px, 100%);
  background:linear-gradient(180deg, #fff1b8, var(--gold) 50%, var(--gold2)); -webkit-background-clip:text; background-clip:text; color:transparent; filter:drop-shadow(0 3px 0 #5a2600) drop-shadow(0 6px 0 #000); animation:slam .5s cubic-bezier(.2,1.5,.4,1) backwards; }
.headline:empty { display:none; }
.headline.long { font-size:clamp(20px, 2.9vw, 44px); }
body[data-phase=final] .headline { font-size:clamp(60px, min(12vw, 20vh), 190px); }
@keyframes slam { from { opacity:0; transform:scale(1.7) rotate(-4deg); } }
.screen { position:relative; width:min(1100px, 100%); padding:clamp(14px, 2.4vh, 30px) clamp(18px, 3vw, 46px); border-radius:26px; background:linear-gradient(180deg, rgba(40,20,84,.9), rgba(14,6,34,.92));
  border:2px solid var(--mood); box-shadow:0 0 0 5px rgba(0,0,0,.6), 0 0 60px color-mix(in srgb, var(--mood) 40%, transparent), inset 0 2px 0 rgba(255,255,255,.14), inset 0 -30px 60px rgba(0,0,0,.35); transition:border-color .4s, box-shadow .4s; }
.screen::before { content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:linear-gradient(115deg, rgba(255,255,255,.13) 0 18%, transparent 30%); }
.question { font-size:clamp(19px, 2.7vw, 42px); line-height:1.22; margin:0; font-weight:700; text-wrap:balance; min-height:1.3em; }
.question:empty { min-height:0; } .screen.empty { display:none; }
.ring { position:absolute; right:-22px; top:-26px; width:clamp(64px, 7vw, 104px); aspect-ratio:1; border-radius:50%; background:#0a0416; box-shadow:0 0 0 4px #000, 0 10px 30px rgba(0,0,0,.6); display:grid; place-items:center; }
.ring svg { position:absolute; inset:0; transform:rotate(-90deg); }
.ring circle { fill:none; stroke-width:9; }
.ring .track { stroke:rgba(255,255,255,.1); }
.ring .arc { stroke:var(--gold); stroke-linecap:round; stroke-dasharray:276.5; transition:stroke .3s; }
.ring b { position:relative; font-family:var(--show); font-weight:800; font-size:clamp(26px, 3vw, 46px); }
.ring.low .arc { stroke:var(--bad); } .ring.low b { color:var(--bad); animation:pop .5s infinite; }
.options { list-style:none; margin:.6vh 0 0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:clamp(8px, 1.4vh, 14px) 16px; width:min(1100px, 100%); }
.options li { position:relative; display:flex; align-items:center; gap:14px; padding:clamp(9px, 1.5vh, 16px) 18px; border-radius:999px; font-size:clamp(16px, 2vw, 30px); font-weight:700; text-align:left; overflow:hidden;
  background:linear-gradient(180deg, rgba(48,26,96,.95), rgba(20,9,46,.95)); border:2px solid rgba(255,255,255,.2); box-shadow:0 6px 0 rgba(0,0,0,.5), inset 0 2px 0 rgba(255,255,255,.14); animation:drop .4s cubic-bezier(.2,1.4,.4,1) backwards; }
.options li:nth-child(2) { animation-delay:.08s; } .options li:nth-child(3) { animation-delay:.16s; } .options li:nth-child(4) { animation-delay:.24s; }
.options li b { flex:none; width:1.75em; height:1.75em; display:grid; place-items:center; border-radius:50%; font-family:var(--show); font-weight:800; color:#2a1200; background:radial-gradient(circle at 35% 30%, #fff1b8, var(--gold) 55%, var(--gold2)); box-shadow:0 3px 0 #8a4a05; }
.options li.pick { cursor:pointer; border-color:var(--cy); box-shadow:0 6px 0 rgba(0,0,0,.5), 0 0 26px rgba(53,224,255,.45); }
.options li.out { opacity:.28; filter:grayscale(1); } .options li.out span { text-decoration:line-through; }
.options li.good { border-color:var(--ok); background:linear-gradient(180deg, #17a35f, #0a5a34); box-shadow:0 6px 0 rgba(0,0,0,.5), 0 0 60px rgba(45,255,154,.65); animation:win 1s cubic-bezier(.2,1.5,.4,1); }
.options li.good::after { content:""; position:absolute; inset:0; background:linear-gradient(100deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); animation:sheen 1.4s .2s; transform:translateX(-120%); }
.options li.bad { border-color:var(--bad); background:linear-gradient(180deg, #8f1c2a, #4a0a14); animation:shake .5s; }
@keyframes drop { from { opacity:0; transform:translateY(-22px) scale(.92); } }
@keyframes pop { 40% { transform:scale(1.08); } }
@keyframes win { 0% { transform:scale(1); } 30% { transform:scale(1.09); } 100% { transform:scale(1.03); } }
@keyframes sheen { to { transform:translateX(120%); } }
.sides { display:flex; align-items:center; gap:2vw; width:min(1100px, 100%); }
.sides > span { color:var(--dim); text-transform:uppercase; letter-spacing:.2em; font-size:13px; }
.side { flex:1; border:3px solid var(--pc); border-radius:24px; padding:2.2vh 12px; font-family:var(--show); font-weight:800; font-size:clamp(22px, 3.4vw, 54px); text-transform:uppercase; background:linear-gradient(180deg, rgba(40,20,84,.9), rgba(14,6,34,.92)); box-shadow:0 8px 0 rgba(0,0,0,.5), 0 0 30px color-mix(in srgb, var(--pc) 30%, transparent); transition:opacity .3s; }
.side.a { --pc:var(--cy); color:var(--cy); } .side.b { --pc:var(--hot); color:var(--hot); }
.side.good { background:var(--pc); color:#12061f; box-shadow:0 8px 0 rgba(0,0,0,.5), 0 0 70px var(--pc); animation:win .8s cubic-bezier(.2,1.5,.4,1); }
.side.dim { opacity:.25; }
.side small { display:block; font:400 13px var(--mono); letter-spacing:0; text-transform:none; min-height:1.4em; color:inherit; opacity:.9; }
.banner { min-height:1.4em; margin:0; font-family:var(--show); font-weight:800; font-size:clamp(20px, 2.8vw, 42px); text-transform:uppercase; color:var(--hot); letter-spacing:.05em; text-shadow:0 0 24px rgba(255,46,126,.6), 0 3px 0 #000; }
body[data-phase=open] .banner { animation:pop .7s infinite; }
.hostline { margin:0 0 8px; display:flex; gap:12px; align-items:baseline; justify-content:center; color:#e6dbff; font-size:clamp(13px, 1.25vw, 18px); min-height:3em; text-shadow:0 2px 6px #000; }
.hostline b { color:var(--gold); text-transform:uppercase; letter-spacing:.16em; font-size:.78em; flex:none; }
.hostline span { max-width:90ch; }

/* ---------- Pulte ---------- */
.podiums { list-style:none; margin:0; padding:16px 3vw max(12px, env(safe-area-inset-bottom)); display:flex; gap:12px; justify-content:center; align-items:flex-end; flex-wrap:wrap; }
.podiums li { position:relative; flex:1 1 120px; max-width:230px; padding:10px 10px 7px; text-align:center; border-radius:16px 16px 4px 4px; background:linear-gradient(180deg, color-mix(in srgb, var(--pc) 26%, #170a30), #0d0520 70%);
  border:2px solid var(--pc); border-bottom:10px solid var(--pc); box-shadow:0 10px 30px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.18); transition:transform .2s cubic-bezier(.2,1.5,.4,1), box-shadow .2s; animation:rise-in .5s cubic-bezier(.2,1.4,.4,1) backwards; }
@keyframes rise-in { from { opacity:0; transform:translateY(40px); } }
.podiums .av { position:absolute; left:50%; top:-15px; transform:translateX(-50%); width:30px; height:30px; border-radius:50%; display:grid; place-items:center; font-family:var(--show); font-weight:800; font-size:17px; color:#12061f; background:var(--pc); box-shadow:0 0 0 3px #0d0520, 0 0 18px var(--pc); }
.podiums .n { display:block; margin-top:8px; font-family:var(--show); font-weight:800; font-size:clamp(17px, 1.9vw, 28px); color:var(--pc); text-transform:uppercase; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.podiums .s { display:block; font-size:clamp(18px, 2.1vw, 32px); font-weight:700; font-variant-numeric:tabular-nums; text-shadow:0 0 14px color-mix(in srgb, var(--pc) 60%, transparent); }
.podiums .d { position:absolute; right:4px; top:-18px; z-index:2; font-weight:700; font-size:clamp(16px, 1.6vw, 24px); padding:1px 10px; border-radius:99px; background:var(--ok); color:#04130b; box-shadow:0 0 22px var(--ok); animation:rise 2.6s forwards; }
.podiums .d.minus { background:var(--bad); color:#fff; box-shadow:0 0 22px var(--bad); }
@keyframes rise { 0% { transform:translateY(18px) scale(.5); opacity:0; } 12% { transform:scale(1.15); opacity:1; } 20% { transform:none; } 80% { opacity:1; } 100% { transform:translateY(-16px); opacity:0; } }
.podiums li.lit { transform:translateY(-14px) scale(1.08); background:linear-gradient(180deg, #fff, var(--pc) 40%); box-shadow:0 0 70px var(--pc), 0 0 0 4px #fff; z-index:2; }
.podiums li.lit .n, .podiums li.lit .s { color:#12061f; text-shadow:none; }
.podiums li.locked { opacity:.35; filter:grayscale(.7); }
.podiums li.done::after { content:"✓"; position:absolute; left:8px; top:6px; font-weight:700; color:var(--pc); }
.podiums li.lead .av::after { content:"👑"; position:absolute; top:-19px; font-size:18px; }
.podiums li.win { animation:pop .9s infinite; box-shadow:0 0 80px var(--pc), 0 0 0 4px #fff; }
.podiums li.target { cursor:pointer; outline:3px dashed var(--hot); outline-offset:4px; animation:pop .8s infinite; }
body[data-phase=final] .podiums li:nth-child(1) { padding-bottom:54px; } body[data-phase=final] .podiums li:nth-child(2) { padding-bottom:30px; } body[data-phase=final] .podiums li:nth-child(3) { padding-bottom:14px; }
.podiums .tags { display:flex; gap:5px; justify-content:center; min-height:22px; margin-top:3px; flex-wrap:wrap; }
.podiums .tags button, .podiums .tags span { font-size:11px; border:1px solid rgba(255,255,255,.22); background:rgba(0,0,0,.5); color:var(--ink); border-radius:7px; padding:1px 7px; cursor:pointer; }
.podiums .tags span { cursor:default; color:var(--dim); }
.podiums .tags .jack { color:var(--hot); border-color:var(--hot); }
.podiums .x { position:absolute; left:4px; top:2px; background:none; border:0; color:var(--dim); cursor:pointer; font-size:15px; z-index:2; }

/* ---------- Einblendung ---------- */
.stinger { position:fixed; inset:0; z-index:7; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.5vh; pointer-events:none; text-align:center; padding:0 4vw;
  background:radial-gradient(ellipse at center, color-mix(in srgb, var(--sc, #ffc24a) 35%, transparent) 0%, rgba(6,2,14,.86) 62%); animation:sting var(--dur, 1.6s) both; }
.stinger b { font-family:var(--show); font-weight:800; font-style:italic; font-size:clamp(54px, 13vw, 210px); line-height:.9; text-transform:uppercase; color:#fff; -webkit-text-stroke:2px #000;
  text-shadow:0 5px 0 var(--sc, #ffc24a), 0 11px 0 #000, 0 0 90px var(--sc, #ffc24a); animation:slamin var(--dur, 1.6s) both; }
.stinger small, .stinger i { font-family:var(--show); font-weight:800; font-style:normal; font-size:clamp(16px, 2.6vw, 38px); letter-spacing:.4em; text-transform:uppercase; color:var(--sc, #ffc24a); text-shadow:0 2px 0 #000; padding-left:.4em; }
.stinger small:empty, .stinger i:empty { display:none; }
@keyframes sting { 0% { opacity:0; } 8% { opacity:1; } 82% { opacity:1; } 100% { opacity:0; } }
@keyframes slamin { 0% { transform:scale(3.4) rotate(-8deg); opacity:0; } 14% { transform:scale(.94) rotate(-3deg); opacity:1; } 20% { transform:scale(1.03) rotate(-3deg); } 26%, 80% { transform:scale(1) rotate(-3deg); } 100% { transform:scale(1.25) rotate(-3deg); opacity:0; } }

/* ---------- Buzzer auf dem eigenen Gerät ---------- */
.pad { position:relative; z-index:1; flex:1; min-height:0; display:flex; flex-direction:column; align-items:center; gap:14px; padding:14px 16px max(18px, env(safe-area-inset-bottom)); overflow:auto;
  background:radial-gradient(ellipse 120% 60% at 50% 0%, color-mix(in srgb, var(--pc) 30%, transparent), transparent 70%); }
.meter { height:9px; width:100%; background:rgba(255,255,255,.1); border-radius:99px; overflow:hidden; }
.meter i { display:block; height:100%; width:0; background:linear-gradient(90deg, var(--hot), var(--gold)); border-radius:99px; }
.me { width:100%; display:flex; justify-content:space-between; align-items:baseline; font-family:var(--show); font-weight:800; text-transform:uppercase; }
.me b { font-size:30px; color:var(--pc); text-shadow:0 0 18px color-mix(in srgb, var(--pc) 60%, transparent); } .me span { font-size:38px; font-variant-numeric:tabular-nums; }
.padtext { margin:0; text-align:center; font-size:20px; font-weight:700; min-height:2.9em; max-width:28ch; text-wrap:balance; }
.padnote { margin:0; text-align:center; color:var(--dim); font-size:14px; min-height:1.5em; }
.padnote.plus { color:var(--ok); font-weight:700; font-size:22px; } .padnote.minus { color:var(--bad); font-weight:700; font-size:22px; }
.buzzer { position:relative; flex:none; width:min(74vw, 46vh, 350px); aspect-ratio:1; border-radius:50%; border:0; cursor:pointer; margin:auto 0;
  background:radial-gradient(circle at 35% 26%, #ffb3cc, var(--hot) 42%, #86083a 100%); box-shadow:0 0 0 12px #1c0b33, 0 0 0 16px #3c1d6e, 0 16px 0 16px #0b0418, 0 40px 70px rgba(0,0,0,.7), inset 0 -14px 34px rgba(0,0,0,.4), inset 0 8px 18px rgba(255,255,255,.35); transition:transform .06s, box-shadow .06s; }
.buzzer span { font-family:var(--show); font-weight:800; font-style:italic; font-size:clamp(44px, 14vw, 78px); color:#fff; text-shadow:0 4px 0 rgba(0,0,0,.4); letter-spacing:.06em; }
.buzzer:active { transform:translateY(12px) scale(.98); box-shadow:0 0 0 12px #1c0b33, 0 0 0 16px #3c1d6e, 0 4px 0 16px #0b0418, 0 10px 20px rgba(0,0,0,.7), inset 0 -14px 34px rgba(0,0,0,.4); }
.buzzer:disabled { filter:grayscale(1) brightness(.45); cursor:default; }
.buzzer.ready::before, .buzzer.ready::after { content:""; position:absolute; inset:-16px; border-radius:50%; border:3px solid var(--hot); animation:ripple 1.4s infinite; }
.buzzer.ready::after { animation-delay:.7s; }
@keyframes ripple { from { transform:scale(1); opacity:.9; } to { transform:scale(1.35); opacity:0; } }
.peter { background:rgba(0,0,0,.5); border:2px solid var(--hot); color:var(--hot); border-radius:14px; padding:12px 18px; font-weight:700; cursor:pointer; }
.choices { width:100%; max-width:520px; display:flex; flex-direction:column; gap:10px; margin:auto 0; }
.choices button { display:flex; align-items:center; gap:12px; text-align:left; background:linear-gradient(180deg, rgba(48,26,96,.95), rgba(20,9,46,.95)); border:2px solid rgba(255,255,255,.22); border-radius:999px; padding:14px 18px; font-size:19px; font-weight:700; cursor:pointer; box-shadow:0 5px 0 rgba(0,0,0,.5); }
.choices button b { flex:none; width:1.8em; height:1.8em; display:grid; place-items:center; border-radius:50%; background:radial-gradient(circle at 35% 30%, #fff1b8, var(--gold) 55%, var(--gold2)); color:#2a1200; font-family:var(--show); }
.choices button[class^=c] { border-color:var(--pc); color:var(--pc); justify-content:center; font-family:var(--show); font-size:26px; text-transform:uppercase; }
.choices button:active { border-color:var(--cy); transform:translateY(4px); box-shadow:none; }
.choices button:disabled { opacity:.3; text-decoration:line-through; }
.bins { width:100%; flex:1; display:flex; flex-direction:column; gap:14px; min-height:260px; }
.bins button { flex:1; border-radius:26px; border:4px solid var(--pc); background:linear-gradient(180deg, rgba(40,20,84,.9), rgba(14,6,34,.92)); color:var(--pc); font-family:var(--show); font-weight:800; font-size:clamp(28px, 9vw, 54px); text-transform:uppercase; cursor:pointer; box-shadow:0 8px 0 rgba(0,0,0,.5); }
.bins button[data-side=a] { --pc:var(--cy); } .bins button[data-side=b] { --pc:var(--hot); }
.bins button:active, .bins button.good { background:var(--pc); color:#12061f; }
.bins button.mine { outline:5px solid #fff; outline-offset:-14px; }
.bins button:disabled:not(.mine):not(.good) { opacity:.25; }
.bins button.good { box-shadow:0 0 60px var(--pc); }

.unlock { position:fixed; inset:auto 0 0 0; z-index:9; padding:18px; border:0; background:var(--hot); color:#fff; font-weight:700; font-size:17px; cursor:pointer; }

@media (max-width:700px) {
  .options { grid-template-columns:1fr; gap:8px; }
  .podiums li { flex-basis:88px; padding:8px 6px 4px; }
  .hostline { font-size:12px; }
  .ring { right:-6px; top:-30px; }
  .howto { display:none; }
}
@media (max-height:640px) and (min-width:701px) { .hostline { min-height:2em; } .headline { font-size:clamp(22px, 3.4vw, 46px); } }
@media (prefers-reduced-motion:reduce) { .marquee::before, .buzzer.ready::before, .buzzer.ready::after, .podiums li.win, .big.huge, body[data-phase=open] .banner { animation:none; } }

/* Lobby: Start-Knopf muss ohne Scrollen sichtbar bleiben */
.lobby { padding-top:18px; padding-bottom:10px; }
.lobby .title { font-size:clamp(44px, min(11vw, 14vh), 150px); }
.lobby .big.huge { margin-top:clamp(12px, 2.4vh, 26px); flex:none; }
@media (min-width:760px) { .lobby .joinbox { flex-wrap:nowrap; } .lobby .panel { min-width:0; } }
@media (max-height:900px) { .lobby .howto { display:none; } }

/* ---------- Beitreten per QR-Code, Einstellungen ---------- */
.panel.join { flex-direction:row; align-items:center; gap:16px; }
.panel.join > div:last-child { display:flex; flex-direction:column; gap:6px; min-width:0; }
.qr { flex:none; width:clamp(96px, 17vh, 210px); padding:6px; border-radius:14px; background:#fff; box-shadow:0 0 30px rgba(53,224,255,.45); }
.qr img { display:block; width:100%; image-rendering:pixelated; }
.setupline { margin:clamp(8px, 1.6vh, 16px) 0 0; color:var(--ink); font-size:clamp(12px, 1.2vw, 16px); text-align:center; }
.padsetup { width:100%; max-width:520px; display:flex; flex-direction:column; gap:12px; background:var(--panel); border:1px solid var(--line); border-radius:20px; padding:16px; margin:auto 0; }
.padsetup .big { margin-top:4px; }
#pagain { margin:auto 0; }

/* ---------- Fernseher (TV-App): keine Leiste, alles größer, Bedienung am Handy ---------- */
body.tv { cursor:none; }
body.tv .bar, body.tv #localform, body.tv .howto, body.tv #newform label, body.tv #newform .row, body.tv #newhint, body.tv #joinform, body.tv .door .sub { display:none; }
body.tv .stage { padding-top:2.5vh; }
body.tv .play { padding:0 4vw; }
body.tv .podiums { padding-left:4vw; padding-right:4vw; padding-bottom:3vh; }
body.tv .lobby { padding-top:1.5vh; justify-content:flex-start; }
body.tv .lobby .title { font-size:clamp(34px, min(9vw, 12vh), 170px); }
body.tv .lobby .marquee { padding:1.6vh 4vw; }
body.tv .lobby .tag { font-size:clamp(11px, 1.6vw, 26px); }
body.tv #lobbysub { display:none; }
body.tv .lobby .joinbox { margin-top:3.4vh; }
body.tv .lobby .big.huge { font-size:clamp(18px, 2.6vw, 44px); padding:1.4vh 4vw; margin-top:1.6vh; animation:none; }
body.tv .podiums li { padding-top:1.4vh; padding-bottom:.8vh; }
body.tv .qr { width:clamp(100px, 23vh, 300px); }
body.tv .panel b { font-size:clamp(16px, 2.6vw, 44px); }
body.tv .panel small, body.tv .setupline { font-size:clamp(11px, 1.5vw, 24px); }
body.tv .hostline { font-size:clamp(12px, 1.6vw, 26px); }
body.tv .big:focus { outline:4px solid #fff; outline-offset:4px; }
body.tv .unlock { font-size:clamp(16px, 2.4vw, 34px); padding:3vh; }

/* Ältere TV-Browser ohne color-mix(): schlichtere Flächen statt fehlender */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .screen { box-shadow:0 0 0 5px rgba(0,0,0,.6), 0 0 60px rgba(255,194,74,.35), inset 0 2px 0 rgba(255,255,255,.14); }
  .side { box-shadow:0 8px 0 rgba(0,0,0,.5); }
  .podiums li { background:linear-gradient(180deg, #2a1650, #0d0520 70%); }
  .podiums .s, .me b { text-shadow:none; }
  .stinger { background:rgba(6,2,14,.86); }
  .pad { background:none; }
}

/* ---------- Abwesende Handys, Auszeichnungen ---------- */
.podiums li.away { opacity:.45; border-style:dashed; }
.podiums li.away::before { content:"weg"; position:absolute; right:8px; top:6px; font-size:11px; color:var(--dim); text-transform:uppercase; letter-spacing:.1em; }
.awards { list-style:none; margin:.6vh 0 0; padding:0; display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.awards li { display:flex; flex-direction:column; align-items:center; min-width:150px; padding:8px 16px; border-radius:16px; background:var(--panel); border:1px solid var(--line); animation:drop .5s cubic-bezier(.2,1.4,.4,1) backwards; }
.awards li:nth-child(2) { animation-delay:.5s; } .awards li:nth-child(3) { animation-delay:1s; } .awards li:nth-child(4) { animation-delay:1.5s; }
.awards small { color:var(--gold); text-transform:uppercase; letter-spacing:.14em; font-size:clamp(10px, 1vw, 14px); }
.awards b { font-family:var(--show); font-weight:800; font-size:clamp(18px, 2.2vw, 34px); text-transform:uppercase; }
.awards i { font-style:normal; color:var(--dim); font-size:clamp(10px, 1vw, 14px); }
body[data-phase=final] .headline { font-size:clamp(48px, min(10vw, 15vh), 160px); }
body[data-phase=final] .board { gap:.9vh; }
body[data-phase=final] .hostline { min-height:2.2em; margin-top:.6vh; }
body[data-phase=final] .screen { padding-top:1.2vh; padding-bottom:1.2vh; }

/* ---------- Konten: Anmelden, Avatar, Bestenliste, Vorschläge ---------- */
.avatar { width:44px; height:44px; border-radius:50%; flex:none; overflow:hidden; box-shadow:0 0 0 3px #0d0520, 0 0 16px rgba(255,255,255,.25); }
.avatar svg { display:block; width:100%; height:100%; }
.avatar.big { width:96px; height:96px; } .avatar.huge { width:190px; height:190px; }
.hello { display:flex; flex-direction:column; align-items:center; gap:12px; text-align:center; }
#loginform { display:flex; flex-direction:column; gap:12px; }
.note.ok { color:var(--ok); }
.konto { display:none; position:relative; z-index:1; flex:1; min-height:0; overflow:auto; padding:18px 16px max(24px, env(safe-area-inset-bottom)); user-select:text; -webkit-user-select:text; }
body.inkonto[data-role=door] .konto { display:block; } body.inkonto[data-role=door] #door { display:none; }
.kontohead { display:flex; align-items:center; gap:16px; max-width:1200px; margin:0 auto 16px; }
.kontohead h1 { font-family:var(--show); font-weight:800; font-style:italic; text-transform:uppercase; font-size:clamp(26px, 4vw, 46px); margin:0; } .kontohead span { color:var(--gold); }
.kontogrid { display:grid; grid-template-columns:repeat(auto-fit, minmax(320px, 1fr)); gap:16px; max-width:1200px; margin:0 auto; align-items:start; }
.kontogrid .card { max-width:none; } .kontogrid form { display:flex; flex-direction:column; gap:10px; }
.kontogrid h3 { margin:8px 0 0; font-size:13px; color:var(--dim); text-transform:uppercase; letter-spacing:.12em; }
.builder { display:flex; gap:18px; align-items:center; flex-wrap:wrap; justify-content:center; }
.avparts { flex:1; min-width:230px; display:flex; flex-direction:column; gap:8px; }
.avrow { display:grid; grid-template-columns:86px 40px 1fr 40px; align-items:center; gap:8px; } .avrow small { color:var(--dim); } .avrow b { text-align:center; } .avrow .ghost { padding:6px 0; }
.scores { width:100%; border-collapse:collapse; font-size:14px; } .scores th { color:var(--dim); font-weight:400; text-align:right; padding:4px 6px; font-size:12px; }
.scores td { padding:6px; text-align:right; border-top:1px solid rgba(255,255,255,.08); } .scores td:nth-child(3), .scores th:nth-child(3) { text-align:left; font-weight:700; }
.scores tr:first-child td { color:var(--gold); } .avcell { width:38px; } .avcell svg { display:block; width:30px; height:30px; border-radius:50%; }
.bestlist { margin:4px 0 0; padding-left:1.4em; color:var(--ink); font-size:14px; }
.sugs { list-style:none; margin:4px 0 0; padding:0; display:flex; flex-direction:column; gap:8px; }
.sug { display:flex; align-items:center; gap:8px; padding:8px 10px; border-radius:12px; background:rgba(0,0,0,.3); } .sug > div { flex:1; min-width:0; display:flex; flex-direction:column; } .sug small { color:var(--dim); font-size:12px; }
.sug .chip { font-size:10px; padding:2px 10px; } .sug .chip.frei { color:var(--ok); border-color:var(--ok); } .sug .chip.abgelehnt { color:var(--bad); border-color:var(--bad); }
.podiums .av svg { display:block; width:100%; height:100%; border-radius:50%; } .podiums .av.pic { background:none; overflow:hidden; }
.me { align-items:center; gap:10px; } .me b { flex:1; }
body.tv #loginbox { display:none; }

/* ---------- Werbevideo auf der Startseite ---------- */
.door { justify-content:flex-start; }
.promo { width:100%; max-width:860px; margin:34px 0 10px; text-align:center; }
.promo h2 { font-family:var(--show); font-weight:800; font-style:italic; text-transform:uppercase; font-size:clamp(22px, 3vw, 34px); margin:0 0 12px; color:var(--gold); }
.promo video { display:block; width:100%; aspect-ratio:16 / 9; border-radius:20px; background:#000; border:2px solid var(--line); box-shadow:0 24px 70px rgba(0,0,0,.6), 0 0 60px rgba(255,194,74,.18); }
body.tv .promo { display:none; }
