/* Design „Pokémon – Elemente“. Board-Koordinaten in Prozent von board.webp (1290×562, freigestellt aus „board_original.png“).
   Ebenen: #pe-scene (Original + Ströme/Embleme/Blitze/Boden-Masken + Element-Teilchen + Schein für Sonderanimationen) → #playerBoard (Board, Teamtafeln, .pe-deco) → #pe-front/#pe-fx.
   5 Kategorien × 5 Fragen: Board-Grafik (data-scene-cols=5); 4 Kategorien: 4er-Board (weiter unten); sonst Standard-Raster. */
body.jeopardy-page[data-scene-design=elemente]{--pe-ink:#05040c;--pe-white:#f6f8ff;--pe-gold:#ffe07a;
 --pe-disp:"Rajdhani","Nunito",system-ui,sans-serif;--pe-body:"Nunito",system-ui,sans-serif;background-color:#07050f!important}
body[data-scene-design=elemente] #app{position:relative;z-index:1}
body:not(.jeopardy-page) :is(#pe-scene,#pe-fx,#pe-front){display:none}

/* ---------- Szene ---------- */
#pe-scene{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:0}
#pe-scene>*{position:absolute;inset:0;width:100%;height:100%;max-width:none}
#pe-scene .pe-bg{object-fit:cover;object-position:50% 50%}
#pe-scene .pe-gl{opacity:0;transition:opacity .3s}
#pe-scene .pe-gl.ready{opacity:1}
#pe-scene .pe-dim{background:radial-gradient(120% 90% at 50% 55%,rgba(4,2,12,.3),rgba(2,1,8,.8));opacity:0}
#pe-scene .pe-glow{opacity:0;mix-blend-mode:screen;background:radial-gradient(40% 50% at 10% 45%,rgba(255,110,50,.3),transparent 70%),radial-gradient(40% 50% at 90% 45%,rgba(200,110,255,.3),transparent 70%),radial-gradient(60% 30% at 50% 100%,rgba(120,200,255,.22),transparent 70%)}
body[data-scene-design=elemente][data-pe-fx=still] #pe-scene :is(.pe-gl,.pe-amb),body[data-scene-design=elemente][data-pe-gl=none] #pe-scene .pe-gl{display:none}
#pe-fx{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:20500}
#pe-front{position:fixed;inset:0;pointer-events:none;z-index:20550}
#pe-front .pe-title{position:fixed;left:50%;top:42%;transform:translate(-50%,-50%);width:min(92vw,1100px);text-align:center;opacity:0;color:#fff;text-shadow:0 0 .3em rgba(255,255,255,.8),0 0 .9em rgba(160,120,255,.7),0 .06em .02em #05040c}
#pe-front .pe-title b{display:block;font:700 min(8vw,6.4rem)/1 var(--pe-disp,"Rajdhani",sans-serif);letter-spacing:.12em;text-transform:uppercase;background:linear-gradient(90deg,#ff7a3a,#ffd23c 25%,#5ee05e 45%,#5fb4ff 65%,#c78bff 85%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 0 .25em rgba(255,255,255,.45))}
#pe-front .pe-title small{display:block;margin-top:.45em;font:700 min(3.2vw,1.7rem)/1.2 var(--pe-disp,"Rajdhani",sans-serif);letter-spacing:.16em;color:#fff}
#pe-front .pe-title::before{content:"";position:absolute;inset:-35% -6%;z-index:-1;background:radial-gradient(closest-side,rgba(5,4,12,.85),rgba(5,4,12,.5) 62%,transparent)}
#pe-front .pe-trail{position:fixed;height:6px;transform-origin:0 50%;border-radius:3px;opacity:0;mix-blend-mode:screen;background:linear-gradient(90deg,transparent,rgba(255,255,255,.9) 40%,rgba(255,226,120,1) 85%,#fff);filter:blur(1.2px) drop-shadow(0 0 8px rgba(255,255,255,.9))}
#pe-front .pe-strike{position:fixed;transform:translate(-50%,-50%);opacity:0;border-radius:8px;box-shadow:0 0 0 3px rgba(255,255,255,.95),0 0 26px 8px rgba(255,220,120,.8),inset 0 0 18px rgba(255,255,255,.5)}
#pe-front .pe-edge{position:fixed;inset:0;opacity:0;box-shadow:inset 60px 0 120px -20px rgba(255,110,50,.5),inset -60px 0 120px -20px rgba(200,110,255,.5),inset 0 -60px 140px -20px rgba(90,220,90,.3)}
#pe-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(255,255,255,.6);border-radius:8px;background:#120d24;color:#fff;font:700 16px/1 "Rajdhani",sans-serif;letter-spacing:.06em;cursor:pointer}

/* ---------- Bühne (16:9): Board und Teamtafeln gemeinsam senkrecht mittig ---------- */
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view{padding:12px!important;background:none!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view .jeopardy-player-frame{width:min(calc(100vw - 24px),calc((100dvh - 24px) * 16 / 9))!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=elemente][data-scene-fit=on] .jeopardy-player-view.host-board-scene .jeopardy-player-frame{width:min(calc(100vw - 24px),calc((100dvh - 90px) * 16 / 9))!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view .player-view-topbar,body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view .board-title-plaque{display:none!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard{position:relative!important;display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/9;container-type:inline-size;isolation:isolate;margin:0!important;padding:0!important;grid-template-columns:none!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board,body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.pe-deco{position:absolute!important;left:13.000%!important;top:14.343%!important;width:74.000%!important;height:57.313%!important;transform:none!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board{display:block!important;padding:0!important;margin:0!important;gap:0!important;border:0!important;border-radius:0!important;background:url(/assets/designs/elemente/board.webp) center/100% 100% no-repeat!important;box-shadow:none!important;z-index:2;overflow:visible!important;container-type:inline-size}
body[data-scene-design=elemente][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=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(1){left:2.558%!important;top:4.982%!important;width:18.372%!important;height:15.125%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(2){left:22.636%!important;top:4.982%!important;width:17.752%!important;height:15.125%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(3){left:41.550%!important;top:4.982%!important;width:18.140%!important;height:15.125%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(4){left:60.853%!important;top:4.982%!important;width:17.442%!important;height:15.125%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(5){left:80.543%!important;top:4.982%!important;width:16.667%!important;height:15.125%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(6){left:2.558%!important;top:22.242%!important;width:18.372%!important;height:13.879%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(7){left:22.636%!important;top:22.242%!important;width:17.752%!important;height:13.879%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(8){left:41.550%!important;top:22.242%!important;width:18.140%!important;height:13.879%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(9){left:60.853%!important;top:22.242%!important;width:17.442%!important;height:13.879%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(10){left:80.543%!important;top:22.242%!important;width:16.667%!important;height:13.879%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(11){left:2.558%!important;top:37.900%!important;width:18.372%!important;height:13.701%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(12){left:22.636%!important;top:37.900%!important;width:17.752%!important;height:13.701%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(13){left:41.550%!important;top:37.900%!important;width:18.140%!important;height:13.701%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(14){left:60.853%!important;top:37.900%!important;width:17.442%!important;height:13.701%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(15){left:80.543%!important;top:37.900%!important;width:16.667%!important;height:13.701%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(16){left:2.558%!important;top:53.381%!important;width:18.372%!important;height:13.701%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(17){left:22.636%!important;top:53.381%!important;width:17.752%!important;height:13.701%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(18){left:41.550%!important;top:53.381%!important;width:18.140%!important;height:13.701%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(19){left:60.853%!important;top:53.381%!important;width:17.442%!important;height:13.701%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(20){left:80.543%!important;top:53.381%!important;width:16.667%!important;height:13.701%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(21){left:2.558%!important;top:68.861%!important;width:18.372%!important;height:13.523%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(22){left:22.636%!important;top:68.861%!important;width:17.752%!important;height:13.523%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(23){left:41.550%!important;top:68.861%!important;width:18.140%!important;height:13.523%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(24){left:60.853%!important;top:68.861%!important;width:17.442%!important;height:13.523%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(25){left:80.543%!important;top:68.861%!important;width:16.667%!important;height:13.523%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(26){left:2.558%!important;top:83.986%!important;width:18.372%!important;height:13.879%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(27){left:22.636%!important;top:83.986%!important;width:17.752%!important;height:13.879%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(28){left:41.550%!important;top:83.986%!important;width:18.140%!important;height:13.879%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(29){left:60.853%!important;top:83.986%!important;width:17.442%!important;height:13.879%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(30){left:80.543%!important;top:83.986%!important;width:16.667%!important;height:13.879%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.cat{display:grid!important;place-items:center!important;text-align:center!important;padding:0 1.2cqw!important;overflow:hidden!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;clip-path:none!important;color:#fff!important;font:700 2.1cqw/1.02 var(--pe-disp)!important;letter-spacing:.05em;text-transform:uppercase;text-wrap:balance;text-shadow:0 0 .8cqw rgba(255,255,255,.55),0 .12cqw .15cqw rgba(0,0,0,.95)!important;overflow-wrap:normal;hyphens:manual}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.cat .category-reveal{position:absolute;top:-1.3cqw;right:.4cqw;font:600 .9cqw/1 Arial,sans-serif;padding:.25cqw .5cqw;min-height:0;text-transform:none}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.tile{display:grid!important;place-items:center!important;padding:0!important;background:transparent!important;border:0!important;border-radius:.6cqw!important;box-shadow:none!important;clip-path:none!important;font:700 3.6cqw/1 var(--pe-disp)!important;letter-spacing:.04em;color:#fff!important;text-shadow:0 0 1cqw rgba(255,255,255,.6),0 .2cqw .25cqw rgba(0,0,0,.85)!important;transition:background .2s,box-shadow .2s!important;opacity:1!important;transform:none!important;filter:none!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>button.tile:not(:disabled):not(.used):is(:hover,:focus-visible){background:radial-gradient(ellipse at center,rgba(255,255,255,.18),transparent 72%)!important;box-shadow:inset 0 0 0 .22cqw rgba(255,255,255,.9),0 0 1.6cqw rgba(255,255,255,.55)!important;outline:none}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.tile.used{background:rgba(4,3,10,.74)!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.tile.used .point-value,body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.tile.empty{visibility:hidden}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.tile.double-points{animation:pe-dp 2.4s ease-in-out infinite}
@keyframes pe-dp{50%{box-shadow:inset 0 0 0 .22cqw rgba(255,224,122,.95),0 0 1.6cqw rgba(255,224,122,.7)}}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.tile .host-risk-mark{position:absolute;top:8%;right:5%;font:700 .9cqw/1 Arial,sans-serif;padding:.2cqw .4cqw;border-radius:.3cqw}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.tile.pe-marked{box-shadow:inset 0 0 0 .22cqw rgba(255,255,255,.95),0 0 1.8cqw rgba(255,224,122,.8)!important}
/* Deko: Kristalle über den Spalten glühen leicht nach (nicht klickbar) */
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.pe-deco{z-index:3;pointer-events:none}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view .pe-deco>i{position:absolute;transform:translate(-50%,-50%);border-radius:50%;mix-blend-mode:screen;pointer-events:none;width:4.4%;aspect-ratio:1;opacity:.25;background:radial-gradient(closest-side,rgba(255,255,255,.85),rgba(200,220,255,.3) 55%,transparent);animation:pe-rune 3.4s ease-in-out infinite}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view .pe-deco>i:nth-child(2n){animation-duration:4.1s;animation-delay:-1.3s}body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view .pe-deco>i:nth-child(3n){animation-duration:3.7s;animation-delay:-2.1s}
@keyframes pe-rune{0%,100%{opacity:.12}50%{opacity:.38}}
body[data-pe-fx=still] .pe-deco>i{animation:none!important;opacity:0!important}

/* ---------- Teamtafeln unter dem Board: Kristalltafeln, jede in einer Elementfarbe (Feuer, Wasser, Elektro, Pflanze, Eis, Psycho) ---------- */
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard{position:absolute!important;left:8%!important;top:74.157%!important;right:auto!important;bottom:auto!important;width:84%!important;height:11.5%!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:4;transform:none!important}
body[data-scene-design=elemente][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:center!important;align-items:stretch!important;gap:1.2%!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=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score{--el:255,255,255;position:relative!important;flex:0 1 23%!important;max-width:23%!important;width:auto!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;box-sizing:border-box!important;display:block!important;container-type:size;
 background:linear-gradient(180deg,rgba(var(--el),.22),rgba(6,4,14,.94) 55%),rgba(6,4,14,.92)!important;border:.2cqw solid rgba(var(--el),1)!important;border-radius:.6cqw!important;outline:0!important;
 box-shadow:inset 0 0 1.2cqw rgba(var(--el),.45),0 0 1cqw rgba(var(--el),.55)!important;color:var(--pe-white)!important;text-align:left!important;overflow:visible!important;transition:filter .4s!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score:nth-child(6n+1){--el:255,110,50}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score:nth-child(6n+2){--el:70,160,255}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score:nth-child(6n+3){--el:255,215,60}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score:nth-child(6n+4){--el:90,220,90}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score:nth-child(6n+5){--el:150,225,255}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score:nth-child(6n+6){--el:200,110,255}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .player-side-scoreboard-list:has(>.score:nth-child(5)) .score{flex-basis:18.6%!important;max-width:18.6%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .player-side-scoreboard-list:has(>.score:nth-child(6)) .score{flex-basis:15.5%!important;max-width:15.5%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .player-side-scoreboard-list:has(>.score:nth-child(7)) .score{flex-basis:13.3%!important;max-width:13.3%!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score::before{content:attr(data-scene-name);position:absolute;left:7%;top:14%;width:62%;height:40%;display:flex;align-items:center;font:700 min(15cqh,9cqw)/1 var(--pe-disp);letter-spacing:.03em;color:#fff;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-shadow:0 0 .6cqh rgba(var(--el),.9),0 .1em .1em #000}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score>b{position:absolute!important;left:7%!important;top:56%!important;width:62%!important;height:auto!important;padding:0!important;margin:0!important;display:block!important;font:600 min(11cqh,6cqw)/1.2 var(--pe-body)!important;color:rgba(var(--el),1)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left!important}
body[data-scene-design=elemente][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}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score>b .team-name-member+.team-name-member::before{content:" · "}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score .team-score{position:absolute!important;right:4%!important;left:auto!important;top:16%!important;width:25%!important;height:68%!important;margin:0!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:.6cqh;background:rgba(2,1,8,.85);box-shadow:inset 0 0 0 .12cqw rgba(var(--el),.95),0 0 .6cqw rgba(var(--el),.6);font:700 min(30cqh,7cqw)/1 var(--pe-disp)!important;color:#fff!important;text-shadow:0 0 .8cqh rgba(var(--el),.9),0 .1em .1em #000;font-variant-numeric:tabular-nums}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score .score-unit{display:none}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score.turn-active{filter:drop-shadow(0 0 1cqw rgba(var(--el),.95))}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score.own-team{border-color:#fff!important}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score.pe-up{animation:pe-up 1.2s ease-out}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score.pe-down{animation:pe-down 1.2s ease-out}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score.pe-win{animation:pe-win 1.8s ease-in-out 2}
@keyframes pe-up{25%{filter:brightness(1.3) drop-shadow(0 0 1.4cqw rgba(255,224,122,.95))}}
@keyframes pe-down{25%{filter:brightness(.75) drop-shadow(0 0 1.4cqw rgba(255,60,60,.9))}}
@keyframes pe-win{50%{filter:brightness(1.2) drop-shadow(0 0 1.6cqw rgba(255,224,122,.95))}}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view .pe-delta{position:absolute;right:6%;top:-40%;font:700 1.6cqw/1 var(--pe-disp);pointer-events:none;text-shadow:0 .1cqw .2cqw #000;animation:pe-delta 1.4s ease-out forwards}
body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view .pe-delta.up{color:var(--pe-gold)}body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view .pe-delta.down{color:#ff8a8a}
@keyframes pe-delta{from{opacity:0;transform:translateY(20%)}20%{opacity:1}to{opacity:0;transform:translateY(-60%)}}
body.pe-results[data-scene-design=elemente] .jeopardy-player-view #playerBoard{opacity:.14;transform:scale(.97);transition:opacity 1.4s ease,transform 1.4s ease}
body[data-scene-design=elemente]:not([data-scene-fit=on]) .pe-deco{display:none}

/* ---------- Handy / Hochformat / flaches Querformat: Board unverzerrt, Teams darunter in zwei Spalten ---------- */
@media (max-width:760px),(max-aspect-ratio:1/1),(max-height:500px){
 body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view{padding:10px!important}
 body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view .jeopardy-player-frame,body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view.host-board-scene .jeopardy-player-frame{width:100%!important}
 body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard{aspect-ratio:auto;display:flex!important;flex-direction:column;gap:12px;overflow-x:auto;-webkit-overflow-scrolling:touch;container-type:normal;padding-bottom:6px!important}
 body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board{position:relative!important;left:auto!important;top:auto!important;width:min(100%,calc((100dvh - 24px) * 1290 / 562))!important;margin:0 auto!important;height:auto!important;aspect-ratio:1290/562;flex:none;order:1}
 body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.pe-deco{display:none}
 body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.cat{font-size:max(9px,2.9cqw)!important;line-height:1!important;letter-spacing:0!important;white-space:normal!important;padding:0 2px!important}
 body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.tile{font-size:5.2cqw!important}
 body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard{position:sticky!important;left:0!important;top:auto!important;width:calc(100vw - 20px)!important;height:auto!important;order:2}
 body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .player-side-scoreboard-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;height:auto!important;max-width:560px!important;margin:0 auto!important}
 body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score,body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .player-side-scoreboard-list .score{max-width:none!important;width:100%!important;height:56px!important;aspect-ratio:auto;margin:0!important;border-width:1.5px!important;border-radius:6px!important}
 body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score::before{left:10px;top:9px;width:calc(100% - 10px - 58px);height:20px;font-size:14px;letter-spacing:0}
 body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score>b{left:10px!important;top:31px!important;width:calc(100% - 10px - 58px)!important;font-size:11px!important}
 body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score .team-score{right:6px!important;top:8px!important;width:48px!important;height:40px!important;border-radius:6px;font-size:17px!important;box-shadow:inset 0 0 0 1.5px rgba(var(--el),.95)}
 body[data-scene-design=elemente][data-scene-fit=on] .jeopardy-player-view .pe-delta{font-size:18px;top:-14px}
}

/* ---------- Finale und Rangliste: Nachtschwarz, Kristallweiß, Elementfarben (nur Farben und Rahmen, Layout bleibt) ---------- */
body[data-scene-design=elemente].pe-finale-intro #finale-panel{opacity:0!important;pointer-events:none!important}
body[data-scene-design=elemente].pe-finale-intro #app{visibility:visible!important}
body[data-scene-design=elemente] #finale-panel{background:rgba(2,1,8,.4)!important;color:var(--pe-white);transition:opacity .8s ease}
body[data-scene-design=elemente] #finale-panel :is(.finale-wrap,.jeopardy-final-host){background:linear-gradient(180deg,rgba(18,14,34,.97),rgba(6,4,14,.98))!important;color:var(--pe-white)!important;border:2px solid rgba(255,255,255,.75)!important;border-radius:10px!important;box-shadow:inset 0 3px 0 0 transparent,0 0 0 1px rgba(0,0,0,.6),0 0 24px rgba(160,140,255,.45),0 20px 60px rgba(0,0,0,.6)!important;border-image:linear-gradient(90deg,#ff7a3a,#ffd23c,#5ee05e,#5fb4ff,#c78bff) 1!important}
body[data-scene-design=elemente].pe-finale #finale-panel :is(.finale-wrap,.jeopardy-final-host){animation:pe-frame 4.5s ease-in-out infinite}
@keyframes pe-frame{50%{box-shadow:0 0 0 1px rgba(0,0,0,.6),0 0 40px rgba(200,170,255,.7),0 20px 60px rgba(0,0,0,.6)}}
body[data-scene-design=elemente] #finale-panel .finale-wrap>header h1{font-family:var(--pe-disp);font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#fff;text-shadow:0 0 14px rgba(200,170,255,.8)}
body[data-scene-design=elemente] #finale-panel .finale-wrap>header p,body[data-scene-design=elemente] #finale-panel small{color:#cfc6ef!important}
body[data-scene-design=elemente] #finale-panel .finale-question{font-family:var(--pe-body);font-weight:700;background:rgba(6,4,14,.9)!important;border:1px solid rgba(255,255,255,.5)!important;border-left:6px solid #ffd23c!important;color:#fff!important}
body[data-scene-design=elemente] #finale-panel .finale-team,body[data-scene-design=elemente] #finale-panel .finale-entry{background:rgba(22,16,42,.88)!important;border:1px solid rgba(200,180,255,.4)!important;color:var(--pe-white)!important}
body[data-scene-design=elemente] #finale-panel .finale-team.correct{border-color:#5ee05e!important;box-shadow:0 0 18px rgba(94,224,94,.45)}
body[data-scene-design=elemente] #finale-panel .finale-team.wrong{border-color:#ff5a3a!important;box-shadow:0 0 18px rgba(255,90,58,.4)}
body[data-scene-design=elemente] #finale-panel .finale-solution{background:rgba(30,24,60,.9)!important;border:1px solid #ffd23c!important;color:#fff!important}
body[data-scene-design=elemente] #finale-panel .finale-solution b{color:#ffd23c!important}
body[data-scene-design=elemente] #finale-panel .finale-solution p{color:#fff!important}
body[data-scene-design=elemente] #qol-panel[data-results]{background:linear-gradient(180deg,rgba(18,14,34,.97),rgba(6,4,14,.98));color:var(--pe-white);border:2px solid;border-image:linear-gradient(90deg,#ff7a3a,#ffd23c,#5ee05e,#5fb4ff,#c78bff) 1;box-shadow:0 0 26px rgba(160,140,255,.45),0 24px 70px rgba(0,0,0,.6)}
body[data-scene-design=elemente] #qol-panel[data-results]::backdrop{background:rgba(2,1,8,.35)}
body[data-scene-design=elemente] #qol-panel[data-results] .qol-panel-head h2{font-family:var(--pe-disp);font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#fff;text-shadow:0 0 14px rgba(200,170,255,.75)}
body[data-scene-design=elemente] #qol-panel[data-results] .final-intro,body[data-scene-design=elemente] #qol-panel[data-results] .muted{color:#cfc6ef!important}
body[data-scene-design=elemente] #qol-panel[data-results] .final-team{position:relative;background:linear-gradient(180deg,rgba(28,22,52,.92),rgba(12,9,26,.94))!important;border:1px solid rgba(200,180,255,.45)!important;border-left:6px solid #5fb4ff!important;color:var(--pe-white)!important}
body[data-scene-design=elemente] #qol-panel[data-results] .final-team strong{font-family:var(--pe-disp);font-weight:700;color:#fff!important}
body[data-scene-design=elemente] #qol-panel[data-results] .final-members span{color:#e6e0ff!important;background:rgba(255,255,255,.08)!important}
body[data-scene-design=elemente] #qol-panel[data-results] .final-rank,body[data-scene-design=elemente] #qol-panel[data-results] .final-rank small,body[data-scene-design=elemente] #qol-panel[data-results] .final-score small{color:#e6e0ff!important;opacity:1}
body[data-scene-design=elemente] #qol-panel[data-results] .final-score{font-family:var(--pe-disp);font-weight:700;color:var(--pe-gold)!important}
body[data-scene-design=elemente] #qol-panel[data-results] .final-team.pe-p1{border:2px solid var(--pe-gold)!important;border-left:6px solid var(--pe-gold)!important;background:linear-gradient(90deg,rgba(120,96,20,.55),rgba(18,14,34,.92) 55%)!important;box-shadow:0 0 0 1px rgba(0,0,0,.5),0 0 26px rgba(255,224,122,.55)!important}
body[data-scene-design=elemente] #qol-panel[data-results] .final-team.pe-p2{border-color:rgba(214,222,235,.9)!important;border-left-color:#cfd8e6!important}
body[data-scene-design=elemente] #qol-panel[data-results] .final-team.pe-p3{border-color:rgba(205,135,80,.95)!important;border-left-color:#cd8750!important}

/* ---------- 4 Kategorien: eigenes Board (board4.webp, 1586×992), gleiche Kachelhöhe wie beim 5er-Board ---------- */
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board,body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.pe-deco{left:22.769%!important;top:13.220%!important;width:54.463%!important;height:60.560%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board{background-image:url(/assets/designs/elemente/board4.webp)!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(1){left:6.431%!important;top:8.972%!important;width:22.699%!important;height:14.919%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(2){left:30.895%!important;top:8.972%!important;width:18.663%!important;height:14.919%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(3){left:51.072%!important;top:8.972%!important;width:18.348%!important;height:14.919%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(4){left:70.996%!important;top:8.972%!important;width:22.699%!important;height:14.919%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(5){left:6.431%!important;top:25.706%!important;width:22.699%!important;height:13.206%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(6){left:30.895%!important;top:25.706%!important;width:18.663%!important;height:13.206%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(7){left:51.072%!important;top:25.706%!important;width:18.348%!important;height:13.206%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(8){left:70.996%!important;top:25.706%!important;width:22.699%!important;height:13.206%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(9){left:6.431%!important;top:40.726%!important;width:22.699%!important;height:12.802%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(10){left:30.895%!important;top:40.726%!important;width:18.663%!important;height:12.802%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(11){left:51.072%!important;top:40.726%!important;width:18.348%!important;height:12.802%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(12){left:70.996%!important;top:40.726%!important;width:22.699%!important;height:12.802%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(13){left:6.431%!important;top:55.343%!important;width:22.699%!important;height:12.903%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(14){left:30.895%!important;top:55.343%!important;width:18.663%!important;height:12.903%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(15){left:51.072%!important;top:55.343%!important;width:18.348%!important;height:12.903%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(16){left:70.996%!important;top:55.343%!important;width:22.699%!important;height:12.903%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(17){left:6.431%!important;top:69.960%!important;width:22.699%!important;height:13.004%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(18){left:30.895%!important;top:69.960%!important;width:18.663%!important;height:13.004%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(19){left:51.072%!important;top:69.960%!important;width:18.348%!important;height:13.004%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(20){left:70.996%!important;top:69.960%!important;width:22.699%!important;height:13.004%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(21){left:6.431%!important;top:84.577%!important;width:22.699%!important;height:12.298%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(22){left:30.895%!important;top:84.577%!important;width:18.663%!important;height:12.298%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(23){left:51.072%!important;top:84.577%!important;width:18.348%!important;height:12.298%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(24){left:70.996%!important;top:84.577%!important;width:22.699%!important;height:12.298%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>.cat{font-size:2.85cqw!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>.tile{font-size:4.89cqw!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard{top:75.280%!important}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view .pe-deco>i:nth-child(1){left:17.8%!important;top:4.4%!important}body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view .pe-deco>i:nth-child(2){left:40.2%!important;top:4.4%!important}body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view .pe-deco>i:nth-child(3){left:60.3%!important;top:4.4%!important}body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view .pe-deco>i:nth-child(4){left:81.2%!important;top:4.4%!important}body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view .pe-deco>i:nth-child(5){display:none}
body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view .pe-deco>i{width:5.5%}
@media (max-width:760px),(max-aspect-ratio:1/1),(max-height:500px){
 body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board{left:auto!important;top:auto!important;height:auto!important;width:min(100%,calc((100dvh - 24px) * 1586 / 992))!important;aspect-ratio:1586/992}
 body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard{top:auto!important}
 body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>.cat{font-size:max(9px,3.4cqw)!important}
 body[data-scene-design=elemente][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>.tile{font-size:6.2cqw!important}
}
/* ---------- Ende 4 Kategorien ---------- */
