*,*::before,*::after{box-sizing:border-box}
:root{--red:#b5262d;--pink:#fff0ef;--background:#fcf7f5;--text:#332323;--muted:#786663;--line:#eddcda;font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--text);background:var(--background);line-height:1.55;accent-color:var(--red);font-synthesis:none}
body,h1,h2,h3,p{margin:0}body{min-width:320px}html{scroll-behavior:smooth;scroll-padding-top:115px}button,input,select{font:inherit}button{border:0;cursor:pointer;touch-action:manipulation}button:disabled{opacity:.45;cursor:default}a{color:inherit}img{display:block;max-width:100%}fieldset{border:0;padding:0;margin:0}[hidden]{display:none!important}h1,h2,h3{line-height:1.4}h1{font-size:1.6rem;color:var(--red);font-weight:750}h2{font-size:1.1rem}h1:focus{outline:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #df7556;outline-offset:3px}input,select{width:100%;min-height:52px;border:1px solid #9e817b;border-radius:9px;padding:12px;color:var(--text);background:white;font-size:1rem}input:user-invalid,select:user-invalid{border-color:var(--red);background:var(--pink)}label{display:block;margin-bottom:8px;font-weight:600}.hint{margin:9px 0;font-size:.8rem;color:var(--muted);line-height:1.7}.hint a{text-underline-offset:3px}.red,.cash,.discount{color:var(--red)}.alipay{color:#1165b2}.wechat{color:#167641}.error{color:var(--red);font-size:.85rem;margin:12px 0}.notice{padding:24px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.site-header{max-width:560px;margin:auto;padding:14px 18px 10px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:3px}.brand{color:var(--red);text-decoration:none;font-weight:750;font-size:1.05rem}.phone{color:var(--muted);text-decoration:none;font-size:.8rem;min-height:32px;display:flex;align-items:center}.welcome,.menu-page,.checkout-page,.confirmation-page{max-width:560px;margin:auto;padding:0 16px}.welcome{padding-top:28px;padding-bottom:40px}.welcome h1{margin-bottom:14px}.restaurant-info{display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:.78rem}.restaurant-info a{text-decoration:none}#name-form{margin-top:26px;padding:20px;background:white;border:1px solid var(--line);border-radius:12px}#name-form .primary{margin-top:18px}.primary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:13px 20px;border-radius:10px;background:var(--red);color:white;font-weight:650}.primary:hover:not(:disabled){background:#8f1e24}.primary span{font-size:1.25rem}.wide{width:100%}.text-button,.back-button{min-height:48px;padding:8px 0;color:var(--red);background:transparent;font-size:.8rem}.text-button{text-decoration:underline;text-underline-offset:3px}
.steps{display:flex;justify-content:space-between;align-items:center;gap:5px;margin:16px 0;font-size:.65rem;color:var(--muted)}.steps span{display:flex;align-items:center;gap:4px}.steps b{display:grid;place-items:center;border:1px solid #c8a6a1;border-radius:50%;width:23px;height:23px;font-size:.6rem}.steps [aria-current]{color:var(--red);font-weight:700}.steps [aria-current] b{background:var(--red);color:white;border-color:var(--red)}.steps i{font-style:normal;color:#c8a6a1}.menu-hero{background:var(--pink);border:1px solid var(--line);border-radius:12px;padding:18px}.menu-hero h1{font-size:1.45rem;margin-bottom:10px}.menu-greeting{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.85rem;padding:8px 2px}.menu-greeting>span{min-width:0;overflow-wrap:anywhere}.menu-greeting button{flex-shrink:0}.category-nav{position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;gap:6px;padding:10px 0;background:var(--background);border-bottom:1px solid var(--line)}.category-nav a{text-decoration:none;background:white;border:1px solid var(--line);border-radius:8px;min-height:48px;padding:12px 11px;font-size:.8rem;display:flex;align-items:center;justify-content:center}.category-nav a:hover,.category-nav a:focus-visible{background:var(--red);color:white}.menu-section{margin-top:22px;scroll-margin-top:115px}.section-heading{margin-bottom:10px}.section-heading h2{color:var(--red);font-size:1rem}.dish-grid{display:flex;flex-direction:column;gap:8px}.dish{display:flex;align-items:center;gap:8px;min-height:92px;padding:14px 12px;border:1px solid var(--line);border-radius:11px;background:white}.dish-number{width:20px;flex-shrink:0;color:var(--muted);font-size:.7rem;align-self:flex-start;margin-top:3px}.dish-detail{min-width:0;flex:1}.dish h3{font-size:.93rem;font-weight:600;margin-bottom:7px;overflow-wrap:anywhere}.dish-price{color:var(--red);font-size:.85rem;font-weight:700;font-variant-numeric:tabular-nums}.dish-control{flex-shrink:0}.add-button{width:48px;height:48px;border-radius:50%;background:var(--pink);color:var(--red);font-size:1.6rem}.stepper{display:flex;align-items:center;border:1px solid #e6bcb8;border-radius:26px;background:#fff7f6}.stepper button{width:36px;height:48px;background:transparent;color:var(--red);border-radius:50%;font-size:1.4rem}.stepper input{width:32px;min-height:48px;padding:0;border:0;border-radius:0;background:transparent;text-align:center;font-size:1rem;font-weight:700;appearance:textfield}.stepper input::-webkit-inner-spin-button,.stepper input::-webkit-outer-spin-button{appearance:none}.menu-footer{text-align:center;font-size:.75rem;color:var(--muted);margin:28px 0 125px}
.cart-bar{position:fixed;bottom:0;left:0;right:0;z-index:10;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fffdfb;border-top:1px solid var(--line);box-shadow:0 -4px 18px #b5262d09}.cart-inner{max-width:528px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:12px}.cart-amount{display:flex;flex-direction:column;gap:0}.cart-amount small{display:block;font-size:.7rem;color:var(--muted)}.cart-amount strong{font-size:1.3rem;line-height:1.4}.cart-icon{display:none}.cart-discount{color:var(--red);font-size:.7rem}.cart-bar .primary{padding:13px 18px;flex-shrink:0}
.checkout-page{padding-bottom:40px}.page-heading{margin:8px 0 18px}.page-heading h1{margin-bottom:5px}.page-heading p{font-size:.85rem;overflow-wrap:anywhere}.checkout-layout{display:flex;flex-direction:column;gap:16px}.checkout-layout>section,.checkout-layout>form{width:100%}.panel{border:1px solid var(--line);border-radius:12px;padding:18px 14px;background:white}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}.table-wrap{width:100%}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:12px 3px;border-bottom:1px solid var(--line);font-size:.78rem}thead th{color:var(--muted);font-weight:500;font-size:.65rem;white-space:nowrap;padding-top:6px}tbody th{font-weight:600;line-height:1.5;overflow-wrap:anywhere}.table-id{width:27px;color:var(--muted);font-size:.7rem}.table-quantity{text-align:center;width:38px;white-space:nowrap;font-variant-numeric:tabular-nums}.table-price{width:74px;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}thead th:last-child{text-align:right}thead th:nth-child(3){text-align:center}.summary{margin-top:18px}.summary>div{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0;font-size:.85rem}.summary .payable{border-top:1px solid var(--line);padding-top:14px;margin-top:16px}.payable small{font-size:.65rem;color:var(--muted)}.payable strong{color:var(--red);font-size:1.65rem}.summary .exchange-line{flex-wrap:wrap;padding-top:6px;font-size:.75rem;gap:3px}.exchange-line small{color:var(--muted);font-size:.65rem}.summary .rmb{background:var(--pink);padding:12px;border-radius:8px}.rmb b{font-size:1.1rem}.checkout-form .panel{margin-bottom:16px}.checkout-form h2{margin-bottom:16px}.checkout-form label[for=pickup]{font-size:.85rem}.checkout-form .restaurant-info{margin-top:16px}legend{font-size:1.1rem;font-weight:700;margin-bottom:16px}.payment-options{display:flex;flex-direction:column;gap:8px}.payment-options>div{position:relative}.payment-options input{position:absolute;clip-path:inset(50%);width:1px;height:1px;min-height:0;overflow:hidden}.payment-option{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;border:1px solid #a78983;border-radius:9px;margin:0;padding:12px 14px;cursor:pointer}.payment-option small{font-weight:400;color:var(--muted);font-size:.75rem}.payment-options input:checked+label{background:var(--pink);border:2px solid currentColor;padding:11px 13px}.payment-options input:checked+label span::after{content:' ✓'}.payment-options input:focus-visible+label{outline:3px solid #df7556;outline-offset:3px}.payment-notice{background:#fff7f6;padding:16px;border-radius:10px;margin-top:16px;text-align:center;font-size:.85rem}.payment-notice p{margin:10px 0}.payment-notice.cash{text-align:left}.payment-notice small{font-size:.75rem}.qr-placeholder{width:180px;height:180px;margin:16px auto;border:2px dashed #c6a49d;border-radius:10px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;color:var(--muted);background:white}.qr-placeholder>span{font-size:3rem;line-height:1}.qr-placeholder small{font-size:.65rem}.qr-image{object-fit:contain;margin:16px auto;background:white}
body[data-page=confirmation] .site-header{display:none}.confirmation-page{padding:8px 10px 20px}.receipt{padding:14px 12px;background:white;border:1px solid #e0c7c3;border-radius:10px}.receipt-top{text-align:center;border-bottom:1px solid var(--line);padding-bottom:8px}.receipt-top h1{font-size:1.15rem;margin:0 0 2px}.receipt-top p{font-size:.75rem;color:var(--muted)}.customer{display:flex;justify-content:space-between;gap:12px;padding:10px 0 7px;font-size:.8rem}.customer strong{font-size:.95rem;text-align:right;overflow-wrap:anywhere;min-width:0}.receipt th,.receipt td{padding:7px 2px;font-size:.75rem}.receipt thead th{padding:5px 2px;font-size:.65rem}.receipt .table-id{width:26px;font-size:.65rem}.receipt .table-quantity{width:35px}.receipt .table-price{width:72px}.multiple{color:var(--red);font-size:1.25rem;font-weight:850;line-height:1.15}.single-quantity{font-size:.85rem;font-weight:600}.receipt-summary{padding-top:6px}.receipt-summary>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:3px 0;font-size:.8rem}.receipt-summary .receipt-total{margin-top:3px}.receipt-total strong{font-size:1.15rem;color:var(--red)}.rate-source{text-align:right;color:var(--muted);font-size:.62rem;line-height:1.4}.receipt-payment{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:3px 10px;border-top:1px solid var(--line);margin-top:8px;padding:8px 0;font-size:.8rem}.receipt-payment>strong{font-size:1.1rem;font-weight:800}.receipt-payment small{flex-basis:100%;color:var(--muted);font-size:.65rem}.cash-pickup{flex-basis:100%;font-size:.85rem;font-weight:800}.receipt-pickup{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:var(--pink);padding:8px 10px;border-radius:7px}.receipt-pickup b{color:var(--red);font-size:.95rem}.receipt-pickup span{font-size:.8rem}.receipt-pickup strong{margin-left:auto;font-size:1.65rem;color:var(--red);font-weight:850;line-height:1.3}.receipt-note{color:var(--muted);font-size:.62rem;text-align:center;line-height:1.5;padding-top:8px}.receipt-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:6px}
@media(max-width:360px){.category-nav a{padding:12px 8px;font-size:.75rem}.menu-hero h1{font-size:1.25rem}.receipt-top h1{font-size:1.05rem}.receipt th,.receipt td{font-size:.7rem}.receipt .table-price{width:67px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{body{background:white}.site-header,.steps,.receipt-actions,.cart-bar{display:none!important}.confirmation-page{padding:0}.receipt{border:0;border-radius:0;padding:8px}.receipt-pickup{print-color-adjust:exact;-webkit-print-color-adjust:exact}tr,.receipt-pickup,.receipt-payment{break-inside:avoid}@page{size:A4;margin:14mm}}
