:root{font-family:ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif;color:#493224;background:#f9e8d8;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-text-size-adjust:100%;line-height:1.25}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-width:0}button{font:inherit;color:inherit}.app-shell{width:100%;max-width:540px;min-height:100vh;min-height:100dvh;margin-inline:auto;background:#fff6e7;padding:12px clamp(12px,4vw,22px) 12px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.app-header{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px}.wordmark{font-size:clamp(23px,6vw,31px);font-weight:900;letter-spacing:-1px}.wordmark span{color:#a74b5f}.star-counter{display:flex;align-items:center;gap:7px;flex-shrink:0;font-size:20px;font-weight:800;background:#fffdf9;border:2px solid #f1d69e;padding:6px 14px;border-radius:24px}.game-content,.kitchen{min-width:0}.kitchen{display:grid;gap:8px}h1,h2,h3{margin:0}h1{font-size:clamp(24px,6.5vw,30px);text-align:center;font-weight:850;margin-top:2px}h2{font-size:15px;font-weight:800}.customer-area{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.4fr);align-items:center;gap:12px}.mascot{min-width:0;display:grid;justify-items:center}.mascot img{grid-area:1 / 1;width:100%;max-width:142px;height:auto;aspect-ratio:1;display:block;object-fit:contain;visibility:hidden}.mascot img[data-active=true]{visibility:visible}.order-card{position:relative;min-width:0;background:#fffdfa;border:2px solid #eccab4;border-radius:20px;padding:12px 8px;text-align:center;box-shadow:0 3px #f0dfcb}.order-card:before{content:"";position:absolute;left:-7px;top:45%;width:12px;height:12px;transform:rotate(45deg);background:#fffdfa;border-left:2px solid #eccab4;border-bottom:2px solid #eccab4}.order-food{display:flex;align-items:center;justify-content:center;gap:3px;margin-top:9px}.assembly{background:#f3d7bd;border:2px solid #eac5a7;border-radius:22px;padding:8px 12px 10px;text-align:center}.assembly h2{color:#66442f}.plate{width:clamp(168px,51vw,218px);max-width:100%;aspect-ratio:1.16;margin:9px auto 0;display:grid;place-items:center;border-radius:50%;background:#fffefb;border:3px solid #c4dce0;box-shadow:0 4px #d5ad8c,inset 0 0 0 5px #e6f0f0}.plate-well{width:88%;height:86%;border:2px solid #e4eceb;border-radius:50%;background:#fff}.ingredients{display:grid;gap:6px}.ingredient-group{min-width:0}.ingredient-group h3{text-align:center;font-size:14px;font-weight:800;margin-bottom:4px}.main-group h3{color:#805222}.side-group h3{color:#4e6742}.ingredient-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mains-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ingredient{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;min-width:0;min-height:84px;padding:3px;border:2px solid #dfc5b0;border-radius:18px;font-size:clamp(12px,3.5vw,16px);font-weight:750;text-align:center;box-shadow:0 3px #e5c9b4}.food-sprite{display:block;object-fit:contain}.ingredient .food-sprite{width:56px;height:56px;max-width:100%;pointer-events:none}.mains-grid .ingredient{border-color:#d7b583}.mains-grid .food-sprite{width:60px;height:60px}.ingredient:focus-visible{outline:3px solid #7545a3;outline-offset:2px}.rice{background:#fffdf5}.beehoon{background:#ffedce}.egg{background:#fff0b9}.chicken{background:#ffdfc5}.cucumber{background:#e1f0cd}.fishcake{background:#dceaf5}.luncheon-meat{background:#f6e0ce}.chilli{background:#fbd9da}@media(min-width:541px){.app-shell{padding-top:22px}.kitchen,.ingredient-grid{gap:12px}.ingredient{min-height:96px}.ingredient .food-sprite{width:66px;height:66px}}@media(max-width:450px)and (max-height:650px){.app-shell{padding-top:6px;padding-bottom:max(4px,env(safe-area-inset-bottom))}.app-header{min-height:38px}.star-counter{padding-block:4px}.kitchen{gap:4px}h1{font-size:22px;margin-top:0}.mascot img{max-width:84px}.order-card{padding-block:8px}.order-food{margin-top:5px}.assembly{padding:4px 10px 7px}.plate{width:136px;margin-top:4px}.ingredients{gap:3px}.ingredient-group h3{font-size:12px;margin-bottom:2px}.ingredient-grid{gap:5px}.ingredient{min-height:64px;padding:2px;gap:0;font-size:11px;border-radius:14px}.ingredient.luncheon-meat{font-size:10.5px}.ingredient .food-sprite{width:40px;height:40px}.mains-grid .food-sprite{width:42px;height:42px}}.order-item{position:relative;display:grid;place-items:center;min-width:0;width:100%;max-width:72px;aspect-ratio:1;padding:2px;border:2px solid transparent;border-radius:12px}.order-item .food-sprite{width:100%;height:100%;min-width:0;min-height:0}.order-item--done{border-color:#75a85a;background:#e1f0cd}.order-check{position:absolute;right:-3px;bottom:-5px;display:none;place-items:center;width:17px;height:17px;border-radius:50%;background:#36743d;color:#fff;font-size:12px;font-weight:900}.order-item--done .order-check{display:grid}.plate-stage{display:flex;align-items:center;justify-content:center;gap:10px}.plate-stage .plate{flex-shrink:0;margin-inline:0}.plate-well{position:relative}.plate-item{position:absolute;left:var(--food-x, 72%);top:var(--food-y, 50%);width:var(--food-width, 43%);height:auto;aspect-ratio:1;object-fit:contain;transform:translate(-50%,-50%)}.plate-slot-0{--food-x: 29%;--food-width: 54%}.plate-well[data-meal-size="3"] .plate-slot-1{--food-y: 25%}.plate-well[data-meal-size="3"] .plate-slot-2{--food-y: 75%}.plate-well[data-meal-size="4"] .plate-item:not(.plate-slot-0){--food-x: 74%;--food-width: 32%}.plate-well[data-meal-size="4"] .plate-slot-1{--food-y: 18%}.plate-well[data-meal-size="4"] .plate-slot-3{--food-y: 82%}.ingredient{position:relative;touch-action:manipulation}.ingredient--added{border-color:#75a85a;box-shadow:inset 0 0 0 1px #75a85a,0 3px #e5c9b4}.ingredient--retry{background:#ffe1b3;border-color:#ad641c;box-shadow:inset 0 0 0 2px #ad641c,0 3px #e5c9b4;animation:ingredient-retry-wiggle .24s ease-in-out}@keyframes ingredient-retry-wiggle{0%,to{transform:translate(0)}25%,75%{transform:translate(-2px)}50%{transform:translate(2px)}}@media(prefers-reduced-motion:reduce){.ingredient--retry{animation:none}}.ingredient .ingredient-mark{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:19px;height:19px;border-radius:50%;font-size:13px;font-weight:900;line-height:1}.ingredient-mark:empty{display:none}.ingredient--added .ingredient-mark{background:#36743d;color:#fff}.ingredient--retry .ingredient-mark{width:28px;height:28px;top:2px;right:2px;font-size:22px;background:#ad641c;color:#fff}.ingredient:disabled{opacity:1}.serve-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:84px;min-height:64px;padding:8px 10px;border:2px solid #397740;border-radius:17px;background:#bce8a8;box-shadow:0 3px #7aaf64;color:#214a27;font-weight:850;touch-action:manipulation}.serve-button span{font-size:21px;line-height:1}.serve-button[hidden]{display:none}.serve-button:focus-visible{outline:3px solid #7545a3;outline-offset:2px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.star-counter{min-width:96px;justify-content:center;font-variant-numeric:tabular-nums}.star-counter[data-celebration]{background:#fff0bc;border-color:#b98122}.star-counter[data-celebration]>span:first-child{animation:earned-star .48s ease-out}.star-counter[data-celebration=milestone]{background:#ffe5a1;box-shadow:0 0 0 3px #f3ce80}@keyframes earned-star{0%,to{transform:scale(1)}45%{transform:scale(1.22)}}.serve-button[hidden]{display:flex;visibility:hidden;pointer-events:none}.meal-ready .plate{border-color:#76a65b;box-shadow:0 4px #d5ad8c,inset 0 0 0 5px #e1f0cd}.meal-ready .serve-button{background:#a9df91;box-shadow:0 3px #57924a,0 0 0 2px #e1f0cd}.mascot{position:relative}.celebration-sparkles{display:none;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;color:#a36b16;font-size:22px;line-height:1}.celebration-sparkles>span{position:absolute}.celebration-sparkles>span:nth-child(1){left:5%;top:13%}.celebration-sparkles>span:nth-child(2){right:5%;top:8%}.celebration-sparkles>span:nth-child(3){right:8%;bottom:12%}.kitchen[data-celebration] .celebration-sparkles{display:block;animation:reward-sparkles .56s ease-out}.kitchen[data-celebration=normal] .celebration-sparkles>span:nth-child(3){display:none}.kitchen[data-celebration=milestone] .celebration-sparkles{font-size:26px;animation-duration:.76s}@keyframes reward-sparkles{0%{opacity:.55}30%,75%{opacity:1}to{opacity:.55}}@media(prefers-reduced-motion:reduce){.star-counter[data-celebration]>span:first-child,.kitchen[data-celebration] .celebration-sparkles{animation:none}}.customer-area{grid-template-columns:minmax(0,.78fr) minmax(0,1.85fr);gap:8px}.order-card{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr);column-gap:4px;align-items:center;padding-inline:6px}.order-card:before{display:none}.customer-character{grid-column:1;grid-row:1 / 3;display:grid;place-items:center;min-width:0;width:100%;max-width:94px;aspect-ratio:1;justify-self:center}.customer-character img{grid-area:1 / 1;display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;visibility:hidden}.customer-character img[data-active=true]{visibility:visible}.order-card h2{grid-column:2;align-self:end;font-size:13px}.order-food{grid-column:2;margin-top:3px;align-self:start;gap:1px}@media(max-width:450px)and (max-height:650px){.order-card{padding-block:5px}.order-card h2{font-size:12px}.order-food{margin-top:2px}}.stall-scene{position:relative;isolation:isolate;width:100%;max-width:470px;margin-inline:auto;aspect-ratio:1.34;background:#e7c89e;border-radius:14px;overflow:visible}.stall-frontage-art{position:absolute;inset:0 auto auto 0;width:100%;height:auto;display:block;object-fit:contain;border-radius:14px;pointer-events:none}.stall-scene .mascot{position:absolute;left:52%;top:27%;width:31%;z-index:1;pointer-events:none}.stall-scene .mascot img{max-width:none}.stall-scene .assembly{position:absolute;inset:auto 0 0;height:42%;padding:0;border:0;border-radius:0;background:none;z-index:2;pointer-events:none}.stall-counter-art{position:absolute;width:90%;height:auto;left:5%;bottom:0;display:block;object-fit:contain;pointer-events:none}.stall-scene .plate-stage{position:absolute;top:0;right:0;bottom:0;left:0;display:block}.stall-scene .plate{position:absolute;width:44%;max-width:none;height:auto;aspect-ratio:640 / 423;left:12%;bottom:56%;margin:0;min-height:0;contain:size;border:0;border-radius:50%;background:transparent url(/assets/environment/guilin-environment-serving-plate-v1-game-ready.webp) center / contain no-repeat;box-shadow:none;filter:drop-shadow(0 2px 1px #50351b55)}.stall-scene .plate-well{width:79%;height:72%;background:none;border:0}.stall-scene .plate-well .plate-item{pointer-events:none}.meal-ready .stall-scene .plate{box-shadow:0 0 0 3px #8ccb69}.stall-scene .serve-button{position:absolute;right:7%;bottom:7%;pointer-events:auto}.customer-area{display:block}.order-card{grid-template-columns:minmax(0,.65fr) minmax(0,1.8fr);padding:4px 12px;border-color:#bb8a57;border-radius:14px;background:#fffaf0}.customer-character{max-width:76px}.order-card h2{font-size:13px}.order-food{margin-top:1px;gap:4px}.order-item{max-width:55px}.ingredient{background-color:#f6e4c8;background-repeat:no-repeat;background-position:center top;background-size:auto 61px;border-color:#b58d63;border-radius:12px;box-shadow:0 2px #c9a67a}.mains-grid .ingredient{background-image:url(/assets/environment/guilin-environment-main-tray-v1-game-ready.webp);background-size:min(100%,174px) auto;border-color:#b58d63}.sides-grid .ingredient{background-image:url(/assets/environment/guilin-environment-side-tray-v1-game-ready.webp)}.ingredient--added,.mains-grid .ingredient--added{border-color:#54894b;background-color:#e0efcf;box-shadow:inset 0 0 0 2px #54894b,0 2px #c9a67a}.ingredient--retry,.mains-grid .ingredient--retry{background-color:#ffe1b3;border-color:#ad641c;box-shadow:inset 0 0 0 2px #ad641c,0 2px #c9a67a}.ingredient:disabled:not(.ingredient--added){opacity:.83}.ingredient .food-sprite{position:relative}@media(max-width:450px)and (max-height:650px){.stall-scene{aspect-ratio:1.42}.customer-character{max-width:56px}.order-card{padding-block:3px}.order-item{max-width:43px}.order-card h2{font-size:12px}.ingredient{border-radius:11px}.mains-grid .ingredient{background-size:auto 45px}.sides-grid .ingredient{background-size:auto 46px}}@media(min-width:541px){.mains-grid .ingredient{background-size:min(100%,200px) auto}.sides-grid .ingredient{background-size:auto 72px}}.stall-scene .mascot{left:49%;top:18%;width:35%}.stall-scene .plate{width:25.5%;left:19%;bottom:73%}.order-card{grid-template-columns:minmax(0,.85fr) minmax(0,1.8fr)}.customer-character{max-width:95px}.order-item{max-width:66px}.ingredient .food-sprite{transform:scale(1.2);transform-origin:center 80%}@media(max-width:450px)and (max-height:650px){.stall-scene{aspect-ratio:1.48}.kitchen{gap:3px}.customer-character{max-width:70px}.order-card{padding-block:1px}.order-card h2{line-height:1.1}.order-item{max-width:51px}}@media(min-width:541px){.app-shell{padding-top:14px}.kitchen{gap:8px}}.sound-toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;margin-left:auto;padding:8px;color:#493224;background:#fffdf9;border:2px solid #e0c494;border-radius:16px;touch-action:manipulation}.sound-toggle svg{width:24px;height:24px;display:block;pointer-events:none}.sound-toggle .sound-cross,.sound-toggle[data-muted=true] .sound-waves{display:none}.sound-toggle[data-muted=true] .sound-cross{display:block}.sound-toggle:focus-visible{outline:3px solid #7545a3;outline-offset:2px}@media(max-width:450px)and (max-height:650px){.app-shell{padding-top:4px}}.ingredient--retry{animation-duration:.18s}.motion-copy{position:fixed;display:block;margin:0;padding:0;border:0;z-index:100;pointer-events:none;transform-origin:center;max-width:none;max-height:none}.motion-food{object-fit:contain}.motion-copy[data-motion=star]{font-size:20px;line-height:1.25;text-align:center}.motion-in-flight{visibility:hidden}.kitchen.motion-serving .stall-scene{z-index:3}.mascot[data-pose=idle] img[data-active=true]{transform-origin:center bottom;animation:mascot-breathe 3.6s ease-in-out infinite}@keyframes mascot-breathe{0%,to{transform:scale(1)}50%{transform:scale(1.008,1.018)}}.kitchen.motion-paused .mascot img,.kitchen.motion-paused .ingredient--retry,.kitchen.motion-paused .celebration-sparkles{animation:none}@media(prefers-reduced-motion:reduce){.ingredient--retry,.mascot[data-pose=idle] img[data-active=true]{animation:none}}.music-toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;padding:8px;color:#493224;background:#fffdf9;border:2px solid #e0c494;border-radius:16px;touch-action:manipulation}.music-toggle svg{width:24px;height:24px;display:block;pointer-events:none}.music-toggle .music-cross{display:none}.music-toggle[data-muted=true] .music-cross{display:block}.music-toggle[data-muted=true] .music-note{opacity:.45}.music-toggle:focus-visible{outline:3px solid #7545a3;outline-offset:2px}.app-header{gap:4px}.app-header .wordmark{white-space:nowrap}.app-header .star-counter{min-width:76px;padding-inline:8px;gap:4px}@media(max-width:360px){.app-header .wordmark{font-size:21px}.app-header .star-counter{font-size:18px}}
