:root{font-family:ui-rounded,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none;color:#3e5a42;background:#dce8d5;--ink:#38583f;--muted:#806b46;--cream:#fff8e6;--line:#d5bd8b;--orange:#f4b374;--green:#719951}*{box-sizing:border-box}body{margin:0;min-height:100dvh;display:flex;justify-content:center;align-items:center;gap:52px;background:radial-gradient(ellipse at 80% 85%,#ffe6cf80,transparent 40%),radial-gradient(circle,#a3b99233 1px,transparent 1px),#dfe9d8;background-size:auto,22px 22px,auto}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:transform .12s,filter .15s}button:active{transform:translateY(2px) scale(.98)}button:focus-visible{outline:3px solid #c38839;outline-offset:3px}button:disabled{cursor:default}button,img{user-select:none;-webkit-user-select:none}img{-webkit-user-drag:none}[hidden]{display:none!important}kbd{display:inline-grid;place-items:center;font:600 12px/1.2 inherit;min-width:22px;padding:3px 6px;border:1px solid #c8ac78;border-bottom-width:2px;border-radius:6px;color:#84673c;background:#fff4d8}.game-shell{position:relative;isolation:isolate;container-type:inline-size;display:flex;flex-direction:column;width:min(480px,calc((100dvh - 24px)*.565));min-width:410px;height:calc(100dvh - 24px);min-height:710px;max-height:930px;overflow:hidden;border:3px solid #fffaf0;border-radius:29px;background:var(--cream);box-shadow:0 18px 60px #4c694a26,0 3px 0 #9cb28c,0 0 0 1px #c8c9a7}.scene-background{position:absolute;inset:0 0 17%;z-index:-3;background:#e4d9ad url('../assets/market-bg@2x.webp') center 44%/cover no-repeat}.scene-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(#fff7e8f5,#fff4ddea 17%,#ffe5b72b 35%,transparent 57%,#fff6df 79%)}.topbar{display:flex;justify-content:space-between;align-items:center;padding:7px 14px 2px;flex:none;min-height:39px;z-index:3}.district{display:flex;align-items:center;gap:6px;font-size:12px;letter-spacing:.3px;color:#66805a}.live-dot{width:6px;height:6px;display:inline-block;flex:none;border-radius:50%;background:#88ab65;box-shadow:0 0 0 3px #b7cb9933}.top-actions{display:flex;gap:6px}.icon-button{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#fff9e9c9;border:1.5px solid #bac79b;box-shadow:0 2px 0 #a7b88d33;color:#648052;font-size:16px;font-weight:700}.icon-button svg{width:17px;height:17px}.brand{margin:5px 17px 8px;display:flex;align-items:center;justify-content:space-between;flex:none;z-index:2}.brand-eyebrow{display:none}.brand h1{margin:0;font-size:29px;letter-spacing:1px;line-height:1.2;color:#44724e;font-weight:850;text-shadow:0 2px #fff9e8}.brand h1 span{font-size:11px;letter-spacing:0;display:inline-block;vertical-align:middle;margin-left:7px;background:#ffedc5;border:1px solid #cda576;color:#a7773f;border-radius:6px;padding:4px;transform:rotate(-5deg)}.brand p{display:none}.day-stamp{display:flex;align-items:center;gap:5px;border:1.5px solid #dab37c;background:#fff0cc;border-radius:9px;padding:5px 7px;color:#ab7642;transform:rotate(3deg)}.day-stamp span{font-size:10px;max-width:20px;line-height:1.2}.day-stamp strong{font-size:25px}.day-stamp small{display:none}.is-playing .brand{display:none}.stats{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:7px;margin:5px 14px 0;flex:none;z-index:2}.stat{min-width:0;border:1.5px solid #d8c69d;border-radius:13px;padding:7px 10px 6px;background:#fff8e5f5;box-shadow:0 3px 0 #baa37120}.stat-label{font-size:13px;line-height:1.2;color:#847044;display:flex;align-items:center;gap:4px;white-space:nowrap}.coin-icon{display:inline-grid;place-items:center;flex:none;width:20px;height:20px;border:1px solid #c99a47;box-shadow:inset 0 0 0 2px #ffe6a3;border-radius:50%;background:#f4ca73;color:#a77930;font:bold 13px Georgia}.stat-label .coin-icon{height:15px;width:15px;font-size:10px;box-shadow:inset 0 0 0 1px #ffe6a3}.stat>strong{display:block;font-size:27px;line-height:1.12;margin-top:3px;font-variant-numeric:tabular-nums;letter-spacing:-.5px;color:#557447}.stat>strong small{font-size:13px;font-weight:500;letter-spacing:0;color:#8f805c}.stat>small{display:block;font-size:10px;line-height:1.2;color:#8c7d57;margin-top:3px}.combo-stat>strong{color:#b77c3d}.combo-stat>strong span{font-size:13px;font-weight:500;letter-spacing:0}.goal-track{height:4px;border-radius:8px;overflow:hidden;margin-top:6px;background:#e3d4aa}.goal-track i{display:block;height:100%;background:#91ae68;transition:width .35s}.time-stat.urgent{background:#ffe6ca}.time-stat.urgent strong{color:#bb613b}.objective{display:flex;align-items:center;gap:8px;padding:8px 10px;margin:8px 14px 0;border:1.5px solid #b6c895;border-radius:13px;background:#eaf0d6f5;box-shadow:0 3px 0 #8da66920;z-index:3;flex:none}.objective-icon{display:grid;place-items:center;width:29px;height:29px;background:#f8fadb;border:1px solid #ccd6a5;border-radius:9px;color:#9eaa4e;font-size:21px;flex:none}.objective>div{flex:1;min-width:0}.objective small{display:block;font-size:11px;color:#7b915e;line-height:1.2;margin-bottom:3px}.objective strong{display:block;font-size:16px;line-height:1.3;font-weight:700;color:#4b6d3c}.objective>span:last-child{font-size:23px;color:#9db779;font-weight:800}.mission-summary{display:flex;align-items:center;gap:7px;border:0;background:#fff5daeb;margin:7px 14px 0;padding:5px 9px;border-radius:8px;font-size:12px;min-height:29px;z-index:3;flex:none;color:#93733d}.mission-summary>span{flex:none}.mission-summary strong{font-size:13px;flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.mission-summary>b{font-size:20px;line-height:1;color:#b59b66}
.street{position:relative;flex:1;min-height:150px;z-index:1;overflow:visible}.street-sign{position:absolute;top:7px;left:50%;transform:translateX(-50%);background:#fff4d6e6;border:1px solid #e0c18c;color:#9d804c;border-radius:12px;padding:3px 10px;font-size:10px;white-space:nowrap}.street-sign span{opacity:.6}.customer-row{position:absolute;inset:33px 14px 26px;display:flex;align-items:flex-end;gap:10px}.customer{position:relative;width:calc((100% - 20px)/3);height:100%;padding:0;border:0;background:transparent;overflow:visible;display:flex;align-items:flex-end;justify-content:center}.customer img.person{position:absolute;bottom:14px;width:100%;height:75%;max-height:139px;object-fit:contain;object-position:bottom;transform-origin:50% 100%;filter:drop-shadow(0 4px 2px #92754533);animation:breathe 3s ease-in-out infinite}.customer:nth-child(2) img.person{animation-delay:-1.2s}.customer:nth-child(3) img.person{animation-delay:-2.2s}.shadow{position:absolute;bottom:14px;width:48px;height:7px;border-radius:50%;background:#8d795630;filter:blur(2px)}.order-bubble{position:absolute;bottom:72%;width:100%;max-width:125px;left:50%;transform:translateX(-50%);background:#fffced;border:2px solid #d7b47e;border-radius:12px;padding:6px 4px;text-align:center;color:#6f623e;z-index:3;box-shadow:0 3px 0 #956f3c22}.order-bubble:after{content:"";position:absolute;bottom:-5px;left:calc(50% - 4px);width:7px;height:7px;background:inherit;border-bottom:inherit;border-right:inherit;transform:rotate(45deg)}.order-bubble kbd{position:absolute;top:-10px;left:-5px;background:#fff2c6;font-size:11px;padding:2px 5px}.order-top{display:flex;justify-content:center;align-items:center;gap:3px}.order-top img{width:25px;height:24px;object-fit:contain}.order-top b{font-size:13px;line-height:1.25;font-weight:750}.customer-status{display:block;font-size:11px;line-height:1.2;color:#91794c;margin-top:3px}.customer-name{font-size:12px;font-weight:650;line-height:1.2;margin-top:3px;color:#5c7344}.customer-trait,.trait{font-size:10px;line-height:1.2;color:#957b4d}.selected .order-bubble{border-color:#d39a3f;box-shadow:0 0 0 2px #ffe6a466,0 3px 0 #956f3c22}.selected .order-bubble:before{content:"▼";position:absolute;bottom:-18px;left:calc(50% - 6px);font-size:13px;color:#d49b4b;text-shadow:0 1px #fff4ce;animation:arrow-bob .9s ease-in-out infinite;z-index:4}.patience-track{height:4px;overflow:hidden;border-radius:8px;background:#e7dbb6;margin-top:4px}.patience-track i{display:block;height:100%;background:#8fb873;transition:width .2s linear}.urgent .patience-track i{background:#d48a59}.customer.ready .order-bubble{background:#fff0b3;border-color:#d6a444;animation:ready-glow 1s ease-in-out infinite}.customer.empty{opacity:.45}.empty-slot{margin-bottom:34px;border:1px dashed #cbb182;color:#a28b5b;border-radius:12px;padding:9px 7px;background:#fff2d24d;font-size:12px}.customer.entering{animation:customer-enter .4s ease-out}.stall{position:absolute;width:94%;height:auto;left:3%;bottom:-20px;z-index:5;pointer-events:none;filter:drop-shadow(0 4px 3px #ac854a2b)}.chef-wrap{display:none}.counter-glow{position:absolute;left:16%;right:16%;height:20px;bottom:25%;z-index:5;pointer-events:none;background:#ffcf7c55;filter:blur(12px);animation:glow 2s infinite}.steam{position:absolute;width:34px;height:40px;bottom:25%;z-index:6;pointer-events:none}.steam-one{left:27%}.steam-two{left:64%;transform:scale(.8)}.steam i{position:absolute;width:9px;height:22px;bottom:0;left:10px;border-radius:50%;filter:blur(4px);background:#fff6d8;opacity:0;animation:steam 2.8s infinite}.steam i:nth-child(2){left:20px;animation-delay:.9s}.steam i:nth-child(3){left:0;animation-delay:1.8s}.scene-caption{display:none}.grill-food{position:absolute;bottom:calc(12cqw - 8px);left:29%;width:11%;height:auto;z-index:6;pointer-events:none;transform:translateX(-50%) rotate(-12deg) scaleY(.55);filter:drop-shadow(0 3px 2px #8d6e4133)}.grill-food[data-dish="jianbing"],.grill-food[data-dish="egg"],.grill-food[data-dish="tofu"]{left:69%}.grill-food[data-quality="bad"]{filter:brightness(.75) saturate(.6)}.is-cooking .grill-food{animation:food-sizzle .3s infinite alternate}.is-cooking .grill-food.food-flip{animation:food-flip .5s ease-in-out}.is-cooking .steam i{animation-duration:1.5s}.is-focused .timing-track{box-shadow:0 0 0 2px #79aab8,0 0 13px #8dc1d155}.is-fever .counter-glow{background:#ffc24db0;filter:blur(8px)}.is-fever .scene-shade{box-shadow:inset 0 0 28px #ffd45f77}.event-banner{position:absolute;top:4px;left:50%;transform:translateX(-50%);z-index:9;font-size:12px;font-weight:700;line-height:1.3;white-space:nowrap;padding:5px 10px;border-radius:9px;background:#fff0b8;border:1px solid #d4b664;color:#a17325;box-shadow:0 2px 5px #77551c20}.has-event .street-sign{display:none}
.workbench{position:relative;z-index:7;flex:none;background:linear-gradient(#fff9e9,#fff1d6);border-top:2px solid #fffdf1;border-radius:21px 21px 0 0;padding:11px 16px 8px;box-shadow:0 -5px 15px #ae8b4812}.workbench:before{content:"";position:absolute;top:4px;width:28px;height:3px;border-radius:10px;background:#dfcda4;left:calc(50% - 14px)}.bench-top{display:flex;align-items:center;justify-content:space-between;font-size:15px;margin-bottom:8px;min-height:22px;color:#6d834d}.tiny-spark{font-style:normal;font-size:18px;color:#c7964c}.section-note{font-size:11px;color:#8f7c54}.is-playing .bench-top{display:none}.mode-selector{display:flex;gap:6px}.mode-selector button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:7px 3px;background:#f6ecd1;border:1.5px solid #d8c799;border-bottom:3px solid #c7b580;border-radius:10px;color:#7e7950;min-height:48px}.mode-selector button b{font-size:15px}.mode-selector button span{font-size:10px;font-weight:500}.mode-selector button[aria-pressed="true"]{background:#e6efcd;border-color:#9bb674;color:#54783a;box-shadow:inset 0 1px #ffffed}.mode-help{font-size:12px;line-height:1.3;text-align:center;color:#826c47;margin:6px 0}.menu-preview{display:flex;justify-content:space-around;gap:12px;padding:0 2px}.menu-preview>div{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center}.menu-preview img{width:64px;height:46px;object-fit:contain;filter:drop-shadow(0 3px 2px #ac854a22)}.menu-preview span{font-size:13px;font-weight:700;margin-top:2px;color:#7a6c43}.menu-preview small{font-size:11px;line-height:1.3;color:#968255;margin-top:3px}.day-tasks-summary{font-size:12px;text-align:center;color:#8c774b;background:#f7eac6;border:1px dashed #ddc78e;border-radius:8px;padding:5px 6px;margin:7px 0}.cooking-heading{display:flex;align-items:center;gap:8px;height:44px}.dish-medallion{width:43px;height:43px;display:grid;place-items:center;flex:none;border-radius:12px;background:#f3e9c8;border:1px solid #d8c595}.dish-medallion img{width:41px;height:40px;object-fit:contain}.cooking-heading small{font-size:11px;color:#927846;line-height:1.2}.cooking-heading h2{margin:2px 0 0;font-size:21px;line-height:1.15;color:#657d43}.quality-tag{margin-left:auto;border:1px solid #cad59c;border-radius:7px;padding:5px;font-size:11px;line-height:1.2;color:#7b914c;background:#f0f3d3;max-width:80px;text-align:center}.step-list{display:flex;align-items:center;gap:7px;font-size:12px;color:#9b8b63;margin:6px 0}.step-list i{height:1px;background:#daceaa;flex:1}.step-list span{border-radius:5px;padding:3px 4px}.step-list .current{color:#607f3f;background:#e7edc8;font-weight:700}.step-list .done{color:#7b9656}.timing-label{display:flex;align-items:center;justify-content:space-between;gap:6px;color:#7f6c45;font-size:13px;line-height:1.3;margin:3px 0 8px}.timing-label>span{font-weight:650}.timing-label b{flex:none;color:#6d8e45;font-size:12px}.timing-track{height:27px;background:linear-gradient(90deg,#efd5a3,#f2d6a5 60%,#edb486);border:4px solid #fff0ca;border-radius:11px;box-shadow:0 0 0 1.5px #d9bb7e;position:relative}.good-zone{position:absolute;top:0;height:100%;background:#dfd8a0;border-radius:4px}.perfect-zone{position:absolute;top:0;height:100%;background:#85b364;border-left:1px solid #5d8b44;border-right:1px solid #5d8b44;display:flex;align-items:center;justify-content:center;gap:2px;box-shadow:0 0 0 1px #c2da9a60}.perfect-zone i{width:1px;height:8px;background:#e6f3c68c}.needle{position:absolute;left:0;top:-5px;height:29px;width:4px;border:1px solid #9e712d;background:#fffceb;border-radius:4px;transform:translateX(-50%);z-index:2;box-shadow:0 0 0 1px #fff9de99}.needle:before{content:"";position:absolute;left:-4px;top:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #a37939}.timing-scale{display:flex;justify-content:space-between;font-size:11px;color:#a18b5b;margin:5px 0 5px}.idle-message{height:59px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:15px;line-height:1.4;color:#8c7548;padding:4px 8px}.heat-row{display:flex;gap:9px;align-items:center;font-size:11px;color:#a2733c;line-height:1.2;margin:5px 0 6px}.heat-row>span{flex:none}.heat-meter{height:6px;flex:1;border-radius:8px;background:#e6d4ad;overflow:hidden}.heat-meter i{display:block;height:100%;width:0;background:linear-gradient(90deg,#f1c064,#ed9456);transition:width .3s}.is-fever .heat-meter i{background:#ec9652;box-shadow:0 0 8px #f6b34a}.item-bar{display:flex;gap:6px;margin:4px 0 8px}.item-bar button{position:relative;flex:1;min-width:0;min-height:44px;display:flex;align-items:center;justify-content:center;gap:3px;background:#f9edcf;border:1.5px solid #d9c496;border-bottom:3px solid #cdb37b;border-radius:10px;padding:4px 5px;color:#826b3f}.item-bar img{width:27px;height:29px;object-fit:contain;flex:none}.item-name{font-size:12px;font-weight:700;white-space:nowrap}.item-count{font-size:11px;background:#fff8df;min-width:15px;height:15px;border-radius:5px;line-height:15px;position:absolute;right:3px;top:2px;color:#a17b35}.item-bar kbd{position:absolute;bottom:2px;right:3px;padding:1px 3px;min-width:13px;font-size:9px;line-height:10px}.item-bar button.empty,.item-bar button:disabled{filter:saturate(.5);opacity:.68}.item-bar button.active{background:#e8efce;border-color:#9db878;color:#668643}.primary-button{position:relative;overflow:hidden;width:100%;height:56px;min-height:52px;display:flex;align-items:center;justify-content:center;gap:8px;border:2px solid #d49a5f;border-bottom:4px solid #c7834e;border-radius:13px;background:linear-gradient(#ffca8d,#f4ad6a);box-shadow:inset 0 2px #ffe2b0,0 3px 0 #dcb47c33;color:#80502e;font-weight:800;font-size:21px;letter-spacing:.4px}.primary-button kbd{position:absolute;right:12px;font-size:12px;letter-spacing:0;background:#ffe4b8b3;color:#9f713f;border-color:#d2a468}.primary-button:active{transform:translateY(3px);border-bottom-width:2px}.primary-button:disabled{filter:saturate(.55);opacity:.75}.primary-spark{font-size:21px;color:#bb7738}.button-shine{position:absolute;top:0;bottom:0;left:-40%;width:30%;background:linear-gradient(90deg,transparent,#fff2c85e,transparent);transform:skewX(-20deg);animation:shine 6s infinite;pointer-events:none}.action-hint{font-size:12px;line-height:1.3;text-align:center;min-height:16px;margin:6px 0 0;color:#8b734c}.bottom-nav{display:flex;align-items:center;gap:5px;padding:7px 12px 8px;background:#f5ead0;border-top:1.5px solid #daccaa;z-index:7;flex:none;min-height:56px}.nav-item{flex:1;min-width:45px;min-height:41px;padding:0;border:0;background:transparent;color:#a0926a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;position:relative}.nav-item svg{width:20px;height:20px}.nav-symbol{font-size:24px;line-height:20px}.nav-item b{font-size:13px;font-weight:650}.nav-item.active{color:#678c48}.nav-item.active>span{background:#e5edc6;padding:2px 9px 0;border-radius:8px}.nav-item i{position:absolute;width:6px;height:6px;border-radius:50%;background:#df9b54;top:1px;right:12px}.wallet{display:flex;align-items:center;justify-content:center;gap:5px;min-height:43px;min-width:77px;padding:2px 0 2px 8px;border:0;border-left:1px solid #d8c9a3;background:transparent;color:#9a7c44}.wallet>span:last-child{text-align:left}.wallet small{font-size:10px;display:block;white-space:nowrap}.wallet strong{display:block;font-size:18px;font-variant-numeric:tabular-nums}

/* Readable drawers: secondary content never competes with the cooking controls. */
.modal-layer{position:absolute;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;padding:14px;background:#53694d8c;backdrop-filter:blur(7px)}
.modal{position:relative;width:100%;max-height:96%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cfb98e transparent;padding:25px 19px 20px;background:linear-gradient(135deg,#fffbed,#fff1d8);border:3px solid #fffaeb;border-radius:23px;box-shadow:0 14px 40px #334e3533;animation:modal-in .22s ease-out}
.modal-close{position:absolute;right:9px;top:8px;width:40px;height:40px;border:1px solid #dcc69e;border-radius:12px;background:#f9efd7;color:#8f7750;font-size:27px;line-height:1;z-index:2}.modal-eyebrow{display:block;text-align:center;font-size:12px;letter-spacing:1px;color:#917b51;margin:13px 0 8px}.modal h2{margin:0 0 9px;text-align:center;font-size:24px;line-height:1.35;color:#577a49;font-weight:800}.modal-subtitle{font-size:14px;line-height:1.65;text-align:center;color:#826d4b;margin:0 0 16px}.modal-section-title{font-size:17px;color:#597342;margin:20px 0 9px}.modal .section-note{font-size:13px;line-height:1.5;margin:0 0 9px}.modal .primary-button{margin-top:16px;font-size:18px;height:52px}.secondary-button{display:block;min-height:46px;width:100%;padding:10px;border:1.5px solid #bfc99c;border-bottom:3px solid #b0bc8d;border-radius:11px;background:#e9efd3;color:#647c47;font-size:15px;font-weight:650;margin-top:9px}.buy-button{border:1.5px solid #cdad74;border-bottom:3px solid #c09a62;background:#ffe0ab;border-radius:10px;font-size:14px;color:#8a642e;padding:8px 9px;min-width:76px;min-height:44px;font-weight:650}.buy-button:disabled{background:#eae5d2;color:#9a8e6c;border-color:#d5caaa}.mode-options{display:grid;gap:7px}.mode-option{display:flex;align-items:center;gap:9px;text-align:left;padding:10px;border:1.5px solid #d8c79d;border-radius:10px;background:#f8efd6;min-height:49px}.mode-option b{font-size:16px;flex:none;min-width:36px;color:#65774a}.mode-option small{font-size:13px;line-height:1.4;color:#86734c}.mode-option[aria-pressed="true"]{border-color:#8fad6b;background:#e8efce;box-shadow:inset 3px 0 #8eac68}.mode-option:disabled{cursor:default;opacity:.75}.mode-note{font-size:12px;line-height:1.5;color:#8b7952;margin:7px 0 0}
.settings-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid #e1d3b0}.settings-row b{display:block;font-size:16px;color:#5b7148}.settings-row small{display:block;font-size:13px;line-height:1.45;color:#8c7853;margin-top:4px}.toggle-button{min-height:44px;min-width:75px;flex:none;padding:8px;border:1.5px solid #b9c597;border-radius:11px;background:#ebefd8;color:#657c45;font-size:14px}.toggle-button[aria-pressed="true"]{background:#dce9bd;border-color:#9fb77b}.toggle-button:disabled{opacity:.55}.help-progress{display:flex;gap:6px;margin:15px 0}.help-progress i{height:5px;flex:1;border-radius:5px;background:#e1d7b9}.help-progress i.active{background:#97b371}.help-visual{display:flex;align-items:center;justify-content:center;font-size:42px;min-height:76px;border-radius:16px;background:#f2e8ca;color:#8da262}.help-row{display:flex;gap:10px;align-items:flex-start;margin:17px 0}.help-row>span{display:grid;place-items:center;flex:none;width:30px;height:30px;font-size:16px;border-radius:9px;background:#e4edc9;color:#6d894d}.help-row b{display:block;font-size:18px;color:#557645}.help-row p{font-size:15px;line-height:1.7;margin:6px 0 0;color:#806b49}.help-keys{font-size:14px;line-height:1.8;padding:11px;background:#f3e7c6;border-radius:10px;color:#8d7448;text-align:center}
.shop-wallet{text-align:center;font-size:16px;color:#97733d;margin:12px 0}.shop-wallet b{font-size:23px;color:#b1843e;margin-left:6px}.upgrade{display:flex;align-items:center;gap:8px;padding:15px 0;border-top:1px solid #dfd1af}.upgrade-icon{flex:none;display:grid;place-items:center;width:36px;height:40px;border-radius:10px;background:#f3e5c1;font-size:25px}.upgrade-info{flex:1;min-width:0}.upgrade-info b{display:block;font-size:17px;line-height:1.3;color:#5e7a44}.upgrade-info small{display:block;font-size:13px;line-height:1.5;color:#8b7550;margin-top:4px}.upgrade-info .upgrade-effect{color:#61814a}.upgrade-info .upgrade-level{font-size:12px;color:#9a7b44}.upgrade .buy-button{max-width:86px}
.mission-list{display:grid;gap:9px}.mission-card{padding:12px;border:1.5px solid #decc9f;background:#faf1d9;border-radius:13px}.mission-heading{display:flex;justify-content:space-between;gap:8px;align-items:center}.mission-heading b{font-size:16px;color:#617947}.mission-heading>span{font-size:15px;font-weight:750;color:#b28135;background:#ffe7b3;border-radius:7px;padding:3px 6px}.mission-card p{font-size:13px;line-height:1.5;color:#806d49;margin:7px 0 9px}.mission-progress-track{height:7px;border-radius:8px;overflow:hidden;background:#e5d7b4}.mission-progress-track i{display:block;height:100%;background:#9db878}.mission-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px;font-size:13px;line-height:1.4;color:#88754d}.mission-card.completed{background:#eff2d8;border-color:#bbca93}.mission-card.completed .mission-heading b{color:#5b7e3d}.mission-card.completed .mission-progress-track i{background:#87a95e}.has-reward:after{content:"";width:6px;height:6px;background:#db9553;border-radius:50%;position:absolute;right:12px;top:1px}
.collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.collection-card{position:relative;padding:10px 9px;border-radius:13px;border:1.5px solid #d9c89f;background:#fff6e0;text-align:center;overflow:hidden}.collection-card img{display:block;margin:0 auto 4px;width:100%;height:115px;object-fit:contain;filter:drop-shadow(0 4px 2px #8a6f3c22)}.collection-state{display:block;font-size:11px;color:#9c8150;margin:5px 0}.collection-card b{display:block;font-size:16px;color:#587747;margin:4px 0}.collection-card strong{display:inline-block;font-size:12px;color:#9b7a3c;background:#f3e7bf;border-radius:5px;padding:3px 5px}.collection-card p{font-size:13px;line-height:1.5;margin:6px 0 0;color:#7e6b4c;text-align:left}.collection-card.locked img{filter:grayscale(.85);opacity:.6}.collection-card.locked{background:#f2ecda}.dishes-grid img{height:94px}.dishes-grid .collection-card p{text-align:center}
.result-stars{text-align:center;color:#e5ac48;font-size:29px;letter-spacing:5px;text-shadow:0 2px #d2933122}.result-total{display:flex;justify-content:space-between;align-items:center;gap:8px;border:1.5px dashed #d3b174;border-radius:13px;background:#ffedc6;padding:12px;margin:13px 0}.result-total span{font-size:14px;color:#8f7142}.result-total strong{font-size:32px;line-height:1.1;color:#b98232}.result-ledger{display:grid;gap:7px;border-bottom:1px solid #e1cfaa;padding:2px 3px 12px}.ledger-row{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:#887149}.ledger-row b{color:#6f8149}.result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0}.result-grid>div{display:flex;flex-direction:column;gap:4px;border:1px solid #e4d6b7;background:#f8efd9;border-radius:8px;padding:9px;font-size:13px;color:#8f7952}.result-grid b{font-size:20px;line-height:1.15;color:#6c8549}.result-note{padding:11px;background:#eaf0d4;border:1px solid #cfdbad;border-radius:11px;color:#73874e;font-size:13px;line-height:1.65}.result-task-list{padding:1px 10px;margin:10px 0;border:1px dashed #d8c99b;border-radius:10px;background:#f7edce}.result-task-list p{display:flex;justify-content:space-between;gap:8px;color:#8b7549;font-size:13px;margin:9px 0}.result-task-list b{color:#699047}.result-actions{display:flex;gap:8px}.result-actions>button{flex:1}
/* Short, reversible feedback, with a no-motion setting. */
.toast{position:absolute;top:41%;left:50%;transform:translate(-50%,8px);z-index:24;max-width:90%;width:max-content;padding:11px 14px;border:2px solid #d8bb87;border-radius:13px;background:#fff9e8f5;color:#826037;box-shadow:0 4px 0 #a7834720,0 6px 18px #75654026;font-size:14px;line-height:1.5;text-align:center;pointer-events:none;opacity:0;transition:transform .2s,opacity .2s}.toast.show{opacity:1;transform:translate(-50%,0)}.floating-feedback{position:absolute;inset:0;z-index:10;pointer-events:none}.float-text{position:absolute;top:27%;left:50%;width:94%;text-align:center;font-size:27px;font-weight:850;color:#fff7da;text-shadow:0 2px #9d733c,-1px 0 #ad7f44,1px 0 #ad7f44;animation:float-up 2.4s ease-out forwards}.float-text small{display:block;font-size:13px;font-weight:650;line-height:1.5;margin-top:4px;color:#fffced;text-shadow:0 1px 4px #896133}.ambient{position:absolute;inset:20% 0 40%;z-index:-1;pointer-events:none}.ambient i{position:absolute;left:12%;top:35%;width:3px;height:3px;border-radius:50%;background:#fff1c2;box-shadow:0 0 8px 2px #ffd58d;animation:firefly 7s ease-in-out infinite}.ambient i:nth-child(2){left:80%;top:10%;animation-delay:-3s}.ambient i:nth-child(3){left:90%;top:75%;animation-delay:-1s}.ambient i:nth-child(4){left:30%;top:80%;animation-delay:-5s}.ambient i:nth-child(5){left:50%;top:30%;animation-delay:-2s}.confetti{position:absolute;inset:0;pointer-events:none;z-index:40;overflow:hidden}.particle{position:absolute;left:50%;top:48%;width:6px;height:9px;background:var(--particle-color,#e8b951);border-radius:2px;animation:confetti-fall 1s ease-out forwards}.coin-particle{position:absolute;z-index:25;width:17px;height:17px;pointer-events:none;animation:coin-fly .85s cubic-bezier(.2,.7,.4,1) forwards}.dish-flight{position:absolute;width:45px;height:45px;object-fit:contain;z-index:21;pointer-events:none;animation:dish-deliver .6s ease-out forwards}.game-shell.hit .workbench{animation:tiny-bump .18s ease-out}.game-shell.perfect-flash:after,.game-shell.fever-flash:after{content:"";position:absolute;inset:0;border:3px solid #f9d373;border-radius:inherit;box-shadow:inset 0 0 35px #ffdc8255;z-index:20;pointer-events:none;animation:flash .6s forwards}.game-shell.fever-flash:after{border-color:#efb45b;box-shadow:inset 0 0 50px #ffc64e77}.in-perfect .perfect-zone{background:#78a754;box-shadow:0 0 8px #a4c96d77}.focus-event{background:#e3f0eb;color:#62897b;border-color:#a3c7bc}.is-focused .street-sign{display:none}.touch-mode kbd{display:none}.is-paused .street *,.is-paused .ambient *,.is-paused .button-shine{animation-play-state:paused!important}
.desktop-note{width:230px;flex:none;color:#768b67}.left-note{width:135px;padding-bottom:40px}.side-mark{font-size:52px;font-weight:800;line-height:1.3;letter-spacing:5px;color:#7c9b74;text-shadow:0 2px #fff6dc80}.side-line{height:1px;width:27px;background:#acb591;margin:23px 0}.left-note p{font-size:15px;line-height:2;letter-spacing:2px}.left-note small{font-size:9px;letter-spacing:1px;color:#8b9e7d}.desktop-pill{display:inline-block;padding:7px 10px;border:1px solid #b8c6a2;border-radius:18px;background:#f0f4df88;font-size:12px;color:#7b8c63}.right-note h2{font-size:27px;font-weight:700;line-height:1.5;letter-spacing:1px;margin:23px 0;color:#69865c}.shortcut{display:flex;align-items:center;gap:5px;font-size:13px;margin:15px 0;color:#7d8e68}.shortcut kbd{font-size:12px;background:#f3f3dd;border-color:#c5c9a5;color:#8c956a}.shortcut span{margin-left:4px}.right-note p{font-size:13px;line-height:1.9;margin:26px 0;color:#839775}.side-footer{display:flex;justify-content:space-between;border-top:1px solid #bac8a7;padding-top:16px;margin-top:30px;font-size:12px;color:#8b9d7b}.side-footer span{color:#c9a968}
@keyframes breathe{0%,100%{transform:scaleY(1) rotate(-.5deg)}50%{transform:scaleY(1.018) rotate(.5deg)}}@keyframes arrow-bob{50%{transform:translateY(-4px)}}@keyframes ready-glow{50%{box-shadow:0 0 0 3px #ffda7933,0 0 14px #ffe28c88}}@keyframes customer-enter{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes steam{0%{transform:translate(0,0) scale(.5);opacity:0}30%{opacity:.6}100%{transform:translate(-10px,-44px) scale(1.5);opacity:0}}@keyframes glow{50%{opacity:.5;transform:scale(.85)}}@keyframes firefly{0%,100%{opacity:0;transform:translateY(15px)}50%{opacity:.7;transform:translate(5px,-15px)}}@keyframes shine{0%,75%{left:-40%}100%{left:140%}}@keyframes float-up{0%{opacity:0;transform:translate(-50%,14px) scale(.85)}10%{opacity:1;transform:translate(-50%,0) scale(1.05)}75%{opacity:1}100%{opacity:0;transform:translate(-50%,-35px)}}@keyframes modal-in{from{opacity:0;transform:translateY(15px) scale(.97)}to{opacity:1;transform:none}}@keyframes confetti-fall{0%{transform:translate(0,0) rotate(0);opacity:1}100%{transform:translate(var(--dx),var(--dy)) rotate(var(--rotation));opacity:0}}@keyframes coin-fly{from{transform:translate(0,0) scale(1.2);opacity:1}to{transform:translate(var(--coin-x),var(--coin-y)) scale(.5);opacity:0}}@keyframes tiny-bump{50%{transform:translateY(2px)}}@keyframes flash{to{opacity:0}}@keyframes food-sizzle{to{transform:translate(-50%,-1px) rotate(-9deg) scaleY(.55)}}@keyframes food-flip{0%,100%{transform:translate(-50%,0) rotate(-12deg) scaleY(.55)}50%{transform:translate(-50%,-35px) rotate(168deg) scaleY(.9)}}@keyframes dish-deliver{0%{opacity:1;transform:translate(0,0) scale(1)}80%{opacity:1}100%{opacity:0;transform:translate(var(--dish-x),var(--dish-y)) scale(.5)}}
/* Preserve readable control sizes; compact screens lose decoration first. */
@media(max-width:1050px){body{gap:32px}.left-note{width:95px}.desktop-note.right-note{width:210px}.right-note h2{font-size:24px}}@media(max-width:850px){.left-note{display:none}body{gap:25px}.desktop-note.right-note{width:200px}}@media(max-width:650px){.desktop-note{display:none!important}body{display:block;background:#fff6df}.game-shell{width:100%;min-width:0;max-width:480px;height:100dvh;min-height:0;max-height:none;margin:0 auto;border:0;border-radius:0;box-shadow:none}.topbar{padding-top:max(7px,env(safe-area-inset-top))}.bottom-nav{padding-bottom:max(8px,env(safe-area-inset-bottom))}.modal-layer{padding:11px}.street{min-height:140px}}
@media(max-height:760px){.brand{margin-top:3px;margin-bottom:4px}.brand h1{font-size:27px}.stats{margin-top:3px}.stat{padding-top:6px;padding-bottom:5px}.objective{margin-top:6px;padding-top:6px;padding-bottom:6px}.mission-summary{margin-top:5px;padding-top:3px;padding-bottom:3px;min-height:25px}.street{min-height:128px}.customer-row{top:28px}.customer img.person{max-height:117px}.workbench{padding-top:10px;padding-bottom:7px}.menu-preview img{height:37px}.day-tasks-summary{margin:5px 0}.bench-top{margin-bottom:5px}.mode-selector button{min-height:44px;padding:5px 2px}.action-hint{margin-top:5px}.bottom-nav{padding-top:5px;padding-bottom:5px;min-height:53px}.mode-help{margin:5px 0}.item-bar{margin-bottom:6px}.modal{max-height:98%;padding-top:22px}}
@media(max-height:680px){.game-shell{min-height:0;height:100dvh;max-height:none;border-radius:0}.topbar{min-height:34px;padding-top:3px}.icon-button{height:29px;width:31px}.brand{margin-top:0;margin-bottom:2px}.brand h1{font-size:25px}.brand h1 span{display:none}.stats{margin-top:2px}.stat{padding:5px 8px 4px}.stat>strong{font-size:25px}.stat>small{display:none}.objective small{display:none}.objective{padding:6px 8px}.objective-icon{height:25px;width:25px}.objective strong{font-size:15px}.mission-summary{margin-top:4px}.street{min-height:103px}.street-sign{display:none}.customer-row{top:27px;bottom:19px}.customer img.person{height:94%;max-height:84px;bottom:4px}.customer .shadow{bottom:3px}.order-bubble{bottom:65%;padding:4px 3px}.customer-name{display:none}.customer-trait{display:none}.customer-meta{display:block}.customer-status{margin-top:1px}.order-top img{width:21px;height:20px}.order-top b{font-size:12px}.order-bubble kbd{top:-9px;font-size:10px}.stall{bottom:-17px}.workbench{padding:9px 13px 6px}.bench-top{font-size:14px}.bench-top .section-note{display:none}.cooking-heading{height:39px}.dish-medallion{width:37px;height:37px}.dish-medallion img{width:35px;height:35px}.cooking-heading h2{font-size:20px}.step-list{margin:4px 0}.timing-label{margin:3px 0 7px}.timing-scale{margin-top:4px;margin-bottom:4px}.heat-row{margin:4px 0}.item-bar{margin:4px 0 6px}.item-bar button{min-height:42px}.primary-button{height:52px}.mode-help{font-size:11px;margin:4px 0}.menu-preview img{height:31px}.menu-preview small{display:none}.menu-preview span{font-size:12px}.day-tasks-summary{padding:4px;margin:4px 0}.bottom-nav{padding:4px 10px max(4px,env(safe-area-inset-bottom));min-height:49px}.nav-item{min-height:39px}.action-hint{font-size:12px;margin-top:4px}.is-tutorial .item-bar{display:none}}
@media(max-width:370px){.stats,.objective,.mission-summary{margin-left:11px;margin-right:11px}.stat{padding-left:7px;padding-right:7px}.stat-label{font-size:12px}.stat-label .coin-icon{display:none}.topbar{padding-left:11px;padding-right:11px}.district{font-size:11px}.top-actions{gap:4px}.item-bar img{width:24px}.item-name{font-size:11px}.item-bar kbd{right:1px}.item-count{right:1px}.timing-label{font-size:13px}.timing-label b{font-size:12px}.quality-tag{font-size:10px;max-width:70px}.modal{padding-left:15px;padding-right:15px}.upgrade-icon{display:none}.modal h2{font-size:22px}.collection-card p{font-size:12px}.collection-grid{gap:8px}}
.large-text .objective strong{font-size:18px}.large-text .action-hint,.large-text .timing-label,.large-text .idle-message{font-size:15px}.large-text .modal p,.large-text .modal-subtitle,.large-text .modal small,.large-text .settings-row small,.large-text .upgrade-info small{font-size:15px}.large-text .modal-section-title,.large-text .help-row b{font-size:19px}.large-text .item-name,.large-text .nav-item b,.large-text .mode-help{font-size:14px}.large-text .order-top b{font-size:14px}.large-text .mission-summary{font-size:14px}.large-text .mission-summary strong{font-size:14px}.large-text .stat-label{font-size:14px}.large-text .timing-scale{font-size:13px}.large-text .customer-status,.large-text .customer-name{font-size:13px}.large-text .primary-button{font-size:23px}.large-text .modal .primary-button{font-size:20px}.large-text .item-bar img{width:22px}.large-text .item-bar kbd{display:none}.large-text .customer-trait{display:none}.large-text .heat-row{font-size:12px}.large-text .toast{font-size:16px}.large-text .street{min-height:105px}.large-text .cooking-heading h2{font-size:23px}
.reduced-motion *,.reduced-motion *:before,.reduced-motion *:after{animation:none!important;transition:none!important}.reduced-motion .float-text{transform:translateX(-50%)}.reduced-motion .ambient{display:none}@media(prefers-reduced-motion:reduce){.game-shell *,.game-shell *:before,.game-shell *:after{animation:none!important;transition:none!important}.float-text{transform:translateX(-50%)}}

/* Three regions: status, living market, one primary action. */
:root{--text-title:24px;--text-body:15px;--text-label:13px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--radius-card:14px;--radius-button:12px}
.topbar{height:56px;min-height:56px;padding:8px 15px;position:relative}.icon-button{width:36px;height:36px}.district{font-size:12px;letter-spacing:0}.top-actions{gap:5px}.brand{margin:2px 19px 12px}.brand h1{font-size:30px}.brand h1 span{font-size:11px}.day-stamp{padding:6px 8px}.day-stamp strong{font-size:27px}.game-shell:not(.is-playing) .stats,.game-shell:not(.is-playing) .objective{display:none}.stats{margin:1px 15px 0;border:1.5px solid #d4c49a;border-radius:14px;background:#fff9eaf2;gap:0;padding:9px 0 8px;box-shadow:0 3px 0 #ac996c18}.stat{border:0;border-radius:0;box-shadow:none;background:transparent;padding:2px 11px}.stat+.stat{border-left:1px solid #e1d4b3}.stat>strong{font-size:27px;margin-top:4px}.stat-label{font-size:13px;color:#7a6b48}.stat>small{font-size:11px;margin-top:4px;line-height:1.3}.time-stat.urgent{border-radius:10px}.goal-track{height:4px;margin-top:8px}.mission-summary{margin:0 19px 7px;background:transparent;border-top:1px solid #d7c8a18c;border-bottom:1px solid #d7c8a18c;border-radius:0;min-height:39px;padding:7px 2px;gap:8px;color:#87764e}.mission-summary>span{flex:1;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mission-summary strong{flex:none;font-size:14px;color:#6a834a}.mission-summary>b{margin-left:4px}.is-playing .mission-summary{display:none}
.street{min-height:240px}.street-sign{top:9px;font-size:11px;padding:4px 11px}.customer-row{inset:40px 17px 30px;gap:12px}.customer img.person{height:calc(100% - 65px);max-height:160px;bottom:5px;width:100%}.customer .shadow{bottom:5px}.order-bubble{top:0;bottom:auto;max-width:132px;padding:8px 5px 7px;border-width:1.5px;border-radius:13px}.order-top{gap:2px}.order-top b{font-size:14px;white-space:nowrap;letter-spacing:-.3px}.order-top img{height:25px;width:25px}.customer-name,.customer-trait{display:none}.customer-status{font-size:12px;line-height:1.3;margin-top:4px}.patience-track{height:5px;margin-top:6px}.customer .order-bubble kbd{top:-10px;left:-4px;font-size:11px;min-width:22px}.selected .order-bubble{border:2px solid #bc8d3d;background:#fff6cf;box-shadow:0 2px 0 #b58c4725}.selected .order-bubble:before{bottom:-18px;left:calc(50% - 7px)}.stall{bottom:-17px}.game-shell:not(.is-playing) .order-bubble{display:none}.game-shell:not(.is-playing) .street{min-height:250px}.game-shell:not(.is-playing) .customer-row{inset:40px 21px 35px}.game-shell:not(.is-playing) .customer img.person{height:84%;max-height:230px;bottom:15px}.game-shell:not(.is-playing) .customer .shadow{bottom:15px}.game-shell:not(.is-playing) .street-sign{top:10px;font-size:12px;letter-spacing:1px;color:#967d4b;padding:5px 14px}.game-shell:not(.is-playing) .scene-caption{display:block;position:absolute;left:50%;top:42px;transform:translateX(-50%);white-space:nowrap;color:#856b45;font-size:13px;background:#fff9e5c9;border-radius:8px;padding:5px 9px}.scene-caption .live-dot{display:none}
.workbench{padding:15px 17px 10px;border-radius:23px 23px 0 0}.bench-top{font-size:19px;line-height:1.4;margin-bottom:13px}.bench-top .section-note{display:none}.bench-top .tiny-spark{font-size:21px}.mode-selector{gap:8px}.mode-selector button{min-height:60px;padding:8px 4px;border-width:1.5px;border-bottom-width:3px}.mode-selector button b{font-size:17px}.mode-selector button span{font-size:12px;line-height:1.3}.mode-help{font-size:13px;line-height:1.5;margin:10px 0 11px;text-align:left;color:#7c6a48;min-height:39px}.menu-preview{display:none}.day-tasks-summary{display:none}.game-shell:not(.is-playing) #primary{height:58px}.game-shell:not(.is-playing) .action-hint{margin-top:8px;font-size:13px;line-height:1.5}
.is-playing .workbench{padding-top:14px}.objective{margin:0 0 9px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;gap:7px;min-height:23px}.objective>div{display:flex;align-items:center}.objective small,.objective>span:last-child{display:none}.objective-icon{height:22px;width:22px;border:0;background:transparent;font-size:20px;color:#ae9050}.objective strong{font-size:15px;color:#647c47;font-weight:650}.cooking-heading{height:43px;margin-bottom:7px}.dish-medallion{height:42px;width:42px}.cooking-heading small{font-size:12px}.cooking-heading h2{font-size:22px}.quality-tag{font-size:12px;padding:5px 6px}.step-list{display:none}.cooking-view{min-height:133px}.timing-label{font-size:14px;margin:8px 0 8px}.timing-label b{font-size:13px}.timing-track{height:30px;border-width:4px;border-radius:11px}.needle{height:32px}.timing-scale{font-size:12px;margin:6px 0 10px}.idle-message{height:77px;font-size:16px;padding:10px 4px;line-height:1.5}.primary-button{font-size:22px;min-height:54px;height:54px;border-radius:12px}.action-hint{font-size:13px;line-height:1.45;margin:7px 0 0;min-height:19px}.heat-row{font-size:12px;margin:10px 0 6px;gap:9px}.heat-meter{height:5px}.item-bar{margin:0;gap:7px}.item-bar button{min-height:46px;border:1px solid #d8c69c;border-bottom-width:2px;background:#f8efd9;border-radius:10px;padding:5px 7px;gap:3px}.item-name{font-size:13px}.item-bar img{width:26px;height:29px}.item-count{font-size:10px;min-width:19px;height:14px;line-height:14px;right:3px;top:2px}.item-bar kbd{right:4px;bottom:2px;font-size:10px}.item-bar.is-locked{opacity:.65}.is-tutorial .item-bar{display:none}.is-tutorial .heat-row{display:none}.bottom-nav{min-height:60px;padding:8px 13px 9px;border-top:1px solid #d7c9a4;background:#f5ecd5}.nav-item{min-height:43px;color:#867e5b}.nav-item b{font-size:14px}.wallet small{font-size:11px;color:#8c7950}.wallet strong{font-size:20px;color:#916d35}
/* Toast occupies the header notification lane only, including above drawers. */
.toast{top:6px;bottom:auto;left:9px;right:9px;width:auto;max-width:none;min-height:44px;max-height:52px;display:flex;align-items:center;justify-content:center;padding:7px 11px;border:1.5px solid #c6b079;border-radius:12px;background:#fff9eafc;font-size:13px;line-height:18px;color:#725c34;box-shadow:0 3px 10px #4a513326;z-index:60;transform:translateY(-8px);overflow:hidden}.toast.show{transform:translateY(0)}.event-banner{font-size:12px;max-width:94%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:none}.float-text{font-size:26px;top:32%}.float-text small{font-size:13px}
/* Fixed drawer heading and actions; only the middle content scrolls. */
.modal{display:flex;flex-direction:column;overflow:hidden;padding:0;max-height:96%;border-radius:21px}.modal-header{flex:none;position:relative;padding:15px 18px 11px;background:#fff8e7;border-bottom:1px solid #e4d6b5}.modal-header .modal-eyebrow{margin-top:7px;font-size:11px}.modal-header h2{font-size:23px;margin-bottom:5px;padding:0 12px}.modal-header .modal-subtitle{font-size:14px;line-height:1.5;margin:0;color:#806d4a}.modal-body{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:15px 18px}.modal-body>:first-child{margin-top:0}.modal-footer{flex:none;padding:0 18px 15px;background:#fff4df;border-top:1px solid #e3d3b1}.modal-footer .primary-button{margin-top:12px}.modal-close{top:9px;right:8px;width:36px;height:36px;background:#f7ecd2}.modal-section-title{font-size:18px}.modal .secondary-button{font-size:15px;min-height:45px}.modal-body .collection-card p,.modal-body .mission-card p,.modal-body .upgrade-info small{font-size:14px}.modal-body .collection-card b,.modal-body .mission-heading b{font-size:17px}
@media(max-height:800px){.topbar{height:52px;min-height:52px}.brand{margin-bottom:8px}.brand h1{font-size:29px}.stats{padding:7px 0 6px}.stat{padding:1px 10px}.stat>small{font-size:10px}.street{min-height:195px}.customer-row{inset:36px 16px 23px}.customer img.person{max-height:136px}.game-shell:not(.is-playing) .street{min-height:230px}.game-shell:not(.is-playing) .customer img.person{max-height:205px}.workbench{padding:13px 16px 9px}.is-playing .workbench{padding-top:12px}.cooking-view{min-height:127px}.cooking-heading{height:40px;margin-bottom:5px}.objective{margin-bottom:7px}.timing-label{margin-top:6px}.timing-scale{margin-bottom:8px}.heat-row{margin-top:7px}.bottom-nav{min-height:57px;padding-top:6px;padding-bottom:6px}.mode-selector button{min-height:57px}.mode-help{margin:8px 0;min-height:39px}.bench-top{margin-bottom:10px}}
@media(max-width:650px){.game-shell{min-height:0;max-width:480px}.topbar{padding-top:max(8px,env(safe-area-inset-top));height:calc(52px + env(safe-area-inset-top));min-height:52px}.toast{top:max(6px,env(safe-area-inset-top))}.bottom-nav{padding-bottom:max(9px,env(safe-area-inset-bottom))}.game-shell:not(.is-playing) .brand h1{font-size:30px}.modal-layer{padding:61px 9px 12px;align-items:center}.modal{max-height:100%}.stats{margin-left:13px;margin-right:13px}}
@media(max-height:700px){.game-shell{height:100dvh;min-height:0;border-radius:0;max-height:none}.topbar{height:48px;min-height:48px;padding-top:5px;padding-bottom:5px}.icon-button{height:34px;width:34px}.stats{padding:6px 0;margin-top:0}.stat>strong{font-size:25px;margin-top:3px}.stat>small{display:none}.goal-track{margin-top:5px}.stat-label{font-size:12px}.is-playing .street{min-height:154px}.customer-row{inset:30px 14px 18px;gap:10px}.customer img.person{height:calc(100% - 46px);max-height:100px;bottom:2px}.order-bubble{padding:6px 4px}.order-top b{font-size:13px}.order-top img{height:22px;width:22px}.customer-status{font-size:11px;margin-top:3px}.patience-track{margin-top:4px;height:4px}.stall{bottom:-19px}.workbench,.is-playing .workbench{padding:10px 13px 8px}.objective{margin:0 0 5px;min-height:20px}.objective strong{font-size:14px}.objective-icon{font-size:18px;height:19px;width:19px}.cooking-heading{height:35px;margin-bottom:3px}.dish-medallion{width:35px;height:35px}.dish-medallion img{width:34px;height:34px}.cooking-heading h2{font-size:20px}.cooking-heading small{font-size:11px}.quality-tag{font-size:11px}.cooking-view{min-height:118px}.timing-label{margin:6px 0 7px;font-size:14px}.timing-label b{font-size:12px}.timing-track{height:28px}.needle{height:30px}.timing-scale{font-size:12px;margin:5px 0 7px}.idle-message{height:77px;font-size:15px}.primary-button{height:52px;min-height:52px}.heat-row{margin:7px 0 5px;font-size:11px}.item-bar button{min-height:44px}.action-hint{font-size:12px;line-height:1.4;margin-top:5px;min-height:17px}.bottom-nav{min-height:54px;padding-top:5px;padding-bottom:5px}.nav-item{min-height:41px}.brand{margin-bottom:7px}.brand h1,.game-shell:not(.is-playing) .brand h1{font-size:28px}.mission-summary{min-height:34px;margin-bottom:3px;padding-top:5px;padding-bottom:5px}.game-shell:not(.is-playing) .street{min-height:195px}.game-shell:not(.is-playing) .customer-row{inset:35px 20px 29px}.game-shell:not(.is-playing) .customer img.person{height:83%;max-height:164px;bottom:7px}.game-shell:not(.is-playing) .scene-caption{font-size:12px;top:33px}.game-shell:not(.is-playing) .street-sign{top:4px;padding:4px 12px;font-size:11px}.bench-top{font-size:18px;margin-bottom:8px}.mode-selector button{min-height:52px}.mode-selector button b{font-size:16px}.mode-selector button span{font-size:11px}.mode-help{font-size:12px;min-height:36px;margin:7px 0}.game-shell:not(.is-playing) #primary{height:54px}.game-shell:not(.is-playing) .action-hint{font-size:12px;margin-top:6px}.is-tutorial .item-bar,.is-tutorial .heat-row{display:none}.toast{max-height:44px;top:3px;padding:4px 10px;font-size:12px;line-height:17px}.modal-layer{padding-top:50px}.modal-header{padding:12px 14px 10px}.modal-body{padding:12px 14px}.modal-footer{padding:0 14px 12px}}
@media(max-width:370px){.topbar{padding-left:11px;padding-right:11px}.district{font-size:11px}.item-name{font-size:12px}.item-bar img{width:23px;height:26px}.item-bar button{padding-left:3px;padding-right:5px}.item-count{right:2px}.item-bar kbd{right:2px}.wallet{min-width:72px}.nav-item b{font-size:13px}.brand h1 span{display:none}.timing-label{font-size:14px}.modal-body .collection-card p{font-size:13px}.modal-header h2{font-size:22px}.quality-tag{max-width:80px}.cooking-heading h2{font-size:20px}}
.large-text .stat-label{font-size:14px}.large-text .objective strong{font-size:17px}.large-text .action-hint{font-size:14px}.large-text .timing-label{font-size:16px}.large-text .cooking-view{min-height:139px}.large-text .mode-help{font-size:15px;min-height:45px}.large-text .mode-selector button span{font-size:13px}.large-text .item-name{font-size:14px}.large-text .item-bar img{width:22px}.large-text .toast{font-size:14px}.large-text .street{min-height:145px}.large-text .modal-body p,.large-text .modal-body small{font-size:16px}.large-text .modal-header h2{font-size:25px}.large-text .modal-header .modal-subtitle{font-size:16px}.large-text .customer-name,.large-text .customer-trait{display:none}.large-text .customer-status{font-size:13px}.large-text .order-top b{font-size:14px}

/* Elevation is consistent across screens: warm ambient shadow, no black halo. */
:root{--shadow-control:0 2px 3px #785b2710,0 5px 12px #9776480b;--shadow-card:0 3px 7px #775b2710,0 10px 24px #86643112;--shadow-panel:0 -5px 13px #7356290c,0 -16px 36px #8f693c1c;--shadow-dialog:0 6px 16px #394b3520,0 24px 60px #394a363b;--shadow-toast:0 4px 10px #56613b1f,0 12px 28px #56613b20}
.stats{box-shadow:var(--shadow-card);border-color:#d8cba9}.workbench{box-shadow:var(--shadow-panel);border-top:2px solid #fffdf3}.order-bubble{box-shadow:var(--shadow-card)}.selected .order-bubble{box-shadow:0 0 0 2px #ffe8af55,var(--shadow-card)}.modal{box-shadow:var(--shadow-dialog)}.toast{box-shadow:var(--shadow-toast)}.mode-selector button,.item-bar button,.icon-button{box-shadow:var(--shadow-control)}.mode-selector button[aria-pressed="true"]{box-shadow:inset 0 1px #ffffed,0 4px 10px #6e91461a}.primary-button{box-shadow:inset 0 2px #ffedc8,0 3px 5px #aa622217,0 10px 20px #c1853b24}.primary-button:active{box-shadow:inset 0 1px #ffedc8,0 2px 5px #aa622211}.mission-card,.collection-card{box-shadow:0 3px 9px #9b794c0c}.bottom-nav{box-shadow:0 -3px 13px #93723d08}.is-playing .objective{display:none}.stat>small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.is-playing .street{min-height:185px}.is-playing .empty-slot{opacity:0}.collection-tabs{display:flex;gap:6px;margin:0 0 15px;padding:4px;border:1px solid #daccaa;border-radius:12px;background:#f3e8ca;position:sticky;top:-15px;z-index:2}.collection-tab{min-height:42px;flex:1;font-size:16px;font-weight:700;border:0;border-radius:8px;background:transparent;color:#8a7b53}.collection-tab[aria-selected="true"],.collection-tab[aria-pressed="true"]{background:#fff9e7;color:#5f7c43;box-shadow:var(--shadow-control)}.collection-progress{height:6px;border-radius:7px;overflow:hidden;background:#ded4ae;margin:9px 0 6px}.collection-progress i{height:100%;display:block;background:#96b36d;transition:width .3s}.collection-metric{font-size:12px;color:#8d774e;line-height:1.5;margin:5px 0}.collection-benefit{font-size:13px;color:#628044;line-height:1.5;margin-top:7px;background:#edf0d4;border-radius:6px;padding:5px}.collection-card .collection-benefit{color:#628044;text-align:center}.collection-card p.collection-metric{text-align:center;font-size:12px}.growth-list{margin:14px 0;padding:10px 12px;border:1px solid #c7d3a3;border-radius:11px;background:#edf2d6}.growth-list h3{font-size:16px;margin:0 0 8px;color:#68824a}.growth-entry{font-size:14px;line-height:1.5;margin:5px 0;color:#668047}.growth-entry b{font-weight:750;color:#6d8548}.items-grid .collection-card{padding:14px 11px}.items-grid .collection-card img{height:90px}.items-grid .collection-card p{font-size:14px}.items-grid .collection-card kbd{margin-top:4px}.modal-body .section-note{color:#85724e;font-size:13px}.modal-footer .result-actions .secondary-button{margin-top:8px}.is-playing .cooking-view{height:134px;min-height:134px}.is-playing .idle-message{height:78px}
@media(max-height:800px){.is-playing .cooking-view{height:128px;min-height:128px}.is-playing .street{min-height:182px}.is-playing .idle-message{height:78px}}
@media(max-height:700px){.is-playing .street{min-height:180px}.is-playing .customer-row{inset:12px 15px 34px}.is-playing .customer img.person{height:100px;max-height:100px;bottom:-5px}.is-playing .order-bubble{top:0;max-height:62px}.is-playing .stall{height:76px;object-fit:cover;object-position:top;bottom:-10px}.is-playing .grill-food{bottom:37px}.is-playing .steam{bottom:44px}.is-playing .counter-glow{bottom:47px}.is-playing .cooking-view{height:120px;min-height:120px}.is-playing .idle-message{height:78px}.large-text.is-playing .cooking-view{height:137px;min-height:137px}.large-text.is-playing .street{min-height:163px}.collection-tabs{top:-12px}.modal-footer .primary-button{font-size:17px}}
@media(max-width:370px){.stat{padding-left:8px;padding-right:8px}.stat>strong{font-size:25px}.stat-label{font-size:12px}.collection-tab{font-size:15px}.collection-card .collection-benefit{font-size:12px}}

.growth-entry{display:flex;align-items:center;gap:9px;padding:7px 0}.growth-entry+.growth-entry{border-top:1px solid #d6dfb9}.growth-entry img{width:37px;height:43px;flex:none;object-fit:contain}.growth-entry span{min-width:0;flex:1}.growth-entry b{display:block;font-size:15px}.growth-entry small{display:block;font-size:13px;line-height:1.5;color:#7d8a56;margin-top:3px}.collection-card small{display:block;font-size:12px;line-height:1.5;color:#8b7952}.collection-metric b{font-size:14px;margin:6px 0 3px}.collection-metric span{display:block;font-size:12px}.collection-benefit small{font-size:11px;color:#87905d}.items-grid .collection-card{display:flex;flex-direction:column;align-items:center}.items-grid .collection-card p{text-align:left}.large-text .growth-entry b{font-size:17px}.large-text .growth-entry small{font-size:15px}

/* Selected customer is identified by text, outline, arrow and portrait light. */
.is-playing .customer.selected:after{content:"当前顾客";position:absolute;top:-12px;left:50%;transform:translateX(-50%);z-index:5;padding:3px 9px;white-space:nowrap;border:1.5px solid #fff8d9;border-radius:7px;background:#678745;color:#fff9dc;font-size:12px;line-height:1.25;font-weight:750;box-shadow:0 2px 5px #3b512b20;pointer-events:none}.is-playing .selected .order-bubble{border:2.5px solid #709149;background:#f7f5ce;box-shadow:0 0 0 3px #f7edb177,var(--shadow-card);padding-top:13px}.is-playing .selected .order-bubble:before{color:#6f9045;font-size:16px;bottom:-21px}.is-playing .selected img.person{filter:drop-shadow(0 0 3px #ffefa8) drop-shadow(0 0 9px #ffe8a399)}.is-playing .selected .shadow{background:#cdb15977;box-shadow:0 0 15px 8px #ffefb980}.customer[aria-pressed="true"]:focus-visible{outline:3px solid #648a43;outline-offset:3px;border-radius:12px}.is-playing #primary{height:64px;min-height:64px;font-size:24px;letter-spacing:1px;border-radius:14px}.is-playing .action-hint{margin-top:8px}.is-playing .item-bar{margin-top:4px}.is-playing .heat-row{margin-top:9px}
@media(max-width:650px) and (min-height:701px){.is-playing #primary{height:72px;min-height:72px;font-size:26px}.is-playing .primary-spark{font-size:24px}.is-playing #primary kbd{font-size:13px;padding:5px 7px}.is-playing .item-bar{margin-top:5px}.is-playing .customer-row{top:42px}}
@media(max-height:700px){.is-playing #primary{height:64px;min-height:64px;font-size:24px}.is-playing .street{min-height:160px}.is-playing .customer-row{top:17px;bottom:33px}.is-playing .customer img.person{height:91px;max-height:91px;bottom:-9px}.is-playing .selected .order-bubble{padding-top:10px}.is-playing .selected .order-bubble:before{bottom:-18px}.is-playing .customer.selected:after{font-size:11px;top:-11px;padding:2px 7px}.is-playing .action-hint{margin-top:6px}.is-playing .heat-row{margin-top:6px}.is-playing .item-bar{margin-top:2px}}
@media(max-height:600px){.game-shell{min-width:0}.topbar{height:44px;min-height:44px;padding-top:4px;padding-bottom:4px}.icon-button{width:32px;height:32px}.stats{padding-top:4px;padding-bottom:4px}.stat>strong{font-size:24px}.stat-label{font-size:11px}.stat>small{display:none}.is-playing .street{min-height:145px}.is-playing .customer-row{top:17px;bottom:28px}.is-playing .customer img.person{height:83px;max-height:83px;bottom:-9px}.is-playing .stall{height:66px;bottom:-8px}.is-playing .grill-food{bottom:31px}.is-playing .workbench{padding-top:9px;padding-bottom:7px}.is-playing .cooking-view{height:99px;min-height:99px}.timing-scale{display:none}.is-playing .idle-message{height:60px}.is-playing #primary{height:60px;min-height:60px;font-size:23px}.is-playing .heat-row{margin-top:4px;margin-bottom:4px;font-size:10px}.is-playing .item-bar button{min-height:42px}.is-playing .item-bar img{width:21px}.is-playing .item-name{font-size:11px}.is-playing .action-hint{margin-top:4px;font-size:12px}.bottom-nav{padding-top:4px;padding-bottom:4px;min-height:50px}.nav-item{min-height:40px}.nav-item b{font-size:12px}.wallet strong{font-size:18px}.brand,.game-shell:not(.is-playing) .brand{margin:0 15px 5px}.brand h1,.game-shell:not(.is-playing) .brand h1{font-size:26px}.day-stamp strong{font-size:23px}.mission-summary{margin-left:15px;margin-right:15px;min-height:30px;padding:4px 0}.mission-summary>span,.mission-summary strong{font-size:13px}.game-shell:not(.is-playing) .street{min-height:173px}.game-shell:not(.is-playing) .customer img.person{max-height:145px}.bench-top{font-size:17px;margin-bottom:7px}.mode-selector button{min-height:49px}.mode-selector button span{font-size:10px}.mode-help{font-size:12px;min-height:36px;margin:6px 0}.game-shell:not(.is-playing) #primary{height:52px}.game-shell:not(.is-playing) .action-hint{font-size:11px}.game-shell:not(.is-playing) .workbench{padding-top:10px;padding-bottom:7px}.toast{top:2px;max-height:40px;min-height:40px;padding-top:3px;padding-bottom:3px;line-height:16px}.modal-layer{padding-top:46px;padding-bottom:7px}.modal-header h2{font-size:21px}.modal-header .modal-subtitle{font-size:13px}.modal-header .modal-eyebrow{font-size:10px;margin:5px 0}.modal-header{padding-top:10px}.modal-footer .primary-button{min-height:48px;height:48px}.modal-body{padding-top:12px;padding-bottom:12px}.large-text.is-playing .cooking-view{min-height:111px;height:111px}.large-text.is-playing .street{min-height:132px}.large-text .action-hint{font-size:13px}}

.toast{top:2px;min-height:44px;max-height:48px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;padding:6px 10px;line-height:18px}.large-text .toast{font-size:14px;line-height:18px}@media(max-height:700px){.toast{min-height:40px;max-height:42px;line-height:16px;padding:5px 9px}.large-text .toast{line-height:16px}}@media(max-height:600px){.toast{min-height:40px;max-height:40px;line-height:16px;padding:4px 9px}}

@media(max-height:700px){.large-text.game-shell:not(.is-playing) .street{min-height:180px}}@media(max-height:600px){.large-text.game-shell:not(.is-playing) .street{min-height:143px}.large-text.game-shell:not(.is-playing) .mode-help{font-size:14px;min-height:42px}.large-text.game-shell:not(.is-playing) .mode-selector button span{font-size:11px}}

@media(max-height:700px){.large-text.is-playing .cooking-view{height:119px;min-height:119px}.large-text .timing-scale{display:none}.large-text.is-playing .cooking-heading{height:39px}.large-text.is-playing .idle-message{height:75px}}@media(max-height:600px){.large-text.is-playing .cooking-view{height:111px;min-height:111px}.large-text.is-playing .idle-message{height:67px}}

@media(max-height:600px){.game-shell:not(.is-playing) .street{min-height:150px}.large-text.game-shell:not(.is-playing) .street{min-height:140px}}

@media(max-height:700px){.is-playing .customer:not(.ready) .customer-status{display:none}.is-playing .order-bubble{max-height:none}.is-playing .customer img.person{bottom:-11px}}@media(max-width:340px){.order-top img{width:19px;height:21px}.order-top b,.large-text .order-top b{font-size:12px;letter-spacing:-.3px}}

/* v3 semantic colour: orange acts, forest selects, blue prepares, gold rewards. */
:root{--ink:#294c3d;--muted:#776747;--cream:#fff9ed;--orange:#ffab72;--green:#568e60;--accent-action:#f39559;--accent-selected:#35785d;--accent-drink:#3d91a7;--accent-reward:#b37a22;--text-body:15px;--text-label:13px}
body{background:radial-gradient(ellipse at 78% 83%,#ffe0c898,transparent 48%),radial-gradient(circle,#a3b99233 1px,transparent 1px),#e1ebdc;background-size:auto,22px 22px,auto}.game-shell{background:#fff9ed;border-color:#fffdf5;box-shadow:0 9px 22px #50734718,0 28px 75px #3d614c28,0 2px 0 #a0b696,0 0 0 1px #c6ccb1}.scene-shade{background:linear-gradient(#fff8ebfa,#fff6e7e8 16%,#ffe7c333 30%,transparent 52%,#fff4de 84%)}.brand h1{color:#275e48}.brand h1 span{background:#ffe7c0;color:#a5632e;border-color:#daa268}.district{color:#527659}.icon-button{color:#476e53;background:#fffbee;border-color:#b6c79c}.stats{background:#fffaf0f5;border-color:#d9cdaa;box-shadow:0 4px 10px #8975420f,0 12px 24px #78623816}.stat-label{color:#766545}.stat>strong{color:#355f45}.stat:first-child>strong{color:#956827}.combo-stat>strong{color:#bd6842}.stat>small{color:#7d745a}.goal-track{background:#e4d8b4}.goal-track i{background:#b6a063}.time-stat.urgent strong{color:#b54a37}.mission-summary>span{color:#746343}.mission-summary strong{color:#3f7655}.mission-summary>b{color:#b78841}.workbench{background:linear-gradient(#fffaf0,#fff3dd);border-top-color:#fffdf5}.bench-top{color:#426944}.mode-selector button{color:#756b47;background:#f9efd8;border-color:#d9c698;border-bottom-color:#c1a66f}.mode-selector button[aria-pressed="true"]{color:#356c4b;background:#e7efcc;border-color:#8dab69;border-bottom-color:#7c9a59;box-shadow:inset 0 2px #f8ffe9,0 7px 16px #6a8d4720}.mode-help{color:#6e6047}.cooking-heading h2{color:#3b6141}.cooking-heading small{color:#846843}.quality-tag{color:#517244;border-color:#a8bf88;background:#edf3d8}.timing-label{color:#635237}.timing-label b{color:#49753d}.perfect-zone{background:#79ae62;border-color:#528742}.in-perfect .perfect-zone{background:#5d984a;box-shadow:0 0 11px #91bc7299}.timing-scale{color:#826e48}.action-hint{color:#77613e}.idle-message{color:#77613e}.primary-button{color:#713f25;background:linear-gradient(180deg,#ffc38e,#ffab71 65%,#f59d61);border-color:#da8d50;border-bottom-color:#be713c;box-shadow:inset 0 2px #ffebc8,0 3px 6px #ba71361c,0 13px 27px #bf7a392b}.primary-button:disabled{filter:saturate(.45);opacity:.72}.primary-spark{color:#b56c32}.primary-button kbd{color:#8b5c32;background:#ffdfb1;border-color:#c98f57}.item-bar button{color:#70613f;background:#faf1dc;border-color:#cabb94}.item-bar button.active{color:#386b7a;background:#e0f0ea;border-color:#82b6b9;box-shadow:0 0 0 2px #a9d5d929}.item-bar button:disabled{opacity:.64}.bottom-nav{background:#f6edd8;border-color:#d7c7a0}.nav-item{color:#7e765a}.nav-item.active{color:#3e7b50}.nav-item.active>span{background:#e4efc8}.wallet{color:#8f682c}.wallet strong{color:#9f6b23}.wallet small{color:#7f6940}.coin-icon{background:#f5cc75;border-color:#bc8731;color:#9b6822}.heat-label,.heat-row{color:#a5672d}.heat-meter i{background:linear-gradient(90deg,#e7b450,#f2884f)}.is-fever .heat-row{color:#bf6d24;font-weight:700}.is-playing .customer.selected:after{background:var(--accent-selected);color:#fffdec;border-color:#f9f8dc}.is-playing .selected .order-bubble{border-color:var(--accent-selected);background:#f0f6da;box-shadow:0 0 0 3px #dbeab377,0 5px 13px #51784322}.is-playing .selected .order-bubble:before{color:var(--accent-selected)}.order-bubble{color:#655636;background:#fffbeb;border-color:#d9bf89}.customer.ready .order-bubble{background:#fff0be;border-color:#d0a343}.customer-status{color:#806b40}.patience-track i{background:#7da968}.urgent .patience-track i{background:#cc7350}.modal h2,.modal-header h2{color:#3d684a}.modal-section-title{color:#426c4d}.modal-subtitle,.modal-header .modal-subtitle{color:#756346}.modal .secondary-button{background:#e9f0d6;border-color:#afc18e;color:#496d40}.buy-button{color:#80531d;background:#ffdb9c;border-color:#c59b5b}.mission-heading b,.collection-card b{color:#476f46}.mission-heading>span{color:#9d6317;background:#ffe7ae}.mission-card p,.modal-body .collection-card p{color:#6e6047}.mission-footer{color:#7a6948}.collection-tab[aria-selected="true"]{color:#356f51;background:#fffae9}.collection-benefit{background:#e7efcf;color:#4d743e}.result-total strong{color:#b77a24}.result-total span{color:#856231}.result-grid b{color:#507644}.result-note{color:#56703e;background:#ebf1d5}.toast{background:#fffbed;color:#624c2e;border-color:#c3ab74}.toast[data-priority="2"]{border-color:#d7a34f;background:#fff2ce}.toast[data-priority="3"]{border-color:#b58658}
/* New minigames share the exact cooking footprint and one primary input. */
.process-area{min-height:78px;padding-top:5px}.process-heading{display:flex;align-items:center;gap:6px;min-height:22px;line-height:1.3;margin-bottom:7px;color:#426b76}.process-heading>span{font-size:18px;flex:none}.process-heading>strong{font-size:15px;flex:1;min-width:0}.process-heading>b{font-size:13px;color:#437b8a;font-variant-numeric:tabular-nums;white-space:nowrap}.process-progress{height:25px;border:3px solid #f2f8e6;border-radius:11px;background:#dbe7dd;box-shadow:0 0 0 1.5px #a4c4ba;overflow:hidden}.process-progress>i{display:block;height:100%;width:0;border-radius:6px;background:linear-gradient(90deg,#89c4bb,#4c9da4);box-shadow:inset 0 2px #c9e7d877;transition:width .1s linear}.process-hint{font-size:12px;line-height:1.4;color:#6b7c69;margin:6px 0 0}.ingredient-choices{display:flex;gap:7px}.ingredient-choices button{flex:1;min-width:0;min-height:46px;position:relative;border:1.5px solid #a4c0a2;border-bottom:3px solid #91ae8e;border-radius:10px;background:#eef4dc;color:#4f7155;display:flex;align-items:center;justify-content:center;gap:4px;padding:5px 5px}.ingredient-choices img{height:28px;width:28px;object-fit:contain}.ingredient-choices b{font-size:14px;white-space:nowrap}.ingredient-choices kbd{position:absolute;top:-8px;left:4px;min-width:18px;font-size:10px;padding:1px 4px;background:#fff7de;color:#7f714e}.process-area[data-type="choice"] .process-progress,.process-area[data-type="choice"] .process-hint{display:none}.process-area[data-type="choice"] .process-heading{margin-bottom:10px}.process-area[data-type="choice"] .process-heading strong{color:#3b745b}.game-shell[data-category="drink"] .dish-medallion{background:#e3efdf;border-color:#b2c8b1}.game-shell[data-category="drink"] .cooking-heading h2{color:#39737a}.game-shell[data-category="drink"] .quality-tag{background:#e5f1e8;color:#4d7d7c;border-color:#a6c4b4}.game-shell[data-process="hold"] .timing-label b{color:#3e8192}.game-shell[data-process="hold"] .timing-track{box-shadow:0 0 0 1.5px #9ac0bc;background:linear-gradient(90deg,#d4e7dc,#dce7be 70%,#efbf91);border-color:#eef4de}.game-shell[data-process="hold"] .perfect-zone{background:#67aab0;border-color:#3d8792}.game-shell[data-process="tap"] #primary{background:linear-gradient(#ffc88d,#f6a362);border-color:#d58b4e}.game-shell.is-holding #primary{transform:translateY(2px);box-shadow:inset 0 3px 10px #b3712933,0 4px 14px #b67b2d22;border-bottom-width:2px;filter:saturate(1.1)}
.loadout-slots{display:flex;gap:7px;margin:10px 0 16px;padding:8px;border:1px solid #c8d3ad;border-radius:13px;background:#edf2da}.loadout-slot{position:relative;flex:1;min-width:0;min-height:88px;border:1.5px solid transparent;border-radius:10px;background:#fffae7;padding:7px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#66804d}.loadout-slot img{width:33px;height:33px;object-fit:contain}.loadout-slot b,.loadout-slot span{font-size:12px;line-height:1.3}.loadout-slot kbd{font-size:10px;position:absolute;top:3px;left:3px;padding:1px 3px;min-width:15px}.loadout-slot[aria-pressed="true"]{background:#e1edc9;border-color:#658b4e;box-shadow:0 2px 8px #567a3c1b}.loadout-slot:disabled{opacity:.72}.equipment-card{display:flex;flex-direction:column;align-items:center}.equipment-card>p{flex:1}.equip-button{width:100%;min-height:44px;margin-top:10px;border:1.5px solid #8eac78;border-bottom:3px solid #76985f;border-radius:9px;background:#deebc9;font-size:13px;color:#496b37;font-weight:700;padding:7px}.equip-button:disabled{border-color:#d2c9ac;background:#eae6d3;color:#998d6b}.equipment-card.is-equipped{border-color:#9cb680;background:#f0f4de}.loadout-note{font-size:13px;line-height:1.5;color:#7d6c4a}
/* Cup motion, extraction stream and bubbles are separate layers over the counter. */
.drink-effects{position:absolute;inset:0;z-index:7;pointer-events:none;display:none}.game-shell[data-category="drink"] .drink-effects{display:block}.game-shell[data-category="drink"] .grill-food{left:68%;width:12%;bottom:calc(12cqw - 8px);transform:translateX(-50%);filter:drop-shadow(0 3px 2px #6a74452b)}.game-shell[data-category="drink"] .grill-food[data-dish="coffee"]{left:29%}.game-shell[data-category="drink"] .steam-two{left:64%}.game-shell[data-category="drink"] .steam-one{left:24%}.game-shell[data-category="drink"] .grill-food{animation:none}.game-shell[data-process="tap"].is-holding .grill-food,.game-shell.shake-hit .grill-food{animation:shake-cup .26s ease-in-out infinite}.game-shell[data-process="hold"].is-holding .grill-food{animation:fill-cup .7s ease-in-out infinite alternate}.coffee-stream{position:absolute;bottom:calc(18cqw + 9px);height:15px;width:3px;left:29%;background:linear-gradient(#91603a,#c69960);border-radius:3px;opacity:0;box-shadow:0 0 3px #c3a26988}.game-shell[data-process="hold"].is-holding .coffee-stream{opacity:.8;animation:pour-stream .16s linear infinite}.drink-bubble{position:absolute;left:69%;bottom:20%;height:7px;width:7px;border:1.5px solid #d6f1d7;border-radius:50%;opacity:0}.drink-bubble:nth-child(3){left:66%;width:5px;height:5px;animation-delay:.4s!important}.drink-bubble:nth-child(4){left:72%;width:4px;height:4px;animation-delay:.8s!important}.game-shell[data-process="tap"] .drink-bubble{animation:drink-bubble 1.5s ease-out infinite}.drink-spark{position:absolute;left:73%;bottom:26%;width:8px;height:8px;background:#fff3a7;clip-path:polygon(50% 0,60% 38%,100% 50%,60% 62%,50% 100%,40% 62%,0 50%,40% 38%);opacity:0}.game-shell[data-process="tap"].shake-hit .drink-spark{animation:drink-bubble .6s ease-out}
@keyframes shake-cup{0%,100%{transform:translate(-50%,0) rotate(-8deg)}50%{transform:translate(-50%,-6px) rotate(9deg)}}@keyframes fill-cup{to{transform:translate(-50%,-1px) scale(1.015)}}@keyframes pour-stream{50%{opacity:.5;width:2px}}@keyframes drink-bubble{0%{opacity:0;transform:translateY(4px) scale(.5)}30%{opacity:.85}100%{opacity:0;transform:translate(6px,-35px) scale(1.2)}}
@media(max-height:700px){.process-area{min-height:72px;padding-top:4px}.process-heading{margin-bottom:6px;min-height:20px}.process-heading>strong{font-size:14px}.process-heading>b{font-size:12px}.process-progress{height:24px}.process-hint{font-size:12px;margin-top:5px}.ingredient-choices button{min-height:44px;padding:4px}.ingredient-choices img{width:25px;height:25px}.ingredient-choices b{font-size:13px}.process-area[data-type="choice"] .process-heading{margin-bottom:8px}.game-shell[data-category="drink"] .grill-food{bottom:31px;width:11%}.coffee-stream{bottom:58px;height:12px}.drink-bubble{bottom:34%}}
@media(max-height:600px){.process-area{padding-top:3px;min-height:55px}.process-heading{min-height:18px;margin-bottom:5px}.process-progress{height:22px}.process-hint{display:none}.process-heading>strong{font-size:13px}.process-heading>b{font-size:11px}.ingredient-choices button{min-height:39px}.ingredient-choices img{width:22px;height:22px}.ingredient-choices b{font-size:12px}.process-area[data-type="choice"] .process-heading{margin-bottom:6px}.game-shell[data-category="drink"] .grill-food{bottom:27px}.coffee-stream{bottom:50px}}
.large-text .process-heading>strong{font-size:17px}.large-text .process-heading>b{font-size:14px}.large-text .process-hint{font-size:14px}.large-text .ingredient-choices b{font-size:15px}.large-text .loadout-slot b{font-size:14px}.large-text .equip-button{font-size:15px}.large-text .process-area[data-type="choice"] .process-heading{min-height:20px}@media(max-height:700px){.large-text .process-hint{display:none}.large-text .process-heading>strong{font-size:15px}.large-text .process-heading>b{font-size:12px}.large-text .ingredient-choices b{font-size:14px}}

.game-shell[data-process="hold"] .perfect-zone{background:#79ae66;border-color:#51844d}.game-shell[data-dish="lemonade"] .coffee-stream{left:68%;background:linear-gradient(#e5c77e,#f0d793);box-shadow:0 0 3px #f3e7b3}.game-shell[data-process="choice"] #primary{font-size:20px;letter-spacing:0}.game-shell[data-process="choice"] #primary .primary-spark{display:none}.large-text.game-shell[data-process="choice"] #primary{font-size:21px}

.equipment-card.equipped{border-color:#9cb680;background:#f0f4de}.loadout-slot small{font-size:11px;color:#7b865d}

.process-area[data-type="choice"] .process-heading{margin-bottom:6px}.large-text .process-hint{margin-top:4px;line-height:1.3}@media(max-height:600px){.ingredient-choices button{min-height:44px}.is-playing .cooking-view{height:118px;min-height:118px}.is-playing .street{min-height:126px}.process-area[data-type="choice"] .process-heading{margin-bottom:4px}.large-text.is-playing .cooking-view{height:122px;min-height:122px}.large-text.is-playing .street{min-height:121px}}
