/* The collection inherits the existing cream, brown outline, food SVGs and character art. */
.game-shell{max-width:1240px;margin:0 auto;padding:22px 24px 32px;color:var(--ink);min-height:100dvh;background-color:var(--cream);background-image:radial-gradient(#3d2b230d 1.4px,transparent 1.4px);background-size:22px 22px}.game-shell a{color:inherit;text-decoration:none}.game-shell button,.game-shell summary,.game-shell a{-webkit-tap-highlight-color:transparent}.game-shell button{touch-action:manipulation}.game-shell button:focus-visible,.game-shell a:focus-visible,.game-shell summary:focus-visible,.game-shell input:focus-visible{outline:3px solid #ad733b;outline-offset:3px}.game-shell .btn{min-height:46px;padding:10px 18px;line-height:1.4}.game-shell .btn:disabled{opacity:.5}.game-shell h2{font-size:18px}.game-topbar,.hub-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.game-back{border:0;background:transparent;font-size:13px;font-weight:800;min-height:44px;padding:4px 0}.game-open-badge{border:1.5px solid var(--line);padding:6px 12px;background:#e7edd3;border-radius:999px;font-size:11px;white-space:nowrap}.game-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0}.game-title p{font-size:10px;letter-spacing:2px;color:var(--ink-soft);font-weight:700}.game-title h1{font-size:clamp(28px,5vw,44px);letter-spacing:-1px;margin:5px 0}.game-title span{font-size:13px;color:var(--ink-soft);line-height:1.6}.title-stamp{white-space:pre-line;text-align:center;transform:rotate(9deg);padding:12px;border:2px solid #bd7357;border-radius:8px;color:#a45e48!important;font-weight:800;font-size:12px!important;flex:none}.game-guide{border:1.5px solid #3d2b2330;border-radius:14px;background:#fffaf3;margin-bottom:18px;font-size:12px;line-height:1.7}.game-guide summary{padding:12px 16px;min-height:44px;cursor:pointer;font-weight:700}.game-guide ol{margin:0 12px 10px 32px;padding:0 10px}.game-guide>p{padding:0 16px 14px;color:var(--ink-soft);font-size:11px}.game-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:20px;align-items:start}.game-workbench,.game-controls,.game-result{background:#fffdf7;border:2px solid var(--line);border-radius:24px;box-shadow:var(--shadow);min-width:0;padding:18px}.game-controls{background:#fcf0de}.game-controls h2{margin:18px 0 6px}.game-muted{color:var(--ink-soft);font-size:11px;line-height:1.65;margin:6px 0 12px}.customer-ticket{display:flex;gap:12px;align-items:center;background:#ffedda;border:1.5px solid #3d2b2325;padding:12px;border-radius:16px}.customer-ticket>div{min-width:0}.customer-ticket small{font-size:10px;color:#9c694a}.customer-ticket h2{font-size:14px;margin:2px 0}.customer-ticket p{font-size:12px;line-height:1.65}.game-choice{border:0;padding:0;margin:0 0 18px;min-width:0}.game-choice legend{font-size:12px;font-weight:800;margin-bottom:9px}.choice-buttons{display:flex;flex-wrap:wrap;gap:7px}.choice-buttons button{border:1.5px solid #3d2b2338;border-radius:12px;padding:9px 12px;min-height:44px;background:#fffdf7;font-size:12px;font-weight:700}.choice-buttons button[aria-pressed=true]{border-color:var(--ink);background:#ffcf69;box-shadow:0 3px #3d2b2320}.game-budget{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;font-weight:700}.game-budget input{width:90px;min-height:44px;background:white;border:1.5px solid var(--line);border-radius:12px;padding:8px;font-size:16px}.game-food-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.game-food-grid button{min-width:0;padding:10px 4px;border:1.5px solid #3d2b2330;background:#fffdf7;border-radius:14px;display:flex;flex-direction:column;align-items:center;gap:4px;min-height:110px}.game-food-grid button:not(:disabled):hover{background:#ffedcf;border-color:var(--line)}.game-food-grid b{font-size:12px}.game-food-grid small{font-size:9px;color:var(--ink-soft);line-height:1.5;text-align:center}.game-food-grid button:disabled{opacity:.42;cursor:default}.game-food-grid button[aria-pressed=true]{background:#ffedcf;border-color:var(--ink)}.game-actions{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}.game-cook-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center;width:100%}.game-cook-actions>span{font-size:12px;font-weight:700;margin-right:auto}.game-status-line{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px;padding-top:14px;border-top:1.5px dashed #3d2b2330;margin-top:10px}.game-status-line span{color:var(--ink-soft)}.game-status-line .is-warning{color:var(--red-deep);font-weight:800}.grill-stage{position:relative;margin:12px auto 0;max-width:580px}.shop-art{width:100%;height:auto;display:block;overflow:visible}.grill-stage>.shop-art{opacity:.95}.grill-slots{position:absolute;inset:7% 3% 30%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;align-items:center}.skewer-slot{border:1.5px solid #3d2b2340;background:#fff8eaeF;border-radius:14px;padding:5px;position:relative;min-width:0;display:flex;align-items:center;flex-direction:column;box-shadow:0 3px #3d2b2320}.skewer-slot b{font-size:11px;z-index:1}.skewer-slot small{font-size:9px;z-index:1;line-height:1.5}.skewer-slot svg{z-index:1}.skewer-stick{position:absolute;height:64px;width:4px;top:7px;background:#b89262;border-radius:2px;transform:rotate(-25deg)}.skewer-slot:disabled{opacity:.65}.heat-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.heat-cards article{padding:10px;border:1px solid #3d2b2320;border-radius:12px;background:#fff8ed}.heat-cards article>b{font-size:11px}.heat-status{margin-top:8px;font-size:10px}.heat-label{display:flex;justify-content:space-between;margin-bottom:3px}.heat-track{height:7px;background:#ece1d0;border-radius:99px;overflow:hidden}.heat-track i{display:block;height:100%;background:#d4ae69}.heat-ready .heat-track i{background:#83ad68}.heat-burned .heat-track i{background:#c46a56}.heat-status small{font-size:9px;color:var(--ink-soft)}.game-pause-note{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border:2px solid #ba8c52;background:#fff0c9;padding:10px 14px;border-radius:14px;font-size:12px;margin:0 0 14px}.game-pause-note .btn{min-height:40px;font-size:12px;padding:8px 12px}.game-footnote{font-size:10px;color:var(--ink-soft);line-height:1.7;text-align:center;margin-top:24px}.game-result{max-width:740px;margin:0 auto;text-align:center;padding:28px}.result-eyebrow{font-size:11px;letter-spacing:2px;color:#9f6c4c;margin-bottom:8px}.game-result h2{font-size:25px}.game-score{font-size:76px;font-weight:900;color:var(--red-deep);line-height:1.25;margin-top:12px}.game-score small{font-size:16px;margin-left:6px}.game-best{font-size:11px;color:var(--ink-soft);margin-bottom:18px}.game-breakdown{display:grid;gap:8px;max-width:420px;margin:18px auto;text-align:left}.game-breakdown>div{display:flex;justify-content:space-between;border-bottom:1px dashed #3d2b2330;padding:5px 0;font-size:12px;gap:10px}.game-review{display:flex;gap:12px;padding:14px;border:1.5px solid #3d2b2330;background:#ffedda;border-radius:16px;text-align:left;align-items:center;margin-top:20px}.game-review b{font-size:13px}.game-review p{font-size:12px;line-height:1.7;margin-top:5px}.game-result-items{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0;justify-content:center}.game-result-items>div{display:flex;gap:6px;align-items:center;font-size:11px;border-radius:10px;background:#fff1da;padding:6px}.game-result>p{font-size:12px}.game-confirm-backdrop{position:fixed;inset:0;background:#3d2b2399;z-index:1000;display:grid;place-items:center;padding:18px}.game-confirm{background:#fffaf1;border:2px solid var(--line);border-radius:20px;width:min(400px,100%);padding:22px}.game-confirm p{font-size:13px;line-height:1.7;margin-top:8px}.malatang-game-nav{max-width:1500px;margin:0 auto;padding:12px 18px 0;display:flex;justify-content:space-between;gap:12px;font-size:12px}.malatang-game-nav a{color:var(--ink);font-weight:800;text-decoration:none;min-height:32px;display:flex;align-items:center}.malatang-game-nav span{font-size:11px;color:var(--ink-soft);align-self:center}.hub-logo{display:flex;align-items:center;gap:10px}.hub-logo>span{background:#ffcf69;border:2px solid var(--line);border-radius:13px;font-size:22px;font-weight:900;padding:7px 10px;box-shadow:0 3px #3d2b2320;transform:rotate(-5deg)}.hub-logo b{font-size:19px}.hub-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px;margin:32px 0 38px;padding:32px;background:#f9e7cb;border:2px solid var(--line);border-radius:28px;box-shadow:var(--shadow);position:relative;overflow:hidden}.hub-kicker{font-size:12px;font-weight:800;letter-spacing:2px;color:#91684d}.hub-hero h1{font-size:clamp(36px,6vw,64px);line-height:1.17;letter-spacing:-2px;margin:16px 0}.hub-intro{max-width:380px;font-size:13px;line-height:1.8;color:var(--ink-soft)}.hub-counter{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.hub-counter>span{font-size:10px;font-weight:700;padding:5px 10px;background:#fff7e8;border:1px solid #3d2b2335;border-radius:999px}.hub-hero-art{position:relative;min-width:0}.hero-sticker{position:absolute;right:0;bottom:4px;white-space:pre-line;transform:rotate(-9deg);background:#faac8c;border:2px solid var(--line);padding:12px;font-size:12px;line-height:1.5;font-weight:800;border-radius:6px;box-shadow:var(--shadow)}.hub-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 2px 18px}.hub-section-title h2{font-size:21px}.hub-section-title span{font-size:11px;color:var(--ink-soft)}.store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.store-card{background:#fffdf7;border:2px solid var(--line);border-radius:22px;box-shadow:var(--shadow);overflow:hidden;display:block;transition:transform .15s}.store-card:hover{transform:translateY(-4px)}.store-card-top{display:flex;justify-content:space-between;padding:14px 16px 0;align-items:center}.store-card-top>span{font-size:12px;font-weight:800;color:#a17b5a}.store-card-top i{font-style:normal;font-size:10px;background:#f8dda6;padding:4px 8px;border-radius:99px}.store-card>.shop-art{width:80%;margin:0 auto}.store-card-copy{padding:0 18px 18px}.store-card-copy h2{font-size:23px;margin-bottom:6px}.store-card-copy small{font-size:10px;font-weight:800;color:#9f6c4c}.store-card-copy p{font-size:12px;line-height:1.7;color:var(--ink-soft);margin:9px 0 16px}.store-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px dashed #3d2b2340;padding-top:12px}.store-card-bottom span{font-size:10px;color:var(--ink-soft)}.store-card-bottom b{font-size:12px;border-radius:99px;background:#ffcf69;padding:8px 12px;border:1.5px solid var(--line)}.hub-footer{text-align:center;margin-top:40px;font-size:16px;font-weight:800}.hub-footer small{display:block;font-size:10px;font-weight:400;color:var(--ink-soft);margin-top:8px}.kitchen-steam path{animation:steam 2s ease-in-out infinite}.cup-shaking{transform-origin:180px 130px;animation:shake .3s ease-in-out infinite}.recipe-price{font-size:22px;color:var(--red-deep);font-weight:900}@keyframes steam{50%{opacity:.25;transform:translateY(-4px)}}@keyframes shake{25%{transform:rotate(-3deg)}75%{transform:rotate(3deg)}}
@media(max-width:900px){.game-layout{grid-template-columns:1fr}.game-controls{order:2}.game-food-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.game-workbench{max-width:100%}.grill-stage{max-width:520px}.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-controls .game-choice{margin-bottom:14px}}
@media(max-width:600px){.game-shell{padding:12px 12px calc(24px + env(safe-area-inset-bottom,0px))}.game-title{margin:16px 0}.game-title h1{font-size:31px}.game-title span{font-size:11px}.title-stamp{padding:8px;font-size:10px!important}.game-guide{margin-bottom:12px}.game-workbench,.game-controls{padding:12px;border-radius:20px}.customer-ticket{padding:10px;gap:10px}.customer-ticket .avatar{width:46px!important;height:46px!important}.customer-ticket p{font-size:11px}.game-food-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.game-food-grid button{min-height:104px;padding:8px 2px}.game-food-grid b{font-size:11px}.game-food-grid small{font-size:9px}.game-food-grid svg{width:52px;height:52px}.grill-slots{gap:4px;inset:2% 0 29%}.skewer-slot{padding:2px;min-height:74px}.skewer-slot svg{width:46px;height:46px}.skewer-slot b{font-size:10px}.skewer-slot small{font-size:8px}.skewer-stick{height:46px;top:4px}.heat-cards{gap:6px}.heat-cards article{padding:8px}.game-cook-actions>span{flex:1 1 100%;text-align:center;margin:0}.game-actions>.btn{flex:1;min-width:0}.game-result{padding:20px 14px}.game-result h2{font-size:22px}.game-score{font-size:68px}.game-review{padding:10px;gap:10px}.game-review .avatar{width:50px!important;height:50px!important}.game-result .game-actions{flex-direction:column}.game-result .game-actions .btn{width:100%}.hub-header{gap:8px}.hub-logo b{font-size:17px}.hub-logo>span{font-size:19px;padding:6px 9px}.hub-hero{grid-template-columns:1fr;gap:8px;padding:22px 18px;margin:22px 0 26px;border-radius:24px}.hub-hero h1{font-size:43px;margin:12px 0}.hub-intro{font-size:12px}.hub-counter{margin-top:14px;gap:6px}.hub-counter>span{font-size:9px}.hub-hero-art{max-width:300px;margin:0 auto;width:100%}.hub-hero-art .shop-art{max-height:195px}.hero-sticker{font-size:10px;padding:8px;right:-4px;bottom:10px}.hub-section-title{align-items:start;flex-direction:column;gap:5px}.store-grid{grid-template-columns:1fr;gap:14px}.store-card{display:grid;grid-template-columns:40% 1fr;align-items:center}.store-card-top{grid-column:1/-1;padding:10px 12px 0}.store-card>.shop-art{width:100%;padding:6px}.store-card-copy{padding:12px 12px 14px 4px}.store-card-copy h2{font-size:21px}.store-card-copy p{font-size:11px;margin:6px 0 10px}.store-card-bottom{flex-wrap:wrap;padding-top:8px;gap:6px}.store-card-bottom b{font-size:11px;padding:6px 10px}.store-card-bottom span{font-size:9px}.hub-footer{margin-top:28px}.malatang-game-nav{padding:8px 12px 0}.malatang-game-nav span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.kitchen-steam path,.cup-shaking{animation:none}.store-card{transition:none}}
.tea-preview{max-width:340px;margin:18px auto 0}.tea-result-art{max-width:240px;margin:12px auto}.recipe-caption{display:grid;gap:5px;text-align:center;margin:8px 0 18px}.recipe-caption b{font-size:15px}.recipe-caption span{font-size:11px;color:var(--ink-soft)}.recipe-caption small{font-size:11px;color:#9e724e}.topping-grid{margin-top:12px}.tea-layout .game-controls{background:#edf0df}.tea-preview .shop-art{max-height:280px}.store-tea{background:#f4f3e7}
.pot-stage{position:relative;max-width:520px;margin:15px auto 0}.pot-items{position:absolute;inset:15% 10% 27%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;align-content:center}.pot-item{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1.5px solid #3d2b2350;background:#fff8eaef;border-radius:14px;padding:4px;min-height:76px}.pot-item b{font-size:10px}.pot-item>span{font-size:10px;font-weight:800}.pot-ready{background:#e2edca;border-color:#628345;box-shadow:0 0 0 2px #a4c17a60}.pot-burned{background:#f5d4c9;border-color:#bb6f55}.pot-item:disabled{opacity:.65}.pot-heat-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;margin-bottom:12px}.pot-legend{text-align:center;min-height:18px}.served-plate{margin-top:20px;padding-top:16px;border-top:1.5px dashed #3d2b2330}.served-plate h2{font-size:13px}.game-warning{padding:12px;background:#ffe6d9;border-radius:12px;color:#a94c37;font-size:12px;line-height:1.6;margin:12px 0}.game-hotpot .game-controls{background:#f6e6d5}.store-hotpot{background:#fff1e7}@media(max-width:600px){.pot-item{min-height:65px;padding:2px}.pot-item svg{width:36px;height:36px}.pot-item b,.pot-item>span{font-size:9px}.pot-items{inset:13% 5% 25%}.pot-stage{margin-top:15px}}
.breakfast-stage{position:relative;max-width:490px;margin:12px auto 0}.pancake-fillings{position:absolute;left:22%;right:22%;top:27%;display:flex;justify-content:center;align-items:center;gap:5px}.breakfast-step{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:5px}.breakfast-step span{font-size:10px;border:1px solid #3d2b2330;padding:5px 8px;border-radius:99px;background:#f3eadc}.breakfast-step .current{background:#ffcf69;border-color:var(--ink);font-weight:800}.breakfast-heats{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:12px 0}.breakfast-tools{margin:0;flex:1 1 100%}.breakfast-result-art{max-width:270px;margin:8px auto}.breakfast-ledger{padding:14px;background:#fff9e9;border:1px dashed #3d2b2340;border-radius:12px;margin-top:16px}.breakfast-ledger b{font-size:12px}.breakfast-ledger p{font-size:11px;line-height:1.7;margin-top:5px}.game-breakfast .game-controls{background:#f7ead1}.game-breakfast .game-controls .game-choice:last-of-type{margin-top:20px}.store-breakfast{background:#fff7e5}@media(max-width:600px){.pancake-fillings svg{width:34px;height:34px}.breakfast-step{gap:4px}.breakfast-step span{font-size:9px;padding:5px}.breakfast-tools .btn{flex:1;font-size:11px;padding:8px 10px}.breakfast-heats{gap:10px}}
.game-mobile-dock{display:none}.game-shell[data-paused=true] .kitchen-steam path{animation-play-state:paused}.game-shell:fullscreen{overflow-y:auto;background-color:var(--cream)}@media(max-width:900px){.game-shell:not(.game-home){padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))}.game-mobile-dock{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(10px + env(safe-area-inset-bottom,0px));width:min(640px,calc(100vw - 20px));z-index:65;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;background:#fffdf7;border:2px solid var(--line);border-radius:18px;box-shadow:var(--shadow-lg)}.game-mobile-dock>span{font-size:11px;font-weight:800;min-width:0}.game-mobile-dock .btn{min-width:120px;flex:none;font-size:12px;padding:8px 12px}.game-shell[data-phase=result],.game-shell[data-phase=shift]{padding-bottom:24px}}
.skewer-ready{background:#eff0d7;border-color:#81975c}.skewer-ready>svg{filter:sepia(.18) saturate(1.1)}.skewer-burned{background:#e7d6c5;border-color:#99704d}.skewer-burned>svg{filter:sepia(.8) brightness(.58)}
