@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&display=swap');
:root{--green:#496649;--dark:#293e2d;--muted:#8a9183;--cream:#f8f7f2;--line:#e9ece3;--soft:#edf1e7;--pink:#f4e6df}*{box-sizing:border-box}body{margin:0;background:#eeeee7;color:var(--dark);font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer}button{border:0;background:none;color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a9bd83;outline-offset:3px}button:disabled{cursor:default;opacity:.55}[hidden]{display:none!important}.app{max-width:1040px;margin:24px auto 0;background:#fff;border-radius:24px 24px 0 0;overflow:hidden;min-height:calc(100vh - 24px);padding-bottom:150px;box-shadow:0 5px 70px #34423008}.hero{background:#e8eddd;position:relative;padding:24px 42px 38px;min-height:330px;overflow:hidden}.topline{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:2}.brandmark{font-size:12px;letter-spacing:2px;color:#69775e}.icon-btn{width:36px;height:36px;border-radius:50%;font-size:26px;background:var(--cream);display:inline-flex;align-items:center;justify-content:center}.icon-btn.light{background:#ffffff75;font-size:20px}.hero-copy{position:relative;z-index:1;margin-top:14px}.eyebrow{font-size:12px;color:#7b886a;letter-spacing:4px;margin:6px 0 14px}h1,h2,h3,p{margin:0}h1{font-family:'Noto Serif SC',serif;font-weight:600;font-size:34px;letter-spacing:2px;line-height:1.4}h1 span{display:block;font-size:20px;letter-spacing:1px;margin:8px 0 12px;color:#657357}.hero-copy p{font-size:13px;line-height:1.9;color:#7b846f}.open-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid #b7c3a5;border-radius:20px;padding:7px 12px;font-size:10px;margin-top:20px;color:#667957;background:#ffffff35}.open-badge i{width:6px;height:6px;background:#6a8a55;border-radius:50%}.open-badge span{opacity:.5}.hero-art{position:absolute;right:75px;bottom:10px;width:280px;text-align:center}.arch{height:250px;border:10px solid #c1ccaf;border-bottom:0;border-radius:145px 145px 8px 8px;background:#f5efdd;position:relative;box-shadow:12px 8px 0 #b5c39b44;overflow:hidden}.shelf{position:absolute;top:104px;left:15px;background:#cfaa7b;border-bottom:5px solid #a7865e;width:115px;height:10px;display:flex;justify-content:space-around}.shelf span{font-size:29px;position:relative;top:-35px}.window{position:absolute;top:35px;right:18px;width:80px;height:85px;border:7px solid #d4bb94;background:#d4dfbd;border-radius:35px 35px 0 0;display:flex}.window i{width:50%;border-right:3px solid #f6f1dc}.window:after{content:'';height:4px;width:100%;position:absolute;top:35px;background:#f6f1dc}.counter{position:absolute;bottom:0;height:63px;border-top:9px solid #caaa7e;background:repeating-linear-gradient(90deg,#a7b694 0,#a7b694 63px,#8f9f7d 64px,#8f9f7d 68px);width:100%}.stove{position:absolute;bottom:50px;left:65px;font-size:53px;z-index:1;transform:rotate(-10deg)}.art-heart{position:absolute;top:137px;right:36px;font-size:38px;color:#b98573;transform:rotate(15deg)}.art-caption{display:block;font-family:serif;font-size:11px;letter-spacing:4px;color:#879375;margin-top:10px}main{padding:32px 36px 0}.intro{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-kicker{font-size:9px;letter-spacing:2px;color:#9b9f89;margin-bottom:6px}h2{font-family:'Noto Serif SC',serif;font-size:23px;letter-spacing:1px;font-weight:600}.text-btn{color:var(--green);font-size:12px;white-space:nowrap;padding:8px 4px}.note{background:#f6f4ed;padding:12px 16px;display:flex;gap:10px;border-radius:10px;margin-top:20px;color:#9a8d76;font-size:12px;align-items:center}.note>span:first-child{font-size:19px}.note>span:last-child{margin-left:auto;color:#b59784;font-size:20px}.note p{line-height:1.6}.menu-toolbar{display:flex;gap:10px;margin:22px 0}.search{display:flex;align-items:center;gap:8px;background:#f5f6f2;border:1px solid transparent;border-radius:9px;flex:1;padding:0 14px;color:#84917a;min-width:0}.search:focus-within{border-color:#b9c8ac}.search>span{font-size:27px}.search input{width:100%;min-width:0;background:transparent;border:0;outline:none;padding:13px 0;color:var(--dark);font-size:12px}.search input::placeholder{color:#a0a69a}.outline-btn{border:1px solid #dce3d4;border-radius:8px;padding:0 14px;font-size:12px;white-space:nowrap}.outline-btn:hover{background:var(--soft)}.menu-shell{display:grid;grid-template-columns:116px 1fr;border-top:1px solid var(--line);min-height:470px}.categories{background:#f7f8f4;padding:12px 0;border-radius:0 0 12px 12px;align-self:start;position:sticky;top:12px}.categories button{width:100%;display:flex;gap:10px;align-items:center;text-align:left;padding:17px 14px;font-size:12px;position:relative;color:#8c9587;transition:.2s}.categories button span{font-size:17px;filter:grayscale(.45)}.categories button.active{background:#fff;color:var(--green);font-weight:600}.categories button.active:before{content:'';position:absolute;left:0;top:19px;bottom:19px;width:3px;border-radius:4px;background:#6a8b54}.menu-content{padding:22px 0 0 26px}.list-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.list-heading h3{font-size:17px;font-weight:600}.list-heading p{font-size:11px;color:#a1a596;margin-top:6px}.list-heading>span{color:#a9ad9e;font-size:10px}.menu-list{display:grid;grid-template-columns:1fr 1fr;gap:14px 22px}.dish{display:flex;gap:14px;align-items:center;position:relative;min-height:110px;padding:0 0 18px;border-bottom:1px solid #eff0e9}.dish-art{width:94px;height:94px;border-radius:15px;background:var(--tile,#f2ece4);display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;overflow:hidden}.dish-art:after{content:'♡';position:absolute;font-size:13px;right:8px;top:6px;color:#ffffffc9}.dish-art .emoji{font-size:48px;filter:drop-shadow(0 6px 3px #0000000b);transition:transform .2s}.dish:hover .emoji{transform:rotate(-7deg) scale(1.07)}.dish-art img{width:100%;height:100%;object-fit:cover}.dish-body{min-width:0;align-self:stretch;padding-top:6px;flex:1;padding-bottom:32px}.dish h4{font-size:14px;margin:0 0 7px;font-weight:600;line-height:1.5}.dish p{font-size:10px;color:#9ba18f;line-height:1.7}.dish .tag{font-size:9px;color:#a99b83;position:absolute;bottom:22px}.quantity{display:flex;align-items:center;gap:9px;position:absolute;bottom:21px;right:0;font-size:12px}.quantity button{border-radius:50%;width:25px;height:25px;background:#5c7a51;color:#fff;font-size:21px;font-weight:300;line-height:23px}.quantity button.minus{background:#fff;border:1px solid #d5dfce;color:#6a855d}.edit-dish{position:absolute;bottom:18px;right:0;border:1px solid #d6dfcf;border-radius:15px;padding:5px 10px;color:var(--green);font-size:10px}.empty{text-align:center;color:#9a9f91;padding:65px 14px;line-height:2;font-size:13px;grid-column:1/-1}.empty span{font-size:42px;display:block}.page-footer{text-align:center;color:#b3b5a5;font-family:serif;font-size:11px;letter-spacing:3px;padding:35px 0 10px}.page-footer span{color:#bd9b8a;margin-left:8px}.bottom-area{position:fixed;bottom:0;width:min(1040px,100%);left:50%;transform:translateX(-50%);background:#fffffff5;z-index:5;padding:0 36px env(safe-area-inset-bottom);backdrop-filter:blur(14px);border-top:1px solid #ecede5}.cartbar{display:flex;align-items:center;justify-content:space-between;margin-top:-22px;background:#354e38;color:white;border-radius:15px;box-shadow:0 8px 20px #354e3820;height:68px;padding:9px 12px}.cart-summary{display:flex;gap:14px;text-align:left;align-items:center;color:inherit}.bag{width:42px;height:42px;border:1px solid #9eb08c;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:25px;position:relative;color:#dce7d0}.bag b{position:absolute;top:-5px;right:-5px;background:#d8b188;color:#3f4d35;font-size:10px;min-width:17px;height:17px;line-height:17px;text-align:center;border-radius:50%}.cart-summary strong{display:block;font-size:13px;font-weight:500}.cart-summary small{display:block;font-size:10px;color:#b4c2a8;margin-top:5px}.checkout{background:#dce7b5;color:#3b5131;border-radius:10px;padding:13px 22px;font-size:12px;min-width:110px}.checkout span{margin-left:12px}.bottom-nav{display:flex;justify-content:space-around;padding:12px 0 9px}.bottom-nav button{position:relative;font-size:10px;display:flex;flex-direction:column;align-items:center;gap:3px;color:#a2a898;min-width:75px}.bottom-nav button>span{font-size:23px;height:27px;line-height:26px}.bottom-nav button.active{color:#496649;font-weight:600}.bottom-nav i{position:absolute;right:15px;top:2px;width:6px;height:6px;background:#be927d;border-radius:50%}dialog{border:0;border-radius:22px;padding:26px;width:min(480px,calc(100% - 28px));max-height:86vh;overflow-y:auto;color:var(--dark);box-shadow:0 20px 80px #23352130}dialog::backdrop{background:#23332166;backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.dialog-head h2{font-size:20px}.field-label{display:block;font-size:12px;margin:16px 0 8px;color:#6b7b61}.field-label input,.field-label select,textarea{display:block;width:100%;padding:12px;margin-top:8px;background:#f6f7f3;border:1px solid #e2e7da;border-radius:9px;color:var(--dark);outline:none}textarea{resize:vertical;min-height:80px;font-size:12px}.primary{background:#496649;color:#fff;border-radius:10px;padding:14px 20px;font-size:12px}.full{width:100%;margin-top:20px}.dialog-tip{color:#9ca18f;font-size:10px;line-height:1.9;margin-top:12px}.form-row{display:flex;gap:15px}.form-row>label:first-child{flex:2}.form-row>label:last-child{flex:1}.form-row input,.form-row select{width:100%}.form-actions{display:flex;justify-content:space-between;align-items:center;margin-top:22px;gap:12px}.form-actions .primary{margin-left:auto}.danger{font-size:11px;color:#b36c60}.cart-item{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:14px 0}.cart-item .tiny-art{width:45px;height:45px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#f2f2e9;font-size:26px;overflow:hidden}.tiny-art img{height:100%;width:100%;object-fit:cover}.cart-item .quantity{position:static;margin-left:auto}.cart-item strong{font-size:12px}.orders-panel,.about-panel{padding-top:10px;min-height:430px}.order-card{border:1px solid var(--line);border-radius:13px;padding:20px;margin-bottom:16px}.order-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:15px;font-size:11px;color:#9a9e8c}.status{border-radius:12px;background:#f5eddf;color:#a28a63;padding:5px 10px}.status.done{background:#eaf0e3;color:#728662}.order-card h4{font-size:14px;font-weight:500;margin:8px 0}.order-note{padding:10px;background:#f7f6f0;font-size:12px;color:#8b8e7c;margin-top:14px;white-space:pre-wrap;overflow-wrap:anywhere}.order-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:15px}.order-actions button{font-size:11px;padding:8px 12px;border:1px solid #dbe4d2;border-radius:8px}.order-actions button:last-child{background:var(--green);color:#fff}.letter{margin:0 auto;max-width:540px;background:#faf7ee;border:1px solid #ede7d8;padding:34px 28px;text-align:center;border-radius:4px 4px 45px 4px}.letter>span{font-size:9px;letter-spacing:3px;color:#b5a28b}.letter h2{margin:25px 0;font-size:24px}.letter p{font-family:'Noto Serif SC',serif;font-size:13px;line-height:2.4;color:#8d8b76;margin-bottom:25px}.letter b{font-family:serif;font-size:14px;color:#8b9a74}.storage-note{text-align:center;font-size:11px;color:#a1a592;line-height:2;margin:24px 0}.import-label{cursor:pointer;display:inline-block}#imagePreview{width:100px;height:100px;object-fit:cover;border-radius:10px;margin-top:10px}#toast{position:fixed;bottom:180px;left:50%;transform:translate(-50%,15px);background:#344b37ed;color:#fff;padding:13px 22px;border-radius:30px;font-size:12px;z-index:20;opacity:0;pointer-events:none;transition:.25s;max-width:90%;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:750px){.app{margin:0;border-radius:0;min-height:100vh}.hero{padding:20px 22px 28px;min-height:300px}.hero-art{right:-16px;width:180px;bottom:23px;opacity:.9}.arch{height:180px;border-width:7px}.shelf{top:82px;width:80px;left:3px}.shelf span{font-size:22px;top:-27px}.window{right:8px;top:28px;width:53px;height:62px;border-width:5px}.window:after{top:27px}.stove{left:30px;bottom:40px;font-size:41px}.counter{height:50px}.art-heart{right:21px;top:100px;font-size:27px}.art-caption{font-size:8px;letter-spacing:2px}h1{font-size:29px}h1 span{font-size:17px}.hero-copy p{font-size:11px}.hero-copy{margin-top:17px}.eyebrow{font-size:10px}.brandmark{font-size:10px;letter-spacing:1px}.hero-copy{max-width:75%}main{padding:25px 18px 0}h2{font-size:20px}.intro .text-btn{font-size:11px}.section-kicker{font-size:8px}.menu-list{grid-template-columns:1fr;gap:20px}.menu-content{padding:20px 0 0 17px}.menu-shell{grid-template-columns:82px 1fr}.categories button{padding:17px 9px;gap:6px;font-size:11px}.categories button span{font-size:15px}.list-heading h3{font-size:15px}.list-heading p{font-size:9px;line-height:1.6}.list-heading>span{font-size:9px;white-space:nowrap;margin-left:3px}.dish-art{width:88px;height:88px;border-radius:12px}.dish{gap:12px;min-height:106px}.dish h4{font-size:13px}.dish p{font-size:10px}.dish .tag{font-size:8px;bottom:19px}.quantity{bottom:17px}.menu-toolbar{margin:18px 0;gap:7px}.outline-btn{padding:0 10px;font-size:11px}.search{padding:0 9px}.search input{font-size:10px}.bottom-area{padding-left:18px;padding-right:18px}.cartbar{height:65px;padding:8px 10px}.cart-summary{gap:9px}.cart-summary strong{font-size:12px}.cart-summary small{font-size:9px}.checkout{padding:13px 14px;min-width:86px;font-size:11px}.checkout span{margin-left:5px}.bag{width:37px;height:37px}.note{padding:10px 12px;font-size:10px}.menu-shell{min-height:470px}.orders-panel{min-height:480px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.sync-banner{display:flex;align-items:center;width:100%;gap:8px;background:#f1f5ed;color:#75876b;padding:11px 13px;border:1px solid #e2e9db;border-radius:9px;margin-top:12px;text-align:left;font-size:11px}.sync-light{width:7px;height:7px;flex-shrink:0;background:#b8b59f;border-radius:50%}.sync-light.connected{background:#749957;box-shadow:0 0 0 3px #74995718}.sync-light.disconnected{background:#c89868}.sync-action{margin-left:auto;font-size:10px;white-space:nowrap}.sync-copy{font-size:13px;line-height:1.9;color:#8b937e}.setup-link{display:block;text-align:center;text-decoration:none;margin-top:20px}.auth-actions{display:flex;justify-content:space-between;margin-top:10px}.or-divider{text-align:center;font-size:11px;color:#aab29e;margin:20px 0 0}.room-card{background:#f5f7ed;border-radius:15px;padding:24px 18px;text-align:center}.room-heart{font-size:40px;color:#9aa981}.room-card h3{font-family:serif;margin:6px 0 14px;font-size:21px}.room-card>p{font-size:12px;line-height:1.9;color:#8f9b80}#inviteBox{padding:14px;background:#f9f7ef;border:1px dashed #d5dcca;border-radius:10px;text-align:center;margin-top:14px}#inviteValue{display:block;font-size:14px;word-break:break-all;user-select:all;letter-spacing:2px;color:#6a7c57}#syncError{color:#ad7560;overflow-wrap:anywhere}.outline-btn.full{padding:13px}#authMessage{white-space:pre-line}
@media(max-width:750px){.sync-banner{font-size:10px;padding:10px}.sync-action{font-size:9px}}
