:root{font-family:Nunito,system-ui,sans-serif;color:#fff7df;background:#125f56;font-synthesis:none;--ink:#183d36;--cream:#fff6dc;--gold:#f8ca59;--board-size:300px;--control-width:224px}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}body{height:100dvh;color:#fff7df}button,a{-webkit-tap-highlight-color:transparent}button{font:900 14px Nunito,system-ui;color:inherit;cursor:pointer;border:0;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #ffe269;outline-offset:4px}button:active:not(:disabled){translate:0 2px}[hidden]{display:none!important}
#app{height:100%;position:relative;overflow:hidden;background:radial-gradient(ellipse at 45% 25%,#379e80 0,#167363 48%,#0b4946 100%)}#app:before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.14;background-image:radial-gradient(ellipse at 50% 0,transparent 11px,#b8e4a3 12px 13px,transparent 14px),radial-gradient(ellipse at 0 50%,transparent 11px,#b8e4a3 12px 13px,transparent 14px);background-size:54px 54px;mask-image:linear-gradient(90deg,#000,transparent 35%,transparent 65%,#000)}
#home,#play{position:relative;height:100%}header{height:52px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 14px}header span{background:#073d38a8;border:1px solid #f9df882e;border-radius:20px;padding:7px 10px;font-size:11px;font-weight:900}.round{display:grid;place-items:center;flex:none;width:40px;height:40px;text-decoration:none;border:1px solid #c9f2d151;border-radius:14px;color:#fff6d8;background:linear-gradient(#3c997d,#176357);box-shadow:0 3px #083e38;font-size:25px}
.welcome{height:calc(100% - 52px);display:flex;align-items:center;justify-content:center;padding:8px 16px 18px}.intro{display:flex;flex-direction:column;align-items:center;text-align:center}.eyebrow{font-size:9px;letter-spacing:2.5px;color:#e2edc1;font-weight:900;margin:0 0 9px}h1{margin:0;font-family:'Baloo 2',Nunito,system-ui;line-height:1}.letters{display:flex;gap:8px}.letters i{display:grid;place-items:center;font-style:normal;font-size:57px;width:59px;height:61px;border:2px solid #fff6dc;border-radius:14px;box-shadow:0 5px #082e33,0 8px #032b3140;text-shadow:0 3px #7b223677;transform:rotate(-6deg);background:linear-gradient(#ff6473,#dc244d)}.letters i:nth-child(2){background:linear-gradient(#64ee94,#13ad68);transform:rotate(5deg)}.letters i:nth-child(3){background:linear-gradient(#65d9ff,#168cdb);transform:rotate(-4deg)}.letters i:nth-child(4){background:linear-gradient(#ffdf53,#f5a722);transform:rotate(6deg)}h1 small{display:block;font:1000 16px Nunito,system-ui;letter-spacing:5px;color:#ffe59c;margin-top:15px}.tagline{font-size:12px;color:#f0f7dc;margin:10px 0;font-weight:800}.hero{width:148px;height:148px;margin:8px 0 18px;padding:5px;background:linear-gradient(#ffe8ae,#dcaf5e);border-radius:12px;box-shadow:0 6px #79582e,0 12px 25px #032d385e;transform:rotate(-8deg);position:relative}.hero>svg{display:block;width:100%;height:100%}
.setup{display:grid;gap:7px;width:320px;max-width:90vw;margin-bottom:14px}.picker{display:flex;gap:8px}.picker button{min-height:42px;flex:1;background:#094c46b8;border:1px solid #bcdfb644;border-radius:12px;padding:7px 5px;font-size:12px;color:#e2efda}.picker button[aria-pressed=true]{background:linear-gradient(#fff8dc,#ffe5a5);color:#423c21;border-color:#fff0b6;box-shadow:0 3px #ae803b}.picker small{display:block;font-size:9px;margin-top:3px;font-weight:800}.primary{display:block;width:min(320px,92%);margin:0 auto;min-height:52px;padding:10px 16px;font-size:23px;border:2px solid #f0ffb4;border-radius:18px;background:linear-gradient(#b7ee59,#6fca31);color:#23421a;text-shadow:0 1px #e0ffaa;box-shadow:0 5px #39832c,0 8px #0b3e35}#homeNote{font-size:10px;color:#e0f0d6;min-height:15px;margin:13px 0}nav{display:flex;gap:20px}nav button{background:none;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:10px;padding:0;min-width:44px}nav b{display:grid;place-items:center;width:40px;height:40px;font-size:20px;color:#573324;background:linear-gradient(#ffeb8c,#ffbf3c);border:2px solid #fff4c8;border-radius:50%;box-shadow:0 3px #784731}nav button:nth-child(2) b{background:linear-gradient(#ffbdcf,#fb6089)}nav button:nth-child(3) b{background:linear-gradient(#9aeaff,#389edc)}nav button:nth-child(4) b{background:linear-gradient(#dfc6ff,#a378eb)}
#play header{height:48px}#play header>div{text-align:center;font-size:15px}#play header small{display:block;font-size:10px;font-weight:700;color:#d0e9cf;margin-top:2px}.match{height:calc(100% - 48px);padding:7px 12px 17px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;min-width:0;min-height:0}.board-side{width:var(--board-size);flex:none;min-width:0}#players{display:flex;gap:7px;margin-bottom:10px;height:44px}.player{flex:1;min-width:0;border:1px solid #e2edcf35;border-radius:12px;padding:6px 9px;background:#0a443db8;color:#d4e5cf;position:relative}.player.active{background:#fff2cc;color:#173d33;border-color:#ffeaba;box-shadow:0 2px #967840}.player strong{display:block;font-size:11px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:12px}.player small{display:block;font-size:9px;line-height:13px}.player:after{content:'';position:absolute;right:8px;top:10px;width:8px;height:8px;border-radius:50%;background:var(--color);box-shadow:0 0 0 1px #ffffff55}
.board-frame{width:100%;aspect-ratio:1;position:relative;flex:none;border:7px solid #f5dba2;border-radius:18px;background:#fff9e9;box-shadow:0 5px #b38847,0 9px #6c5035,0 17px 27px #073f384d;touch-action:manipulation}#board,#pieces,#route{position:absolute;inset:0}#board svg{display:block;width:100%;height:100%;border-radius:10px}#pieces{pointer-events:none}#route{pointer-events:none;z-index:3;width:100%;height:100%;overflow:visible}.route-dot{fill:#233f40;stroke:#fff;stroke-width:2}.route-line{stroke:#284741;stroke-width:4;stroke-dasharray:4 7;fill:none;stroke-linecap:round;opacity:.7}
.pawn{position:absolute;width:7.4%;height:9.5%;padding:0;background:none;transform:translate(-50%,-65%);pointer-events:auto;z-index:5;opacity:1!important;filter:drop-shadow(0 2px 1px #173e3455);transition:left .11s ease-out,top .11s ease-out}.pawn svg{display:block;width:100%;height:100%;overflow:visible}.pawn.selectable{z-index:8;cursor:pointer}.pawn.selectable:before{content:'';position:absolute;inset:26% -8% 0;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 2px #533e16,0 0 0 4px #ffdf48;animation:selectPulse 1.4s ease-in-out infinite}.pawn.moving{z-index:12;filter:drop-shadow(0 5px 3px #082c4555)}.pawn.landed svg{animation:land .32s ease-out}.pawn.captured{z-index:11;transition:left .3s cubic-bezier(.25,.7,.3,1),top .3s cubic-bezier(.25,.7,.3,1)}#target{position:absolute;width:6.4%;height:6.4%;border:3px solid #433620;border-radius:50%;background:#ffdc4288;transform:translate(-50%,-50%);pointer-events:none;z-index:4;box-shadow:0 0 0 2px #fff}
.controls{width:min(100%,440px);flex:none;display:grid;grid-template-columns:minmax(0,1fr) 80px;gap:4px 12px;align-items:center;min-width:0}.turn-heading{display:flex;align-items:center;gap:8px;grid-column:1;text-align:left}.turn-heading small{display:block;font-size:9px;letter-spacing:1.4px;color:#e3edc4;font-weight:900}.turn-heading h2{font-size:18px;line-height:1.25;margin:1px 0 0;color:#fff7dd}#turnDot{width:12px;height:12px;flex:none;border:2px solid #fff0c8;border-radius:50%;box-shadow:0 2px #0c4436}#turnNumber{margin-left:auto;font-size:10px;color:#d1e6ca}#instruction{grid-column:1;min-height:35px;font-size:12px;line-height:1.35;color:#f1f5df;align-self:start;padding-top:3px}#roll{grid-column:2;grid-row:1/3;min-height:94px;width:80px;padding:3px 0 0;background:none;display:flex;flex-direction:column;align-items:center;gap:10px}#die{display:block;width:66px;height:66px;border:2px solid #fff;border-radius:17px;background:linear-gradient(135deg,#fffef7,#fff5d3);padding:8px;box-shadow:0 5px #c7b582,0 8px #083e3555;transform:rotate(-6deg)}#die svg{width:100%;height:100%;display:block}#roll:not(:disabled) #die{box-shadow:0 5px #bd9f63,0 0 0 4px #ffda57,0 11px 16px #0b3b3544}#roll:disabled #die{background:linear-gradient(#f8f4e7,#eadfbe)}#rollLabel{font-size:9px;line-height:12px;letter-spacing:.6px;color:#ffe6a0}#die.rolling{animation:diceRoll .22s ease-in-out infinite}
#choices{grid-column:1/3;display:flex;gap:7px;min-height:46px;align-items:center}#choices:empty{min-height:46px}.choice{display:flex;flex:1;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:45px;max-width:110px;padding:5px 6px;border-radius:12px;background:linear-gradient(#fffbdf,#f4dfa4);box-shadow:0 3px #926f37;border:1px solid #fff4c6;color:#254335}.choice strong{display:grid;place-items:center;flex:none;background:var(--dark);color:#fff;border:1px solid #fff7dd;border-radius:50%;width:25px;height:25px;font-size:15px}.choice span{font-size:10px;font-weight:1000}.choice:hover{background:#fff6cf}.choice.preview{outline:3px solid #ffe363;outline-offset:2px}#feedback{grid-column:1/3;font-size:11px;line-height:1.35;min-height:44px;margin:4px 0 0;color:#ffe5a0;font-weight:800}#saveNote{grid-column:1/3;font-size:10px;margin:0;color:#ffcb9d}.legend{grid-column:1/3;margin:0;color:#d1e3cb;font-size:10px}.legend span{margin-left:12px}
.match[data-layout=wide]{flex-direction:row;gap:24px;padding:8px 20px 20px}.match[data-layout=wide] .controls{width:var(--control-width);display:flex;flex-direction:column;gap:9px;text-align:center}.match[data-layout=wide] .turn-heading{align-self:stretch;padding:11px 12px;background:#0a4c43a6;border:1px solid #cfe6c940;border-radius:15px}.match[data-layout=wide] #instruction{min-height:42px;align-self:stretch;padding-top:0}.match[data-layout=wide] #roll{width:110px;min-height:133px;gap:15px}.match[data-layout=wide] #die{width:92px;height:92px;border-radius:22px;padding:13px}.match[data-layout=wide] #rollLabel{font-size:11px}.match[data-layout=wide] #choices{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:7px}.match[data-layout=wide] #choices:empty{display:grid;min-height:46px}.match[data-layout=wide] .choice{max-width:none;min-height:45px}.match[data-layout=wide] #feedback{min-height:30px;margin:0}.match[data-layout=wide] .legend{font-size:9px}
dialog{width:min(350px,calc(100% - 28px));max-height:calc(100% - 28px);overflow:auto;border:3px solid #ffe6a8;border-radius:26px;padding:24px 21px 18px;text-align:center;background:linear-gradient(#fffbed,#f7edce);color:#234238;box-shadow:0 7px #967342,0 22px 70px #032c3577}dialog::backdrop{background:#082f386b}dialog:before{content:'◆';display:grid;place-items:center;width:43px;height:43px;margin:0 auto 11px;background:#ffe6a3;border:2px solid #dfb34e;border-radius:14px;color:#987123;font-size:23px}dialog[data-kind=pause]:before{content:'Ⅱ'}dialog h2{font-family:'Baloo 2',Nunito,system-ui;font-size:26px;line-height:1.1;margin:0 0 9px}dialog p{font-size:12px;line-height:1.6;color:#47604e;margin:10px 0 15px}dialog .primary{font-size:19px;width:100%;min-height:49px;margin:12px 0 13px;border-color:#f4ffca;box-shadow:0 4px #487e28}dialog .secondary{display:block;min-height:44px;width:100%;background:#e8dbb56e;color:#405541;border:1px solid #c7b88d;border-radius:12px;padding:9px;margin:8px auto 0}dialog .secondary:hover{background:#e8dbb5}.result-score{font:1000 45px 'Baloo 2',Nunito;line-height:1.2;color:#128267}.result-grid{display:flex;justify-content:center;gap:20px;font-size:11px;color:#607054}.result-grid b{display:block;font-size:24px;color:#294b3c}progress{width:90%;height:8px;accent-color:#2b9d68}.confetti-piece{position:absolute;width:7px;height:12px;left:50%;top:50%;background:var(--c);animation:confetti 1.5s ease-out forwards;z-index:15;pointer-events:none}#uji{position:absolute;inset:0;z-index:30;background:white;color:black;overflow:auto;padding:20px;margin:0}
@keyframes selectPulse{50%{box-shadow:0 0 0 2px #533e16,0 0 0 5px #ffdf48}}@keyframes diceRoll{0%,100%{transform:rotate(-12deg) translateY(0)}50%{transform:rotate(13deg) translateY(-7px)}}@keyframes land{0%{scale:1.1 .9}50%{scale:.94 1.06}100%{scale:1}}@keyframes confetti{to{transform:translate(var(--x),var(--y)) rotate(340deg);opacity:0}}
@media(min-width:700px) and (min-aspect-ratio:6/5){.intro{display:grid;grid-template-columns:320px 260px;column-gap:42px}.intro>.eyebrow,.intro>h1,.intro>.tagline,.intro>.setup,.intro>.primary,.intro>#homeNote,.intro>nav{grid-column:1}.hero{grid-column:2;grid-row:1/9;width:260px;height:260px;margin:0}.intro h1{justify-self:center}.intro>.primary{width:100%}.intro>nav{justify-content:center}.intro>.eyebrow{margin-bottom:10px}.setup{margin-top:7px}}
@media(max-height:740px) and (max-aspect-ratio:6/5){.hero{width:96px;height:96px;margin:5px 0 12px}.letters i{font-size:46px;width:49px;height:49px}h1 small{font-size:13px;margin-top:11px}.eyebrow{margin-bottom:6px}.tagline{margin:8px 0;font-size:11px}.setup{gap:6px;margin-bottom:12px}.picker button{min-height:38px;padding:6px 4px}.primary{min-height:48px;font-size:22px}#homeNote{margin:11px 0}nav b{width:35px;height:35px}nav{gap:17px}nav button{gap:4px}}
@media(max-height:600px){header{height:44px}.welcome{height:calc(100% - 44px);padding:4px 12px 10px}.eyebrow{font-size:8px;margin-bottom:5px}.letters i{font-size:42px;width:44px;height:44px}h1 small{font-size:12px;margin-top:10px}.tagline{margin:6px 0;font-size:10px}.setup{gap:5px;margin-bottom:10px;margin-top:4px}.picker button{min-height:34px;padding:5px}.primary{min-height:43px;padding:7px;font-size:21px}#homeNote{margin:10px 0;font-size:9px}nav b{width:32px;height:32px}nav button{font-size:9px}.hero{width:80px;height:80px;margin:3px 0 9px}.intro>.hero{grid-row:1/9}#play header{height:44px}.match{height:calc(100% - 44px);gap:10px;padding-top:5px;padding-bottom:14px}.match[data-layout=wide]{gap:18px;padding:6px 14px 16px}.match[data-layout=wide] .controls{gap:7px}.match[data-layout=wide] #roll{min-height:108px;gap:11px}.match[data-layout=wide] #die{width:75px;height:75px;padding:10px;border-radius:18px}.match[data-layout=wide] #instruction{min-height:32px;font-size:11px}.match[data-layout=wide] .turn-heading{padding:8px 9px}.match[data-layout=wide] .turn-heading h2{font-size:16px}#players{height:40px;margin-bottom:8px}.player{padding:4px 7px}.legend{font-size:9px}dialog{padding:15px 18px}dialog:before{width:32px;height:32px;font-size:18px;margin-bottom:8px}dialog h2{font-size:23px}dialog p{margin:8px 0 11px}}
@media(min-width:700px) and (max-height:600px){.hero{width:220px;height:220px;margin:0}.intro{grid-template-columns:300px 220px;gap:0 26px}.setup{width:300px}}
body.cover header,body.cover .setup,body.cover .primary,body.cover #homeNote,body.cover nav,body.cover .tagline,body.cover .eyebrow{display:none}body.cover .welcome{height:100%}body.cover .intro{display:flex;flex-direction:row;gap:65px;align-items:center;justify-content:center;width:100%}body.cover .hero{width:335px;height:335px;margin:0;flex:none}body.cover .letters i{font-size:82px;width:82px;height:87px}body.cover h1 small{font-size:23px;margin-top:24px}
@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(min-width:560px) and (max-height:430px){.intro{display:grid;grid-template-columns:220px 280px;column-gap:24px;align-items:center}.intro>.eyebrow{grid-column:1;grid-row:1;margin:0}.intro>h1{grid-column:1;grid-row:2;justify-self:center}.intro>.tagline{grid-column:1;grid-row:3}.intro>.hero{grid-column:1;grid-row:4/7;width:120px;height:120px;margin:5px auto}.intro>.setup{grid-column:2;grid-row:1/4;width:280px;margin:0 0 10px}.intro>.primary{grid-column:2;grid-row:4;width:100%}.intro>#homeNote{grid-column:2;grid-row:5;margin:8px 0}.intro>nav{grid-column:2;grid-row:6;justify-content:center}.welcome{padding:4px 12px 12px}}

@media(max-height:430px){.match[data-layout=wide] .controls{gap:5px}.match[data-layout=wide] .turn-heading{padding:4px 8px}.match[data-layout=wide] #instruction{min-height:28px;font-size:10px}.match[data-layout=wide] #roll{min-height:78px;gap:8px}.match[data-layout=wide] #die{width:50px;height:50px;border-radius:13px;padding:6px}.match[data-layout=wide] #rollLabel{font-size:9px}.match[data-layout=wide] #choices{gap:7px}.match[data-layout=wide] .choice{min-height:44px}.match[data-layout=wide] #feedback{min-height:29px;font-size:10px}.match[data-layout=wide] .legend{display:none}}

/* Portrait phones: spend the available width on the board, keep controls in a compact dock. */
@media(max-width:699px) and (orientation:portrait){
 #play{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
 #play header{height:46px;padding:4px 10px}#play header .round{width:36px;height:36px;border-radius:12px;font-size:22px}#play header>div{font-size:16px}#play header small{font-size:10px}
 .match[data-layout=stack]{height:calc(100% - 46px);padding:5px 8px 12px;justify-content:flex-start;gap:12px}
 .match[data-layout=stack] .board-side{max-width:100%;width:var(--board-size)}
 .match[data-layout=stack] #players{height:43px;margin-bottom:8px;gap:5px}.match[data-layout=stack] .player{padding:5px 7px;border-radius:10px}.match[data-layout=stack] .player strong{font-size:12px;line-height:16px}.match[data-layout=stack] .player small{font-size:9px;line-height:12px}.match[data-layout=stack] .player:after{right:5px;top:9px;width:7px;height:7px}
 .match[data-layout=stack] .board-frame{border-width:5px;border-radius:14px;box-shadow:0 4px #b38847,0 7px #6c5035,0 11px 20px #073f3844}.match[data-layout=stack] #board svg{border-radius:8px}
 .match[data-layout=stack] .pawn{width:8.2%;height:10.5%}
 .match[data-layout=stack] .controls{width:min(100%,480px);grid-template-columns:minmax(0,1fr) 88px;grid-template-rows:29px 39px 48px 28px;gap:4px 10px;padding:0 4px;border-radius:14px}
 .match[data-layout=stack] .turn-heading{grid-column:1;grid-row:1;gap:7px;align-self:end}.match[data-layout=stack] .turn-heading>div{display:flex;align-items:baseline;gap:6px}.match[data-layout=stack] .turn-heading small{font-size:8px;letter-spacing:.5px}.match[data-layout=stack] .turn-heading h2{font-size:17px;line-height:1.15;margin:0}.match[data-layout=stack] #turnDot{width:11px;height:11px}.match[data-layout=stack] #turnNumber{font-size:10px}
 .match[data-layout=stack] #instruction{grid-column:1;grid-row:2;min-height:0;font-size:12px;line-height:1.35;padding-top:2px;align-self:start;max-width:275px}
 .match[data-layout=stack] #roll{grid-column:2;grid-row:1/3;width:88px;min-height:72px;height:72px;gap:0;padding:0;justify-content:center;align-self:center;background:#063e3438;border:1px solid #a9d9ad4d;border-radius:15px;box-shadow:0 3px #093d35}
 .match[data-layout=stack] #die{--edge:39px;width:57px;height:56px;flex:none}.match[data-layout=stack] #rollLabel{font-size:9px;letter-spacing:.3px;line-height:12px;white-space:nowrap}
 .match[data-layout=stack] #choices{grid-column:1/3;grid-row:3;min-height:48px;gap:7px;justify-content:stretch}.match[data-layout=stack] .choice{min-height:46px;max-width:none;padding:5px 6px;gap:5px}.match[data-layout=stack] .choice strong{width:26px;height:26px;font-size:16px}.match[data-layout=stack] .choice span{font-size:11px}
 .match[data-layout=stack] #feedback{grid-column:1/3;grid-row:4;min-height:28px;margin:0;font-size:11px;line-height:1.25;align-self:start}.match[data-layout=stack] .legend{display:none}.match[data-layout=stack] #saveNote{grid-column:1/3;font-size:9px}
}
@media(max-width:699px) and (orientation:portrait) and (max-height:620px){
 #play header{height:42px}#play header .round{width:32px;height:32px}#play header>div{font-size:14px}#play header small{font-size:9px}
 .match[data-layout=stack]{height:calc(100% - 42px);padding:3px 8px 9px;gap:9px}.match[data-layout=stack] #players{height:38px;margin-bottom:6px}.match[data-layout=stack] .player{padding:3px 5px}.match[data-layout=stack] .player strong{font-size:11px;line-height:15px}.match[data-layout=stack] .player small{font-size:8px;line-height:11px}
 .match[data-layout=stack] .controls{grid-template-columns:minmax(0,1fr) 80px;grid-template-rows:25px 33px 46px 27px;gap:3px 7px;padding:0 2px}.match[data-layout=stack] .turn-heading small{display:none}.match[data-layout=stack] .turn-heading h2{font-size:16px}.match[data-layout=stack] #instruction{font-size:11px;line-height:1.3}.match[data-layout=stack] #roll{width:80px;min-height:61px;height:61px;border-radius:12px}.match[data-layout=stack] #die{--edge:34px;width:50px;height:47px}.match[data-layout=stack] #rollLabel{font-size:8px}.match[data-layout=stack] #choices{min-height:46px;gap:5px}.match[data-layout=stack] .choice{min-height:44px;padding:4px;gap:4px}.match[data-layout=stack] .choice strong{width:23px;height:23px;font-size:14px}.match[data-layout=stack] .choice span{font-size:10px}.match[data-layout=stack] #feedback{font-size:10px;min-height:27px}
}

@media(max-width:699px) and (orientation:portrait){.match[data-layout=stack] .turn-heading small{display:none}.match[data-layout=stack] .turn-heading>div{min-width:0}.match[data-layout=stack] .turn-heading h2{font-size:clamp(15px,4.3vw,18px)}}
@media(max-width:699px) and (orientation:portrait) and (min-height:740px){
 .match[data-layout=stack]{justify-content:center;gap:18px;padding-top:8px;padding-bottom:20px}
 .match[data-layout=stack] #players{height:49px;margin-bottom:10px}.match[data-layout=stack] .player{padding:7px 8px}.match[data-layout=stack] .player strong{font-size:13px;line-height:18px}.match[data-layout=stack] .player small{font-size:10px;line-height:14px}
 .match[data-layout=stack] .controls{grid-template-columns:minmax(0,1fr) 100px;grid-template-rows:36px 50px 54px 32px;gap:7px 12px;padding:8px 7px;background:#06493d44;border:1px solid #98d5b238;border-radius:18px}
 .match[data-layout=stack] .turn-heading h2{font-size:19px}.match[data-layout=stack] #instruction{font-size:14px;line-height:1.4}.match[data-layout=stack] #roll{width:100px;min-height:93px;height:93px;gap:3px}.match[data-layout=stack] #die{--edge:47px;width:72px;height:68px}.match[data-layout=stack] #rollLabel{font-size:10px}.match[data-layout=stack] #choices{min-height:54px}.match[data-layout=stack] .choice{min-height:52px;padding:5px;gap:6px}.match[data-layout=stack] .choice strong{width:27px;height:27px;font-size:17px}.match[data-layout=stack] .choice span{font-size:11px}.match[data-layout=stack] #feedback{font-size:12px;line-height:1.3;min-height:32px}
}

/* Prevent focus restoration from panning the fixed game stage. */
#app{overflow:clip}
