*{box-sizing:border-box}:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Segoe UI,sans-serif;color:#1f2933;background:#f3f5f7;--brand: #1677ff;--brand-deep: #0f5ec7;--ink: #1f2933;--muted: #6b7480;--line: #e4e9ef;--surface: #fff;--soft: #f7fafc;--green: #16845b;--orange: #f97316;--red: #e54828}body{min-height:100vh;margin:0;background:#e9edf2}button,input,textarea{font:inherit}button{border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}input,textarea{width:100%;border:0;outline:0;color:var(--ink);background:transparent}textarea{resize:none}.app-shell,.detail-page,.auth-page,.address-page,.checkout-page,.result-page{width:100%;max-width:430px;min-height:100vh;margin:0 auto;background:#f3f5f7}.home-header{padding:12px 12px 10px;color:#fff;background:linear-gradient(135deg,#1677ff,#0f5ec7)}.brand-row{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.brand-row p,.brand-row h1{margin:0}.brand-row p{font-size:13px;opacity:.84}.brand-row h1{margin-top:3px;font-size:22px;line-height:1.2;letter-spacing:0}.login-pill{flex:0 0 auto;max-width:112px;padding:7px 10px;overflow:hidden;border-radius:999px;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800;color:var(--brand-deep);background:#fff}.search-box{display:flex;gap:8px;align-items:center;height:42px;margin-top:10px;padding:0 12px;border-radius:8px;background:#fffffff5}.search-box span{font-size:13px;color:var(--brand)}.primary-submit,.result-card button{min-height:42px;padding:0 14px;border-radius:8px;font-size:14px;font-weight:900;color:#fff;background:var(--orange)}.primary-submit,.result-card button{background:var(--orange)}.page-section{padding:8px 10px 0}.category-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.category-tabs::-webkit-scrollbar{display:none}.category-tabs button{flex:0 0 auto;padding:8px 12px;border:1px solid var(--line);border-radius:999px;font-size:13px;color:var(--muted);background:#fff}.category-tabs button.active{border-color:#1677ff33;color:var(--brand);font-weight:800;background:#edf5ff}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{overflow:hidden;padding:0;border:1px solid var(--line);border-radius:8px;text-align:left;color:inherit;background:#fff}.product-image{display:grid;place-items:center;height:142px;overflow:hidden;background:#f8fafc}.product-image.large{height:316px;border-bottom:1px solid var(--line)}.product-image img{width:100%;height:100%;object-fit:cover}.product-image.large img{object-fit:contain;padding:12px;background:#fff}.product-info{padding:10px}.category-name{display:inline-block;padding:3px 6px;border-radius:5px;font-size:11px;font-weight:800;color:var(--brand);background:#edf5ff}.product-info strong{display:block;margin-top:8px;min-height:40px;font-size:15px;line-height:1.35}.product-info p{min-height:34px;margin:6px 0 8px;font-size:12px;line-height:1.42;color:var(--muted)}.price-row{display:grid;gap:4px}.price-row span,.detail-price strong,.order-card span,.amount-card strong,.checkout-bar strong{color:var(--red)}.price-row span{font-size:20px;font-weight:900}.price-row small{font-size:11px;color:#87909c}.card-buy{display:grid;place-items:center;min-height:34px;margin-top:9px;border-radius:8px;color:#fff;background:var(--orange);font-size:13px;font-weight:900}.top-bar{position:sticky;z-index:10;top:0;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;width:100%;max-width:430px;height:48px;margin:0 auto;border-bottom:1px solid var(--line);text-align:center;background:#fffffff5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.top-bar button{height:48px;font-size:30px;color:var(--ink);background:transparent}.top-bar strong{font-size:16px}.detail-page,.checkout-page{padding-bottom:96px}.detail-title,.info-panel,.address-card,.order-card,.quantity-card,.pay-card,.amount-card,.auth-card,.info-list,.result-card{margin:10px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fff}.detail-title span,.address-card span,.quantity-card>span,.pay-card span,.amount-card span,.info-list span,.auth-card label span{font-size:12px;font-weight:800;color:var(--brand)}.detail-title h1{margin:8px 0;font-size:22px;line-height:1.3}.detail-price{display:flex;gap:9px;align-items:baseline}.detail-price strong{font-size:28px}.detail-price del{font-size:14px;color:#a1aab5}.detail-title p,.info-panel p,.address-card p,.pay-card p,.order-card p,.result-card p,.form-tip{margin:8px 0 0;font-size:13px;line-height:1.6;color:var(--muted)}.info-panel h2{margin:0 0 12px;font-size:16px}.spec-list{display:flex;flex-wrap:wrap;gap:8px}.spec-list span{padding:7px 10px;border-radius:6px;font-size:13px;color:#344054;background:#f2f5f8}.info-panel ol{padding-left:20px;margin:0;color:var(--muted);font-size:13px;line-height:1.8}.fixed-action,.checkout-bar{position:fixed;right:0;bottom:0;left:0;z-index:20;display:flex;justify-content:center;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffffff5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.fixed-action button{width:min(406px,100%);height:48px;border-radius:8px;font-size:16px;font-weight:900;color:#fff;background:var(--orange)}.auth-page,.address-page,.result-page{padding-top:1px}.auth-card{display:grid;gap:13px}.segment{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:8px;background:#eef2f6}.segment button{height:36px;border-radius:6px;color:var(--muted);background:transparent;font-weight:800}.segment button.active{color:var(--brand);background:#fff}.auth-card label{display:grid;gap:8px}.auth-card input,.auth-card textarea{min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff}.code-row{display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:8px}.code-row button{border-radius:8px;font-size:13px;font-weight:800;color:var(--brand);background:#edf5ff}.primary-submit{width:100%;margin-top:4px;background:var(--brand)}.form-message{margin:0;padding:8px 10px;border-radius:6px;font-size:13px;color:#b42318;background:#fff1f0}.region-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.address-card{position:relative}.address-card strong{display:block;margin-top:8px;padding-right:70px;font-size:16px}.address-card button{position:absolute;top:14px;right:14px;padding:6px 10px;border-radius:999px;color:var(--brand);background:#edf5ff;font-size:12px;font-weight:800}.order-card{display:grid;grid-template-columns:112px 1fr;gap:12px;align-items:center}.order-card .product-image{height:96px;border-radius:8px}.order-card .product-image img{object-fit:cover;padding:0}.order-card strong{font-size:16px;line-height:1.35}.order-card span{display:block;margin-top:10px;font-size:18px;font-weight:900}.quantity-card,.pay-card,.amount-card,.info-list div{display:flex;justify-content:space-between;gap:14px;align-items:center}.info-list{display:grid;gap:12px}.info-list strong{font-size:14px}.stepper{display:grid;grid-template-columns:36px 42px 36px;align-items:center;overflow:hidden;height:34px;border:1px solid var(--line);border-radius:8px;text-align:center}.stepper button{height:34px;font-size:20px;color:var(--brand);background:#f5f9ff}.pay-card strong{display:block;margin-top:6px;font-size:17px}.pay-badge{flex:0 0 auto;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:700;color:#fff;background:var(--green)}.amount-card strong{font-size:24px}.checkout-bar{justify-content:space-between;align-items:center;max-width:430px;margin:0 auto}.checkout-bar span{font-size:13px;color:var(--muted)}.checkout-bar strong{font-size:22px}.checkout-bar button{width:178px;height:46px;border-radius:8px;font-size:15px;font-weight:900;color:#fff;background:var(--brand)}.result-card{display:grid;justify-items:center;gap:10px;padding:28px 18px;text-align:center}.pay-logo{display:grid;place-items:center;width:96px;height:96px;border-radius:22px;color:#fff;font-size:18px;font-weight:900;background:var(--brand)}.result-card h1{margin:6px 0 0;font-size:22px}.result-card button{width:100%;margin-top:10px;background:var(--brand)}.site-footer{display:grid;gap:8px;margin:14px 10px 0;padding:18px 10px 30px;border-top:1px solid var(--line);text-align:center;font-size:12px;line-height:1.5;color:#475467;background:#fff;border-radius:8px 8px 0 0}.site-footer strong{font-size:18px;color:#111827}.icp-line{font-size:14px;font-weight:900;color:#111827}.contact-line{font-size:13px;color:#344054}.license-link{justify-self:center;min-height:38px;padding:0 18px;border-radius:999px;color:#fff;background:var(--brand);font-size:14px;font-weight:900}.license-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;padding:18px;background:#0f172a94}.license-dialog{display:grid;grid-template-rows:48px minmax(0,1fr);width:min(100%,430px);max-height:min(86vh,720px);overflow:hidden;border-radius:8px;background:#fff;box-shadow:0 24px 70px #0f172a47}.license-head{display:flex;justify-content:space-between;align-items:center;padding:0 12px 0 16px;border-bottom:1px solid var(--line)}.license-head strong{font-size:16px}.license-head button{width:36px;height:36px;border-radius:999px;color:#667085;background:#f2f4f7;font-size:24px;line-height:1}.license-body{overflow:auto;padding:10px;background:#f8fafc}.license-body img{display:block;width:100%;height:auto;border-radius:6px;background:#fff}@media(max-width:360px){.brand-row h1{font-size:21px}.product-grid{gap:8px}.product-info strong{font-size:14px}.checkout-bar button{width:154px;font-size:14px}}
