:root{--bg:#f7f2ea;--paper:#fffdfa;--ink:#22211f;--muted:#746f68;--line:#e8dfd4;--accent:#d2654a;--accent-dark:#a94431;--soft:#f0e6da;--shadow:0 18px 60px #3b2c1d1a}*{box-sizing:border-box}html{background:var(--bg)}body{background:radial-gradient(circle at top left, #d2654a1a, transparent 30%), linear-gradient(180deg, #fbf7f1 0%, var(--bg) 100%);min-height:100vh;color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,PingFang SC,Microsoft YaHei,sans-serif}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}.landing-shell{place-items:center;min-height:100vh;padding:28px;display:grid}.landing-card{width:min(100%,460px);box-shadow:var(--shadow);text-align:center;background:#fffdfaf0;border:1px solid #ffffffd9;border-radius:34px;padding:48px 30px 32px}.brand-mark{background:var(--ink);width:74px;height:74px;color:var(--paper);letter-spacing:.08em;border-radius:24px;place-items:center;margin:0 auto 22px;font-size:24px;font-weight:800;display:grid}.eyebrow{color:var(--accent);letter-spacing:.18em;margin:0 0 10px;font-size:11px;font-weight:800}h1,h2,h3,p{margin-top:0}.landing-card h1{letter-spacing:-.045em;margin-bottom:16px;font-size:clamp(32px,8vw,46px);line-height:1.08}.landing-copy{max-width:330px;color:var(--muted);margin:0 auto 30px;line-height:1.7}.landing-actions{gap:12px;display:grid}.tiny-note{color:#9a9289;margin:20px 0 0;font-size:12px}.primary-button,.ghost-button,.dark-button,.danger-button{cursor:pointer;border:0;border-radius:16px;justify-content:center;align-items:center;min-height:52px;padding:0 20px;font-weight:750;transition:transform .16s,opacity .16s,background .16s;display:inline-flex}.primary-button:active,.ghost-button:active,.dark-button:active,.danger-button:active{transform:scale(.98)}.primary-button{background:var(--accent);color:#fff}.primary-button:hover{background:var(--accent-dark)}.ghost-button{background:var(--soft);color:var(--ink)}.dark-button{background:var(--ink);color:#fff}.danger-button{color:#a23d2d;background:#f7dfda}button:disabled{opacity:.45;cursor:not-allowed}.app-shell{min-height:100vh;padding-bottom:110px}.topbar{z-index:20;padding:max(14px, env(safe-area-inset-top)) 18px 14px;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f7f2eae0;border-bottom:1px solid #e8dfd4d9;position:sticky;top:0}.topbar-inner{justify-content:space-between;align-items:center;gap:16px;max-width:920px;margin:0 auto;display:flex}.topbar-title{min-width:0}.topbar-title small{color:var(--accent);letter-spacing:.16em;margin-bottom:4px;font-size:10px;font-weight:800;display:block}.topbar-title strong{white-space:nowrap;text-overflow:ellipsis;font-size:17px;display:block;overflow:hidden}.icon-link,.icon-button{border:1px solid var(--line);cursor:pointer;background:#ffffffb8;border-radius:14px;flex:0 0 44px;place-items:center;width:44px;height:44px;display:grid}.content{max-width:920px;margin:0 auto;padding:22px 18px 0}.hero-card{color:#fff;background:linear-gradient(135deg,#252321 0%,#4f4036 100%);border-radius:28px;padding:28px;position:relative;overflow:hidden;box-shadow:0 18px 48px #1f1c182e}.hero-card:after{content:"🍳";opacity:.2;font-size:112px;position:absolute;bottom:-22px;right:15px;transform:rotate(-12deg)}.hero-card p{color:#e8dcd0;margin-bottom:7px;font-size:13px}.hero-card h1{z-index:1;letter-spacing:-.045em;max-width:520px;margin-bottom:8px;font-size:clamp(28px,7vw,44px);position:relative}.hero-card span{color:#d8c9bb;font-size:14px}.mode-notice{color:#6e5411;background:#fff2cf;border:1px solid #efdaa1;border-radius:16px;align-items:flex-start;gap:10px;margin:16px 0;padding:14px 16px;font-size:12px;line-height:1.5;display:flex}.mode-notice strong{white-space:nowrap}.section-head{justify-content:space-between;align-items:end;gap:16px;margin:28px 0 14px;display:flex}.section-head h2{letter-spacing:-.03em;margin:0;font-size:22px}.section-head p{color:var(--muted);margin:0;font-size:13px}.category-row{scrollbar-width:none;gap:9px;padding:4px 0 8px;display:flex;overflow-x:auto}.category-row::-webkit-scrollbar{display:none}.category-chip{white-space:nowrap;border:1px solid var(--line);color:var(--muted);cursor:pointer;background:#ffffff94;border-radius:999px;padding:10px 16px;font-size:13px;font-weight:700}.category-chip.active{background:var(--ink);color:#fff;border-color:var(--ink)}.dish-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.dish-card{background:#fffdfad1;border:1px solid #e8dfd4e6;border-radius:22px;min-width:0;padding:16px;box-shadow:0 8px 28px #362c1f0f}.dish-card.sold-out{opacity:.55}.dish-emoji{background:var(--soft);border-radius:18px;place-items:center;width:58px;height:58px;margin-bottom:15px;font-size:31px;display:grid}.dish-card h3{letter-spacing:-.02em;margin-bottom:7px;font-size:17px}.dish-description{min-height:40px;color:var(--muted);margin-bottom:12px;font-size:12px;line-height:1.55}.dish-meta{color:#817970;flex-wrap:wrap;gap:7px;margin-bottom:14px;font-size:11px;display:flex}.dish-footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.add-button{background:var(--ink);color:#fff;cursor:pointer;border:0;border-radius:13px;width:38px;height:38px;font-size:22px}.quantity-control{align-items:center;gap:9px;display:flex}.quantity-control button{background:var(--soft);cursor:pointer;border:0;border-radius:10px;width:31px;height:31px;font-weight:800}.quantity-control strong{text-align:center;min-width:18px}.cart-bar{left:50%;bottom:max(16px, env(safe-area-inset-bottom));z-index:30;background:var(--ink);color:#fff;border-radius:22px;justify-content:space-between;align-items:center;gap:16px;width:min(100% - 28px,620px);padding:12px 12px 12px 18px;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 18px 55px #1a171447}.cart-bar p{color:#cfc5bb;margin:0;font-size:12px}.cart-bar strong{margin-top:2px;font-size:17px;display:block}.cart-bar button{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:14px;padding:13px 18px;font-weight:800}.sheet-backdrop{z-index:50;background:#19161370;justify-content:center;align-items:flex-end;padding-top:40px;display:flex;position:fixed;inset:0}.sheet{background:var(--paper);width:min(100%,700px);max-height:90vh;padding:12px 20px max(24px, env(safe-area-inset-bottom));border-radius:28px 28px 0 0;overflow-y:auto;box-shadow:0 -18px 60px #00000029}.sheet-handle{background:#d9d0c6;border-radius:999px;width:42px;height:5px;margin:0 auto 18px}.sheet-head{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.sheet-head h2{margin:0}.close-button{background:var(--soft);cursor:pointer;border:0;border-radius:12px;width:38px;height:38px}.cart-item{border-bottom:1px solid var(--line);grid-template-columns:46px 1fr auto;align-items:center;gap:12px;padding:15px 0;display:grid}.cart-item-emoji{background:var(--soft);border-radius:14px;place-items:center;width:46px;height:46px;font-size:24px;display:grid}.cart-item h3{margin:0 0 4px;font-size:15px}.cart-item p{color:var(--muted);margin:0;font-size:12px}.form-grid{gap:14px;margin-top:22px;display:grid}.field label{color:#5e5851;margin-bottom:7px;font-size:12px;font-weight:750;display:block}.field input,.field textarea,.field select{border:1px solid var(--line);background:#fff;border-radius:15px;outline:none;width:100%;padding:13px 14px}.field input:focus,.field textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #d2654a1a}.field textarea{resize:vertical;min-height:86px}.submit-order{width:100%;margin-top:18px}.error-box{color:#9e3b2b;background:#fbe5e0;border-radius:14px;margin:14px 0 0;padding:12px 14px;font-size:13px}.track-shell,.kitchen-shell{min-height:100vh;padding:max(22px, env(safe-area-inset-top)) 18px max(30px, env(safe-area-inset-bottom))}.track-card,.pin-card{width:min(100%,620px);box-shadow:var(--shadow);background:#fffdfae6;border:1px solid #e8dfd4e6;border-radius:28px;margin:0 auto}.track-card{padding:26px}.back-row{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.text-link{color:var(--muted);font-size:13px;font-weight:700}.order-id{color:#948b81;letter-spacing:.08em;font-size:11px}.track-hero{text-align:center;padding:10px 0 26px}.track-icon{background:var(--soft);border-radius:28px;place-items:center;width:82px;height:82px;margin:0 auto 16px;font-size:42px;display:grid}.track-hero h1{margin-bottom:10px;font-size:30px}.track-hero p{color:var(--muted);line-height:1.6}.status-badge{border-radius:999px;align-items:center;min-height:28px;padding:0 11px;font-size:12px;font-weight:800;display:inline-flex}.status-badge.amber{color:#7a5800;background:#fff0c9}.status-badge.blue{color:#245a8b;background:#dfeeff}.status-badge.violet{color:#604395;background:#ece4ff}.status-badge.green{color:#24713a;background:#dff5e5}.status-badge.gray{color:#625d58;background:#eceae7}.status-badge.red{color:#a13e2e;background:#f9dfda}.timeline{grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0 26px;display:grid}.timeline-step{text-align:center;color:#aaa096;font-size:11px}.timeline-dot{background:#ddd5cc;border-radius:50%;width:12px;height:12px;margin:0 auto 8px}.timeline-step.active{color:var(--ink);font-weight:750}.timeline-step.active .timeline-dot{background:var(--accent);box-shadow:0 0 0 5px #d2654a1f}.order-list{border-top:1px solid var(--line)}.order-line{border-bottom:1px solid var(--line);justify-content:space-between;gap:16px;padding:15px 0;display:flex}.order-line p{color:var(--muted);margin:4px 0 0;font-size:12px}.order-meta-box{background:var(--soft);color:#5f574f;border-radius:16px;margin-top:18px;padding:15px;font-size:13px;line-height:1.7}.kitchen-shell{max-width:1000px;margin:0 auto}.pin-card{margin-top:10vh;padding:28px}.pin-card h1{margin-bottom:8px}.pin-card p{color:var(--muted);line-height:1.6}.pin-row{gap:10px;display:flex}.pin-row input{border:1px solid var(--line);border-radius:15px;flex:1;min-width:0;padding:13px 14px}.kitchen-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px;display:flex}.kitchen-header h1{margin-bottom:5px;font-size:30px}.kitchen-header p{color:var(--muted);margin:0}.kitchen-tabs{gap:9px;margin-bottom:18px;display:flex}.kitchen-tabs button{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:#ffffffa6;border-radius:999px;padding:10px 16px;font-weight:750}.kitchen-tabs button.active{background:var(--ink);color:#fff;border-color:var(--ink)}.kitchen-grid{gap:14px;display:grid}.order-card{border:1px solid var(--line);background:#fffdfae6;border-radius:22px;padding:18px;box-shadow:0 8px 30px #362c1f0d}.order-card-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.order-card h3{margin:0 0 5px;font-size:18px}.order-time{color:var(--muted);font-size:12px}.order-card-items{background:var(--soft);border-radius:15px;margin:15px 0;padding:13px 15px}.order-card-items p{margin:0;font-size:14px;line-height:1.75}.order-note{color:#5e554d;margin:0 0 14px;font-size:13px}.status-actions{flex-wrap:wrap;gap:8px;display:flex}.status-actions button{color:var(--ink);cursor:pointer;background:#eee7df;border:0;border-radius:12px;padding:10px 13px;font-size:12px;font-weight:750}.status-actions button.primary{background:var(--accent);color:#fff}.status-actions button.dark{background:var(--ink);color:#fff}.menu-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.menu-admin-card{border:1px solid var(--line);background:#fffdfae6;border-radius:18px;align-items:center;gap:14px;padding:14px;display:flex}.menu-admin-card .dish-emoji{flex:0 0 48px;width:48px;height:48px;margin:0;font-size:25px}.menu-admin-card h3{margin:0 0 4px;font-size:15px}.menu-admin-card p{color:var(--muted);margin:0;font-size:11px}.toggle{cursor:pointer;background:#d8d1c9;border:0;border-radius:999px;width:50px;height:29px;margin-left:auto;padding:3px}.toggle span{background:#fff;border-radius:50%;width:23px;height:23px;transition:transform .18s;display:block;box-shadow:0 2px 7px #0000002e}.toggle.on{background:#4d9a62}.toggle.on span{transform:translate(21px)}.empty-state{text-align:center;color:var(--muted);background:#ffffff73;border:1px dashed #d8cfc4;border-radius:20px;padding:45px 20px}.loading{min-height:50vh;color:var(--muted);place-items:center;display:grid}@media (min-width:720px){.dish-grid,.menu-admin-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sheet{border-radius:28px;max-height:82vh;margin-bottom:30px}.sheet-backdrop{align-items:center;padding:30px}}@media (max-width:430px){.dish-grid{grid-template-columns:1fr 1fr;gap:10px}.dish-card{border-radius:19px;padding:13px}.dish-emoji{width:50px;height:50px;font-size:27px}.dish-description{min-height:54px}.hero-card{padding:24px}.menu-admin-grid{grid-template-columns:1fr}.timeline{gap:2px}}
