.games-reference{padding-block:35px 70px}.games-reference-head{max-width:920px;margin:30px 0}.games-reference h1{font-size:clamp(34px,4.3vw,62px);line-height:1.12;letter-spacing:-2px;margin:18px 0 24px}.games-reference .article-lead{font-size:17px;line-height:1.85;max-width:850px}.games-reference h2{font-size:29px;letter-spacing:-.8px;line-height:1.25}.games-compare{margin:42px 0 55px}.games-compare .settings-table{overflow-x:auto}.games-compare table{width:100%;min-width:620px}.games-compare caption{text-align:left;font-size:12px}.games-compare th,.games-compare td{font-size:13px;padding:18px;text-align:left}.games-compare tbody th a{color:#ffae8b}.games-reference-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:65px}.games-reference-nav{position:sticky;top:110px;align-self:start;display:flex;flex-direction:column;gap:18px;padding-top:30px}.games-reference-nav a{font-size:13px;color:#bbbfc9}.games-reference-nav a:hover{color:#ffa37b}.games-reference-mode{padding-block:30px 35px;border-top:1px solid #32343c;scroll-margin-top:105px}.games-reference-mode h2{margin:12px 0 20px}.games-reference-mode>p{font-size:15px;color:#bcc0c9;line-height:1.95;max-width:850px}.games-reference-mode .mode-checks{margin-block:24px}.games-official-source{font-size:12px;color:#9bb9df;text-decoration:underline;text-underline-offset:4px}.games-related,.games-reference-faq,.games-simulator-reference,.games-reference-sources{margin-top:44px;padding-top:28px;border-top:1px solid #32343c}.games-related>div{display:flex;flex-wrap:wrap;gap:22px 32px;margin-top:24px}.games-reference-faq{scroll-margin-top:105px}.games-reference-faq .faq-list{max-width:960px}.games-simulator-reference>p,.games-reference-sources p{font-size:14px;color:#b1b7c3;line-height:1.9;max-width:900px}.simulator-disclosure>summary{cursor:pointer;font-size:14px;color:#d3bfeb;padding:18px 0}.simulator-disclosure .simulator-guide{grid-template-columns:1fr;background:#14161b;border-radius:3px;padding:28px;margin-top:12px}.simulator-guide .mode-number{display:none}.simulator-guide h2{font-size:25px}.simulator-guide h3{font-size:17px}.simulator-guide li{font-size:14px;color:#bbc0cb;margin-block:12px;line-height:1.8}.games-reference-sources h2{font-size:20px}.games-reference-sources a{font-size:12px;color:#a9bbd5;text-decoration:underline}
@media(max-width:760px){.games-reference{padding-top:24px}.games-reference h1{font-size:36px;letter-spacing:-1.2px}.games-reference .article-lead{font-size:15px}.games-reference h2{font-size:25px}.games-reference-layout{display:block}.games-reference-nav{display:none}.games-compare{margin-block:30px}.games-compare th,.games-compare td{font-size:12px;padding:14px}.games-reference-mode{padding-block:26px}.games-reference-mode>p{font-size:14px}.games-related>div{flex-direction:column;gap:18px}.games-related .text-link{font-size:13px}.simulator-disclosure .simulator-guide{padding:20px}.games-reference-faq .faq-list summary{font-size:14px}.games-reference-sources p{font-size:12px}}
.game-explanation{max-width:850px}.game-explanation h3{font-size:20px;margin:28px 0 14px}.game-explanation p,.games-editorial p{line-height:1.85;color:#c3c4cc;max-width:78ch}.game-variants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.game-variants>div{padding:20px;border:1px solid #37333b;border-radius:10px;background:#18171d}.game-variants dt{color:#ffa77c;font-weight:700;margin-bottom:10px}.game-variants dd{margin:0;color:#c3c4cc;font-size:14px;line-height:1.7}.game-example{margin:24px 0;padding:22px;border-left:3px solid #ff8955;background:#211b1b;border-radius:0 8px 8px 0}.game-example figcaption{font-size:12px;color:#dca88e}.games-editorial{border-top:1px solid #36323c;padding-top:24px;margin:40px 0;scroll-margin-top:110px}.games-reference-mode h3{line-height:1.4}@media(max-width:600px){.game-variants{grid-template-columns:1fr}.game-explanation p,.games-editorial p{font-size:14px}.game-example{padding:16px}}
.games-atlas{margin:45px 0}.games-atlas-heading{margin-bottom:24px}.games-atlas-heading h2{margin-bottom:10px}.games-atlas-heading p{color:#b3b6c0}.games-atlas-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.atlas-item{display:flex;flex-direction:column;padding:0 17px 20px;border-top:2px solid var(--mode-accent);background:#17191e;border-radius:3px 3px 10px 10px;text-decoration:none;min-width:0;transition:background .2s}.atlas-item:hover,.atlas-item:focus-visible{background:#24262e;outline:2px solid var(--mode-accent);outline-offset:3px}.atlas-item h3{font-size:17px;line-height:1.35;margin:5px 0 10px}.atlas-item p{font-size:12px;line-height:1.7;color:#bec0c8;flex:1}.atlas-item>span{font-size:11px;color:var(--mode-accent);margin-top:12px;display:flex;justify-content:space-between;gap:10px}.mode-diagram{margin:26px 0;background:#14171c;border:1px solid #303540;border-radius:12px;overflow:hidden;max-width:850px}.mode-diagram svg{display:block;width:100%;height:auto;max-height:265px;padding:12px;box-sizing:border-box}.mode-diagram figcaption{display:flex;flex-direction:column;gap:8px;padding:18px 24px 22px;border-top:1px solid #303540}.mode-diagram figcaption strong{color:var(--mode-accent);font-size:17px}.mode-diagram figcaption span{font-size:14px;color:#c6c8d0}.mode-diagram figcaption small{font-size:11px;color:#9ca4b1}.atlas-item .mode-diagram{margin:0 -8px;border:0;background:transparent}.atlas-item .mode-diagram svg{padding:18px 0 8px}.games-reference-head .eyebrow,.games-reference-mode>.eyebrow{display:none}.games-reference-nav .eyebrow{font-family:inherit;letter-spacing:0;font-size:14px;color:#e2e1e6}.games-reference-nav{background:#17191e;padding:22px;border-radius:10px;gap:20px}.games-reference-nav a{line-height:1.5}.games-reference-layout{gap:42px}.games-reference-mode{padding-top:36px}.games-reference-mode>p{max-width:75ch}.games-reference .topic-nav{gap:10px;flex-wrap:wrap}.games-reference .topic-nav a{padding:10px 14px}.games-reference h2{line-height:1.35}@media(max-width:1050px){.games-atlas-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.games-atlas-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.atlas-item{padding-inline:14px}.atlas-item:last-child{grid-column:1/-1;display:grid;grid-template-columns:40% 1fr;column-gap:20px}.atlas-item:last-child .mode-diagram{grid-row:1/4;align-self:center}.atlas-item:last-child h3{margin-top:18px}.mode-diagram figcaption{padding:16px}.games-atlas-heading h2{font-size:24px}}
/* A short reading path first; reference material remains in native disclosures. */
.games-atlas-heading{display:none}.games-atlas{margin:30px 0 24px}.atlas-item{padding:22px 18px}.atlas-item h3{font-size:17px}.atlas-item p{font-size:14px}.atlas-item>span{font-size:12px}.games-table-disclosure,.games-background-disclosure{margin:22px 0 36px;border-bottom:1px solid #36343c}.games-table-disclosure>summary,.games-background-disclosure>summary,.mode-deeper>summary{cursor:pointer;color:#e1c1ac;padding:16px 0;font-size:14px;line-height:1.5}.games-table-disclosure .games-compare{margin-top:12px}.mode-deeper{margin-top:15px}.mode-deeper[open]>summary{border-bottom:1px solid #39343e}.mode-deeper-body{padding-top:10px}.games-reference-mode .mode-short{font-size:17px;line-height:1.8;color:#d5d6db;max-width:68ch}.games-reference-mode{padding:30px 0}.games-reference-mode h2{font-size:27px;margin-top:0}.games-reference-layout{margin-top:32px}.games-reference .games-atlas-grid{gap:12px}summary:focus-visible{outline:2px solid #ff9e6d;outline-offset:4px}@media(max-width:650px){.atlas-item:last-child{display:flex;grid-column:1/-1}.atlas-item:last-child h3{margin-top:5px}.games-reference-mode .mode-short{font-size:16px}.games-reference-mode h2{font-size:25px}.atlas-item{padding:18px 14px}}
.mode-deeper>summary,.games-table-disclosure>summary,.games-background-disclosure>summary{display:flex;justify-content:space-between;gap:20px;align-items:center;list-style:none}.mode-deeper>summary::after,.games-table-disclosure>summary::after,.games-background-disclosure>summary::after{content:'+';font-size:22px;flex-shrink:0}.mode-deeper[open]>summary::after,.games-table-disclosure[open]>summary::after,.games-background-disclosure[open]>summary::after{content:'−'}

/* Original, fixed educational timelines. */
.game-demo{margin:24px 0;border:1px solid #35353e;border-radius:14px;background:#131419;overflow:hidden;color:#f3f1ed}
.game-demo header{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:18px 22px;border-bottom:1px solid #2d2e36}
.game-demo header strong{font-size:16px}.game-demo small{color:#aaaab6;font-size:12px}
.demo-stage{height:240px;position:relative;display:grid;align-items:center;background:radial-gradient(ellipse at 50% 100%,#39273e88,transparent 70%);overflow:hidden;padding:20px}
.demo-item{min-width:0;text-align:center}.demo-item img{width:160px;height:110px;object-fit:contain;filter:drop-shadow(0 8px 16px #816bd350)}.demo-item span{display:block;font-size:12px;color:#cbc9d7;line-height:1.4}
.demo-reel{width:100%;overflow:hidden;position:relative;padding:18px 0;border-block:1px solid #51415d}
.demo-marker{position:absolute;left:50%;top:0;bottom:0;width:2px;background:#ff814d;z-index:1;box-shadow:0 0 12px #ff814d80}.demo-marker:before{content:'';position:absolute;top:0;left:-6px;border:7px solid transparent;border-top-color:#ff814d}
.demo-strip{display:flex;gap:20px;width:max-content;transform:translateX(calc(0px));transition:transform 2.8s cubic-bezier(.15,.65,.15,1)}.demo-strip .demo-item{width:160px;flex:none}
.game-demo[data-mode="0"][data-step="1"] .demo-strip{transform:translateX(-450px)}
.game-demo[data-mode="0"][data-step="2"] .demo-strip{transform:translateX(calc(-1260px + var(--demo-center, 0px)))}
.demo-reel{--demo-center:calc((100% - 160px)/2)}
.demo-versus{display:grid;grid-template-columns:1fr 1fr;gap:20px}.demo-player{padding:12px;text-align:center;border:1px solid #393a48;border-radius:10px;background:#191a23}.demo-player b{display:inline-grid;place-items:center;width:28px;height:28px;background:#3c344a;border-radius:50%;font-size:14px}.demo-player .demo-item img{height:80px}.demo-score{display:block;font-size:24px;font-variant-numeric:tabular-nums;margin-top:5px;color:#e8dfec}.game-demo[data-mode="1"][data-step="3"] .demo-player:first-child{border-color:#ff814d;box-shadow:inset 0 0 28px #ff814d12}.game-demo[data-step="3"] .demo-player:first-child .demo-score{color:#ff986c}
.demo-bracket{display:grid;grid-template-columns:1.2fr 1fr .7fr;gap:32px;align-items:center}.demo-bracket span,.demo-champion{display:grid;place-items:center;border:1px solid #535268;border-radius:8px;height:37px;background:#222331;font-weight:700}.demo-contenders,.demo-finalists{display:grid;gap:7px}.demo-finalists{gap:44px;opacity:.22}.demo-champion{opacity:.22;height:62px}.game-demo[data-mode="2"] .demo-stage:after{content:'All or Nothing';position:absolute;right:20px;top:10px;color:#aaa;font-size:11px}.game-demo[data-mode="2"]:not([data-step="0"]) .demo-finalists{opacity:1}.game-demo[data-mode="2"]:not([data-step="0"]) .demo-contenders span:nth-child(2),.game-demo[data-mode="2"]:not([data-step="0"]) .demo-contenders span:nth-child(3){opacity:.25}.game-demo[data-mode="2"][data-step="2"] .demo-champion,.game-demo[data-mode="2"][data-step="3"] .demo-champion{opacity:1;border-color:#ff814d;color:#ff986c}.demo-bracket *{transition:opacity .6s,border-color .6s}
.demo-arena{height:200px;position:relative;border:1px solid #414253;border-radius:12px;background:radial-gradient(#343449 1px,transparent 1px);background-size:18px 18px}.demo-figure{position:absolute;font-size:27px;width:44px;height:44px;border:1px solid #65607c;background:#242531;border-radius:50%;display:grid;place-items:center;transition:left 1.4s,top 1.4s,background .4s}.figure-0{left:8%;top:16%}.figure-1{left:44%;top:10%}.figure-2{left:77%;top:12%}.figure-3{left:20%;top:63%}.figure-4{left:60%;top:60%}.figure-5{left:82%;top:65%}.game-demo[data-mode="3"][data-step="1"] .figure-2{left:17%;top:19%}.game-demo[data-mode="3"][data-step="1"] .figure-5{left:29%;top:61%}.game-demo[data-mode="3"][data-step="2"] .demo-figure{left:44%;top:36%}.game-demo[data-mode="3"][data-step="3"] .demo-figure{background:#404059;border-color:#a8a1de}
.demo-upgrade{display:grid;grid-template-columns:1fr 140px 1fr;gap:16px;align-items:center}.demo-odds{width:130px;height:130px;border-radius:50%;background:conic-gradient(#bc8fec 0deg 90deg,#303140 90deg);position:relative;display:grid;place-items:center}.demo-odds:before{content:'';position:absolute;inset:12px;border-radius:50%;background:#171821}.demo-odds strong{position:relative;font-size:24px}.demo-odds i{position:absolute;inset:-6px;transition:transform 2.4s cubic-bezier(.15,.65,.15,1)}.demo-odds i:before{content:'';position:absolute;left:calc(50% - 5px);top:0;width:10px;height:10px;border-radius:50%;background:#fff}.game-demo[data-mode="4"][data-step="1"] .demo-odds i{transform:rotate(360deg)}.game-demo[data-mode="4"][data-step="2"] .demo-odds i{transform:rotate(610deg)}.game-demo[data-mode="4"][data-step="2"] .demo-upgrade>.demo-item{opacity:.35}
.demo-controls{display:flex;align-items:center;gap:8px;padding:15px 22px;border-top:1px solid #30313a}.demo-controls[hidden]{display:none}.demo-controls button{border:1px solid #4b4554;border-radius:6px;background:#222129;color:#eee;padding:9px 14px;font:inherit;font-size:14px;cursor:pointer;min-height:42px}.demo-controls [data-play]{margin-right:auto;border-color:#b26342;color:#ffab81}.demo-controls button:hover{background:#3d2b25;border-color:#ff814d}.demo-controls button:focus-visible{outline:2px solid #ff986c;outline-offset:3px}.demo-controls button:disabled{opacity:.3;cursor:default}.demo-controls [data-counter]{font-size:12px;white-space:nowrap;color:#bdb8c8}.demo-captions{padding:0 22px 0 42px;margin:0 0 16px;line-height:1.65;color:#d9d5e0;font-size:15px}.demo-ready .demo-captions{list-style:none;padding-left:22px;min-height:76px}.demo-note{display:block;padding:0 22px 16px}.game-demo:not(.is-playing) *{animation-play-state:paused}.demo-item,.demo-upgrade>.demo-item{transition:opacity .5s}
@media(max-width:600px){.demo-stage{height:210px;padding:12px}.game-demo header{padding:15px}.demo-item img{max-width:100%}.demo-upgrade{grid-template-columns:1fr 85px 1fr;gap:8px}.demo-odds{width:82px;height:82px}.demo-odds strong{font-size:19px}.demo-item span{font-size:10px}.demo-versus{gap:8px}.demo-player{padding:6px}.demo-controls{padding:12px;gap:5px}.demo-controls button{padding:8px 10px;font-size:12px}.demo-captions{font-size:14px}.demo-ready .demo-captions{min-height:116px}.demo-bracket{gap:18px}.game-demo header small{max-width:100%}}
@media(prefers-reduced-motion:reduce){.game-demo *{transition:none!important;animation:none!important}}
.demo-drop-window{height:101px;overflow:hidden;margin:4px 0}.demo-drop-stack{transition:transform 1.7s cubic-bezier(.15,.65,.2,1)}.demo-drop-stack .demo-item{height:101px}.game-demo[data-mode="1"][data-step="2"] .demo-drop-stack,.game-demo[data-mode="1"][data-step="3"] .demo-drop-stack{transform:translateY(-101px)}
@media(prefers-reduced-motion:reduce){.demo-drop-stack{transition:none}}
/* Playback is controlled by the timeline, including actual pause/resume. */
.game-demo.is-playing .demo-stage{box-shadow:inset 0 -2px #ff814d55}
.demo-controls [data-play]{min-width:112px;font-weight:600}
.game-demo.is-playing .demo-drop-stack,.game-demo.is-playing .demo-strip,.game-demo.is-playing .demo-odds i{transition:none}
.rps-defs{position:absolute;width:0;height:0;overflow:hidden}.game-demo[data-mode="3"] .demo-stage{display:flex;flex-direction:column;gap:10px;height:260px}.game-demo[data-mode="3"] .demo-arena{width:100%;flex:1;min-height:170px}.demo-figure svg,.rps-legend svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.demo-figure[data-figure="rock"],.rps-legend [data-figure="rock"]{color:#e8ad73}.demo-figure[data-figure="paper"],.rps-legend [data-figure="paper"]{color:#88cfff}.demo-figure[data-figure="scissors"],.rps-legend [data-figure="scissors"]{color:#d3a4f4}.rps-legend{display:flex;justify-content:center;gap:22px;flex-wrap:wrap;font-size:12px}.rps-legend span{display:flex;align-items:center;gap:6px}.rps-legend svg{width:19px;height:19px}.game-demo[data-mode="3"][data-step="2"] .figure-0{left:24%;top:16%}.game-demo[data-mode="3"][data-step="2"] .figure-1{left:44%;top:10%}.game-demo[data-mode="3"][data-step="2"] .figure-2{left:73%;top:16%}.game-demo[data-mode="3"][data-step="2"] .figure-3{left:16%;top:63%}.game-demo[data-mode="3"][data-step="2"] .figure-4{left:48%;top:60%}.game-demo[data-mode="3"][data-step="2"] .figure-5{left:76%;top:65%}
@media(max-width:600px){.rps-legend{gap:12px;font-size:11px}.game-demo[data-mode="3"] .demo-stage{height:260px}}
.games-quick-table{border:1px solid #36343f;border-radius:10px;overflow:hidden}.games-quick-table table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.6}.games-quick-table th,.games-quick-table td{padding:15px 18px;text-align:left;border-bottom:1px solid #303039;vertical-align:top}.games-quick-table thead{background:#211e26;color:#ccc1d2}.games-quick-table tbody tr:last-child>*{border-bottom:0}.games-quick-table th:first-child{width:20%}.games-quick-table td:nth-child(2){white-space:nowrap;width:15%}.games-quick-table a{color:#ffb58c}.games-quick-table td{color:#cecad3}.games-quick-table tr:hover{background:#ffffff03}.games-compare .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.demo-rule-switch{border:0;padding:12px 22px 0;margin:0;display:flex;gap:8px;flex-wrap:wrap}.demo-rule-switch[hidden]{display:none}.demo-rule-switch legend{float:left;width:100%;padding:10px 0;font-size:13px;color:#c9c4cf}.demo-rule-switch button{background:#222129;border:1px solid #48424e;color:#ded8e4;font:inherit;font-size:13px;padding:9px 13px;border-radius:6px;cursor:pointer;min-height:40px}.demo-rule-switch button[aria-pressed="true"]{background:#3d2b22;color:#ffb58c;border-color:#cc7851}.demo-rule-switch button:focus-visible{outline:2px solid #ffb58c;outline-offset:3px}.demo-rule-note{margin:12px 22px!important;font-size:13px!important;line-height:1.5!important;color:#c6bdcc!important}.game-demo[data-mode="1"][data-step="3"] .demo-player:first-child{border-color:#393a48;box-shadow:none}.game-demo[data-mode="1"][data-step="3"] .demo-player:first-child .demo-score{color:#e8dfec}.game-demo[data-winner="A"] .demo-player:first-child,.game-demo[data-winner="B"] .demo-player:last-child{border-color:#ff814d!important;box-shadow:inset 0 0 28px #ff814d12!important}.game-demo[data-winner="A"] .demo-player:first-child .demo-score,.game-demo[data-winner="B"] .demo-player:last-child .demo-score{color:#ff986c!important}.games-mobile-nav{display:none}
@media(max-width:760px){.games-mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:80;gap:5px;overflow-x:auto;overscroll-behavior-x:contain;background:#17181df5;border-top:1px solid #50414a;padding:10px 12px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -8px 24px #0005}.games-mobile-nav a{white-space:nowrap;font-size:12px;color:#eee1d9;padding:10px 12px;border-radius:6px;background:#27232b;min-height:40px}.games-mobile-nav a:focus-visible{outline:2px solid #ff986c;outline-offset:-2px}.games-mobile-nav a:hover{background:#493023}.games-reference{padding-bottom:85px}body:has(.games-mobile-nav){padding-bottom:75px}.games-quick-table th,.games-quick-table td{font-size:12px;padding:10px 8px}.games-quick-table th:first-child{width:20%}.demo-rule-switch{padding-inline:12px}.demo-rule-note{margin-inline:12px!important}.games-reference-mode{scroll-margin-top:180px}}

/* In-scene editorial labels reserve space rather than covering the example. */
.game-demo .demo-stage{height:290px;padding-top:62px}
.demo-stage-label{position:absolute;top:14px;left:16px;right:16px;text-align:center;font-size:13px;font-weight:650;line-height:1.4;color:#dcd7e2;letter-spacing:.01em}
.game-demo[data-mode="2"] .demo-stage:after{display:none}
.game-demo[data-mode="3"] .demo-stage{height:310px;padding-top:62px}
.demo-result-title{display:block;margin:16px 22px 0;padding:16px 18px 7px;background:#29221e;border:1px solid #a9644166;border-bottom:0;border-radius:9px 9px 0 0;color:#ffb18b;font-size:19px;line-height:1.3}
.demo-result-title[hidden]{display:none}
.demo-finished .demo-captions{margin:0 22px 18px;padding:0 18px 16px;min-height:0;background:#29221e;border:1px solid #a9644166;border-top:0;border-radius:0 0 9px 9px}
.demo-finished .demo-stage-label{color:#ffb18b}
.demo-finished[data-mode="3"] .demo-arena{border-color:#88cfff;box-shadow:inset 0 0 25px #88cfff12}
.demo-finished[data-mode="3"] .demo-figure{border-color:#88cfff;background:#203344}
.demo-finished[data-mode="2"] .demo-champion{box-shadow:0 0 20px #ff814d25;border-width:2px}
.demo-finished[data-mode="4"] .demo-odds{border-color:#ba8f86}
@media(max-width:600px){.game-demo .demo-stage{height:268px;padding-top:64px}.game-demo[data-mode="3"] .demo-stage{height:316px}.demo-stage-label{font-size:12px;left:12px;right:12px}.demo-result-title{font-size:17px;margin-left:12px;margin-right:12px}.demo-finished .demo-captions{margin-left:12px;margin-right:12px}}

/* Fixed collision lanes: no unrelated figures cross each other's paths. */
.game-demo[data-mode="3"] .demo-figure{transition:background .2s,border-color .2s;will-change:transform}
.game-demo[data-mode="3"] .figure-0,.game-demo[data-mode="3"] .figure-3{left:8%}
.game-demo[data-mode="3"] .figure-2,.game-demo[data-mode="3"] .figure-5{left:40%}
.game-demo[data-mode="3"] .figure-1,.game-demo[data-mode="3"] .figure-4{left:76%}
.game-demo[data-mode="3"] .figure-0,.game-demo[data-mode="3"] .figure-1,.game-demo[data-mode="3"] .figure-2{top:12%}
.game-demo[data-mode="3"] .figure-3,.game-demo[data-mode="3"] .figure-4,.game-demo[data-mode="3"] .figure-5{top:62%}
.game-demo[data-mode="3"][data-step] .figure-0,.game-demo[data-mode="3"][data-step] .figure-3{left:8%}
.game-demo[data-mode="3"][data-step] .figure-2,.game-demo[data-mode="3"][data-step] .figure-5{left:40%}
.game-demo[data-mode="3"][data-step] .figure-1,.game-demo[data-mode="3"][data-step] .figure-4{left:76%}
.game-demo[data-mode="3"][data-step] .figure-0,.game-demo[data-mode="3"][data-step] .figure-1,.game-demo[data-mode="3"][data-step] .figure-2{top:12%}
.game-demo[data-mode="3"][data-step] .figure-3,.game-demo[data-mode="3"][data-step] .figure-4,.game-demo[data-mode="3"][data-step] .figure-5{top:62%}

/* Round values and cumulative totals remain distinct in every battle rule. */
.game-demo[data-mode="1"] .demo-stage{height:370px}
.demo-scoreboard{margin:8px 0 0;display:grid;gap:5px;text-align:left}
.demo-scoreboard>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border-radius:5px;border:1px solid transparent}
.demo-scoreboard dt{font-size:12px;line-height:1.35;color:#c5becd}
.demo-scoreboard dd{margin:0;font-size:21px;line-height:1.2;font-weight:700;color:#e8dfec;font-variant-numeric:tabular-nums}
.game-demo[data-scoring="total"] .demo-total-row,.game-demo[data-scoring="last"] .demo-round-row{background:#302821;border-color:#b5784d66}
.game-demo[data-scoring="last"] .demo-total-row dd{color:#aaa3b1!important;font-size:17px}
.game-demo[data-scoring="last"] .demo-round-row dd{color:#ffb18b}
/* Tournament history stays visible; progressing entrants travel to their next slot. */
.game-demo[data-mode="2"] .demo-stage{height:370px}
.demo-bracket{grid-template-columns:1.2fr 1fr .8fr;gap:30px;align-items:stretch}
.demo-bracket-column{position:relative;display:flex;flex-direction:column;justify-content:center;min-width:0;padding-top:30px}
.demo-bracket-heading{position:absolute;top:0;left:0;right:0;text-align:center;font-size:12px;color:#c8c0d1;line-height:1.25}
.demo-bracket-column:not(:last-child):after{content:'→';position:absolute;right:-24px;top:53%;color:#a78367;font-size:20px}
.demo-bracket span{height:46px;display:flex;flex-direction:column;justify-content:center;gap:2px;padding:3px;font-size:14px;transition:opacity .3s,border-color .3s}
.demo-bracket i{font-style:normal}.demo-bracket small{font-size:10px;line-height:1.1;font-weight:400;color:inherit}
.demo-bracket [data-state="out"]{opacity:.3!important;filter:grayscale(1)}
.demo-bracket [data-state="advanced"]{border-color:#b78057;color:#ffc08a}
.demo-finalists{opacity:1;gap:35px}
.game-demo[data-mode="2"][data-step="0"] .demo-finalists{opacity:0}
.game-demo[data-mode="2"][data-step="0"] .demo-champion,.game-demo[data-mode="2"][data-step="1"] .demo-champion,.game-demo[data-mode="2"][data-step="2"] .demo-champion{opacity:0}
.game-demo[data-mode="2"][data-step="3"] .demo-champion{opacity:1}
@media(max-width:600px){.game-demo[data-mode="1"] .demo-stage{height:350px}.demo-scoreboard>div{padding:6px;gap:4px}.demo-scoreboard dt{font-size:10px}.demo-scoreboard dd{font-size:20px}.game-demo[data-mode="2"] .demo-stage{height:350px}.demo-bracket{gap:16px;grid-template-columns:1.2fr 1fr .85fr}.demo-bracket-column:not(:last-child):after{right:-13px;font-size:14px}.demo-bracket-heading{font-size:10px}.demo-bracket span{font-size:12px;height:47px}.demo-bracket small{font-size:9px}}
