/* Design „Halloween – Nacht der Kürbisse“. Koordinaten in Pixeln des Referenzbilds 2048×1153.
   Ebenen: #hn-scene (Hintergrund + Ambiente) → #playerBoard (Holzrahmen ::before, Kacheln, Teams, Titeltafel) → #hn-fx (Funken).
   Gilt nur, wenn das Board 5 Kategorien × 5 Fragen hat (data-scene-fit=on); sonst bleibt das Standard-Board über dem Halloween-Hintergrund. */
body.jeopardy-page[data-scene-design=halloween]{--hn-gold:#f2b54a;--hn-gold-hi:#ffe1a0;--hn-ink:#f6ead2;--hn-ink-dim:#cdb9e6;--hn-night:#0d0716;
 --hn-display:"Cinzel Decorative","Cinzel",Georgia,serif;--hn-ui:"Cinzel",Georgia,"Times New Roman",serif;--hn-body:"Alegreya",Georgia,"Times New Roman",serif;background-color:var(--hn-night)!important}
body[data-scene-design=halloween] #app{position:relative;z-index:1}

/* ---------- Szene ---------- */
#hn-scene{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:0}
body:not(.jeopardy-page) :is(#hn-scene,#hn-fx,#hn-pulses){display:none}
#hn-scene .hn-sc{position:absolute;left:50%;top:50%;width:max(100vw,calc(100vh * 2048 / 1153));aspect-ratio:2048/1153;transform:translate(-50%,-50%);container-type:inline-size}
#hn-scene .hn-sc>*{position:absolute}
#hn-scene .hn-bg{inset:0;width:100%;height:100%;object-fit:cover;display:block;max-width:none}
#hn-scene .hn-drift{position:absolute;left:0;top:0;width:200%;height:100%;background-repeat:repeat-x;background-size:50% 100%;will-change:transform}
#hn-scene .hn-clouds{left:0;top:0;width:100%;height:46%;overflow:hidden;mix-blend-mode:screen;-webkit-mask-image:linear-gradient(90deg,#000 0 72%,transparent 86%);mask-image:linear-gradient(90deg,#000 0 72%,transparent 86%)}
#hn-scene .hn-clouds .hn-drift{background-image:url(/assets/designs/halloween/clouds.webp)}
#hn-scene .hn-c1{opacity:.42;animation:hn-drift 210s linear infinite}
#hn-scene .hn-c2{opacity:.26;top:6%;background-size:50% 85%;animation:hn-drift 140s linear infinite reverse}
@keyframes hn-drift{to{transform:translateX(-50%)}}
#hn-scene .hn-moon{aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(220,205,255,.55),rgba(160,120,255,.18) 45%,transparent 70%);mix-blend-mode:screen;animation:hn-moon 17s ease-in-out infinite alternate}
#hn-scene .hn-m2{animation-duration:23s;animation-delay:-6s}
@keyframes hn-moon{0%{opacity:.35}50%{opacity:.75}100%{opacity:.45}}
#hn-scene .hn-shade{left:0;top:0;width:100%;height:55%;background:radial-gradient(60% 80% at 50% 0%,rgba(10,0,30,.55),transparent 70%);opacity:0}
#hn-scene .hn-flash{right:0;top:0;width:42%;height:60%;background:radial-gradient(55% 55% at 62% 30%,rgba(225,210,255,.75),rgba(150,110,255,.3) 40%,transparent 72%);mix-blend-mode:screen;opacity:0}
#hn-scene .hn-glows{inset:0}
#hn-scene .hn-glow{position:absolute;aspect-ratio:1;border-radius:50%;mix-blend-mode:screen;transform:translate(-50%,-50%)}
#hn-scene .hn-win{background:radial-gradient(circle,rgba(255,190,90,.95),rgba(255,140,40,.35) 40%,transparent 70%);opacity:.55}
#hn-scene .hn-lantern{background:radial-gradient(circle,rgba(255,200,110,.85),rgba(255,140,40,.28) 38%,transparent 68%);transform-origin:50% -20%;opacity:.75}
#hn-scene .hn-pump{background:radial-gradient(circle,rgba(255,170,50,.8),rgba(255,110,20,.25) 45%,transparent 70%);opacity:.35}
#hn-scene .hn-fogwrap{inset:0;transition:transform 2.4s ease-in,opacity 2.4s ease-in}
#hn-scene .hn-fog{position:absolute;left:0;width:100%;overflow:hidden;mix-blend-mode:screen}
#hn-scene .hn-fog .hn-drift{background-image:url(/assets/designs/halloween/fog.webp)}
#hn-scene .hn-far{top:50%;height:22%;opacity:.22}#hn-scene .hn-far .hn-drift{animation:hn-drift 160s linear infinite}
#hn-scene .hn-mid{top:66%;height:20%;opacity:.18}#hn-scene .hn-mid .hn-drift{animation:hn-drift 110s linear infinite reverse}
#hn-scene .hn-ground{top:80%;height:22%;opacity:.28}#hn-scene .hn-ground .hn-drift{animation:hn-drift 85s linear infinite}
#hn-scene .hn-cornerfog{bottom:-12%;width:55%;height:60%;background:url(/assets/designs/halloween/fog.webp) center/100% 100%;-webkit-mask-image:radial-gradient(closest-side,#000 30%,transparent);mask-image:radial-gradient(closest-side,#000 30%,transparent);opacity:0;mix-blend-mode:screen}
#hn-scene .hn-cornerfog.hn-l{left:-12%}#hn-scene .hn-cornerfog.hn-r{right:-12%;transform:scaleX(-1)}
#hn-scene .hn-dim{inset:0;background:radial-gradient(120% 90% at 50% 40%,rgba(20,0,40,.15),rgba(10,0,25,.75));opacity:0}
#hn-scene canvas.hn-amb{inset:0;width:100%;height:100%}
#hn-scene .hn-raven{top:12%;left:0;width:3.2%;opacity:0}
#hn-scene .hn-raven svg,#hn-scene .hn-bat svg{width:100%;height:auto;display:block}
#hn-scene .hn-bats{inset:0}#hn-scene .hn-bat{position:absolute;width:1.4%;opacity:0}
#hn-scene .hn-wing{transform-origin:50% 55%;animation:hn-flap .5s ease-in-out infinite alternate}#hn-scene .hn-fast{animation-duration:.18s}
@keyframes hn-flap{from{transform:scaleY(1)}to{transform:scaleY(-.35)}}
#hn-pulses .hn-pulse{position:fixed;inset:0;opacity:0;mix-blend-mode:screen;z-index:20400;pointer-events:none}
#hn-pulses .hn-gold{background:radial-gradient(50% 50% at 50% 45%,rgba(255,200,90,.7),transparent 70%)}
#hn-pulses .hn-bad{background:radial-gradient(50% 50% at 50% 45%,rgba(190,30,90,.6),transparent 70%)}
#hn-fx{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:20500}
body[data-scene-design=halloween].hn-results #hn-scene .hn-fogwrap{transform:translateX(18%);opacity:.25}
/* Effektstufen und reduzierte Bewegung */
body[data-scene-design=halloween][data-hn-fx=low] #hn-scene .hn-c2,body[data-scene-design=halloween][data-hn-fx=low] #hn-scene .hn-mid{display:none}
body[data-scene-design=halloween][data-hn-fx=off] #hn-scene :is(.hn-clouds,.hn-fog,canvas.hn-amb){display:none}
body[data-scene-design=halloween][data-hn-fx=off] #hn-scene *{animation:none!important}
@media (prefers-reduced-motion:reduce){#hn-scene .hn-drift,#hn-scene .hn-moon{animation:none!important}}

/* ---------- Bühne: Rahmen, Kacheln, Teams (Desktop, 16:9) ---------- */
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view{padding:12px!important;background:none!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view .jeopardy-player-frame{width:min(calc(100vw - 24px),calc((100dvh - 24px) * 2048 / 1153))!important;max-width:none!important;margin:0 auto!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view.host-board-scene .jeopardy-player-frame{width:min(calc(100vw - 24px),calc((100dvh - 90px) * 2048 / 1153))!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view .player-view-topbar,body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board-title-plaque{display:none!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard{position:relative!important;display:block!important;width:100%!important;height:auto!important;aspect-ratio:2048/1153;container-type:inline-size;isolation:isolate;margin:0!important;padding:0!important;grid-template-columns:none!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard::before{content:"";position:absolute;left:14.648%;top:0;width:71.387%;height:77.624%;background:url(/assets/designs/halloween/board-shell.webp) center/100% 100% no-repeat;z-index:1;pointer-events:none}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board{position:absolute!important;left:18.994%!important;top:16.652%!important;width:62.012%!important;height:56.808%!important;display:block!important;padding:0!important;margin:0!important;gap:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;z-index:2;overflow:visible!important;transform:none!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>*{position:absolute!important;box-sizing:border-box!important;margin:0!important;min-height:0!important;min-width:0!important;max-width:none!important;aspect-ratio:auto!important;grid-row:auto!important;grid-column:auto!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(1){left:0.000%!important;top:0.000%!important;width:19.528%!important;height:14.504%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(2){left:20.157%!important;top:0.000%!important;width:19.528%!important;height:14.504%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(3){left:40.236%!important;top:0.000%!important;width:19.528%!important;height:14.504%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(4){left:60.394%!important;top:0.000%!important;width:19.528%!important;height:14.504%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(5){left:80.472%!important;top:0.000%!important;width:19.528%!important;height:14.504%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(6){left:0.000%!important;top:14.962%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(7){left:20.157%!important;top:14.962%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(8){left:40.236%!important;top:14.962%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(9){left:60.394%!important;top:14.962%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(10){left:80.472%!important;top:14.962%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(11){left:0.000%!important;top:32.061%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(12){left:20.157%!important;top:32.061%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(13){left:40.236%!important;top:32.061%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(14){left:60.394%!important;top:32.061%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(15){left:80.472%!important;top:32.061%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(16){left:0.000%!important;top:49.008%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(17){left:20.157%!important;top:49.008%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(18){left:40.236%!important;top:49.008%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(19){left:60.394%!important;top:49.008%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(20){left:80.472%!important;top:49.008%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(21){left:0.000%!important;top:66.260%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(22){left:20.157%!important;top:66.260%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(23){left:40.236%!important;top:66.260%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(24){left:60.394%!important;top:66.260%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(25){left:80.472%!important;top:66.260%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(26){left:0.000%!important;top:83.511%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(27){left:20.157%!important;top:83.511%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(28){left:40.236%!important;top:83.511%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(29){left:60.394%!important;top:83.511%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(30){left:80.472%!important;top:83.511%!important;width:19.528%!important;height:16.489%!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board .cat{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding:0 1.1cqw!important;background:url(/assets/designs/halloween/tile-cat.webp) center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;clip-path:none!important;color:var(--hn-gold-hi)!important;font:700 1.02cqw/1.15 var(--hn-ui)!important;letter-spacing:.07em;text-transform:uppercase;text-wrap:balance;text-shadow:0 0 .4cqw #000,0 .1cqw .2cqw #000!important;overflow-wrap:normal;hyphens:manual;transition:filter .3s}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board .cat .category-reveal{position:absolute;top:-1.3cqw;right:.4cqw;font:600 .62cqw/1 Arial,sans-serif;padding:.15cqw .4cqw;min-height:0}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board .tile{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;background:url(/assets/designs/halloween/tile-q.webp) center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;clip-path:none!important;color:var(--hn-gold-hi)!important;font:800 2.05cqw/1 var(--hn-ui)!important;text-shadow:0 .15cqw .2cqw #000,0 0 .8cqw rgba(255,140,40,.45)!important;transition:transform .25s ease,filter .35s ease!important;opacity:1!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board .tile .point-value{text-shadow:none!important;background:linear-gradient(180deg,#fff0c4,#f2b54a 60%,#c0701e);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 .15cqw .2cqw rgba(0,0,0,.85))}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board button.tile:not(:disabled):not(.used):is(:hover,:focus-visible){transform:scale(1.035)!important;filter:brightness(1.22) drop-shadow(0 0 .6cqw rgba(255,150,50,.6))!important;outline:none}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board .tile.used{filter:brightness(.42) saturate(.5)!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board .tile.used .point-value,body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board .tile.empty{visibility:hidden}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board .tile.double-points{animation:hn-dp 2.4s ease-in-out infinite}
@keyframes hn-dp{50%{filter:brightness(1.35) drop-shadow(0 0 1cqw rgba(255,170,60,.85))}}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board .host-risk-mark{position:absolute;top:8%;right:6%;font:700 .65cqw/1 Arial,sans-serif;padding:.15cqw .35cqw;border-radius:.3cqw}
/* Teamkarten unter dem Board: so viele wie besetzte Teams, Größe passt sich an */
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard{position:absolute!important;left:1.953%!important;top:77.710%!important;right:auto!important;bottom:auto!important;width:96.094%!important;height:18.387%!important;max-height:none!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;overflow:visible!important;z-index:2;transform:none!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .player-side-scoreboard-list{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:space-evenly!important;align-items:flex-end!important;gap:1.2cqw!important;width:100%!important;height:100%!important;padding:0!important;margin:0!important;grid-template-columns:none!important;overflow:visible!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score{position:relative!important;flex:0 1 23.577%!important;width:auto!important;max-width:23.577%!important;aspect-ratio:464/212!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;background:url(/assets/designs/halloween/team.webp) center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;container-type:inline-size;color:var(--hn-ink)!important;text-align:left!important;overflow:visible!important;transition:filter .4s}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score::before{content:attr(data-scene-name);position:absolute;left:6.5%;top:22.5%;width:63%;height:22.5%;padding:0 3%;display:flex;align-items:center;box-sizing:border-box;font:700 5.4cqi/1.1 var(--hn-ui);color:var(--hn-gold-hi);letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score>b{position:absolute!important;left:6.5%!important;right:auto!important;top:49.5%!important;bottom:auto!important;width:63%!important;height:18%!important;padding:0 3%!important;margin:0!important;display:flex!important;align-items:center;gap:.4em;box-sizing:border-box;font:500 4.3cqi/1.1 var(--hn-body)!important;color:var(--hn-ink-dim)!important;white-space:nowrap;overflow:hidden;text-align:left!important;justify-content:flex-start!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score>b .team-name-member{display:inline!important;width:auto!important;flex:none!important;overflow:hidden;text-overflow:ellipsis}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score>b{flex-direction:row!important;flex-wrap:nowrap!important;justify-content:flex-start!important;align-items:center!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score>b .team-name-member+.team-name-member::before{content:"· ";color:#8d76b3}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score::after{content:"";position:absolute;left:6.5%;top:71.3%;width:63%;height:18%;padding:0 3%;display:flex;align-items:center;box-sizing:border-box;font:600 4.1cqi/1 var(--hn-body);color:#e8c99a}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score.turn-active::after{content:"Am Zug";color:#ffd27a}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score.own-team:not(.turn-active)::after{content:"Dein Team"}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score.turn-active{filter:drop-shadow(0 0 1.6cqi rgba(255,170,60,.7))}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score .team-score{position:absolute!important;left:72.6%!important;right:auto!important;top:26%!important;bottom:auto!important;width:22.4%!important;height:46%!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;font:800 6.4cqi/1 var(--hn-ui)!important;color:#fff3d6!important;text-shadow:0 0 1.5cqi rgba(255,160,60,.8);font-variant-numeric:tabular-nums;text-align:center!important}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score .score-unit{font:600 2.6cqi/1 var(--hn-body);color:#d8bf98;text-shadow:none;margin-top:.3em}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score.hn-up{animation:hn-up 1.3s ease-out}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score.hn-down{animation:hn-down 1.3s ease-out}
@keyframes hn-up{20%{filter:brightness(1.5) drop-shadow(0 0 2cqi rgba(255,190,70,.95))}}
@keyframes hn-down{20%{filter:brightness(.85) drop-shadow(0 0 2.4cqi rgba(190,40,90,.95)) hue-rotate(-15deg)}}
/* Titeltafel, Kürbis-Glühen, Kontur, Lichtlauf, Spinne */
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view .hn-plaque{position:absolute;left:36.719%;top:7.979%;width:26.611%;height:5.724%;display:grid;place-items:center;text-align:center;z-index:3;pointer-events:none;overflow:hidden}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view .hn-plaque span{grid-area:1/1;max-width:96%;font:700 1.75cqw/1 var(--hn-display);letter-spacing:.06em;white-space:nowrap;background:linear-gradient(180deg,#fff1c9 10%,#f6b84e 55%,#c26a1c 95%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 0 .35cqw rgba(255,150,40,.55));transition:opacity .6s,letter-spacing .9s,filter .9s}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view .hn-plaque .hn-t-alt{opacity:0;letter-spacing:.3em;background:linear-gradient(180deg,#fff 0%,#e2c6ff 40%,#f2b54a 100%);-webkit-background-clip:text;background-clip:text;filter:blur(6px) drop-shadow(0 0 .5cqw rgba(170,100,255,.9))}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard:is(.hn-final-title,.hn-risk) .hn-t-def{opacity:0}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard:is(.hn-final-title,.hn-risk) .hn-t-alt{opacity:1;letter-spacing:.06em;filter:blur(0) drop-shadow(0 0 .5cqw rgba(170,100,255,.9))}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view .hn-topglow{position:absolute;left:46.045%;top:-1.735%;width:7.812%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(255,190,70,.9),rgba(255,120,20,.4) 40%,transparent 70%);mix-blend-mode:screen;opacity:0;z-index:3;pointer-events:none}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view .hn-contour{position:absolute;left:15.918%;top:15.265%;width:68.262%;height:60.364%;border-radius:6px;box-shadow:0 0 2.2cqw .4cqw rgba(140,70,255,.85),inset 0 0 1.4cqw rgba(160,90,255,.5);opacity:0;z-index:0;pointer-events:none}
body.hn-finale[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view .hn-contour{animation:hn-contour 4.2s ease-in-out infinite}
body.hn-finale[data-hn-fx=off] .jeopardy-player-view .hn-contour{animation:none;opacity:.35}
@keyframes hn-contour{0%,100%{opacity:.2}50%{opacity:.6}}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view .hn-frame{position:absolute;left:14.648%;top:0;width:71.387%;height:77.624%;overflow:visible;z-index:3;pointer-events:none}
body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view .hn-spider{position:absolute;left:17.188%;top:13.010%;width:1.074%;height:10.408%;z-index:3;pointer-events:none}
body.hn-results[data-scene-design=halloween] .jeopardy-player-view #playerBoard{opacity:.15;transform:scale(.97);filter:blur(2px);transition:opacity 1.8s ease,transform 1.8s ease,filter 1.8s ease}
/* Board-Deko nur im passenden Layout */
body[data-scene-design=halloween]:not([data-scene-fit=on]) :is(.hn-plaque,.hn-contour,.hn-topglow,.hn-frame,.hn-spider){display:none}

/* ---------- Handy und Hochformat: Kacheln waagerecht scrollbar, Teams untereinander ---------- */
@media (max-width:760px),(max-aspect-ratio:1/1),(max-height:500px){
 body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view{padding:10px!important}
 body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view .jeopardy-player-frame,body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view.host-board-scene .jeopardy-player-frame{width:100%!important}
 body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard{aspect-ratio:auto;display:flex!important;flex-direction:column;gap:12px;container-type:normal}
 body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard::before,body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view :is(.hn-contour,.hn-topglow,.hn-frame,.hn-spider){display:none}
 body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view .hn-plaque{position:relative;order:-2;left:auto;top:auto;width:auto;height:auto;padding:12px;border:2px solid #c9832c;border-radius:8px;background:linear-gradient(180deg,#2a1611,#140a0a);box-shadow:0 0 0 1px #000,0 0 18px rgba(255,140,40,.25)}
 body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view .hn-plaque span{font-size:21px}
 body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board{position:relative!important;order:-1;left:auto!important;top:auto!important;width:100%!important;height:auto!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-rows:auto;gap:6px!important;padding:8px!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch;border:1px solid rgba(201,131,44,.5)!important;border-radius:8px!important;background:rgba(20,10,12,.84)!important}
 body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(n){position:relative!important;left:auto!important;top:auto!important;width:auto!important;height:auto!important;min-height:48px!important}
 body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board{gap:4px!important;padding:6px!important;overflow:hidden!important}
 body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board .cat{font-size:10.5px!important;min-height:58px!important;padding:4px 2px!important;letter-spacing:0!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:auto!important;text-wrap:balance}
 body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board .tile{font-size:24px!important}
 body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board .host-risk-mark{font-size:10px}
 body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard{position:relative!important;left:auto!important;top:auto!important;width:100%!important;height:auto!important}
 body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .player-side-scoreboard-list{display:grid!important;grid-template-columns:1fr!important;grid-auto-flow:row!important;gap:8px!important;height:auto!important}
 body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score{flex:none!important;max-width:none!important;aspect-ratio:auto!important;display:grid!important;grid-template-columns:1fr auto;grid-template-areas:"nm sc" "pl sc";align-items:center;gap:2px 12px;padding:10px 12px!important;background:linear-gradient(180deg,#2a1611,#150b0b)!important;border:2px solid #c9832c!important;border-radius:8px!important;container-type:normal}
 body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score::before{position:static;grid-area:nm;width:auto;height:auto;padding:0;font-size:17px}
 body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score::after{display:none}
 body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score>b{position:static!important;grid-area:pl;width:auto!important;height:auto!important;padding:0!important;font-size:15px!important}
 body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score .team-score{position:static!important;grid-area:sc;width:auto!important;height:auto!important;min-width:84px;padding:6px 10px!important;font-size:26px!important;border:1px solid rgba(242,181,74,.5);border-radius:6px;background:#0d0708}
 body[data-scene-design=halloween][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score .score-unit{font-size:11px}
}

/* ---------- Fragefenster, Finale und Rangliste im Halloween-Look (nur Farben und Rahmen, Layout bleibt) ---------- */
body[data-scene-design=halloween] #modal.player-question-modal{background:radial-gradient(ellipse at 50% 40%,rgba(30,12,48,.82),rgba(8,3,14,.9))!important}
body[data-scene-design=halloween] #modal.player-question-modal .question{background:linear-gradient(180deg,rgba(38,18,58,.96),rgba(20,9,30,.97))!important;border:2px solid rgba(242,181,74,.65)!important;box-shadow:0 0 0 1px #000,0 0 40px rgba(140,70,255,.35)!important;color:var(--hn-ink)!important}
body[data-scene-design=halloween] #finale-panel{background:radial-gradient(ellipse at 50% 42%,rgba(22,9,34,.9) 0 55%,rgba(10,4,18,.72) 100%)!important;color:var(--hn-ink);transition:opacity .9s ease}
body[data-scene-design=halloween] #finale-panel::after{content:"";position:fixed;inset:0;pointer-events:none;box-shadow:inset 0 0 6vw rgba(140,70,255,.45);opacity:.5}
body.hn-finale[data-scene-design=halloween]:not([data-hn-fx=off]) #finale-panel::after{animation:hn-contour 4.2s ease-in-out infinite}
body[data-scene-design=halloween].hn-finale-intro #finale-panel{opacity:0!important;pointer-events:none!important}
/* Während des Intros bleibt das Board sichtbar (jeopardy-rounds.css blendet die App im Finale sonst aus). */
body[data-scene-design=halloween].hn-finale-intro #app{visibility:visible!important}
body[data-scene-design=halloween] #finale-panel :is(.finale-wrap,.jeopardy-final-host){background:linear-gradient(180deg,rgba(34,14,50,.86),rgba(18,8,28,.9))!important;border:1px solid rgba(242,181,74,.45)!important;border-radius:12px;box-shadow:0 0 0 1px #000,0 18px 50px rgba(0,0,0,.55)!important}
body[data-scene-design=halloween] #finale-panel .finale-solution{background:rgba(40,60,30,.55)!important;border-color:rgba(160,210,120,.5)!important}
body[data-scene-design=halloween] #finale-panel .finale-entry{background:rgba(30,14,40,.85)!important;border:1px solid rgba(242,181,74,.35)!important}
body[data-scene-design=halloween] #finale-panel .finale-wrap>header h1{font-family:var(--hn-display);letter-spacing:.06em;background:linear-gradient(180deg,#fff1c9,#f2b54a 60%,#b8601a);-webkit-background-clip:text;background-clip:text;color:transparent}
body[data-scene-design=halloween] #finale-panel .finale-question{font-family:var(--hn-body);font-weight:600;background:linear-gradient(180deg,rgba(48,22,72,.9),rgba(24,10,36,.92))!important;border:2px solid rgba(242,181,74,.6)!important;color:var(--hn-ink)!important}
body[data-scene-design=halloween] #finale-panel .finale-team{background:rgba(30,14,40,.85)!important;border:1px solid rgba(242,181,74,.35)!important}
body[data-scene-design=halloween] #finale-panel .finale-team.correct{border-color:#f2b54a!important;box-shadow:0 0 18px rgba(255,190,80,.45)}
body[data-scene-design=halloween] #finale-panel .finale-team.wrong{border-color:#c2264d!important;box-shadow:0 0 18px rgba(190,40,90,.4)}
#hn-skip{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:20600;min-height:44px;padding:8px 18px;border:1px solid rgba(242,181,74,.6);border-radius:6px;background:rgba(18,8,24,.9);color:#ffe1a0;font:700 15px/1 "Cinzel",Georgia,serif;letter-spacing:.04em;cursor:pointer}
body[data-scene-design=halloween] #qol-panel[data-results]{overflow:visible;padding-top:56px;background:linear-gradient(180deg,rgba(38,22,20,.97),rgba(20,11,12,.98)),repeating-linear-gradient(90deg,rgba(255,255,255,.02) 0 2px,transparent 2px 9px);color:var(--hn-ink);border:0;border-radius:10px;box-shadow:0 0 0 2px #120806,0 0 0 4px #c9832c,0 0 0 6px #3a1e10,0 0 0 7px rgba(255,190,90,.6),0 20px 60px rgba(0,0,0,.7)}
body[data-scene-design=halloween] #qol-panel[data-results]::backdrop{background:rgba(8,3,14,.4)}
body[data-scene-design=halloween] #qol-panel[data-results] .qol-panel-head h2{font-family:var(--hn-display);letter-spacing:.04em;background:linear-gradient(180deg,#fff1c9,#f2b54a 60%,#b8601a);-webkit-background-clip:text;background-clip:text;color:transparent}
body[data-scene-design=halloween] #qol-panel[data-results] .final-intro,body[data-scene-design=halloween] #qol-panel[data-results] .muted{color:var(--hn-ink-dim)!important}
body[data-scene-design=halloween] #qol-panel[data-results] .final-team{background:linear-gradient(90deg,rgba(60,25,90,.55),rgba(20,10,20,.65))!important;border:1px solid rgba(242,181,74,.38)!important;color:var(--hn-ink)!important}
body[data-scene-design=halloween] #qol-panel[data-results] .final-team strong{font-family:var(--hn-ui);color:var(--hn-gold-hi)!important}
body[data-scene-design=halloween] #qol-panel[data-results] .final-members span{color:var(--hn-ink-dim)!important;background:rgba(0,0,0,.25)!important}
body[data-scene-design=halloween] #qol-panel[data-results] .final-score{color:#fff3d6!important;text-shadow:0 0 12px rgba(255,160,60,.6)}
body[data-scene-design=halloween] #qol-panel[data-results] .final-rank{color:var(--hn-gold)!important}
body[data-scene-design=halloween] #qol-panel[data-results] .final-winner{border:2px solid #f2b54a!important;background:linear-gradient(90deg,rgba(110,60,20,.55),rgba(40,16,40,.7))!important;box-shadow:0 0 26px rgba(255,170,60,.4)!important}
body[data-scene-design=halloween] #qol-panel[data-results] .hn-rk-pumpkin{position:absolute;left:50%;top:-46px;width:96px;transform:translateX(-50%);filter:drop-shadow(0 0 12px rgba(255,140,30,.5));transition:filter 1s;pointer-events:none}
body[data-scene-design=halloween] #qol-panel[data-results] .hn-rk-pumpkin.hn-lit{filter:drop-shadow(0 0 34px rgba(255,170,50,.95)) brightness(1.2)}
body[data-scene-design=halloween] #qol-panel[data-results] .hn-rk-fx{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none}


