body.buffet-immersive{overflow:hidden!important;overscroll-behavior:none;height:100dvh}.buffet-immersive .games-page{overflow:hidden}.buffet-game.buffet-immersive-game{--cream:#fff5e4;--gold:#ffd074;position:fixed!important;inset:0!important;z-index:10000;width:100vw!important;height:100dvh!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:#10121d;color:var(--cream);font-family:IGPixel,monospace;isolation:isolate;box-shadow:none!important}.buffet-game *{box-sizing:border-box}.buffet-scene{position:absolute;inset:0;display:block;width:100%;height:100%;image-rendering:pixelated;touch-action:none;outline:none}.buffet-top-hud{position:absolute;top:0;left:0;right:0;z-index:10;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:max(10px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left));pointer-events:none}.buffet-life-box,.buffet-money-box,.buffet-action-box>.buffet-button{background:#383943dd;border:3px solid #171824;box-shadow:inset 2px 2px #74717b,inset -3px -3px #252633,2px 3px #080913aa;clip-path:polygon(5px 0,calc(100% - 5px) 0,calc(100% - 5px) 3px,100% 3px,100% calc(100% - 4px),calc(100% - 5px) calc(100% - 4px),calc(100% - 5px) 100%,5px 100%,5px calc(100% - 3px),0 calc(100% - 3px),0 4px,5px 4px)}.buffet-life-box{display:flex;align-items:center;gap:3px;padding:7px 9px;min-height:50px}.buffet-life-box img{width:30px;height:30px;image-rendering:pixelated}.buffet-life-box .is-empty{filter:grayscale(1) brightness(.47)}.buffet-money-box{display:flex;align-items:center;gap:8px;padding:6px 12px;min-height:50px;color:#ffcd6a;min-width:100px}.buffet-money-box img{width:32px;height:32px;image-rendering:pixelated;animation:buffet-coin-shine 4s steps(2) infinite}.buffet-money-box strong{font:400 clamp(14px,2.6vw,23px)/1 IGPixel,monospace;text-shadow:2px 2px #35251f}.buffet-action-box{display:flex;gap:7px;pointer-events:auto}.buffet-action-box>.buffet-button{width:50px;height:50px;min-height:50px;padding:7px!important;display:grid;place-items:center;background:#383943df!important}.buffet-action-box img{display:block;width:32px;height:32px;image-rendering:pixelated}.buffet-bottom-hud{position:absolute;left:50%;bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(620px,94vw);display:flex;flex-direction:column;align-items:center;gap:14px;z-index:10;pointer-events:none}.buffet-double-tray{display:grid;grid-template-columns:1fr 1fr;gap:14px;width:100%}.buffet-metal-tray{background:#606773d9;border:4px solid #222635;box-shadow:inset 2px 3px #b1b7bd,inset -3px -4px #363d4b,3px 5px #0c10158c;clip-path:polygon(6px 0,calc(100% - 6px) 0,calc(100% - 6px) 4px,100% 4px,100% calc(100% - 5px),calc(100% - 5px) calc(100% - 5px),calc(100% - 5px) 100%,6px 100%,6px calc(100% - 4px),0 calc(100% - 4px),0 4px,6px 4px);padding:9px 10px 12px}.buffet-game .buffet-metal-tray h3{font:400 12px/1.5 IGPixel,monospace!important;color:#f6f3e8;text-align:center;margin:0 0 8px;letter-spacing:0;text-shadow:2px 2px #353c48}.buffet-five-slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.buffet-food-slot{aspect-ratio:1;background:#353b46bb;border:2px solid #343b49;box-shadow:inset 2px 2px #1e2531,1px 1px #a2abb1;display:grid;place-items:center;min-width:0}.buffet-food-slot img{display:block;width:100%;height:100%;max-height:45px;image-rendering:pixelated}.buffet-food-slot img[hidden]{display:none}.buffet-food-slot.is-spoiled img{filter:grayscale(1) brightness(.6)}.buffet-joystick{position:relative;display:grid;place-items:center;width:112px;height:112px;border-radius:50%;background:#34394285;border:3px solid #a5a7ac;opacity:.35;touch-action:none;pointer-events:auto;user-select:none;transition:opacity .12s;outline:none;box-shadow:inset 0 0 0 2px #171d26,0 0 0 2px #171d26;flex:none}.buffet-joystick.is-touching,.buffet-joystick:focus-visible{opacity:.75}.buffet-joystick-knob{position:absolute;width:44px;height:44px;border:2px solid #979ba3;border-radius:50%;background:#7378809c;box-shadow:inset 2px 2px #c0c1be77,2px 2px #262c3377;pointer-events:none}.joy-arrow{position:absolute;width:12px;height:12px;background:#b2b4ba;clip-path:polygon(50% 0,100% 100%,0 100%);pointer-events:none}.joy-up{top:10px}.joy-down{bottom:10px;transform:rotate(180deg)}.joy-left{left:8px;transform:rotate(-90deg)}.joy-right{right:8px;transform:rotate(90deg)}.buffet-joystick.is-disabled{pointer-events:none}.buffet-speech-layer{position:absolute;inset:0;pointer-events:none;z-index:4;overflow:hidden}.buffet-order-bubble{position:absolute;left:0;top:0;background:#fffdf2;border:3px solid #141622;box-shadow:2px 3px #161720;min-height:46px;padding:6px 7px;clip-path:polygon(8px 0,calc(100% - 8px) 0,calc(100% - 8px) 3px,100% 3px,100% calc(100% - 4px),calc(100% - 5px) calc(100% - 4px),calc(100% - 5px) 100%,5px 100%,5px calc(100% - 4px),0 calc(100% - 4px),0 4px,8px 4px);overflow:visible}.buffet-order-bubble:after{content:'';position:absolute;bottom:-15px;left:calc(50% - 8px);width:18px;height:15px;background:#fffdf2;clip-path:polygon(0 0,100% 0,100% 5px,70% 5px,70% 10px,35% 10px,35% 100%,0 100%);filter:drop-shadow(2px 2px #141622)}.buffet-order-icons{display:flex;align-items:center;justify-content:center;gap:3px;min-height:28px;color:#161b29}.buffet-order-icons img{width:clamp(18px,2.7vw,30px);height:clamp(18px,2.7vw,30px);image-rendering:pixelated;flex:1;min-width:0;object-fit:contain}.buffet-order-icons span{font:400 11px/1 IGPixel,monospace;flex:none}.buffet-world-patience{position:absolute;left:2px;right:2px;top:-13px;height:8px;border:2px solid #111722;background:linear-gradient(to right,var(--patience-color) var(--patience),#3b4150 var(--patience));box-shadow:0 1px #9ca29f;z-index:2}.buffet-order-bubble.is-impatient .buffet-world-patience{animation:buffet-impatient .22s steps(2) infinite}.buffet-toast{position:absolute;left:50%;transform:translateX(-50%);top:max(76px,calc(env(safe-area-inset-top) + 65px));width:max-content;max-width:88vw;z-index:12;background:#1a1b2bd4;color:#ffdf9a;padding:9px 13px;font:400 9px/1.8 IGPixel,monospace;text-align:center;pointer-events:none;margin:0}.buffet-toast[hidden]{display:none}.buffet-button{font:400 10px/1.7 IGPixel,monospace!important;min-height:44px;padding:12px 10px!important;color:#fff5e4!important;background:#4b3549!important;border:3px solid #121320!important;box-shadow:inset 0 2px #aa9381,inset 0 -4px #2b202e,2px 3px #080914;border-radius:0!important;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;text-align:center;text-decoration:none!important;touch-action:manipulation}.buffet-button:hover:not(:disabled){filter:brightness(1.15)}.buffet-button:focus-visible{outline:3px solid #ffe09a;outline-offset:2px}.buffet-button:disabled{opacity:.45;cursor:default}.buffet-primary{background:#a9652d!important;box-shadow:inset 0 3px #ffd379,inset 0 -4px #5b362c,2px 3px #080914}.buffet-overlay{position:absolute;inset:0;z-index:50;background:#0c0e1cce;backdrop-filter:blur(2px);display:flex;justify-content:center;align-items:center;padding:max(16px,env(safe-area-inset-top)) 12px max(16px,env(safe-area-inset-bottom));overflow:hidden}.buffet-panel{display:flex;flex-direction:column;gap:12px;width:min(620px,100%);max-height:100%;overflow:auto;overscroll-behavior:contain;padding:22px;border:4px solid #caa45f;box-shadow:inset 0 0 0 3px #17131e,5px 7px #05070cc7;background:repeating-linear-gradient(90deg,#241423 0,#301b2b 20px,#241423 40px);scrollbar-width:thin;scrollbar-color:#c7a569 #211523}.buffet-game .buffet-panel h3{font:400 clamp(14px,2vw,20px)/1.7 IGPixel,monospace!important;color:#ffdc8f;text-align:center;margin:0 0 8px;letter-spacing:0}.buffet-panel p,.buffet-panel small{font:15px/1.6 system-ui,sans-serif;margin:0;color:#efe4d5}.buffet-panel small,.buffet-panel .buffet-help{font-size:13px;color:#cbbdb5}.buffet-panel select{font:15px/1.5 system-ui,sans-serif;padding:10px;min-height:45px;border:2px solid #9f8050;background:#1b1524;color:#fff0d9;border-radius:0}.buffet-welcome-art{display:block;width:100%;height:145px;object-fit:cover;image-rendering:pixelated;border:2px solid #826b47}.buffet-shop-tabs{display:flex;gap:5px}.buffet-shop-tabs .buffet-button{flex:1;font-size:8px!important;padding:10px 5px!important}.buffet-shop-tabs [aria-selected=true]{background:#97632f!important;outline:2px solid #e7c584}.buffet-shop{display:grid;grid-template-columns:1fr 1fr;gap:10px}.buffet-shop>div{padding:12px;border:2px solid #705e4d;background:#171521;display:flex;flex-direction:column;gap:9px}.buffet-shop>p{grid-column:1/-1}.buffet-shop strong{font:600 15px/1.4 system-ui,sans-serif;color:#ffe0a3}.buffet-shop p{font-size:13px;flex:1}.buffet-result-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.buffet-result-stats p{display:flex;justify-content:space-between;gap:10px;background:#171323;padding:11px;font-size:13px}.buffet-result-stats strong{color:#ffdb8d}.buffet-share-preview{width:min(100%,230px);align-self:center}.buffet-records p{padding:9px 0;border-bottom:1px solid #705637}
@keyframes buffet-coin-shine{0%,88%,100%{filter:brightness(1)}92%{filter:brightness(1.35)}}@keyframes buffet-impatient{0%,100%{translate:0}50%{translate:1px}}
@media(max-width:500px){.buffet-top-hud{gap:6px;padding-left:8px;padding-right:8px}.buffet-life-box{padding:6px;gap:0;min-height:43px}.buffet-life-box img{width:24px;height:25px}.buffet-money-box{min-height:43px;min-width:88px;gap:4px;padding:5px 8px}.buffet-money-box img{width:27px;height:27px}.buffet-money-box strong{font-size:13px}.buffet-action-box{gap:4px}.buffet-action-box>.buffet-button{width:43px;height:43px;min-height:43px;padding:5px!important}.buffet-action-box img{width:28px;height:28px}.buffet-bottom-hud{width:94vw;gap:10px;bottom:max(10px,env(safe-area-inset-bottom))}.buffet-double-tray{gap:9px}.buffet-metal-tray{padding:5px 6px 8px;border-width:3px}.buffet-game .buffet-metal-tray h3{font-size:9px!important;margin-bottom:5px}.buffet-five-slots{gap:4px}.buffet-food-slot{border-width:1px}.buffet-joystick{width:100px;height:100px}.buffet-joystick-knob{width:40px;height:40px}.buffet-panel{padding:16px 12px;gap:10px}.buffet-shop{grid-template-columns:1fr}.buffet-shop-tabs .buffet-button{font:600 11px/1.4 system-ui,sans-serif!important}.buffet-welcome-art{height:115px}.buffet-toast{font-size:8px;top:max(64px,calc(env(safe-area-inset-top) + 57px))}}
@media(max-height:600px) and (min-width:600px){.buffet-bottom-hud{width:min(480px,75vw);gap:8px;bottom:8px}.buffet-metal-tray{padding:5px 7px 8px}.buffet-game .buffet-metal-tray h3{font-size:9px!important;margin-bottom:5px}.buffet-joystick{width:80px;height:80px}.buffet-joystick-knob{width:32px;height:32px}.buffet-welcome-art{display:none}}
@media(hover:hover){.buffet-game.uses-keyboard .buffet-joystick{opacity:.15}}
@media(prefers-reduced-motion:reduce){.buffet-game *{animation:none!important;transition:none!important}}
.buffet-order-bubble{background:transparent;border:0;box-shadow:none;clip-path:none;padding:0;min-height:0}.buffet-order-icons{background:#fffdf2;border:3px solid #141622;padding:6px 7px;min-height:45px;box-shadow:2px 3px #161720;clip-path:polygon(7px 0,calc(100% - 7px) 0,calc(100% - 7px) 3px,100% 3px,100% calc(100% - 4px),calc(100% - 5px) calc(100% - 4px),calc(100% - 5px) 100%,5px 100%,5px calc(100% - 4px),0 calc(100% - 4px),0 4px,7px 4px)}
.buffet-order-icons img{width:32px;height:32px;max-width:32px;max-height:32px;flex:1;min-width:0}.buffet-order-icons{min-height:49px}
/* Compact 55–60% order bubbles; icons carry the order without separator glyphs. */
.buffet-order-icons{gap:2px;min-height:28px;padding:3px 4px;border-width:2px;box-shadow:1px 2px #161720;clip-path:polygon(4px 0,calc(100% - 4px) 0,calc(100% - 4px) 2px,100% 2px,100% calc(100% - 2px),calc(100% - 3px) calc(100% - 2px),calc(100% - 3px) 100%,3px 100%,3px calc(100% - 2px),0 calc(100% - 2px),0 2px,4px 2px)}.buffet-order-icons img{width:18px;height:18px;max-width:18px;max-height:18px;flex:0 1 18px;min-width:0}.buffet-order-icons span{display:none}.buffet-world-patience{top:-5px;left:1px;right:1px;height:4px;border-width:1px;box-shadow:none}.buffet-order-bubble:after{bottom:-8px;left:calc(50% - 5px);width:10px;height:8px;filter:drop-shadow(1px 1px #141622)}
