/* Design „Attack on Titan – Mauer Rose“. Board-Koordinaten in Prozent von board.webp (1262×800, aus der Board-Vorlage freigestellt, mit Pfosten; die rechte Fahne weht als eigene Ebene).
   Ebenen: #at-scene (Stadt + Himmel/Sonne/Rauch/Banner/Bäume/Laternen/Boden-Masken + Sonnenstrahlen, Staub, Glut, Vögel) → #playerBoard (Board, Teamtafeln darunter) → #at-front/#at-fx.
   Layout wie in der Vorlage: Board an derselben Stelle wie im Bild, die Teamtafeln in einer Reihe auf der Plattform davor. 5 Kategorien: board.webp; 4 Kategorien: board4.webp
   (aus der 4er-Vorlage, gleiche Lage und Größe); sonst Standard-Raster. */
body.jeopardy-page[data-scene-design=aot]{--at-gold:#d9a548;--at-gold-hi:#ffe0a0;--at-leather:#22301f;--at-ink:#2a1a0e;--at-cream:#f6ead2;--at-ivory:#f6ead2;
 --at-disp:"Cinzel","Alegreya",Georgia,serif;--at-body:"Alegreya Sans","Alegreya",system-ui,sans-serif;background-color:#2a160e!important}
body[data-scene-design=aot] #app{position:relative;z-index:1}
body:not(.jeopardy-page) :is(#at-scene,#at-fx,#at-front){display:none}

/* ---------- Szene ---------- */
#at-scene{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:0}
#at-scene>*{position:absolute;inset:0;width:100%;height:100%;max-width:none}
#at-scene .at-bg{object-fit:cover;object-position:50% 50%}
#at-scene .at-gl{opacity:0;transition:opacity .3s}
#at-scene .at-gl.ready{opacity:1}
#at-scene .at-dim{background:radial-gradient(120% 90% at 50% 45%,rgba(28,14,8,.42),rgba(14,6,2,.85));opacity:0}
#at-scene .at-glow{opacity:0;mix-blend-mode:screen;background:radial-gradient(40% 40% at 86% 6%,rgba(255,196,110,.55),transparent 70%),radial-gradient(60% 40% at 50% 100%,rgba(255,190,100,.22),transparent 70%)}
body[data-scene-design=aot][data-at-fx=still] #at-scene :is(.at-gl,.at-amb),body[data-scene-design=aot][data-at-gl=none] #at-scene .at-gl{display:none}
#at-fx{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:20500}
#at-front{position:fixed;inset:0;pointer-events:none;z-index:20550}
#at-front .at-title{position:fixed;left:50%;top:44%;transform:translate(-50%,-50%);width:min(92vw,1100px);text-align:center;opacity:0;color:var(--at-gold-hi,#ffe3a3);text-shadow:0 0 .35em rgba(255,200,100,.8),0 .06em .02em #1a1206}
/* militärisch-metallischer Schriftzug: gebürstetes Stahlgrau mit Lichtkante, Lichtreflex läuft beim Finale darüber */
#at-front .at-title b{display:block;font:800 min(7.5vw,6rem)/1 var(--at-disp,"Cinzel",serif);letter-spacing:.14em;background:linear-gradient(100deg,transparent 40%,rgba(255,240,210,.95) 50%,transparent 60%) 160% 0/250% 100% no-repeat,linear-gradient(180deg,#f2f0ea,#b9b4aa 45%,#6e675d 52%,#a39a8c 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 .04em 0 #1a0e08) drop-shadow(0 0 .25em rgba(255,140,60,.55))}
#at-front .at-final b{background:linear-gradient(100deg,transparent 40%,rgba(255,250,230,1) 50%,transparent 60%) 160% 0/250% 100% no-repeat,linear-gradient(180deg,#fff2c8,#e8b85a 50%,#8a5a1c);-webkit-background-clip:text;background-clip:text}
#at-front .at-title small{display:block;margin-top:.55em;font:600 min(3vw,1.5rem)/1.2 var(--at-disp,"Cinzel",serif);letter-spacing:.2em;text-transform:uppercase;color:#f6ead2}
#at-front .at-title::before{content:"";position:absolute;inset:-38% -6%;z-index:-1;background:radial-gradient(closest-side,rgba(30,14,8,.88),rgba(30,14,8,.5) 62%,transparent)}
#at-front .at-pulse{position:fixed;opacity:0;border-radius:.3vw;mix-blend-mode:screen;background:radial-gradient(ellipse at center,rgba(255,80,50,.55),rgba(200,30,20,.3) 55%,transparent 80%);box-shadow:0 0 30px 8px rgba(220,50,30,.45)}
#at-front .at-strike{position:fixed;transform:translate(-50%,-50%);opacity:0;border-radius:.3vw;box-shadow:0 0 0 2px rgba(235,232,226,.95),0 0 0 4px rgba(220,60,40,.7),0 0 22px 6px rgba(255,120,60,.6)}
#at-front .at-wave{position:fixed;transform:translate(-50%,-50%);opacity:0;border-radius:50%;border:2px solid rgba(255,200,160,.55);box-shadow:0 0 18px rgba(255,120,60,.45),inset 0 0 18px rgba(255,120,60,.3)}
#at-front .at-vig{position:fixed;inset:0;opacity:0;background:radial-gradient(75% 70% at 50% 50%,transparent 50%,rgba(60,8,4,.4) 85%,rgba(30,4,2,.6))}
#at-front .at-flash{position:fixed;inset:0;opacity:0;mix-blend-mode:screen;background:radial-gradient(30% 34% at 50% 44%,rgba(255,236,180,.85),rgba(255,200,100,.25) 55%,transparent 75%)}
#at-front .at-edge{position:fixed;inset:0;opacity:0;box-shadow:inset 0 0 90px 18px rgba(255,206,110,.38),inset 0 0 240px 30px rgba(120,80,20,.25)}
#at-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 #e9b44c;border-radius:4px;background:#3a1a12;color:#fff4dc;font:600 15px/1 "Cinzel",serif;letter-spacing:.04em;cursor:pointer}

/* ---------- Bühne (16:9) ---------- */
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view{padding:12px!important;background:none!important}
body[data-scene-design=aot][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=aot][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=aot][data-scene-fit=on] .jeopardy-player-view .player-view-topbar,body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view .board-title-plaque{display:none!important}
body[data-scene-design=aot][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;transition:opacity 1.2s ease,transform 1.2s ease}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board{position:absolute!important;left:13.278%!important;top:7.864%!important;width:75.478%!important;height:85.016%!important;transform:none!important;display:block!important;padding:0!important;margin:0!important;gap:0!important;border:0!important;border-radius:0!important;background:url(/assets/designs/aot/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=aot][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=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(1){left:8.558%!important;top:13.250%!important;width:14.422%!important;height:15.250%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(2){left:25.198%!important;top:13.250%!important;width:14.422%!important;height:15.250%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(3){left:41.997%!important;top:13.250%!important;width:14.105%!important;height:15.250%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(4){left:58.637%!important;top:13.250%!important;width:13.946%!important;height:15.250%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(5){left:75.119%!important;top:13.250%!important;width:12.678%!important;height:15.250%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(6){left:8.558%!important;top:31.000%!important;width:14.422%!important;height:11.500%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(7){left:25.198%!important;top:31.000%!important;width:14.422%!important;height:11.500%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(8){left:41.997%!important;top:31.000%!important;width:14.105%!important;height:11.500%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(9){left:58.637%!important;top:31.000%!important;width:13.946%!important;height:11.500%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(10){left:75.119%!important;top:31.000%!important;width:12.678%!important;height:11.500%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(11){left:8.558%!important;top:44.500%!important;width:14.422%!important;height:11.500%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(12){left:25.198%!important;top:44.500%!important;width:14.422%!important;height:11.500%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(13){left:41.997%!important;top:44.500%!important;width:14.105%!important;height:11.500%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(14){left:58.637%!important;top:44.500%!important;width:13.946%!important;height:11.500%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(15){left:75.119%!important;top:44.500%!important;width:12.678%!important;height:11.500%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(16){left:8.558%!important;top:58.000%!important;width:14.422%!important;height:11.500%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(17){left:25.198%!important;top:58.000%!important;width:14.422%!important;height:11.500%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(18){left:41.997%!important;top:58.000%!important;width:14.105%!important;height:11.500%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(19){left:58.637%!important;top:58.000%!important;width:13.946%!important;height:11.500%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(20){left:75.119%!important;top:58.000%!important;width:12.678%!important;height:11.500%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(21){left:8.558%!important;top:71.500%!important;width:14.422%!important;height:12.250%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(22){left:25.198%!important;top:71.500%!important;width:14.422%!important;height:12.250%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(23){left:41.997%!important;top:71.500%!important;width:14.105%!important;height:12.250%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(24){left:58.637%!important;top:71.500%!important;width:13.946%!important;height:12.250%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(25){left:75.119%!important;top:71.500%!important;width:12.678%!important;height:12.250%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(26){left:8.558%!important;top:85.750%!important;width:14.422%!important;height:7.250%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(27){left:25.198%!important;top:85.750%!important;width:14.422%!important;height:7.250%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(28){left:41.997%!important;top:85.750%!important;width:14.105%!important;height:7.250%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(29){left:58.637%!important;top:85.750%!important;width:13.946%!important;height:7.250%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>:nth-child(30){left:75.119%!important;top:85.750%!important;width:12.678%!important;height:7.250%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.cat{display:grid!important;place-items:center!important;text-align:center!important;padding:0 1.3cqw!important;overflow:hidden!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;clip-path:none!important;color:var(--at-ink)!important;font:700 1.75cqw/1.1 var(--at-disp)!important;letter-spacing:.05em;text-transform:uppercase;text-wrap:balance;text-shadow:0 .14cqw .2cqw rgba(0,0,0,.85),0 0 .7cqw rgba(255,200,100,.25)!important;overflow-wrap:normal;hyphens:manual}
body[data-scene-design=aot][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=aot][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:800 3.3cqw/1 var(--at-disp)!important;letter-spacing:.04em;color:var(--at-gold-hi)!important;transition:background .2s,box-shadow .2s!important;opacity:1!important;transform:none!important;filter:none!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.tile .point-value{background:linear-gradient(180deg,#4a3420,#2a1a0e 60%,#140a04);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none!important;filter:drop-shadow(0 .08cqw 0 rgba(255,246,226,.7))}
body[data-scene-design=aot][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,222,140,.2),transparent 72%)!important;box-shadow:inset 0 0 0 .2cqw rgba(255,224,140,.9),0 0 1.4cqw rgba(255,200,90,.5)!important;outline:none}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>button.tile:not(:disabled):not(.used):active{animation:at-pick .45s ease-out}
@keyframes at-pick{40%{background:radial-gradient(ellipse at center,rgba(255,232,160,.5),transparent 75%);box-shadow:inset 0 0 0 .25cqw rgba(255,232,160,1),0 0 2cqw rgba(255,206,100,.8)}}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.tile.used{background:rgba(28,16,8,.6)!important;box-shadow:inset 0 0 1.4cqw rgba(0,0,0,.6)!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.tile.used .point-value,body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.tile.empty{visibility:hidden}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.tile.double-points{animation:at-dp 2.4s ease-in-out infinite}
@keyframes at-dp{50%{box-shadow:inset 0 0 0 .2cqw rgba(255,224,140,.95),0 0 1.4cqw rgba(255,200,90,.65)}}
body[data-scene-design=aot][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=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.tile.at-marked{box-shadow:inset 0 0 0 .2cqw rgba(255,224,140,.95),0 0 1.6cqw rgba(255,200,90,.65)!important}

/* ---------- Teamtafeln: neue Tafel im Material des Boards (dunkles genietetes Metall, gealtertes Pergament, grüne Stoffbahn, sparsame Goldlinien); Name, Mitglieder und Punkte als echter Text ---------- */
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard{position:absolute!important;left:2%!important;top:89.2%!important;right:auto!important;bottom:auto!important;width:96%!important;height:10.2%!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=aot][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:center!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=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score{position:relative!important;flex:0 0 20%!important;width:20%!important;max-width:none!important;height:auto!important;aspect-ratio:1000/270!important;min-height:0!important;max-height:100%!important;margin:0!important;padding:0!important;box-sizing:border-box!important;display:block!important;container-type:size;
 background:url(/assets/designs/aot/card.webp) center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;color:var(--at-cream)!important;text-align:left!important;overflow:visible!important;transition:filter .4s!important;filter:drop-shadow(0 .6cqh 1.2cqh rgba(0,0,0,.45))}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .player-side-scoreboard-list:has(>.score:nth-child(5)) .score{flex-basis:18%!important;width:18%!important}
body[data-scene-design=aot][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;width:15.5%!important}
body[data-scene-design=aot][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;width:13.3%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .player-side-scoreboard-list:has(>.score:nth-child(8)) .score{flex-basis:11.6%!important;width:11.6%!important}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score::before{content:attr(data-scene-name);position:absolute;left:9.6%;top:13%;width:53%;height:40%;display:flex;align-items:center;justify-content:flex-start;font:700 calc(min(27cqh,6.8cqw) * var(--at-nf,1))/1 var(--at-disp);letter-spacing:.04em;color:#2a1a0e;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-shadow:0 .04em 0 rgba(255,246,226,.6)}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score>b{position:absolute!important;left:9.6%!important;top:60%!important;width:53%!important;height:28%!important;padding:0!important;margin:0!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;align-content:center!important;gap:0 .7em!important;font:600 min(19cqh,5.2cqw)/1.15 var(--at-body)!important;color:#4a3420!important;overflow:hidden;text-align:left!important;text-shadow:0 .06em .1em rgba(0,0,0,.7)}
body[data-scene-design=aot][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;white-space:nowrap}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score .team-score{position:absolute!important;left:65%!important;top:14.8%!important;width:31%!important;height:70.4%!important;margin:0!important;padding:0!important;display:grid!important;place-items:center!important;font:800 min(50cqh,9.6cqw)/1 var(--at-disp)!important;color:var(--at-gold-hi)!important;background:linear-gradient(180deg,#fff7dc,#f2c25c 55%,#b07a22);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none!important;filter:drop-shadow(0 .05em .04em rgba(0,0,0,.8));font-variant-numeric:tabular-nums;letter-spacing:.02em}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score .score-unit{display:none}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score.turn-active{filter:drop-shadow(0 0 1.6cqh rgba(255,206,110,.95)) drop-shadow(0 0 .5cqh rgba(255,236,180,.8))}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score.own-team::after{content:"";position:absolute;inset:9% 3.5%;box-shadow:inset 0 0 0 .7cqh rgba(255,220,130,.55);pointer-events:none}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score.at-up{animation:at-up 1.2s ease-out}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score.at-down{animation:at-down 1.2s ease-out}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score.at-lead::after{content:"";position:absolute;inset:6% 2%;pointer-events:none;background:linear-gradient(105deg,transparent 30%,rgba(255,232,160,.55) 48%,rgba(255,250,230,.8) 50%,rgba(255,232,160,.55) 52%,transparent 70%) 0 0/250% 100% no-repeat;mix-blend-mode:screen;animation:at-lead 1.6s ease-in-out forwards}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score.at-win{animation:at-win 1.8s ease-in-out 2}
@keyframes at-up{25%{filter:brightness(1.22) drop-shadow(0 0 2cqh rgba(255,210,110,.95))}}
@keyframes at-down{25%{filter:brightness(.85) drop-shadow(0 0 1.6cqh rgba(200,60,50,.8))}}
@keyframes at-lead{from{background-position:120% 0;opacity:0}20%{opacity:1}to{background-position:-120% 0;opacity:0}}
@keyframes at-win{50%{filter:brightness(1.15) drop-shadow(0 0 2cqh rgba(255,215,120,.95))}}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view .at-delta{position:absolute;right:6%;top:-34%;font:800 1.5cqw/1 var(--at-disp);pointer-events:none;text-shadow:0 .1cqw .2cqw #000;animation:at-delta 1.4s ease-out forwards}
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view .at-delta.up{color:#ffe08a}body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view .at-delta.down{color:#ff9f94}
@keyframes at-delta{from{opacity:0;transform:translateY(20%)}20%{opacity:1}to{opacity:0;transform:translateY(-60%)}}
/* Finale: Board elegant ausblenden; Rangliste: Board sanft zurücknehmen */
body.at-finale-intro[data-scene-design=aot] .jeopardy-player-view #playerBoard,body.at-finale[data-scene-design=aot] .jeopardy-player-view #playerBoard{opacity:0;transform:scale(.985)}
body.at-results[data-scene-design=aot] .jeopardy-player-view #playerBoard{opacity:0;transform:scale(.97)}

/* ---------- 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=aot][data-scene-fit=on] .jeopardy-player-view{padding:10px!important}
 body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view .jeopardy-player-frame,body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view.host-board-scene .jeopardy-player-frame{width:100%!important}
 body[data-scene-design=aot][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=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board{position:relative!important;left:auto!important;top:auto!important;width:min(100%,calc((100dvh - 24px) * 1262 / 800))!important;margin:0 auto!important;height:auto!important;aspect-ratio:1262/800;flex:none;order:1}
 body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.cat{font-size:max(8.5px,2.3cqw)!important;line-height:1.02!important;letter-spacing:0!important;text-transform:none!important;white-space:normal!important;padding:0 2px!important}
 body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.tile{font-size:4.4cqw!important}
 body[data-scene-design=aot][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=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .player-side-scoreboard-list,body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .player-side-scoreboard-list:has(>.score:nth-child(5)){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;height:auto!important;max-width:620px!important;margin:0 auto!important}
 body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .score,body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.jeopardy-board-scoreboard .player-side-scoreboard-list .score{width:100%!important;height:auto!important;aspect-ratio:1000/270!important;max-height:none!important;flex:none!important;margin:0!important}
 body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view .at-delta{font-size:18px;top:-14px}
}

/* ---------- Finale und Rangliste: dunkles Leder, Pergament und Metall; Gold/Silber/Bronze für die ersten drei ---------- */
body[data-scene-design=aot]:is(.at-finale-intro,.at-finale-pre) #finale-panel{opacity:0!important;pointer-events:none!important}
body[data-scene-design=aot]:is(.at-finale-intro,.at-finale-pre) #app{visibility:visible!important}
body[data-scene-design=aot] #finale-panel{background:rgba(20,8,4,.34)!important;color:var(--at-cream);transition:opacity .8s ease}
body[data-scene-design=aot] #finale-panel :is(.finale-wrap,.jeopardy-final-host){background:linear-gradient(180deg,rgba(58,26,22,.97),rgba(30,12,10,.98))!important;color:var(--at-cream)!important;border:3px solid #e9b44c!important;border-radius:6px!important;box-shadow:inset 0 0 0 1px #120604,inset 0 0 0 6px rgba(255,220,130,.2),0 0 0 1px rgba(0,0,0,.6),0 20px 60px rgba(0,0,0,.6)!important}
body[data-scene-design=aot].at-finale #finale-panel :is(.finale-wrap,.jeopardy-final-host){animation:at-frame 5s ease-in-out infinite}
@keyframes at-frame{50%{box-shadow:inset 0 0 0 1px #120604,inset 0 0 0 6px rgba(255,220,130,.4),0 0 34px rgba(255,200,100,.45),0 20px 60px rgba(0,0,0,.6)}}
body[data-scene-design=aot] #finale-panel .finale-wrap>header h1{font-family:var(--at-disp);letter-spacing:.1em;color:var(--at-gold-hi)}
body[data-scene-design=aot] #finale-panel .finale-wrap>header p,body[data-scene-design=aot] #finale-panel small{color:#e8d6b8!important}
body[data-scene-design=aot] #finale-panel .finale-question{font-family:var(--at-body);font-weight:700;background:rgba(24,10,8,.9)!important;border:1px solid rgba(233,180,76,.75)!important;border-left:6px solid #e9b44c!important;color:#fff!important}
body[data-scene-design=aot] #finale-panel .finale-team,body[data-scene-design=aot] #finale-panel .finale-entry{background:rgba(66,32,24,.88)!important;border:1px solid rgba(233,180,76,.5)!important;color:var(--at-cream)!important}
body[data-scene-design=aot] #finale-panel .finale-team.correct{border-color:#ffd27a!important;box-shadow:0 0 18px rgba(255,200,90,.5)}
body[data-scene-design=aot] #finale-panel .finale-team.wrong{border-color:#e07a6e!important;box-shadow:0 0 16px rgba(200,70,60,.4)}
body[data-scene-design=aot] #finale-panel .finale-solution{background:rgba(90,64,14,.88)!important;border:1px solid var(--at-gold)!important;color:#fff3e0!important}
body[data-scene-design=aot] #finale-panel .finale-solution b{color:var(--at-gold-hi)!important}
body[data-scene-design=aot] #finale-panel .finale-solution p{color:#fff3e0!important}
body[data-scene-design=aot] #qol-panel[data-results]{background:linear-gradient(180deg,rgba(58,26,22,.97),rgba(30,12,10,.98));color:var(--at-cream);border:3px solid #e9b44c;border-radius:6px;box-shadow:inset 0 0 0 1px #120604,inset 0 0 0 6px rgba(255,220,130,.2),0 24px 70px rgba(0,0,0,.6)}
body[data-scene-design=aot] #qol-panel[data-results]::backdrop{background:rgba(20,8,4,.3)}
body[data-scene-design=aot] #qol-panel[data-results] .qol-panel-head h2{font-family:var(--at-disp);letter-spacing:.08em;color:var(--at-gold-hi);text-shadow:0 0 14px rgba(255,190,90,.5)}
body[data-scene-design=aot] #qol-panel[data-results] .final-intro,body[data-scene-design=aot] #qol-panel[data-results] .muted{color:#e8d6b8!important}
body[data-scene-design=aot] #qol-panel[data-results] .final-team{position:relative;background:linear-gradient(180deg,rgba(78,36,26,.92),rgba(36,16,12,.94))!important;border:1px solid rgba(233,180,76,.6)!important;border-left:6px solid #e9b44c!important;color:var(--at-cream)!important}
body[data-scene-design=aot] #qol-panel[data-results] .final-team strong{font-family:var(--at-disp);color:#fff!important}
body[data-scene-design=aot] #qol-panel[data-results] .final-members span{color:#f3e6cc!important;background:rgba(255,255,255,.08)!important}
body[data-scene-design=aot] #qol-panel[data-results] .final-rank,body[data-scene-design=aot] #qol-panel[data-results] .final-rank small,body[data-scene-design=aot] #qol-panel[data-results] .final-score small{color:var(--at-gold-hi)!important;opacity:1}
body[data-scene-design=aot] #qol-panel[data-results] .final-score{font-family:var(--at-disp);color:var(--at-gold-hi)!important}
body[data-scene-design=aot] #qol-panel[data-results] .final-team.at-p1{border:2px solid #ffd27a!important;border-left:6px solid #ffd27a!important;background:linear-gradient(90deg,rgba(140,104,20,.6),rgba(58,26,22,.92) 55%)!important;box-shadow:0 0 0 1px rgba(0,0,0,.5),0 0 28px rgba(255,200,90,.55)!important;margin-top:1.6em}
body[data-scene-design=aot] #qol-panel[data-results] .final-team.at-p2{border-color:rgba(214,222,235,.9)!important;border-left-color:#cfd8e6!important}
body[data-scene-design=aot] #qol-panel[data-results] .final-team.at-p3{border-color:rgba(205,135,80,.95)!important;border-left-color:#cd8750!important}
body[data-scene-design=aot] #qol-panel[data-results] .final-team .at-laurel{position:absolute;left:50%;top:-1.55em;width:5.2em;height:2.6em;transform:translate(-50%,0);pointer-events:none;filter:drop-shadow(0 0 6px rgba(255,200,90,.8))}

/* ---------- 4 Kategorien: eigenes Board (board4.webp, 1241×736, aus der gelieferten 4er-Vorlage, eine Punktezeile ergänzt), gleiche Höhe wie das 5er-Board, mittig ---------- */
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board{background-image:url(/assets/designs/aot/board4.webp)!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(1){left:10.143%!important;top:13.250%!important;width:17.750%!important;height:15.250%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(2){left:29.952%!important;top:13.250%!important;width:17.116%!important;height:15.250%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(3){left:49.128%!important;top:13.250%!important;width:17.433%!important;height:15.250%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(4){left:68.621%!important;top:13.250%!important;width:17.274%!important;height:15.250%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(5){left:10.143%!important;top:30.750%!important;width:17.750%!important;height:11.500%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(6){left:29.952%!important;top:30.750%!important;width:17.116%!important;height:11.500%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(7){left:49.128%!important;top:30.750%!important;width:17.433%!important;height:11.500%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(8){left:68.621%!important;top:30.750%!important;width:17.274%!important;height:11.500%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(9){left:10.143%!important;top:44.250%!important;width:17.750%!important;height:11.750%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(10){left:29.952%!important;top:44.250%!important;width:17.116%!important;height:11.750%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(11){left:49.128%!important;top:44.250%!important;width:17.433%!important;height:11.750%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(12){left:68.621%!important;top:44.250%!important;width:17.274%!important;height:11.750%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(13){left:10.143%!important;top:58.000%!important;width:17.750%!important;height:11.750%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(14){left:29.952%!important;top:58.000%!important;width:17.116%!important;height:11.750%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(15){left:49.128%!important;top:58.000%!important;width:17.433%!important;height:11.750%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(16){left:68.621%!important;top:58.000%!important;width:17.274%!important;height:11.750%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(17){left:10.143%!important;top:71.500%!important;width:17.750%!important;height:12.500%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(18){left:29.952%!important;top:71.500%!important;width:17.116%!important;height:12.500%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(19){left:49.128%!important;top:71.500%!important;width:17.433%!important;height:12.500%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(20){left:68.621%!important;top:71.500%!important;width:17.274%!important;height:12.500%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(21){left:10.143%!important;top:85.750%!important;width:17.750%!important;height:7.250%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(22){left:29.952%!important;top:85.750%!important;width:17.116%!important;height:7.250%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(23){left:49.128%!important;top:85.750%!important;width:17.433%!important;height:7.250%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>:nth-child(24){left:68.621%!important;top:85.750%!important;width:17.274%!important;height:7.250%!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>.cat{font-size:1.85cqw!important}
body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>.tile{font-size:3.5cqw!important}
@media (max-width:760px),(max-aspect-ratio:1/1),(max-height:500px){
 body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board{left:auto!important;width:min(100%,calc((100dvh - 24px) * 1262 / 800))!important;aspect-ratio:1262/800}
 body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>.cat{font-size:max(8.5px,2.8cqw)!important}
 body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>.tile{font-size:5cqw!important}
}
/* ---------- Ende 4 Kategorien ---------- */

/* ---------- Pergament-Board: dunkle Tinte; Kopfzeilen der grünen Spalten mit heller Schrift; rote Spalte mit dunkelroter Tinte ---------- */
body[data-scene-design=aot][data-scene-fit=on] .jeopardy-player-view #playerBoard>.board>.cat{color:var(--at-ink)!important;text-shadow:0 .08cqw 0 rgba(255,246,226,.75)!important}
body[data-scene-design=aot][data-scene-fit=on]:not([data-scene-cols="4"]) .jeopardy-player-view #playerBoard>.board>.cat:is(:nth-child(2),:nth-child(4)),body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>.cat:nth-child(2){color:#f6ead2!important;text-shadow:0 .12cqw .2cqw rgba(0,0,0,.85)!important}
body[data-scene-design=aot][data-scene-fit=on]:not([data-scene-cols="4"]) .jeopardy-player-view #playerBoard>.board>.tile:nth-child(5n+3) .point-value,body[data-scene-design=aot][data-scene-fit=on][data-scene-cols="4"] .jeopardy-player-view #playerBoard>.board>.tile:nth-child(4n+3) .point-value{background:linear-gradient(180deg,#7a1810,#4a0c08 60%,#2a0604);-webkit-background-clip:text;background-clip:text}
