body[data-active-game="stack"]{--cr-paper:#f0e5d2;--cr-ink:#46382c;--cr-muted:#7b705d;--cr-red:#875536;--cr-green:#4e644b;background:#e8ddc9;color:var(--cr-ink)}
body[data-active-game="stack"] #play-view{background:#e8ddc9;padding-bottom:32px;color:var(--cr-ink)}
body[data-active-game="stack"] #play-view .play-header{width:min(1200px,calc(100% - 36px));min-height:70px;padding-block:10px;border-color:#bcb399}
body[data-active-game="stack"] .play-heading h1{font-family:"Noto Serif TC","PMingLiU",serif;font-size:25px;color:#64452e}
body[data-active-game="stack"] .play-heading>span{font-size:13px;color:var(--cr-muted)}
body[data-active-game="stack"] #play-view .play-layout{display:block;width:min(1160px,calc(100% - 36px));max-width:none;margin:18px auto 0}
body[data-active-game="stack"] .game-aside,body[data-active-game="stack"] .game-hud,body[data-active-game="stack"] .hud-progress-track,body[data-active-game="stack"] .game-help{display:none!important}
body[data-active-game="stack"] #play-view .game-machine{display:grid;grid-template-columns:minmax(0,1fr) 338px;align-items:start;max-width:none;overflow:visible;background:var(--cr-paper);border:1px solid #beb49a;border-radius:4px;box-shadow:0 18px 52px #4b38211f}
body[data-active-game="stack"] #play-view .canvas-wrap{grid-column:1;grid-row:2;min-width:0;width:100%;aspect-ratio:10/9;position:relative;align-self:start;overflow:hidden;background:#866645;border-radius:0 0 0 4px}
body[data-active-game="stack"] #play-view .canvas-wrap>canvas{display:block;position:static;inset:auto;width:100%;height:auto;aspect-ratio:10/9;opacity:1;touch-action:none;pointer-events:auto;outline-offset:-4px}
body[data-active-game="stack"] #play-view .game-controls.chickenroll-controls{display:block;grid-column:2;grid-row:2;min-width:0;padding:22px 20px 18px;border:0;border-left:1px solid #c7bda5;background:var(--cr-paper);font-size:15px;line-height:1.6}
.chickenroll-order{grid-column:1/-1;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) 338px;gap:9px 20px;padding:16px 20px 12px;border-bottom:1px solid #c7bda5;background:#f6f0e1}
.chickenroll-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.chickenroll-eyebrow{font-family:"Noto Serif TC","PMingLiU",serif;letter-spacing:.13em;color:#855d39;font-size:16px;font-weight:700}
.chickenroll-book-button,.chickenroll-book-close,.chickenroll-link{border:1px solid #a5977b;background:#f3ead8;color:#5a4939;padding:8px 12px;min-height:44px;cursor:pointer;font:inherit;border-radius:3px}
.chickenroll-recipes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;grid-row:1;grid-column:2}.chickenroll-recipe{min-height:44px;border:1px solid #c3b596;background:#fbf6e9;padding:8px 5px;color:#6c5944;font:500 14px/1.3 system-ui;cursor:pointer;border-radius:3px}.chickenroll-recipe.is-selected{background:#875536;color:#fff5de;border-color:#875536}.chickenroll-recipe:disabled:not(.is-selected){opacity:.55;cursor:default}
.chickenroll-customer{grid-column:1/-1;font-size:14px;margin:0;color:#746449;line-height:1.5}.chickenroll-step-index{display:block;font-size:11px;letter-spacing:.17em;text-transform:uppercase;color:#93734c;margin-bottom:6px}.chickenroll-title{font:600 23px/1.45 "Noto Serif TC","PMingLiU",serif;color:#654932;margin:0 0 8px}.chickenroll-instruction{font-size:15px;line-height:1.75;margin:0 0 15px;color:#73644f}
.chickenroll-steps{list-style:none;padding:0;margin:0 0 18px;display:flex;justify-content:space-between;gap:3px;border-bottom:1px solid #c7bda5}.chickenroll-steps li{font-size:12px;color:#9b907a;padding:6px 1px 9px}.chickenroll-steps li.is-current{color:#875536;border-bottom:2px solid #875536}.chickenroll-steps li.is-done{color:#5e7350}
.chickenroll-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #cfc5ad;padding:11px 7px;gap:4px;background:#eae3d0}.chickenroll-stats>div{text-align:center;min-width:0}.chickenroll-stats span{display:block;font-size:11px;color:#887559;white-space:nowrap}.chickenroll-stats strong{display:block;font-size:17px;color:#4c4a35;font-weight:600;margin-top:3px;white-space:nowrap}
.chickenroll-pending{padding:11px;margin-top:12px;background:#e4e7cf;font-size:13px}.chickenroll-pending span{display:block}.chickenroll-pending button{font-size:13px;margin-top:6px;width:100%}
.chickenroll-dock{margin-top:17px}.chickenroll-tool-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.chickenroll-tool{min-height:46px;border:1px solid #b6a786;background:#f9f3e5;color:#69573f;padding:8px 5px;border-radius:3px;font:500 13px/1.3 system-ui;cursor:pointer}.chickenroll-tool.is-selected{background:#875536;color:#fff5d9;border-color:#875536}.chickenroll-dock-hint{font-size:13px;line-height:1.65;color:#817056;margin:11px 0 14px}.chickenroll-actions{display:grid;grid-template-columns:1fr 1.38fr;gap:8px}.chickenroll-secondary,.chickenroll-primary{min-height:48px;border-radius:3px;border:1px solid #aa9474;padding:10px 8px;font:600 14px/1.4 system-ui;cursor:pointer}.chickenroll-secondary{background:#f1e7d3;color:#6d543c}.chickenroll-primary{background:#74472e;color:#fff3d5;border-color:#74472e}.chickenroll-primary:hover{background:#64341f}.chickenroll-keyboard{border-top:1px solid #d1c6ae;margin-top:18px;padding-top:12px;color:#8a795e;font-size:12px}.chickenroll-keyboard summary{cursor:pointer;min-height:44px}.chickenroll-keyboard p{margin:6px 0;line-height:1.8}
.chickenroll-result-kicker{font-size:12px;color:#7e8058;letter-spacing:.08em;margin:0 0 8px}.chickenroll-result h2{font:600 28px/1.3 "Noto Serif TC","PMingLiU",serif;margin:0 0 16px;color:#64452e}.chickenroll-scores{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #c8b99e;border-bottom:1px solid #c8b99e;padding:12px 0}.chickenroll-scores>div{text-align:center}.chickenroll-scores>div+div{border-left:1px solid #c8b99e}.chickenroll-scores strong{display:block;font:500 40px/1.2 Georgia,serif;color:#875536}.chickenroll-scores span{font-size:12px;color:#7b6b50}.chickenroll-result blockquote{margin:15px 0;padding:11px 13px;border-left:2px solid #b78953;background:#eae3cf;font-size:14px;color:#6e573d;line-height:1.7}.chickenroll-result-summary{font-size:13px;line-height:1.7;color:#7b6a50}.chickenroll-score-row{margin-top:13px}.chickenroll-score-row>div{display:flex;justify-content:space-between;font-size:13px;color:#66543c}.chickenroll-score-row p{font-size:12px;margin:4px 0;color:#8b785e;line-height:1.6}.chickenroll-meter{display:block;height:4px;background:#d8ccb2;margin-top:6px;overflow:hidden}.chickenroll-meter>i{display:block;height:100%;background:#8f7150}.chickenroll-collected{font-size:12px;color:#6e7951;line-height:1.6;margin-top:17px}
.chickenroll-book{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:calc(100dvh - 30px);overflow:auto;border:1px solid #b5a482;border-radius:5px;background:#f3ecdb;padding:24px;color:#5b4630}.chickenroll-book::backdrop{background:#251d18aa;backdrop-filter:blur(4px)}.chickenroll-book-head{display:flex;align-items:center;justify-content:space-between;gap:14px;position:sticky;top:-24px;background:#f3ecdb;padding:8px 0 12px;z-index:2;border-bottom:1px solid #c6b798}.chickenroll-book-head h2{font:600 28px "Noto Serif TC","PMingLiU",serif;margin:0}.chickenroll-book-intro{font-size:14px;line-height:1.7;color:#857056}.chickenroll-book-counts{font-size:14px;color:#7d4935;padding:10px 0;border-bottom:1px solid #c6b798}.chickenroll-book h3{font-size:18px;line-height:1.6}.chickenroll-achievements{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.chickenroll-achievement{background:#e9e1cc;border:1px solid #d2c3a4;padding:11px;position:relative}.chickenroll-achievement strong{font-size:13px;display:block;padding-right:45px}.chickenroll-achievement>span{position:absolute;right:10px;top:11px;font-size:12px;color:#8c7150}.chickenroll-achievement p{font-size:12px;line-height:1.6;color:#917b5d;margin:8px 0 0}.chickenroll-achievement.is-earned{border-color:#798254;background:#e0e4ca}.chickenroll-recent{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.chickenroll-receipt{background:#fff6e4;border:1px solid #cfbc96}.chickenroll-receipt canvas{display:block;width:100%;height:auto}.chickenroll-receipt>div{padding:11px}.chickenroll-receipt strong{display:block;font-size:16px;color:#714531}.chickenroll-receipt span{display:block;font-size:12px;line-height:1.6;color:#8d7657;margin-top:5px}.chickenroll-preview-missing{aspect-ratio:4/3;display:grid;place-items:center;background:#e2d8bc;color:#8a7655;font-size:13px}.chickenroll-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.chickenroll-book-card{padding:14px;background:#fff6e4;border:1px solid #c8b38c}.chickenroll-book-card.is-locked{background:#e8e1cd;border-color:#d4c7aa}.chickenroll-card-status{font-size:11px;letter-spacing:.13em;color:#8b8064}.chickenroll-book-card h3{margin:8px 0;font:600 18px/1.5 "Noto Serif TC","PMingLiU",serif}.chickenroll-book-card p{font-size:13px;color:#846e51;line-height:1.7}.chickenroll-book-card small{font-size:11px;color:#a18b69}.chickenroll-controls [hidden],.chickenroll-order [hidden],.chickenroll-book [hidden],.chickenroll-dock [hidden]{display:none!important}
@media(max-width:820px){body[data-active-game="stack"] #play-view .play-layout{width:min(680px,calc(100% - 24px));margin-top:8px}body[data-active-game="stack"] #play-view .game-machine{grid-template-columns:minmax(0,1fr)}.chickenroll-order{grid-template-columns:1fr;gap:7px;padding:11px 14px}.chickenroll-recipes{grid-column:1;grid-row:2}.chickenroll-customer{font-size:12px;grid-row:3}.chickenroll-eyebrow{font-size:14px}body[data-active-game="stack"] #play-view .canvas-wrap{grid-column:1;grid-row:2}body[data-active-game="stack"] #play-view .game-controls.chickenroll-controls{grid-column:1;grid-row:3;border-left:0;border-top:1px solid #c7bda5;padding:17px 17px 18px}.chickenroll-title{font-size:23px}.chickenroll-instruction{font-size:15px;margin-bottom:10px}.chickenroll-stats{padding:9px}.chickenroll-steps{margin-bottom:12px}.chickenroll-keyboard{margin-bottom:0}.chickenroll-dock{margin-top:13px}.chickenroll-book-grid,.chickenroll-achievements{grid-template-columns:repeat(2,minmax(0,1fr))}.chickenroll-recent{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){body[data-active-game="stack"] #play-view{padding-bottom:calc(135px + env(safe-area-inset-bottom))}body[data-active-game="stack"] #play-view .play-header{width:calc(100% - 20px);min-height:57px;padding-block:5px;gap:7px;grid-template-columns:52px minmax(0,1fr) 82px}body[data-active-game="stack"] .play-heading h1{font-size:19px}body[data-active-game="stack"] .play-heading>span{display:none}body[data-active-game="stack"] #play-view .play-layout{width:100%;margin:0}body[data-active-game="stack"] #play-view .game-machine{border:0;border-radius:0;box-shadow:none}.chickenroll-order{padding:8px 12px;gap:4px}.chickenroll-book-button{padding:5px 10px;font-size:12px;min-height:44px}.chickenroll-recipe{font-size:13px;min-height:44px;padding:7px 5px}.chickenroll-customer{font-size:11px;margin:4px 0}.chickenroll-eyebrow{font-size:13px;letter-spacing:.08em}body[data-active-game="stack"] #play-view .game-controls.chickenroll-controls{padding:14px 14px 16px}.chickenroll-work-top{margin-bottom:7px}.chickenroll-title{font-size:20px;margin-bottom:6px}.chickenroll-step-index{font-size:10px;margin-bottom:4px}.chickenroll-instruction{font-size:14px;line-height:1.65}.chickenroll-steps{margin-bottom:10px}.chickenroll-steps li{font-size:11px;padding-bottom:6px}.chickenroll-stats{padding:8px 5px}.chickenroll-stats span{font-size:11px}.chickenroll-stats strong{font-size:16px}.chickenroll-dock{position:fixed;bottom:0;left:0;right:0;z-index:25;margin:0;padding:9px 12px calc(10px + env(safe-area-inset-bottom));background:#f0e5d2f7;border-top:1px solid #b5a07b;box-shadow:0 -6px 20px #46311820;backdrop-filter:blur(10px)}.chickenroll-tool-row{gap:6px;margin-bottom:7px}.chickenroll-tool{min-height:44px;font-size:13px;padding:8px 4px}.chickenroll-dock-hint{display:none}.chickenroll-actions{gap:7px}.chickenroll-primary,.chickenroll-secondary{min-height:46px;font-size:13px;padding:8px 6px}.chickenroll-keyboard{margin-top:12px}.chickenroll-book{padding:16px 12px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.chickenroll-book-head{top:-16px}.chickenroll-book-head h2{font-size:23px}.chickenroll-book-intro{font-size:13px}.chickenroll-book-counts{font-size:12px}.chickenroll-book-grid{grid-template-columns:1fr 1fr;gap:7px}.chickenroll-book-card{padding:10px}.chickenroll-book-card h3{font-size:16px}.chickenroll-book-card p{font-size:12px}.chickenroll-achievements{grid-template-columns:1fr}.chickenroll-recent{gap:8px}.chickenroll-receipt>div{padding:8px}.chickenroll-receipt strong{font-size:14px}.chickenroll-receipt span{font-size:10px}.chickenroll-result h2{font-size:27px}.chickenroll-scores strong{font-size:37px}}
@media(prefers-reduced-motion:reduce){.chickenroll-book,.chickenroll-tool,.chickenroll-recipe{scroll-behavior:auto;transition:none}}

.chickenroll-additions{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:7px}.chickenroll-culture{font-size:12px;line-height:1.7;color:#82775e;margin:12px 0 0}.chickenroll-stats strong{font-size:16px}.chickenroll-tool{font-size:14px}.chickenroll-steps li{font-size:13px}
@media(max-width:480px){.chickenroll-order{padding:4px 12px;gap:3px}.chickenroll-customer{display:none}.chickenroll-dock{padding-top:7px}.chickenroll-dock-hint{display:block;font-size:12px;line-height:1.4;margin:0 0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chickenroll-additions{margin-top:0}.chickenroll-tool{font-size:14px}.chickenroll-culture{font-size:12px}.chickenroll-controls[data-phase=arrange] .chickenroll-dock-hint{display:none}body[data-active-game=stack] #play-view .play-header{min-height:54px}.chickenroll-eyebrow{font-size:12px}.chickenroll-book-button{font-size:14px}.chickenroll-recipe{font-size:14px}.chickenroll-keyboard summary{min-height:44px}}

/* Compact counters retain the whole canvas and put live measurements first. */
@media (max-width:759px) and (max-height:740px) {
 body[data-active-game="stack"] #play-view .play-header{min-height:54px;padding-block:5px}
 body[data-active-game="stack"] #play-view .play-layout{width:100%;margin:0}
 body[data-active-game="stack"] #play-view .game-machine{border:0;border-radius:0}
 body[data-active-game="stack"] .chickenroll-order{padding:4px 12px;gap:2px;grid-template-columns:1fr}
 body[data-active-game="stack"] .chickenroll-heading{min-height:44px}
 body[data-active-game="stack"] .chickenroll-customer{display:none}
 body[data-active-game="stack"] .chickenroll-recipes{grid-row:2;grid-column:1;gap:5px}
 body[data-active-game="stack"] .chickenroll-recipe,body[data-active-game="stack"] .chickenroll-book-button{min-height:44px;padding-block:5px}
 body[data-active-game="stack"] #play-view .canvas-wrap{width:min(100%,max(180px,calc((100dvh - 332px - env(safe-area-inset-bottom)) * 1.111111)));height:auto;min-height:0;max-height:none;aspect-ratio:10 / 9;margin-inline:auto;justify-self:center;display:block}
 body[data-active-game="stack"] #play-view .canvas-wrap>canvas{display:block;width:100%;max-width:none;height:auto;aspect-ratio:10 / 9;object-fit:fill}
 body[data-active-game="stack"] #play-view .game-controls.chickenroll-controls{display:flex;flex-direction:column;min-width:0;padding:6px 12px 18px;gap:0}
 body[data-active-game="stack"] .chickenroll-stats:not([hidden]){display:grid;order:0;grid-template-columns:repeat(3,minmax(0,1fr));min-height:48px;padding:5px 4px;margin:0;flex:none}
 body[data-active-game="stack"] .chickenroll-stats span{font-size:11px;line-height:1.3}
 body[data-active-game="stack"] .chickenroll-stats strong{font-size:16px;line-height:1.35;margin-top:2px}
 body[data-active-game="stack"] .chickenroll-work-top:not([hidden]){display:block;order:2;margin:9px 0 0}
 body[data-active-game="stack"] .chickenroll-step-index,body[data-active-game="stack"] .chickenroll-title,body[data-active-game="stack"] .chickenroll-steps{display:none}
 body[data-active-game="stack"] .chickenroll-instruction{font-size:14px;line-height:1.55;margin:0}
 body[data-active-game="stack"] .chickenroll-pending{order:1;margin-top:9px}
 body[data-active-game="stack"] .chickenroll-result{order:0}
 body[data-active-game="stack"] .chickenroll-keyboard:not([hidden]){display:block;order:3;margin-top:9px;padding-top:5px}
 body[data-active-game="stack"] .chickenroll-keyboard summary{min-height:44px;display:flex;align-items:center}
 body[data-active-game="stack"] .chickenroll-dock{padding:6px 12px calc(8px + env(safe-area-inset-bottom));margin:0}
 body[data-active-game="stack"] .chickenroll-dock-hint{display:none}
 body[data-active-game="stack"] .chickenroll-tool-row{margin-bottom:6px}
 body[data-active-game="stack"] .chickenroll-tool{min-height:44px}
 body[data-active-game="stack"] .chickenroll-primary,body[data-active-game="stack"] .chickenroll-secondary{min-height:46px}
}
@media (max-width:480px) {
 body[data-active-game="stack"] .chickenroll-recent{grid-template-columns:minmax(0,1fr)}
}

@media (max-width:759px) and (max-height:740px) {
 body[data-active-game="stack"] .chickenroll-dock{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
 body[data-active-game="stack"] .chickenroll-dock .chickenroll-tool-row{display:contents}
 body[data-active-game="stack"] .chickenroll-dock .chickenroll-tool{min-width:0;min-height:44px;padding:5px 2px;font-size:13px;line-height:1.3;white-space:normal}
 body[data-active-game="stack"] .chickenroll-dock .chickenroll-actions{grid-column:1/-1}
 body[data-active-game="stack"] .chickenroll-controls[data-phase="cook"] .chickenroll-dock{grid-template-columns:repeat(3,minmax(0,1fr))}
 body[data-active-game="stack"] .chickenroll-culture{order:4}
}

.chickenroll-steps{gap:6px}.chickenroll-steps li{font-size:12px}.chickenroll-title{color:#485e46}.chickenroll-primary{background:#875536;border-color:#875536}.chickenroll-recipe.is-selected{background:#875536;border-color:#875536}.chickenroll-recent{grid-template-columns:repeat(3,minmax(0,1fr))}.chickenroll-culture{font-size:12px;line-height:1.7;color:#88735b;margin:12px 0 0}
@media(max-width:480px){.chickenroll-recent{grid-template-columns:minmax(0,1fr)}.chickenroll-tool,.chickenroll-primary,.chickenroll-secondary{font-size:14px}.chickenroll-stats strong{font-size:15px}}
@media(max-width:759px) and (max-height:740px){body[data-active-game="stack"] .chickenroll-dock{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-active-game="stack"] .chickenroll-dock .chickenroll-tool{font-size:14px}body[data-active-game="stack"] #play-view .canvas-wrap{width:min(100%,max(180px,calc((100dvh - 301px - env(safe-area-inset-bottom)) * 1.111111)))}body[data-active-game="stack"] .chickenroll-culture{order:4}}
@media(max-width:480px){body[data-active-game="stack"] #play-view .game-controls.chickenroll-controls{display:flex;flex-direction:column}.chickenroll-controls .chickenroll-stats{order:0}.chickenroll-controls .chickenroll-pending{order:1}.chickenroll-controls .chickenroll-work-top{order:2;margin-top:12px}.chickenroll-controls .chickenroll-steps{order:3}.chickenroll-controls .chickenroll-keyboard{order:4}.chickenroll-controls .chickenroll-culture{order:5}.chickenroll-controls .chickenroll-result{order:0}}

/* Rice grains and amber syrup sit against a quieter green work counter. */
body[data-active-game="stack"]{font-size:16px;--cr-paper:#eee7d7;--cr-ink:#394d40;--cr-muted:#6d7564;background:#e5e2d3}
body[data-active-game="stack"] #play-view .game-controls.chickenroll-controls{font-size:16px;line-height:1.65}
.chickenroll-instruction,.chickenroll-customer,.chickenroll-result-summary,.chickenroll-result blockquote,.chickenroll-keyboard,.chickenroll-book-intro,.chickenroll-book-card p,.chickenroll-score-row p,.chickenroll-achievement p{font-size:16px;line-height:1.65}
.chickenroll-culture,.chickenroll-steps li,.chickenroll-step-index,.chickenroll-stats span,.chickenroll-dock-hint,.chickenroll-result-kicker,.chickenroll-collected,.chickenroll-book-counts,.chickenroll-receipt span,.chickenroll-card-status,.chickenroll-book-card small,.chickenroll-achievement strong,.chickenroll-achievement>span,.chickenroll-scores span,.chickenroll-score-row>div,.chickenroll-pending{font-size:14px}
.chickenroll-tool,.chickenroll-recipe,.chickenroll-primary,.chickenroll-secondary,.chickenroll-book-button{font-size:14px;min-height:44px}
.chickenroll-tool-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.chickenroll-tool{padding:8px 3px;word-break:keep-all;line-height:1.35}.chickenroll-tool:disabled{opacity:.6;cursor:default}
.chickenroll-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.chickenroll-steps li{font-size:14px;text-align:center;line-height:1.5;word-break:keep-all}
.chickenroll-order{background:#f3f0e4}.chickenroll-title,.chickenroll-result h2,.chickenroll-book-head h2{color:#435b44}.chickenroll-recipe.is-selected,.chickenroll-primary,.chickenroll-tool.is-selected{background:#52664e;border-color:#52664e}.chickenroll-primary:hover{background:#3e503c}
.chickenroll-stats{background:#e0e3d2}.chickenroll-stats span{color:#69735b}.chickenroll-stats strong{font-size:17px;color:#435440}.chickenroll-dock-hint{color:#6d765f}.chickenroll-receipt strong{color:#4a5d44}.chickenroll-culture{color:#747964}
.chickenroll-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chickenroll-achievements{grid-template-columns:repeat(2,minmax(0,1fr))}.chickenroll-achievement strong{padding-right:64px}.chickenroll-recent{grid-template-columns:repeat(3,minmax(0,1fr))}
.chickenroll-controls button:focus-visible,.chickenroll-order button:focus-visible,.chickenroll-book button:focus-visible{outline:3px solid #a78346;outline-offset:2px}
@media(max-width:820px){.chickenroll-customer{font-size:14px}.chickenroll-instruction{font-size:16px}.chickenroll-eyebrow{font-size:15px}.chickenroll-recent{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){
 body[data-active-game="stack"] #play-view{padding-bottom:calc(145px + env(safe-area-inset-bottom))}
 .chickenroll-order{padding:4px 12px;gap:2px}.chickenroll-heading{min-height:44px}.chickenroll-eyebrow{font-size:14px;letter-spacing:.06em}.chickenroll-customer{display:none}
 .chickenroll-book-button,.chickenroll-recipe{font-size:14px;min-height:44px}.chickenroll-dock{padding:7px 12px calc(9px + env(safe-area-inset-bottom));background:#eee7d7f7}.chickenroll-tool-row{gap:4px}.chickenroll-tool{font-size:14px;padding:6px 2px;min-height:44px}.chickenroll-primary,.chickenroll-secondary{font-size:14px;min-height:46px}.chickenroll-dock-hint{font-size:14px;line-height:1.4}.chickenroll-instruction{font-size:16px}.chickenroll-stats span{font-size:14px}.chickenroll-stats strong{font-size:16px}.chickenroll-culture,.chickenroll-receipt span,.chickenroll-collected{font-size:14px}
 .chickenroll-book-grid,.chickenroll-achievements,.chickenroll-recent{grid-template-columns:minmax(0,1fr)}.chickenroll-book-intro,.chickenroll-book-card p,.chickenroll-achievement p{font-size:16px}.chickenroll-book-counts,.chickenroll-card-status,.chickenroll-book-card small{font-size:14px}.chickenroll-book-card{padding:14px}.chickenroll-receipt strong{font-size:18px}.chickenroll-receipt>div{padding:12px}
}
@media(max-width:759px) and (max-height:740px){
 body[data-active-game="stack"] #play-view .canvas-wrap{width:min(100%,max(180px,calc((100dvh - 334px - env(safe-area-inset-bottom)) * 1.111111)));aspect-ratio:10/9}
 body[data-active-game="stack"] .chickenroll-dock{display:block;padding:6px 12px calc(8px + env(safe-area-inset-bottom))}
 body[data-active-game="stack"] .chickenroll-dock .chickenroll-tool-row{display:grid;gap:4px;margin-bottom:6px}
 body[data-active-game="stack"] .chickenroll-dock .chickenroll-tool{min-height:44px;font-size:14px;padding:5px 2px}
 body[data-active-game="stack"] .chickenroll-stats span{font-size:14px;line-height:1.3}
 body[data-active-game="stack"] .chickenroll-stats strong{font-size:16px;line-height:1.35}
 body[data-active-game="stack"] .chickenroll-instruction{font-size:16px;line-height:1.55}
}
