.shop{margin-top:18px}.worktop{padding-left:17%;padding-right:14%}
.inspector-warning{display:block;color:#c52222;font-weight:900;font-size:13px;background:#ffe4df;border:1px solid #efaaa0;border-radius:6px;padding:7px 9px;margin-bottom:6px}
.shop-toolbar{display:flex;justify-content:flex-end;padding:10px 16px;background:#343b47;border-bottom:1px solid #b8915d33}
.shop-toolbar .start-actions{gap:10px;flex-wrap:nowrap}
@media(max-width:600px){.shop-toolbar{padding:10px}.shop-toolbar .start-actions{width:100%}.shop-toolbar .primary{font-size:12px;padding:12px}.shop-toolbar .help-button{font-size:12px}}
.start-actions{display:flex;gap:10px;align-items:center;flex-shrink:0}.help-button{border:1px solid #ac8d64;border-radius:10px;background:#4e4032;color:#ffe2b4;padding:11px 15px;font-size:12px;white-space:nowrap}.help-button:disabled{opacity:.4;cursor:default}
#instructions-dialog{width:min(620px,calc(100% - 24px));max-height:88dvh;overflow:auto;border:2px solid #c69b66;border-radius:20px;background:#fff8e9;color:#523e2e;padding:25px;box-shadow:0 24px 70px #0008}
#instructions-dialog::backdrop{background:#101620bd;backdrop-filter:blur(4px)}#close-instructions{border:0;border-radius:50%;width:36px;height:36px;background:#efdec3;color:#745139;font-size:24px;flex-shrink:0}.instructions-goal{font-size:13px;line-height:1.8;color:#856544}.instructions-goal strong{font-size:17px;color:#4b6846}.instructions-steps{padding-left:24px;font-size:13px}.instructions-steps li{padding:5px 0 10px 5px}.instructions-steps strong,.instructions-steps span{display:block}.instructions-steps span{font-size:12px;color:#8a725a;margin-top:3px}.instructions-tips{background:#f0e5ce;border-radius:12px;padding:10px 15px;font-size:12px}.instructions-tips p{margin:6px 0}.instructions-guests{font-size:12px;color:#785c43;margin:18px 0}.instructions-guests summary{cursor:pointer}.instructions-table{overflow-x:auto;margin-top:12px}.instructions-table table{font-size:11px}.instructions-table td,.instructions-table th{padding:8px}.instructions-guests>p{font-size:11px}#ready-to-play{width:100%;margin-top:5px}
@media(max-width:600px){#instructions-dialog{padding:18px}.start-actions{justify-content:flex-end;flex-wrap:wrap}.start-actions .primary{flex:1}.help-button{padding:12px}.instructions-steps{padding-left:20px}}
.shop-bar{display:flex;align-items:center;gap:20px;padding:12px 20px;background:#473829;border-bottom:1px solid #ad82534d}
.shop-bar .shop-sign{position:static;transform:none;flex:0 1 200px;white-space:normal;background:none;border:0;padding:0;text-align:left;font-size:14px;line-height:1.6}
.shop-bar .stats{flex:1;min-width:0;display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:0}
.shop-bar .stats .stat{position:relative;min-width:0;padding:0 16px;border:0;border-left:1px solid #c4a37744;border-radius:0;background:none;box-shadow:none}
.shop-bar .stat>span{font-size:10px;color:#ddc9ac}.shop-bar .stat strong{font-size:23px;line-height:1.5;color:#ffedcb;overflow-wrap:anywhere}.shop-bar .stat.profit strong{color:#d6e9ad}.shop-bar .stat strong small{font-size:12px}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0!important}
.shop .customer-scene{padding-top:24px}
@media(max-width:600px){.shop-bar{gap:9px;padding:10px}.shop-bar .shop-sign{flex:0 0 86px;font-size:11px;word-break:keep-all}.shop-bar .stats .stat{padding:0 6px}.shop-bar .stat>span{font-size:8px}.shop-bar .stat strong{font-size:clamp(13px,3.6vw,20px)}.shop-bar .stat strong small{font-size:9px;margin-left:2px}.shop .customer-scene{padding-top:20px}}
#character{border:0;padding:0;background:transparent;color:inherit;appearance:none}
#character:not(:disabled){cursor:pointer;outline:2px dashed #e8c88888;outline-offset:4px;border-radius:15px}
#character:not(:disabled):hover{filter:brightness(1.1)}
#character:focus-visible{outline:3px solid #ffe1a2;outline-offset:5px}
.suspension-overlay{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:24px;background:#101620b8;backdrop-filter:blur(3px);cursor:not-allowed;touch-action:none}
.suspension-overlay[hidden]{display:none}
.suspension-card{width:min(400px,100%);padding:32px 24px;text-align:center;border:2px solid #e2af67;border-radius:20px;background:#382c29;color:#fff0d4;box-shadow:0 20px 70px #0007}
.suspension-card h2{font-size:24px}.suspension-card p{font-size:13px;color:#e0c6aa}.suspension-card strong{display:block;font-size:56px;color:#ffd289;font-variant-numeric:tabular-nums}
#character .guest-photo{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;border-radius:0;background:transparent;transform-origin:50% 92%;filter:drop-shadow(0 4px 2px #0003)}
.customer-scene{background:none}.customer-scene:before,.customer-scene:after{display:none}
#character[data-mood="waiting"] .guest-photo{animation:guest-arrive .3s ease-out both,guest-breathe 2.8s .3s ease-in-out infinite}
#character[data-mood="waiting"][data-guest="우사기"] .guest-photo{animation:guest-arrive .2s ease-out both,guest-impatient .55s .2s ease-in-out infinite}
#character[data-mood="happy"] .guest-photo{animation:guest-happy .7s ease-in-out both}
#character[data-mood="angry"] .guest-photo{animation:guest-angry .55s ease-in-out both}
#character[data-mood="leaving"] .guest-photo{animation:guest-leave .7s ease-in both}
#character:after{position:absolute;right:4%;top:12%;font-size:24px;line-height:1;pointer-events:none;filter:drop-shadow(0 2px 2px #0004)}
#character[data-mood="happy"]:after{content:"♪";color:#ffe3a0;animation:guest-emote .7s ease-out both}
#character[data-mood="angry"]:after{content:"💢";animation:guest-emote .6s ease-out both}
#character[data-mood="leaving"]:after{content:"💧";animation:guest-emote .6s ease-out both}
@keyframes guest-arrive{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
@keyframes guest-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px) rotate(.7deg)}}
@keyframes guest-impatient{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-4px) rotate(1deg)}}
@keyframes guest-happy{0%,100%{transform:none}30%{transform:translateY(-10px) rotate(-3deg)}65%{transform:translateY(-3px) rotate(3deg)}}
@keyframes guest-angry{0%,100%{transform:none}20%,60%{transform:translateX(-4px) rotate(-2deg)}40%,80%{transform:translateX(4px) rotate(2deg)}}
@keyframes guest-leave{0%{opacity:1;transform:none}100%{opacity:0;transform:translateX(28px) scale(.94)}}
@keyframes guest-emote{from{opacity:0;transform:translateY(8px) scale(.7)}30%,100%{opacity:1;transform:translateY(-5px) scale(1)}}
@media(prefers-reduced-motion:reduce){#character .guest-photo,#character:after{animation:none!important}}
.customer-info .order-ticket{color:#ffe1a4;background:#74532b66;border:1px solid #c2955144;border-radius:6px;padding:6px 8px;margin:8px 0;font-size:12px;font-weight:700}
.ingredient-bowl:disabled,.batter-jug:disabled{cursor:default;filter:saturate(.5) brightness(.7)}.current-cost{font-size:11px;color:#f2cc8c;margin:6px 0 0}
.game-result{padding:24px;margin-top:18px;border:1px solid #b99a63;border-radius:16px;background:#36473c;color:#f4e7c9;text-align:center}.game-result[hidden]{display:none}.game-result h2{font-size:25px}.game-result>strong{font-size:38px;color:#e3edb3}.game-result p{font-size:12px}.game-result .eyebrow{font-size:10px}
.ingredient-bowl{top:16%;width:12%;z-index:4;padding:0;cursor:pointer;appearance:none}
.ingredient-bowl.custard-bowl{top:60%}
.ingredient-bowl .bowl-filling{top:5%;left:5%;right:5%;bottom:5%;margin:0;transform:none;width:auto;height:auto;display:block}
.custard-bowl .bowl-filling{background:radial-gradient(ellipse at 35% 30%,#fff1ad,#efc75f 55%,#c99338);box-shadow:inset 0 2px 6px #ad7924}
.ingredient-bowl>span:not(.bowl-filling){background:#38291ddd;padding:2px 8px;border-radius:5px;top:97%;margin-top:9px;color:#fff0cf;pointer-events:none}
.ingredient-bowl i{pointer-events:none}.ingredient-bowl[aria-pressed="true"],.batter-jug[aria-pressed="true"]{outline:3px solid #ffdf84;outline-offset:6px}
.batter-jug{padding:0;z-index:4;cursor:pointer;appearance:none}.batter-jug span{pointer-events:none}
.ingredient-bowl:hover,.batter-jug:hover{filter:brightness(1.15)}
.mold-grid{position:absolute;inset:3% 3% 10%;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:5% 4%;z-index:2}
.mold{position:relative;border:0;background:transparent;padding:0 3%;display:flex;align-items:center;justify-content:center;flex-direction:column;min-width:0;color:#e9d9b4;cursor:pointer;border-radius:16px}
.mold svg{width:100%;height:85%;display:block;filter:drop-shadow(0 4px 3px #0008);pointer-events:none}
.mold>span{position:absolute;bottom:0;font-size:10px;line-height:1.3;background:#14181cdb;padding:3px 7px;border-radius:5px;white-space:nowrap;pointer-events:none}
.mold:hover:not(:disabled){background:#ffffff0d}.mold[data-phase="ready"]{outline:2px solid #f2c36c;outline-offset:-4px;background:#e1b35714}.mold[data-phase="baking"]>span{color:#ffd28d}.mold[data-phase="filled"]>span{color:#f8d8ab}.mold:disabled{cursor:wait}.griddle-caption{pointer-events:none;z-index:3;top:46%}
.cooking-controls{background:#35312d;border:1px solid #77604c;padding:15px 20px;border-radius:12px;margin-top:16px}.tool-status{font-size:14px;color:#ffe2a8;font-weight:700;margin:0}.cooking-guide{font-size:11px;color:#d0b997;margin:7px 0 0}.cooking-controls .action-row{border-top:1px solid #6a5844;padding-top:14px;margin-top:14px}
#filling-dialog{color:#4d3b2c;background:#fff8e9;border:2px solid #c69b66;padding:25px;border-radius:20px;width:min(650px,calc(100% - 28px));max-height:90dvh;overflow:auto;box-shadow:0 24px 70px #0008}
#filling-dialog::backdrop{background:#0c1528ad;backdrop-filter:blur(5px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.dialog-heading h2{font-size:23px;color:#59402c}.dialog-heading .eyebrow{color:#946832}#close-filling{font-size:26px;line-height:1;background:#efe0c7;color:#755a3f;border:0;border-radius:50%;width:38px;height:38px;flex-shrink:0}#filling-description{font-size:12px;color:#887159;margin:12px 0 8px}.dialog-cost{font-size:11px;color:#8a693c;margin-bottom:18px}.dialog-hint{font-size:11px;text-align:center;color:#887159;margin-bottom:0}#filling-dialog .choices{gap:10px}#filling-dialog .choice{min-height:160px;box-shadow:0 4px 0 #e5d1af}#filling-dialog .choice:not(:disabled):hover{box-shadow:0 7px 0 #e5d1af}
@media(max-width:750px){.worktop{padding-left:16%;padding-right:13%;padding-top:20px}.ingredient-bowl{left:1.5%;width:11%;top:14%}.ingredient-bowl.custard-bowl{top:58%}.ingredient-bowl>span:not(.bowl-filling){font-size:9px;margin-top:8px;padding:2px 5px}.ingredient-bowl i{height:75%;bottom:40%}.mold{border-radius:7px;padding:0}.mold>span{font-size:7px;padding:2px 3px;bottom:2%}.griddle-caption{top:45%;font-size:6px}.cooking-controls{padding:13px}.tool-status{font-size:12px}.cooking-guide{font-size:10px}.cooking-controls .action-row p{text-align:left;font-size:11px}#filling-dialog{padding:18px 12px}.dialog-heading h2{font-size:19px}#filling-dialog .choice strong{font-size:13px}#filling-dialog .choice{min-height:150px}.dialog-cost{font-size:10px}.batter-jug{width:9%;right:1.5%}}

/* Give the stove more space than the customer area. */
.shop .customer-scene{min-height:218px;padding:14px 24px 10px}
.shop .customer-info{padding:10px 14px;width:270px}
.shop .customer-info p{margin-bottom:9px}
.shop .character-area{min-height:195px;bottom:-5px}
.shop #character{width:170px;height:155px}
.shop .worktop{min-height:440px;padding:22px 13% 44px}
.shop .griddle-wrap{max-width:780px;aspect-ratio:600/430}
.shop .griddle{height:100%}
@media(max-width:750px){
 .shop .customer-scene{min-height:200px;padding:12px 10px 8px}
 .shop .customer-info{width:47%;padding:8px}
 .shop .customer-info h2{font-size:16px}
 .shop .customer-info p{font-size:9px;margin-bottom:6px}
 .shop .customer-info .order-ticket{font-size:10px;padding:4px;margin:6px 0}
 .shop .section-label{font-size:7px}
 .shop .meter{margin:4px 0 8px}
 .shop .character-area{min-height:170px;left:74%;width:48%}
 .shop #character{width:130px;height:130px}
 .shop .bubble{font-size:9px;padding:7px;min-height:32px}
 .shop .worktop{min-height:320px;padding:20px 11% 36px}
 .shop .griddle-wrap{aspect-ratio:1;margin-bottom:10%}
 .shop .ingredient-bowl{width:9%;left:1%;border-width:3px}
 .shop .batter-jug{right:1%;width:8%}
}

/* Larger ingredient containers and touch targets. */
.shop .worktop{padding-left:17%;padding-right:17%}
.shop .ingredient-bowl{width:14%;left:1.5%;border-width:7px}
.shop .ingredient-bowl>span:not(.bowl-filling){font-size:14px;padding:3px 10px}
.shop .batter-jug{width:13%;height:145px;right:2%;top:30%}
.shop .batter-jug span{font-size:15px;top:62px}
.shop .batter-jug:after{height:64px;top:28px;width:25px;right:-23px;border-width:7px}
@media(max-width:750px){
 .shop .worktop{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:30px 12px;padding:22px 12% 38px}
 .shop .ingredient-bowl,.shop .ingredient-bowl.custard-bowl{position:relative;top:auto;left:auto;width:clamp(60px,17vw,100px);height:auto;min-height:60px;border-width:5px;margin:0 auto;align-self:center}
 .shop #redbean{grid-column:1;grid-row:1}.shop #custard{grid-column:2;grid-row:1}
 .shop .ingredient-bowl>span:not(.bowl-filling){font-size:12px;padding:2px 7px;margin-top:9px}
 .shop .ingredient-bowl i{width:9px;height:75%}
 .shop .batter-jug{position:relative;grid-column:3;grid-row:1;top:auto;right:auto;left:auto;width:clamp(48px,14vw,80px);height:90px;margin:0 auto;transform:rotate(5deg)}
 .shop .batter-jug span{font-size:12px;top:38px}
 .shop .batter-jug:after{height:40px;top:17px;width:14px;right:-13px;border-width:5px}
 .shop .griddle-wrap{grid-column:1/-1;grid-row:2;width:100%;margin-bottom:10%}
}

/* Slightly reduce the complete game while preserving its proportions. */
.game-shell{zoom:.909}


/* Compact the stove area slightly without resizing the customer area. */
.shop .worktop{min-height:400px;padding-top:18px;padding-bottom:36px}
.shop .griddle-wrap{max-width:720px;aspect-ratio:600/400}
@media(max-width:750px){
 .shop .worktop{min-height:290px;padding-top:18px;padding-bottom:30px;row-gap:24px}
 .shop .griddle-wrap{aspect-ratio:600/540;margin-bottom:8%}
}

/* Slightly smaller ingredient containers. */
.shop .ingredient-bowl{width:12.6%}
.shop .batter-jug{width:11.7%;height:130px}
.shop .batter-jug span{top:55px}
@media(max-width:750px){
 .shop .ingredient-bowl,.shop .ingredient-bowl.custard-bowl{width:clamp(54px,15.3vw,90px);min-height:54px}
 .shop .batter-jug{width:clamp(44px,12.6vw,72px);height:81px}
 .shop .batter-jug span{top:34px}
}

/* Compact customer information panel. */
.shop .customer-info{width:245px;padding:8px 11px}
.shop .customer-info h2{font-size:20px}
.shop .customer-info p{font-size:10px;margin-bottom:7px}
.shop .customer-info .order-ticket{font-size:11px;padding:4px 6px;margin:6px 0}
.shop .customer-info .sensitivity strong{font-size:15px}
.shop .customer-info .meter{margin:4px 0 8px}
@media(max-width:750px){
 .shop .customer-info{width:44%;padding:7px}
 .shop .customer-info h2{font-size:15px}
 .shop .customer-info p{font-size:8px;margin-bottom:5px}
 .shop .customer-info .order-ticket{font-size:9px;padding:3px 5px;margin:5px 0}
 .shop .customer-info .sensitivity{font-size:10px}
 .shop .customer-info .sensitivity strong{font-size:13px}
 .shop .customer-info .wait-label{font-size:9px}
}

/* Visible guest guide and larger speech bubbles. */
.instructions-guests h3{font-size:15px;color:#704c30;margin:16px 0 8px}
.shop .customer-scene{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}
.shop .customer-info{max-width:100%}
.shop .character-area{position:relative;left:auto;bottom:auto;transform:none;min-height:0;width:100%;align-self:end}
.shop .bubble{font-size:14px;line-height:1.65;padding:13px 18px;min-height:52px;max-width:100%;width:fit-content;overflow-wrap:anywhere;word-break:keep-all;border-radius:17px;margin-bottom:8px}
@media(max-width:750px){
 .shop .customer-scene{grid-template-columns:44% minmax(0,1fr);gap:12px}
 .shop .customer-info{width:100%}
 .shop .bubble{font-size:12px;padding:11px 12px;min-height:44px}
}
