@charset "UTF-8";
:root{--paper:#f6f2e9;--cream:#fffcf5;--ink:#493c31;--muted:#8b8071;--red:#a64e3b;--red-dark:#873c2b;--green:#6c8167;--line:#e6dfd1;--peach:#eed4bd;--shadow:0 12px 40px #5a422410;font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #c39851;outline-offset:4px}button{color:inherit}button,progress{appearance:none;-webkit-appearance:none}[hidden]{display:none!important}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.app-header{height:92px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:25px}.brand{display:flex;gap:14px;align-items:center;text-decoration:none;color:inherit;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:51px;height:51px;border-radius:17px 17px 20px 17px;background:var(--red);color:#ffe8ad;transform:rotate(-4deg)}.brand-mark svg{width:34px;height:34px;fill:currentColor;stroke:none;transform:rotate(4deg)}.brand-type strong{font-size:22px;letter-spacing:1px;display:block;font-weight:750}.brand-type strong span{font-size:14px;letter-spacing:2px;font-weight:400;margin-left:15px;padding-left:15px;border-left:1px solid #cfc5b3}.brand-type small{font-family:Georgia,serif;font-size:9px;letter-spacing:2.2px;color:var(--muted);display:block;margin-top:7px}.header-right{display:flex;align-items:center;gap:27px}.day-status{font-size:12px;color:var(--green);display:flex;align-items:center;gap:7px;white-space:nowrap}.live-dot{height:6px;width:6px;background:#809773;border-radius:50%;box-shadow:0 0 0 4px #80977313}.score{display:flex;align-items:center;gap:9px}.score>svg{width:22px;height:22px;color:var(--red);stroke:none}.score>span{display:flex;align-items:baseline;gap:6px}.score b{font-family:Georgia,serif;font-size:26px;font-weight:400;min-width:17px}.score small{font-size:11px;color:var(--muted);white-space:nowrap}.served-score>svg{fill:#b49b71;stroke:none}.icon-button{width:38px;height:38px;display:inline-grid;place-items:center;background:#fffcf4cc;border:1px solid #ddd4c5;border-radius:50%;transition:background .2s,transform .2s}.icon-button:hover{background:white;transform:translateY(-2px)}.icon-button svg{width:18px;height:18px}.help-button{font-family:Georgia,serif;font-size:20px;width:30px;height:30px;color:#867968;background:transparent}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 338px;gap:18px;margin:0 24px;min-height:680px;height:calc(100dvh - 137px);max-height:1080px}.scene-panel{position:relative;min-width:0;border-radius:24px;background:#eae5d9;overflow:hidden;border:1px solid #e3dccd}.scene-panel canvas{width:100%;height:100%;display:block;touch-action:none}.scene-heading{position:absolute;left:30px;top:27px;pointer-events:none}.eyebrow{margin:0 0 10px;font-size:11px;color:#877862;letter-spacing:1.5px;display:flex;align-items:center;gap:7px}.tiny-star{color:#a47746;font-size:15px}.scene-heading h1{font-size:clamp(19px,2vw,28px);font-weight:500;letter-spacing:1px;margin:0 0 13px;color:#554637}.scene-tag{display:inline-flex;align-items:center;font-size:10px;color:#81735d;gap:6px;padding:6px 10px;border-radius:20px;border:1px solid #b7aa8d50;background:#fffcf137;letter-spacing:.4px}.scene-tag>span{display:block;width:4px;height:4px;background:#99866b;border-radius:50%}.scene-stamp{position:absolute;top:30px;right:28px;border:1px solid #a2644b90;color:#9c634c;padding:6px;border-radius:5px;transform:rotate(7deg);display:flex;flex-direction:column;gap:3px;font-size:11px;letter-spacing:2px;line-height:1.2;pointer-events:none;opacity:.7}.scene-bottom{position:absolute;bottom:26px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);display:flex;flex-direction:column;align-items:center;gap:12px}.view-controls{display:flex;gap:4px;background:#fffcf4ed;border:1px solid #e3dac9;box-shadow:0 5px 20px #5d4a2710;border-radius:100px;padding:5px}.view-button{border:0;background:transparent;border-radius:40px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;white-space:nowrap;padding:11px 16px;color:#80735f;transition:background .2s,color .2s}.view-button svg{height:16px;width:16px}.view-button.active,.view-button[aria-pressed=true]{background:#a9533f;color:#fff9ed;box-shadow:0 3px 8px #a9533f20}.view-button:hover:not(.active){background:#eee8dc}.camera-hint{margin:0;display:flex;align-items:center;gap:9px;font-size:10px;color:#827560;background:#f7f1e190;border-radius:20px;padding:5px 12px}.camera-hint i{height:2px;width:2px;border-radius:50%;background:#9e917d}.drag-icon{font-size:16px;line-height:10px}.scene-tools{position:absolute;right:18px;bottom:26px;display:flex;flex-direction:column;gap:8px}.scene-tools .icon-button{background:#fffcf4cc;border-color:#e1d7c5}.scene-tools .icon-button[aria-pressed=true]{background:#e3eadb;color:#4e6749;border-color:#b9c7b2}.loading-overlay{position:absolute;inset:0;display:grid;place-items:center;background:#eee8dce8;z-index:5;transition:opacity .4s}.loading-overlay.fade-out{opacity:0;pointer-events:none}.loading-card{display:flex;flex-direction:column;align-items:center;gap:12px;color:#7a6753}.loading-bowl{width:62px;height:62px;color:#ab573f;fill:currentColor;stroke:none;animation:breathe 2s ease-in-out infinite}.loading-card strong{font-size:17px;font-weight:500;letter-spacing:2px}.loading-card>span{font-size:11px;color:#92846f}.loading-track{width:140px;height:3px;background:#dbd1bd;border-radius:3px;overflow:hidden;margin-top:8px}.loading-track span{display:block;height:100%;width:40%;background:#a65a44;border-radius:3px;animation:loading 1.5s ease-in-out infinite}.scene-error{position:absolute;left:20px;right:20px;top:45%;padding:20px;text-align:center;background:#fff7e9;border:1px solid #e2c4ab;border-radius:15px;z-index:8;font-size:13px;line-height:1.8}.operations-panel{border:1px solid var(--line);background:var(--cream);border-radius:24px;padding:23px 24px 18px;display:flex;flex-direction:column;min-width:0;box-shadow:var(--shadow);overflow:auto;scrollbar-width:thin;scrollbar-color:#daceb9 transparent}.panel-topline{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-topline>span:first-child{display:flex;align-items:center;gap:7px;font-size:11px;color:#978367;letter-spacing:1px}.panel-topline svg{width:17px;height:17px;color:#b6904d}.edition-tag{font-size:9px;letter-spacing:1px;color:#8a9173;padding:4px 7px;border:1px solid #d9decd;border-radius:4px}.panel-title{margin:16px 0 20px}.panel-title h2{font-weight:600;font-size:23px;letter-spacing:.8px;margin:0 0 8px}.panel-title p{font-size:11px;color:#9a8d7b;margin:0;letter-spacing:.2px}.customer-card{background:#f2f1e6;border:1px solid #e6e5d4;border-radius:15px;padding:14px 15px 0}.customer-top{display:flex;align-items:center;justify-content:space-between}.small-label{font-size:10px;color:#8f8d76;letter-spacing:1px}.status-pill{border-radius:20px;background:#fffdf4;padding:4px 8px;color:#858c70;font-size:9px;border:1px solid #e1e3d2}.customer-profile{display:flex;gap:12px;align-items:center;margin:15px 0}.customer-avatar{width:57px;height:57px;flex-shrink:0;border-radius:19px;overflow:hidden;background:#e3e8d6;display:grid;place-items:center}.customer-avatar svg{height:100%;width:100%;stroke:none}.customer-profile h3{margin:0 0 6px;font-size:16px;letter-spacing:.5px;font-weight:600}.customer-profile p{margin:0;font-size:10px;line-height:1.7;color:#858370;max-width:170px}.order-line{display:flex;align-items:center;justify-content:space-between;padding:12px 0 13px;border-top:1px dashed #d9dbc6;gap:5px}.order-line>span{display:flex;align-items:center;font-size:12px;gap:8px}.order-line svg{height:20px;width:20px;color:#8e9a78;fill:currentColor;stroke:none}.order-line b{font-size:13px;font-weight:500;color:#767d62}.recipe-info{display:flex;gap:10px;align-items:center;margin:15px 2px 0}.recipe-seal{display:grid;place-items:center;border:1px solid #d9bda4;color:#ad7b55;font-size:11px;border-radius:4px;width:25px;height:26px;transform:rotate(-5deg);flex-shrink:0}.recipe-info p{margin:0;display:flex;flex-direction:column;gap:4px}.recipe-info strong{font-size:11px;font-weight:500;color:#897a64}.recipe-info p>span{font-size:9px;color:#a29785}.steps{display:flex;align-items:center;justify-content:space-between;margin:24px 8px 22px}.step{display:flex;align-items:center;gap:5px;font-size:11px;color:#b3aa9b;white-space:nowrap}.step>span{display:grid;place-items:center;width:23px;height:23px;border:1px solid #e0dacc;border-radius:50%;font-family:Georgia,serif;font-size:10px}.step b{font-weight:400}.step.active,.step.is-active{color:#a6533e}.step.active>span,.step.is-active>span{background:#a6533e;border-color:#a6533e;color:#fff7e9}.step.done,.step.complete,.step.is-done{color:#718466}.step.done>span,.step.complete>span,.step.is-done>span{background:#e6ecdf;border-color:#c9d5bf}.step-link{width:18px;min-width:8px;height:1px;background:#e2dbcd;margin:0 4px}.action-card{background:#f9f4eb;border:1px solid #ece2d2;border-radius:14px;padding:17px 15px}.phase-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.phase-heading h3{font-size:13px;line-height:1.6;margin:0;font-weight:500;color:#6d5542}.phase-flower{font-size:20px;color:#c8ad71;line-height:1}.action-card>p{font-size:10px;line-height:1.8;color:#9a8b76;margin:6px 0 0;min-height:36px}.heat-area{margin:15px 0 18px}.heat-label{display:flex;align-items:center;justify-content:space-between;font-size:10px;margin-bottom:10px;color:#9c8d79}.heat-label b{font-size:9px;font-weight:400;color:#a58c67}.heat-track{position:relative;height:8px;border-radius:8px;background:#e7dfd1;overflow:hidden}progress{height:8px;width:100%;border:0;border-radius:8px;background:#e7dfd1;display:block;position:relative;z-index:2;opacity:.85}progress::-webkit-progress-bar{background:transparent}progress::-webkit-progress-value{background:#cf9b61;border-radius:8px;transition:width .1s linear}progress::-moz-progress-bar{background:#cf9b61;border-radius:8px}.perfect-zone{position:absolute;left:65%;width:20%;top:0;height:100%;background:#9daf8d;z-index:1}.heat-scale{display:flex;justify-content:space-between;align-items:center;margin-top:7px;font-size:8px;color:#a99b86}.heat-scale span:nth-child(2){margin-left:29%;color:#8c9b7c}.primary-action{background:var(--red);color:#fff7e8;border:1px solid var(--red);border-radius:10px;min-height:48px;width:100%;font-size:12px;letter-spacing:1px;display:flex;align-items:center;justify-content:center;gap:18px;box-shadow:0 4px 0 #85413012;transition:background .2s,transform .2s}.primary-action:hover{background:var(--red-dark);transform:translateY(-1px)}.primary-action:active{transform:translateY(1px)}.primary-action svg{height:17px;width:17px;stroke-width:1.4}.secondary-action{border:0;background:transparent;color:#927d65;width:100%;font-size:11px;margin-top:10px;min-height:30px;text-decoration:underline;text-underline-offset:4px}.panel-footnote{margin:auto 0 0;padding-top:18px;font-size:10px;color:#a79a85;display:flex;align-items:center;gap:6px;justify-content:center;letter-spacing:.5px}.panel-footnote span{font-size:16px;color:#b8a48a}.session-summary{padding:14px;margin-top:12px;border-radius:12px;background:#e8efdf;color:#6d7c5f;font-size:12px;line-height:1.8}.app-footer{min-height:45px;display:flex;align-items:center;gap:20px;padding:0 32px;font-size:9px;letter-spacing:.4px;color:#a39784}.app-footer>span:first-child{color:#94836d}.footer-right{margin-left:auto}.toast{position:fixed;bottom:35px;left:50%;transform:translate(-50%,20px);z-index:30;background:#4d4439ed;color:#fff9eb;border:1px solid #ffffff17;padding:13px 22px;border-radius:13px;box-shadow:0 8px 30px #44332022;max-width:calc(100vw - 32px);font-size:12px;line-height:1.6;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;text-align:center}.toast.show,.toast.visible,.toast.active{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #e4d8c4;border-radius:22px;padding:35px;max-width:450px;width:calc(100% - 30px);background:var(--cream);color:var(--ink);box-shadow:0 30px 100px #3e2d2730}dialog::backdrop{background:#3a332e66;backdrop-filter:blur(5px)}.dialog-close{position:absolute;right:15px;top:12px;border:0;background:transparent;font-size:27px;color:#9c8d78;width:33px;height:33px;font-weight:300}.dialog-eyebrow{font-size:10px;letter-spacing:2px;color:#b1865b}dialog h2{font-size:24px;letter-spacing:1px;font-weight:500;margin:13px 0}dialog>p{font-size:12px;line-height:1.9;color:#92826b}.help-steps{padding:0;list-style:none;display:flex;flex-direction:column;gap:18px;margin:25px 0}.help-steps li{display:flex;align-items:flex-start;gap:13px}.help-steps li>span{background:#efe5d3;color:#a27b4c;border-radius:50%;min-width:29px;height:29px;display:grid;place-items:center;font-family:Georgia,serif;font-size:12px}.help-steps strong{font-weight:500;font-size:13px}.help-steps p{font-size:11px;color:#94846e;line-height:1.7;margin:5px 0 0}.help-tip{background:#eeefe3;padding:11px;border-radius:8px;font-size:10px!important;margin-bottom:22px}body.cooking .phase-flower{animation:spin 5s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes breathe{50%{transform:translateY(-6px)}}@keyframes loading{0%{transform:translateX(-100%)}100%{transform:translateX(350%)}}
@media(min-height:900px) and (min-width:1000px){.operations-panel{padding-top:29px}.panel-title{margin-top:24px;margin-bottom:25px}.customer-profile{margin-top:19px;margin-bottom:19px}.steps{margin-top:32px;margin-bottom:28px}.heat-area{margin-top:22px;margin-bottom:23px}.action-card{padding:20px 16px}.scene-heading{left:38px;top:35px}}
@media(max-width:1150px){.app-header{padding:0 26px}.header-right{gap:18px}.day-status{display:none}.game-layout{grid-template-columns:minmax(0,1fr) 310px;gap:14px;margin:0 18px}.operations-panel{padding-left:19px;padding-right:19px}.view-button{padding:10px 12px;font-size:11px}.scene-tools{right:12px;bottom:110px}.scene-heading{left:25px;top:25px}.scene-stamp{right:20px;top:27px}.scene-heading h1{font-size:23px}.app-footer{padding:0 24px}.brand-type strong span{margin-left:11px;padding-left:11px}}
@media(max-width:850px){.app-header{height:82px;padding:0 20px}.brand-type strong{font-size:19px}.brand-type strong span{display:none}.brand-type small{font-size:8px;letter-spacing:1.25px}.brand-mark{width:44px;height:44px;border-radius:14px}.brand-mark svg{width:30px;height:30px}.header-right{gap:17px}.score b{font-size:22px}.score small{font-size:10px}.score{gap:5px}.score>svg{height:18px;width:18px}.game-layout{grid-template-columns:minmax(0,1fr) 290px;gap:12px;margin:0 14px;min-height:660px;height:calc(100dvh - 125px)}.operations-panel{padding:19px 15px 16px;border-radius:20px}.panel-title h2{font-size:21px}.scene-panel{border-radius:20px}.scene-heading{left:20px;top:23px}.eyebrow{font-size:9px;letter-spacing:.5px}.scene-heading h1{font-size:19px;letter-spacing:.3px}.scene-stamp{display:none}.view-button{padding:10px;font-size:10px;gap:4px}.view-button svg{width:14px;height:14px}.scene-bottom{bottom:20px}.camera-hint{font-size:9px;padding:5px 9px;gap:6px}.scene-tools{bottom:112px}.app-footer{gap:12px;font-size:8px;padding:0 20px}.footer-right{display:none}.panel-footnote{font-size:9px}.steps{margin:23px 6px 21px}}
@media(max-width:900px){.app-header{height:76px;padding:0 16px;gap:12px}.brand{gap:10px}.brand-type strong{font-size:18px}.brand-type small{font-size:7px;letter-spacing:1px}.header-right{gap:13px}.score small{display:none}.score b{font-size:21px}.served-score{display:none}.help-button{width:27px;height:27px}.game-layout{display:flex;flex-direction:column;gap:12px;margin:0 12px;min-height:0;height:auto;max-height:none}.scene-panel{height:62dvh;min-height:500px;max-height:640px;flex-shrink:0;border-radius:20px}.scene-heading{left:20px;top:19px}.scene-heading h1{font-size:21px;margin-bottom:9px}.scene-tag{font-size:9px;padding:5px 8px}.eyebrow{font-size:10px;margin-bottom:8px}.scene-bottom{bottom:17px;gap:8px}.view-button{font-size:11px;padding:10px 13px;gap:6px}.view-controls{padding:4px}.view-button svg{height:15px;width:15px}.scene-tools{right:12px;bottom:102px;gap:7px}.scene-tools .icon-button{height:32px;width:32px}.scene-tools svg{height:15px;width:15px}.operations-panel{display:grid;grid-template-columns:1fr 1fr;gap:0 17px;padding:20px;overflow:visible;border-radius:20px}.panel-topline{grid-column:1/-1}.panel-title{grid-column:1/-1;margin:12px 0 18px}.panel-title h2{font-size:22px;margin-bottom:7px}.panel-title p{font-size:10px}.customer-card{grid-column:1/-1;padding:13px 14px 0}.customer-top{float:right;gap:12px}.customer-profile{margin:0 0 13px;gap:12px;min-height:56px}.customer-avatar{height:53px;width:53px}.customer-profile h3{font-size:15px;margin-bottom:5px}.customer-profile p{font-size:10px;max-width:none}.customer-top .small-label{display:none}.order-line{padding:11px 0;font-size:11px}.order-line svg{width:18px;height:18px}.recipe-info{grid-column:1/-1;margin-top:13px}.recipe-info p{flex-direction:row;align-items:center;gap:10px}.recipe-info strong{font-size:10px}.recipe-info p>span{font-size:9px}.recipe-seal{height:23px;width:23px}.steps{grid-column:1/-1;margin:20px 25px 18px}.step{font-size:11px;gap:7px}.step-link{flex:1;margin:0 14px}.action-card{grid-column:1/-1;padding:16px}.phase-heading h3{font-size:14px}.action-card>p{font-size:11px;min-height:0;margin-top:6px}.heat-area{margin:15px 0}.heat-label{font-size:11px}.heat-label b{font-size:10px}.heat-scale{font-size:9px}.primary-action{min-height:49px;font-size:13px}.panel-footnote{grid-column:1/-1;margin-top:0;padding-top:14px;font-size:10px}.session-summary{grid-column:1/-1}.app-footer{padding:16px 20px 20px;min-height:0;gap:8px;justify-content:center;flex-wrap:wrap;font-size:8px;line-height:1.6}.app-footer>span:first-child{display:none}.toast{bottom:22px;min-width:220px;font-size:12px}.loading-card strong{font-size:15px}}
@media(max-width:380px){.brand-type small{font-size:6px}.brand-type strong{font-size:16px}.brand-mark{height:39px;width:39px}.header-right{gap:10px}.app-header{padding:0 13px}.scene-heading h1{font-size:19px}.view-button{padding:10px;font-size:10px}.operations-panel{padding:17px}.customer-profile p{font-size:9px}.recipe-info p{gap:7px}.recipe-info p>span{font-size:8px}.customer-top{gap:0}.status-pill{font-size:8px;padding:4px 6px}}
.customer-avatar{background:var(--avatar-color,#e3e8d6)}.customer-avatar svg>rect{fill:var(--avatar-color,#e5e9d8)}body[data-phase="cooking"] .phase-flower{animation:spin 5s linear infinite}
@media(max-width:1050px){.view-button{font-size:10px;padding:10px 12px;gap:0}.view-button svg{display:none}}
@media(max-width:380px){.view-button{font-size:9px;padding:10px}}
@media(min-width:481px) and (max-width:900px){.view-button{font-size:11px;padding:11px 15px;gap:6px}.view-button svg{display:block}.scene-heading{left:25px;top:24px}.scene-heading h1{font-size:24px}.scene-bottom{bottom:23px}.camera-hint{font-size:10px}}
@media(max-width:480px){.scene-panel{height:62dvh;min-height:430px;max-height:560px}.scene-heading{right:15px}.scene-heading h1{line-height:1.45}.view-controls{max-width:100%}.primary-action{white-space:normal;line-height:1.6;padding:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

/* Walkable shop: camera, movement and business controls have their own space. */
.game-layout{min-height:875px;max-height:none}
.scene-column{display:grid;grid-template-rows:minmax(500px,1fr) auto auto;gap:10px;min-width:0;min-height:0}
.scene-panel{min-height:500px}
.scene-panel canvas{min-height:0}
.scene-bottom{position:static;left:auto;bottom:auto;transform:none;width:100%;max-width:none;gap:7px;padding:10px 12px;border:1px solid var(--line);border-radius:16px;background:var(--cream)}
.view-controls{width:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:4px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.view-button{flex:1 1 86px;min-width:84px;min-height:38px;padding:8px;font-size:11px;gap:4px;border-radius:10px;color:#74634e}
.view-button svg{display:block;width:14px;height:14px;flex-shrink:0}
.camera-hint{font-size:11px;line-height:1.5;color:#756850;padding:0;background:transparent;gap:8px}
.camera-hint svg{width:14px;height:14px;flex-shrink:0}
.scene-tools{bottom:18px;right:18px;flex-direction:row;gap:8px}
.walk-hud{display:grid;grid-template-columns:minmax(0,1fr) 142px;grid-template-rows:auto auto;column-gap:16px;row-gap:10px;padding:17px 18px;border:1px solid #ded9c8;border-radius:18px;background:#f5f5e9;box-shadow:0 5px 22px #5a422406}
.walk-info{grid-column:1;grid-row:1;min-width:0}
.walk-location{display:flex;flex-wrap:wrap;align-items:center;gap:7px;font-size:11px;color:#68755a}
.walk-location svg{width:15px;height:15px;flex-shrink:0}
.walk-location strong{font-size:13px;font-weight:600;color:#4c6044}
#walk-status{font-size:12px;color:#6e725e;line-height:1.6;margin:7px 0 6px;min-height:19px}
.walk-hint{display:flex;flex-wrap:wrap;align-items:center;column-gap:11px;row-gap:4px;margin:0;font-size:10px;line-height:1.5;color:#73775f}
.walk-hint>span{white-space:nowrap}
kbd{display:inline-block;font:10px/1.6 "Microsoft YaHei",sans-serif;color:#69745d;background:#fcfcf3;border:1px solid #d2d8c3;border-radius:4px;padding:0 4px;box-shadow:0 1px 0 #d2d8c380;vertical-align:baseline}
.walk-actions{grid-column:1;grid-row:2;min-width:0;display:flex;flex-direction:column;gap:7px;align-self:end}
.walk-utilities{display:flex;gap:7px}
.walk-utility{display:flex;align-items:center;justify-content:center;gap:5px;flex:1;min-width:0;min-height:34px;padding:6px 8px;border:1px solid #d7dcc9;background:#fafbf2;border-radius:8px;font-size:11px;line-height:1.4;color:#69755a;transition:background .15s,border-color .15s}
.walk-utility svg{width:15px;height:15px;flex-shrink:0}
.walk-utility:hover{background:#edf1e3;border-color:#a9ba98}
.walk-utility[aria-pressed=true]{background:#dce6cf;border-color:#a1b590;color:#4c6542}
.interact-action{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;width:100%;padding:9px 10px;border:1px solid #6d8060;border-radius:9px;background:#718364;color:#fffdf2;font-size:12px;font-weight:500;letter-spacing:.3px;line-height:1.5;transition:background .15s,transform .15s}
.interact-action>svg{width:17px;height:17px;flex-shrink:0}
.interact-action kbd{margin-left:auto;font-size:10px;padding:0 5px;background:#ffffff15;color:#fffdf2;border-color:#ffffff50;box-shadow:none}
.interact-action:hover:not(:disabled){background:#5e7351}
.interact-action:active:not(:disabled){transform:translateY(1px)}
.interact-action:disabled{background:#e4e8d9;border-color:#cbd2bd;color:#737f66;opacity:1;cursor:default}
.interact-action:disabled kbd{color:#737f66;border-color:#bac4aa}
.move-pad{grid-column:2;grid-row:1/3;align-self:center;justify-self:end;display:grid;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(3,42px) auto;gap:4px;width:140px;user-select:none;-webkit-user-select:none;touch-action:none}
.move-button{display:grid;place-items:center;min-width:0;min-height:42px;background:#fffcf4;border:1px solid #d3d8c6;border-bottom:3px solid #c6cdb7;border-radius:11px;color:#647754;touch-action:none;transition:background .12s,transform .12s,border-color .12s}
.move-button svg{width:18px;height:18px;stroke-width:1.8}
.move-button:hover{background:#edf2e4}
.move-button:active,.move-button.active,.move-button.is-active{background:#dbe5ce;border-bottom-width:1px;transform:translateY(2px);border-color:#92a57f}
.move-forward{grid-column:2;grid-row:1}.move-forward svg{transform:rotate(-90deg)}
.move-left{grid-column:1;grid-row:2}.move-left svg{transform:rotate(180deg)}
.move-right{grid-column:3;grid-row:2}
.move-back{grid-column:2;grid-row:3}.move-back svg{transform:rotate(90deg)}
.move-center{grid-column:2;grid-row:2;display:grid;place-items:center;color:#a2ae90}
.move-center svg{width:24px;height:24px}
.move-pad-label{grid-column:1/4;font-size:10px;text-align:center;color:#778365;line-height:1.5;margin-top:3px;white-space:nowrap}
.automatic-walk-note{display:flex;align-items:flex-start;gap:5px;font-size:10px!important;line-height:1.6!important;color:#7e725e!important;min-height:0!important;margin:10px 0 0!important}
.automatic-walk-note svg{width:14px;height:14px;flex-shrink:0;margin-top:1px}
.primary-action[aria-busy=true]{background:#8b7a5d;border-color:#8b7a5d;cursor:wait}
.primary-action[aria-busy=true]::after{content:"";width:12px;height:12px;border:1.5px solid #fff8;border-top-color:transparent;border-radius:50%;animation:spin 1s linear infinite;flex-shrink:0}
.phase-flower{width:20px;height:20px;flex-shrink:0;color:#ae8950}
.panel-footnote>svg{width:13px;height:13px;fill:none;stroke:#a68b69;stroke-width:1.5}
.eyebrow,.scene-tag{color:#77644e}
.eyebrow .tiny-star{width:15px;height:15px;flex-shrink:0}
.scene-tag{font-size:11px;background:#fffaf07d}
.panel-topline>span:first-child{font-size:12px;color:#786346}
.edition-tag{font-size:10px;color:#647450;border-color:#cdd6bc}
.panel-title p{font-size:12px;line-height:1.7;color:#7d6b55}
.small-label{font-size:11px;color:#76735c}
.status-pill{font-size:10px;color:#63734f}
.customer-profile p{font-size:12px;color:#74735c;line-height:1.7}
.order-line>span,.order-line b{font-size:13px}
.recipe-info strong{font-size:12px;color:#77634c}
.recipe-info p>span{font-size:11px;color:#7e715f;line-height:1.5}
.step{font-size:12px;color:#8d816e}
.step>span{font-size:11px}
.phase-heading h3{font-size:14px}
.action-card>p{font-size:12px;line-height:1.75;color:#7d6d58}
.heat-label,.heat-label b{font-size:11px;color:#796a54}
.heat-scale{font-size:10px;color:#84745e}
.heat-scale span:nth-child(2){color:#64784e}
.primary-action{font-size:13px;min-height:49px}
.panel-footnote{font-size:11px;color:#89765c}
.app-footer{font-size:10px;color:#80735e}
.help-steps p{font-size:12px;color:#7b6a53}
.help-tip{font-size:11px!important;color:#687257!important}
dialog>p{font-size:13px;color:#7b6a53}

@media(min-width:901px) and (max-width:1150px){
  .game-layout{min-height:930px}
  .walk-hud{padding:15px;column-gap:12px}
  .walk-utilities{flex-wrap:wrap}
  .walk-utility{flex-basis:100%;justify-content:flex-start}
  .walk-hint{gap:4px 8px}
  .view-button{font-size:10px;gap:3px;padding:8px 6px}
}
@media(max-width:900px){
  .game-layout{min-height:0;height:auto;max-height:none}
  .scene-column{display:flex;flex-direction:column;gap:10px}
  .scene-panel{height:62dvh;min-height:500px;max-height:640px}
  .scene-bottom{padding:10px 12px;gap:7px}
  .scene-tools{right:15px;bottom:15px}
  .scene-tools .icon-button{width:38px;height:38px}
  .view-button{font-size:12px;padding:9px 8px;gap:5px;min-height:40px}
  .view-button svg{display:block;width:15px;height:15px}
  .walk-hud{grid-template-columns:minmax(0,1fr) 142px;padding:17px 20px;column-gap:20px}
  .walk-info{align-self:end}
  .walk-hint{font-size:11px}
  .walk-actions{max-width:420px}
  .walk-utility{min-height:37px;font-size:12px}
  .interact-action{min-height:44px;font-size:13px}
  .recipe-info p{flex-wrap:wrap;gap:3px 10px}
  .panel-title p{font-size:12px}
  .customer-profile p{font-size:12px}
  .customer-top .status-pill{font-size:10px}
  .steps{margin:20px 20px 18px}
  .step{font-size:12px}
  .action-card>p{font-size:12px}
  .automatic-walk-note{font-size:11px!important}
}
@media(max-width:540px){
  .view-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .view-button{min-width:0;font-size:11px;min-height:38px;padding:8px 5px;gap:5px}
  .view-button svg{width:13px;height:13px}
  .view-button:last-child{grid-column:2/4}
  .camera-hint{font-size:10px;gap:6px}
  .walk-hud{padding:15px;column-gap:12px;row-gap:9px}
  .walk-location{gap:5px;font-size:10px}
  .walk-location strong{font-size:12px}
  #walk-status{font-size:11px;line-height:1.6}
  .walk-hint{font-size:10px;row-gap:3px}
  .walk-utilities{gap:5px}
  .walk-utility{font-size:10px;padding:6px 4px;min-height:37px;gap:4px}
  .walk-utility svg{display:none}
  .interact-action{font-size:12px;gap:5px;padding:9px 7px}
  .interact-action>svg{display:none}
  .customer-profile p{font-size:11px}
  .customer-top{float:none;justify-content:flex-end;margin-bottom:8px}
  .customer-profile{margin-top:-8px}
  .recipe-info p>span{font-size:11px}
  .scene-heading h1{font-size:21px}
  .scene-tag{font-size:10px}
}
@media(max-width:480px){
  .scene-panel{height:62dvh;min-height:430px;max-height:560px}
  .scene-column{gap:9px}
  .walk-hud{grid-template-columns:minmax(0,1fr) 134px;padding:13px;column-gap:10px}
  .move-pad{grid-template-columns:repeat(3,42px);grid-template-rows:repeat(3,42px) auto;width:134px}
  .walk-utilities{flex-wrap:wrap}
  .walk-utility{flex-basis:100%;min-height:31px;justify-content:center}
  .walk-utility svg{display:block;width:13px;height:13px}
  .walk-info{grid-column:1/-1;grid-row:1;align-self:start}
  #walk-status{min-height:0;margin:5px 0}
  .walk-hint{column-gap:8px;font-size:10px}
  .walk-actions{grid-column:1;grid-row:2}
  .move-pad{grid-column:2;grid-row:2;align-self:center}
  .move-pad-label{font-size:10px}
  .interact-action{min-height:42px}
  .brand-type small{font-size:7px;letter-spacing:.6px}
}

.table-line{display:flex;align-items:center;gap:8px;border-top:1px solid #dfe1d0;padding:10px 0 12px;font-size:11px;line-height:1.5;color:#65754f}
.table-line svg{width:16px;height:16px;flex-shrink:0}
.carry-status{margin:6px 0 0;color:#7b654a;font-size:11px;line-height:1.5}
.mini-heat{display:none}

/* Compact phone controls keep the moving character and direction pad in view. */
@media(max-width:540px){
  .app-header{height:64px;padding:0 14px}
  .brand-mark{width:38px;height:38px;border-radius:13px}
  .brand-mark svg{width:28px;height:28px}
  .brand-type strong{font-size:17px}
  .brand-type small{font-size:7px;margin-top:5px;letter-spacing:.5px}
  .scene-column{gap:8px}
  .scene-panel{height:42dvh;min-height:300px;max-height:420px;border-radius:17px}
  .scene-heading{top:14px;left:16px;right:12px}
  .scene-heading h1{font-size:18px;line-height:1.5;margin:0}
  .scene-heading .eyebrow,.scene-heading .scene-tag{display:none}
  .scene-tools{right:12px;bottom:12px;gap:6px}
  .scene-tools .icon-button{height:32px;width:32px}
  .scene-bottom{height:46px;min-height:46px;max-height:46px;padding:5px;border-radius:12px;gap:0;overflow:hidden;display:block}
  .view-controls{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:3px;width:100%;height:34px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;touch-action:pan-x}
  .view-controls::-webkit-scrollbar{display:none}
  .view-button{flex:0 0 auto;min-width:0;height:34px;min-height:34px;padding:6px 10px;font-size:11px;gap:5px;scroll-snap-align:start;border-radius:8px}
  .view-button svg{display:block;width:13px;height:13px}
  .view-button:last-child{grid-column:auto}
  .camera-hint{display:none}
  .walk-hud{grid-template-columns:minmax(0,1fr) 140px;grid-template-rows:auto 92px;column-gap:12px;row-gap:8px;padding:10px 12px;border-radius:14px}
  .walk-info{grid-column:1/-1;grid-row:1;display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:0}
  .walk-location{flex-wrap:nowrap;min-width:0;gap:5px;font-size:10px;line-height:1.5}
  .walk-location>span{display:none}
  .walk-location strong{font-size:11px;line-height:1.5;white-space:nowrap}
  .walk-location svg{width:13px;height:13px}
  #walk-status,.walk-hint{display:none}
  .carry-status{font-size:10px;line-height:1.5;margin:0;min-width:0;text-align:right;color:#746047;overflow-wrap:anywhere}
  .walk-actions{grid-column:1;grid-row:2;align-self:stretch;justify-content:center;gap:7px;width:100%;max-width:none}
  .walk-utilities{flex-wrap:nowrap;gap:5px}
  .walk-utility{flex:1 1 0;flex-basis:0;min-width:0;min-height:34px;padding:6px 3px;font-size:10px;gap:3px;white-space:nowrap;justify-content:center}
  .walk-utility svg{display:none}
  .interact-action{min-height:43px;font-size:11px;line-height:1.5;padding:8px 6px;gap:5px;overflow-wrap:anywhere}
  .interact-action kbd{display:none}
  .move-pad{grid-column:2;grid-row:2;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:4px;width:140px;height:92px;align-self:center}
  .move-button{min-height:44px;height:44px;border-radius:10px}
  .move-forward{grid-column:2;grid-row:1}
  .move-left{grid-column:1;grid-row:2}
  .move-back{grid-column:2;grid-row:2}
  .move-right{grid-column:3;grid-row:2}
  .move-center,.move-pad-label{display:none}
  .mini-heat:not(:empty){display:block;position:sticky;top:8px;z-index:20;width:calc(100% - 24px);min-height:34px;margin:0 12px 8px;padding:7px 12px;border:1px solid #d6b789;border-radius:11px;background:#fff0d6f5;box-shadow:0 4px 14px #6d4b1c12;color:#785b30;font-size:12px;font-weight:500;line-height:1.5;text-align:center;backdrop-filter:blur(8px)}
  body[data-phase="ready"] .mini-heat,body[data-phase="pickup"] .mini-heat,body[data-phase="cooked"] .mini-heat{background:#edf4e4f5;border-color:#b5c69d;color:#4e693f}
}
@media(max-width:360px){
  .walk-hud{grid-template-columns:minmax(0,1fr) 140px;padding:10px;column-gap:8px}
  .walk-utility{font-size:9px}
  .carry-status{font-size:9px;max-width:150px}
  .interact-action{font-size:10px}
  .brand-type strong{font-size:16px}
}

/* The street and the restaurant share one continuous, accessible play space. */
.world-toolbar{display:flex;align-items:center;gap:18px;margin:0 24px 14px;padding:11px 16px;border:1px solid #dfd7c8;border-radius:18px;background:#fffcf5;position:relative;z-index:4}
.mode-switch{display:flex;padding:4px;border-radius:13px;background:#eee8dd;gap:3px;flex-shrink:0}.mode-switch button{border:0;border-radius:10px;background:transparent;padding:10px 14px;font-size:12px}.mode-switch button[aria-pressed=true]{background:#a9533f;color:#fff9ee;box-shadow:0 2px 5px #73432c20}
.world-status{display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:11px;line-height:1.6;color:#6b705f;flex:1}.world-status strong{color:#544a3a;font-weight:600;font-variant-numeric:tabular-nums}.world-settings{font-size:11px;flex-shrink:0}.world-settings summary{cursor:pointer;padding:9px}.world-settings-body{position:absolute;right:10px;top:62px;width:265px;padding:18px;border:1px solid #dbd2c2;background:#fffaf0;border-radius:16px;box-shadow:0 12px 35px #392c2024}.world-settings-body label{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px}.world-settings select{font:inherit;max-width:172px;padding:9px;border:1px solid #d7cdba;border-radius:8px;background:#fffdf8;color:#554634}.world-settings p{line-height:1.6;color:#7e725e}.world-settings button,.boss-topics button,.guest-explore button{font:inherit;border:1px solid #d8ceba;border-radius:10px;background:#f8f3e8;padding:11px;color:#5b614e}
.guest-panel{display:flex;flex-direction:column;gap:18px}.guest-panel .panel-title{margin:0}.guest-ticket{padding:20px 17px;border:1px solid #dbe0cc;border-radius:18px;background:linear-gradient(145deg,#f0f3e6,#f8f5eb)}.guest-ticket .status-pill{float:right}.guest-ticket h3{font-size:19px;margin:22px 0 9px}.guest-ticket p{font-size:12px;line-height:1.8;color:#766c59}.guest-ticket strong{display:block;font-size:12px;color:#9e503b;margin-top:15px;padding-top:15px;border-top:1px dashed #d9d5bf}.guest-ticket progress{width:100%;height:6px;margin-top:10px;accent-color:#8eaa74}.guest-explore{display:grid;grid-template-columns:1fr 1fr;gap:9px;font-size:12px}.guest-explore button:last-child{grid-column:1/-1}.guest-tip{font-size:11px;line-height:1.9;color:#82775e;margin:0}.guest-panel .panel-footnote{margin-top:auto}.seasoning-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.seasoning-options label{display:flex;align-items:center;gap:12px;padding:18px 12px;border:1px solid #dacfba;border-radius:14px;background:#f6f1e6;cursor:pointer;font-size:14px}.seasoning-options input{width:20px;height:20px;accent-color:#aa5340}.seasoning-options small{display:block;font-size:11px;color:#8a7a65;margin-top:7px}.order-note{font-size:12px;color:#7b715c}.boss-topics{display:grid;gap:10px;margin-top:22px}#boss-line{min-height:75px;line-height:1.9}.scene-heading{background:linear-gradient(110deg,#f3eee0cc,#f3eee000);padding:12px 18px 12px 12px;border-radius:15px;left:18px;top:16px}.scene-heading h1{font-size:23px}body[data-night=true] .scene-heading{background:#172c3cbd}body[data-night=true] .scene-heading h1,body[data-night=true] .scene-heading .eyebrow,body[data-night=true] .scene-tag{color:#fae6c5}body[data-mode=guest] .score{display:none}
@media(max-width:900px){.world-toolbar{margin:0 12px 12px;gap:10px;flex-wrap:wrap}.world-status{min-width:180px}.world-settings{margin-left:auto}.world-settings-body{top:100%;right:0}.guest-panel{display:flex}.guest-explore{grid-template-columns:repeat(3,1fr)}.guest-explore button:last-child{grid-column:auto}}
@media(max-width:540px){.world-toolbar{padding:8px 10px;gap:5px;border-radius:14px}.mode-switch button{padding:9px 12px;font-size:11px}.world-status{order:3;flex-basis:100%;gap:4px 12px;font-size:10px}.world-settings{font-size:10px}.scene-heading{padding:8px;left:8px;top:8px}.scene-heading h1{font-size:17px}.guest-panel{gap:14px}.guest-explore{grid-template-columns:1fr 1fr}.guest-explore button:last-child{grid-column:1/-1}.seasoning-options{gap:8px}.seasoning-options label{padding:14px 8px;font-size:12px}}

.taste-options{border:0;padding:0;margin:24px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.taste-options legend{font-size:13px;font-weight:600;margin-bottom:11px;color:#75654f}.taste-options label{position:relative;cursor:pointer}.taste-options input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.taste-options span{display:block;padding:15px 10px;text-align:center;border:1px solid #dccfb8;border-radius:12px;background:#f8f3e9;color:#776653;font-size:14px}.taste-options input:checked+span{background:#a5523e;color:#fffaf1;border-color:#a5523e;box-shadow:0 3px 10px #9c553a20}.taste-options input:focus-visible+span{outline:3px solid #c5a56e;outline-offset:3px}.bun-choice{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px dashed #d9ccb5;padding-top:20px;margin-bottom:20px;font-size:14px}.bun-choice small{display:block;color:#97866d;margin-top:6px;font-size:11px}.bun-choice select{font:inherit;color:#685439;padding:12px;background:#fffdf7;border:1px solid #d8cab2;border-radius:10px;min-width:105px}.seat-card{border:1px solid #dbd4c0;background:#f9f5ea;border-radius:15px;padding:16px}.seat-card strong{display:block;font-size:13px;color:#695c46;margin-top:9px}.seat-card p{font-size:11px;line-height:1.8;color:#8c7b62;margin:10px 0}.seat-actions{display:flex;gap:8px}.seat-actions button{flex:1;padding:10px 6px;background:#ebeeda;border:1px solid #cbd0b3;border-radius:8px;font:inherit;font-size:11px;color:#566446}.seat-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:22px;max-height:46vh;overflow:auto}.seat-list button{border:1px solid #d9ccb6;border-radius:11px;background:#f4f0e4;padding:16px 8px;color:#6c624d;font:inherit;font-size:12px}.seat-list button:hover{border-color:#a65640;background:#f3e5d4}.seat-list button:disabled{opacity:.45}.furniture-hint{position:absolute;left:18px;bottom:18px;pointer-events:none;padding:9px 12px;border-radius:10px;background:#fffaf0ec;box-shadow:0 3px 14px #3f2f1420;font-size:12px;color:#786246;z-index:2}.guest-panel{gap:15px}.guest-ticket h3{margin-top:18px}
@media(max-width:540px){.taste-options{gap:7px;margin:20px 0}.taste-options span{padding:14px 7px;font-size:13px}.seat-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.seat-card{padding:13px}.furniture-hint{left:10px;bottom:10px;font-size:10px;max-width:65%}.bun-choice{font-size:13px}.guest-ticket{padding:17px}}

/* Real merchant notification stays explicit beside the submit control. */
#order-dialog{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
.trial-choice{display:flex;align-items:flex-start;gap:11px;padding:13px;border:1px solid #d7dcc6;border-radius:11px;background:#f0f2e7;font-size:13px;line-height:1.6;cursor:pointer}
.trial-choice input{flex-shrink:0;width:19px;height:19px;margin:2px 0 0;accent-color:#a5523e}
.trial-choice small{display:block;color:#666f58;font-size:11px;margin-top:3px}
.order-phone-field{margin-top:19px}.order-phone-field>label{display:flex;justify-content:space-between;gap:10px;color:#69583f;font-size:13px;font-weight:600}
.order-phone-field>label span{font-size:11px;font-weight:400;color:#956148}
#order-phone{display:block;width:100%;min-height:47px;padding:11px 13px;margin-top:9px;font:inherit;font-size:16px;letter-spacing:.5px;color:#493b2d;background:#fffdf8;border:1px solid #c8b99d;border-radius:10px}
#order-phone:focus-visible{outline:3px solid #c5a56e;outline-offset:2px}#order-phone[aria-invalid=true]{border-color:#a54935;background:#fff4eb}
#order-privacy,.real-order-note{font-size:11px;line-height:1.8;color:#725e44;margin:10px 0 0}
.real-order-note{padding:10px 12px;background:#f0ebdf;border-radius:9px;border-left:2px solid #ba9b6c}
.order-config-note{font-size:11px!important;color:#6b7159!important;margin:13px 0 6px!important;line-height:1.7!important}
.order-submit-status{font-size:12px!important;color:#954e38!important;margin:8px 0!important;line-height:1.8!important;overflow-wrap:anywhere;min-height:0}
.order-submit-status:empty{display:none}
.order-receipt{padding:13px 14px;border:1px solid #b7c7a3;border-radius:11px;background:#eef3e4;color:#4b6340;font-size:12px;line-height:1.9;overflow-wrap:anywhere;margin-top:15px;white-space:pre-line}
.order-receipt[data-status=unknown],.order-receipt[data-status=pending]{background:#fbf1db;border-color:#d9bd87;color:#78592c}
.order-receipt[data-status=failed]{background:#fff0e7;border-color:#d8b29c;color:#8b4935}
#confirm-order:disabled{cursor:not-allowed}#confirm-order[aria-busy=true]{cursor:wait}
@media(max-width:540px){#order-dialog{padding:26px 22px}.order-phone-field{margin-top:15px}.trial-choice{padding:11px}.order-phone-field>label{font-size:12px}#order-privacy,.real-order-note{font-size:11px}#order-dialog .taste-options{margin:17px 0}}

.my-orders-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 13px;border:1px solid #b98b66;border-radius:11px;background:#fff9ed;color:#8b4d35;font-size:12px;font-weight:600;white-space:nowrap;flex-shrink:0}.my-orders-button:hover{background:#f6e6cf}.my-orders-button svg{width:17px;height:17px}
.history-dialog{width:calc(100% - 28px);max-width:520px;max-height:calc(100dvh - 28px);padding:30px;overflow-y:auto;overscroll-behavior:contain}.history-dialog h2{margin-bottom:9px}.history-dialog .history-intro{font-size:12px;line-height:1.8;color:#786147;margin:0 0 18px}
.history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#75694f;padding:12px 0;border-top:1px solid #e4dac8}.history-toolbar button{font:inherit;font-size:11px;padding:8px 11px;background:#eeefdf;border:1px solid #c9ceb7;border-radius:8px;color:#526344;min-height:35px}
.history-list-status{font-size:11px!important;line-height:1.8!important;color:#78664e!important;margin:0 0 12px!important}.history-list-status[data-state=error]{background:#fff0e5;border:1px solid #d9b79c;border-radius:9px;color:#914c32!important;padding:12px}.history-list-status[data-state=empty]{padding:28px 15px;text-align:center;background:#f2eee3;border-radius:12px}
.history-list{list-style:none;margin:0;padding:0;display:grid;gap:13px}.history-card{min-width:0;padding:17px;border:1px solid #dfd5c2;border-radius:14px;background:#fffaf0;box-shadow:0 3px 12px #59442406}.history-card-top{display:flex;justify-content:space-between;align-items:center;gap:9px}.history-card time{font-size:11px;color:#897658;font-variant-numeric:tabular-nums}.history-status{font-size:10px;padding:5px 8px;border-radius:8px;background:#e9efdf;color:#526943;white-space:nowrap}.history-status[data-status=pending],.history-status[data-status=unknown]{background:#f8e9cb;color:#89642f}.history-status[data-status=failed]{background:#f6e0d4;color:#934f3a}.history-card h3{font-size:16px;font-weight:600;line-height:1.5;margin:14px 0 7px;color:#5c4837}.history-card p{font-size:12px;line-height:1.7;margin:5px 0}.history-flavor{color:#95553b}.history-phone{color:#726853;font-variant-numeric:tabular-nums}.history-delivery{font-size:11px!important;color:#7a745e;margin-top:12px!important;padding-top:10px;border-top:1px dashed #dfd6c2}.history-id{font-size:10px;color:#8b7960;margin-top:11px}.history-id summary{cursor:pointer;padding:3px 0}.history-id code{display:block;overflow-wrap:anywhere;white-space:normal;font-family:ui-monospace,monospace;line-height:1.8;padding-top:6px}.history-device-note{font-size:10px!important;line-height:1.8!important;color:#867257!important;margin:18px 0 0!important}
@media(max-width:540px){.app-header{gap:8px}.header-right{gap:7px}.my-orders-button{padding:8px 9px;gap:5px;min-height:37px;font-size:11px}.my-orders-button svg{width:15px;height:15px}.history-dialog{padding:27px 18px 21px}.history-card{padding:14px}.history-card-top{gap:5px;align-items:flex-start}.history-card time{font-size:10px}.history-status{font-size:10px;padding:4px 6px}.history-card h3{font-size:15px}.history-device-note{font-size:11px!important}}
@media(max-width:360px){.app-header .brand-type small{display:none}.app-header .brand-mark{width:32px;height:32px}.app-header .brand-type strong{font-size:15px}.app-header .brand{gap:7px}.my-orders-button{padding:8px;font-size:10px}}
