:root{
      --ink:#18312e;
      --muted:#6d7f7b;
      --brand:#0f6b62;
      --brand-dark:#0a554e;
      --brand-2:#dff3ed;
      --paper:#fffdf8;
      --card:#ffffff;
      --line:#dce7e3;
      --accent:#f3a84b;
      --danger:#bd4a45;
      --shadow:0 14px 40px rgba(20,58,52,.10);
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:
        radial-gradient(circle at 12% 0%,rgba(15,107,98,.08),transparent 28rem),
        linear-gradient(180deg,#f8fbf8 0,#fffdf8 34rem);
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC","PingFang TC",sans-serif;
      padding-bottom:110px;
    }
    button,input,select,textarea{font:inherit}
    button{cursor:pointer}
    a{color:inherit}
    [hidden]{display:none!important}
    .app{max-width:760px;margin:0 auto}
    .hero{padding:22px 18px 14px}
    .hero-card{
      position:relative;overflow:hidden;min-height:216px;padding:26px 24px;
      border-radius:30px;color:white;background:linear-gradient(135deg,#0d5d56,#19857a);
      box-shadow:var(--shadow)
    }
    .hero-card:after{
      content:"";position:absolute;right:-72px;bottom:-100px;width:260px;height:260px;
      border-radius:50%;border:34px solid rgba(255,255,255,.09)
    }
    .brand-row{display:flex;align-items:center;gap:12px;position:relative;z-index:1}
    .logo{
      width:52px;height:52px;display:grid;place-items:center;border-radius:17px;
      background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.24)
    }
    .logo svg{width:34px;height:34px}
    .eyebrow{font-size:13px;letter-spacing:.13em;opacity:.78;font-weight:700}
    h1{font-size:27px;line-height:1.2;margin:4px 0 0}
    .hero-copy{position:relative;z-index:1;margin:22px 0 0;max-width:430px;font-size:15px;line-height:1.7;opacity:.92}
    .hero-meta{position:relative;z-index:1;display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
    .pill{padding:8px 11px;border-radius:999px;font-size:12px;font-weight:700;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.16)}
    .notice{margin:10px 18px 0;padding:14px 16px;border:1px solid #f3d39d;background:#fff8e9;border-radius:18px;font-size:13px;line-height:1.7;color:#6d4c1f}
    .notice strong{display:block;margin-bottom:2px}
    .tabs{
      display:flex;gap:9px;padding:18px 18px 7px;overflow:auto;scrollbar-width:none;
      position:sticky;top:0;z-index:10;background:rgba(248,251,248,.94);backdrop-filter:blur(12px)
    }
    .tabs::-webkit-scrollbar{display:none}
    .tab{flex:0 0 auto;border:1px solid var(--line);background:white;color:var(--muted);border-radius:999px;padding:9px 14px;font-weight:700;font-size:13px;transition:.18s}
    .tab.active{background:var(--brand);color:white;border-color:var(--brand);box-shadow:0 5px 14px rgba(15,107,98,.18)}
    .section{padding:14px 18px 0;scroll-margin-top:74px}
    .section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}
    h2{margin:0;font-size:22px}
    .section-note{font-size:12px;color:var(--muted)}
    .promo-strip{
      display:flex;align-items:flex-start;gap:10px;margin:0 0 13px;padding:13px 14px;
      border-radius:17px;background:linear-gradient(135deg,#e7f7f2,#f6fbf9);border:1px solid #cfe8e0;
      color:#315f58;font-size:13px;line-height:1.6
    }
    .promo-strip strong{display:block;color:var(--brand-dark)}
    .promo-icon{flex:0 0 auto;width:30px;height:30px;border-radius:10px;background:var(--brand);color:white;display:grid;place-items:center}
    .menu-grid{display:grid;grid-template-columns:1fr;gap:13px}
    .food-card{display:grid;grid-template-columns:92px 1fr;gap:14px;padding:12px;background:var(--card);border:1px solid rgba(15,107,98,.10);border-radius:22px;box-shadow:0 8px 22px rgba(26,64,57,.055)}
    .food-art{min-height:104px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,#e9f7f2,#d6eee7);position:relative;overflow:hidden}
    .food-art:before,.food-art:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(15,107,98,.12)}
    .food-art:before{width:88px;height:88px}.food-art:after{width:66px;height:66px}
    .food-art svg{position:relative;z-index:1;width:58px;height:58px;color:var(--brand)}
    .food-info{min-width:0;display:flex;flex-direction:column}
    .food-top{display:flex;justify-content:space-between;gap:8px;align-items:start}
    .food-name{font-size:17px;font-weight:800}
    .tag{font-size:11px;padding:5px 8px;border-radius:999px;background:var(--brand-2);color:var(--brand);white-space:nowrap;font-weight:800}
    .food-desc{font-size:12px;color:var(--muted);line-height:1.55;margin:7px 0 10px}
    .food-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
    .price{font-size:18px;font-weight:900}.price small{font-size:11px;color:var(--muted);font-weight:700}
    .add-btn{width:38px;height:38px;border:0;border-radius:13px;background:var(--brand);color:white;font-size:22px;display:grid;place-items:center;box-shadow:0 6px 14px rgba(15,107,98,.22)}
    .add-btn:disabled{background:#c7d2cf;box-shadow:none;cursor:not-allowed}
    .info-card{padding:18px;background:white;border-radius:22px;border:1px solid var(--line);line-height:1.7;font-size:14px}
    .info-list{display:grid;gap:10px;margin-top:12px}
    .info-row{display:flex;gap:10px}.info-icon{width:30px;height:30px;flex:0 0 auto;border-radius:10px;background:var(--brand-2);display:grid;place-items:center;color:var(--brand)}
    .version-note{text-align:center;color:#9aaaa6;font-size:10px;padding:16px 0 2px;letter-spacing:.04em}
    .bottom-bar{position:fixed;left:0;right:0;bottom:0;z-index:30;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(255,253,248,0),rgba(255,253,248,.92) 22%,#fffdf8 50%)}
    .cart-button{max-width:724px;margin:0 auto;width:100%;border:0;border-radius:18px;background:var(--ink);color:white;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 12px 32px rgba(24,49,46,.23)}
    .cart-left{display:flex;align-items:center;gap:10px;font-weight:800}.count{min-width:28px;height:28px;border-radius:9px;background:var(--accent);color:#3e2a0c;display:grid;place-items:center;font-size:13px}.cart-total{font-size:17px;font-weight:900}
    .sheet-backdrop{position:fixed;inset:0;background:rgba(11,31,28,.48);z-index:40;opacity:0;pointer-events:none;transition:.22s}
    .sheet{position:fixed;z-index:50;left:50%;bottom:0;transform:translate(-50%,105%);width:min(760px,100%);max-height:92vh;background:var(--paper);border-radius:28px 28px 0 0;box-shadow:0 -24px 70px rgba(0,0,0,.2);transition:.28s;overflow:hidden;display:flex;flex-direction:column}
    .sheet.open{transform:translate(-50%,0)}.sheet-backdrop.open{opacity:1;pointer-events:auto}
    .sheet-head{padding:13px 18px 12px;border-bottom:1px solid var(--line);background:rgba(255,253,248,.96)}
    .handle{width:42px;height:5px;border-radius:99px;background:#cbd6d2;margin:0 auto 11px}
    .sheet-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.sheet-title h3{margin:0;font-size:21px}
    .sheet-actions{display:flex;align-items:center;gap:5px}
    .clear-cart-btn{border:0;background:transparent;color:var(--danger);padding:8px 7px;border-radius:10px;font-size:12px;font-weight:850}.clear-cart-btn:active{background:#f8e9e7}
    .icon-btn{border:0;background:#edf3f1;width:36px;height:36px;border-radius:12px}
    .sheet-body{padding:15px 18px 26px;overflow:auto;overscroll-behavior:contain;touch-action:pan-y}
    .empty{text-align:center;padding:44px 10px;color:var(--muted)}.empty-symbol{font-size:44px;margin-bottom:8px}
    .cart-item{padding:14px 0;border-bottom:1px dashed #cedbd7}
    .cart-item-head{display:flex;justify-content:space-between;gap:12px}.cart-item-name{font-weight:850}.cart-item-price{font-weight:900}
    .item-detail{font-size:12px;color:var(--muted);line-height:1.65;margin-top:3px}
    .item-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
    .item-left-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
    .mini-btn{border:1px solid var(--line);background:white;border-radius:10px;padding:7px 10px;font-size:12px;font-weight:800;color:var(--ink)}
    .qty{display:flex;align-items:center;gap:10px}.qty button{border:1px solid var(--line);background:white;width:31px;height:31px;border-radius:10px;font-weight:900}
    .remove{border:0;background:transparent;color:var(--danger);font-size:12px;font-weight:800}
    .summary{margin:16px 0 12px;padding:14px;border-radius:17px;background:#f0f7f4;font-size:14px}
    .sum-row{display:flex;justify-content:space-between;padding:4px 0}.sum-row.total{font-size:18px;font-weight:900;border-top:1px solid #d7e7e1;margin-top:8px;padding-top:11px}
    .checkout-prompt{padding:14px;border:1px solid #efd09b;background:#fff7e7;border-radius:17px;margin:0 0 15px;font-size:13px;line-height:1.6;color:#6d4c1f}
    .checkout-prompt.success{border-color:#cbe5dc;background:#eef8f4;color:#315f58}
    .checkout-prompt strong{display:block;margin-bottom:3px}
    .prompt-btn{margin-top:10px;border:0;border-radius:11px;padding:9px 12px;background:var(--brand);color:white;font-weight:850}
    .form-grid{display:grid;gap:12px}.field label{display:block;font-size:12px;font-weight:800;margin:0 0 6px;color:#526864}
    .field input,.field select,.field textarea{width:100%;border:1px solid var(--line);background:white;border-radius:13px;padding:12px 13px;outline:none}
    .field textarea{min-height:82px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(15,107,98,.09)}
    .submit-row{display:grid;grid-template-columns:1fr 1.4fr;gap:9px;margin-top:16px}.secondary,.primary{border:0;border-radius:15px;padding:13px;font-weight:900}.secondary{background:#e6eeeb;color:var(--ink)}.primary{background:var(--brand);color:white}
    .order-preview{white-space:pre-wrap;background:#132c29;color:#e8f6f1;padding:14px;border-radius:15px;font-size:12px;line-height:1.65;margin-top:14px;display:none}
    .modal-backdrop,.confirm-backdrop{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:18px;background:rgba(11,31,28,.55);opacity:0;pointer-events:none;transition:.18s}
    .modal-backdrop.open,.confirm-backdrop.open{opacity:1;pointer-events:auto}
    .product-modal,.confirm-dialog{width:min(430px,100%);max-height:88vh;overflow:auto;background:var(--paper);border-radius:24px;padding:21px;box-shadow:0 24px 70px rgba(0,0,0,.24);transform:translateY(10px) scale(.98);transition:.18s}
    .modal-backdrop.open .product-modal,.confirm-backdrop.open .confirm-dialog{transform:translateY(0) scale(1)}
    .modal-top{display:flex;align-items:start;justify-content:space-between;gap:12px}.modal-top h3{margin:0;font-size:21px}.modal-subtitle{font-size:12px;color:var(--muted);line-height:1.6;margin-top:4px}
    .option-group{margin-top:18px}.option-title{font-size:13px;font-weight:900;margin-bottom:9px}.option-title span{font-weight:600;color:var(--muted)}
    .segmented{display:grid;grid-template-columns:1fr 1fr;gap:8px}.segment{border:1px solid var(--line);background:white;border-radius:13px;padding:11px;font-weight:850;color:var(--muted)}.segment.active{border-color:var(--brand);background:var(--brand-2);color:var(--brand)}
    .option-card{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);background:white;border-radius:15px;padding:12px;margin-top:8px}
    .option-card.selected{border-color:var(--brand);background:#f0faf7}.option-name{font-size:14px;font-weight:850}.option-desc{font-size:11px;color:var(--muted);line-height:1.5;margin-top:2px}.option-price{font-size:13px;font-weight:900;white-space:nowrap}
    .check-mark{width:24px;height:24px;border-radius:8px;border:1px solid #cbd8d4;display:grid;place-items:center;color:white;background:white;flex:0 0 auto}.option-card.selected .check-mark{background:var(--brand);border-color:var(--brand)}
    .modal-note{padding:10px 12px;border-radius:13px;background:#f3f7f6;color:#5d716d;font-size:11px;line-height:1.6;margin-top:9px}
    .modal-total{display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding-top:15px;border-top:1px solid var(--line);font-weight:900;font-size:18px}
    .modal-actions{display:grid;grid-template-columns:1fr 1.45fr;gap:9px;margin-top:13px}.modal-actions button{border:0;border-radius:14px;padding:12px;font-weight:900}
    .cancel-btn{background:#e6eeeb;color:var(--ink)}.save-btn{background:var(--brand);color:white}
    .confirm-dialog h4{margin:0 0 9px;font-size:19px}.confirm-dialog p{margin:0;color:var(--muted);font-size:14px;line-height:1.65}
    .confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:19px}.confirm-actions button{border:0;border-radius:14px;padding:12px;font-weight:900}.confirm-cancel{background:#e6eeeb;color:var(--ink)}.confirm-clear{background:var(--danger);color:white}
    .toast{position:fixed;left:50%;bottom:100px;z-index:100;transform:translate(-50%,15px);opacity:0;background:#163d38;color:white;padding:11px 13px;border-radius:13px;font-size:13px;transition:.2s;pointer-events:none;display:flex;align-items:center;gap:12px;white-space:nowrap;box-shadow:0 12px 30px rgba(0,0,0,.2)}
    .toast.show{opacity:1;transform:translate(-50%,0);pointer-events:auto}.toast-action{border:0;background:transparent;color:#ffd690;font-weight:900;padding:3px 1px}

    @keyframes softBlink{0%,100%{opacity:1;transform:translateY(0)}50%{opacity:.34;transform:translateY(-1px)}}
    @keyframes cardPulse{0%,100%{box-shadow:0 8px 22px rgba(26,64,57,.055);border-color:rgba(15,107,98,.10)}50%{box-shadow:0 0 0 4px rgba(243,168,75,.22),0 10px 28px rgba(243,168,75,.16);border-color:#f3a84b}}
    .add-btn.wide{width:auto;min-width:78px;padding:0 11px;font-size:12px;font-weight:900;white-space:nowrap}
    .soup-live-hint{display:inline-block;margin-top:7px;padding:5px 8px;border-radius:999px;background:#fff2d8;color:#895515;font-size:11px;font-weight:900;animation:softBlink 1.05s infinite}
    .soup-discount-live{animation:cardPulse 1.35s infinite}
    .discount-details{margin:8px 0 4px;padding:10px 0;border-top:1px dashed #c8dbd5;border-bottom:1px dashed #c8dbd5}
    .discount-title{font-size:12px;color:var(--muted);font-weight:900;margin-bottom:5px}
    .discount-detail-row{display:flex;justify-content:space-between;gap:12px;padding:4px 0;color:#315f58}
    .discount-detail-row strong{white-space:nowrap;color:#6d4c1f}
    .checkout-prompt.flash-attention,.checkout-prompt.needs-soup{animation:cardPulse 1.1s infinite;background:#fff8e9;border-color:#f3a84b}.checkout-prompt.extra-soup{background:#fff8e9;border-color:#f3a84b}
    .soup-flash-text{margin:9px 0 0;padding:8px 10px;border-radius:12px;background:#fff2d8;color:#895515;font-weight:900;font-size:12px;animation:softBlink 1.1s infinite}
    .confirm-send{background:var(--brand);color:white}
    .social-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
    .link-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;border:1px solid var(--line);background:#fff;border-radius:13px;padding:9px 12px;font-size:12px;font-weight:900;color:var(--ink)}
    .link-button.primary-link{background:var(--brand);border-color:var(--brand);color:white}
    .sheet.dragging{transition:none}
    .sheet.dragging .sheet-body{touch-action:none}
    .sheet-head{touch-action:none}
    .handle{cursor:grab}
    @media(min-width:620px){
      .hero{padding-top:30px}.hero-card{min-height:230px;padding:31px}
      .menu-grid{grid-template-columns:1fr 1fr}.food-card{grid-template-columns:84px 1fr}.food-art{min-height:118px}
      .form-grid.two{grid-template-columns:1fr 1fr}
    }
