[hidden]{display:none!important}
.visually-hidden,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.skip-link:focus{position:fixed;z-index:100;left:12px;top:8px;padding:12px;background:var(--paper);color:var(--ink)}
.preview-notice{min-height:28px;padding:5px 16px;background:#eee3d2;border-bottom:1px solid var(--border);color:#674c37;font-size:12px;display:flex;gap:12px;justify-content:space-between;align-items:center;line-height:1.5}
.preview-notice a{white-space:nowrap;flex-shrink:0}.plain-button{border:0;padding:0;background:none;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:44px}
button{cursor:pointer}button:disabled{cursor:not-allowed}.game-links button.plain-button{color:#ffe8b5}.footer-choice{color:inherit;background:none;border:0;text-decoration:underline;text-underline-offset:3px;padding:0;font:inherit;align-self:flex-start;min-height:24px}
.hud .button{min-height:44px}
.page-nav nav>a:not(.button),.page-footer nav>a,.footer-choice{min-height:44px;display:inline-flex;align-items:center}
.page-nav nav a,.page-nav .button{min-height:44px;display:inline-flex;align-items:center}
.page-footer nav>a{min-width:44px}
.filter-button{min-height:44px;background:transparent;border:0;padding:10px 16px;font-weight:700;border-radius:8px;color:var(--muted)}.filter-button.active{background:var(--wood);color:var(--gold)}
button.product{font:inherit;color:inherit;text-align:left;width:100%;background:var(--paper);cursor:pointer}.product img{object-fit:contain}.catalogue-note{font-size:13px;color:var(--muted);margin-bottom:22px}
.age-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.age-line label{min-height:44px;display:flex;align-items:center;gap:8px}.age-line input{width:24px;height:24px;accent-color:var(--primary)}
.live-dialog{border:0;padding:0;background:transparent;color:var(--ink);overflow:visible;max-width:calc(100vw - 40px);max-height:calc(100svh - 48px)}
.live-dialog::backdrop{background:#130b08ab}.live-dialog .panel{width:min(480px,calc(100vw - 40px));max-height:calc(100svh - 48px);display:flex;flex-direction:column;margin:0}.live-dialog .panel.wide{width:min(580px,calc(100vw - 40px))}.live-dialog .panel-head,.live-dialog .panel-actions{flex-shrink:0}.live-dialog .panel-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:3px}.live-dialog h2:focus{outline:0}.live-dialog .close{border:0;background:none;font:inherit;font-size:13px;min-width:44px;min-height:44px;flex-shrink:0}
.live-dialog .panel-actions{flex-wrap:wrap}.live-dialog .panel-actions>*{flex:1 1 140px}.live-dialog .panel-actions:empty{display:none}
body:has(.live-dialog[open]){overflow:hidden}.inline-status{color:var(--success)!important;font-weight:700}
.scene{min-height:120px}.scene:focus-visible{outline-offset:-4px}.throw-surface{position:absolute;inset:72% 0 0;touch-action:none;cursor:grab}.throw-surface:active{cursor:grabbing}.stage-status-message{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:#170e0ae8;font:16px/1.5 var(--font-ui);color:var(--gold);z-index:3;text-align:center;padding:24px}.stage-status-message .button{max-width:240px}
.toast{position:fixed;z-index:40;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translateX(-50%);width:max-content;max-width:min(560px,calc(100vw - 32px));padding:14px 20px;background:var(--wood);color:var(--gold);border:1px solid var(--brass);border-radius:12px;box-shadow:var(--shadow-panel);font-size:14px;pointer-events:none}
.test-lab{max-width:1120px;padding:28px;margin:32px auto;border:2px dashed var(--brass);background:var(--paper);border-radius:14px}.test-lab p{margin-top:12px;color:var(--muted)}.test-lab h3{margin-top:24px}.lab-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.test-lab code{font-size:14px}.reading ol{padding-left:24px}.reading li+li{margin-top:12px}.reading section{scroll-margin-top:16px}.policy-copy p{max-width:70ch}
.page-nav .brand{flex-shrink:0}.page-nav nav{min-width:0}.page-footer nav{align-items:start;align-content:start}.content-page{overflow-wrap:break-word}.rules-table{width:100%}
@media(max-width:700px){.live-dialog{max-width:100vw;max-height:calc(100svh - 20px);margin:auto 0 0;width:100%}.live-dialog .panel,.live-dialog .panel.wide{width:100%;max-width:100%;max-height:calc(100svh - 20px);border-radius:20px 20px 0 0;padding:24px 20px calc(20px + env(safe-area-inset-bottom))}.age-line{align-items:flex-start}.age-actions{gap:8px}.age-actions .button{font-size:13px;padding-inline:12px}.age-line>div{min-width:0}.age-line p{font-size:13px}.preview-notice{font-size:10px;padding:5px 8px;gap:8px}.test-lab{margin:24px 12px;padding:20px}.game-links .links{gap:14px}}
@media(max-height:600px) and (orientation:landscape){.live-dialog{margin:auto;max-width:calc(100vw - 48px);width:auto;max-height:calc(100svh - 24px)}.live-dialog .panel,.live-dialog .panel.wide{width:min(700px,calc(100vw - 48px));border-radius:20px;padding:16px 20px;max-height:calc(100svh - 24px)}.live-dialog .panel-head{margin-bottom:12px}.live-dialog .panel-head h2{font-size:24px}.live-dialog .panel-actions{margin-top:12px}.preview-notice{font-size:10px;min-height:24px;padding-block:4px}.hud .button,.game-links .button{min-height:44px}.hud{padding-block:2px}.game-links{padding-block:2px}.scene img{max-height:calc(100svh - 150px)}.disclosures{padding-block:4px}}
@media(max-width:380px){.page-nav{gap:10px;padding-inline:12px}.page-nav nav{gap:12px}.page-nav .brand{font-size:18px}.page-nav .button{font-size:12px;padding-inline:10px}.page-nav nav>a:not(.button){font-size:12px}.hud .button{padding-inline:7px}.hud{padding-inline:8px;gap:8px}.hud-group{gap:8px}.game-brand{font-size:17px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
html[data-reduce-motion=true] *,html[data-reduce-motion=true] *::before,html[data-reduce-motion=true] *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}

/* The live scene fills the available game surface; the camera, not a cropped poster, adapts. */
.game-shell:has(.real-scene){height:calc(100svh - var(--preview-height,28px));min-height:320px;display:flex;flex-direction:column;width:100%;max-width:none}
.game-shell:has(.real-scene) .hud,.game-shell:has(.real-scene) .game-links,.game-shell:has(.real-scene) .disclosures{width:100%;max-width:none;flex-shrink:0}
.game-shell .scene.real-scene{width:100%;max-width:none;margin:0;flex:1;min-height:170px;overflow:hidden}
#webgl-host{position:absolute;inset:0}#webgl-host canvas{display:block;width:100%;height:100%}
.real-scene .throw-surface{inset:50% 0 0;z-index:2}.real-scene .stage-status-message{z-index:5}
.real-scene .subtitle{pointer-events:none;z-index:4;bottom:5%;max-width:min(390px,80%)}
#engine-diagnostics{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:18px;font-size:13px}
.expand-shortcut{margin-left:auto;margin-right:20px}.view-controls{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.view-controls .button{flex:1}
body.game-expanded{overflow:hidden}body.game-expanded .game-shell{position:fixed;inset:0;z-index:50;height:100svh;width:100vw;max-width:none}
.game-shell:fullscreen{height:100svh!important;width:100vw!important;background:var(--night)}
body.game-expanded .toast{z-index:60}
@media(max-width:900px){.expand-shortcut{display:none}.game-shell:has(.real-scene) .hud-secondary{flex-shrink:0}}
@media(min-width:601px) and (max-width:760px) and (orientation:portrait){
 .game-shell:has(.real-scene) .hud-main-stats{display:none}
 .game-shell:has(.real-scene) .hud-secondary{display:flex;justify-content:space-between;align-items:center;padding:8px 16px;gap:8px;background:var(--wood);border-bottom:1px solid var(--brass);min-height:43px}
 .game-shell:has(.real-scene) .hud{min-height:62px}
}
@media(max-height:600px) and (orientation:landscape){
 /* Keep 44px controls; put the passive save note just below the game. */
 .game-shell:has(.real-scene){margin-bottom:22px}
 .game-shell:has(.real-scene) .disclosures{position:absolute;top:100%;height:22px;padding-block:3px}
 .game-shell:has(.real-scene) .game-links{position:absolute;bottom:0;left:0;z-index:4;background:transparent;border:0;pointer-events:none;padding:4px 12px}
 .game-shell:has(.real-scene) .game-links>*{pointer-events:auto}
 .game-shell:has(.real-scene) .game-links .links{min-height:44px;padding-inline:12px;background:#29180fe8;border:1px solid var(--brass);border-radius:10px}
}

@media(max-width:760px) and (orientation:portrait){
 .game-shell:has(.real-scene){height:auto;min-height:0}
 .game-shell:has(.real-scene) .scene.real-scene{flex:none;aspect-ratio:1.65;min-height:225px}
 body.game-expanded .game-shell:has(.real-scene),.game-shell:has(.real-scene):fullscreen{height:100svh}
 body.game-expanded .game-shell:has(.real-scene) .scene.real-scene,.game-shell:has(.real-scene):fullscreen .scene.real-scene{flex:1;aspect-ratio:auto}
}
/* The HUD sits on the canopy so the play surface gains a real foreground. */
@media(min-width:761px),(orientation:landscape){
 .game-shell:has(.real-scene) .hud{position:absolute;inset:0 0 auto;z-index:6;background:transparent;border:0;pointer-events:none;padding:6px 16px;min-height:62px}
 .game-shell:has(.real-scene) .hud>*{pointer-events:auto;background:#26140aeb;border:1px solid #77522f;border-radius:12px;padding:5px 12px;min-height:46px}
 .game-shell:has(.real-scene) .hud>.hud-group:last-child{padding:0;background:transparent;border:0}
 .game-shell:has(.real-scene) .hud-secondary{display:none}
 .game-shell:has(.real-scene){margin-bottom:22px}
 .game-shell:has(.real-scene) .disclosures{position:absolute;top:100%;height:22px;padding-block:3px}
 .game-shell:has(.real-scene) .game-links{position:absolute;bottom:0;left:0;z-index:4;background:transparent;border:0;pointer-events:none;padding:4px 12px}
 .game-shell:has(.real-scene) .game-links>*{pointer-events:auto}
 .game-shell:has(.real-scene) .game-links .links{min-height:44px;padding-inline:12px;background:#29180fe8;border:1px solid var(--brass);border-radius:10px}
}

/* TAOQUAN's controls float over the live scene. Only controls intercept throws. */
.game-shell.stall-shell {
 --market-left: max(clamp(12px, 2vw, 28px), env(safe-area-inset-left));
 --market-right: max(clamp(12px, 2vw, 28px), env(safe-area-inset-right));
 --market-top: max(12px, env(safe-area-inset-top));
 --market-bottom: max(22px, env(safe-area-inset-bottom));
 --throw-center: 55%;
 height: 100dvh;
 min-height: 300px;
 margin: 0;
 isolation: isolate;
 background: #161413;
}
.game-shell.stall-shell .scene.real-scene {
 position: absolute;
 inset: 0;
 height: auto;
 min-height: 0;
 aspect-ratio: auto;
}
.stall-shell .real-scene .subtitle { bottom: 15%; }
.game-shell.stall-shell .market-hud {
 position: absolute;
 inset: var(--market-top) var(--market-right) auto var(--market-left);
 z-index: 6;
 width: auto;
 min-height: 0;
 height: auto;
 padding: 0;
 display: grid;
 grid-template-columns: minmax(44px, 1fr) auto minmax(96px, 1fr);
 align-items: center;
 gap: 8px;
 pointer-events: none;
 background: transparent;
 border: 0;
}
.game-shell.stall-shell .market-hud > * { padding: 0; min-height: 0; background: none; border: 0; }
.stall-shell .market-brand,
.stall-shell .market-tools button {
 display: grid;
 place-items: center;
 width: 44px;
 height: 44px;
 border-radius: 50%;
 color: #ffdf9b;
 background: #24170fea;
 border: 1px solid #a46d3c;
 box-shadow: 0 3px 10px #0b070660;
 cursor: pointer;
 pointer-events: auto;
}
.game-shell.stall-shell .market-hud > .market-brand { background: #24170fea; border: 1px solid #a46d3c; }
.market-brand img { display: block; }
.game-shell.stall-shell .market-hud > .market-stats {
 min-height: 44px;
 display: flex;
 align-items: center;
 justify-content: center;
 gap: clamp(8px, 1.4vw, 19px);
 padding: 0 14px 0 9px;
 background: #26170fee;
 border: 1px solid #9e6c3d;
 border-radius: 10px;
 box-shadow: 0 3px 10px #0b070650;
 pointer-events: auto;
}
.market-stats .stat { gap: 5px; }
.market-stats .stat-label { font-size: 12px; }
.market-stats .stat strong { font-size: 19px; color: #ffe2a4; font-variant-numeric: tabular-nums; }
.market-coins {
 display: flex;
 align-items: center;
 gap: 6px;
 padding: 0 6px;
 min-height: 44px;
 border: 0;
 background: transparent;
 color: inherit;
 cursor: pointer;
}
.coin-plus { border: 1px solid #bc8d4e; color: #ffe2a4; border-radius: 50%; font: 15px/15px var(--font-ui); width: 16px; height: 16px; }
.market-tools { display: flex; justify-content: flex-end; gap: 8px; pointer-events: none; }
.market-tools button { font: 21px/1 var(--font-ui); }
.market-tools button:hover, .market-coins:hover .coin-plus { background: #583423; }
.sound-glyph { position: relative; width: 21px; height: 19px; }
.sound-glyph::before { content: ''; position: absolute; inset: 2px 8px 2px 0; background: currentColor; clip-path: polygon(0 29%, 40% 29%, 100% 0, 100% 100%, 40% 71%, 0 71%); }
.sound-glyph::after { content: ''; position: absolute; inset: 2px 0 2px 9px; border-right: 2px solid currentColor; border-radius: 50%; }
[data-action="sound"][aria-pressed="false"] .sound-glyph::after { content: '×'; inset: 1px -2px 0 auto; border: 0; font: 15px/1 var(--font-ui); }

.stall-modes {
 position: absolute;
 inset: 48% auto auto var(--market-left);
 z-index: 5;
 display: grid;
 gap: 10px;
 width: clamp(138px, 12vw, 175px);
 transform: translateY(-50%);
}
.stall-mode {
 position: relative;
 display: grid;
 grid-template-columns: 37px minmax(0, 1fr);
 align-items: center;
 gap: 9px;
 min-height: 68px;
 padding: 8px;
 isolation: isolate;
 border: 2px solid #b67d44;
 border-radius: 9px 5px;
 background: repeating-linear-gradient(3deg, #f8cc7510 0 1px, transparent 1px 6px), linear-gradient(155deg, #29564b, #102f2a 83%);
 box-shadow: inset 0 0 0 2px #142c24, inset 0 0 0 3px #976b3e, 0 3px 0 #47261a, 0 7px 15px #140908a0;
 color: #fff0c9;
 text-align: left;
 cursor: pointer;
}
.stall-mode::after {
 content: '';
 position: absolute;
 inset: 4px;
 pointer-events: none;
 background: radial-gradient(circle at center, #e5b174 0 1px, #724722 1.1px 2px, transparent 2.2px) left top / 4px 4px no-repeat,
 radial-gradient(circle at center, #e5b174 0 1px, #724722 1.1px 2px, transparent 2.2px) right bottom / 4px 4px no-repeat;
}
.mode-copy { min-width: 0; }
.mode-copy strong, .mode-copy small { display: block; line-height: 1.2; }
.mode-copy strong { font-size: clamp(12px, 1.1vw, 15px); }
.mode-copy small { margin-top: 4px; color: #e4d2a2; font-size: 10px; }
.mode-selected { display: none; position: absolute; top: -7px; right: -6px; width: 19px; height: 19px; border: 1px solid #402919; border-radius: 50%; background: #f9ca72; color: #292512; text-align: center; font: 700 12px/17px var(--font-ui); }
.stall-mode[data-action="tutorial"]:not(:disabled), .stall-mode[aria-pressed="true"] { border-color: #efbe6d; }
.stall-mode[aria-pressed="true"] { background-color: #316455; box-shadow: inset 0 0 0 2px #274036, inset 0 0 0 3px #e1ac66, 0 4px 12px #130906a0; }
.stall-mode[aria-pressed="true"] .mode-selected { display: block; }
.stall-mode:not(:disabled):hover { filter: brightness(1.17); }
.stall-mode:not(:disabled):active { transform: translateY(1px); }
.stall-mode:disabled { opacity: .72; cursor: default; }

.mode-emblem {
 position: relative;
 display: grid;
 place-items: center;
 width: 37px;
 aspect-ratio: 1;
 color: #f6d889;
 border: 1px solid #d49c54;
 border-radius: 50%;
 background: #873e2d;
 box-shadow: inset 0 0 0 2px #562b23;
}
.mode-emblem i { position: absolute; display: block; }
.mode-emblem--tutorial i:first-child { width: 63%; height: 45%; border: 2px solid currentColor; border-radius: 50%; transform: rotate(-26deg); }
.mode-emblem--tutorial i:last-child { width: 17%; aspect-ratio: 1; background: currentColor; transform: rotate(45deg); }
.mode-emblem--classic i:first-child { top: 26%; width: 44%; height: 45%; background: currentColor; clip-path: polygon(50% 0, 67% 28%, 100% 36%, 80% 59%, 85% 100%, 15% 100%, 20% 59%, 0 36%, 33% 28%); }
.mode-emblem--classic i:last-child { bottom: 19%; width: 66%; height: 28%; border: 2px solid #fff0ba; border-radius: 50%; transform: rotate(-12deg); }

.stall-pack-options {
 position: absolute;
 z-index: 5;
 left: var(--throw-center);
 bottom: var(--market-bottom);
 transform: translateX(-50%);
 display: grid;
 grid-template-columns: repeat(2, 196px);
 gap: clamp(104px, 13vw, 176px);
 align-items: center;
 pointer-events: none;
}
.stall-pack {
 position: relative;
 min-height: 48px;
 min-width: 0;
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 padding: 7px 15px;
 border: 1px solid #ffda90;
 border-radius: 5px 9px;
 background: linear-gradient(160deg, #ffe1a0, #e3aa57);
 box-shadow: inset 0 0 0 2px #a15c2f, inset 0 0 0 4px #fbd98c, 0 3px 0 #6d3d22, 0 6px 16px #180c06a0;
 color: #3e2217;
 font-size: 13px;
 white-space: nowrap;
 cursor: pointer;
 pointer-events: auto;
}
.stall-pack:hover { background: linear-gradient(160deg, #ffeccd, #f3bc6a); }
.stall-pack:active { transform: translateY(1px); }
.ticket-cost { display: inline-flex; align-items: center; gap: 4px; }
.ticket-cost i { display: grid; place-items: center; border: 1px solid #7f4827; border-radius: 50%; width: 14px; height: 14px; color: #fbe1a1; background: #9a5330; }
.ticket-cost i::before { content: ''; width: 4px; height: 4px; border: 1px solid currentColor; }
.ticket-arrow { color: #734128; }
.stall-pack strong { font-weight: 850; }
.stall-pack-options.exchange-compact .button {
 grid-column: 2;
 justify-self: start;
 min-width: 126px;
 border-radius: 7px;
 font-size: 12px;
 padding: 7px 14px;
 pointer-events: auto;
 cursor: pointer;
}

@media (orientation: landscape) and (max-height: 550px) {
 .game-shell.stall-shell { --market-bottom: max(10px, env(safe-area-inset-bottom)); --market-top: max(6px, env(safe-area-inset-top)); }
 .stall-modes { width: clamp(116px, 16vw, 130px); gap: 6px; inset-block-start: 49%; }
 .stall-mode { grid-template-columns: 24px minmax(0, 1fr); gap: 5px; padding: 6px; min-height: 48px; }
 .mode-emblem { width: 24px; }
 .mode-copy strong { font-size: 11px; }
 .mode-copy small { font-size: 9px; margin-top: 2px; }
 .stall-pack { min-height: 44px; padding: 7px 10px; font-size: 11px; gap: 5px; }
 .stall-pack-options { grid-template-columns: repeat(2, 155px); }
}
@media (orientation: landscape) and (max-width: 720px) {
 .game-shell.stall-shell { --throw-center: 58%; }
}
@media (orientation: portrait) and (max-width: 760px) {
 .game-shell.stall-shell {
  --throw-center: 50%;
  --market-bottom: max(12px, env(safe-area-inset-bottom));
  height: min(100dvh, max(480px, 143vw));
  min-height: 450px;
 }
 .game-shell.stall-shell .market-hud { grid-template-columns: 32px minmax(0, 1fr) 90px; gap: 5px; }
 .game-shell.stall-shell .market-hud > .market-brand { width: 32px; height: 38px; border: 0; box-shadow: none; background: transparent; }
 .game-shell.stall-shell .market-hud > .market-stats { gap: 0; padding: 0 4px; justify-content: space-around; }
 .market-stats .stat { flex-direction: column; align-items: center; gap: 0; line-height: 1.05; }
 .market-stats .stat-label { font-size: 9px; }
 .market-stats .stat strong { font-size: 16px; margin-top: 2px; }
 .market-coins { gap: 3px; padding-inline: 3px; }
 .coin-plus { width: 12px; height: 12px; font: 11px/11px var(--font-ui); }
 .market-tools { gap: 2px; }
 .stall-shell .market-tools button { border-radius: 8px; }
 .stall-modes { inset: calc(var(--market-top) + 54px) var(--market-right) auto var(--market-left); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: auto; transform: none; }
 .stall-mode { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 3px; min-height: 63px; padding: 5px 2px; }
 .mode-emblem { width: 24px; }
 .mode-copy strong { font-size: 11px; }
 .mode-copy small { font-size: 9px; margin-top: 2px; }
 .stall-pack-options { left: var(--market-left); right: var(--market-right); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; transform: none; }
 .stall-pack { min-width: 0; min-height: 44px; padding-inline: 5px; font-size: 11px; gap: 4px; }
 .ticket-cost i { width: 12px; height: 12px; }
 .stall-pack-options.exchange-compact .button { grid-column: 1 / -1; justify-self: center; }
 .stall-shell .real-scene .subtitle { bottom: 20%; }
}

/* The toggle belongs to the illustrated menu and remains visible when folded. */
.game-shell.stall-shell {
 --menu-width: clamp(156px, 15vw, 250px);
 --throw-center: 50%;
 --page-top-gap: clamp(12px, 1vw, 20px);
 --game-top-gap: 76px;
 height: calc(100dvh - var(--page-top-gap));
 margin-top: var(--page-top-gap);
 background: #211812;
}
.game-shell.stall-shell .market-hud { inset-block-start: 12px; }
.game-shell.stall-shell .scene.real-scene { top: var(--game-top-gap); }
.stall-shell.menu-collapsed .stall-menu-dock { width: 112px; }
.stall-shell.menu-collapsed .menu-toggle {
 min-height: 36px;
 padding: 5px 9px;
 gap: 6px;
 font-size: 12px;
}
.stall-shell.menu-collapsed .menu-toggle [data-menu-arrow] { font-size: 19px; }
body.game-expanded .game-shell.stall-shell,
.game-shell.stall-shell:fullscreen { margin-top: 0; }
.stall-shell.menu-collapsed { --throw-center: 50%; }
.stall-menu-dock {
 position: absolute;
 top: max(96px, 16%);
 left: var(--market-left);
 width: var(--menu-width);
 z-index: 7;
}
.menu-toggle {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 12px;
 width: 112px;
 min-height: 36px;
 padding: 5px 9px;
 color: #ffe1a0;
 background: linear-gradient(#453022, #25190f);
 border: 1px solid #d2a65e;
 border-radius: 8px;
 box-shadow: 0 3px 10px #140a0790;
 font-weight: 700;
 font-size: 12px;
 cursor: pointer;
}
.menu-toggle [data-menu-arrow] { font-size: 19px; line-height: 1; }
.stall-menu-content {
 display: grid;
 gap: 9px;
 padding-top: 9px;
 transform-origin: top left;
 transition: transform .25s ease, opacity .2s ease, visibility .25s;
}
.menu-collapsed .stall-menu-content {
 transform: translateX(26px) scale(.97);
 opacity: 0;
 visibility: hidden;
 pointer-events: none;
}
.stall-menu-dock .stall-modes {
 position: static;
 inset: auto;
 display: grid;
 grid-template-columns: 1fr;
 gap: 9px;
 width: 100%;
 padding: 0;
 transform: none;
}
.illustrated-mode, .mode-intro-art {
 background-image: url('/assets/game/menu/approved-menu-v2.webp');
 background-size: 643.08% 644.52%;
 background-position-x: 2.48%;
 background-repeat: no-repeat;
 border-radius: 14px;
}
.illustrated-mode {
 display: block;
 width: 100%;
 aspect-ratio: 260 / 146;
 padding: 0;
 border: 0;
 box-shadow: 0 3px 9px #170b0799;
 cursor: pointer;
}
.illustrated-mode--clear { background-position-y: 21.13%; }
.illustrated-mode--shower { background-position-y: 40.88%; }
.illustrated-mode--magic { background-position-y: 61.63%; }
.illustrated-mode:hover { filter: brightness(1.12); }
.illustrated-mode:active { transform: translateY(1px); }
.mode-intro-art { width: min(100%, 300px); aspect-ratio: 260 / 146; margin: 0 auto 18px; }
.stall-menu-dock .stall-pack-options {
 position: static;
 inset: auto;
 transform: none;
 grid-template-columns: 1fr;
 gap: 7px;
 width: 100%;
}
.stall-menu-dock .stall-pack { padding: 6px; min-height: 40px; font-size: clamp(10px, .85vw, 13px); gap: 4px; }
.stall-menu-dock .exchange-compact .button { grid-column: 1; justify-self: stretch; }
.classic-entry { min-height: 38px; padding: 6px; background: #332116e8; color: #ffe4a8; font-size: 12px; border-color: #ad834d; cursor: pointer; }
@media (orientation: landscape) and (max-height: 600px) {
 .game-shell.stall-shell { --menu-width: clamp(120px, 16vw, 170px); --page-top-gap: 8px; --game-top-gap: 66px; }
 .game-shell.stall-shell .market-hud { inset-block-start: 6px; }
 .stall-menu-dock { top: 78px; }
 .stall-menu-content { gap: 4px; padding-top: 5px; }
 .stall-menu-dock .stall-modes { gap: 4px; }
 .menu-toggle { min-height: 36px; padding: 4px 8px; font-size: 12px; }
 .stall-menu-dock .stall-pack { min-height: 31px; font-size: 10px; padding: 4px; }
 .stall-menu-dock .stall-pack-options { gap: 4px; }
 .classic-entry { min-height: 31px; font-size: 10px; padding: 4px; }
}
@media (orientation: portrait) and (max-width: 760px) {
 .game-shell.stall-shell { --menu-width: 150px; --throw-center: 50%; min-height: 640px; height: max(640px, 100dvh); }
 .stall-menu-dock { top: 88px; }
 .stall-menu-content { padding: 8px; background: #1c1814ed; border-radius: 0 0 12px 12px; }
 .stall-menu-dock .stall-pack { min-height: 44px; font-size: 10px; }
 .menu-toggle { font-size: 12px; }
}
@media (orientation: landscape) and (max-height: 600px) {
 .stall-menu-content { max-height: calc(100dvh - 134px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c89b54 #332219; padding-bottom: 5px; }
}

.special-controls { position: absolute; z-index: 12; right: 18px; bottom: 12px; width: 210px; padding: 10px 12px; color: #ffe6ac; background: #29190eed; border: 1px solid #aa7c36; border-radius: 10px; display: grid; gap: 5px; }
.special-controls strong { font-size: 14px; }
.special-controls small, .special-controls label { font-size: 11px; }
.special-controls label { display: flex; justify-content: space-between; }
.special-controls input { width: 100%; accent-color: #f1bb56; min-height: 24px; }
.special-controls .button { min-height: 28px; padding: 3px; font-size: 11px; }
@media (max-height: 600px) and (orientation: landscape) { .special-controls { right: 8px; bottom: 6px; width: 170px; padding: 6px 8px; gap: 2px; } }
@media (max-width: 760px) and (orientation: portrait) { .special-controls { width: 156px; right: 8px; bottom: 10px; } }

/* Compact tactile game controls; camera and stall composition stay independent. */
.special-controls {right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));width:min(248px,calc(100% - 32px));padding:9px;background:linear-gradient(135deg,#193c32f5,#0e241ff5);border:2px solid #c59a4f;border-radius:22px;box-shadow:inset 0 0 0 2px #4f6242,0 5px 14px #120b0880;gap:6px;}
.control-status,.size-controls{display:flex;align-items:center;gap:8px;justify-content:space-between;}
.special-controls .control-key{flex:0 0 44px;width:44px;height:44px;min-height:44px;border-radius:50%;border:1px solid #ddb96f;background:linear-gradient(#735332,#35271b);color:#ffe6a9;font-size:24px;box-shadow:inset 0 2px #ffffff26,0 2px 3px #0006;cursor:pointer;}
.control-counter{display:flex;align-items:center;gap:4px;white-space:nowrap;}.control-counter img{width:30px;height:36px;object-fit:contain;}.special-controls .control-counter strong{font-size:20px;}.special-controls .control-counter small{font-size:12px;color:#c7ba94;}
.special-controls progress{width:50px;height:7px;accent-color:#e9b459;}.size-track{flex:1;min-width:0;text-align:center;}.size-track output{font-size:12px;color:#f4cf85;}.special-controls input{min-height:32px;margin:0;}.special-controls button:disabled{opacity:.45;cursor:default;}.controller-shower{width:218px;}
@media(max-height:600px) and (orientation:landscape){.special-controls{right:12px;bottom:10px;width:216px;padding:6px;}.controller-shower{width:200px;}.control-counter img{width:24px;height:28px;}.special-controls .control-counter strong{font-size:17px;}}
@media(max-width:760px) and (orientation:portrait){.special-controls{width:218px;right:12px;bottom:12px;}}

.power-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-items:center;border-top:1px solid #b9995650;padding-top:5px;}
.power-controls>label:first-child{grid-column:1;display:flex;justify-content:space-between;font-size:12px;color:#efdba7;}.power-controls output{font-weight:800;font-variant-numeric:tabular-nums;}.power-controls>#throw-power{grid-column:1;min-height:32px;accent-color:#f1bc58;}.special-controls input:focus-visible,.special-controls button:focus-visible{outline:2px solid #fff1c4;outline-offset:2px;}
.special-controls .controller-start{min-height:44px;padding:6px 12px;border:1px solid #ddb96f;border-radius:12px;background:linear-gradient(#735332,#35271b);color:#ffe6a9;font-size:12px;font-weight:700;cursor:pointer;}
.controller-ready .power-controls{opacity:.6;}
.game-shell.stall-shell .special-controls.controller-ready{width:148px;padding:5px 8px;border-radius:32px}
.game-shell.stall-shell .controller-ready .control-status{height:44px;gap:8px}
.controller-mode{display:flex;align-items:center;gap:5px;color:#e8d49e;font-size:12px;font-weight:600;line-height:1}
.controller-mode svg{width:26px;height:22px;flex:none;color:#f0bf68}
.game-shell.stall-shell .special-controls.controller-ready .controller-start{display:grid;place-items:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;border:1px solid #ffe3a2;background:linear-gradient(#ffe29a,#d6a04b);color:#452c12;box-shadow:0 2px 4px #0005,inset 0 1px #fff4c8}
.controller-start svg{width:25px;height:25px;margin-left:2px}
.game-shell.stall-shell .controller-ready .controller-start:hover{filter:brightness(1.12)}

/* Touch devices use a landscape play area; desktop composition is unchanged. */
.mobile-menu-shade,.window-size-hint{display:none;}
html[data-game-layout="desktop-narrow"] .window-size-hint{display:block;position:absolute;top:82px;left:50%;transform:translateX(-50%);z-index:6;width:max-content;max-width:calc(100% - 32px);margin:0;padding:6px 10px;border:1px solid #a47b45;border-radius:8px;background:#24190fe8;color:#efd6a5;font-size:11px;pointer-events:none;}
.orientation-gate{display:none;position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:max(28px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));border:0;background:radial-gradient(ellipse at 50% 25%,#36524466,transparent 65%),#151e19f5;color:#fff0c8;overflow-y:auto;overscroll-behavior:contain;}
.orientation-gate[open]{display:grid;place-items:center;}
.orientation-gate::backdrop{background:#100d09dd;backdrop-filter:blur(8px);}
body:has(.orientation-gate[open]){overflow:hidden;}
.orientation-card{width:min(100%,360px);margin:auto;text-align:center;font-family:var(--font-ui);}
.orientation-illustration{position:relative;width:160px;height:150px;margin:0 auto 20px;display:grid;place-items:center;}
.rotate-phone{display:block;position:relative;width:65px;height:105px;border:3px solid #f1c66f;border-radius:14px;box-shadow:0 0 32px #d3a34b22;transform:rotate(90deg);animation:phone-turn 3.5s ease-in-out infinite;}
.rotate-phone::before{content:'';position:absolute;top:7px;left:50%;width:18px;height:3px;border-radius:2px;background:#f1c66f;transform:translateX(-50%);}
.rotate-phone i{position:absolute;inset:26px 8px 20px;border:2px solid #d7a7de;border-radius:50%;background:#ae73bd18;}
.rotate-arrow{position:absolute;top:0;right:1px;font-size:52px;line-height:1;color:#e4bf75;}
.orientation-eyebrow{margin:0 0 12px;font-size:12px;font-weight:800;letter-spacing:.24em;color:#e4bc76;}
.orientation-card h2{margin:0 0 16px;font-size:clamp(26px,7vw,34px);line-height:1.15;color:#fff0c8;outline:0;}
.orientation-card #orientation-description{font-size:16px;line-height:1.65;color:#e1d8bd;margin:0;}
.orientation-help{margin:28px auto 16px;max-width:280px;font-size:13px;line-height:1.6;color:#b8b6a0;}
.orientation-guide{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:44px;padding:8px 18px;border:1px solid #a58850;border-radius:24px;color:#f3d398;font-size:13px;text-decoration:none;}
.orientation-guide:focus-visible{outline:2px solid #fff0c8;outline-offset:4px;}
@keyframes phone-turn{0%,15%{transform:rotate(0)}45%,85%{transform:rotate(90deg)}100%{transform:rotate(0)}}
@media(prefers-reduced-motion:reduce){.rotate-phone{animation:none;}.stall-menu-content{transition:none;}}
html[data-game-layout="mobile-landscape"] body{overflow:hidden;overscroll-behavior:none;}
html[data-game-layout="mobile-landscape"] .game-shell.stall-shell{--page-top-gap:8px;--game-top-gap:calc(58px + env(safe-area-inset-top));--market-left:max(10px,env(safe-area-inset-left));--market-right:max(10px,env(safe-area-inset-right));--menu-width:160px;--throw-center:50%;position:fixed;inset:8px 0 0;z-index:2;height:auto;min-height:240px;margin:0;}
html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .market-hud{inset-block-start:env(safe-area-inset-top,0px);grid-template-columns:44px minmax(0,1fr) 96px;gap:6px;height:44px;}
html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .market-hud>.market-stats{justify-self:center;min-width:0;min-height:40px;padding:0 8px;gap:12px;}
html[data-game-layout="mobile-landscape"] .market-stats .stat{flex-direction:row;gap:4px;line-height:1;}
html[data-game-layout="mobile-landscape"] .market-stats .stat-label{font-size:10px;}
html[data-game-layout="mobile-landscape"] .market-stats .stat strong{font-size:16px;margin:0;}
html[data-game-layout="mobile-landscape"] .market-coins{min-height:40px;gap:4px;padding:0;}
html[data-game-layout="mobile-landscape"] .market-tools{gap:4px;}
html[data-game-layout="mobile-landscape"] .stall-shell .market-brand,html[data-game-layout="mobile-landscape"] .stall-shell .market-tools button{width:44px;height:44px;}
html[data-game-layout="mobile-landscape"] .stall-menu-dock{top:var(--game-top-gap);z-index:15;}
html[data-game-layout="mobile-landscape"] .menu-toggle,html[data-game-layout="mobile-landscape"] .stall-shell.menu-collapsed .menu-toggle{width:108px;min-height:44px;padding:6px 10px;font-size:11px;}
html[data-game-layout="mobile-landscape"] .stall-menu-content{max-height:calc(100dvh - var(--game-top-gap) - 60px - env(safe-area-inset-bottom));padding:7px;gap:6px;background:#211a13f5;border:1px solid #9e7a46;border-radius:10px;box-shadow:0 8px 24px #0008;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;touch-action:pan-y;}
html[data-game-layout="mobile-landscape"] .stall-menu-dock .stall-pack,html[data-game-layout="mobile-landscape"] .classic-entry{min-height:44px;font-size:10px;}
html[data-game-layout="mobile-landscape"] .stall-shell:not(.menu-collapsed) .mobile-menu-shade{display:block;position:absolute;inset:var(--game-top-gap) 0 0;z-index:14;border:0;border-radius:0;background:#100d0933;cursor:pointer;touch-action:manipulation;}
html[data-game-layout="mobile-landscape"] .special-controls{right:max(10px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));width:160px;padding:6px 8px;gap:2px;border-radius:16px;}
html[data-game-layout="mobile-landscape"] .control-status,html[data-game-layout="mobile-landscape"] .size-controls{gap:5px;}
html[data-game-layout="mobile-landscape"] .control-counter img{width:18px;height:24px;}
html[data-game-layout="mobile-landscape"] .special-controls .control-counter strong{font-size:16px;}
html[data-game-layout="mobile-landscape"] .special-controls .control-counter small{font-size:10px;}
html[data-game-layout="mobile-landscape"] .special-controls progress{width:24px;}
html[data-game-layout="mobile-landscape"] .power-controls{padding-top:2px;}
html[data-game-layout="mobile-landscape"] .power-controls>label:first-child{font-size:10px;}
html[data-game-layout="mobile-landscape"] .special-controls input{min-height:28px;}
html[data-game-layout="mobile-landscape"] .size-track output{font-size:10px;}
html[data-game-layout="mobile-landscape"] .stall-shell .real-scene .subtitle{bottom:20%;font-size:11px;max-width:48%;}
html[data-game-layout="mobile-landscape"] .live-dialog .panel{max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));}
html[data-game-layout="mobile-landscape"] .live-dialog[open]{display:flex;align-items:center;justify-content:center;width:calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right));max-width:none;padding:0;border:0;background:transparent;}
html[data-game-layout="mobile-landscape"] .live-dialog .panel,html[data-game-layout="mobile-landscape"] .live-dialog .panel.wide{width:min(580px,100%);margin:auto;}
@media(max-width:700px){html[data-game-layout="mobile-landscape"] .market-stats .stat-label{font-size:8px;}html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .market-hud>.market-stats{gap:6px;padding-inline:5px;}html[data-game-layout="mobile-landscape"] .market-stats .stat strong{font-size:14px;}}
/* In-game panels share the illustrated stall's green, lacquer and brass. */
.live-dialog:has(.game-panel){margin:auto;filter:drop-shadow(0 14px 36px #0009);}
.live-dialog::backdrop{background:#100b08a8;backdrop-filter:blur(3px);}
.live-dialog .game-panel{position:relative;width:min(540px,calc(100vw - 32px));padding:22px;border:3px solid #c79a50;border-radius:24px;background:radial-gradient(ellipse at 50% 0,#34604b66,transparent 65%),linear-gradient(130deg,#183a30,#102820);color:#fff0cc;box-shadow:inset 0 0 0 2px #685333,inset 0 0 0 6px #0d211b,0 0 0 1px #3c2515;}
.live-dialog .game-panel::before{content:'';position:absolute;inset:8px;border:1px solid #bd97584d;border-radius:15px;pointer-events:none;}
.game-panel .panel-head{gap:12px;margin-bottom:12px;align-items:center;padding-bottom:12px;border-bottom:1px solid #b9915055;}
.game-panel .panel-head h2{font-size:30px;line-height:1.1;color:#ffe0a0;text-shadow:0 2px #0c1a14;}
.live-dialog .game-panel .close{position:relative;width:36px;min-width:36px;height:36px;min-height:36px;padding:0;border:1px solid #bc9457;border-radius:50%;background:#36271b;color:#f7d797;font-size:0;}
.live-dialog .game-panel .close::before{content:'×';font-size:26px;line-height:30px;}
.game-panel .panel-body{position:relative;color:#e1d9bc;}
.game-panel p{color:#dfd8bc;line-height:1.5;}
.game-panel .button{border:1px solid #ad884a;border-radius:12px;background:#19372d;color:#fbe6b8;font-weight:700;min-height:46px;box-shadow:inset 0 1px #ffffff12;}
.game-panel .button:hover{background:#2a4d3d;}
.game-panel .button.primary{background:linear-gradient(#f6d483,#d8a34b);border-color:#ffe7ac;color:#35230f;box-shadow:inset 0 2px #fff4c099,0 3px #6c4929;}
.game-panel .button.primary:hover{background:linear-gradient(#ffe4a3,#e8b65a);}
.game-panel button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none;}
.game-panel button:focus-visible,.game-panel input:focus-visible,.game-panel select:focus-visible{outline:3px solid #ffe4a2;outline-offset:3px;}
.game-panel .panel-actions{position:relative;margin-top:14px;padding-top:14px;border-top:1px solid #b9915055;gap:12px;}
.game-panel .panel-actions>.button{flex:1 1 120px;}
.game-panel .panel-actions>.primary{flex-grow:1.7;}
.game-panel .balance-line{display:flex;justify-content:space-between;gap:12px;padding:12px 0;margin:8px 0 0;border:0;border-top:1px solid #b9915038;font-size:13px;color:#c9c8ac;}
.game-panel .balance-line strong{font-size:19px;color:#ffe0a0;margin-left:5px;}
.game-panel .safe-note{font-size:12px;color:#b9c0a5;margin:9px 0 0;line-height:1.45;}
.game-panel .game-caption{text-align:center;font-size:14px;margin:4px 0 14px;color:#f0ddad;}
.classic-hero{position:relative;height:132px;display:flex;justify-content:center;align-items:center;gap:0;isolation:isolate;background:radial-gradient(ellipse at 50% 65%,#d6b76e1f,transparent 65%);}
.classic-hero img{position:relative;width:96px;height:112px;object-fit:contain;filter:drop-shadow(0 7px 5px #0006);}
.classic-hero img:nth-child(2){width:114px;height:128px;margin:0 -6px;z-index:1;}
.classic-hero span{position:absolute;left:50%;bottom:7px;width:244px;height:54px;transform:translateX(-50%) rotate(-5deg);border:6px solid #c883cf;border-radius:50%;box-shadow:inset 0 2px #f4bcf0,0 3px #753d85;z-index:2;}
.game-pack-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:8px;}
.game-pack{position:relative;display:grid;grid-template-columns:44px 1fr;align-items:center;gap:2px 8px;padding:13px 12px;border:1px solid #6c8264;border-radius:14px;color:#f9eac8;background:#0d261f;cursor:pointer;text-align:left;}
.game-pack.selected{border:2px solid #edc36d;padding:12px 11px;background:linear-gradient(120deg,#5e4b2d70,#2c4936);box-shadow:inset 0 0 0 2px #cfa45222;}
.game-pack strong{font-size:29px;line-height:1.1;color:#ffe2a1;}.game-pack strong small{font-size:13px;font-weight:500;color:#e3dec5;}
.game-pack .pack-price{grid-column:2;font-size:14px;font-weight:700;color:#efcf8c;}.game-pack em{grid-column:2;font-size:11px;font-style:normal;color:#b9c2aa;}
.pack-ring{grid-row:1 / span 3;width:38px;height:22px;border:4px solid #d7a0df;border-radius:50%;transform:rotate(-23deg);box-shadow:inset 0 1px #ffdcfa,0 2px #6c4072;}
.game-pack:nth-child(2) .pack-ring{border-color:#f4cc63;box-shadow:inset 0 1px #fff4b5,0 2px #86622d,4px -7px 0 -2px #d19a47;}
.game-age-check{display:flex;align-items:center;gap:9px;margin:10px 0;font-size:13px;color:#f5dfb1;}.game-age-check input{accent-color:#f1bf61;width:20px;height:20px;}
.game-inline-note{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;margin-top:10px;border:1px solid #bd914a77;border-radius:10px;background:#382e1a80;color:#ffdda0;font-size:12px;line-height:1.4;}.game-inline-note .button{flex:0 0 auto;padding:8px 10px;font-size:12px;}
.game-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:13px;}.game-facts>div{text-align:center;padding:10px 4px;background:#0b221a88;border:1px solid #68805c66;border-radius:10px;}.game-facts strong{display:block;color:#ffe0a0;font-size:27px;line-height:1.2;}.game-facts span{font-size:11px;color:#c5cdb5;}
.game-panel .mode-intro-art{width:232px;margin-bottom:14px;}
.game-panel .notice,.game-panel .task-row,.game-panel .result-grid>div,.game-panel .reward-strip{background:#0e241d;border-color:#7b794c;color:#e3dbbd;}.game-panel .notice p,.game-panel small{color:#bec8ad;}.game-panel .task-row,.game-panel .settings-row{border-color:#6e805344;}.game-panel h3,.game-panel .result-number,.game-panel .result-grid strong{color:#ffe0a0;}.game-panel .eyebrow{color:#d5bd7e;}.game-panel .inline-status{color:#c3e5aa!important;}.game-panel select{background:#16352b;color:#ffe7b7;border-color:#9d8349;}.game-panel a{color:#f3d18c;}
@media(max-width:600px){.live-dialog:has(.game-panel){width:auto;max-width:calc(100vw - 24px);margin:auto;}.live-dialog .game-panel,.live-dialog .game-panel.wide{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:20px 17px;border-radius:22px;}.game-panel .panel-head h2{font-size:27px;}.classic-hero{height:118px;}.classic-hero img{width:85px;height:100px;}.classic-hero img:nth-child(2){width:101px;height:114px;}.game-pack-grid{gap:9px;}.game-pack{grid-template-columns:30px 1fr;padding:12px 8px;gap:2px 6px;}.game-pack.selected{padding:11px 7px;}.pack-ring{width:29px;height:18px;border-width:3px;}.game-pack strong{font-size:25px;}.game-panel .game-caption{font-size:13px;}}
@media(max-height:600px) and (orientation:landscape){.live-dialog .game-panel,.live-dialog .game-panel.wide{width:min(680px,calc(100vw - 32px));padding:14px 18px;}.game-panel .panel-head{padding-bottom:7px;margin-bottom:7px;}.game-panel .panel-head h2{font-size:25px;}.game-panel .panel-actions{margin-top:8px;padding-top:8px;}.live-dialog[data-modal="classic-intro"] .panel-body,.live-dialog[data-modal="exchange"] .panel-body{display:grid;grid-template-columns:160px 1fr;gap:4px 16px;align-items:center;}.classic-hero{grid-column:1;grid-row:1 / span 2;height:114px;}.classic-hero img{width:53px;height:80px;}.classic-hero img:nth-child(2){width:68px;height:100px;}.classic-hero span{width:155px;height:40px;border-width:4px;bottom:10px;}.game-caption,.game-pack-grid{grid-column:2;}.game-panel .game-caption{margin:0 0 4px;}.game-pack{padding:8px 10px;}.game-pack.selected{padding:7px 9px;}.game-panel .balance-line,.game-age-check,.game-inline-note,.game-panel .safe-note{grid-column:1 / -1;}.game-panel .balance-line{padding:6px 0;margin-top:2px;}.game-panel .safe-note{margin-top:2px;}.game-panel .mode-intro-art{float:left;width:190px;margin:0 16px 8px 0;}.game-facts{margin-top:6px;}}
.live-dialog:has(.game-panel){width:fit-content;max-width:calc(100vw - 24px);margin:auto;}
.classic-hero img{border-radius:50%;border:3px solid #bc9555;background:#f6ebcf;object-fit:cover;box-shadow:inset 0 0 0 2px #fff1c9,0 4px 8px #0006;}
.market-score{border:0;background:transparent;color:inherit;font:inherit;padding:0;cursor:pointer;}.market-score:focus-visible{outline:2px solid #ffe2a0;outline-offset:4px;}.score-result-head{display:flex;align-items:center;justify-content:center;gap:18px;padding:15px 0 20px;}.score-medal{display:grid;place-items:center;width:78px;height:78px;border:3px double #f7d289;border-radius:50%;background:radial-gradient(circle,#edd18a,#9f6b2e);font-size:44px;color:#fff2bb;box-shadow:0 0 28px #e9bf5933;}.score-result-head .result-number{margin:4px 0 0;font-size:62px;line-height:1;}.score-result-head .result-number span{font:500 14px var(--font-ui);}.game-facts strong small{font-size:13px;}.score-total-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px;border:1px solid #b99b54;border-radius:12px;background:linear-gradient(100deg,#61512c55,#1a3d30);font-size:13px;}.score-total-card strong{font-size:30px;color:#ffe0a0;}.score-mode-totals{display:grid;grid-template-columns:1fr 1fr;gap:12px;}.score-mode-totals>div{display:grid;gap:5px;border:1px solid #ab904b88;border-radius:12px;padding:14px;background:#10261f;}.score-mode-totals span{font-size:13px;}.score-mode-totals strong{font-size:32px;color:#ffe0a0;}.score-mode-totals small{font-size:11px;}.score-history>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #9e905144;}.score-history strong{font-size:14px;}.score-history small{display:block;font-size:11px;margin-top:3px;}.score-history b{text-align:right;font-size:23px;color:#ffe0a0;}.score-history b small{font-weight:400;}
@media(max-height:600px) and (orientation:landscape){.score-result-head{float:left;width:210px;padding:12px 0;gap:8px;}.score-medal{width:56px;height:56px;font-size:32px;flex-shrink:0;}.score-result-head .result-number{font-size:42px;}.score-result-head .eyebrow{font-size:10px;}.score-total-card{clear:both;padding:9px 12px;}.score-mode-totals{grid-template-columns:repeat(4,1fr);}}

/* The website navigation has its own row above the game HUD. */
:root{--site-header-height:64px;}
.page-nav.platform-nav{position:sticky;top:0;z-index:30;box-sizing:border-box;height:var(--site-header-height);min-height:var(--site-header-height);padding:10px clamp(16px,2vw,32px);gap:20px;border-bottom:1px solid #9e753d;background:#241a12;color:#ffe3a4;}
.platform-nav .brand{font-size:23px;text-decoration:none;}
.platform-nav nav{gap:24px;}
.platform-nav nav>a{color:inherit;text-decoration:none;white-space:nowrap;}
.platform-nav nav>a:hover{text-decoration:underline;text-underline-offset:5px;}
.platform-nav .nav-upcoming{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:6px 0;background:none;border:0;border-radius:8px;color:#eddbb7;font:inherit;white-space:nowrap;}
.platform-nav .nav-upcoming span{padding:3px 6px;border:1px solid #8c754d;border-radius:5px;color:#d6bc88;font-size:10px;line-height:1.2;}
.platform-nav .nav-account{padding:6px 12px;border:1px solid #a17e46;background:#3a2b1c;}
.platform-nav a:focus-visible,.platform-nav button:focus-visible{outline:2px solid #ffdc90;outline-offset:4px;}
.platform-nav .site-nav-toggle{display:none;}
.platform-nav+.game-shell.stall-shell{height:calc(100dvh - var(--site-header-height) - var(--page-top-gap));}
body.game-expanded .platform-nav{display:none;}
body.game-expanded .platform-nav+.game-shell.stall-shell{height:100svh;margin-top:0;}
@media(max-width:760px){
 :root{--site-header-height:60px;}
 .page-nav.platform-nav{padding:8px 16px;}
 .platform-nav .brand{font-size:21px;}
 .platform-nav .site-nav-toggle{display:inline-flex;align-items:center;gap:10px;min-height:40px;padding:6px 12px;border:1px solid #987443;border-radius:8px;background:#3a2b1c;color:#ffe3a4;font:inherit;font-size:13px;}
 .platform-nav nav{display:none;position:absolute;top:100%;left:0;right:0;padding:14px 16px;gap:8px 16px;grid-template-columns:repeat(2,minmax(0,1fr));background:#241a12;border-bottom:1px solid #9e753d;box-shadow:0 10px 20px #100b0855;}
 .platform-nav.nav-open nav{display:grid;}
 .platform-nav nav>a,.platform-nav .nav-upcoming{min-height:44px;font-size:13px;}
 .platform-nav .nav-account{padding-inline:0;border:0;background:none;}
 .platform-nav .nav-upcoming span{font-size:9px;}
}
html[data-game-layout="mobile-landscape"]{--site-header-height:44px;}
html[data-game-layout="mobile-landscape"] .platform-nav+.game-shell.stall-shell{inset-block-start:calc(var(--site-header-height) + 8px);height:auto;}
html[data-game-layout="mobile-landscape"] body.game-expanded .platform-nav+.game-shell.stall-shell{inset:0;height:100svh;}

/* Small, local SVGs keep the game counters recognizable without an icon font. */
.stat-icon{width:21px;height:21px;flex:none;align-self:center;color:#eabd68}
.market-stats .stat-icon{filter:drop-shadow(0 1px 1px #0006)}
.market-stats .stat{align-items:center}
@media(max-width:760px){.market-stats .stat-icon{width:17px;height:17px}}
/* A clearly marked loading illustration replaces the empty black waiting screen. */
#game-loading{background:linear-gradient(#180f08a6,#180f08c9),url('/assets/stall-desktop.webp') center/cover no-repeat;color:#ffe2a4;text-shadow:0 2px 5px #000;font-weight:600}

/* Daily rewards float over the stall; neither menu changes the world framing. */
.task-dock{position:absolute;top:max(96px,16%);right:var(--market-right,16px);z-index:7;width:244px;display:flex;flex-direction:column;align-items:flex-end;gap:8px;pointer-events:none}
.task-dock>*{pointer-events:auto}.task-toggle{width:auto;min-width:120px;min-height:36px;gap:7px;flex:none;white-space:nowrap}
.task-toggle>svg{width:19px;height:19px;flex:none}.task-toggle [data-task-arrow]{font-size:19px;line-height:1}
.task-badge{display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border-radius:12px;background:#f5cc74;color:#35220d;font-size:11px;box-shadow:0 1px 5px #0004}
.task-panel{display:none;box-sizing:border-box;width:100%;max-height:480px;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#bc9755 #17352c;color:#f5e7c0;border:2px solid #bd8d4c;border-radius:15px;background:linear-gradient(145deg,#254b3e,#102c26);box-shadow:inset 0 0 0 2px #152c24,inset 0 0 0 3px #8c703e,0 8px 22px #100c0790;font-family:var(--font-ui);text-align:left}
.tasks-open .task-panel{display:block}.task-panel-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:9px;padding:15px 12px 12px;background:#1a3b31;border-bottom:1px solid #94774770}
.task-panel-head div>span{font-size:7px;letter-spacing:.12em;color:#c6af79}.task-panel-head h2{margin:4px 0 0;font:700 19px/1.1 var(--font-display,var(--font-ui));color:#ffe4a4}
.task-panel-head>strong{font-size:15px;color:#f4cb70;text-align:right;white-space:nowrap}.task-panel-head small{display:block;margin-top:3px;font-size:9px;font-weight:400;color:#c8bb94}
.task-panel .daily-task-list{display:grid;gap:0;padding:0 10px;margin:0}.daily-task{display:grid;grid-template-columns:25px minmax(0,1fr) 52px;gap:7px;align-items:center;min-height:76px;padding:11px 0;border-bottom:1px solid #9e91502b}
.daily-task-art{display:grid;place-items:center;width:25px;height:30px;color:#d9b666}.daily-task-art svg{width:24px;height:24px}.daily-task-copy{min-width:0}.daily-task h3{margin:0;font:600 12px/1.35 var(--font-ui);color:#f5e5be}
.daily-task-progress{display:block;margin-top:4px;font-size:9px;line-height:1.35;color:#c3bba2}.daily-task progress{display:block;width:100%;height:4px;margin-top:6px;accent-color:#d6b55e}
.daily-task-reward{display:grid;justify-items:center;gap:5px}.daily-task-reward>strong{font-size:15px;line-height:1;color:#ffdb80}
.task-claim.button{min-height:30px;min-width:49px;padding:5px 5px;border:1px solid #aa8b53;border-radius:7px;background:#273f32;color:#ecd4a2;font-size:10px;line-height:1.2;font-weight:700}
.is-ready .task-claim.button{background:linear-gradient(#ffdf94,#d9a04d);border-color:#edc878;color:#32210d;box-shadow:0 2px 0 #52391a}
.is-claimed .daily-task-art,.is-claimed .daily-task-copy,.is-claimed .daily-task-reward{opacity:.55}.task-claim.button:disabled{cursor:default}.task-round-help{margin:0 12px;padding:12px 0 4px;font-size:10px;line-height:1.5;color:#d4c69d}.task-round-help summary{cursor:pointer;color:#e9d197}.task-round-help p{margin:8px 0 0}.task-reset-note{margin:8px 12px 14px;font-size:9px;line-height:1.4;color:#b4b49c}
.task-shade{display:none}.tasks-overlay.tasks-open .task-shade{display:block;position:absolute;inset:var(--game-top-gap,76px) 0 0;z-index:14;border:0;border-radius:0;background:#100d0955;touch-action:manipulation}
.tasks-overlay.tasks-open .task-dock{z-index:15;bottom:12px}.tasks-overlay .task-panel{max-height:none;min-height:0;flex:1}.tasks-overlay.tasks-open .special-controls{visibility:hidden}
.classic-completion-note{margin:12px 0;padding:11px 12px;border-left:3px solid #c9a254;background:#d5b87310;color:#e3d7b7;font-size:12px;line-height:1.55}
.share-reward-hero{display:flex;align-items:center;justify-content:center;gap:22px;padding:12px 0 24px}.share-reward-hero>span{display:grid;place-items:center;width:70px;height:70px;border:2px solid #d0a85b;border-radius:50%;font-size:46px;color:#f1cc78;background:radial-gradient(circle at 30% 20%,#a8793c,#332916)}.share-reward-hero strong{font-size:42px;line-height:1;color:#f6d78b}.share-reward-hero small{display:block;margin-top:6px;font-size:13px;font-weight:400;color:#d5c298}
.share-link-label{display:block;margin:16px 0 7px;font-size:12px;font-weight:700}.share-link-input{width:100%;min-height:42px;padding:9px 12px;color:#f5dfaa;background:#122b24;border:1px solid #9d8250;border-radius:8px;font:14px var(--font-ui)}.share-options{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 22px}.share-post-check{display:flex;align-items:flex-start;gap:9px;font-size:14px;line-height:1.5}.share-post-check input{width:18px;height:18px;flex:none;margin-top:2px;accent-color:#d7b363}
html[data-game-layout="mobile-landscape"] .task-dock{top:var(--game-top-gap);right:max(10px,env(safe-area-inset-right));width:min(280px,calc(100vw - 40px));z-index:15}
@media(max-width:900px),(max-height:650px){.task-toggle{min-height:44px}.task-dock{width:min(280px,calc(100vw - 40px))}.task-claim.button{min-height:44px}.task-panel-head h2{font-size:18px}.task-panel-head{padding-top:11px;padding-bottom:10px}.daily-task{min-height:78px}}

.task-feedback{margin:10px 10px 0;padding:8px 9px;border:1px solid #b99b5260;border-radius:7px;background:#cba24b18;color:#ffe1a1;font-size:10px;line-height:1.45}
.reward-added{animation:coin-reward-glow .9s ease-out}@keyframes coin-reward-glow{0%,100%{filter:none}35%{filter:drop-shadow(0 0 7px #ffd87d)}}
@media(prefers-reduced-motion:reduce){.reward-added{animation:none}}

/* Phone-only chrome. Desktop dimensions and world framing remain unchanged. */
/* Rewards echo the illustrated mode cards, with an independent gold frame. */
.task-panel{border:3px solid #c69c51;border-radius:18px;background:#071914;color:#f4e4c6;box-shadow:inset 0 0 0 2px #152f27,inset 0 0 0 3px #d1b06b,0 14px 30px #080604aa,0 0 0 4px #17110c55;scrollbar-color:#b79960 #173a30}
.task-panel-head{gap:8px;padding:18px 14px 12px;background:url('/assets/game/menu/reward-flower.svg') left top/39px 39px no-repeat,url('/assets/game/menu/reward-flower.svg') right top/39px 39px no-repeat,#071914;border-bottom:1px solid #ad8d4b60}
.task-panel-head>svg{width:22px;height:22px;flex:none;color:#edc878}
.task-panel .task-panel-head{padding-left:34px}.task-panel .task-panel-head>svg{display:none}
.task-panel-head h2{flex:1;margin:0;font:700 18px/1.2 var(--font-display,var(--font-ui));color:#ffe1a1}
.task-panel-close{display:grid;place-items:center;width:32px;height:32px;flex:none;padding:0;border:0;border-radius:50%;background:#ffffff0a;color:#dbc9aa;font-size:22px;cursor:pointer}
.task-panel .daily-task-list{padding:8px;gap:6px}
.task-panel .daily-task{grid-template-columns:22px minmax(0,1fr) 58px;min-height:72px;padding:10px 4px;gap:6px;border:0;border-bottom:1px solid #c2a25a55;border-radius:0;background:transparent}
.task-panel .daily-task.is-ready{background:#d5b05f0d;border-color:#d9ac5a60}
.task-panel .daily-task h3{font-size:14px;line-height:1.35;color:#f6e7cb}
.task-panel .daily-task-art{width:22px;color:#c8a76b}.task-panel .daily-task-art svg{width:21px;height:21px}
.task-panel .daily-task-progress{display:inline-block;margin-top:4px;font-size:12px;color:#dfd2b3}
.task-panel .daily-task progress{height:3px;margin-top:4px;accent-color:#d8b260}
.task-panel .daily-task-reward{gap:6px}.task-panel .daily-task-reward>strong{font-size:18px}
.task-panel .task-claim.button{min-height:36px;font-size:12px;background:#112820;border-color:#ad8b50;color:#f3e0b0}
.task-panel .is-ready .task-claim.button{background:linear-gradient(#ffdc8b,#d7a04d);border-color:#e7bd74;color:#34220e}
.task-completed{margin:4px 12px 0;border-top:1px solid #a58b5930;padding-top:9px;color:#b7ae97;font-size:11px}
.task-completed summary{display:flex;justify-content:space-between;align-items:center;min-height:32px;cursor:pointer}.task-completed summary::before{content:'▸';margin-right:6px}.task-completed[open] summary::before{content:'▾'}.task-completed summary span{margin-left:auto;font-size:10px;color:#b7b997}
.task-completed-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:32px;font-size:11px;color:#a9a28f}.task-completed-row strong{font-size:10px;color:#b7b997;white-space:nowrap}
.task-panel .task-completed,.task-panel .task-completed-row{font-size:13px;color:#d2ccb5}.task-panel .task-completed summary span,.task-panel .task-completed-row strong{font-size:12px;color:#d2ccb5}
.task-rules-link{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:10px 14px;color:#e6ca88;font-size:13px;text-decoration:none}.task-rules-link:hover{text-decoration:underline}
.task-panel .task-round-help{margin:0 12px;padding:2px 0 16px;font-size:10px;color:#c0b398}.task-panel .task-round-help summary{min-height:32px;display:list-item;align-content:center;color:#c0b398}.task-panel .task-round-help p{line-height:1.55}
.share-image-preview{margin:0 0 14px;border:1px solid #bc9956;border-radius:12px;overflow:hidden;background:#102a22}.share-image-preview img{display:block;width:100%;max-height:320px;object-fit:contain;background:#102a22}.share-image-preview figcaption{padding:7px 10px;font-size:11px;color:#d7c391;text-align:center}.share-image-wait{display:grid;place-items:center;gap:14px;min-height:190px;padding:20px;border:1px dashed #a1844e;border-radius:12px;text-align:center;color:#dbc693}.share-reward-rules{margin-top:12px;color:#bcb79b;font-size:11px;line-height:1.5}.share-reward-rules summary{cursor:pointer;min-height:32px}.share-reward-rules p{font-size:11px}
/* Sharing has one visual focus: the game card, followed by explicit platform destinations. */
.live-dialog[data-modal="share"] .panel.game-panel{width:min(580px,calc(100vw - 24px));max-width:min(580px,calc(100vw - 24px));padding:0;border:2px solid #d1a957;border-radius:20px;background:#fff0cf;color:#412b19;box-shadow:0 12px 60px #0008,inset 0 0 0 4px #f8db9b}
.live-dialog[data-modal="share"] .panel-head{padding:18px 22px;background:linear-gradient(110deg,#9e2618,#6d170f);border-bottom:2px solid #d1a957}
.live-dialog[data-modal="share"] .panel-head h2{color:#ffe4a1;font-size:28px}
.live-dialog[data-modal="share"] .panel-head .close{color:#ffe4a1;background:#381c1470;border-color:#d1a957}
.live-dialog[data-modal="share"] .panel-body{padding:18px 22px 4px}
.live-dialog[data-modal="share"] .panel-actions{padding:12px 22px 20px;border:0;margin:0}
.live-dialog[data-modal="share"] .panel-actions>.button{width:100%;min-height:48px;background:linear-gradient(#f6d78c,#e0b15a);border-color:#af7732;color:#392511;font-size:16px}
.live-dialog[data-modal="share"] .panel-actions>.button:disabled{opacity:.55}
.live-dialog[data-modal="share"] .share-image-preview{background:#251b12;border-color:#b78b42;margin:0 0 16px}
.live-dialog[data-modal="share"] .share-image-preview img{max-height:210px;background:#251b12}
.live-dialog[data-modal="share"] .share-image-preview figcaption{font-size:14px;padding:9px;color:#ffe4ac}
.share-image-preview figcaption span{padding:0 6px}
.share-platforms{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.share-platform{display:flex;align-items:center;justify-content:center;gap:10px;min-height:50px;border:1px solid transparent;border-radius:10px;padding:10px 14px;font:700 16px var(--font-ui);color:white;cursor:pointer}
.share-platform svg{width:23px;height:23px;flex:none}.share-platform>span:last-child{margin-left:auto;font-size:20px}.share-platform--facebook{background:#1463c6}.share-platform--x{background:#231f1b}.share-platform:disabled{opacity:.5;cursor:default}.share-platform:focus-visible{outline:3px solid #97621c;outline-offset:3px}
.share-caption{font-size:14px!important;line-height:1.5!important;text-align:center;color:#684c30!important;margin:12px 0!important}
.share-secondary{display:flex;justify-content:center;gap:18px;margin:0 0 12px}.share-secondary .button{font-size:14px;color:#684322;background:none;border:0;min-height:40px;padding:5px 2px;text-decoration:underline;text-underline-offset:4px;box-shadow:none}
.share-disclosure{font-size:13px!important;line-height:1.5!important;color:#745b3d!important;margin:8px 0!important;text-align:center}.share-disclosure a{color:#8b3020;white-space:nowrap}
.share-status{font-size:14px!important;line-height:1.4!important;padding:10px 12px;margin:8px 0!important;background:#f4dba6;color:#51391d!important;border-radius:8px}
.share-claimed{margin:0;width:100%;text-align:center;font-weight:700;color:#266446}
html[data-game-layout="mobile-landscape"] .live-dialog[data-modal="share"] .panel.game-panel{width:min(720px,100%)}
html[data-game-layout="mobile-landscape"] .live-dialog[data-modal="share"] .panel-head{padding:10px 16px}
html[data-game-layout="mobile-landscape"] .live-dialog[data-modal="share"] .panel-head h2{font-size:23px}
html[data-game-layout="mobile-landscape"] .live-dialog[data-modal="share"] .panel-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;padding:12px 16px 0}
html[data-game-layout="mobile-landscape"] .live-dialog[data-modal="share"] .share-image-preview,html[data-game-layout="mobile-landscape"] .live-dialog[data-modal="share"] .share-image-wait{margin:0;align-self:start;grid-column:1;grid-row:1}
html[data-game-layout="mobile-landscape"] .live-dialog[data-modal="share"] .share-image-preview img{max-height:170px}
html[data-game-layout="mobile-landscape"] .share-destination{grid-column:2}.share-destination{min-width:0}
html[data-game-layout="mobile-landscape"] .share-platforms{gap:8px}
html[data-game-layout="mobile-landscape"] .share-platform{font-size:14px;min-height:44px;padding:8px;gap:7px}
html[data-game-layout="mobile-landscape"] .share-platform svg{width:20px;height:20px}
html[data-game-layout="mobile-landscape"] .share-platform>span:last-child{display:none}
html[data-game-layout="mobile-landscape"] .share-caption{margin:8px 0!important}
html[data-game-layout="mobile-landscape"] .share-secondary{gap:12px;margin-bottom:4px}
html[data-game-layout="mobile-landscape"] .live-dialog[data-modal="share"] .panel-actions{padding:10px 16px 12px}
html[data-game-layout="mobile-landscape"] .live-dialog[data-modal="share"] .panel-actions>.button{min-height:44px;font-size:14px}
.tasks-all-done{margin:16px 0;padding:10px;text-align:center;color:#dfd6b8;font-size:13px}
.tasks-overlay .task-panel{flex:0 1 auto;max-height:100%}
@media(max-width:900px),(max-height:650px){.task-panel .task-claim.button{min-height:44px}.task-panel-close{width:44px;height:44px}.task-completed summary,.task-panel .task-round-help summary{min-height:44px}}
.stall-shell .market-tools .mobile-site-menu{display:none}
html[data-game-layout="mobile-landscape"]{--site-header-height:0px;background:#211812}
html[data-game-layout="mobile-landscape"] .page-nav.platform-nav{display:none}
html[data-game-layout="mobile-landscape"] .page-nav.platform-nav.nav-open{display:block;position:fixed;inset:calc(48px + env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) auto auto;width:min(310px,calc(100vw - 24px));height:auto;min-height:0;padding:8px;border:1px solid #b28b4f;border-radius:12px;background:#241a12f7;z-index:40}
html[data-game-layout="mobile-landscape"] .platform-nav .brand,html[data-game-layout="mobile-landscape"] .platform-nav .site-nav-toggle{display:none}
html[data-game-layout="mobile-landscape"] .platform-nav nav{position:static;display:grid;grid-template-columns:1fr;gap:0;padding:0;border:0;background:none;box-shadow:none}
html[data-game-layout="mobile-landscape"] .platform-nav nav>a,html[data-game-layout="mobile-landscape"] .platform-nav .nav-upcoming{display:flex;align-items:center;min-height:44px;padding:8px 12px;font-size:13px}
html[data-game-layout="mobile-landscape"] .platform-nav .nav-account{border:0;background:none}
html[data-game-layout="mobile-landscape"] .game-shell.stall-shell,html[data-game-layout="mobile-landscape"] .platform-nav+.game-shell.stall-shell,html[data-game-layout="mobile-landscape"] body.game-expanded .platform-nav+.game-shell.stall-shell{--page-top-gap:0px;--game-top-gap:calc(48px + env(safe-area-inset-top));--menu-width:124px;--market-left:max(8px,env(safe-area-inset-left));--market-right:max(8px,env(safe-area-inset-right));inset:0;height:100dvh;min-height:0;margin:0;width:100%;max-width:none}
html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .market-hud{inset:env(safe-area-inset-top) var(--market-right) auto var(--market-left);height:48px;grid-template-columns:44px minmax(0,1fr) 176px;gap:6px}
html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .market-hud>.market-stats{justify-self:stretch;justify-content:space-evenly;gap:8px;min-height:44px;padding:0 6px;border:0;background:transparent;box-shadow:none;border-radius:0}
html[data-game-layout="mobile-landscape"] .market-stats .stat-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html[data-game-layout="mobile-landscape"] .market-stats .stat strong{font-size:17px;line-height:1}
html[data-game-layout="mobile-landscape"] .market-stats .stat-icon{width:21px;height:21px}
html[data-game-layout="mobile-landscape"] .market-stats .coin-plus{display:none}
html[data-game-layout="mobile-landscape"] .market-coins,html[data-game-layout="mobile-landscape"] .market-score{min-height:44px}
html[data-game-layout="mobile-landscape"] .market-tools{gap:0;align-items:center;pointer-events:auto}
html[data-game-layout="mobile-landscape"] .stall-shell .market-tools button,html[data-game-layout="mobile-landscape"] .stall-shell .market-tools .mobile-site-menu{display:grid;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:9px;background:transparent;box-shadow:none;font-size:22px}
html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .market-hud .market-tools .task-toggle{position:relative;width:44px;min-width:44px;max-width:44px;justify-content:center;gap:0}
html[data-game-layout="mobile-landscape"] .market-tools .task-toggle>svg{width:23px;height:23px}
html[data-game-layout="mobile-landscape"] .market-tools [data-task-toggle-label],html[data-game-layout="mobile-landscape"] .market-tools [data-task-arrow]{display:none}
html[data-game-layout="mobile-landscape"] .market-tools .task-badge{position:absolute;top:0;right:0;min-width:15px;height:15px;font-size:9px;padding:0 3px;background:#bd3021;color:#fff3d4}
html[data-game-layout="mobile-landscape"] .stall-menu-dock,html[data-game-layout="mobile-landscape"] .stall-shell.menu-collapsed .stall-menu-dock{top:calc(var(--game-top-gap) + 6px);width:var(--menu-width)}
html[data-game-layout="mobile-landscape"] .menu-toggle,html[data-game-layout="mobile-landscape"] .stall-shell.menu-collapsed .menu-toggle{width:88px;min-height:44px;padding:6px 10px;border-radius:22px;font-size:12px}
html[data-game-layout="mobile-landscape"] .stall-menu-content{max-height:calc(100dvh - var(--game-top-gap) - 60px - env(safe-area-inset-bottom));padding:5px;gap:5px;border-radius:12px;background:linear-gradient(#203d32f5,#122b24f5)}
html[data-game-layout="mobile-landscape"] .stall-menu-dock .stall-modes{gap:5px}
html[data-game-layout="mobile-landscape"] .illustrated-mode{border-radius:8px;flex:none}
html[data-game-layout="mobile-landscape"] .stall-menu-dock .stall-pack{min-height:44px;padding:4px 2px;gap:3px;font-size:9px;white-space:nowrap}
html[data-game-layout="mobile-landscape"] .stall-menu-dock .ticket-cost,html[data-game-layout="mobile-landscape"] .stall-menu-dock .stall-pack strong{font-size:9px}
html[data-game-layout="mobile-landscape"] .stall-menu-dock .classic-entry{min-height:44px;font-size:10px}
html[data-game-layout="mobile-landscape"] .special-controls{width:174px;right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));padding:4px 7px;gap:0;border-radius:18px}
html[data-game-layout="mobile-landscape"] .special-controls .control-status{height:36px;gap:4px}
html[data-game-layout="mobile-landscape"] .special-controls .control-key{width:44px;min-height:44px;height:44px;flex-basis:44px;font-size:23px;background:none;border:0;box-shadow:none}
html[data-game-layout="mobile-landscape"] .special-controls .control-counter img{width:20px;height:24px}
html[data-game-layout="mobile-landscape"] .special-controls .control-counter strong{font-size:17px}
html[data-game-layout="mobile-landscape"] .special-controls .control-counter small{font-size:10px}
html[data-game-layout="mobile-landscape"] .special-controls .power-controls{position:relative;height:30px;padding:0;display:block}
html[data-game-layout="mobile-landscape"] .power-controls>label:first-child{position:absolute;inset:7px 0 auto;font-size:9px;line-height:14px;pointer-events:none}
html[data-game-layout="mobile-landscape"] .special-controls .power-controls>#throw-power{position:absolute;inset:-6px 24px auto 32px;width:calc(100% - 56px);height:44px;min-height:44px;margin:0;cursor:pointer}
html[data-game-layout="mobile-landscape"] .controller-ready{width:148px;padding:3px 6px;border-radius:26px}
html[data-game-layout="mobile-landscape"] .controller-ready .control-status{height:44px}
html[data-game-layout="mobile-landscape"] .controller-ready .power-controls{display:none}
html[data-game-layout="mobile-landscape"] .special-controls .controller-start{min-height:40px;min-width:84px;padding:4px 12px;border-radius:22px;font-size:16px;white-space:nowrap;background:linear-gradient(#ffdf94,#d9a04d);color:#38220d}
html[data-game-layout="mobile-landscape"] .special-controls .size-controls{gap:0;border-top:1px solid #b9995650}
html[data-game-layout="mobile-landscape"] .size-track{display:flex;align-items:center;gap:4px}
html[data-game-layout="mobile-landscape"] .size-track input{min-height:44px}
html[data-game-layout="mobile-landscape"] .task-dock{top:calc(var(--game-top-gap) + 6px);bottom:8px;gap:0;width:min(280px,calc(100vw - 24px));right:var(--market-right)}
html[data-game-layout="mobile-landscape"] .tasks-overlay.tasks-open .task-dock{bottom:max(8px,env(safe-area-inset-bottom))}
html[data-game-layout="mobile-landscape"] .tasks-overlay.tasks-open .special-controls,html[data-game-layout="mobile-landscape"] body:has(.platform-nav.nav-open) .special-controls{visibility:hidden}
@media(max-width:680px){html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .market-hud{grid-template-columns:36px minmax(0,1fr) 160px;gap:2px}html[data-game-layout="mobile-landscape"] .stall-shell .market-tools button{width:40px;min-width:40px}html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .market-hud>.market-stats{gap:4px;padding:0}html[data-game-layout="mobile-landscape"] .market-stats .stat strong{font-size:14px}html[data-game-layout="mobile-landscape"] .market-stats .stat-icon{width:17px;height:17px}}

/* Accepted reward-board concept: narrow red sign, readable ivory task list. */
.game-shell.stall-shell .task-dock{width:260px}
.task-panel{border:3px solid #c39943;border-radius:20px;background:linear-gradient(105deg,#fff2d6,#f9e4b9);color:#342613;box-shadow:inset 0 0 0 2px #fff4cc,0 0 0 1px #8c291d,0 8px 24px #10080599;scrollbar-color:#b5843d #f4dfb5}
.task-panel .task-panel-head{padding:14px 10px 14px 44px;gap:6px;background:url('/assets/game/menu/reward-flower.svg') 3px 4px/44px 44px no-repeat,linear-gradient(120deg,#b72c1c,#790f10);border-bottom:2px solid #c39943;border-radius:15px 15px 0 0;min-height:64px}
.task-panel .task-panel-head h2{font:700 23px/1.15 Georgia,serif;color:#ffe5a5;text-shadow:0 2px #581509}
.task-panel .task-panel-close{width:32px;height:32px;min-height:32px;border:1px solid #dfb46170;color:#ffe2a1;background:#680d0c33;font-size:23px}
.task-panel .daily-task-list{padding:0 10px;gap:0}
.task-panel .daily-task{grid-template-columns:30px minmax(0,1fr) 33px 48px;gap:6px;min-height:66px;padding:10px 0;border:0;border-bottom:1px solid #bb8d4a77;border-radius:0;background:transparent}
.task-panel .daily-task.is-ready{background:linear-gradient(90deg,#efd09144,transparent);border-bottom:1px solid #bb8d4a77}
.task-panel .daily-task h3{font:600 13px/1.35 var(--font-ui);color:#382513}
.task-panel .daily-task .daily-task-progress{font-size:12px;color:#725432;margin-top:4px}
.task-panel .daily-task progress{height:3px;margin-top:4px;accent-color:#a6742b}
.task-panel .task-coins{font-size:17px;color:#664517;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
.task-panel .daily-task .daily-task-art{display:grid;place-items:center;width:30px;height:30px;border:1px solid #b88530;border-radius:50%;box-shadow:inset 0 1px 2px #fff8,0 2px 3px #82532545;color:#fff1b9}
.task-panel .daily-task .daily-task-art svg{width:21px;height:21px;filter:drop-shadow(0 1px 1px #0004)}
[data-task-id="checkin"] .daily-task-art{background:linear-gradient(#d99a30,#b5341d)}
[data-task-id="throws-10"] .daily-task-art{background:linear-gradient(#4392d9,#205aa0)}
[data-task-id="rounds-1"] .daily-task-art{background:linear-gradient(#efb93b,#a66b0b)}
[data-task-id="rounds-2"] .daily-task-art{background:linear-gradient(#a065be,#68409b)}
[data-task-id="share"] .daily-task-art{background:linear-gradient(#37998d,#126052)}
.task-panel .daily-task-reward{display:flex;justify-content:flex-end;align-items:center}
.task-panel .task-claim.button{min-width:44px;min-height:34px;padding:5px 4px;font-size:12px;border:1px solid #b99343;border-radius:10px;background:linear-gradient(#296249,#123d2b);box-shadow:inset 0 1px #ffffff36,0 2px 3px #865d2333;color:#fff0c0}
.task-panel .is-ready .task-claim.button{background:linear-gradient(#f6cf75,#dfa642);color:#4a2b0a;border-color:#b88030}
.task-panel .daily-task.is-claimed .daily-task-art,.task-panel .daily-task.is-claimed .daily-task-copy,.task-panel .daily-task.is-claimed .daily-task-reward{opacity:1}
.task-done{display:flex;align-items:center;gap:3px;color:#316744;font-size:12px;font-weight:700;white-space:nowrap}.task-done>span{font-size:17px;line-height:1}
.task-panel .task-rules-link{min-height:48px;justify-content:center;gap:7px;margin:0;padding:12px 14px;background:url('/assets/game/menu/reward-clouds.svg') bottom/100% 44px no-repeat;font-size:13px;font-weight:600;color:#7e2a19;text-underline-offset:3px}
.task-panel .task-feedback{color:#5a3c18;border-color:#b78e4755;background:#f5ca6640;font-size:12px}

/* Compact controls sit below the task board, keeping the throwing area clear. */
.game-shell.stall-shell .special-controls,.game-shell.stall-shell .special-controls.controller-ready{left:auto;right:var(--market-right);bottom:16px;transform:none;width:260px;padding:5px 10px;display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:0 8px;border-radius:18px;border:1px solid #c59a4f;background:linear-gradient(#251c13f5,#16120df5);box-shadow:inset 0 0 0 1px #68512e,0 3px 10px #120b0866}
.game-shell.stall-shell .special-controls .control-status,.game-shell.stall-shell .controller-ready .control-status{grid-column:1;grid-row:1;display:flex;height:44px;gap:6px}
.game-shell.stall-shell .special-controls .control-status>progress{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.control-ring-icon{width:26px;height:23px;color:#df96d4;flex:none}
.game-shell.stall-shell .special-controls .control-counter strong{font-size:18px}.game-shell.stall-shell .special-controls .control-counter small{font-size:12px}
.game-shell.stall-shell .special-controls .control-counter img{width:22px;height:28px}
.game-shell.stall-shell .special-controls .power-controls,.game-shell.stall-shell .controller-ready .power-controls{grid-column:1/-1;grid-row:2;display:grid;position:static;height:auto;padding:0;border:0;opacity:1}
.game-shell.stall-shell .special-controls .power-controls>label{position:static;font-size:12px;line-height:16px;display:flex;justify-content:space-between;pointer-events:auto}
.game-shell.stall-shell .special-controls .power-controls>#throw-power{position:static;width:100%;height:24px;min-height:24px;margin:0;accent-color:#e4ad46}
.game-shell.stall-shell .special-controls .control-pause{grid-column:2;grid-row:1;width:44px;height:44px;min-height:44px;padding:0;border:0;background:none;box-shadow:none}
.game-shell.stall-shell .special-controls.controller-magic{width:260px;grid-template-columns:minmax(0,1fr) 44px}
.game-shell.stall-shell .controller-magic .control-pause{grid-column:2}
.game-shell.stall-shell .special-controls .size-controls{grid-column:1/-1;grid-row:3;gap:3px;border:0}
.game-shell.stall-shell .special-controls .size-controls .control-key{flex-basis:32px;width:32px;background:none;border:0;box-shadow:none}
.game-shell.stall-shell .special-controls .size-track{display:flex;align-items:center;gap:5px;min-width:0}
.game-shell.stall-shell .special-controls .size-track input{width:100%;min-width:0;min-height:32px}
html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .task-dock{width:260px;max-width:calc(100vw - 24px)}
html[data-game-layout="mobile-landscape"] .task-panel .task-claim.button{min-height:44px}
html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .special-controls,html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .special-controls.controller-ready{left:auto;right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));transform:none;width:210px;grid-template-columns:minmax(0,1fr) 44px;gap:0 6px;padding:4px 8px;border-radius:18px}
html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .special-controls .control-pause{grid-column:2;grid-row:1}
html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .special-controls .power-controls{grid-column:1/-1;grid-row:2;display:grid}
html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .special-controls .power-controls>#throw-power{height:28px;min-height:28px}
html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .special-controls .size-controls{grid-column:1/-1;grid-row:3}
html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .special-controls .size-track{flex:1}
html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .special-controls .size-track input{width:100%;min-height:40px}

/* Entry requirements belong to the fixed actions, outside the scrollable illustrations/rules. */
.live-dialog .panel-actions:has(.game-entry-actions){display:block}
.game-entry-actions{width:100%;min-width:0}
.game-entry-actions .game-age-check{display:flex;align-items:center;gap:10px;min-height:44px;margin:0 0 8px;padding:4px 8px;border:1px solid #c8a45d70;border-radius:8px;background:#f4cf7812;font-size:14px;line-height:1.35;cursor:pointer}
.game-entry-actions .game-age-check input{flex:none;width:22px;height:22px;margin:0}
.game-entry-actions .game-inline-note{margin:0 0 8px}
.game-entry-buttons{display:flex;gap:12px;width:100%}
.game-entry-buttons>.button{flex:1;min-width:0;min-height:44px}
@media(max-height:600px) and (orientation:landscape){
 .game-entry-actions .game-age-check{margin-bottom:6px;min-height:44px}
 .game-entry-buttons{gap:10px}
 .live-dialog[data-modal="classic-intro"] .classic-completion-note{grid-column:1/-1}
}

.account-identity{font-size:22px!important;font-weight:700;color:#ffe0a0;overflow-wrap:anywhere}
.live-dialog[data-modal="account"] .panel-body>p{overflow-wrap:anywhere}
.live-dialog[data-modal="account"] .google-login{background:#fff;color:#302a24;border:1px solid #d4d0c8;min-height:48px}

/* Points and next action stay together across account and ranking pages. */
.score-overview{margin:18px 0;padding:18px;border:1px solid #dec298;border-radius:14px;background:#fff8e9;color:#492b1b}
.score-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.score-totals>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.score-totals>div+div{border-left:1px solid #dec298;padding-left:18px}
.score-totals span{font-size:14px;font-weight:700}.score-totals strong{font-size:30px;line-height:1.2;color:#9e2c21}.score-totals small{font-size:12px;color:#77583d}
.score-next{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px;padding-top:14px;border-top:1px solid #e4cfac}
.score-next strong{font-size:15px}.score-next p{margin:5px 0 0;font-size:14px;line-height:1.5}.score-next .button{flex-shrink:0;min-height:44px;text-align:center}
.score-overview details{margin-top:14px;font-size:13px;line-height:1.55}.score-overview summary{cursor:pointer;padding:6px 0;min-height:32px}.score-overview details p{max-width:70ch;margin:8px 0 0}
.ac-rankings .score-next{align-items:stretch;flex-direction:column;gap:10px}.ac-rankings .score-next .button{align-self:flex-start}.ac-rankings .score-overview{padding:14px}
.collection-series{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}
.collection-series button{display:flex;flex-direction:column;align-items:stretch;gap:9px;padding:16px;text-align:left;min-width:0;color:#492b1b;background:#fff8e9;border:1px solid #dec298;border-radius:12px}
.collection-series button[aria-pressed="true"]{outline:2px solid #a42a20;outline-offset:2px}.collection-series span{font-size:13px}.collection-series progress{width:100%;height:7px;accent-color:#a42a20}
.collection-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:14px;margin:18px 0}.collection-toolbar .filter-bar{margin:0 auto 0 0;flex-wrap:wrap}.collection-toolbar label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:700}.collection-toolbar select{min-height:44px;max-width:100%;padding:8px 28px 8px 10px;background:#fffaf0;color:#492b1b;border:1px solid #cda76c;border-radius:8px}.collection-toolbar button{min-height:44px}
[data-save-label][data-save-state="pending"]{color:#986014}[data-save-label][data-save-state="error"]{color:#a5281b;font-weight:700}.disclosures [data-save-label][data-save-state="pending"]{color:#ffe1a0}.disclosures [data-save-label][data-save-state="error"]{color:#ffd1b3}
.save-check{margin-left:10px;min-height:44px;padding:6px 12px}
.catch-feedback{position:absolute;z-index:3;pointer-events:none;left:clamp(84px,var(--catch-x,50%),calc(100% - 84px));top:clamp(48px,var(--catch-y,22%),calc(100% - 94px));transform:translate(-50%,-55%);display:grid;justify-items:center;width:max-content;max-width:164px;text-align:center}
.catch-feedback[hidden],.catch-feedback [hidden]{display:none}
.catch-points{position:relative;isolation:isolate}
.catch-points strong{position:relative;display:block;font:900 clamp(32px,4.5vw,57px)/1 var(--font-ui);color:#fff3ad;text-shadow:0 1px 0 #9d360d,0 3px 0 #74240f,0 0 12px #ffb638,0 4px 13px #491404;animation:catch-score-rise 1.35s ease-out both}
.catch-bonus{color:#fff0be;font:800 11px/1.25 var(--font-ui);text-shadow:0 1px 4px #250e09}
.catch-feedback a{pointer-events:auto;min-height:44px;display:grid;place-items:center;padding:3px;text-decoration:none;color:#fff3c8;font:700 12px/1.2 var(--font-ui)}
.catch-feedback a span{background:#3b1b10ee;border:1px solid #dd9a4a;border-radius:999px;padding:5px 9px;overflow-wrap:anywhere}
.catch-feedback a:hover span,.catch-feedback a:focus-visible span{background:#6b2b13}
.catch-sparks{position:absolute;z-index:-1;inset:0;pointer-events:none}
.catch-sparks i{--spark-color:#ffce59;--spark-travel:49px;position:absolute;left:calc(50% - 1px);top:calc(50% - 4px);width:3px;height:9px;border-radius:100%;background:var(--spark-color);box-shadow:0 0 5px var(--spark-color);opacity:0;animation:catch-spark .73s cubic-bezier(.12,.58,.46,1) both}
.catch-sparks i:nth-child(3n){--spark-color:#fff1a1;--spark-travel:42px}.catch-sparks i:nth-child(3n+2){--spark-color:#ff9064;--spark-travel:56px}
.catch-sparks i:nth-child(1){--spark-angle:0deg}.catch-sparks i:nth-child(2){--spark-angle:30deg}.catch-sparks i:nth-child(3){--spark-angle:60deg}.catch-sparks i:nth-child(4){--spark-angle:90deg}.catch-sparks i:nth-child(5){--spark-angle:120deg}.catch-sparks i:nth-child(6){--spark-angle:150deg}.catch-sparks i:nth-child(7){--spark-angle:180deg}.catch-sparks i:nth-child(8){--spark-angle:210deg}.catch-sparks i:nth-child(9){--spark-angle:240deg}.catch-sparks i:nth-child(10){--spark-angle:270deg}.catch-sparks i:nth-child(11){--spark-angle:300deg}.catch-sparks i:nth-child(12){--spark-angle:330deg}
@keyframes catch-score-rise{0%{opacity:0;transform:translateY(7px) scale(.72)}17%{opacity:1;transform:translateY(-5px) scale(1.08)}64%{opacity:1;transform:translateY(-11px) scale(1)}100%{opacity:0;transform:translateY(-19px) scale(.97)}}
@keyframes catch-spark{0%{opacity:0;transform:rotate(var(--spark-angle)) translateY(-8px) scale(.35)}18%{opacity:1}100%{opacity:0;transform:rotate(var(--spark-angle)) translateY(calc(-1 * var(--spark-travel))) scale(.4)}}
html[data-reduce-motion=true] .catch-sparks{display:none}
html[data-reduce-motion=true] .catch-points strong{animation:none}
@media(prefers-reduced-motion:reduce){.catch-sparks{display:none}.catch-points strong{animation:none}}
.live-dialog .panel-actions>.button,.live-dialog .close{min-height:44px}
html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .special-controls .power-controls>#throw-power{height:44px;min-height:44px}
html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .special-controls .size-track input,html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .special-controls .size-controls .control-key{min-height:44px}
html[data-game-layout="mobile-landscape"] .game-shell.stall-shell .special-controls .size-controls .control-key{width:44px;flex-basis:44px}
html[data-game-layout="mobile-landscape"] .live-dialog .panel{max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
@media(max-width:700px){.score-overview{padding:14px}.score-totals{gap:12px}.score-totals>div+div{padding-left:12px}.score-totals span{font-size:13px}.score-totals strong{font-size:26px}.score-next{align-items:stretch;flex-direction:column;gap:12px}.score-next .button{align-self:flex-start}.collection-series{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.collection-series button{padding:12px}.collection-toolbar{align-items:stretch;gap:10px}.collection-toolbar .filter-bar{width:100%;margin:0}.collection-toolbar label{flex:1;min-width:120px}}

.nav-account .ac-nav-avatar{width:29px;height:29px;object-fit:contain;border-radius:50%;background:#ffefd7}.nav-account:has(.ac-nav-avatar){display:inline-flex;gap:7px;align-items:center;padding:5px 11px}

/* Shared avatar decoration: transparent vectors stay sharp in small ranking rows. */
.framed-avatar{--avatar-size:48px;position:relative;display:inline-grid;place-items:center;width:var(--avatar-size);height:var(--avatar-size);flex:0 0 var(--avatar-size);isolation:isolate;vertical-align:middle}.framed-avatar>img{width:82%!important;height:82%!important;border:0!important;border-radius:50%;object-fit:contain;background:#f9edcf;box-shadow:none!important;margin:0!important}.framed-avatar.frame-none>img{width:94%!important;height:94%!important}.avatar-ornament{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;filter:drop-shadow(0 1px 1px #28190c40)}.avatar-frame-gallery{margin-top:24px;padding-top:20px;border-top:1px solid #d5b77f}.avatar-frame-gallery>p{margin:8px 0 18px;color:#70553b}.avatar-frame-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.avatar-frame-options>button{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;padding:13px 8px;border:1px solid #d8c7a5;border-radius:12px;background:#fffaf0;color:#3d291c;font:inherit;cursor:pointer;min-height:122px}.avatar-frame-options>button>span:last-of-type{font-size:13px;font-weight:600}.avatar-frame-options>button[aria-pressed=true]{border:2px solid #a52a21;background:#fff0cf;box-shadow:0 0 0 2px #a52a2115}.avatar-frame-options>button[aria-pressed=true]:after{content:'✓';position:absolute;top:5px;right:8px;color:#8e221b;font-weight:bold}.avatar-frame-options>button:disabled{cursor:default;opacity:.7}.avatar-frame-options small{position:absolute;top:4px;right:5px;color:#89530f;font-size:10px}.rank-player>.framed-avatar{margin-right:0}.podium-card>.framed-avatar{margin:14px auto 8px}.ac-profile>.framed-avatar{--avatar-size:124px!important}.booth-refresh{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px 12px;margin-top:8px;background:#39291c;color:#ffdfa0;border:1px solid #bb9149;border-radius:9px;font:inherit;cursor:pointer}.booth-refresh small{font-size:11px}.booth-refresh:disabled{opacity:.5;cursor:default}.loyalty-status{display:flex;align-items:center;gap:12px;padding:10px 12px;border-top:1px solid #d7b578;color:#765022;font-size:12px}.loyalty-status strong{font-size:14px;color:#8c241e}.ac-loyalty{padding:12px;border:1px solid #e3c68d;border-radius:10px;background:#fff4da;margin:12px 0}.ac-loyalty progress{width:100%;height:6px;accent-color:#a62c23}.ac-loyalty p{margin:6px 0;color:#725236;font-size:13px}@media(max-width:600px){.avatar-frame-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.avatar-frame-options>button{min-height:117px;padding:10px 3px}.avatar-frame-options>button>span:last-of-type{font-size:11px}.ac-profile>.framed-avatar{--avatar-size:90px!important}}

.avatar-size-46{--avatar-size:46px}.avatar-size-48{--avatar-size:48px}.avatar-size-54{--avatar-size:54px}.avatar-size-72{--avatar-size:72px}.avatar-size-78{--avatar-size:78px}.avatar-size-124{--avatar-size:124px}.booth-refresh{font-size:12px;padding:8px 10px;min-height:36px}.booth-refresh>span:nth-child(2){white-space:nowrap}@media(min-width:601px) and (max-width:1000px){.avatar-frame-options{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:600px){.avatar-frame-options{grid-template-columns:repeat(3,minmax(0,1fr))}.avatar-frame-options .framed-avatar{--avatar-size:68px}}

.checkin-calendar{color:#633c21;margin:12px 0}.checkin-calendar-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px}.checkin-calendar-head span{font-size:12px}.checkin-calendar ol{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;list-style:none;padding:0;margin:12px 0}.checkin-calendar li{display:flex;position:relative;flex-direction:column;align-items:center;gap:7px;padding:10px 2px;background:#fff7e8;border:1px solid #ddc39a;border-radius:7px;min-width:0}.checkin-calendar li span{font:12px/1.3 var(--font-ui)}.checkin-calendar li strong{font:700 16px/1.3 var(--font-ui)}.checkin-calendar li.is-current{border:2px solid #a72b20;background:#ffedc7;padding:9px 1px}.checkin-calendar li small{position:absolute;right:2px;top:0;color:#30724b}.checkin-calendar p{font:12px/1.6 var(--font-ui);margin:6px 0}.checkin-calendar .ac-reward-row{margin:0}.modal .checkin-calendar{padding:12px;border-radius:10px;background:#fff4dc}.ac-loyalty .ac-reward-row{padding-bottom:0}

.analytics-notice{position:fixed;z-index:150;left:max(16px,env(safe-area-inset-left));bottom:max(16px,env(safe-area-inset-bottom));width:min(380px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:19px;border:1px solid #c49a58;border-top:3px solid #a12d22;border-radius:17px;background:linear-gradient(145deg,#fffaf0,#f8edd8);color:#4a2c1b;box-shadow:0 12px 36px #1c100b38,inset 0 0 0 3px #fff8ec;font:14px/1.5 var(--font-ui)}
.analytics-notice,.analytics-notice *{box-sizing:border-box}
.analytics-heading{display:flex;align-items:center;gap:12px}.analytics-emblem{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;border:1px solid #cfb075;background:linear-gradient(#f5e6bd,#ead29b);color:#8c3225;box-shadow:inset 0 1px #fff5d7}.analytics-emblem svg{width:25px;height:25px}.analytics-eyebrow{display:block;margin-bottom:3px;color:#86613b;font-size:10px;font-weight:700;letter-spacing:.14em}.analytics-notice h2{margin:0;font:700 20px/1.2 var(--font-display,Georgia,serif);color:#49291b;letter-spacing:-.02em}
.analytics-notice p{font-size:14px;line-height:1.5;margin:13px 0 15px;color:#6a4a32}.analytics-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.analytics-actions button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 8px;border:1px solid #b9955c;border-radius:10px;background:linear-gradient(#fffaf0,#f1e1c1);color:#653d25;box-shadow:inset 0 1px #fff,0 2px 3px #4d2c1210;font:700 14px/1.2 var(--font-ui);cursor:pointer;transition:background .15s,color .15s,border-color .15s}.analytics-actions svg{width:19px;height:19px;flex:none}.analytics-actions button:hover{border-color:#873629;background:#873629;color:#fff6e5;box-shadow:0 2px 6px #4d2c1226}.analytics-actions button:active{box-shadow:inset 0 2px 4px #3b190f30}
.analytics-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding-top:11px;border-top:1px solid #dcc6a0;font-size:12px;line-height:1.4;color:#78583e}.analytics-footer a{flex:none;display:inline-flex;align-items:center;gap:4px;min-height:28px;color:#783222;font-weight:700;text-decoration:underline;text-underline-offset:3px}.analytics-notice :focus-visible{outline:3px solid #237285;outline-offset:3px}
@media(max-width:480px){.analytics-notice{left:max(12px,env(safe-area-inset-left));bottom:max(12px,env(safe-area-inset-bottom));width:calc(100vw - 24px);padding:16px}.analytics-notice h2{font-size:19px}.analytics-footer{flex-wrap:wrap;gap:5px 12px}.analytics-actions button{min-height:46px}}

/* Preferences reuse the saved choice; the first-visit prompt is not repeated. */
.live-dialog[data-modal="privacy-choices"]{inset:0;margin:auto;padding:0;width:fit-content;min-width:0;height:fit-content;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
.live-dialog[data-modal="privacy-choices"] .panel{width:min(530px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:24px;border:1px solid #c49a58;border-top:3px solid #a12d22;border-radius:18px;background:linear-gradient(145deg,#fffaf0,#f8edd8);color:#4a2c1b;box-shadow:0 12px 36px #1c100b38}
.live-dialog[data-modal="privacy-choices"] .panel-head{align-items:flex-start;gap:16px}.live-dialog[data-modal="privacy-choices"] .panel-head h2{font-size:27px;line-height:1.15;color:#49291b}.live-dialog[data-modal="privacy-choices"] .close{flex:none;min-height:44px;color:#783222}
.live-dialog[data-modal="privacy-choices"] .panel-body{color:#62442e}.live-dialog[data-modal="privacy-choices"] p{font-size:14px;line-height:1.5;color:#62442e}.cookie-intro{margin:0 0 18px}.cookie-category{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 0;border-top:1px solid #dcc6a0}.cookie-category strong{font-size:15px;color:#49291b}.cookie-category p{margin:4px 0 0}.cookie-state{flex:none;padding:5px 10px;border-radius:20px;background:#eee1c9;color:#705232;font-size:12px;font-weight:700}.cookie-state.is-on{background:#e0eadb;color:#2c613c}.cookie-explanation{margin:4px 0 15px}.cookie-details{border-top:1px solid #dcc6a0;padding-top:12px}.cookie-details summary{cursor:pointer;min-height:32px;font-size:14px;font-weight:600;color:#783222}.cookie-details a{color:#783222;font-size:14px}
.live-dialog[data-modal="privacy-choices"] .panel-actions{gap:10px;padding-top:16px;margin-top:16px;border-top:1px solid #dcc6a0}.live-dialog[data-modal="privacy-choices"] .button{min-height:46px;border:1px solid #b9955c;border-radius:10px;background:linear-gradient(#fffaf0,#f1e1c1);color:#653d25;font-weight:700}.live-dialog[data-modal="privacy-choices"] .button:hover{background:#873629;color:#fff6e5}.live-dialog[data-modal="privacy-choices"] :focus-visible{outline:3px solid #237285;outline-offset:3px}
.pricing-purchase-policies{font-size:13px;line-height:1.7;margin-top:12px;color:#76502e}.pricing-purchase-policies a{color:#8b2b20;text-underline-offset:3px}.policy-section{scroll-margin-top:24px}
@media(max-width:480px){.live-dialog[data-modal="privacy-choices"] .panel{padding:19px}.live-dialog[data-modal="privacy-choices"] .panel-head h2{font-size:23px}.cookie-category{gap:10px}.cookie-state{max-width:110px;text-align:center}}

/* Vendor dialogue belongs to the speaker, independently of the 3D scene scale. */
#game-viewport .subtitle.vendor-subtitle{position:absolute;inset:0 auto auto 0;width:max-content;max-width:min(320px,calc(100% - 24px));min-width:0;padding:11px 15px;border:1px solid #b78942;border-radius:15px;background:#fff8e7;color:#472c1c;font:600 15px/1.45 var(--font-ui);text-align:center;overflow-wrap:break-word;box-shadow:0 5px 18px #24130938;z-index:4;pointer-events:none;opacity:1;transition:opacity .16s,display .16s allow-discrete}
#game-viewport.real-scene .vendor-subtitle[data-positioned="false"]{visibility:hidden}
#game-viewport .vendor-subtitle::after{content:'';position:absolute;width:12px;height:12px;border:solid #b78942;border-width:0 1px 1px 0;background:#fff8e7;transform:rotate(45deg);pointer-events:none}
#game-viewport .vendor-subtitle[data-tail="bottom"]::after{left:calc(var(--bubble-tail-x,50%) - 6px);bottom:-7px}
#game-viewport .vendor-subtitle[data-tail="top"]::after{left:calc(var(--bubble-tail-x,50%) - 6px);top:-7px;transform:rotate(225deg)}
#game-viewport .vendor-subtitle[data-tail="left"]::after{left:-7px;top:calc(var(--bubble-tail-y,50%) - 6px);transform:rotate(135deg)}
#game-viewport .vendor-subtitle[data-tail="right"]::after{right:-7px;top:calc(var(--bubble-tail-y,50%) - 6px);transform:rotate(-45deg)}
#game-viewport .vendor-subtitle[hidden]{opacity:0}
@starting-style{#game-viewport .vendor-subtitle{opacity:0}}
html[data-game-layout="mobile-landscape"] #game-viewport .vendor-subtitle{font-size:14px;max-width:min(270px,calc(100% - 24px));padding:8px 12px;border-radius:12px}
@media(max-width:480px){#game-viewport .subtitle.vendor-subtitle{font-size:14px;max-width:min(260px,calc(100% - 24px));padding:9px 12px}}
