@import url('./panels.css');
@font-face{font-family:Galmuri;src:url('./fonts/Galmuri11.woff2') format('woff2');font-display:swap;font-weight:400}
:root{--bg:#233b39;--panel:#2c4442;--panel2:#38524c;--line:#718275;--cream:#fff5df;--muted:#c3ccbb;--mint:#b9db99;--peach:#f6cf87;--gold:#f3d483;--ink:#263b36;--red:#f2aa83;font-family:Galmuri,'Malgun Gothic',sans-serif;font-size:16px;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{color:var(--cream);background:#78a792}button,input,select{font:inherit}button{color:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,input:focus-visible{outline:3px solid #f8d778;outline-offset:3px}button:not(:disabled):active{translate:0 2px}button{transition:background .12s,box-shadow .12s}h1,h2,h3,p{margin:0}a{color:inherit}.app{position:relative;width:100%;height:100dvh;isolation:isolate}.world{position:absolute;inset:0;overflow:hidden;z-index:-1}.world canvas{width:100%;height:100%;display:block;image-rendering:pixelated}.glass{background:linear-gradient(145deg,#2e4744f5,#203b39f0);border:1px solid #99b1a38c;box-shadow:0 3px 0 #142c2b99,0 10px 25px #1b322f30,inset 0 1px #e1f3d319;border-radius:9px;backdrop-filter:blur(8px)}.topbar{position:absolute;top:16px;left:20px;right:20px;height:65px;display:flex;align-items:center;padding:0 18px;gap:24px}.brand{display:flex;align-items:center;gap:9px;flex:1}.brand-icon{font-family:serif;font-size:34px;color:var(--gold)}.brand strong{font-size:19px;letter-spacing:1px;font-weight:normal}.brand small{display:block;color:#bacdb8;font-size:9px;letter-spacing:2px;margin-top:6px}.statusbar{display:flex;gap:30px}.stat{display:flex;flex-direction:column;gap:5px;min-width:85px}.stat small{font-size:11px;color:var(--muted)}.stat strong{font-size:20px;font-weight:normal;color:#f9e6a8}.stat strong span{font-size:12px;margin-left:5px;color:var(--muted)}.stat.reputation strong{color:#bedfa8}.header-right{display:flex;gap:6px}.icon-button,.scene-button{border:1px solid #81968a;background:#3a514c;border-radius:5px;min-width:38px;min-height:38px;font-size:16px}.icon-button:hover,.scene-button:hover{background:#587363}.time-hud{position:absolute;top:94px;right:20px;width:222px;padding:13px 14px;display:grid;grid-template-columns:1fr auto;gap:8px}.day-badge{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}.day-badge strong{font-weight:normal;font-size:15px}.day-badge>span{font-size:11px;color:var(--muted)}.clock-widget{display:flex;align-items:center;gap:10px}.clock-widget>span{font-size:22px;letter-spacing:1px}.clock-widget small{display:none}.scene-button{font-size:12px;min-height:32px;padding:4px 7px}.day-progress{height:3px;grid-column:1/-1;grid-row:3;background:#60736a}.day-progress i,.goal-progress i,.goal-line i{display:block;height:100%;background:#c4dba0;width:0;transition:width .15s}.place-hud{position:absolute;left:22px;top:97px;display:flex;flex-direction:column;gap:7px;font-size:14px;color:#233f39;text-shadow:0 1px #e0e5c7}.place-hud>span:first-child{font-size:17px}.location i{display:none}#weather-tag{font-size:12px}.goal-hud{position:absolute;top:156px;left:20px;width:205px;padding:15px}.eyebrow{font-size:11px;color:var(--muted);letter-spacing:1px}.goal-hud>p{font-size:13px;line-height:1.8;margin-top:8px}.goal-progress,.goal-line{height:4px;background:#576d5f;margin-top:10px;display:block;overflow:hidden}.goal-bottom{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:7px}.life-goal{border:0;border-top:1px solid #65806e;background:none;width:100%;padding:12px 0 0;margin-top:16px;text-align:left}.life-goal>span:first-child{display:block;font-size:11px;color:var(--muted);margin-bottom:7px}.life-goal strong{font-size:14px;font-weight:normal}.goal-line{height:2px}.order-hud{position:absolute;right:20px;top:210px;width:210px;max-height:calc(100dvh - 325px);display:flex;flex-direction:column;gap:8px}.order-heading{display:flex;justify-content:space-between;font-size:14px;text-shadow:0 1px #29463b;color:#fffbe8}.order-heading small{font-size:9px;align-self:end}.customers{display:flex;flex-direction:column;gap:7px;overflow:auto;padding:2px 3px 5px;scrollbar-width:thin;scrollbar-color:#acc18e transparent}.customers:empty:after{content:'골목으로 손님이 찾아올 거예요';background:#2e4744bc;border:1px dashed #bdcbb3;padding:18px 10px;text-align:center;font-size:12px;line-height:1.8;border-radius:6px}.customer{position:relative;flex:none;text-align:left;border:1px solid #dedec6;border-radius:6px;background:#fbf0d6;color:#405343;padding:8px 10px;box-shadow:0 3px #466c5366;display:grid;grid-template-columns:1fr auto;gap:3px 7px;min-height:66px}.customer .name{font-size:10px;grid-column:1}.customer .order{display:flex;align-items:center;gap:5px;grid-column:1;grid-row:2;font-size:14px}.customer .trait{font-size:9px;grid-column:2;grid-row:1/3;align-self:center;white-space:pre-line;line-height:1.5;color:#7d805e}.customer .food-icon{width:30px;height:25px}.wait-bar{grid-column:1/-1;height:3px;background:#ddd2b1;margin-top:2px}.wait-bar i{height:100%;display:block;background:#89ad72}.customer.urgent{background:#ffe0be;border-color:#e6a77e}.customer.urgent .wait-bar i{background:#dc8666}.customer.can-serve{box-shadow:0 0 0 2px #b2de7d,0 3px #284b3a}.customer.selected-order{border-color:#5e9971;box-shadow:inset 3px 0 #74a282}.review-card{position:absolute;left:20px;top:371px;width:205px;padding:13px;font-size:12px;line-height:1.8}.review-card:has(.review-by:only-child){display:none}#latest-review{margin-top:5px}.review-by{font-size:10px;color:var(--muted);margin-top:6px}.stars{color:var(--gold);font-size:12px;letter-spacing:2px}.text-button{border:0;background:none;color:var(--muted);font-size:12px;min-height:32px;padding:5px}.text-button:hover{color:var(--cream)}.kitchen{position:absolute;bottom:100px;left:50%;transform:translateX(-50%);width:min(700px,calc(100% - 510px));padding:12px 14px 10px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-heading>div{display:flex;align-items:baseline;gap:10px;min-width:0}.section-heading h1{font-size:16px;font-weight:normal;white-space:nowrap}#kitchen-state{font-size:11px;color:#c5dba2}.recipe-tabs{display:flex;gap:7px;margin:8px 0}.recipe-tab{border:1px solid #71897b;border-radius:5px;background:#253d39;display:flex;align-items:center;gap:6px;flex:1;padding:5px 8px;min-height:40px;text-align:left}.recipe-tab.selected{background:#566748;border-color:#d2dfa3;box-shadow:inset 0 -2px #bdcd88}.recipe-tab strong{font-size:13px;font-weight:normal}.recipe-tab small{font-size:10px;color:var(--muted);margin-left:8px}.food-icon{width:34px;height:28px;flex:none;image-rendering:pixelated}.pans{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}.pan{flex:1;min-width:100px;border:1px solid #879681;border-bottom:3px solid #132d2b;background:#213c37;border-radius:6px;min-height:125px;padding:8px 5px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.pan:not(:disabled):hover{background:#395549;border-color:#e4e5ba}.pan:disabled{opacity:1}.pan[aria-disabled=true]{cursor:default}.pan .pan-number{position:absolute;top:5px;left:7px;color:#b7c4ac;font-size:10px}.pan .stove-ring{margin-top:10px;display:grid;place-items:center;width:64px;height:36px;border-radius:50%;border:2px solid #6d7965;background:#182e2b;box-shadow:0 3px #112824}.stove-ring:empty:after{content:'+';font-size:23px;color:#a0b295}.pan .food-icon{height:36px;width:43px}.pan strong{font-size:14px;font-weight:normal;margin-top:2px}.pan small{font-size:10px;color:var(--muted)}.pan.action{border-color:#f0d086;background:#54533b}.pan.ready{border-color:#ceeb9a;background:#466344}.pan.burned{border-color:#db9b7f;background:#5b4139}.pan.cooking .stove-ring{box-shadow:0 3px #d29d56}.pan.perfect{box-shadow:inset 0 0 0 1px #f4dd92}.mini-progress{display:block;width:85%;height:5px;background:#587060;border-radius:2px;overflow:hidden}.mini-progress i{height:100%;display:block;background:#e7d29b}.step-dots{display:flex;gap:3px}.step-dots i{display:block;width:12px;height:3px;background:#627367}.step-dots i.done{background:#e2d39c}.kitchen-footer{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);margin-top:5px;min-height:13px}.keyboard-hint{white-space:nowrap}.command-dock{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:4px;padding:7px 8px}.command-dock>button:not(.primary-button){border:0;border-right:1px solid #637d69;background:none;padding:3px 12px;display:flex;flex-direction:column;align-items:center;gap:3px;min-width:59px;font-size:11px;min-height:43px}.command-dock>button:hover{background:#506951}.nav-symbol{font-family:serif;color:#d5dfa9;font-size:20px;line-height:20px}.primary-button{background:#d0dda2;color:#32462f;border:1px solid #e9efc6;border-bottom:3px solid #91a569;border-radius:5px;min-height:44px;padding:10px 16px;font-size:15px}.primary-button:hover:not(:disabled){background:#e0eab8}.command-dock #start{min-width:150px;margin-left:6px;white-space:nowrap}.status-note{position:absolute;bottom:4px;left:50%;transform:translateX(-50%);font-size:10px;display:flex;gap:20px;color:#eef1d2;text-shadow:0 1px #355b42;white-space:nowrap}#save-status{opacity:.75}.scene-caption{position:absolute;top:24%;left:50%;transform:translateX(-50%);text-align:center;color:#244b40;background:#fff4ccdd;border:1px solid #f8efd8;box-shadow:0 3px #456c4744;border-radius:6px;padding:13px 20px;max-width:90%;pointer-events:none}.scene-caption span{display:block;font-size:16px}.scene-caption small{display:block;font-size:12px;margin-top:7px;color:#6b795a}.combo{position:absolute;top:19%;left:50%;transform:translateX(-50%);font-size:17px;color:#f8ebac;background:#385740d9;padding:7px 13px;border-radius:6px}.sr-only{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}#toast{position:fixed;top:92px;left:50%;transform:translate(-50%,-10px);max-width:min(480px,90vw);background:#fff0c9;color:#43563b;border:1px solid #fff8e2;border-bottom:3px solid #bdc98d;border-radius:6px;padding:12px 18px;font-size:14px;line-height:1.7;box-shadow:0 5px 24px #2a4d3e40;opacity:0;pointer-events:none;z-index:30;transition:opacity .18s,transform .18s}#toast.show{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}
/* Management windows float over the running world. */
dialog{background:#2d4540;border-color:#8ea58f;max-height:88dvh;border-radius:9px;color:var(--cream);font-family:inherit;width:min(720px,calc(100vw - 24px));padding:0}dialog::backdrop{background:#183d354d;backdrop-filter:blur(3px)}#modal-content{padding:24px}.modal-head h2{font-size:23px;font-weight:normal}.modal-head p{font-size:14px;line-height:1.8}.close-modal{background:#486147;border-color:#93a686;min-width:40px;min-height:40px}.shop-card,.taste-card,.location-card,.checklist>div,.wish{background:#354f45;border-color:#70846e}.shop-card.active,.location-card.active{background:#496449;border-color:#d7dea9}.forecast-hero{background:#465f52;border-color:#819b83}.time-options button,.price-options button{background:#304b42;border-color:#7d927b;min-height:44px}.time-options button.active,.price-options button.active{background:#5d724c;border-color:#d6dda7}.tip-box{background:#455a46;border-color:#e5d39e;color:#e4e7ca;font-size:14px}.shop-card p,.location-card p,.taste-card .micro,.settings-row p{font-size:13px}.taste-card label{font-size:15px}.taste-card output{color:#e2dfa5}.price-input-row{display:flex;align-items:center;gap:10px;margin-top:16px}.price-input-row label{display:inline;margin:0;font-size:14px}.price-input-row input,.mix-input{min-width:0;width:110px;background:#223e36;border:1px solid #9aaa82;border-radius:4px;color:#f0edc7;padding:9px;font-size:18px;text-align:center}.mix-controls{display:flex;gap:10px;margin:14px 0}.mix-controls label{display:flex;flex:1;flex-direction:column;gap:8px;font-size:14px;margin:0}.mix-input{width:100%}.small-button{background:#486045;border:1px solid #809771;border-bottom:3px solid #1d392f;border-radius:4px;min-height:42px;padding:8px 12px;font-size:14px;color:#f2edcf}.small-button:hover:not(:disabled){background:#5c754e}.wide{width:100%;margin-top:12px}.muted{color:var(--muted)}.micro{font-size:13px;line-height:1.8}.subheading{display:flex;justify-content:space-between;font-size:15px;margin-bottom:12px;color:#dfdfa6}#management-dialog{padding:24px;max-width:620px}#management-dialog .modal-head{margin-bottom:15px}.management-tabs{display:flex;border-bottom:1px solid #738a71;margin-bottom:16px;position:sticky;top:-24px;background:#2d4540;padding-top:5px;z-index:2}.management-tabs button{flex:1;background:none;border:0;border-bottom:3px solid transparent;font-size:14px;padding:14px 5px}.management-tabs button[aria-selected=true]{border-bottom-color:#d0df98;color:#e0e5b5}#management-content{overflow:visible}.ingredient-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid #5d735f;padding:9px 0}.ingredient-name{flex:1;font-size:15px}.ingredient-name small{color:var(--muted);font-size:12px}.quantity{font-size:18px;color:var(--gold);min-width:25px;text-align:center}.buy-buttons{display:flex;gap:5px}.upgrade-item{padding:16px 0;border-bottom:1px solid #5d735f}.upgrade-title{display:flex;justify-content:space-between;gap:10px;font-size:15px}.upgrade-item p{font-size:13px;line-height:1.8;color:var(--muted);margin:9px 0}.upgrade-item .small-button{width:100%}.level{font-size:11px;color:#d6dda4}.management-done{width:100%;margin-top:20px}.storage-meter{height:7px;background:#506750;margin:12px 0 6px}.storage-meter i{display:block;height:100%;background:#d2d99d}.receipt{font-family:inherit}.receipt h2{font-family:inherit}.receipt .tip-box{color:#f3efd9}.checklist p{font-size:14px}.record-numbers>div{background:#243f35}.pause-shade{background:#183d354d;backdrop-filter:none;display:grid;place-items:center}.pause-shade>div{padding:20px;background:#2b493eee;border:1px solid #adc19c;border-radius:8px}.pause-shade strong{font-size:22px}.pause-shade small{font-size:13px}.quality-badge{position:absolute;right:6px;top:6px;color:#f6df8e;font-size:10px}.modal-head p,.forecast-hero p,.time-options small,.location-card .forecast-reason{color:var(--muted)}.modal-grid h3{font-size:16px}.new-catalog{font-size:12px;color:#d8e1a5;margin-top:7px}
@media(max-width:1100px){.kitchen{width:min(650px,calc(100% - 270px));left:20px;transform:none}.goal-hud,.review-card{display:none}.topbar{gap:15px}.brand strong{font-size:17px}.statusbar{gap:18px}.stat{min-width:65px}.place-hud{font-size:13px}.order-hud{width:210px;max-height:calc(100dvh - 300px)}.keyboard-hint{display:none}.recipe-tab small{display:block;margin:3px 0 0}.command-dock{left:20px;transform:none}.scene-caption{top:26%;left:40%;max-width:60%}}
@media(max-width:700px){.topbar{top:max(8px,env(safe-area-inset-top));left:8px;right:8px;height:52px;padding:0 10px;gap:10px}.brand{flex:0}.brand strong,.brand small{display:none}.brand-icon{font-size:29px}.statusbar{gap:16px;flex:1;justify-content:space-around}.stat{min-width:0;gap:4px}.stat small{font-size:10px}.stat strong{font-size:17px}.stat strong span{font-size:10px;margin-left:3px}.header-right{gap:4px}.icon-button{min-width:33px;min-height:34px;font-size:14px}#sound{display:none}.sales-stat{display:none}.time-hud{top:68px;right:8px;padding:7px 9px;width:180px;gap:5px}.day-badge strong{font-size:12px}.day-badge>span{font-size:9px}.clock-widget>span{font-size:18px}.scene-button{font-size:10px;min-height:28px;min-width:58px}.place-hud{left:11px;top:75px;max-width:calc(100% - 205px);gap:6px}.place-hud>span:first-child{font-size:13px;line-height:1.6}#weather-tag{font-size:10px;line-height:1.6}.scene-caption{top:23%;left:50%;max-width:86%;width:max-content;padding:10px 13px}.scene-caption span{font-size:14px}.scene-caption small{font-size:11px}.combo{top:23%;font-size:14px}.kitchen{left:8px;right:8px;bottom:76px;width:auto;padding:9px 9px 7px;border-radius:8px;transform:none;height:213px}.section-heading h1{font-size:14px}.section-heading>div{gap:8px}#kitchen-state{font-size:10px}.section-heading .text-button{font-size:11px;min-height:24px;padding:2px}.recipe-tabs{gap:5px;margin:5px 0}.recipe-tab{padding:4px 5px;gap:4px;min-height:39px}.recipe-tab .food-icon{width:26px;height:23px}.recipe-tab strong{font-size:12px}.recipe-tab small{font-size:9px;margin-top:3px}.pans{gap:6px}.pan{min-height:112px;min-width:98px;padding:6px 3px;gap:3px}.pan strong{font-size:12px}.pan small{font-size:9px}.pan .stove-ring{height:31px;width:54px;margin-top:9px}.pan .food-icon{height:30px;width:37px}.pan .pan-number{font-size:9px}.kitchen-footer{font-size:9px;line-height:1.3;margin-top:2px;min-height:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-hud{left:8px;right:8px;top:auto;bottom:299px;width:auto;max-height:none;gap:4px}.order-heading{font-size:12px;padding:0 3px}.order-heading small{font-size:9px}.customers{flex-direction:row;gap:6px;overflow-x:auto;overflow-y:hidden;padding:0 2px 4px;max-height:83px}.customers:empty:after{padding:10px;font-size:12px;width:100%;background:#294c39a6;min-height:46px}.customer{min-width:123px;width:123px;min-height:67px;padding:6px 7px;gap:2px}.customer .name{font-size:9px;grid-column:1/-1}.customer .order{font-size:12px;grid-row:2;grid-column:1/-1}.customer .trait{display:none}.customer .food-icon{width:26px;height:23px}.command-dock{bottom:max(8px,env(safe-area-inset-bottom));left:8px;right:8px;width:auto;padding:5px 4px;gap:0;transform:none;justify-content:space-around}.command-dock>button:not(.primary-button){padding:2px 5px;min-width:37px;min-height:45px;font-size:10px;gap:4px;flex:1}.command-dock .record-nav{display:none!important}.nav-symbol{font-size:18px;line-height:17px}.command-dock #start{min-width:88px;margin-left:5px;padding:7px 6px;font-size:12px;flex:1.6;min-height:43px}.status-note{display:none}.goal-hud,.review-card{display:none}#toast{top:148px;font-size:12px;line-height:1.7;padding:9px 13px;max-width:90vw}.modal-head h2{font-size:20px}.modal-head p{font-size:13px}#modal-content,#management-dialog{padding:18px}dialog{max-height:90dvh;width:calc(100vw - 16px);margin:auto}.modal-grid,.location-grid{grid-template-columns:1fr}.shop-card{padding:14px}.shop-card .food-icon{width:60px;height:50px}.shop-card h3{margin-top:5px}.shop-card p{margin:5px 0 12px}.shop-card .tag{margin:5px auto}.wish-grid{gap:8px}.wish{padding:12px}.wish h3{font-size:14px}.wish button{font-size:12px;padding:8px 5px}.ingredient-name{font-size:13px}.ingredient-name small{font-size:10px}.ingredient-row{gap:6px}.small-button{font-size:12px;padding:7px 8px;min-height:42px}.management-tabs button{font-size:13px}.upgrade-title{font-size:14px}.price-input-row{flex-wrap:wrap}.mix-controls{gap:8px}.mix-controls label{font-size:13px}.mix-input{font-size:17px;padding:8px 3px}.taste-card{padding:14px}.time-options button{font-size:12px;padding:8px 3px}.time-options small{font-size:10px}.primary-button{font-size:14px}.tip-box{font-size:13px}.receipt{padding:20px}.receipt-row{font-size:13px}.receipt h2{font-size:22px}.pause-shade>div{max-width:85%;margin-top:-160px}.pause-shade strong{font-size:18px}.pause-shade small{font-size:11px}}
@media(max-height:620px) and (min-width:701px){.topbar{height:50px;top:8px}.time-hud{top:69px}.place-hud{top:74px}.order-hud{top:174px;max-height:calc(100dvh - 255px)}.goal-hud,.review-card{display:none}.kitchen{bottom:82px}.command-dock{bottom:12px}.status-note{display:none}.scene-caption{top:23%}}
@media(max-height:650px) and (max-width:700px){.kitchen{height:184px;bottom:65px}.pan{min-height:86px}.pan .stove-ring{height:24px}.pan small{display:none}.kitchen-footer{display:none}.order-hud{bottom:259px}.customers{max-height:70px}.recipe-tabs{margin:4px 0}.command-dock{bottom:5px}.command-dock>button:not(.primary-button){min-height:40px}.scene-caption{display:none}.place-hud{top:68px}.time-hud{top:65px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
.app[data-phase="prep"] .kitchen,.app[data-phase="summary"] .kitchen{display:none}.app[data-phase="prep"] .order-hud,.app[data-phase="summary"] .order-hud{display:none}.app[data-phase="prep"] .scene-caption{top:66%}.app[data-phase="summary"] .scene-caption{top:66%}.cooking-food{width:67px!important;max-width:90%;height:40px!important}.gold-food{filter:drop-shadow(0 0 4px #efd56c)}.pan .stove-ring:has(.cooking-food){width:79px;border-radius:8px;height:41px;background:#3c4a43}.pan .mini-progress{margin:3px 0}.pan.action .stove-ring:has(.cooking-food){border-color:#f0d086}.pan.ready .stove-ring{border-color:#dbeb9c}@media(max-width:700px){.app[data-phase="prep"] .scene-caption{top:auto;bottom:100px}.pan .stove-ring:has(.cooking-food){width:65px;height:33px}.cooking-food{height:31px!important}.app[data-phase="playing"] .review-card{display:none}}
.facility-heading{margin:25px 0 14px;font-size:18px;font-weight:normal}.facility-list{display:grid;gap:8px}.facility-item{border:1px solid #75836c;background:#314a40;border-radius:5px;padding:12px;display:flex;gap:14px;align-items:center;justify-content:space-between}.facility-item.active{border-color:#c5d99a;background:#486044}.facility-item strong{font-size:15px;font-weight:normal}.facility-item p{color:var(--muted);font-size:12px;line-height:1.8;margin-top:5px}.facility-item button{min-width:145px;font-size:12px}.app[data-phase="prep"] .goal-hud{top:160px}.app[data-phase="prep"] .review-card{display:none}@media(max-width:700px){.facility-item{flex-direction:column;align-items:stretch;gap:9px}.facility-item button{width:100%}.app[data-phase="prep"] .goal-hud{display:none}}
.spare-stock{margin-top:15px;border-top:1px solid #6e806c;padding-top:12px;font-size:13px}.spare-stock summary{cursor:pointer;min-height:30px}.discard-button{background:#544c3d;color:#d8c4a2;border-color:#877e62}
@media(max-width:700px){.pan strong{font-size:14px;line-height:1.2}.recipe-tab strong{font-size:13px}.pan small{font-size:10px}.pan{min-width:104px}.customer .order{font-size:13px}.kitchen-footer{font-size:10px}}

/* The street is the main view: compact management rail on desktop, short dock on phones. */
.demand-hours{display:flex;gap:6px;justify-content:space-between;margin:12px 0}.demand-hours span{display:grid;gap:5px;text-align:center;font-size:12px}.demand-hours small{color:#bbc9a7}.demand-hours b{font-weight:normal;color:#eddda4}
.preview-banner{position:absolute;z-index:15;top:88px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;padding:8px 12px;font-size:12px;white-space:nowrap}.preview-banner button,.preview-banner a{color:#f5e7b9;border:1px solid #82977b;background:#355241;border-radius:4px;padding:8px;font:inherit;text-decoration:none;min-height:34px}.preview-banner strong{font-weight:normal;color:#d2dfb5}
@media(min-width:1101px){.time-hud{left:20px;right:auto;top:94px;width:256px}.place-hud{left:316px;top:105px}.goal-hud{left:20px;top:210px;width:256px}.app[data-phase="prep"] .goal-hud{top:210px}.review-card{display:none}.kitchen{left:20px;bottom:100px;transform:none;width:300px;padding:12px}.kitchen .section-heading{flex-wrap:wrap;gap:5px}.kitchen .recipe-tabs{gap:4px}.kitchen .recipe-tab{padding:5px;gap:4px}.kitchen .recipe-tab .food-icon{width:25px}.kitchen .recipe-tab strong{font-size:13px}.kitchen .recipe-tab small{font-size:11px;display:block}.kitchen .pans{overflow-x:auto;max-width:100%}.kitchen .pan{min-width:110px}.kitchen .keyboard-hint{display:none}.kitchen .kitchen-footer{font-size:11px}.app[data-shop="lemon"] .kitchen .pan:not(:first-child){display:none}.app[data-shop="lemon"] .kitchen .pans{display:block}.app[data-shop="lemon"] .kitchen .pan{width:100%;min-height:104px}.app[data-shop="lemon"] .kitchen .pan small{display:none}.command-dock{left:20px;right:20px;transform:none;width:auto;justify-content:center}.order-hud{top:170px;right:20px;width:192px}.is-preview .preview-banner{left:auto;right:20px;transform:none;top:90px}.is-preview .place-hud{top:145px}.scene-caption{left:61%;top:72%!important}}
@media(max-width:700px){.preview-banner{top:144px;left:8px;right:8px;transform:none;white-space:normal;flex-wrap:wrap;justify-content:center;gap:5px;font-size:11px;padding:5px}.preview-banner strong{width:100%;text-align:center}.preview-banner button,.preview-banner a{padding:5px 8px;min-height:30px}.app[data-shop="lemon"][data-phase="playing"] .kitchen{height:114px;bottom:76px}.app[data-shop="lemon"] .kitchen .section-heading{margin:0}.app[data-shop="lemon"] .kitchen .recipe-tabs{margin:4px 0}.app[data-shop="lemon"] .kitchen .pans,.app[data-shop="lemon"] .kitchen .kitchen-footer{display:none}.app[data-shop="lemon"][data-phase="playing"] .order-hud{bottom:200px}.app[data-shop="lemon"] .recipe-tab{min-height:40px}.customers:empty:after{min-height:28px}.app[data-shop="lemon"] .customer{min-width:110px;width:110px}.app[data-shop="lemon"] .order-heading small{display:none}}

/* Ingredient sliders keep their native keyboard and touch behavior. */
.mix-controls{display:grid;grid-template-columns:1fr;gap:12px;margin:16px 0}.mix-controls .mix-control{display:block;margin:0;padding:12px 14px;background:#233e35;border:1px solid #748c70;border-radius:6px}.mix-heading{display:flex;align-items:center;gap:12px;font-size:16px}.ingredient-icon{width:48px;height:44px;flex:none;image-rendering:pixelated}.mix-heading output{margin-left:auto;min-width:54px;text-align:right;font-size:22px;color:#f1dd99}.mix-control input.mix-slider{display:block;width:100%;height:44px;margin:4px 0 0;padding:0;accent-color:#d8ce82;cursor:pointer;touch-action:pan-y;background:transparent;box-sizing:border-box}.mix-control input.mix-slider:focus-visible{outline:2px solid #f2df9c;outline-offset:2px;border-radius:5px}.mix-limits{display:flex;justify-content:space-between;color:#b9c8ab;font-size:12px}.mix-control:has(input:disabled){opacity:.65}@media(max-width:700px){.mix-controls{gap:8px}.mix-controls .mix-control{padding:8px 12px}.mix-heading{font-size:15px}.ingredient-icon{width:40px;height:36px}.mix-heading output{font-size:20px}}
.stock-hud{display:flex;align-items:center;gap:12px;margin-left:auto}.stock-item{display:flex;align-items:center;gap:4px;white-space:nowrap;color:#f3e6c4;font-size:12px}.stock-item .ingredient-icon{width:30px;height:30px;image-rendering:pixelated}.stock-item strong{font-size:17px;min-width:2ch;text-align:right;font-variant-numeric:tabular-nums}.stock-item small{font-size:10px;color:#bccdae}.stock-item.empty strong{color:#e6b18e}
@media(min-width:701px) and (max-width:1100px){.stock-hud{gap:7px}.stock-name{display:none}.topbar{gap:10px}.brand>div{display:none}.statusbar{gap:14px}}
@media(max-width:700px){.topbar{height:92px;flex-wrap:wrap;align-content:center;row-gap:0}.stock-hud{order:4;width:100%;justify-content:space-around;border-top:1px solid #72947750;margin:3px 0 0;padding-top:3px;gap:4px}.stock-item{gap:4px;font-size:11px}.stock-item .ingredient-icon{width:26px;height:26px}.stock-item strong{font-size:15px}.stock-name{display:inline}.time-hud{top:108px}.place-hud{top:115px}.preview-banner{top:184px}#toast{top:188px}}
.stock-item{flex-shrink:0}
@media(min-width:701px) and (max-width:1399px){.stock-name{display:none}}
@media(min-width:701px) and (max-width:900px){.sales-stat{display:none}}
.preview-location-label{display:flex;align-items:center;gap:5px}.preview-location-label select{font:inherit;color:#f5e7b9;background:#355241;border:1px solid #82977b;border-radius:4px;padding:7px;min-height:34px;max-width:155px}.district-swatch{height:34px;margin:-4px -4px 12px;padding:8px 10px;border-left:4px solid #b98e6d;background:#6b6550;font-size:11px;color:#fff0ce}.district-bundang{border-color:#dfc264;background:#676e50}.district-pangyo{border-color:#8ab8bc;background:#496a6e}.district-yatap{border-color:#c299a1;background:#69585e}.district-detail{font-size:11px!important;color:#d0ceaa!important}.location-title strong{line-height:1.5}.is-preview .place-hud{max-width:260px}
@media(max-width:700px){.preview-location-label select{min-height:30px;padding:4px;font-size:11px;max-width:124px}.is-preview .place-hud{max-width:calc(100% - 205px)}.preview-banner{gap:4px}.preview-location-label{font-size:0;gap:0}.preview-banner strong{font-size:10px}}
.close-day{grid-column:1/-1;grid-row:4;border-color:#b1a07c;color:#f2d6ad;min-height:32px}.customers:empty:after{content:'지금 대기 중인 손님이 없어요'}.app[data-phase="playing"] .time-hud{row-gap:6px}
@media(min-width:1101px){.app[data-phase="playing"] .goal-hud{top:246px}}
@media(max-width:700px){.close-day{min-height:32px;font-size:11px}.is-preview .preview-banner{top:218px}}

/* A fixed calendar corner and a clear notification lane, separate from controls. */
.glass,dialog{border-radius:3px;backdrop-filter:none;border:2px solid;border-color:#a4b59a #172f2d #172f2d #a4b59a;box-shadow:inset 0 0 0 1px #587969,2px 2px 0 #142c2b99}
.time-hud{top:16px;left:20px;right:auto;width:256px;min-height:116px}
.topbar{left:292px}.topbar .brand{display:none}.topbar .statusbar{flex:1}.topbar .stat{position:relative}
.place-hud,.is-preview .place-hud{left:298px;top:96px}.goal-hud,.app[data-phase="prep"] .goal-hud,.app[data-phase="playing"] .goal-hud{top:156px}
#sale-gain{position:absolute;left:100%;bottom:0;margin-left:8px;padding:4px 6px;background:#233f2d;color:#edeea2;border:1px solid #b5c68e;white-space:nowrap;font-size:15px;z-index:3;pointer-events:none}
#sale-gain.pop{animation:cash-pop .3s steps(3,end)}@keyframes cash-pop{from{translate:0 8px;opacity:0}to{translate:0 0;opacity:1}}
#toast{position:fixed;top:auto;left:auto;right:24px;bottom:104px;transform:none;width:260px;max-width:calc(100vw - 32px);font-size:13px;line-height:1.7;border-radius:2px;pointer-events:none;z-index:25}
.dialog-notice{position:sticky;bottom:0;background:#264e3c;color:#f2e5b5;border:1px solid #809572;padding:10px 12px;margin:12px 0 0;font-size:13px;line-height:1.6;pointer-events:none}
.dialog-notice{position:static}#toast.show{transform:none}
dialog .dialog-notice:empty{display:none}
@media(min-width:701px) and (max-width:1100px){.topbar{left:258px;padding:0 10px;gap:8px}.time-hud{width:222px}.statusbar{gap:10px}.sales-stat{display:none}.place-hud,.is-preview .place-hud{left:264px}.topbar .stat{min-width:65px}.stock-hud{gap:4px}.stock-item .ingredient-icon{width:24px}.header-right{gap:3px}.header-right .icon-button{min-width:30px}.topbar #sound{display:none}}
@media(max-width:700px){
 .time-hud{top:max(8px,env(safe-area-inset-top));left:8px;right:auto;width:174px;min-height:126px;padding:8px;gap:5px;grid-template-columns:1fr auto}.day-badge{display:block}.day-badge strong{font-size:15px}.day-badge>span{display:block;font-size:11px;margin-top:4px}.clock-widget>span{font-size:22px}.scene-button{min-width:58px;min-height:32px}.close-day{min-height:32px}
 .topbar{top:max(8px,env(safe-area-inset-top));left:190px;right:8px;height:126px;display:grid;grid-template-columns:1fr auto;padding:8px;gap:5px}.topbar .statusbar{display:block;min-width:0}.topbar .reputation,.topbar .brand,.topbar .sales-stat{display:none}.stat strong{font-size:17px}.stat small{font-size:11px}.header-right{flex-direction:column;gap:4px}.header-right .icon-button{min-width:30px;width:30px;min-height:30px}.stock-hud{grid-column:1/-1;display:flex;justify-content:space-between;padding-top:4px;margin:0;gap:1px}.stock-item{display:grid;grid-template-columns:auto;font-size:10px;gap:1px;justify-items:center}.stock-item .ingredient-icon{width:24px;height:23px}.stock-item strong{font-size:14px;min-width:2ch}.stock-name,.stock-item small{display:none}
 #sale-gain{left:0;bottom:-23px;margin:0;font-size:12px;padding:2px 4px}.place-hud,.is-preview .place-hud{top:145px;left:12px;max-width:calc(100% - 24px);gap:3px}.place-hud>span:first-child{font-size:13px}.place-hud #weather-tag{display:none}
 #toast{top:171px;bottom:auto;left:10px;right:10px;width:auto;max-width:none;font-size:12px;padding:6px 10px;max-height:60px;overflow:hidden}.is-preview .preview-banner{top:177px}.is-preview~#toast{top:250px}.app.is-preview .place-hud{top:145px}
}
@media(max-height:620px) and (min-width:701px){.time-hud{top:8px}.topbar{top:8px}.place-hud,.is-preview .place-hud{top:70px}#toast{bottom:87px}}

/* Classic management window: title strip, raised tabs and inset ledgers. */
#modal[data-view="summary"]{width:min(850px,calc(100vw - 20px));background:#305745}
#modal[data-view="summary"] #modal-content{padding:0}.daily-report{color:#f2edce}
.report-title{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(90deg,#234c46,#406f52);border-bottom:2px solid #152f2b;padding:12px 18px;font-size:17px;box-shadow:inset 0 1px #91ae85}.report-title strong{font-weight:normal;color:#e7db8e}
.report-location{padding:18px 22px 10px}.report-location h2{font-size:24px;font-weight:normal}.report-location p{font-size:13px;color:#cad5b5;margin-top:9px;line-height:1.6}
.report-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:6px 22px 18px}.report-kpis>div{background:#203f34;border:2px solid;border-color:#183329 #6e8e6c #6e8e6c #183329;padding:12px}.report-kpis small{display:block;font-size:12px;color:#c1d0ac}.report-kpis strong{display:block;margin-top:10px;font-size:21px;font-weight:normal;color:#f1d67e;white-space:nowrap}
.report-tabs{display:flex;gap:5px;padding:0 22px;border-bottom:2px solid #9aae7b}.report-tabs button{border:2px solid;border-color:#9eaf82 #172f28 #172f28 #9eaf82;background:#3c6048;padding:12px 16px;font-size:14px;min-height:44px}.report-tabs button[aria-pressed="true"]{background:#688253;color:#fff0b9;border-bottom-color:#688253}
.report-body{background:#294c3c;padding:18px 22px;min-height:270px}.report-table-wrap{overflow-x:auto;border:1px solid #648161}.report-table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}.report-table caption{text-align:left;padding:10px;background:#1d3e32;color:#bdcda9;font-size:12px}.report-table th,.report-table td{padding:11px 12px;border-bottom:1px solid #526c50;text-align:right;white-space:nowrap}.report-table th:first-child{text-align:left}.report-table tbody th{font-weight:normal}.report-table thead{background:#385e43;color:#e8d995}.report-table tbody tr:nth-child(even){background:#305541}.report-table td:nth-child(2){color:#f6dda0}.report-note{font-size:12px;line-height:1.8;color:#c1cbb0;margin-top:12px}.report-body h3{font-size:15px;font-weight:normal;margin-bottom:12px}
.report-customer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:20px}.report-customer-grid>div{padding:12px;background:#1e3e32;border:1px solid #597550}.report-customer-grid small{display:block;font-size:12px;color:#c7d4b5}.report-customer-grid strong{display:block;font-size:20px;font-weight:normal;margin-top:10px}.report-reviews blockquote{margin:0 0 10px;border-left:3px solid #a7b879;background:#35533e;padding:10px 14px}.report-reviews p{font-size:14px;line-height:1.7}.report-reviews small{font-size:12px;color:#b8c5a5}.hourly-chart{height:138px;display:flex;align-items:end;gap:6px;padding:8px 5px 23px;background:repeating-linear-gradient(to top,#5d755733 0 1px,transparent 1px 28px);border:1px solid #648161;margin-bottom:20px}.hour-column{height:100%;flex:1;display:flex;align-items:end;position:relative}.hour-bar{width:100%;background:#c8bd6e;border:1px solid #e9d593;min-height:1px}.hour-column small{position:absolute;bottom:-18px;left:50%;transform:translateX(-50%);font-size:10px;color:#c0d0ad}.hourly-detail{font-size:13px;line-height:1.8;margin-top:12px}.hourly-detail summary{min-height:36px;cursor:pointer}.report-footer{padding:15px 22px 20px;border-top:2px solid #749164;background:#385c43}.report-footer>div{display:flex;justify-content:space-between;gap:10px;font-size:13px;align-items:center}.report-footer strong{color:#f6da8b;font-size:21px;margin-left:8px}.report-footer .primary-button{display:block;width:100%;margin-top:15px;border-radius:1px}.report-award{font-size:13px;color:#e2d99c;margin-top:10px}
@media(max-width:700px){.report-title{padding:11px 14px;font-size:15px}.report-location{padding:14px}.report-location h2{font-size:20px}.report-kpis{padding:0 14px 14px;grid-template-columns:1fr 1fr;gap:6px}.report-kpis>div{padding:9px}.report-kpis strong{font-size:18px;margin-top:6px}.report-tabs{padding:0 10px;gap:3px}.report-tabs button{flex:1;font-size:12px;padding:11px 3px}.report-body{padding:12px;min-height:260px}.report-table{font-size:12px}.report-table th,.report-table td{padding:10px 6px}.report-customer-grid{grid-template-columns:1fr 1fr}.report-footer{padding:12px}.report-footer>div{flex-wrap:wrap;font-size:12px}.report-footer strong{font-size:18px}.hourly-chart{gap:4px}}

.city-game-canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;image-rendering:pixelated}.city-game-canvas[hidden],.city-camera[hidden],.city-loading[hidden]{display:none}.city-camera{position:absolute;right:14px;top:110px;display:flex;gap:5px;z-index:2}.city-camera button{min-width:42px;min-height:42px;background:#2b493ee8;color:#f2e4b6;border:1px solid #92a084;font:inherit}.city-loading{position:absolute;inset:0;display:grid;place-items:center;background:#233b32cc;color:#f2e4b6;z-index:3}.region-selector{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}@media(max-width:700px){.city-camera{top:145px;right:8px}.city-camera button{min-width:38px;font-size:12px}}

.world{z-index:0}.world canvas[hidden]{display:none}

.city-camera a{position:absolute;right:0;top:calc(100% + 5px);white-space:nowrap;font-size:10px;color:#f3ebca;background:#293d35c9;padding:3px 5px;text-decoration:none}
#modal[data-view="location"]{width:min(1120px,calc(100vw - 20px))}.business-map-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr);gap:22px}.business-map{position:relative;aspect-ratio:720/520;min-width:0;background:#dce2ca;border:3px solid #678572;overflow:hidden;border-radius:6px}.business-map>img{width:100%;height:100%;object-fit:fill}.map-north{position:absolute;right:12px;top:12px;color:#345644;font-weight:bold}.map-pin{position:absolute;transform:translate(-50%,-100%);width:44px;height:48px;padding:4px;border:0;background:none;z-index:1;cursor:pointer;color:#2c7153}.map-pin svg{width:30px;height:40px;fill:currentColor;stroke:#fff8da;stroke-width:1.7;filter:drop-shadow(0 2px 2px #344a4255)}.map-pin circle{fill:#f8edd1;stroke:none}.map-pin.locked{color:#6e7770}.map-pin.current{color:#ba772c}.map-pin.selected{z-index:3;color:#2674a0}.map-pin.selected svg{filter:drop-shadow(0 0 4px #fff)}.map-pin span{position:absolute;top:44px;left:50%;transform:translateX(-50%);font-size:11px;white-space:nowrap;color:#294b3d;background:#f7f3dce8;border-radius:3px;padding:2px 5px;max-width:150px;overflow:hidden;text-overflow:ellipsis}.map-pin.selected span{background:#244d3e;color:#fff}.map-pin:focus-visible{outline:3px solid #276b9f;border-radius:5px}.map-legend{font-size:12px;line-height:1.7;color:#c7d7c0}.map-legend small{font-size:10px}.location-detail{padding:17px;background:#284e3c;border:1px solid #6f8b6a;border-radius:6px}.location-detail h3{margin:7px 0 14px;font-size:22px}.location-detail p{font-size:13px;line-height:1.7}.location-detail>small{display:block;font-size:11px;margin-top:12px}.map-demand{display:flex;justify-content:space-between;gap:10px;padding:14px 0;border-block:1px solid #74926a;font-size:12px}.permit-status{color:#f4d48c}.region-selector{display:flex;gap:8px;margin-bottom:16px}.region-selector button{flex:1}.region-selector small{display:block;font-size:10px;margin-top:5px}.region-selector [aria-pressed="true"]{background:#658969;color:#fff}.stock-hud{max-width:50vw;overflow-x:auto;scrollbar-width:thin}.stock-item{flex-shrink:0}[data-stall-map]{display:block;width:100%;max-height:60vh;background:#d6dbc5;cursor:crosshair;touch-action:manipulation;border:2px solid #789875}[data-stall-map]:focus-visible{outline:3px solid #f5ce74}.upgrade-item[hidden]{display:none!important}
@media(max-width:700px){.business-map-layout{grid-template-columns:1fr;gap:10px}.business-map{aspect-ratio:1/1}.map-pin span{display:none}.map-pin.selected span,.map-pin.current span{display:block;max-width:125px}.location-detail{padding:14px}.location-detail h3{font-size:19px}.stock-hud{max-width:100%;justify-content:flex-start;gap:9px}.region-selector{gap:4px}.map-legend{font-size:11px}.business-map>img{object-fit:fill}}
.customer-feedback-layer{position:fixed;inset:0;pointer-events:none;z-index:4;overflow:hidden}.customer-feedback{position:absolute;transform:translate(-50%,-100%);display:flex;align-items:center;flex-direction:column;gap:8px;pointer-events:none}.taste-bubble{position:relative;background:#fff4d5;border:2px solid #46624a;box-shadow:2px 2px #172f3544;padding:4px;width:34px;height:34px}.taste-bubble:after{content:'';position:absolute;left:12px;bottom:-6px;border:4px solid transparent;border-top-color:#fff4d5;border-bottom:0}.taste-bubble svg{width:22px;height:22px;image-rendering:pixelated}.customer-gain{position:absolute;top:65px;white-space:nowrap;font-size:14px;color:#fff0a5;text-shadow:1px 1px #243e2b,-1px -1px #243e2b,1px -1px #243e2b,-1px 1px #243e2b}
/* Keep map geometry and action rows stationary while only the description scrolls. */
#modal[data-view="location"]{height:min(820px,94dvh);max-height:94dvh;overflow:hidden;padding:0}
#modal[data-view="location"] #modal-content{height:100%;min-height:0;box-sizing:border-box;display:grid;grid-template-rows:auto auto minmax(0,1fr);overflow:hidden;padding:22px}
#modal[data-view="location"] .modal-head{margin-bottom:8px}#modal[data-view="location"] .region-selector{margin:8px 0 14px}
.business-map-layout{min-height:0;overflow:hidden;align-items:stretch}.business-map-layout>div{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto}.business-map{height:100%;aspect-ratio:auto}.business-map-layout .map-legend{margin:8px 0 0}
.location-detail{min-height:0;overflow:hidden;display:grid;grid-template-rows:minmax(0,1fr) auto;padding:0}.location-detail-scroll{min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;padding:17px;overscroll-behavior:contain;overflow-wrap:anywhere}.location-actions{display:grid;grid-template-rows:52px 42px 32px;gap:7px;padding:12px 17px;border-top:1px solid #6f8b6a}.location-actions button{width:100%;height:100%;margin:0;padding:4px 8px}.location-actions small{font-size:11px;line-height:16px}.location-action-placeholder{visibility:hidden;pointer-events:none}
@media(max-width:700px){#modal[data-view="location"] #modal-content{padding:12px}#modal[data-view="location"] .modal-head h2{font-size:18px}#modal[data-view="location"] .modal-head p{font-size:11px;margin-bottom:0}.business-map-layout{grid-template-rows:minmax(140px,.85fr) minmax(220px,1fr);gap:8px}.business-map-layout .map-legend{font-size:10px;line-height:1.25}.map-legend small{display:none}.location-detail-scroll{padding:12px}.location-actions{grid-template-rows:44px 36px 24px;gap:4px;padding:8px 12px}.location-actions small{font-size:10px;line-height:12px}}
@media(max-height:620px) and (max-width:700px){#modal[data-view="location"] .modal-head p{display:none}.business-map-layout{grid-template-rows:minmax(95px,.65fr) minmax(160px,1fr)}.location-actions{grid-template-rows:36px 32px;gap:3px;padding:5px 10px}.location-actions small{display:none}.location-actions button{min-height:32px}.business-map-layout .map-legend{display:none}}
@media(max-height:620px){#modal[data-view="location"] #modal-content{padding:10px}#modal[data-view="location"] .modal-head p{display:none}#modal[data-view="location"] .region-selector{margin:4px 0 8px}#modal[data-view="location"] .region-selector small{display:none}.location-actions{grid-template-rows:36px 32px;gap:3px;padding:5px 10px}.location-actions small{display:none}.location-actions button{min-height:32px}}

.city-camera [hidden]{display:none!important}.world canvas{touch-action:none;cursor:grab}.world canvas.camera-dragging{cursor:grabbing}

.graphics-settings{gap:16px}.graphics-settings select{font:inherit;color:#f3e7bd;background:#284d3c;border:1px solid #9bad83;padding:10px;min-height:44px;flex-shrink:0}.graphics-settings p{max-width:320px}

.waiting-bubble{position:relative;display:flex;align-items:center;gap:5px;padding:5px 7px;background:#fff4d5;color:#34513f;border:2px solid #566e4b;border-radius:5px;box-shadow:2px 2px #172f3533;white-space:nowrap}
.waiting-bubble:after{content:'';position:absolute;bottom:-7px;left:calc(50% - 5px);border:5px solid transparent;border-top-color:#fff4d5;border-bottom:0}.waiting-bubble .food-icon{width:24px;height:24px}.waiting-bubble b{font-size:11px}.waiting-bubble small{display:block;font-size:10px;margin-top:3px}.waiting-feedback[data-mood="impatient"] .waiting-bubble{border-color:#b06245;color:#9a442c}@media(max-width:700px){.waiting-bubble{padding:3px 5px;gap:3px}.waiting-bubble b{font-size:10px}.waiting-bubble small{font-size:9px}}

.order-heading{display:flex;flex-wrap:wrap;gap:5px 10px;align-items:baseline}.order-heading #queue-title{white-space:nowrap;flex-shrink:0}.order-heading small{white-space:nowrap;margin-left:auto}
.city-camera a{position:fixed;left:8px;right:auto;top:auto;bottom:3px;font-size:9px;z-index:1;max-width:calc(100vw - 16px);overflow:hidden;text-overflow:ellipsis}
.app[data-shop="lemon"] #pans{grid-template-columns:1fr}

.stall-recommendations{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.stall-recommendations button{flex:1;white-space:nowrap}

.bubble-leader{position:absolute;height:1px;background:#f4e9c9b8;transform-origin:0 50%;pointer-events:none;z-index:-1}.waiting-feedback,.complaint-feedback{width:144px}.waiting-bubble{box-sizing:border-box;width:144px;height:62px;gap:5px;padding:5px;white-space:normal}.waiting-bubble>span{min-width:0}.waiting-bubble b{display:block;font-size:11px;white-space:nowrap}.waiting-bubble small{font-size:10px;margin-top:2px;white-space:nowrap}.waiting-bubble em{display:block;font-style:normal;font-size:9px;margin-top:3px;white-space:nowrap}.waiting-bubble .food-icon{flex:none;width:26px;height:26px}.waiting-feedback[data-status="cooking"] .waiting-bubble{background:#fff1ba;border-color:#aa742f}.waiting-feedback[data-status="cooking"] b{color:#8b531f}.waiting-feedback[data-status="ready"] .waiting-bubble{background:#e5f3cf;border-color:#4a7c4c}.complaint-bubble{box-sizing:border-box;width:144px;height:48px;padding:7px 9px;background:#fff0dc;border:2px solid #a8664a;border-radius:6px;color:#793e2b;font-size:11px;font-weight:bold;line-height:1.4;display:flex;align-items:center;justify-content:center;word-break:keep-all}.waiting-bubble:after{display:none}

.pan .stove-ring:has(.cooking-food){width:100%;height:82px;background:transparent;border:0;border-radius:0}.pan .stove-ring .cooking-food{width:102px!important;height:82px!important;max-width:100%;filter:drop-shadow(0 3px 1px #271d2233)}
.app[data-shop="fish"] .pans{padding:8px;background:#39413b;border:3px solid #988663;border-radius:7px;gap:5px}.app[data-shop="fish"] .pan{background:#454d43;border:1px solid #a99a75}.app[data-shop="fish"] .pan .stove-ring{height:84px}.app[data-shop="fish"] .pan .cooking-food{height:84px!important;width:104px!important}.app[data-shop="fish"] .pan.perfect{border-color:#ffdb5b}
.app[data-shop="bunsik"] .kitchen{background:linear-gradient(110deg,#6b482f,#9c6b3e 55%,#6a472d);border:3px solid #c6a06b}.app[data-shop="bunsik"] .pans{padding:8px;background:repeating-linear-gradient(0deg,#b88750 0 28px,#aa7947 29px 30px);border:2px solid #704d2c;border-radius:6px;gap:8px}.app[data-shop="bunsik"] .pan{background:linear-gradient(#594a36,#332f28);border:2px solid #c6a36f;border-radius:8px}.app[data-shop="bunsik"] .pan .pan-number{color:#f1d6a0}.app[data-shop="bunsik"] .pan strong{font-size:12px}.app[data-shop="bunsik"] .pan small{font-size:10px}.counter-label{font-size:11px;color:#fff0cf;margin:9px 0 5px}.ingredient-trays{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.ingredient-tray{display:flex;flex-direction:column;align-items:center;border:2px solid #bba985;border-radius:6px;background:linear-gradient(145deg,#d7d7bf,#7e887c);color:#332d26;padding:3px;min-height:76px;font:inherit;box-shadow:inset 0 0 0 3px #535e50}.ingredient-tray .food-icon{width:58px;height:48px}.ingredient-tray span{font-size:10px;font-weight:bold;white-space:nowrap}.ingredient-tray.available{border-color:#ffe29a;box-shadow:inset 0 0 0 3px #6f864a,0 0 0 1px #f0d58e}.ingredient-tray:disabled{opacity:.65;filter:saturate(.65)}
@media(min-width:701px){.app[data-shop="bunsik"] .kitchen{width:min(650px,calc(100vw - 285px));max-height:calc(100dvh - 210px);overflow-y:auto}.app[data-shop="fish"] .kitchen{width:min(560px,calc(100vw - 285px));max-height:calc(100dvh - 210px);overflow-y:auto}}
@media(max-width:700px){.app[data-shop="bunsik"][data-phase="playing"] .kitchen{height:auto;max-height:48dvh;overflow-y:auto}.app[data-shop="bunsik"] .order-hud{bottom:calc(48dvh + 82px)}.app[data-shop="bunsik"] .pan .stove-ring{height:64px}.app[data-shop="bunsik"] .pan .cooking-food{width:80px!important;height:64px!important}.ingredient-tray{min-height:65px}.ingredient-tray .food-icon{width:48px;height:40px}.ingredient-tray span{font-size:9px}.counter-label{font-size:10px}.app[data-shop="fish"] .pan .stove-ring{height:68px}.app[data-shop="fish"] .pan .cooking-food{height:68px!important;width:84px!important}}

.sale-feedback{width:38px;height:38px}.waiting-feedback{height:62px}.complaint-feedback{height:48px}

.compact-bubbles .waiting-feedback,.compact-bubbles .waiting-bubble{width:112px;height:40px}.compact-bubbles .waiting-bubble{padding:3px;gap:3px}.compact-bubbles .waiting-bubble .food-icon{width:20px;height:20px}.compact-bubbles .waiting-bubble b,.compact-bubbles .waiting-bubble small{font-size:9px}.compact-bubbles .waiting-bubble em{display:none}

img.food-icon,img.ingredient-icon{object-fit:contain;image-rendering:pixelated;flex-shrink:0}.pan .stove-ring img.cooking-food{filter:none}

/* Cooking controls remain within the central reach area on desktop and touch screens. */
.app[data-phase="playing"] .kitchen{left:50%;right:auto;transform:translateX(-50%);bottom:94px;width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 260px);overflow-y:auto}
.app[data-shop="lemon"][data-phase="playing"] .kitchen{width:min(460px,calc(100vw - 24px))}
.mix-mode{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.mix-mode [aria-pressed="true"]{background:#61804b;color:#fff4cf;border-color:#e7ca79}
.mixing-control{display:flex;align-items:center;justify-content:center;gap:18px;width:100%;min-height:128px;color:#fff4d5;background:#294d40;border:2px solid #a2b374;border-radius:10px;font:inherit;touch-action:manipulation}.mixing-control small{display:block;font-size:11px;line-height:1.6;margin-top:7px}
.mix-dial{position:relative;display:grid;place-items:center;flex:none;width:108px;height:108px;border-radius:50%;background:conic-gradient(#6c6551 0deg 219.6deg,#a6d66e 219.6deg 280.8deg,#6c6551 280.8deg);border:3px solid #d4c596}.mix-dial:before{content:'';position:absolute;inset:13px;background:#294d40;border-radius:50%}.mix-dial b{z-index:1;font-size:13px}.mix-needle{position:absolute;inset:4px;z-index:2;will-change:transform}.mix-needle:before{content:'';position:absolute;top:-4px;left:calc(50% - 3px);width:6px;height:22px;border-radius:2px;background:#fff8d9;box-shadow:0 0 0 1px #4a3c2a}
.fish-browning{position:relative;display:inline-block}.fish-browning>img,.fish-browning>span,.fish-browning>span>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.fish-browning>span{transition:opacity .12s linear;pointer-events:none}
.waiting-feedback[data-status="incoming"]{width:38px;height:38px}.incoming-bubble{display:grid;place-items:center;width:38px;height:38px;box-sizing:border-box}.incoming-icon{display:block;width:24px;height:32px;filter:drop-shadow(0 2px 0 #ffffff80);pointer-events:none}
@media(max-width:700px){.app[data-phase="playing"] .kitchen{bottom:82px;max-height:44dvh;width:calc(100vw - 16px)}.mixing-control{min-height:110px;gap:10px}.mix-dial{width:86px;height:86px}.app[data-shop="lemon"] .kitchen:has(.mixing-control) .pans{display:none}.app[data-shop="fish"] .order-hud{bottom:calc(44dvh + 90px)}}
@media(max-height:560px) and (min-width:701px){.app[data-phase="playing"] .kitchen{bottom:70px;max-height:65dvh;width:min(520px,calc(100vw - 260px))}.kitchen-footer{display:none}}

.waiting-feedback:not([data-status="incoming"]){width:52px;height:52px}.thought-bubble{position:relative;display:grid;place-items:center;width:48px;height:43px;border:2px solid #5c7655;border-radius:48%;background:#fff5dc;box-sizing:border-box}.thought-bubble .food-icon{width:40px;height:34px}.thought-bubble:before,.thought-bubble:after{content:'';position:absolute;background:#fff5dc;border:1px solid #5c7655;border-radius:50%}.thought-bubble:before{width:8px;height:7px;bottom:-7px;left:17px}.thought-bubble:after{width:4px;height:4px;bottom:-12px;left:21px}.thought-cooking{position:absolute;right:-3px;top:-6px;background:#f5be55;border-radius:50%;font-style:normal;font-size:14px;width:19px;height:19px;text-align:center;color:#664324}.waiting-feedback[data-status="cooking"] .thought-bubble{border-color:#b57a2d}.waiting-feedback[data-status="ready"] .thought-bubble{border-color:#3a9653}

.thought-bubble{pointer-events:auto;cursor:pointer;padding:0;font:inherit;touch-action:manipulation}.waiting-feedback[data-status="ready"] .thought-bubble{box-shadow:0 0 0 2px #b5dc8c}.thought-bubble:focus-visible{outline:3px solid #efbd55;outline-offset:3px}

.departure-status{position:absolute;left:50%;bottom:max(28px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:55;display:flex;align-items:center;gap:16px;padding:14px 18px;max-width:calc(100% - 24px);width:max-content;border:2px solid #82937b;background:#243e35ee;color:#fff1cd;box-shadow:0 4px 0 #152c28;font-size:16px}.departure-status[hidden],.departure-fade[hidden]{display:none}.departure-status button{flex-shrink:0;padding:8px 12px;background:#e8d496;color:#263b30;border:2px solid #ac9561;font:inherit;font-weight:bold;cursor:pointer}.departure-fade{position:absolute;inset:0;background:#182d27;pointer-events:none;z-index:54}.app.is-departing .kitchen,.app.is-departing .order-hud,.app.is-departing .command-dock,.app.is-departing .scene-caption,.app.is-departing .review-card,.app.is-departing .city-camera{visibility:hidden}.app.is-departing .topbar,.app.is-departing .time-hud,.app.is-departing .goals{pointer-events:none}.app.is-departing~#toast{visibility:hidden}@media(max-width:600px){.departure-status{font-size:14px;gap:10px;padding:12px}.departure-status span{max-width:220px}}

.app.is-departing>.world{z-index:40}.app.is-departing>:not(.world){pointer-events:none}

@keyframes mix-spin{to{transform:rotate(360deg)}}
/* Keep the timing control at the top of the workbench, with no inner scroll. */
.app[data-phase="playing"] .kitchen.is-mixing{height:auto;max-height:none;overflow:visible;padding:10px}
.kitchen.is-mixing .recipe-tabs,.kitchen.is-mixing .pans,.kitchen.is-mixing .kitchen-footer{display:none}
.kitchen.is-mixing .section-heading{margin-bottom:6px}
#mixing-workbench[hidden]{display:none}
@media(max-width:700px){.app[data-phase="playing"] .kitchen.is-mixing{left:50%;right:auto;bottom:max(82px,calc(env(safe-area-inset-bottom) + 70px));width:calc(100vw - 16px)}.kitchen.is-mixing .mixing-control{min-height:104px;padding:6px}.kitchen.is-mixing .mix-dial{width:78px;height:78px}.kitchen.is-mixing .mixing-control strong{font-size:14px}}
@media(max-height:500px){.kitchen.is-mixing .section-heading{display:none}.kitchen.is-mixing .mixing-control{min-height:76px}.kitchen.is-mixing .mix-dial{width:62px;height:62px}.kitchen.is-mixing .mixing-control small{margin-top:3px;font-size:10px}}

#mixing-workbench{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:70;width:min(420px,calc(100vw - 28px));padding:10px;background:#233f36;border:2px solid #a2b374;border-radius:12px;box-shadow:0 10px 34px #14261d80}
#mixing-workbench .mixing-control{min-height:150px}
.app[data-shop="lemon"][data-phase="playing"] .kitchen .pans{display:none}
.lemon-serving{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding:7px 0}.lemon-serving strong{font-size:14px}.lemon-serving strong b{color:#f2dc88;font-size:22px}.lemon-cups{display:flex;justify-content:center;gap:14px;grid-column:1/-1}.lemon-cups .food-icon{width:42px;height:42px}.lemon-cups .empty{opacity:.18}.lemon-serving small{grid-column:1/-1;font-size:11px;text-align:center}.lemon-serving [aria-pressed="true"]{background:#6e8449;border-color:#d7d28f}
@media(max-width:700px){#mixing-workbench .mixing-control{min-height:128px}.lemon-serving{gap:4px}.lemon-serving .small-button{font-size:11px;padding:5px 8px;min-height:36px}.lemon-cups .food-icon{width:32px;height:32px}.app[data-shop="lemon"][data-phase="playing"] .kitchen{height:auto;max-height:32dvh}}
