:root{--safe-top:var(--safe-area-inset-top,env(safe-area-inset-top,0px));--safe-right:var(--safe-area-inset-right,env(safe-area-inset-right,0px));--safe-bottom:var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px));--safe-left:var(--safe-area-inset-left,env(safe-area-inset-left,0px));--safe-viewport-width:calc(100vw - var(--safe-left) - var(--safe-right));--safe-center-x:calc(50% + (var(--safe-left) - var(--safe-right)) / 2)}html,body{width:100%;height:100%;color:var(--ui-ink);background:#bdd6bd;margin:0;overflow:hidden}#app{isolation:isolate;width:100%;height:100dvh;min-height:min(320px,100dvh);display:flow-root;position:relative;overflow:hidden}@supports (overflow:clip){html,body,#app{overflow:clip}}#world{touch-action:none;position:absolute;inset:0;overflow:hidden}#world canvas,#world svg{outline:none;display:block}#world:focus-visible{outline:3px solid var(--ui-focus);outline-offset:-4px}.vignette{pointer-events:none;background:radial-gradient(at 52% 48%,#0000 50%,#6d805915);position:absolute;inset:0}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.topbar{z-index:10;left:max(24px, var(--safe-left));right:max(24px, var(--safe-right));top:max(22px, var(--safe-top));pointer-events:none;justify-content:space-between;align-items:flex-start;gap:16px;display:flex;position:absolute}.topbar>*{pointer-events:auto}.restaurant-profile{border-radius:18px;align-items:center;gap:10px;min-width:245px;padding:6px 16px 7px 7px;display:flex}.chef-avatar{background:#dae6d0;border:1px solid #b5c4a7;border-radius:15px;flex:0 0 58px;width:58px;height:59px;position:relative}.chef-avatar>img{object-fit:contain;width:66px;height:70px;position:absolute;top:-13px;left:-5px}.level-badge{background:var(--ui-gold);color:#61441f;border:2px solid #9b733a;border-radius:8px;place-items:center;min-width:25px;height:25px;font-size:13px;font-weight:1000;display:grid;position:absolute;bottom:-6px;right:-5px;box-shadow:0 2px #9b733a}.xp{flex:1;min-width:0}.xp strong{-webkit-line-clamp:2;line-clamp:2;white-space:normal;overflow-wrap:anywhere;text-overflow:ellipsis;-webkit-box-orient:vertical;font-size:15px;font-weight:1000;line-height:1.25;display:-webkit-box;overflow:hidden}.xp .xp-track{height:9px;margin:6px 0 3px}.xp>span{text-align:right;color:var(--ui-muted);font-size:10px;font-weight:900;display:block}.top-stats,.currencies,.utility-nav{align-items:center;gap:10px;display:flex}.top-stats{gap:20px;padding-top:6px}.utility-nav .k-round{position:relative}.utility-nav .k-icon{flex-basis:32px;width:32px;height:32px}.notify-dot{border:2px solid var(--ui-paper-light);background:var(--ui-primary);border-radius:50%;width:11px;height:11px;position:absolute;top:4px;right:5px;box-shadow:0 1px #6f382b}.left-stack{top:max(110px, calc(var(--safe-top) + 88px));left:max(24px, var(--safe-left));z-index:6;pointer-events:none;gap:18px;width:255px;display:grid;position:absolute}.left-stack>*{pointer-events:auto}.service-strip{background:#fff8e9e8;border:1px solid #b7a489;border-radius:13px;padding:0 12px 8px;box-shadow:0 3px #9e8b6c30}.quán-status{align-items:center;gap:7px;min-height:42px;display:flex}.quán-status strong{font-size:12px;font-weight:1000}.quán-status button{min-height:44px;color:var(--ui-teal-dark);text-underline-offset:3px;background:0 0;border:0;margin-left:auto;padding:4px 0 4px 8px;font-size:11px;font-weight:900;text-decoration:underline}.mini-stats{border-top:1px solid #cbb79b70;gap:13px;padding-top:6px;display:flex}.mini-stats>span{color:var(--ui-muted);align-items:center;gap:4px;font-size:10px;display:flex}.mini-stats .k-icon{flex-basis:22px;width:22px;height:22px}.mini-stats strong{color:var(--ui-ink);font-size:13px;font-weight:1000}.goal-ticket{background:#fff8e8;border-color:#c3a777;border-radius:14px;padding:8px 15px 13px;position:relative}.goal-ticket:before{content:"";background:#bd9270;border:1px solid #8e674b;border-radius:4px;width:43px;height:9px;position:absolute;top:-6px;left:calc(50% - 21px);box-shadow:0 2px 1px #4e311b22}.goal-ticket .section-heading{border-bottom:1px dashed var(--ui-line);gap:6px}.goal-ticket h3{align-items:center;gap:7px;font-size:13px;display:flex}.goal-ticket h3 .k-icon{width:26px;height:26px}.goal-ticket .text-button{align-items:center;gap:4px;padding:0;font-size:10px;text-decoration:none;display:flex}.goal-ticket .text-button .k-icon{flex-basis:20px;width:20px;height:20px}.goal-ticket .quest{padding:10px 0 0}.goal-ticket .quest-label>span{display:none}.goal-ticket .quest-label p{font-size:14px}.goal-ticket .quest-label small{float:right;margin:0 0 0 6px;font-size:11px}.goal-ticket .quest-progress,.goal-ticket .claim-small{margin-left:0}.goal-ticket .claim-small{width:100%}.goal-complete{align-items:center;gap:8px;padding-top:13px;font-size:13px;font-weight:800;display:flex}.camera-tools{right:max(24px, var(--safe-right));top:max(112px, calc(var(--safe-top) + 90px));z-index:5;gap:10px;display:grid;position:absolute}.camera-tools .k-round{background:#fff8e9eb}.dock{z-index:10;left:var(--safe-center-x);bottom:max(35px, calc(var(--safe-bottom) + 15px));background:#fff6e2f5;border:2px solid #a18560;border-radius:24px;gap:9px;padding:6px 13px 9px;display:flex;position:absolute;transform:translate(-50%);box-shadow:0 5px #b8996d,0 10px 20px #54412725}.dock>button{min-width:87px;min-height:84px;color:var(--ui-ink);background:0 0;border:2px solid #0000;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:0;padding:0 8px 3px;font-size:13px;font-weight:1000;transition:background .12s,transform .1s;display:flex;position:relative}.dock>button.active{color:var(--ui-teal-dark);background:#e3edda;border-color:#7d9e76;box-shadow:inset 0 -3px #b6cdaa}.dock>button:active{filter:brightness(.9)}.dock-icon{place-items:center;width:62px;height:60px;display:grid}.dock-icon .k-icon{flex-basis:66px;width:66px;height:66px}.dock .notify-dot{top:3px;right:12px}.bottom-note{z-index:5;bottom:max(7px, var(--safe-bottom));left:max(24px, var(--safe-left));right:max(24px, var(--safe-right));pointer-events:none;color:#3c5c46;justify-content:space-between;align-items:center;gap:15px;font-size:10px;font-weight:800;display:flex;position:absolute}#save-status{align-items:center;gap:4px;display:inline-flex}#save-status .k-icon{flex-basis:16px;width:16px;height:16px}.speed-control{align-items:center;gap:8px;display:flex}#speed-button{pointer-events:auto;background:#fffaecbd;border:1px solid #97ad90;border-radius:7px;min-width:44px;min-height:30px;font-size:11px;font-weight:1000}#speed-button:disabled{opacity:.65}.side-panel{z-index:12;top:max(102px, calc(var(--safe-top) + 80px));right:max(24px, var(--safe-right));bottom:max(143px, calc(var(--safe-bottom) + 123px));width:min(736px, calc(var(--safe-viewport-width) - 330px));color:var(--ui-ink);filter:drop-shadow(0 12px 24px #39291d33);animation:ui-enter var(--ui-enter) var(--ui-ease);flex-direction:column;display:flex;position:absolute}.side-panel>header{border-bottom:1px solid #d6bd95;flex-shrink:0;align-items:center;gap:10px;min-height:70px;padding:0 6px 12px;display:flex}#panel-symbol .k-icon{flex-basis:58px;width:58px;height:58px}.side-panel>header>div{flex:1;min-width:0}.side-panel h2{font-size:27px;font-weight:1000;line-height:1.15}.side-panel .eyebrow{margin-bottom:4px;font-size:9px}.side-panel>header .k-round{flex-shrink:0}#panel-body{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bca381 transparent;flex:1;min-height:0;padding:20px 7px 12px;overflow:auto}#panel-body>:last-child{margin-bottom:5px}.panel-open .camera-tools,#panel-guide:empty{display:none}#coach-home{z-index:9;bottom:max(151px, calc(var(--safe-bottom) + 130px));right:max(24px, var(--safe-right));pointer-events:none;width:320px;position:absolute}.coach{pointer-events:auto;animation:ui-enter var(--ui-enter) var(--ui-ease);border:2px solid #aa8d66;border-radius:18px;padding:16px}.coach-heading{color:#826742;justify-content:space-between;align-items:center;gap:8px;margin-bottom:7px;font-size:10px;font-weight:1000;display:flex}.coach-skip{min-width:44px;min-height:44px;color:var(--ui-muted);text-underline-offset:2px;background:0 0;border:0;margin:-10px -5px -10px 0;font-size:11px;font-weight:800;text-decoration:underline}.coach-content{align-items:center;gap:10px;display:flex}.coach-art{flex:0 0 64px;width:64px;height:64px;animation:.32s ease-out both coach-art-arrive;display:block;position:relative}.coach-art .coach-portrait{background:0 0;border:0;border-radius:12px;width:100%;height:100%}.coach-art-badge{background-color:#fff1d5;border-radius:50%;width:28px;height:28px;position:absolute;bottom:-3px;right:-4px}@keyframes coach-art-arrive{0%{opacity:.4;transform:translateY(6px)scale(.94)}to{opacity:1;transform:none}}body.reduced-motion .coach-art{animation:none}@media (prefers-reduced-motion:reduce){.coach-art{animation:none}}.coach-portrait{object-fit:contain;background:#e4ead5;border:1px solid #c0c9a9;border-radius:30px 30px 12px 12px;flex:0 0 66px;width:66px;height:82px}.coach h3{margin-bottom:6px;font-size:18px;font-weight:1000;line-height:1.2}.coach p{color:var(--ui-muted);font-size:13px;line-height:1.5}.coach-steps{gap:5px;margin:13px 0;display:flex}.coach-steps i{background:#dfd2b9;border-radius:5px;flex:1;height:4px;display:block}.coach-steps .done{background:var(--ui-teal)}.coach-steps .current{background:var(--ui-coral);flex:2}.coach>.k-button{width:100%;margin-top:7px}.coach .consent-option{margin:10px 0 4px;font-size:11px;line-height:1.4}.coach .consent-option input{flex-basis:18px;width:18px;height:18px}.coach-privacy{margin-left:28px;font-size:10px}.coach-wait{align-items:center;gap:8px;padding:6px 0 0;font-size:12px;font-weight:800;display:flex}.coach-serve{flex-direction:column;align-items:stretch;gap:6px}.coach-stages{gap:4px;margin:0;padding:0;list-style:none;display:flex}.coach-stages li{color:#8a7457;text-align:center;background:#efe3cc;border-radius:8px;flex:1;min-width:0;padding:4px 2px;font-size:11px;line-height:1.2}.coach-stages li.done{color:#2f6a55;background:#d9ead9}.coach-stages li.current{color:#fffaf0;background:#377569}.coach-meal{background:#efe3cc;border-radius:3px;height:6px;overflow:hidden}.coach-meal i{background:#e0a33b;height:100%;display:block}#panel-guide>.coach{box-shadow:none;background:0 0;border:0;border-bottom:1px dashed #c3ac86;border-radius:0;grid-template-columns:1fr auto;gap:0 12px;padding:12px 7px;display:grid}#panel-guide .coach-heading{grid-column:1/-1;margin-bottom:4px}#panel-guide .coach-portrait{flex-basis:39px;width:39px;height:48px}#panel-guide .coach h3{margin-bottom:3px;font-size:14px}#panel-guide .coach p{font-size:12px}#panel-guide .coach-steps{display:none}#panel-guide .coach>.k-button{align-self:center;width:auto;max-width:170px;padding:8px 12px;font-size:12px}#panel-guide .coach[data-step=welcome]{display:block}#panel-guide .coach[data-step=welcome] .coach-content{display:none}#panel-guide .coach[data-step=welcome] .coach-heading{margin-bottom:7px}#panel-guide .coach[data-step=welcome] .k-button{width:100%;max-width:none}.onboarding-target{outline-offset:4px;outline:3px solid #b77229!important}#editbar{z-index:11;left:var(--safe-center-x);width:max-content;max-width:calc(var(--safe-viewport-width) - 48px);bottom:max(152px, calc(var(--safe-bottom) + 132px));border-radius:18px;padding:12px 16px 16px;position:absolute;transform:translate(-50%)}.edit-caption{justify-content:center;align-items:center;gap:8px;margin-bottom:10px;font-size:13px;font-weight:900;display:flex}.edit-caption .k-icon{width:25px;height:25px}.edit-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.edit-actions .k-button{padding:8px 12px;font-size:12px}#editbar:not(.has-selection) [data-action=store-selected],#editbar:not(.has-selection) [data-action=sell-selected],#editbar:not(.has-placement) [data-action=rotate]{display:none}.edit-danger{margin-left:10px}.editing #coach-home{bottom:auto;top:max(180px, calc(var(--safe-top) + 158px));right:max(24px, var(--safe-right))}.editing .goal-ticket{display:none}.visit-banner{z-index:11;top:max(110px, calc(var(--safe-top) + 88px));left:var(--safe-center-x);max-width:calc(var(--safe-viewport-width) - 48px);align-items:center;gap:12px;padding:12px 18px;display:flex;position:absolute;transform:translate(-50%)}.visit-banner strong,.visit-banner small{display:block}.visit-banner small{color:var(--ui-muted);margin-top:3px;font-size:11px}.visit-banner .k-button{min-height:44px;padding:8px 12px;font-size:12px}.modal-backdrop{z-index:50;padding:max(16px, var(--safe-top)) max(14px, var(--safe-right)) max(16px, var(--safe-bottom)) max(14px, var(--safe-left));background:#24362c75;place-items:center;display:grid;position:absolute;inset:0}.modal-card{max-height:calc(100dvh - max(16px, var(--safe-top)) - max(16px, var(--safe-bottom)));animation:ui-enter var(--ui-enter) var(--ui-ease);overflow:auto}.modal-card.ui-art-frame{width:min(470px, calc(100vw - max(14px, var(--safe-left)) - max(14px, var(--safe-right))));padding:8px 7px 10px}#toast{z-index:70;left:var(--safe-center-x);top:calc(max(22px, var(--safe-top)) + 72px);max-width:min(480px, calc(var(--safe-viewport-width) - 32px));border:2px solid var(--ui-teal-dark);background:var(--ui-teal);color:#fff;text-align:center;overflow-wrap:anywhere;opacity:0;pointer-events:none;border-radius:13px;padding:13px 20px;font-size:14px;font-weight:900;transition:opacity .14s,transform .14s;position:absolute;transform:translate(-50%,-10px);box-shadow:0 4px #24483e70}#toast.show{opacity:1;transform:translate(-50%)}#toast.bad{background:var(--ui-primary);border-color:var(--ui-primary-edge)}[data-save-pending=true]{opacity:.65}#loading{z-index:100;text-align:center;background:#f7ecd7;flex-direction:column;justify-content:center;align-items:center;gap:13px;padding:28px;transition:opacity .22s;display:flex;position:absolute;inset:0}#loading .loading-bowl .k-icon{width:128px;height:128px}#loading h2{font-size:32px;font-weight:1000}#loading>p:not(.eyebrow){max-width:35ch;color:var(--ui-muted);font-size:14px;line-height:1.6}.loading-track{width:min(280px,80vw);height:11px;margin-top:12px}#loading-status{color:var(--ui-muted);font-size:12px}#loading.finished{opacity:0;pointer-events:none}.feedback-layer{pointer-events:none;z-index:20;position:absolute;inset:0;overflow:hidden}.flying-coin{will-change:transform;background:#efbd57;border:2px solid #ba7d2e;border-radius:50%;width:17px;height:17px;position:absolute;top:-8px;left:-8px;box-shadow:inset 2px 2px #ffe9a5,0 2px 2px #315c4120}.flying-coin:after{content:"";border:1px solid #bc8138;border-radius:50%;position:absolute;inset:3px}.world-reward{z-index:21;color:#fff6cd;text-shadow:0 2px #91642b,1px 0 #91642b,-1px 0 #91642b;pointer-events:none;font-size:21px;font-weight:1000;position:absolute;transform:translate(-50%,-50%)}.compatibility-note{top:max(90px, calc(var(--safe-top) + 68px));right:max(24px, var(--safe-right));color:#496650;font-size:10px;position:absolute}@media (width<=1100px){.topbar{left:max(16px, var(--safe-left));right:max(16px, var(--safe-right));top:max(16px, var(--safe-top))}.left-stack{left:max(16px, var(--safe-left));width:225px;top:max(105px, calc(var(--safe-top) + 89px))}.restaurant-profile{min-width:225px}.top-stats{gap:12px}.currencies,.utility-nav{gap:7px}.currency-pill{gap:4px;padding-right:10px}.currency-pill strong{font-size:20px}.currency-pill.gems strong{font-size:18px}.side-panel{width:min(690px, calc(var(--safe-viewport-width) - 270px));right:max(16px, var(--safe-right));top:max(100px, calc(var(--safe-top) + 84px))}.side-panel .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.side-panel .recipe-list,.side-panel .staff-list,.side-panel .neighbor-list{grid-template-columns:1fr}.side-panel .neighbor-card{grid-template-columns:110px 1fr;gap:8px 12px;display:grid}.side-panel .neighbor-art{grid-row:span 2}.side-panel .neighbor-card>p{min-height:0}#coach-home{right:max(16px, var(--safe-right));width:295px}.camera-tools{right:max(16px, var(--safe-right));top:max(112px, calc(var(--safe-top) + 96px))}#editbar{width:min(680px, calc(var(--safe-viewport-width) - 32px))}.edit-actions{justify-content:center}}@media (width<=760px){.topbar{left:max(12px, var(--safe-left));right:max(12px, var(--safe-right));top:max(12px, var(--safe-top));gap:8px}.restaurant-profile{border-radius:15px;gap:7px;width:174px;min-width:0;padding:5px 9px 6px 5px}.chef-avatar{border-radius:11px;flex-basis:43px;width:43px;height:44px}.chef-avatar>img{width:49px;height:53px;top:-10px;left:-4px}.level-badge{width:22px;min-width:22px;height:22px;font-size:11px}.xp strong{font-size:11px}.xp>span{font-size:9px}.xp .xp-track{height:7px;margin-top:5px}.top-stats{flex-direction:column;align-items:flex-end;gap:7px;padding-top:1px}.currencies{gap:6px}.currency-pill{border-radius:12px;gap:2px;min-height:39px;padding:2px 8px 2px 3px}.currency-pill .k-icon{flex-basis:30px;width:30px;height:30px}.currency-pill strong{font-size:17px}.currency-pill.gems strong{font-size:15px}.utility-nav{gap:6px}.utility-nav .k-round{border-radius:13px;width:44px;min-width:44px;height:44px;min-height:44px;padding:5px}.utility-nav .k-icon{flex-basis:29px;width:29px;height:29px}.left-stack{top:max(84px, calc(var(--safe-top) + 72px));left:max(12px, var(--safe-left));gap:10px;width:174px}.service-strip{border-radius:10px;padding:0 7px 6px}.quán-status{gap:4px;min-height:34px}.quán-status strong{font-size:10px}.quán-status button{min-height:36px;padding-left:4px;font-size:10px}.mini-stats{gap:8px;padding-top:4px}.mini-stats>span>span:not(.k-icon){display:none}.mini-stats strong{font-size:11px}.mini-stats .k-icon{flex-basis:18px;width:18px;height:18px}.goal-ticket{border-radius:11px;padding:5px 9px 9px}.goal-ticket .section-heading h3{gap:3px;font-size:10px}.goal-ticket h3 .k-icon{width:21px;height:21px}.goal-ticket .section-heading .text-button{min-height:36px;font-size:9px}.goal-ticket .section-heading .text-button .k-icon{display:none}.goal-ticket .quest-label p{font-size:11px;line-height:1.4}.goal-ticket .quest-label small{font-size:9px}.goal-ticket .quest-progress{height:6px;margin-top:6px}.goal-ticket .claim-small{min-height:44px;margin-top:8px}.camera-tools{right:max(12px, var(--safe-right));top:max(134px, calc(var(--safe-top) + 122px));gap:8px}.camera-tools .k-round{width:44px;min-width:44px;height:44px;min-height:44px;padding:6px}.camera-tools [data-action=reset-camera]{display:none}.dock{width:calc(var(--safe-viewport-width) - 20px);max-width:480px;bottom:max(24px, calc(var(--safe-bottom) + 10px));border-radius:19px;gap:1px;padding:3px 4px 6px}.dock>button{border-radius:12px;flex:1;gap:0;min-width:0;min-height:71px;padding:0 2px 3px;font-size:10px}.dock-icon{width:47px;height:46px}.dock-icon .k-icon{flex-basis:50px;width:50px;height:50px}.dock .notify-dot{width:9px;height:9px;top:2px;right:6px}.bottom-note{left:max(12px, var(--safe-left));right:max(12px, var(--safe-right));bottom:max(3px, var(--safe-bottom));font-size:8px}#save-status .k-icon{flex-basis:12px;width:12px;height:12px}.speed-control{gap:5px}#speed-button{min-width:26px;min-height:20px;padding:0;font-size:9px}#save-status .save-account-action{min-height:20px;padding:0 6px}.side-panel{z-index:12;left:max(7px, var(--safe-left));right:max(7px, var(--safe-right));width:auto;top:max(110px, calc(var(--safe-top) + 98px));bottom:max(111px, calc(var(--safe-bottom) + 98px));border-width:19px;border-image-width:19px}.side-panel>header{gap:6px;min-height:57px;padding:0 0 10px}#panel-symbol .k-icon{flex-basis:45px;width:45px;height:45px}.side-panel h2{font-size:23px}.side-panel .eyebrow{margin-bottom:3px;font-size:8px}.side-panel .close-button{width:44px;min-width:44px;height:44px;min-height:44px;padding:6px}#panel-body{padding:15px 0 6px}.panel-open .left-stack{visibility:hidden}.panel-open .camera-tools{display:none}#coach-home{width:calc(var(--safe-viewport-width) - 28px);max-width:345px;right:max(14px, var(--safe-right));bottom:max(120px, calc(var(--safe-bottom) + 108px))}.coach{padding:13px}.coach-content{gap:10px}.coach-portrait{flex-basis:55px;width:55px;height:69px}.coach h3{font-size:17px}.coach p{font-size:12px}.coach[data-step=welcome] .coach-steps{margin:10px 0}#panel-guide>.coach{gap:0 8px;padding:10px 0}#panel-guide .coach-content{gap:7px}#panel-guide .coach p{font-size:11px}#panel-guide .coach h3{font-size:13px}#panel-guide .coach-portrait{display:none}#panel-guide .coach>.k-button{max-width:114px;padding:6px 8px;font-size:11px}.editing .dock,.editing .goal-ticket,.editing .bottom-note{display:none}#editbar{width:calc(var(--safe-viewport-width) - 20px);max-width:480px;bottom:max(14px, calc(var(--safe-bottom) + 8px));padding:11px 10px 13px}.edit-caption{text-align:center;gap:5px;font-size:11px}.edit-caption .k-icon{width:22px;height:22px}.edit-actions{gap:8px}.edit-actions .k-button{flex:1 0 26%;gap:4px;min-height:46px;padding:7px 5px;font-size:11px}.edit-actions .k-icon{flex-basis:22px;width:22px;height:22px}.edit-actions .edit-done{flex-basis:30%}.edit-danger{margin-left:0}.editing #coach-home{top:auto;right:max(14px, var(--safe-right));bottom:max(220px, calc(var(--safe-bottom) + 208px))}.editing.panel-open #editbar{display:none}.editing.panel-open .side-panel{bottom:max(18px, var(--safe-bottom))}.visit-banner{max-width:calc(var(--safe-viewport-width) - 28px);top:max(121px, calc(var(--safe-top) + 109px));width:max-content;padding:10px;font-size:12px}.visit-banner .k-button{padding:8px;font-size:11px}#toast{top:calc(max(12px, var(--safe-top)) + 58px);padding:12px 16px;font-size:12px}.modal-card h2{font-size:24px}.modal-card>p{font-size:13px}}@media (height<=580px) and (width>=761px){.topbar{top:max(10px, var(--safe-top))}.restaurant-profile{min-width:205px}.chef-avatar{flex-basis:42px;width:42px;height:43px}.chef-avatar>img{width:49px;height:53px;top:-10px}.xp strong{font-size:12px}.left-stack{top:max(85px, calc(var(--safe-top) + 75px));width:205px}.left-stack .goal-ticket{display:none}.camera-tools{top:max(88px, calc(var(--safe-top) + 78px));gap:6px}.camera-tools [data-action=reset-camera]{display:none}.dock{bottom:max(24px, calc(var(--safe-bottom) + 10px));padding:2px 8px 4px}.dock>button{min-width:75px;min-height:59px;font-size:10px}.dock-icon{width:44px;height:41px}.dock-icon .k-icon{width:47px;height:47px}.side-panel{top:max(80px, calc(var(--safe-top) + 70px));bottom:max(103px, calc(var(--safe-bottom) + 89px));left:auto;right:max(12px, var(--safe-right));width:calc(var(--safe-viewport-width) - 250px);border-width:19px;border-image-width:19px}.side-panel>header{min-height:48px;padding-bottom:6px}.side-panel h2{font-size:21px}#panel-symbol .k-icon{width:40px;height:40px}#panel-body{padding-top:12px}#coach-home{width:300px;bottom:max(108px, calc(var(--safe-bottom) + 94px))}.coach{padding:11px}.coach h3{font-size:15px}.coach p{font-size:11px}.coach-portrait{flex-basis:46px;width:46px;height:57px}.coach-steps{margin:8px 0}.coach .consent-option{margin-top:6px;font-size:10px}.coach>.k-button{min-height:44px;font-size:12px}#panel-guide .coach-content p,#panel-guide .coach-heading{display:none}#panel-guide .coach>.k-button{min-height:44px}#panel-guide>.coach{padding:6px 3px}#editbar{bottom:max(105px, calc(var(--safe-bottom) + 91px))}.editing #coach-home{top:max(86px, calc(var(--safe-top) + 76px));width:280px;bottom:auto}.editing #coach-home .coach-steps{display:none}}@media (width<=360px){.restaurant-profile{width:150px}.xp strong{font-size:10px}.left-stack{width:150px}.currency-pill strong{font-size:15px}.currency-pill .k-icon{flex-basis:26px;width:26px;height:26px}.currency-pill.gems strong{font-size:13px}.currencies{gap:4px}.currency-pill{padding-right:6px}.dock>button{font-size:9px}.dock-icon .k-icon{width:46px;height:46px}.side-panel{border-width:16px;border-image-width:16px}.side-panel h2{font-size:21px}#panel-guide .coach p{font-size:10px}}@media (prefers-reduced-motion:reduce){#toast{transition:none}.flying-coin{display:none!important}}.reduced-motion .flying-coin{display:none!important}@media (height<=580px) and (width<=1100px) and (orientation:landscape){:is(.panel-open,.guiding:not(.editing)) .side-panel{top:max(10px, var(--safe-top));bottom:max(10px, var(--safe-bottom));left:calc(200px + max(12px, var(--safe-left)));right:max(10px, var(--safe-right));border-width:19px;border-image-width:19px;width:auto}:is(.panel-open,.guiding:not(.editing)) .topbar{left:max(12px, var(--safe-left));right:auto;top:max(12px, var(--safe-top));width:188px;display:block}:is(.panel-open,.guiding:not(.editing)) .restaurant-profile{width:188px;min-width:0}:is(.panel-open,.guiding:not(.editing)) .top-stats{flex-direction:column;align-items:flex-start;gap:10px;margin-top:10px;padding:0}:is(.panel-open,.guiding:not(.editing)) .currencies{gap:6px}:is(.panel-open,.guiding:not(.editing)) .currency-pill{gap:2px;min-height:39px;padding:2px 7px 2px 3px}:is(.panel-open,.guiding:not(.editing)) .currency-pill .k-icon{flex-basis:28px;width:28px;height:28px}:is(.panel-open,.guiding:not(.editing)) .currency-pill strong{font-size:17px}:is(.panel-open,.guiding:not(.editing)) .currency-pill.gems strong{font-size:15px}:is(.panel-open,.guiding:not(.editing)) .utility-nav{gap:8px}:is(.panel-open,.guiding:not(.editing)) .utility-nav .k-round{width:48px;min-width:48px;height:48px;min-height:48px}:is(.panel-open,.guiding:not(.editing)) .left-stack,:is(.panel-open,.guiding:not(.editing)) .bottom-note{display:none}:is(.panel-open,.guiding:not(.editing)) .dock{left:max(12px, var(--safe-left));bottom:max(13px, var(--safe-bottom));flex-wrap:wrap;justify-content:center;gap:2px;width:188px;padding:3px 5px 6px;display:flex;transform:none}:is(.panel-open,.guiding:not(.editing)) .dock>button{flex:0 0 54px;min-width:0;min-height:57px;padding:0 1px 2px;font-size:9px}:is(.panel-open,.guiding:not(.editing)) .dock-icon{width:40px;height:37px}:is(.panel-open,.guiding:not(.editing)) .dock-icon .k-icon{flex-basis:43px;width:43px;height:43px}:is(.panel-open,.guiding:not(.editing)) .dock .notify-dot{width:8px;height:8px;top:2px;right:2px}.guiding:not(.panel-open):not(.editing) #coach-home{top:max(10px, var(--safe-top));bottom:auto;left:calc(200px + max(12px, var(--safe-left)));right:max(10px, var(--safe-right));width:auto;max-width:none}.guiding:not(.panel-open):not(.editing) #coach-home .coach{max-height:calc(100dvh - max(10px, var(--safe-top)) - max(10px, var(--safe-bottom)));overflow:auto}.side-panel>header{min-height:51px;padding:0 0 7px}.side-panel h2{font-size:21px}#panel-symbol .k-icon{flex-basis:40px;width:40px;height:40px}#panel-guide>.coach{grid-template-columns:1fr auto;gap:0 8px;padding:7px 0;display:grid}#panel-guide .coach-heading,#panel-guide .coach-portrait{display:none}#panel-guide .coach h3{margin-bottom:3px;font-size:12px}#panel-guide .coach p{font-size:10px;line-height:1.35;display:block}#panel-guide .coach>.k-button{max-width:108px;min-height:44px;margin:0;padding:6px;font-size:10px}#panel-guide .coach[data-step=welcome]{max-height:116px;display:block;overflow:auto}#panel-guide .coach[data-step=welcome] .consent-option{margin:3px 0;font-size:10px}#panel-guide .coach[data-step=welcome]>.k-button{float:right;width:auto;min-height:44px}#panel-body{padding:12px 0 6px}#panel-body .catalog-grid{gap:10px}#panel-body .item-preview{height:105px}#panel-body .shop-toolbar,#panel-body .tabs{margin-bottom:12px}.editing #coach-home{width:215px;top:85px;bottom:auto;right:12px}.editing #coach-home .coach{max-height:145px;overflow:auto}.editing #coach-home .coach-steps,.editing #coach-home .coach-portrait{display:none}.editing #coach-home .coach p{font-size:11px}#editbar{bottom:max(12px, var(--safe-bottom))}.editing .dock,.editing.panel-open .dock,.editing.panel-open #editbar{display:none}}@media (width<=760px) and (height>=581px){.guiding .goal-ticket{display:none}#coach-home .coach{padding:10px 12px}#coach-home .coach-heading{margin-bottom:4px}#coach-home .coach-art{flex-basis:52px;width:52px;height:52px}#coach-home .coach h3{margin-bottom:3px;font-size:15px}#coach-home .coach p{font-size:12px;line-height:1.35}#coach-home .coach-steps{margin:8px 0}#coach-home .coach>.k-button{min-height:44px;margin-top:3px;padding:8px 12px}}@media (height<=580px) and (orientation:landscape){#panel-guide .coach-art{display:none}}@media (width<=760px) and (height>=581px){.editing #coach-home{top:max(165px, calc(var(--safe-top) + 153px));bottom:auto;left:max(12px, var(--safe-left));width:calc(var(--safe-viewport-width) - 91px);max-width:320px;right:auto}.editing #coach-home .coach{padding:10px 11px}.editing #coach-home .coach-portrait,.editing #coach-home .coach-steps{display:none}.editing #coach-home .coach h3{font-size:14px}.editing #coach-home .coach p{font-size:11px;line-height:1.4}.editing #coach-home .coach>.k-button{min-height:44px;font-size:12px}.placing #coach-home .coach>.k-button{display:none}.quán-status button,.goal-ticket .section-heading .text-button{min-height:44px}}@media (height<=580px) and (width<=1100px){.editing #coach-home{display:none}#editbar{width:calc(var(--safe-viewport-width) - 24px);max-width:none;padding:8px 10px 12px}.edit-caption{margin-bottom:7px;font-size:11px}.edit-actions{flex-wrap:nowrap;gap:6px}.edit-actions .k-button{flex:auto;gap:3px;min-height:44px;padding:7px 6px;font-size:10px}.edit-actions .k-icon{flex-basis:19px;width:19px;height:19px}.edit-actions .edit-danger{margin-left:5px}}@media (height<=240px) and (orientation:landscape){#panel[data-kind=account].account-input-active{top:max(4px, var(--safe-top));bottom:max(4px, var(--safe-bottom));border-width:4px;border-image-width:4px}#panel[data-kind=account].account-input-active>header{min-height:45px;padding:0}#panel[data-kind=account].account-input-active #panel-title{font-size:21px}#panel[data-kind=account].account-input-active #panel-symbol .k-icon{flex-basis:40px;width:40px;height:40px}#panel[data-kind=account].account-input-active .close-button{width:44px;min-width:44px;height:44px;min-height:44px;padding:6px}#panel[data-kind=account].account-input-active #panel-body{padding:4px 0}#panel[data-kind=account].account-input-active #panel-body .tabs{margin-bottom:6px;padding:1px}#panel[data-kind=account].account-input-active #panel-body .tabs button{min-height:44px;padding:6px 10px}#panel-guide{display:none}}.entry-dialog .entry-links{opacity:.75;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px 12px;margin:10px 4px 0;font-size:11px;line-height:1.4;display:flex}.entry-dialog .entry-links a,.entry-dialog .entry-links .text-button{min-height:0;color:inherit;padding:2px 0;font-size:11px}#panel-guide .coach-content p,#panel-guide .coach-steps,#panel-guide .coach-skip,#panel-guide .coach-art{display:none}.quest-journey .quest,.quest-weekly .quest{margin-top:6px}.nearby-section{margin-bottom:14px}.nearby-section>h3{margin:0 0 4px}.nearby-art{--neighbor-color:#b9d3c6}.nearby-actions{flex-wrap:wrap;gap:6px;display:flex}.nearby-actions .k-button{flex:auto;min-width:0}.nearby-status{opacity:.8}.received-stickers{margin:8px 0 0;font-weight:700}@media (height<=580px) and (width<=1100px) and (orientation:landscape){#toast{top:auto;bottom:calc(max(12px, var(--safe-bottom)) + 4px);left:calc((100vw + 200px + max(12px, var(--safe-left))) / 2);transform:translate(-50%,10px)}.editing #toast{top:max(12px, var(--safe-top));bottom:auto;transform:translate(-50%,-10px)}}#active-layer{z-index:5;pointer-events:none;position:absolute;inset:0;overflow:hidden}#active-layer[hidden]{display:none}.tip-bubble{color:#7a4a00;min-width:52px;height:40px;font:800 15px/1 var(--ui-font,inherit);pointer-events:auto;cursor:pointer;touch-action:manipulation;background:#fff6d6;border:2px solid #b7791f;border-radius:20px;align-items:center;gap:4px;margin:-46px 0 0 -26px;padding:0 10px 0 6px;animation:1.4s ease-in-out infinite tip-bob;display:inline-flex;position:absolute;top:0;left:0;box-shadow:0 3px #b7791f,0 6px 14px #0000002e}.tip-bubble i{background:radial-gradient(circle at 35% 35%,#ffe58a,#e0a100 70%);border:2px solid #b7791f;border-radius:50%;width:22px;height:22px}.tip-bubble:disabled{cursor:default}.tip-bubble.collected{animation:.65s ease-out forwards tip-collected}.rush-badge{left:50%;top:calc(max(12px, var(--safe-top,0px)) + 64px);color:#fff;font:800 14px/1.2 var(--ui-font,inherit);white-space:nowrap;background:#e8553d;border-radius:999px;padding:6px 14px;transition:opacity .2s;position:absolute;transform:translate(-50%);box-shadow:0 3px #a5341f}body:has(#toast.show) .rush-badge{opacity:0}.vip-crown{color:#ffe58a;width:40px;font:900 12px/1.2 var(--ui-font,inherit);letter-spacing:.06em;text-align:center;background:#6b3fa0;border-radius:8px;margin:-30px 0 0 -20px;padding:2px 0;position:absolute;top:0;left:0;box-shadow:0 2px #43246b}@media (width<=760px){.rush-badge{top:calc(max(12px, var(--safe-top,0px)) + 192px);left:max(12px, var(--safe-left,0px));transform:none}}@media (height<=580px) and (orientation:landscape){.rush-badge{top:calc(max(8px, var(--safe-top,0px)) + 56px)}}@keyframes tip-bob{0%,to{translate:0}50%{translate:0 -5px}}@keyframes tip-collected{to{opacity:0;translate:0 -36px}}@media (prefers-reduced-motion:reduce){.tip-bubble,.tip-bubble.collected{animation:none}}.staff-wage{color:var(--ui-muted,#6b5b4b);margin:6px 0 2px;font-size:12px}.staff-payroll{font-weight:700}.mgmt-pnl-row{border-bottom:1px dashed #0000001a;justify-content:space-between;gap:12px;padding:4px 0;display:flex}.mgmt-pnl-row.strong{border-bottom:0;font-size:1.05em}.install-offer{gap:10px;margin-top:8px;display:grid}.install-offer .install-store{text-align:center;justify-self:stretch}.install-links{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}@media (height<=500px) and (orientation:landscape){:root{--hud-scale:.86}}@media (height<=420px) and (orientation:landscape){:root{--hud-scale:.76}}@media (height<=500px) and (orientation:landscape){body:not(.panel-open):not(.guiding) .restaurant-profile{transform:scale(var(--hud-scale));transform-origin:0 0}body:not(.panel-open):not(.guiding) .top-stats{transform:scale(var(--hud-scale));transform-origin:100% 0;flex-direction:row;align-items:flex-start}body:not(.panel-open):not(.guiding) .left-stack{top:calc(max(10px, var(--safe-top)) + 72px * var(--hud-scale));transform:scale(var(--hud-scale));transform-origin:0 0}body:not(.panel-open):not(.guiding) .camera-tools{top:calc(max(10px, var(--safe-top)) + 74px * var(--hud-scale));transform:scale(var(--hud-scale));transform-origin:100% 0}body:not(.panel-open):not(.guiding) .dock{transform:translateX(-50%) scale(var(--hud-scale));transform-origin:bottom}body:not(.panel-open):not(.guiding) .bottom-note{font-size:calc(1em * var(--hud-scale))}body:not(.panel-open):not(.guiding) #income-note{white-space:normal;text-align:right;max-width:132px;line-height:1.15}}@media (height<=500px) and (width<=700px) and (orientation:landscape){body:not(.panel-open):not(.guiding) #income-note{display:none}}.recipe-list .recipe-more{min-width:0;min-height:44px;color:inherit;font:inherit;text-align:center;overflow-wrap:anywhere;cursor:pointer;background:#f2ecdf;border:2px dashed #d0b99a;border-radius:16px;grid-column:1/-1;justify-content:center;align-items:center;gap:8px;padding:8px 14px;font-weight:700;display:flex}.owner-shift-banner{align-items:center;gap:8px;margin-top:6px;display:flex}.grand-opening-strip{background:#fff8e8d9;border:1px solid #ad865340;border-radius:16px;margin:10px 0 14px;padding:10px 12px}.grand-opening-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px;margin-bottom:8px;font-size:.9em;display:flex}.grand-opening-head strong{align-items:center;gap:6px;display:inline-flex}.grand-opening-head span{opacity:.8;font-size:.85em}.grand-opening-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.grand-day{text-align:center;background:#f5ecdc;border:1px solid #9b764633;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:0;padding:6px 4px;font-size:.78em;display:flex}.grand-day.is-claimed{background:#e3f1e5;border-color:#77ad82}.grand-day.is-today{background:#ffe8bd;border:2px solid #d4892a}.grand-day-label{opacity:.8;font-weight:700}.grand-day-reward{align-items:center;gap:2px;font-size:.92em;display:inline-flex}.grand-day-state{align-items:center;min-height:14px;display:inline-flex}@media (width<=640px){.grand-opening-days{grid-template-columns:repeat(4,minmax(0,1fr))}}.utility-nav .hud-rankings-btn{color:#7d4c14;background:linear-gradient(#fff5dc 0%,#f5dfa8 100%);border-color:#d6a244}.vip-mementos-section{margin-top:14px}.vip-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.vip-head h3{align-items:center;gap:6px;margin:0;display:inline-flex}.vip-count{color:#b4432f;background:#fdeae4;border-radius:999px;padding:2px 10px;font-size:.85em;font-weight:800}.vip-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px;display:grid}.vip-card{background:#f5ecdc;border:1px solid #9b764638;border-radius:12px;align-items:flex-start;gap:8px;padding:8px 10px;font-size:.84em;display:flex}.vip-card.is-unlocked{background:#fff8ea;border-color:#d49b3d}.vip-card.is-locked{opacity:.72}.vip-icon{flex:none;margin-top:2px;display:inline-flex}.vip-meta{flex-direction:column;gap:2px;min-width:0;display:flex}.vip-meta span{opacity:.82;font-size:.9em}@media (width<=520px){.vip-grid{grid-template-columns:1fr}}.vip-progress{margin-top:6px}.owner-rush-pill{z-index:18;pointer-events:none;position:fixed;top:72px;left:50%;transform:translate(-50%)}.rush-badge{color:#7d4c14;background:#fff8e8f0;border:1px solid #d6a244;border-radius:999px;align-items:center;gap:6px;padding:5px 12px;font-size:.82rem;display:inline-flex;box-shadow:0 4px 12px #3e280e24}.rush-badge.is-peak{color:#63380a;background:linear-gradient(#fff3cc 0%,#f5d376 100%)}@media (height<=460px){.owner-rush-pill{top:56px;transform:translate(-50%)scale(.9)}}.auth-google-button{color:#2b2118;background:#fff;border:1px solid #5c3d2240;justify-content:center;align-items:center;gap:10px;width:100%;min-height:44px;margin-bottom:10px;font-weight:700;display:flex}.auth-google-icon{flex:none}.dock .nav-badge{background:var(--ui-primary);color:#fff;border:2px solid var(--ui-paper-light);text-align:center;pointer-events:none;border-radius:999px;min-width:18px;height:18px;padding:0 5px;font-size:10px;font-weight:800;line-height:14px;position:absolute;top:2px;right:10px}.social-inbox-banner{color:#8b2814;background:#fdeae4;border:1px solid #c8452f59;border-radius:10px;margin:0 0 10px;padding:8px 12px;font-size:.88rem;font-weight:700}
