:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#332821;background:#eee9e1;font-synthesis:none;color-scheme:light;--accent:#e8543e;--muted:#80736b;--footer-height:128px}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #a54e21;outline-offset:4px}[hidden]{display:none!important}
.page{max-width:480px;min-height:100dvh;margin:auto;background:#faf7f0;box-shadow:0 0 60px #54402b0a}.nav{height:calc(58px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0;display:flex;align-items:center;justify-content:space-between;background:#fffdf9}.nav h1{font-size:17px;margin:0;letter-spacing:1px}.icon-button{width:44px;height:44px;border:0;background:transparent;color:#493b30;font-size:23px;display:grid;place-items:center;flex-shrink:0}.help{font-size:16px;font-weight:600}.help::first-letter{border:1px solid}.help:disabled{opacity:.4}
main{padding:12px 16px calc(var(--footer-height) + 22px)}.hero{position:relative;min-height:176px;border-radius:22px;padding:22px 18px;display:flex;align-items:center;overflow:hidden;background:radial-gradient(ellipse at 90% 5%,#ffe6b1 0,transparent 60%),linear-gradient(120deg,#ffe3cf,#fff0e0)}.hero:after{content:"";position:absolute;width:280px;height:90px;border-radius:50%;background:#fff9ef70;bottom:-65px;left:-40px;transform:rotate(-12deg)}.eyebrow{font-size:10px;letter-spacing:2px;color:#a36940;margin:0 0 9px}.hero h2{font-size:25px;color:#873c22;line-height:1.42;margin:0;font-weight:750;letter-spacing:.5px}.hero-sub{font-size:11px;color:#87664e;margin:9px 0 0}.hero-art{position:absolute;width:130px;height:150px;right:4px;bottom:8px;pointer-events:none}.hero-art img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 8px #cc68371a)}.spark{position:absolute;color:#eeb55a;font-size:24px}.s1{right:10px;top:2px}.s2{bottom:0;left:0}
.tabs{display:flex;margin:16px 0 14px;padding:4px;border-radius:14px;background:white;gap:4px}.tab{flex:1;border:0;border-radius:11px;background:transparent;min-height:44px;color:var(--muted);font-size:14px;white-space:nowrap}.tab[aria-selected=true]{color:var(--accent);background:#fff0e6;font-weight:700;box-shadow:0 2px 4px #e77a3510}.card{background:#fff;border:1px solid #f4eee6;border-radius:20px;padding:18px;margin-bottom:12px}.offer{position:relative;overflow:hidden}.offer:before{position:absolute;content:"";right:-20px;top:0;background:linear-gradient(120deg,#fff,#fff0e0);width:150px;height:140px;border-radius:0 0 0 100%;opacity:.6}.offer-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px}.offer-head h2{font-size:23px;line-height:1.4;margin:0 0 7px}.offer-art{width:92px;height:108px;object-fit:contain;filter:drop-shadow(0 5px 6px #d4862420)}.badge{display:inline-block;font-size:10px;color:#a45422;border:1px solid #f6d9b8;background:#fff8eb;padding:3px 7px;border-radius:6px}.price{display:block;font-size:32px;line-height:1.2;font-weight:750;color:var(--accent);font-variant-numeric:tabular-nums;letter-spacing:-1px}.offer-price{margin-top:9px}.subtitle{margin:5px 0 21px;font-size:12px;line-height:1.7;color:var(--muted)}h3{font-size:15px;margin:0 0 11px}.benefits{display:grid;gap:8px}.benefit{display:flex;align-items:center;gap:10px;background:#fcfaf7;border-radius:10px;padding:10px 11px;min-height:44px;font-size:13px}.benefit svg{width:24px;height:24px;flex-shrink:0;color:#f49a40}.benefit strong{margin-left:auto;font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}.rule-note{display:flex;align-items:flex-start;gap:7px;color:#a57442;background:#fff6eb;border-radius:9px;padding:9px 10px;font-size:10px;line-height:1.6;margin:10px 0 0}.rule-note svg{width:14px;height:14px;flex-shrink:0;margin-top:1px}
.delivery{padding:16px}.steps{display:flex;align-items:center;gap:13px;font-size:12px}.steps span{background:#fff4e9;border-radius:8px;padding:8px 7px;white-space:nowrap}.steps b{display:inline-grid;place-items:center;border-radius:50%;width:18px;height:18px;background:#f78b49;color:white;font-size:11px;margin-right:3px}.steps i{font-style:normal;color:#d5bca6}.delivery p{font-size:11px;line-height:1.7;color:var(--muted);margin:10px 0 0}.terms-card{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;color:inherit;padding:16px}.terms-card strong{font-size:14px}.terms-card small{display:block;font-size:10px;color:var(--muted);line-height:1.7;margin-top:5px}.terms-card>span:last-child{font-size:26px;color:#a39180}.catalog-note{font-size:10px;color:#8d7d70;line-height:1.7;margin:14px 7px 0}
.purchase-bar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;background:#fffdfb;padding:5px 18px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -4px 20px #49322004;border-top:1px solid #f1e9df;z-index:5}.agreement{display:flex;align-items:center;min-height:40px;gap:5px;font-size:10px;flex-wrap:wrap}.agreement input{appearance:none;width:18px;height:18px;border:1px solid var(--accent);border-radius:50%;margin:0 3px 0 0;display:grid;place-content:center;cursor:pointer;flex-shrink:0}.agreement input:checked{background:var(--accent)}.agreement input:checked:after{content:"✓";color:#fff;font-size:12px}.agreement label{cursor:pointer;padding:12px 0}.text-link{border:0;background:transparent;color:var(--accent);font-size:10px;padding:10px 0}.purchase-row{display:flex;justify-content:space-between;align-items:center;gap:10px}.purchase-row .price{font-size:27px}.purchase-row small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.primary{border:0;border-radius:14px;min-height:48px;padding:12px 23px;background:linear-gradient(110deg,#ff754c,#f0523b);color:#fff;font-size:14px;font-weight:650;box-shadow:0 3px 8px #ef653718}.primary:active{transform:translateY(1px)}.primary:disabled{background:#e8e2da;color:#93877a;box-shadow:none}.wide{width:100%}
.loading,.error{text-align:center;padding:50px 10px;color:var(--muted);font-size:14px}.error h2{font-size:18px;color:#493b30}.toast{position:fixed;bottom:calc(var(--footer-height) + 14px);left:50%;transform:translateX(-50%);padding:12px 18px;border-radius:12px;max-width:calc(100% - 32px);width:max-content;background:#493b30eb;color:white;font-size:12px;line-height:1.6;z-index:30;pointer-events:none;opacity:0;transition:opacity .15s}.toast.visible{opacity:1}
dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:480px;max-height:85dvh;border:0;border-radius:24px 24px 0 0;padding:0;color:#332821;background:#fffdf8;box-shadow:0 -10px 60px #33282114}dialog[open]{display:flex;flex-direction:column}dialog::backdrop{background:#33282160;backdrop-filter:blur(3px)}body:has(dialog[open]){overflow:hidden}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:14px 14px 8px 22px;flex-shrink:0}.dialog-header h2{font-size:19px;margin:0}.close{font-size:27px;color:#8d7d70}.dialog-body{padding:4px 22px 12px;overflow-y:auto;overscroll-behavior:contain}.dialog-footer{padding:12px 22px calc(20px + env(safe-area-inset-bottom));border-top:1px solid #eee7de;flex-shrink:0}.section-kicker{font-size:12px;color:var(--muted);margin:0 0 18px}#terms-list{padding-left:20px;margin:0}#terms-list li{font-size:13px;line-height:1.9;margin:0 0 14px;padding-left:3px}.confirm-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:6px 0 18px}.confirm-head h3{margin:0;font-size:18px}.confirm-head .price{font-size:28px}.availability{font-size:12px;line-height:1.8;color:#98673f;background:#fff2e1;padding:12px;border-radius:12px;margin:16px 0 0}.payment-hint{text-align:center;font-size:10px;color:var(--muted);margin:10px 0 0}
@media(min-width:600px){.page{margin:24px auto;min-height:calc(100dvh - 48px);border-radius:24px;overflow:hidden}.hero{min-height:190px}.hero h2{font-size:28px}.hero-art{right:12px;width:150px;height:166px}.purchase-bar{border-radius:20px 20px 0 0}dialog{bottom:0;border-radius:24px 24px 0 0;max-width:480px}#confirm-dialog{bottom:0}}@media(max-width:350px){main{padding-left:12px;padding-right:12px}.hero{padding-left:15px}.hero h2{font-size:22px}.hero-art{width:105px;height:132px;right:0}.hero-sub{font-size:10px}.eyebrow{font-size:9px}.card{padding:14px}.offer-art{width:75px}.offer-head h2{font-size:21px}.steps{gap:8px;font-size:11px}.steps span{padding:8px 5px}.purchase-bar{padding-left:14px;padding-right:14px}.primary{padding-left:18px;padding-right:18px}.agreement{gap:2px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.product-section{border-top:1px solid #f0e8df;padding-top:18px}.product-section h3{display:flex;justify-content:space-between}.product-section h3 small{font-size:11px;color:var(--accent);font-weight:400}.product-note{font-size:10px;color:var(--muted);margin:0 0 12px}.product-options{display:grid;gap:10px}.product-option{display:flex;gap:12px;align-items:center;width:100%;padding:10px;border:1px solid #e8e0d6;border-radius:14px;background:#fdfbf8;text-align:left;color:inherit}.product-option.selected{border-color:var(--accent);background:#fff3ea}.product-option img{width:72px;height:72px;object-fit:cover;border-radius:9px;flex-shrink:0}.product-copy{flex:1;min-width:0}.product-copy strong{display:block;font-size:13px;line-height:1.5}.product-copy small{display:block;font-size:10px;color:var(--muted);margin-top:4px;line-height:1.5}.product-copy em{font-size:9px;color:#aa713f;font-style:normal;display:block;margin-top:4px}.product-radio{width:19px;height:19px;flex-shrink:0;border:1px solid #d8cfc4;border-radius:50%;display:grid;place-items:center;color:white;font-size:12px}.selected .product-radio{background:var(--accent);border-color:var(--accent)}.chosen-product{font-size:11px;color:var(--accent);margin:7px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.phone-field{display:block;margin:16px 0 0}.phone-field span{display:block;font-size:12px;color:#493b30;margin:0 0 8px;font-weight:600}.phone-field input{width:100%;min-height:46px;border:1px solid #e8e0d6;border-radius:12px;padding:10px 14px;background:#fff;color:#332821;letter-spacing:.5px}.phone-field input:focus{border-color:var(--accent)}.phone-hint{font-size:11px;line-height:1.6;color:var(--muted);margin:8px 0 0}
.addr-block{margin-top:16px;padding:12px;border-radius:12px;background:#faf7f2;border:1px solid #efe6db}.addr-title{margin:0 0 4px;font-size:13px;font-weight:700;color:#493b30}
.region-btn{width:100%;min-height:46px;border:1px solid #e8e0d6;border-radius:12px;padding:10px 14px;background:#fff;color:#332821;font:inherit;font-size:14px;text-align:left;cursor:pointer}.region-btn.empty{color:#a89a8e}
/* 保持 dialog 底部抽屉（fixed + inset:auto 0 0）；勿改 relative，否则会居中 */
#confirm-dialog{overflow:hidden;inset:auto 0 0;margin:0 auto;bottom:0;top:auto;transform:none;max-height:90dvh}
.region-sheet{position:absolute;inset:0;z-index:30;background:#33282180;display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(2px)}
.region-sheet[hidden]{display:none!important}
.region-sheet-card{width:100%;height:min(72%,520px);max-height:calc(100% - 24px);background:#fffdf8;border-radius:18px 18px 0 0;padding:14px 12px calc(16px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:10px;box-shadow:0 -8px 40px #33282118}
.region-sheet-head{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:15px;color:#493b30;padding:0 4px}
.region-sheet-close{border:0;background:transparent;color:#8d7d70;font:inherit;font-size:14px;cursor:pointer;padding:8px}
.region-cols{display:flex;gap:6px;min-height:0;flex:1}.region-col{flex:1;overflow:auto;-webkit-overflow-scrolling:touch}
.region-col button{display:block;width:100%;text-align:left;border:0;background:transparent;color:#5c5348;font:inherit;font-size:13px;padding:10px 6px;border-radius:8px;cursor:pointer}
.region-col button.on{background:#fff3ea;color:var(--accent);font-weight:700}
.sms-row{display:flex;gap:8px;margin-top:10px}.sms-row input{flex:1;min-height:46px;border:1px solid #e8e0d6;border-radius:12px;padding:10px 14px;background:#fff}.sms-btn{border:1px solid #e8e0d6;border-radius:12px;background:#fff8f2;color:#a45422;padding:0 12px;min-height:46px;white-space:nowrap;font-size:13px}.sms-btn:disabled{opacity:.5}
.pay-channels{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}.pay-channel{border:1px solid #e8e0d6;border-radius:12px;background:#fdfbf8;min-height:42px;font-size:13px;color:#5c5348}.pay-channel.selected{border-color:var(--accent);background:#fff3ea;color:var(--accent);font-weight:650}
.usdt-panel{margin-top:14px;padding:12px;border-radius:12px;background:#fff2e1;border:1px solid #f0d9b8}.alipay-panel{background:#eef5ff;border-color:#c8daf5}.usdt-title{margin:0 0 8px;font-size:13px;font-weight:700;color:#493b30}.usdt-amount{margin:0 0 8px;font-size:20px;font-weight:750;color:var(--accent)}.usdt-address{margin:0;font-size:12px;word-break:break-all;color:#5c5348;line-height:1.5}.usdt-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.usdt-confirm-btn{border:0;border-radius:14px;min-height:48px;width:100%;padding:12px 20px;background:linear-gradient(110deg,#2bb673,#1a9f5c);color:#fff;font-size:15px;font-weight:700;box-shadow:0 4px 12px #1a9f5c33;letter-spacing:.5px}
.usdt-confirm-btn:active{transform:translateY(1px);filter:brightness(.96)}
.usdt-confirm-btn:disabled{background:#c5d4cb;color:#f7faf8;box-shadow:none}
.usdt-confirm-btn.is-submitted{background:linear-gradient(110deg,#6b8f7c,#557866);box-shadow:none}
