.game-shell{--stage-max:600px;align-items:center;gap:var(--space-3);flex-direction:column;width:100%;margin:0 auto;display:flex}.game-shell .toolbar{width:100%;max-width:max(var(--stage-max), min(100%, 760px));justify-content:space-between;gap:var(--space-2);flex-wrap:wrap;display:flex}.game-shell .tb-left,.game-shell .tb-right{gap:var(--space-2);flex-wrap:wrap;align-items:center;display:flex}.game-shell .diff select{border-radius:var(--radius-s);border:1px solid var(--border);background:var(--card);height:44px;color:var(--text);padding:0 var(--space-3);font-weight:600;font-size:var(--fs-2)}.game-shell .i-play,.game-shell .i-mute,.game-shell .i-shrink,.game-shell [data-action=pause][aria-pressed=true] .i-pause{display:none}.game-shell [data-action=pause][aria-pressed=true] .i-play{display:inline-flex}.game-shell [data-action=sound][aria-pressed=false] .i-sound{display:none}.game-shell [data-action=sound][aria-pressed=false] .i-mute{display:inline-flex}.game-shell [data-action=fullscreen][aria-pressed=true] .i-expand{display:none}.game-shell [data-action=fullscreen][aria-pressed=true] .i-shrink{display:inline-flex}.game-shell .tb-fav[aria-pressed=true]{color:var(--accent-text);border-color:var(--accent)}.game-shell .tb-fav[aria-pressed=true] svg{fill:currentColor}.game-shell .stage-wrap{width:100%;max-width:var(--stage-max);position:relative}.game-shell .stage{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;width:100%;position:relative}.stage-square{--stage-max:max(300px, min(600px, calc(100svh - 280px)))}.stage-square .stage{aspect-ratio:1}.stage-wide{--stage-max:820px}.stage-wide .stage{aspect-ratio:4/3;max-height:calc(100svh - 280px)}.stage-tall{--stage-max:min(480px, calc((100svh - 300px) * .75))}.stage-tall .stage{aspect-ratio:3/4}.stage-auto{--stage-max:720px}@media (width<=420px){.stage-square,.stage-tall{--stage-max:100%}}.game-shell .loading,.game-shell .noscript{color:var(--text-2);place-items:center;margin:0;display:grid;position:absolute;inset:0}.stage-auto .loading{min-height:300px;position:static}.game-shell .overlay{padding:var(--space-4);background:color-mix(in srgb, var(--bg) 72%, transparent);backdrop-filter:blur(2px);border-radius:var(--radius);z-index:5;place-items:center;display:grid;position:absolute;inset:0}.game-shell .overlay[hidden]{display:none}.game-shell .overlay-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius-l);padding:var(--space-5);text-align:center;box-shadow:var(--shadow);width:100%;max-width:340px}.game-shell .overlay-title{font-size:var(--fs-4);margin:0 0 var(--space-2);font-weight:800}.game-shell .overlay-text{color:var(--text-2);margin-bottom:var(--space-4);white-space:pre-line}.game-shell .overlay-actions{gap:var(--space-2);flex-wrap:wrap;justify-content:center;display:flex}.game-shell .status{font-variant-numeric:tabular-nums;min-height:1.5em;color:var(--text-2);text-align:center;margin:0;font-weight:600}.game-shell .toast{background:var(--text);color:var(--bg);z-index:100;border-radius:999px;margin:0;padding:10px 16px;font-weight:600;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.game-shell:fullscreen,.game-shell.expanded{background:var(--bg);padding:var(--space-3);justify-content:center;gap:var(--space-2)}.game-shell.expanded{z-index:200;position:fixed;inset:0;overflow:auto}.game-shell:fullscreen.stage-square,.game-shell.expanded.stage-square{--stage-max:min(100%, calc(100svh - 120px))}.game-shell:fullscreen.stage-wide,.game-shell.expanded.stage-wide{--stage-max:min(100%, calc((100svh - 120px) * 4 / 3))}.game-shell:fullscreen.stage-wide .stage,.game-shell.expanded.stage-wide .stage{max-height:none}.game-shell:fullscreen.stage-tall,.game-shell.expanded.stage-tall{--stage-max:min(100%, calc((100svh - 120px) * .75))}.game-shell:fullscreen.stage-auto,.game-shell.expanded.stage-auto{--stage-max:min(100%, 1000px)}.game-shell:fullscreen .tb-help,.game-shell.expanded .tb-help,.game-shell:fullscreen [data-action=share],.game-shell.expanded [data-action=share]{display:none}body.no-scroll{overflow:hidden}.game-page[data-astro-cid-z2nrcivh]{padding-top:var(--space-3)}.game-head[data-astro-cid-z2nrcivh]{text-align:center;margin-bottom:var(--space-3)}.game-head[data-astro-cid-z2nrcivh] h1[data-astro-cid-z2nrcivh]{margin-bottom:var(--space-2)}.facts[data-astro-cid-z2nrcivh]{justify-content:center;gap:var(--space-2) var(--space-4);color:var(--text-2);font-size:var(--fs-2);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.facts[data-astro-cid-z2nrcivh] li[data-astro-cid-z2nrcivh]{align-items:center;gap:6px;display:inline-flex}.guide[data-astro-cid-z2nrcivh]{margin:var(--space-6) auto 0}.lead[data-astro-cid-z2nrcivh]{font-size:1.125rem}.controls[data-astro-cid-z2nrcivh]{border-collapse:collapse;width:100%;margin-bottom:var(--space-4);font-size:var(--fs-2)}.controls[data-astro-cid-z2nrcivh] th[data-astro-cid-z2nrcivh],.controls[data-astro-cid-z2nrcivh] td[data-astro-cid-z2nrcivh]{text-align:left;padding:var(--space-2) var(--space-3);border-bottom:1px solid var(--border);vertical-align:top}.controls[data-astro-cid-z2nrcivh] th[data-astro-cid-z2nrcivh]{color:var(--text-2);font-weight:600}.faq[data-astro-cid-z2nrcivh] details[data-astro-cid-z2nrcivh]{border:1px solid var(--border);border-radius:var(--radius-s);background:var(--card);margin-bottom:var(--space-2)}.faq[data-astro-cid-z2nrcivh] summary[data-astro-cid-z2nrcivh]{cursor:pointer;padding:var(--space-3) var(--space-4);min-height:44px;font-weight:600}.faq[data-astro-cid-z2nrcivh] details[data-astro-cid-z2nrcivh] p[data-astro-cid-z2nrcivh]{padding:0 var(--space-4) var(--space-3);color:var(--text-2);margin:0}.cats[data-astro-cid-z2nrcivh]{margin-top:var(--space-5);font-size:var(--fs-2)}
