:root{
  --wine:#7f2035;--wine-dark:#2b171c;--wine-deep:#541324;--gold:#bd9254;--cream:#f5f0e9;
  --paper:#fffdfa;--ink:#29231f;--muted:#82766d;--line:#e9dfd4;--success:#1d7654;--danger:#b03935;
  --shadow:0 14px 40px rgba(62,37,27,.09);font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  color:var(--ink);background:#e8dfd5
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:linear-gradient(135deg,#eee6dc,#ddd0c3);font-size:14px;line-height:1.5}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.product-detail-content video{display:block;width:100%;max-width:100%;max-height:70vh;margin:14px auto;border-radius:6px;background:#111}

/* Product main-image gallery: swipe on touch screens, arrows/dots on desktop. */
.product-detail-visual{position:relative;display:block}
.product-gallery-track{position:absolute;inset:0;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:none}
.product-gallery-track::-webkit-scrollbar{display:none}
.product-gallery-slide{min-width:100%;height:100%;flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always}
.product-gallery-slide img{width:100%;height:100%;display:block;object-fit:cover}
.product-gallery-arrow{position:absolute;z-index:3;top:50%;width:34px;height:48px;border:0;border-radius:18px;background:rgba(44,28,25,.35);color:#fff;font-size:31px;line-height:1;transform:translateY(-50%);backdrop-filter:blur(4px)}
.product-gallery-arrow.previous{left:10px}.product-gallery-arrow.next{right:10px}
.product-gallery-dots{position:absolute;z-index:3;left:50%;bottom:14px;display:flex;gap:6px;transform:translateX(-50%)}
.product-gallery-dots button{width:7px;height:7px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.65);box-shadow:0 1px 4px rgba(0,0,0,.2)}
.product-gallery-dots button.active{width:20px;background:#fff}
.product-gallery-count{position:absolute;z-index:3;right:13px;bottom:11px;padding:4px 9px;border-radius:999px;background:rgba(30,20,18,.48);color:#fff;font-size:12px}
@media(max-width:560px){.product-gallery-arrow{display:none}}
body.layer-open{overflow:hidden}button,a,select,input,textarea{font:inherit}.hidden{display:none!important}
.app-shell{width:min(100%,620px);margin:0 auto;min-height:100vh;background:var(--cream);box-shadow:0 0 80px rgba(40,25,20,.15);position:relative}
.site-header{height:64px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(127,32,53,.08);background:rgba(255,253,250,.94);backdrop-filter:blur(16px);position:sticky;top:0;z-index:20}
.brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:var(--ink)}.brand-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#8b263c,#531322);color:white;font:700 22px Georgia,serif;box-shadow:0 7px 18px rgba(127,32,53,.24)}
.brand strong,.brand small{display:block}.brand strong{font-size:17px}.brand small{font-size:13px;color:var(--muted);letter-spacing:.11em;margin-top:2px}
.header-actions{display:flex;align-items:center;gap:7px}.status-pill{font-size:12px;border-radius:999px;padding:5px 8px;background:#e3f3eb;color:var(--success)}.status-pill.loading{background:#f4ead6;color:#8c631f}.status-pill.error{background:#f8dfdc;color:var(--danger)}
.icon-button,.cart-shortcut{width:34px;height:34px;min-width:34px;border-radius:10px;border:1px solid var(--line);background:white;color:var(--wine);cursor:pointer}.icon-button{font-size:22px}.icon-button.spinning{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.cart-shortcut{position:relative;font-size:14px;font-weight:700}.cart-shortcut span,.nav-cart i{display:none;position:absolute;border-radius:99px;background:#d5423d;color:white;font-size:13px;font-style:normal;line-height:16px;min-width:16px;height:16px;text-align:center}.cart-shortcut span{right:-5px;top:-6px}.cart-shortcut span.visible,.nav-cart i.visible{display:block}
main{padding-bottom:80px}.page{display:none;min-height:calc(100vh - 144px);animation:fade .22s ease}.page.active{display:block}@keyframes fade{from{opacity:.55;transform:translateY(5px)}to{opacity:1;transform:none}}
.mini-hero{min-height:390px;padding:42px 22px 28px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;overflow:hidden;background:radial-gradient(circle at 95% 2%,#96354a 0,#691a2d 35%,#30171d 92%);color:white;position:relative}
.mini-hero:before,.mini-hero:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.09);border-radius:50%}.mini-hero:before{width:270px;height:270px;right:-110px;top:-95px}.mini-hero:after{width:190px;height:190px;right:-55px;top:-55px}
.hero-copy{position:relative;z-index:2}.eyebrow{margin:0 0 11px;color:#cfae7b;font-size:12px;letter-spacing:.19em;font-weight:800}.hero-copy h1{font-family:Georgia,"Songti SC",serif;font-size:clamp(31px,7vw,44px);line-height:1.22;margin:0}.hero-copy>p:not(.eyebrow){font-size:14px;line-height:1.7;color:#ddcbcd;max-width:280px;margin:15px 0 0}
.hero-actions{display:flex;gap:9px;margin-top:22px}.primary-button,.ghost-button{border:0;border-radius:11px;padding:11px 16px;font-size:15px;font-weight:700;cursor:pointer}.primary-button{background:linear-gradient(135deg,#d2a461,#ac7935);color:white;box-shadow:0 9px 23px rgba(27,12,7,.2)}.ghost-button{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.25);color:#f2e3d5}
.hero-bottles{height:270px;position:relative;z-index:1}.hero-bottles i{position:absolute;bottom:3px;width:62px;height:205px;border-radius:14px 14px 22px 22px;background:linear-gradient(90deg,#160d10,#6b1c2c 52%,#1c0d11);box-shadow:16px 20px 26px rgba(0,0,0,.3);transform:rotate(5deg)}.hero-bottles i:before{content:"";position:absolute;top:-38px;left:20px;width:23px;height:43px;background:#211014;border-radius:4px 4px 0 0}.hero-bottles i:first-child{right:10px}.hero-bottles i:nth-child(2){right:74px;height:180px;opacity:.7;transform:rotate(-8deg);filter:saturate(.55)}.hero-bottles span{position:absolute;right:18px;bottom:73px;width:48px;padding:12px 3px;background:#eee3cc;color:#6b1b2c;font:700 14px serif;text-align:center;transform:rotate(5deg)}
.announcement{margin:14px 14px 0;display:flex;gap:10px;align-items:flex-start;padding:12px 13px;border:1px solid #ead4aa;background:#fff8e7;border-radius:12px}.announcement span{flex:none;background:var(--wine);color:white;font-size:13px;padding:4px 6px;border-radius:5px}.announcement p{margin:0;line-height:1.6;font-size:14px}
.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:20px 12px 13px;background:var(--paper);border-bottom:1px solid var(--line)}.quick-grid button{border:0;background:transparent;display:grid;justify-items:center;gap:8px;color:var(--ink);cursor:pointer}.quick-grid small{font-size:13px}.quick-icon{width:45px;height:45px;border-radius:17px;display:grid;place-items:center;color:white;font:700 18px serif;box-shadow:0 8px 16px rgba(67,33,29,.14)}
.quick-icon.ruby{background:linear-gradient(145deg,#a63b51,#641629)}.quick-icon.violet{background:linear-gradient(145deg,#785179,#3c223f)}.quick-icon.amber{background:linear-gradient(145deg,#d19d53,#9a6522)}.quick-icon.ink{background:linear-gradient(145deg,#5a5552,#2e2b2a)}
.content-section{padding:24px 14px 8px}.section-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:13px}.section-title small{color:var(--gold);font-size:13px;letter-spacing:.16em}.section-title h2{margin:4px 0 0;font-family:Georgia,"Songti SC",serif;font-size:25px}.section-title button{border:0;background:transparent;color:var(--wine);font-size:13px;cursor:pointer}
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 14px 28px}.content-section .product-grid{padding:0}.product-card{min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:17px;overflow:hidden;box-shadow:0 9px 24px rgba(68,43,31,.07)}.visual-button{display:block;width:100%;border:0;padding:0;background:transparent;cursor:pointer}.repurchase-discount-label{display:inline-block;margin-top:3px;padding:2px 6px;border-radius:8px;background:#fff0f2;color:var(--wine);font-size:13px;font-weight:700}.repurchase-discount-label[hidden]{display:none}
.product-visual{height:180px;position:relative;overflow:hidden;background:radial-gradient(circle at 70% 25%,rgba(255,255,255,.42),transparent 32%),linear-gradient(145deg,#f3dfe2,#dfb7be)}.product-visual:before{content:"";position:absolute;width:150px;height:150px;border-radius:50%;border:1px solid rgba(255,255,255,.45);right:-45px;top:-50px}.product-visual.violet{background:radial-gradient(circle at 70% 25%,rgba(255,255,255,.35),transparent 32%),linear-gradient(145deg,#ddd0e1,#b99ebe)}.product-visual.amber{background:radial-gradient(circle at 70% 25%,rgba(255,255,255,.45),transparent 32%),linear-gradient(145deg,#f4e3c2,#d8b879)}.product-visual.ink{background:radial-gradient(circle at 70% 25%,rgba(255,255,255,.24),transparent 32%),linear-gradient(145deg,#d7d2ce,#99918c)}
.product-bottle{position:absolute;left:50%;bottom:12px;transform:translateX(-50%) rotate(3deg);width:49px;height:135px;background:linear-gradient(90deg,#180e10,#6a1a2b 52%,#241015);border-radius:11px 11px 16px 16px;box-shadow:13px 15px 20px rgba(44,22,20,.22)}.product-bottle:before{content:"";position:absolute;top:-27px;left:16px;width:18px;height:31px;border-radius:3px 3px 0 0;background:#211014}.product-bottle span{white-space:pre-line;position:absolute;left:8px;right:8px;top:39px;padding:8px 0;background:#efe5d1;color:#711c2e;font:700 13px/1.18 serif;text-align:center}.violet .product-bottle{background:linear-gradient(90deg,#1c121d,#58315b 52%,#201322)}.amber .product-bottle{background:linear-gradient(90deg,#25190e,#80582a 52%,#2b1a0c)}.ink .product-bottle{background:linear-gradient(90deg,#171514,#514a46 52%,#1c1918)}
.product-badge{position:absolute;left:10px;top:10px;background:rgba(255,253,250,.86);backdrop-filter:blur(8px);border-radius:99px;padding:5px 8px;color:var(--wine);font-size:13px;font-weight:800}.product-body{padding:12px}.product-title{display:block;border:0;background:transparent;padding:0;width:100%;text-align:left;font-weight:800;font-size:16px;line-height:1.4;color:var(--ink);cursor:pointer}.product-body>p{margin:4px 0 7px;color:var(--muted);font-size:12px;line-height:1.45;min-height:29px}.product-benefit{color:var(--wine);font-size:13px}.product-footer{display:flex;justify-content:space-between;align-items:end;margin-top:12px}.product-price strong,.product-price del{display:block}.product-price strong{font-family:Georgia,serif;color:var(--wine);font-size:20px}.product-price del{font-size:13px;color:#aaa}.add-button{width:30px;height:30px;border:0;border-radius:50%;background:var(--wine);color:white;font-size:22px;line-height:1;cursor:pointer;box-shadow:0 6px 13px rgba(127,32,53,.25)}
.banner-list{display:grid;gap:12px;padding:8px 14px}.banner{height:150px;border:0;border-radius:16px;overflow:hidden;position:relative;background:#ddd;cursor:pointer;padding:0;text-align:left}.banner img{width:100%;height:100%;position:absolute;object-fit:cover;inset:0}.banner:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(20,12,12,.75))}.banner strong{position:absolute;z-index:2;left:17px;bottom:14px;color:white;font-size:17px}.module-grid{display:grid;gap:11px;padding:14px}.module-card{padding:18px;border-radius:16px;background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow)}.module-card h2{margin:0 0 8px;font-size:18px}.module-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.7}.module-kicker{display:inline-block;margin-bottom:11px;color:var(--wine);font-size:13px;font-weight:800;letter-spacing:.15em}.module-link{margin-top:12px;color:var(--wine);font-weight:700;font-size:13px;cursor:pointer;background:none;border:0;padding:0}
.page-heading{padding:38px 18px 20px;background:var(--paper)}.page-heading.slim{padding-bottom:16px}.page-heading.inner{padding-top:15px}.page-heading h1{font-family:Georgia,"Songti SC",serif;font-size:34px;margin:0 0 9px}.page-heading>p:not(.eyebrow){color:var(--muted);font-size:14px;line-height:1.7;margin:0;max-width:470px}.store-heading{background:linear-gradient(140deg,#fffdfa,#f7ebe8)}
.filter-tabs{display:flex;gap:8px;overflow:auto;padding:14px;position:sticky;top:64px;z-index:9;background:rgba(245,240,233,.94);backdrop-filter:blur(12px);scrollbar-width:none}.filter-tabs::-webkit-scrollbar{display:none}.filter-tabs button{flex:none;border:1px solid var(--line);background:var(--paper);border-radius:99px;padding:7px 15px;color:var(--muted);font-size:13px;cursor:pointer}.filter-tabs button.active{background:var(--wine);border-color:var(--wine);color:white}.store-products{padding-top:2px}
.cart-list{padding:10px 14px}.cart-empty{margin-top:30px;padding:50px 24px;text-align:center;border:1px dashed #d8c9ba;border-radius:18px;background:rgba(255,253,250,.6)}.cart-empty>span{width:58px;height:58px;margin:0 auto 15px;display:grid;place-items:center;border-radius:20px;background:#eaded7;color:var(--wine);font-weight:800}.cart-empty h2{font-size:20px;margin:0 0 8px}.cart-empty p{color:var(--muted);font-size:14px;line-height:1.6;margin:0 0 20px}
.cart-item{display:grid;grid-template-columns:76px 1fr auto;gap:12px;align-items:center;background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:10px;margin-bottom:10px}.cart-visual{height:76px;border-radius:11px;display:grid;place-items:center;overflow:hidden;color:white;font:700 18px serif;background:linear-gradient(145deg,#a23a50,#5b1426)}.cart-main-image{display:block;width:100%;height:100%;object-fit:cover}.cart-visual.violet{background:linear-gradient(145deg,#775078,#38213b)}.cart-visual.amber{background:linear-gradient(145deg,#d3a45f,#8e5c24)}.cart-visual.ink{background:linear-gradient(145deg,#69615c,#312d2a)}.cart-info{min-width:0}.cart-info strong,.cart-info small,.cart-info b{display:block}.cart-info strong{font-size:15px}.cart-info small{font-size:13px;color:var(--muted);margin:4px 0 9px}.cart-info b{font:700 16px Georgia,serif;color:var(--wine)}.stepper{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;overflow:hidden}.stepper button{width:26px;height:26px;border:0;background:#f7f1eb;color:var(--wine);cursor:pointer}.stepper span{min-width:25px;text-align:center;font-size:13px}
.checkout-panel{margin:4px 14px 26px;padding:17px;background:var(--paper);border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow)}.checkout-panel label,.orders-toolbar label{display:block;font-size:13px;font-weight:800;margin-bottom:7px}.checkout-panel select,.orders-toolbar select{width:100%;height:41px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink);font-size:14px}.checkout-panel>p{font-size:12px;color:var(--muted);line-height:1.55;margin:8px 0 18px}.checkout-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:15px;margin-bottom:14px}.checkout-row span{font-size:14px}.checkout-row strong{font:700 24px Georgia,serif;color:var(--wine)}.checkout-button{width:100%;min-height:45px;border:0;border-radius:12px;background:linear-gradient(135deg,#8c283d,#591426);color:white;font-weight:800;cursor:pointer;box-shadow:0 9px 18px rgba(127,32,53,.2)}.checkout-button:disabled,.pay-button:disabled{opacity:.58;cursor:wait}.safety-note{display:block;text-align:center;color:#a58e7e;font-size:13px;margin-top:9px}
.orders-toolbar{margin:12px 14px;padding:15px;background:var(--paper);border:1px solid var(--line);border-radius:15px}.orders-toolbar{display:grid;grid-template-columns:1fr auto;gap:8px}.orders-toolbar label{grid-column:1/-1;margin:0}.orders-toolbar button{border:1px solid var(--line);background:#f7f1eb;border-radius:10px;color:var(--wine);font-size:13px;padding:0 12px;cursor:pointer}.order-list{padding:0 14px 28px}.order-card{background:var(--paper);border:1px solid var(--line);border-radius:17px;padding:15px;margin-bottom:12px;box-shadow:0 8px 22px rgba(62,37,27,.06)}.order-header,.order-total,.order-actions{display:flex;justify-content:space-between;align-items:center}.order-header small,.order-header b{display:block}.order-header small{font-size:13px;color:var(--muted);word-break:break-all}.order-header b{font-size:12px;margin-top:4px}.order-status{font-size:12px;color:#9b671f;background:#faefd9;padding:5px 8px;border-radius:99px;white-space:nowrap}.order-status.paid,.order-status.completed{color:var(--success);background:#e3f3eb}.order-status.refunded{color:var(--danger);background:#f8dfdc}.order-items{margin:13px 0;padding:10px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.order-items>div{display:grid;grid-template-columns:1fr auto auto;gap:10px;font-size:13px;margin:6px 0}.order-items small{color:var(--muted)}.order-total small{font-size:13px;color:var(--muted)}.order-total strong{font-size:15px}.order-actions{margin-top:13px}.test-tag{font-size:13px;color:#98743b}.pay-button{border:0;border-radius:9px;padding:9px 13px;background:var(--wine);color:white;font-size:13px;font-weight:800;cursor:pointer}.order-result{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:13px;padding:11px;background:#f7f1eb;border-radius:11px}.order-result>div small,.order-result>div strong{display:block}.order-result>div small{font-size:12px;color:var(--muted)}.order-result>div strong{font-size:14px;margin-top:4px;color:var(--wine)}.result-note{grid-column:1/-1;margin:4px 0 0;font-size:13px;color:var(--muted);line-height:1.5}
.profile-hero{padding:38px 20px 58px;display:flex;gap:14px;align-items:center;background:linear-gradient(140deg,#2b171c,#6f1b2f);color:white}.avatar{width:56px;height:56px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(145deg,#d5ad70,#9e6a2f);font:700 26px serif}.profile-hero small{font-size:13px;color:#cbb9bc}.profile-hero h1{font-size:21px;margin:5px 0}.profile-hero p{font-size:12px;color:#dbc9cb;margin:0}.asset-card{margin:-32px 14px 16px;position:relative;display:grid;grid-template-columns:repeat(3,1fr);background:var(--paper);border:1px solid var(--line);border-radius:17px;padding:17px 8px;box-shadow:var(--shadow)}.asset-card div{text-align:center;border-right:1px solid var(--line)}.asset-card div:last-child{border:0}.asset-card small,.asset-card strong{display:block}.asset-card small{font-size:12px;color:var(--muted);min-height:23px}.asset-card strong{font:700 18px Georgia,serif;color:var(--wine);margin-top:5px}.menu-list{margin:0 14px;background:var(--paper);border:1px solid var(--line);border-radius:17px;overflow:hidden}.menu-list button,.menu-list a{width:100%;min-height:68px;border:0;border-bottom:1px solid var(--line);padding:12px 14px;background:white;display:grid;grid-template-columns:38px 1fr auto;gap:11px;align-items:center;text-decoration:none;text-align:left;color:var(--ink);cursor:pointer}.menu-list>*:last-child{border-bottom:0}.menu-list>*>span{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#f2e5df;color:var(--wine);font-weight:800}.menu-list strong,.menu-list small{display:block}.menu-list strong{font-size:15px}.menu-list small{font-size:13px;color:var(--muted);margin-top:4px}.menu-list b{font-size:24px;color:#baaaa0}.test-mode-card{margin:14px;padding:15px;border-radius:14px;background:#fff7e6;border:1px solid #ead3a5}.test-mode-card strong{font-size:14px;color:#76501b}.test-mode-card p{font-size:12px;color:#8d7048;line-height:1.6;margin:6px 0 0}
.back-button{margin:13px 14px 0;border:0;background:transparent;color:var(--wine);font-size:14px;cursor:pointer}.summary-strip{display:flex;gap:9px;overflow:auto;padding:0 18px 16px;scrollbar-width:none}.summary-strip::-webkit-scrollbar{display:none}.summary-chip{flex:none;background:#2e1b20;color:#fff;border-radius:11px;padding:11px 13px;min-width:108px}.summary-chip small,.summary-chip strong{display:block}.summary-chip small{color:#cfbfc1;font-size:13px}.summary-chip strong{font-size:20px;margin-top:4px}.reward-sections{padding:0 14px 28px;display:grid;gap:11px}.reward-block{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:17px;box-shadow:var(--shadow)}.reward-block h2{margin:0 0 5px;font-size:18px}.reward-block>.muted{font-size:12px;color:var(--muted)}.reward-list{display:grid;gap:7px;margin-top:12px}.reward-row{padding:11px;background:#f8f3ec;border-radius:10px}.reward-row strong,.reward-row small{display:block}.reward-row strong{color:var(--wine);font-size:16px}.reward-row small{margin-top:4px;color:var(--muted);font-size:13px;line-height:1.45}
.test-grid{padding:0 14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.test-card{display:flex;gap:10px;padding:14px;background:var(--paper);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.test-icon{flex:none;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#f1dfd4;color:var(--wine);font-weight:800}.test-card small,.test-card strong,.test-card p{display:block;margin:0}.test-card small{font-size:13px;color:var(--muted)}.test-card strong{margin:5px 0;font-size:13px;word-break:break-all}.test-card p{font-size:12px;color:var(--muted)}.test-actions{padding:14px}.test-actions button{width:100%}
.empty{padding:28px 16px;border:1px dashed #d9cbbd;border-radius:13px;color:var(--muted);font-size:13px;text-align:center}.empty.wide{grid-column:1/-1}.empty.error{color:var(--danger)}.skeleton-card{height:250px;border-radius:17px;background:linear-gradient(90deg,#eee7dd,#fbf7f0,#eee7dd);background-size:200% 100%;animation:shimmer 1.4s infinite}@keyframes shimmer{to{background-position:-200% 0}}
.bottom-nav{position:fixed;z-index:30;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,620px);height:68px;padding-bottom:env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(4,1fr);background:rgba(255,253,250,.97);border-top:1px solid var(--line);backdrop-filter:blur(18px)}.bottom-nav button{border:0;background:transparent;color:var(--muted);display:grid;place-items:center;align-content:center;gap:3px;font-size:13px;cursor:pointer}.bottom-nav button>span{font:700 19px serif;line-height:1;position:relative}.bottom-nav button.active{color:var(--wine);font-weight:800}.nav-cart i{right:-13px;top:-9px}
.sheet,.result-dialog{position:fixed;inset:0;z-index:60;visibility:hidden;opacity:0;transition:.23s}.sheet.open,.result-dialog.open{visibility:visible;opacity:1}.sheet-mask,.dialog-mask{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(25,13,16,.57);backdrop-filter:blur(3px)}.sheet article{position:absolute;left:50%;bottom:0;width:min(100%,620px);max-height:91vh;overflow:auto;transform:translate(-50%,100%);transition:.28s ease;background:var(--paper);border-radius:22px 22px 0 0;padding:15px 18px calc(20px + env(safe-area-inset-bottom))}.sheet.open article{transform:translate(-50%,0)}.sheet-close{position:absolute;right:14px;top:14px;z-index:3;width:33px;height:33px;border:0;border-radius:50%;background:rgba(255,255,255,.85);font-size:24px;color:var(--ink);cursor:pointer}.product-visual.large{height:275px;border-radius:16px}.product-visual.large .product-bottle{width:67px;height:190px;bottom:22px}.product-visual.large .product-bottle:before{width:24px;height:42px;left:22px;top:-36px}.product-visual.large .product-bottle span{top:58px;font-size:13px}.sheet article>.product-badge{position:static;display:inline-block;margin-top:15px}.sheet h2{font-family:Georgia,"Songti SC",serif;font-size:26px;margin:10px 0 3px}.sheet-subtitle{color:var(--muted);font-size:13px;margin:0}.sheet-price{display:flex;gap:10px;align-items:end;margin:13px 0}.sheet-price strong{font:700 28px Georgia,serif;color:var(--wine)}.sheet-price del{font-size:13px;color:#aaa}.sheet-description{font-size:13px;line-height:1.7;color:var(--muted);padding-top:12px;border-top:1px solid var(--line)}.benefit-pill{display:inline-block;margin:2px 0 18px;padding:7px 10px;border-radius:8px;background:#f5e6df;color:var(--wine);font-size:12px;font-weight:800}
.result-dialog article{position:absolute;width:min(calc(100% - 40px),420px);left:50%;top:50%;transform:translate(-50%,-43%);background:var(--paper);border-radius:20px;padding:25px 20px;text-align:center;transition:.25s}.result-dialog.open article{transform:translate(-50%,-50%)}.result-check{width:54px;height:54px;margin:0 auto 12px;display:grid;place-items:center;border-radius:50%;background:#e2f3eb;color:var(--success);font-size:28px;font-weight:800}.result-dialog h2{margin:0 0 7px;font-size:22px}.result-dialog>article>p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.result-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:17px 0}.result-metrics div{padding:10px 5px;background:#f7f1eb;border-radius:10px}.result-metrics small,.result-metrics strong{display:block}.result-metrics small{font-size:12px;color:var(--muted)}.result-metrics strong{font-size:15px;color:var(--wine);margin-top:4px}
.toast{position:fixed;z-index:80;left:50%;bottom:84px;max-width:min(calc(100% - 34px),470px);transform:translate(-50%,18px);background:#231a1c;color:white;padding:10px 14px;border-radius:10px;opacity:0;pointer-events:none;transition:.22s;box-shadow:var(--shadow);font-size:13px;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:621px){.product-grid{gap:16px}.mini-hero{padding-left:38px}.product-visual{height:230px}.product-body{padding:15px}.orders-toolbar{grid-template-columns:1fr 90px}.sheet article{bottom:3vh;border-radius:22px;width:580px}.product-visual.large{height:310px}}
@media(max-width:380px){.mini-hero{min-height:365px;padding-left:17px}.hero-copy h1{font-size:31px}.hero-bottles i:nth-child(2){display:none}.hero-bottles i:first-child{right:7px}.product-visual{height:155px}.product-grid{gap:9px;padding-left:10px;padding-right:10px}.product-body{padding:10px}.product-title{font-size:14px}.product-price strong{font-size:18px}.cart-item{grid-template-columns:65px 1fr auto}.stepper button{width:22px}.stepper span{min-width:21px}}

/* 参照原 uni-app 商城的首页模块、竖向分类、关于和会员中心结构 */
.home-search,.category-search{display:flex;align-items:center;gap:9px;height:38px;border:0;border-radius:20px;background:#f0ece8;color:#9a918a;font-size:14px;text-align:left;cursor:pointer}.home-search{width:calc(100% - 28px);margin:14px;padding:0 15px}.home-search span,.category-search span{font-size:22px;color:#777}
.banner-list{display:flex;gap:10px;overflow-x:auto;padding:0 14px 10px;scroll-snap-type:x mandatory;scrollbar-width:none}.banner-list::-webkit-scrollbar{display:none}.source-banner{position:relative;flex:0 0 100%;height:190px;padding:0;border:0;border-radius:9px;overflow:hidden;background:#ddd;scroll-snap-align:center;cursor:pointer}.source-banner img{width:100%;height:100%;object-fit:cover}.source-banner:after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.55))}.source-banner strong{position:absolute;z-index:1;left:18px;bottom:16px;color:#fff;font-size:19px}
.shop-banner{height:220px;margin:0 14px 10px;padding:25px 24px;display:grid;grid-template-columns:1.15fr .85fr;align-items:center;position:relative;overflow:hidden;border-radius:9px;background:linear-gradient(135deg,#42131e,#8b2940);color:#fff}.shop-banner:before{content:"";position:absolute;width:180px;height:180px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-70px;top:-80px}.shop-banner>div:first-child{position:relative;z-index:2}.shop-banner small{font-size:12px;letter-spacing:.18em;color:#d9bd96}.shop-banner h1{margin:8px 0;font:700 31px/1.24 Georgia,"Songti SC",serif}.shop-banner p{margin:0;color:#e2ced2;font-size:12px}.shop-banner button{margin-top:16px;padding:8px 15px;border:0;border-radius:18px;background:#d1a25e;color:#fff;font-size:12px;font-weight:700;cursor:pointer}
.banner-bottles{height:170px;position:relative}.banner-bottles i{position:absolute;right:12px;bottom:2px;width:46px;height:135px;border-radius:9px 9px 14px 14px;background:linear-gradient(90deg,#150c0e,#67182a,#1e0d11);box-shadow:10px 12px 18px rgba(0,0,0,.3);transform:rotate(4deg)}.banner-bottles i:before{content:"";position:absolute;top:-25px;left:15px;width:17px;height:28px;background:#201014}.banner-bottles i:nth-child(2){right:62px;height:116px;opacity:.66;transform:rotate(-7deg)}.banner-bottles span{position:absolute;right:17px;bottom:43px;width:36px;padding:7px 2px;background:#eee2cd;color:#6d1a2d;font:700 12px serif;text-align:center;transform:rotate(4deg)}
.home-navigation{display:grid;grid-template-columns:repeat(4,1fr);padding:16px 8px;background:#fff}.home-navigation button{border:0;background:transparent;display:grid;justify-items:center;gap:7px;color:var(--ink);font-size:13px;cursor:pointer}.nav-icon{width:45px;height:45px;display:grid;place-items:center;border-radius:50%;color:#fff;font:700 17px serif}.nav-icon.ruby{background:#8b2940}.nav-icon.violet{background:#66446b}.nav-icon.amber{background:#c18b42}.nav-icon.ink{background:#53504e}
.goods-section{margin-top:10px;background:#f8f9fb;padding-top:1px}.source-section-title{height:52px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;background:#fff}.source-section-title h2{margin:0;font-size:18px}.source-section-title button{border:0;background:transparent;color:#999;font-size:12px;cursor:pointer}.goods-section .product-grid{padding-top:11px}
.subpage-bar{height:51px;display:grid;place-items:center;background:#fff;border-bottom:1px solid #eee;position:relative}.subpage-bar h1{font-size:18px;margin:0}.subpage-bar.with-back{grid-template-columns:42px 1fr 42px}.subpage-bar.with-back button{height:100%;border:0;background:transparent;color:#333;font-size:28px;cursor:pointer}.subpage-bar.with-back h1{grid-column:2}
.category-search{width:calc(100% - 28px);margin:10px 14px;padding:0 14px}.category-layout{height:calc(100vh - 64px - 51px - 58px - 68px);min-height:490px;display:grid;grid-template-columns:92px 1fr;background:#f3f3f3;overflow:hidden}.category-nav{background:#fff;overflow-y:auto}.category-nav button{width:100%;min-height:58px;padding:8px 7px;border:0;background:#fff;color:#666;font-size:13px;position:relative;cursor:pointer}.category-nav button.active{color:#222;font-weight:800;background:#f5f5f5}.category-nav button.active:before{content:"";position:absolute;left:0;top:19px;width:4px;height:20px;border-radius:0 5px 5px 0;background:var(--wine)}.category-products{overflow-y:auto;padding:7px}.category-product{display:grid;grid-template-columns:82px 1fr 30px;gap:10px;align-items:center;padding:10px;margin-bottom:8px;border-radius:8px;background:#fff}.category-thumb{width:82px;height:82px;border:0;border-radius:6px;display:grid;place-items:center;background:linear-gradient(145deg,#a23a50,#5b1426);color:#fff;font:700 20px serif;cursor:pointer}.category-thumb.violet{background:linear-gradient(145deg,#775078,#38213b)}.category-thumb.amber{background:linear-gradient(145deg,#d3a45f,#8e5c24)}.category-thumb.ink{background:linear-gradient(145deg,#69615c,#312d2a)}.category-product-info{min-width:0}.category-product-info button{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left;color:#222;font-size:14px;font-weight:700;line-height:1.45;cursor:pointer}.category-product-info small,.category-product-info strong{display:block}.category-product-info small{margin:5px 0 10px;color:#999;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-product-info strong{color:#d03131;font-size:16px}.category-add{width:27px;height:27px;border:0;border-radius:50%;background:var(--wine);color:#fff;font-size:20px;cursor:pointer}
.order-filter-tabs{height:45px;display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-bottom:1px solid #eee;position:sticky;top:64px;z-index:8}.order-filter-tabs button{border:0;background:#fff;color:#777;font-size:13px;position:relative;cursor:pointer}.order-filter-tabs button.active{color:var(--wine);font-weight:700}.order-filter-tabs button.active:after{content:"";position:absolute;left:28%;right:28%;bottom:0;height:2px;background:var(--wine)}
.about-card{margin:14px;padding:34px 24px;text-align:center;background:#fff;border-radius:9px}.about-mark{width:62px;height:62px;margin:0 auto 15px;display:grid;place-items:center;border-radius:18px;background:var(--wine);color:#fff;font:700 30px serif}.about-card h2{margin:0 0 10px;font-size:22px}.about-card p{margin:0;color:#777;font-size:13px;line-height:1.8}.about-menu{margin:0 14px;background:#fff;border-radius:8px;overflow:hidden}.about-menu button{width:100%;height:52px;padding:0 15px;border:0;border-bottom:1px solid #eee;background:#fff;display:flex;align-items:center;justify-content:space-between;color:#333;font-size:14px;cursor:pointer}.about-menu button:last-child{border:0}.about-menu b{font-size:22px;color:#bbb}
.member-header{padding:35px 20px 70px;display:flex;align-items:center;gap:14px;background:linear-gradient(135deg,#66172a,#982f46);color:#fff}.member-header .avatar{width:58px;height:58px;border:3px solid rgba(255,255,255,.65);border-radius:50%;display:grid;place-items:center;background:#c3a171;font:700 25px serif}.member-header small{font-size:13px;color:#e4cfd3}.member-header h1{margin:4px 0;font-size:20px}.member-header p{margin:0;font-size:12px;color:#eadde0}.member-stats{margin:-47px 14px 12px;position:relative;display:grid;grid-template-columns:1fr 1fr;gap:10px}.member-stats button{height:86px;padding:14px;border:0;border-radius:9px;background:#fff;text-align:left;box-shadow:0 8px 22px rgba(50,25,25,.1);cursor:pointer}.member-stats small,.member-stats strong{display:block}.member-stats small{color:#555;font-size:13px}.member-stats strong{margin-top:8px;font-size:26px;color:#222}
.order-management,.common-tools{margin:0 14px 12px;border-radius:9px;overflow:hidden;background:#fff}.order-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);padding:15px 6px 18px}.order-shortcuts button{border:0;background:#fff;display:grid;justify-items:center;gap:7px;position:relative;cursor:pointer}.order-shortcuts button>span{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:var(--wine);color:#fff;font-weight:800}.order-shortcuts small{font-size:14px;color:#333;line-height:1.45}.order-shortcuts i{position:absolute;right:10px;top:-4px;display:none;min-width:16px;height:16px;padding:0 4px;border-radius:9px;background:#e23d3d;color:#fff;font:normal 13px/16px sans-serif}.order-shortcuts i.visible{display:block}.tools-grid{display:grid;grid-template-columns:repeat(4,1fr);row-gap:12px;padding:16px 8px 18px;border-top:1px solid #eee}.tools-grid button{min-height:82px;padding:7px 2px;border:0;background:#fff;display:grid;justify-items:center;align-content:center;gap:10px;cursor:pointer}.tools-grid span{font-size:22px;color:#222}.tools-grid small{font-size:14px;color:#333;line-height:1.45}
.customer-result{grid-template-columns:repeat(3,1fr)}
@media(max-width:380px){.shop-banner{height:205px;padding-left:18px}.shop-banner h1{font-size:28px}.category-layout{grid-template-columns:82px 1fr}.category-product{grid-template-columns:70px 1fr 27px;gap:7px;padding:8px}.category-thumb{width:70px;height:74px}.category-product-info button{font-size:13px}}
.home-search b{font-weight:400}.product-main-image,.category-main-image{width:100%;height:100%;display:block;object-fit:cover}.product-main-image{position:absolute;inset:0}.product-visual .product-main-image+.product-badge{z-index:3}.category-main-image{border-radius:6px}.product-detail{padding-bottom:125px;background:var(--cream)}.product-detail-visual{height:min(74vw,440px);max-height:440px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#eadadd,#c9909d)}.product-detail-visual.violet{background:linear-gradient(145deg,#ddd0e1,#9b75a2)}.product-detail-visual.amber{background:linear-gradient(145deg,#f4e3c2,#d8b879)}.product-detail-visual.ink{background:linear-gradient(145deg,#d7d2ce,#99918c)}.product-detail-visual img{width:100%;height:100%;object-fit:cover}.product-detail-placeholder{white-space:pre-line;text-align:center;color:#fff;font:700 36px/1.35 Georgia,serif;letter-spacing:.18em}.product-detail-summary{padding:20px 18px;background:var(--paper);border-bottom:8px solid var(--cream)}.product-detail-summary>.product-badge{position:static;display:inline-block}.product-detail-summary h1{margin:10px 0 4px;font:700 26px/1.35 Georgia,"Songti SC",serif}.product-detail-summary>p{margin:6px 0;color:var(--muted);font-size:14px;line-height:1.75}.product-detail-content{padding:20px 18px;background:var(--paper);white-space:normal;color:#665d56;font-size:15px;line-height:1.9;overflow-wrap:anywhere}.product-detail-content.plain-text{white-space:pre-wrap}.product-detail-content h2,.product-detail-content h3,.product-detail-content h4{margin:20px 0 12px;color:#2f2925;line-height:1.45}.product-detail-content h2{font-size:20px;text-align:center}.product-detail-content h3{font-size:18px}.product-detail-content h4{font-size:16px}.product-detail-content p{white-space:pre-wrap;margin:0 0 16px}.product-detail-content ul,.product-detail-content ol{margin:0 0 16px;padding-left:24px}.product-detail-content blockquote{margin:14px 0;padding:10px 14px;border-left:3px solid var(--gold);background:var(--cream)}.product-detail-content a{color:var(--wine)}.product-detail-content img{display:block;max-width:100%;height:auto;margin:12px auto;border-radius:6px}.product-detail-content table{width:100%;margin:12px 0;border-collapse:collapse}.product-detail-content th,.product-detail-content td{padding:7px;border:1px solid var(--line)}.product-detail-images{display:grid;gap:10px}.product-detail-images img{display:block;width:100%;height:auto;border-radius:6px}.product-detail-action{position:fixed;z-index:35;left:50%;bottom:68px;transform:translateX(-50%);width:min(100%,620px);height:58px;padding:8px 14px;display:grid;grid-template-columns:120px 1fr;gap:10px;background:rgba(255,253,250,.98);border-top:1px solid var(--line)}.product-detail-action>button:first-child{border:1px solid var(--wine);border-radius:22px;background:#fff;color:var(--wine)}.product-detail-action .checkout-button{margin:0;border-radius:22px}.page:not(.active) .product-detail-action{display:none}
.search-form{display:grid;grid-template-columns:1fr 70px;gap:8px;padding:12px 14px;background:#fff}.search-form label{height:42px;display:flex;align-items:center;gap:8px;padding:0 12px;border-radius:22px;background:#f1efed}.search-form input{width:100%;border:0;outline:0;background:transparent;font:inherit;font-size:14px}.search-form button{border:0;border-radius:21px;background:var(--wine);color:#fff;font-weight:700}.list-summary{padding:12px 16px;color:var(--muted);font-size:13px}.search-results{padding:0 10px 24px}.account-hero{margin:14px;padding:24px;border-radius:12px;background:linear-gradient(135deg,#752038,#a54257);color:#fff}.account-hero small,.account-hero strong{display:block}.account-hero small{opacity:.75;font-size:13px}.account-hero strong{margin-top:8px;font-size:34px}.team-summary,.wallet-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:14px}.team-summary article,.wallet-grid article{padding:18px;border-radius:10px;background:#fff}.team-summary small,.team-summary strong,.wallet-grid small,.wallet-grid strong{display:block}.team-summary small,.wallet-grid small{color:var(--muted);font-size:12px}.team-summary strong,.wallet-grid strong{margin-top:8px;color:var(--wine);font-size:24px}.record-list{display:grid;gap:8px;padding:0 14px 24px}.record-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;background:#fff;border-radius:9px}.record-item div{min-width:0}.record-item strong,.record-item small{display:block}.record-item strong{font-size:14px}.record-item small{margin-top:5px;color:var(--muted);font-size:13px;line-height:1.5}.record-item>b{white-space:nowrap;font-size:15px}.positive{color:var(--success)!important}.negative{color:var(--danger)!important}.page-action{width:calc(100% - 28px);margin:0 14px 14px}.share-card,.content-card,.settings-card{margin:14px;padding:20px;border-radius:10px;background:#fff}.share-card{text-align:center}.share-card>span{width:70px;height:70px;margin:0 auto 14px;display:grid;place-items:center;border-radius:20px;background:var(--wine);color:#fff;font:700 22px serif}.share-card h2{margin:0}.share-card p{color:var(--muted);font-size:13px;line-height:1.7}.share-card label,.settings-card label{display:block;text-align:left;font-size:13px;font-weight:700}.share-card input,.settings-card select{width:100%;height:42px;margin:7px 0 14px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:#fff}.content-card{min-height:260px;white-space:pre-wrap;font-size:15px;line-height:1.9}.settings-card>button{width:100%;height:52px;padding:0;border:0;border-top:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;text-align:left}.settings-card>button b{color:#aaa;font-size:22px}.member-stats{grid-template-columns:repeat(3,1fr)}.member-stats strong{font-size:20px}
.inline-action{margin:8px 0 14px;padding:0;border:0;background:transparent;color:var(--wine);font-size:13px;font-weight:700}.address-item{align-items:flex-start}.address-item .address-actions{display:flex;gap:7px}.address-item button{border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--wine);font-size:12px;padding:5px 8px}.address-default{display:inline-block;margin-left:7px;padding:2px 5px;border-radius:5px;background:#f3e3e7;color:var(--wine);font-size:12px}.result-dialog .form-dialog{max-height:88vh;overflow:auto;text-align:left}.form-dialog h2{text-align:center}.form-dialog form{display:grid;gap:10px}.form-dialog label{display:grid;gap:5px;color:#555;font-size:12px;font-weight:700}.form-dialog input,.form-dialog textarea{width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;font:inherit}.form-dialog textarea{min-height:68px;resize:vertical}.form-dialog .address-region{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.form-dialog .check-label{display:flex;grid-template-columns:auto 1fr;align-items:center}.form-dialog .check-label input{width:auto}.result-dialog .sheet-close{top:10px;right:10px}
.order-address{margin:10px 0 0;padding-top:9px;border-top:1px dashed var(--line);color:var(--muted);font-size:13px;line-height:1.6}
.receive-button{display:block;margin:10px 0 0 auto;padding:8px 14px;border:1px solid var(--wine);border-radius:8px;background:#fff;color:var(--wine);font-size:12px;font-weight:700}
.result-dialog .confirmation-card{padding:24px 20px 18px}.confirmation-card p{min-height:34px}.confirmation-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.confirmation-actions button{margin:0}.secondary-action{width:100%;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-weight:700;padding:12px;cursor:pointer}
.product-stock{color:#8c765f!important;font-size:12px!important}.product-stock.sold-out{color:var(--danger)!important}.add-button:disabled,.category-add:disabled,.checkout-button:disabled{cursor:not-allowed;opacity:.55}.category-add:disabled{width:auto;padding:0 6px;font-size:13px}.cancel-order-button{border:1px solid var(--line);border-radius:9px;padding:9px 12px;background:#fff;color:#705f52;font-size:13px;cursor:pointer}.cancel-order-button:disabled{opacity:.55;cursor:not-allowed}
.withdrawal-page-card{display:grid;gap:14px;padding:14px 14px 100px}.withdrawal-balance,.withdrawal-section{padding:17px;border:1px solid var(--line);border-radius:16px;background:var(--paper);box-shadow:var(--shadow)}.withdrawal-balance{background:linear-gradient(135deg,#78253a,#481322);color:#fff}.withdrawal-balance small{display:block;color:rgba(255,255,255,.72);font-size:13px}.withdrawal-balance strong{display:block;margin:8px 0;font:700 32px Georgia,serif}.withdrawal-balance p{margin:0;color:rgba(255,255,255,.76);font-size:12px;line-height:1.65}.withdrawal-section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.withdrawal-section-title h2{margin:0;font-size:17px}.withdrawal-section-title small{color:var(--muted);font-size:13px}.payout-account-list{display:grid;gap:8px}.payout-account-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px;border:1px solid var(--line);border-radius:10px;background:#fff}.payout-account-card strong,.payout-account-card small{display:block}.payout-account-card small{margin-top:4px;color:var(--muted);font-size:13px}.payout-status{flex:none;padding:3px 7px;border-radius:12px;background:#f3e5bf;color:#8d651c;font-size:13px}.payout-status.verified{background:#e0f0e7;color:#2a7650}.payout-account-editor{margin-top:10px;border-top:1px solid var(--line)}.payout-account-editor>summary{padding:12px 0 2px;color:var(--wine);font-size:13px;font-weight:800;cursor:pointer}.payout-account-editor form,.withdrawal-section form{display:grid;gap:10px;padding-top:12px}.payout-account-editor label,.withdrawal-section form>label{display:grid;gap:6px;color:#62574f;font-size:12px;font-weight:800}.payout-account-editor input,.payout-account-editor select,.withdrawal-section form input,.withdrawal-section form select{width:100%;height:41px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink)}#payout-bank-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.privacy-hint,.withdrawal-estimate{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.withdrawal-request-card{padding:12px 0;border-bottom:1px solid var(--line)}.withdrawal-request-card:last-child{border-bottom:0}.withdrawal-request-card header,.withdrawal-request-card footer{display:flex;justify-content:space-between;gap:10px}.withdrawal-request-card header strong{font-size:13px}.withdrawal-request-card header span{font-size:12px;color:var(--wine)}.withdrawal-request-card p{margin:7px 0;color:var(--muted);font-size:12px}.withdrawal-request-card footer{color:var(--muted);font-size:13px}.withdrawal-section .checkout-button:disabled{opacity:.5;cursor:not-allowed}

.home-page-items{min-height:calc(100vh - 120px);padding-bottom:12px;background:var(--cream)}
.home-page-items.source-page-style-blue{--source-page-color:#286ef9}.home-page-items.source-page-style-purple{--source-page-color:#285f4a}.home-page-items.source-page-style-hh01{--source-page-color:#3c0613}.home-page-items.source-page-style-white{--source-page-color:#fff}.home-page-items.source-page-style-red{--source-page-color:#ef7a82}
.source-page-search{display:flex;align-items:center;gap:8px;padding:10px 14px;background:var(--source-page-color,#3c0613);color:#fff}.source-page-search-box{min-width:0;flex:1;height:36px;padding:0 13px;display:flex;align-items:center;gap:7px;border:0;background:rgba(255,255,255,.86);color:#777;text-align:left}.source-page-search.radius .source-page-search-box{border-radius:6px}.source-page-search.round .source-page-search-box{border-radius:20px}.source-page-search-box b{font-size:14px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-page-side-link{width:34px;padding:0;border:0;background:transparent;color:inherit}.source-page-side-link span,.source-page-side-link small{display:block}.source-page-side-link span{font-size:22px}.source-page-side-link small{font-size:13px}
.source-page-swiper{display:flex;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.source-page-swiper::-webkit-scrollbar{display:none}.source-page-banner{position:relative;flex:0 0 100%;height:175px;padding:0;border:0;background:#eee;scroll-snap-align:center}.source-page-banner img{width:100%;height:100%;object-fit:cover}.source-page-banner strong{position:absolute;left:16px;bottom:14px;max-width:80%;color:#fff;font-size:17px;text-shadow:0 1px 4px rgba(0,0,0,.55)}
.source-page-swiper.xfg-lab-banner .source-page-banner{height:auto;aspect-ratio:3/1}.source-page-swiper.xfg-main-hero .source-page-banner{height:auto;aspect-ratio:3/4}
.source-page-image{display:block;width:100%;padding:0;border:0;background:#fff}.source-page-image img{display:block;width:100%;height:auto}.source-page-images{display:grid;background:#fff}.source-page-images.layout-1{grid-template-columns:repeat(2,1fr)}.source-page-images.layout-2{grid-template-columns:repeat(3,1fr)}.source-page-images.layout-3{grid-template-columns:repeat(4,1fr)}.source-page-images.layout-4{grid-template-columns:1fr 1fr}.source-page-images button{min-height:80px;padding:var(--image-space);border:0;background:#fff;overflow:hidden}.source-page-images img{display:block;width:100%;height:100%;object-fit:cover}.source-page-video{display:block;width:100%;height:auto;max-height:480px;background:#111}
.source-page-notice{display:flex;align-items:flex-start;gap:10px;margin:10px 14px;padding:12px 14px;border-radius:8px;background:#fff}.source-page-notice strong{flex:none;color:var(--wine);font-size:14px}.source-page-notice p{margin:0;color:#666;font-size:14px;line-height:1.6}
.source-page-navigation{display:grid;gap:8px;padding:13px 12px;background:#fff}.source-page-navigation button{min-width:0;padding:0;border:0;background:transparent}.source-page-navigation img,.source-page-navigation span{display:flex;align-items:center;justify-content:center;width:42px;height:42px;margin:auto;border-radius:50%;object-fit:cover;background:#f4dbb6;color:#7d3542;font-weight:800}.source-page-navigation small{display:block;margin-top:6px;color:#666;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.source-page-goods{padding:0 0 10px;background:#fff}.source-page-goods .source-section-title{padding:15px 14px 10px}.source-page-product-list.columns-1{grid-template-columns:1fr}.source-page-product-list.columns-2{grid-template-columns:repeat(2,1fr)}.source-page-product-list.columns-3{grid-template-columns:repeat(3,1fr);gap:7px}.source-page-product-list.columns-3 .product-body{padding:8px}.source-page-product-list.columns-3 .product-body p,.source-page-product-list.columns-3 .product-stock,.source-page-product-list.columns-3 .add-button{display:none}.source-page-product-list.columns-3 .product-title{font-size:13px}.source-page-product-list.columns-3 .product-price strong{font-size:14px}.source-page-product-list.display-list{grid-template-columns:1fr}.source-page-product-list.display-list .product-card{display:grid;grid-template-columns:112px 1fr}.source-page-product-list.display-list .visual-button{height:112px}.source-page-product-list.display-swiper{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.source-page-product-list.display-swiper .product-card{flex:0 0 calc(50% - 7px);scroll-snap-align:start}.source-page-empty{width:100%}.source-page-rich{padding:14px;background:#fff;color:#444;font-size:15px;line-height:1.75;overflow-wrap:anywhere}.source-page-rich img,.source-page-rich video{display:block;max-width:100%;height:auto;margin:10px auto}.source-page-rich.plain-text{white-space:pre-wrap}

/* 修芙果蓝色科技护肤首页：版式参考用户提供的移动端商城示例。 */
body{background:#dce8f5}
.app-shell{width:min(100%,480px);background:#fff;box-shadow:0 0 60px rgba(6,44,95,.14)}
.xfg-topbar{height:58px;padding:10px 12px;display:block;border-bottom:1px solid #e8eef7;background:rgba(255,255,255,.97)}
.xfg-topbar .brand{gap:8px;min-width:0}.xfg-topbar .brand-mark{width:34px;height:34px;border-radius:10px;background:#075bc4;box-shadow:none;font-size:20px}.xfg-topbar .brand strong{font-size:15px;white-space:nowrap}.xfg-topbar .brand small{font-size:11px;color:#8b99aa}
.header-search{width:100%;min-width:0;height:38px;padding:0 14px;border:1px solid #dbe5f1;border-radius:19px;background:#f3f7fb;color:#6d8095;display:flex;align-items:center;justify-content:flex-start;gap:8px;cursor:pointer;text-align:left}.header-search svg{width:16px;height:16px;flex:none;color:#075bc4}.header-search span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.xfg-topbar .header-actions{gap:6px}.xfg-topbar .status-pill{width:8px;height:8px;padding:0;font-size:0}.xfg-topbar .icon-button,.xfg-topbar .cart-shortcut{width:32px;min-width:32px;height:32px;border-color:#dbe5f1;border-radius:50%;color:#075bc4;display:grid;place-items:center}.xfg-topbar .icon-button svg,.xfg-topbar .cart-shortcut>svg{width:16px;height:16px}
.xfg-reference-home{background:#fff;padding-bottom:10px}.xfg-reference-home .xfg-mobile-search{display:none}.xfg-lab-banner,.xfg-main-hero,.xfg-promo-grid button{display:block;width:100%;padding:0;border:0;background:#fff;cursor:pointer}.xfg-lab-banner img,.xfg-main-hero>img,.xfg-promo-grid img{display:block;width:100%;height:auto}.xfg-lab-banner img{aspect-ratio:3/1;object-fit:cover}.xfg-reference-home .banner-list{padding:0;gap:0}.xfg-reference-home .banner-list:empty{display:none}.xfg-reference-home .source-banner{height:auto;aspect-ratio:3/1;border-radius:0}.xfg-reference-home .source-banner:after,.xfg-reference-home .source-banner strong{display:none}
.xfg-reference-home .xfg-main-hero{height:auto;margin:0;padding:0;position:relative;border-radius:0;background:#e9f8ff;overflow:hidden}.xfg-main-hero>img{aspect-ratio:3/4;object-fit:cover}.xfg-hero-copy{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.xfg-reference-home .home-navigation{grid-template-columns:repeat(3,1fr);padding:13px 12px 15px;border-bottom:8px solid #f3f6fa}.xfg-reference-home .home-navigation button{gap:6px;color:#0757b8;font-size:14px;font-weight:700}.xfg-reference-home .nav-icon{width:46px;height:34px;border-radius:0;background:transparent!important;color:#075bc4;box-shadow:none;font:inherit}.xfg-reference-home .nav-icon svg{width:26px;height:26px}.xfg-reference-home .home-navigation small{font-size:14px;color:#155a9c}
.xfg-promo-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 10px 12px;background:#fff;border-bottom:8px solid #f3f6fa}.xfg-promo-grid button{overflow:hidden;border-radius:5px}.xfg-promo-grid .xfg-checkin{grid-column:1/-1}.xfg-promo-grid .xfg-checkin img{aspect-ratio:3/1;object-fit:cover}.xfg-promo-grid button:not(.xfg-checkin) img{aspect-ratio:4/3;object-fit:cover}
.xfg-reference-home .goods-section{padding:0;background:#fff}.xfg-reference-home .xfg-product-heading{padding:13px 10px 9px}.xfg-reference-home .xfg-product-heading h2{font-size:17px;color:#163b67}.xfg-reference-home .xfg-product-heading button{color:#6d88a5;font-size:12px}.xfg-reference-home #home-product-list{grid-template-columns:1fr;gap:22px;padding:0 10px 30px}
.home-showcase-card{border:0;border-radius:0;background:#fff;box-shadow:none;overflow:visible}.home-showcase-card .visual-button{overflow:hidden;border-radius:5px;background:#075bc4}.home-showcase-card .product-visual{height:auto;aspect-ratio:4/3;background:#075bc4}.home-showcase-card .product-visual:before,.home-showcase-card .product-badge{display:none}.home-showcase-card .product-body{padding:9px 4px 0}.home-showcase-card .product-title{font-size:15px;font-weight:600;color:#18334f}.home-showcase-card .product-body>p{min-height:0;margin:5px 0 0;color:#60758b;font-size:12px;line-height:1.45}.home-showcase-card .product-stock{display:none}.home-showcase-card .product-footer{align-items:center;margin-top:13px}.home-showcase-card .product-price strong{color:#075bc4;font-family:Arial,"PingFang SC",sans-serif;font-size:18px}.home-showcase-card .product-price del{display:none}.home-showcase-card .repurchase-discount-label{background:#e8f2ff;color:#075bc4}.home-showcase-card .add-button{width:auto;height:28px;padding:0 13px;border-radius:15px;background:#075bc4;box-shadow:none;font-size:13px;font-weight:700}
main{padding-bottom:76px}.bottom-nav{width:min(100%,480px);height:66px;padding-top:6px;box-sizing:border-box;background:rgba(255,255,255,.98);border-top-color:#e5edf6}.bottom-nav button{gap:4px;color:#667789;font-size:14px}.bottom-nav button>span{display:grid;place-items:center;min-height:20px;font:inherit}.bottom-nav button>span>svg{width:18px;height:18px}.bottom-nav button.active{color:#075bc4}.nav-cart #nav-cart-count{right:-11px;top:-8px;background:#075bc4}.toast{bottom:80px}
@media(max-width:360px){.xfg-topbar{padding:10px 8px}.header-search{padding:0 11px}.header-search span{display:block;font-size:12px}.xfg-promo-grid{gap:6px;padding-left:7px;padding-right:7px}.xfg-reference-home #home-product-list{padding-left:7px;padding-right:7px}}

#refresh-button.spinning span{animation:spin .8s linear infinite}

/* 后台装修发布后的修芙果首页模板，与默认首页保持同一视觉结构。 */
.xfg-page-template{padding-bottom:10px;background:#fff}
.xfg-page-template .xfg-lab-banner{display:block;width:100%;padding:0;border:0;border-radius:0;background:#fff}.xfg-page-template .xfg-lab-banner img{aspect-ratio:3/1;object-fit:cover}
.xfg-page-template .xfg-main-hero{display:block;width:100%;height:auto;padding:0;border:0;border-radius:0;background:#e9f8ff;overflow:hidden}.xfg-page-template .xfg-main-hero>img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover}
.xfg-page-template .xfg-dynamic-navigation{grid-template-columns:repeat(3,1fr)!important;gap:0;padding:13px 12px 15px;border-bottom:8px solid #f3f6fa;background:#fff}.xfg-page-template .xfg-dynamic-navigation button{display:grid;place-items:center;gap:6px;color:#0757b8}.xfg-page-template .xfg-dynamic-navigation .nav-icon{display:grid;place-items:center;width:46px;height:34px;margin:0;border-radius:0;background:transparent;color:#075bc4}.xfg-page-template .xfg-dynamic-navigation .nav-icon svg{width:26px;height:26px}.xfg-page-template .xfg-dynamic-navigation small{margin:0;color:#155a9c;font-size:14px;font-weight:700}
.xfg-page-template .xfg-checkin-banner{display:block;width:calc(100% - 20px);margin:10px 10px 8px;padding:0;border:0;border-radius:5px;background:#fff;overflow:hidden}.xfg-page-template .xfg-checkin-banner img{display:block;width:100%;aspect-ratio:3/1;object-fit:cover}
.xfg-page-template .xfg-dynamic-promotions{grid-template-columns:repeat(2,1fr);gap:8px;padding:0 10px 12px;border-bottom:8px solid #f3f6fa;background:#fff}.xfg-page-template .xfg-dynamic-promotions button{min-height:0;padding:0!important;border-radius:5px;background:#fff}.xfg-page-template .xfg-dynamic-promotions img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.xfg-page-template .xfg-dynamic-products{padding:0 0 10px;background:#fff}.xfg-page-template .xfg-dynamic-products .source-section-title{padding:13px 10px 9px}.xfg-page-template .xfg-dynamic-products .source-section-title h2{color:#163b67;font-size:17px}.xfg-page-template .xfg-dynamic-products .source-section-title button{color:#6d88a5;font-size:12px}.xfg-page-template .xfg-dynamic-products .source-page-product-list{grid-template-columns:1fr;gap:22px;padding:0 10px 30px}
@media(max-width:360px){.xfg-page-template .xfg-checkin-banner{width:calc(100% - 14px);margin-left:7px;margin-right:7px}.xfg-page-template .xfg-dynamic-promotions{gap:6px;padding-left:7px;padding-right:7px}.xfg-page-template .xfg-dynamic-products .source-page-product-list{padding-left:7px;padding-right:7px}}

/* 首页独占搜索栏；推广与客户页面依照参考图使用沉浸式移动布局。 */
.app-shell:not(.home-page-active)>.site-header{display:none}
.app-shell:not(.home-page-active) .filter-tabs,.app-shell:not(.home-page-active) .order-filter-tabs{top:0}
.member-stats{grid-template-columns:repeat(3,1fr)}
.member-stats button{text-align:center;padding-left:8px;padding-right:8px}.member-stats strong{font-size:20px;white-space:nowrap}
.coupon-center-page{background:#f6f3f1}.coupon-overview{margin:14px;padding:22px;border-radius:14px;background:linear-gradient(135deg,var(--wine),#a54257);color:#fff}.coupon-overview small,.coupon-overview strong,.coupon-overview span{display:block}.coupon-overview small{font-size:13px;opacity:.82}.coupon-overview strong{margin-top:5px;font-size:36px;line-height:1.15}.coupon-overview span{margin-top:3px;font-size:13px;opacity:.82}.coupon-center-tabs{display:grid;grid-template-columns:repeat(4,1fr);margin:0 14px 12px;border-radius:12px;background:#fff;overflow:hidden}.coupon-center-tabs button{height:46px;border:0;border-bottom:3px solid transparent;background:#fff;color:#796d69;font-size:14px}.coupon-center-tabs button.active{border-bottom-color:var(--wine);color:var(--wine);font-weight:800}.member-coupon-list{display:grid;gap:12px;padding:0 14px 28px}.member-coupon-item{display:grid;grid-template-columns:92px minmax(0,1fr);overflow:hidden;border:1px solid #eadde0;border-radius:14px;background:#fff;box-shadow:0 7px 20px rgba(72,35,44,.07)}.member-coupon-value{display:grid;align-content:center;justify-items:center;padding:17px 8px;background:#fff0f2;color:var(--wine)}.member-coupon-value small{font-size:13px}.member-coupon-value strong{font-size:26px;line-height:1.1}.member-coupon-copy{min-width:0;padding:14px 13px}.member-coupon-copy header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.member-coupon-copy header strong{font-size:15px}.member-coupon-copy header b{flex:0 0 auto;padding:3px 7px;border-radius:999px;background:#f6e3e7;color:var(--wine);font-size:11px}.member-coupon-copy p{margin:6px 0 0;color:#877a76;font-size:12px;line-height:1.5}.member-coupon-item.used,.member-coupon-item.expired{filter:grayscale(.75);opacity:.72}.member-coupon-list>.empty{padding:42px 16px;border-radius:14px;background:#fff}
.tools-grid span>svg{width:22px;height:22px;display:block}
.promotion-detail-open main{padding-bottom:0}
.promotion-detail-open .bottom-nav{display:none}
.promotion-page{min-height:100vh;background:#f4f6f8;color:#172c42}
.promotion-titlebar{height:52px;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;text-align:center}
.promotion-titlebar h1{margin:0;font-size:20px;font-weight:750;letter-spacing:.02em}
.promotion-titlebar button{width:44px;height:44px;padding:0;border:0;background:transparent;color:inherit;display:grid;place-items:center;cursor:pointer}
.promotion-titlebar button svg{width:23px;height:23px}
.promotion-cover{padding:0 16px 0;background:#075bc4;color:#fff}
.promotion-profile{display:flex;align-items:center;gap:13px;padding:17px 4px 13px}
.promotion-profile img{width:64px;height:64px;border:3px solid rgba(255,255,255,.75);border-radius:50%;object-fit:cover;background:#dbeaff}
.promotion-profile>div{min-width:0}.promotion-profile strong,.promotion-profile span{display:block}.promotion-profile strong{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.promotion-profile span{width:max-content;margin-top:7px;padding:4px 9px;border-radius:12px;background:#eef6ff;color:#075bc4;font-size:12px;font-weight:800}
.promotion-counts{display:grid;grid-template-columns:repeat(3,1fr);padding:8px 0 18px;text-align:center}
.promotion-counts strong,.promotion-counts small{display:block}.promotion-counts strong{font-size:23px}.promotion-counts small{margin-top:5px;color:rgba(255,255,255,.72);font-size:12px}
.group-performance-link{width:100%;height:62px;padding:0 18px;border:0;border-radius:11px 11px 0 0;background:#064a9e;color:#fff;display:grid;grid-template-columns:auto 1fr 20px;align-items:center;gap:13px;text-align:left;cursor:pointer}
.group-performance-link span{font-size:16px}.group-performance-link strong{font-size:22px}.group-performance-link svg{width:20px;height:20px}
.promotion-tabs{height:60px;display:grid;grid-template-columns:1fr 1fr;background:#fff;border-bottom:1px solid #e8edf3}
.promotion-tabs button{position:relative;border:0;background:#fff;color:#8a98a6;font-size:16px;cursor:pointer}.promotion-tabs button.active{color:#172c42;font-weight:800}.promotion-tabs button.active:after{content:"";position:absolute;left:42%;right:42%;bottom:8px;height:3px;border-radius:2px;background:#075bc4}
.today-customer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px 8px;padding:22px 16px;background:#fff;text-align:center}
.today-customer-grid strong,.today-customer-grid small{display:block}.today-customer-grid strong{font-size:19px}.today-customer-grid small{margin-top:5px;color:#8b99a8;font-size:12px}
.team-filter-card{display:grid;gap:11px;margin:12px;padding:15px 13px;border-radius:10px;background:#fff}
.team-filter-card label{display:grid;grid-template-columns:76px 1fr;align-items:center;gap:8px}.team-filter-card label:nth-child(2){grid-template-columns:76px 1fr 1fr}.team-filter-card label:last-child{grid-template-columns:76px 1fr 62px}.team-filter-card label>span{font-size:14px;font-weight:800}.team-filter-card input,.team-filter-card select{min-width:0;height:37px;padding:0 10px;border:1px solid #e5ebf2;border-radius:7px;background:#f7f9fb;color:#40546a;font-size:13px}.team-filter-card button{height:37px;border:0;border-radius:19px;background:#075bc4;color:#fff;font-weight:800;cursor:pointer}
.customer-card-list{display:grid;gap:12px;padding:0 12px 24px}.customer-card{padding:16px;border-radius:11px;background:#fff}.customer-card>header{display:grid;grid-template-columns:60px 1fr;align-items:center;gap:12px;padding-bottom:15px;border-bottom:1px solid #e8edf3}.customer-avatar{width:60px;height:60px;border-radius:50%;object-fit:cover;background:#dce8f5}.customer-identity{min-width:0}.customer-name-line{display:flex;align-items:center;gap:7px;min-width:0}.customer-name-line strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px}.customer-name-line span{flex:none;padding:3px 7px;border:1px solid #a8b5c2;border-radius:11px;font-size:13px}.customer-identity>b{display:block;width:max-content;margin-top:6px;padding:3px 7px;border-radius:10px;background:#e8f2ff;color:#075bc4;font-size:13px}.customer-identity>small{display:block;margin-top:6px;color:#8493a2;font-size:13px}.customer-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:18px 6px;padding-top:17px;text-align:center}.customer-metrics strong,.customer-metrics small{display:block}.customer-metrics strong{font-size:19px;color:#101820}.customer-metrics small{margin-top:5px;color:#8896a4;font-size:13px}
.performance-filter{display:grid;grid-template-columns:1fr auto 1fr auto;align-items:center;gap:8px;padding:16px;background:#fff;border-bottom:1px solid #e7edf4}.performance-filter input{min-width:0;height:40px;padding:0 9px;border:1px solid #d9e2eb;border-radius:20px;color:#52677c}.performance-filter span{font-size:14px}.performance-filter button{height:40px;border:0;background:transparent;color:#075bc4;font-weight:800;cursor:pointer}
.performance-summary{display:grid;grid-template-columns:repeat(3,1fr);margin:16px;padding:20px 8px;border-radius:10px;background:#075bc4;color:#fff;text-align:center}.performance-summary strong,.performance-summary small{display:block}.performance-summary strong{font-size:22px}.performance-summary small{margin-top:5px;color:rgba(255,255,255,.78);font-size:12px}
.performance-order-list{background:#fff}.performance-order-card{padding:19px 16px;border-bottom:1px solid #e8edf3}.performance-order-card header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.performance-order-card header>div{display:flex;align-items:center;gap:8px;min-width:0}.performance-order-card header strong{font-size:17px}.performance-order-card header span{padding:3px 7px;border:1px solid #a8b5c2;border-radius:11px;font-size:13px}.performance-order-card header b{flex:none;color:#075bc4;font-size:17px}.performance-order-card p{margin:7px 0 0;color:#8794a1;font-size:13px;line-height:1.4}
.commission-hero{padding:0 18px 27px;background:#075bc4;color:#fff}.commission-hero>.promotion-titlebar{margin:0 -6px 13px}.commission-hero>.promotion-titlebar .hero-withdraw{width:auto;padding:0 3px;font-size:14px}.commission-hero>small{display:block;font-size:14px}.commission-hero>small span{display:inline-block;margin-left:7px;padding:3px 7px;border:1px solid rgba(255,255,255,.45);border-radius:12px;font-size:13px}.commission-hero>strong{display:block;margin-top:8px;font-size:38px;letter-spacing:.03em}.commission-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:27px}.commission-summary small,.commission-summary strong{display:block}.commission-summary small{color:rgba(255,255,255,.76);font-size:12px}.commission-summary strong{margin-top:8px;font-size:22px}
.promotion-shortcuts{display:grid;grid-template-columns:1fr 1fr;padding:17px 0;background:#fff;border-bottom:8px solid #f4f6f8}.promotion-shortcuts button{height:86px;border:0;background:#fff;color:#182d43;display:grid;place-items:center;align-content:center;gap:9px;cursor:pointer}.promotion-shortcuts svg{width:32px;height:32px;padding:6px;border-radius:9px;background:#075bc4;color:#fff;stroke-width:1.8}.promotion-shortcuts span{font-size:15px}
.commission-toolbar{padding:15px 16px;background:#fff}.commission-toolbar select{height:40px;padding:0 14px;border:1px solid #cad5e0;border-radius:21px;background:#fff;color:#405469;font-size:14px}
.commission-ledger-list{background:#fff}.commission-entry{position:relative;padding:19px 16px;border-bottom:1px solid #e7edf3}.commission-entry header{display:flex;justify-content:space-between;align-items:center}.commission-entry header strong{font-size:17px}.commission-entry header b{font-size:20px}.commission-entry p{max-width:83%;margin:7px 0 0;color:#8a97a4;font-size:12px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.commission-detail{display:block;margin:12px 0 0 auto;padding:0;border:0;background:transparent;color:#075bc4;font-size:13px;cursor:pointer}
.promotion-page .subpage-bar button svg{width:22px;height:22px}
@media(max-width:360px){.team-filter-card label,.team-filter-card label:nth-child(2),.team-filter-card label:last-child{grid-template-columns:68px 1fr}.team-filter-card label:nth-child(2) select:last-child,.team-filter-card label:last-child button{grid-column:2}.customer-card>header{grid-template-columns:52px 1fr}.customer-avatar{width:52px;height:52px}.commission-summary strong{font-size:19px}}

/* 推广相关页面的辅助文字统一增大，移动端不再出现难辨认的小字号。 */
.promotion-page small,.promotion-page .customer-identity>small,.promotion-page .commission-entry p,.promotion-page .performance-order-card p{font-size:14px}
.promotion-page .customer-name-line span,.promotion-page .customer-identity>b,.promotion-page .performance-order-card header span,.promotion-page .commission-hero>small span{font-size:13px}
.promotion-page .team-filter-card input,.promotion-page .team-filter-card select{font-size:15px}

/* 修芙果统一图标语言：蓝色线性图标、浅蓝柔和底、相同圆角与线宽。 */
.xfg-reference-home .nav-icon,
.xfg-page-template .xfg-dynamic-navigation .nav-icon,
.order-shortcuts button>span,
.tools-grid button>span{
  display:grid;place-items:center;background:#e8f2ff!important;color:#075bc4!important;
  border:1px solid #d9eaff;box-shadow:none
}
.xfg-reference-home .nav-icon,
.xfg-page-template .xfg-dynamic-navigation .nav-icon{width:42px;height:42px;min-width:42px;min-height:42px;aspect-ratio:1/1;border-radius:14px;box-sizing:border-box}
.xfg-reference-home .nav-icon svg,
.xfg-page-template .xfg-dynamic-navigation .nav-icon svg{width:25px;height:25px;stroke-width:1.9}
.order-shortcuts button>span,.tools-grid button>span{width:42px;height:42px;border-radius:14px}
.order-shortcuts button>span>svg,.tools-grid button>span>svg{width:23px;height:23px;stroke-width:1.9}
.order-shortcuts button>i{position:absolute;right:10px;top:-4px;display:none;min-width:18px;height:18px;padding:0 5px;border-radius:10px;background:#e23d3d;color:#fff;font:normal 12px/18px sans-serif}
.order-shortcuts button>i.visible{display:block}

.bottom-nav button>span{width:32px;height:32px;min-width:32px;min-height:32px;aspect-ratio:1/1;border-radius:10px;box-sizing:border-box;transition:background-color .18s ease,color .18s ease}
.bottom-nav button>span>svg{width:20px;height:20px;stroke-width:1.9}

/* 所有功能图标及其有色底座保持 1:1，避免被网格、文字或窄屏布局挤扁。 */
.lucide,.nav-icon svg,.quick-icon svg,.order-shortcuts button>span>svg,.tools-grid button>span>svg,
.promotion-shortcuts svg,.menu-list>*>span>svg,.test-icon svg,.category-strip-thumb svg{
  aspect-ratio:1/1;flex:0 0 auto
}
.nav-icon,.quick-icon,.order-shortcuts button>span,.tools-grid button>span,
.menu-list>*>span,.test-icon,.category-strip-thumb,.account-form-intro>span{
  flex:none;aspect-ratio:1/1;box-sizing:border-box
}
.bottom-nav button.active>span{background:#e8f2ff;color:#075bc4}

/* 每日签到与限量秒杀 */
.activity-page{min-height:100vh;background:#f3f7fc;color:#17324d}
.activity-page .subpage-bar{background:#fff;border-bottom:1px solid #e5edf6}
.activity-page .subpage-bar button svg{width:22px;height:22px}
.checkin-hero{margin:14px;padding:22px 18px;border-radius:18px;background:linear-gradient(145deg,#0873de,#064aa4);color:#fff;box-shadow:0 12px 28px rgba(7,91,196,.2)}
.checkin-hero>div:first-child small,.checkin-hero>div:first-child strong{display:block}.checkin-hero>div:first-child small{font-size:14px;color:rgba(255,255,255,.76)}.checkin-hero>div:first-child strong{margin-top:4px;font-size:34px}
.checkin-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.checkin-stats span{padding:11px 12px;border-radius:12px;background:rgba(255,255,255,.12)}.checkin-stats b,.checkin-stats small{display:block}.checkin-stats b{font-size:22px}.checkin-stats small{margin-top:3px;color:rgba(255,255,255,.72);font-size:13px}
#checkin-button{width:100%;min-height:76px;padding:10px 16px;border:0;border-radius:15px;background:#fff;color:#075bc4;display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;align-items:center;text-align:left;cursor:pointer;box-shadow:0 8px 20px rgba(0,33,79,.16)}
#checkin-button svg{grid-row:1/3;width:30px;height:30px;margin:auto}#checkin-button strong{align-self:end;font-size:18px}#checkin-button small{align-self:start;margin-top:3px;color:#6a83a0;font-size:13px}
#checkin-button.checked{background:#e7f4ed;color:#17804f;box-shadow:none}#checkin-button.checked small{color:#589174}
.checkin-card{margin:14px;padding:17px 14px;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(38,70,105,.07)}
.activity-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:15px}.activity-section-title h2{margin:0;font-size:18px}.activity-section-title small{color:#7a8da1;font-size:12px;text-align:right}
.checkin-week{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.checkin-day{min-width:0;display:grid;justify-items:center;gap:7px;color:#8090a0;text-align:center}.checkin-day small{font-size:12px}.checkin-day span{width:34px;height:34px;border-radius:12px;background:#eef3f8;display:grid;place-items:center;font-size:13px;font-weight:800}.checkin-day b{min-height:22px;font-size:10px;line-height:1.2;color:#075bc4}.checkin-day.checked span{background:#075bc4;color:#fff}.checkin-day.today span{outline:2px solid #8fc3ff;outline-offset:2px}.checkin-day.gift-day span{background:#fff1cf;color:#a96b00}.checkin-day.gift-day.checked span{background:#e4a627;color:#fff}.checkin-gift{margin-top:16px;padding:12px 14px;border-radius:12px;background:#eef6ff;color:#075bc4;font-size:13px;font-weight:700;line-height:1.6;text-align:center}.checkin-coupons{display:grid;gap:10px}.checkin-coupon{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px;border:1px solid #d8e9f8;border-radius:12px;background:linear-gradient(135deg,#f4faff,#fff)}.checkin-coupon-value{min-width:64px;color:#075bc4}.checkin-coupon-value small{font-size:12px}.checkin-coupon-value strong{font-size:24px}.checkin-coupon-copy strong,.checkin-coupon-copy small{display:block}.checkin-coupon-copy strong{font-size:13px}.checkin-coupon-copy small{margin-top:4px;color:#7f8b96;font-size:11px}.checkin-coupon>b{padding:5px 8px;border-radius:999px;background:#e3f2ff;color:#075bc4;font-size:10px}.checkin-coupon.used,.checkin-coupon.expired{filter:grayscale(1);opacity:.65}
.checkin-history{display:grid}.checkin-history-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 2px;border-bottom:1px solid #e8eef5}.checkin-history-item:last-child{border-bottom:0}.checkin-history-item strong,.checkin-history-item small{display:block}.checkin-history-item strong{font-size:15px}.checkin-history-item small{margin-top:5px;color:#7d8fa2;font-size:13px;line-height:1.45}.checkin-history-item>b{font-size:18px}
.flash-sale-hero{margin:14px;padding:24px 20px;border-radius:18px;background:linear-gradient(145deg,#075bc4,#073c83);color:#fff;box-shadow:0 12px 28px rgba(7,91,196,.2)}.flash-sale-hero>span{font-size:12px;letter-spacing:.16em;color:#9dcaff}.flash-sale-hero h2{margin:8px 0 7px;font-size:24px}.flash-sale-hero p{margin:0;color:rgba(255,255,255,.76);font-size:13px;line-height:1.6}.flash-sale-countdown{width:max-content;margin-top:18px;padding:9px 12px;border-radius:10px;background:rgba(255,255,255,.14);font:800 17px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.04em}
.flash-sale-list{display:grid;gap:12px;padding:0 14px 28px}.flash-sale-card{display:grid;grid-template-columns:128px 1fr;min-width:0;overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(38,70,105,.08)}.flash-sale-visual{min-width:0;padding:0;border:0;background:#e8f2ff;cursor:pointer}.flash-sale-visual .product-visual{height:100%;min-height:190px}.flash-sale-body{min-width:0;padding:14px 13px;display:flex;flex-direction:column}.flash-sale-meta{display:flex;flex-wrap:wrap;gap:5px}.flash-sale-meta span{padding:3px 7px;border-radius:9px;background:#eef4fa;color:#678099;font-size:11px}.flash-sale-meta .flash-status{background:#e8f2ff;color:#075bc4;font-weight:800}.flash-sale-meta .flash-status.active{background:#e4f5ec;color:#168154}.flash-sale-meta .flash-status.ended{background:#f1f2f4;color:#89929b}.flash-sale-name{margin:10px 0 0;padding:0;border:0;background:transparent;color:#17324d;text-align:left;font-size:17px;font-weight:800;cursor:pointer}.flash-sale-body>p{margin:5px 0;color:#7c8da0;font-size:13px;line-height:1.4}.flash-sale-time{color:#8b99a8;font-size:12px;line-height:1.45}.flash-sale-price{display:flex;align-items:baseline;gap:7px;margin-top:auto;padding-top:10px}.flash-sale-price strong{color:#075bc4;font-size:20px}.flash-sale-price del{color:#a2acb6;font-size:12px}.flash-sale-buy{width:100%;height:36px;margin-top:9px;border:0;border-radius:18px;background:#075bc4;color:#fff;font-size:14px;font-weight:800;cursor:pointer}.flash-sale-buy:disabled{background:#d9e0e8;color:#7e8d9c;cursor:not-allowed}
@media(max-width:360px){.checkin-week{gap:3px}.checkin-day span{width:30px;height:30px}.flash-sale-card{grid-template-columns:112px 1fr}.flash-sale-body{padding:12px 10px}.flash-sale-visual .product-visual{min-height:180px}}

/* 分类页：按参考图还原为顶部图片分类 + 商品纵向清单；仅有二级分类时才显示左侧导航。 */
#page-store{background:#fff;color:#251d1f}
.category-search{width:calc(100% - 32px);height:42px;margin:14px 16px 10px;padding:0 16px;border:0;border-radius:23px;background:#f2eeee;display:flex;align-items:center;gap:9px;color:#8d8284;text-align:left;cursor:pointer}
.category-search svg{width:20px;height:20px}.category-search span{font-size:16px}
.category-strip{display:flex;gap:18px;overflow-x:auto;padding:8px 16px 14px;border-bottom:7px solid #f7f2ef;background:#fff;scrollbar-width:none}
.category-strip::-webkit-scrollbar{display:none}.category-strip button{flex:0 0 68px;min-width:68px;padding:0;border:0;background:transparent;color:#2c2325;display:grid;justify-items:center;gap:7px;cursor:pointer}
.category-strip-thumb{width:58px;height:58px;border:2px solid transparent;border-radius:12px;overflow:hidden;background:#f7eeee;display:grid;place-items:center;color:#7b1830}
.category-strip-thumb img{display:block;width:100%;height:100%;object-fit:cover}.category-strip-thumb svg{width:27px;height:27px}
.category-strip button small{max-width:76px;padding:2px 5px;border-radius:5px;font-size:14px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.category-strip button.active .category-strip-thumb{border-color:#7b1830;box-shadow:0 0 0 2px rgba(123,24,48,.08)}
.category-strip button.active small{background:#7b1830;color:#fff;font-weight:750}
.category-layout{height:auto;min-height:calc(100vh - 228px);display:grid;grid-template-columns:1fr;background:#fff;overflow:visible}
.category-layout.has-subcategories{grid-template-columns:92px minmax(0,1fr)}
.category-nav{position:sticky;top:0;align-self:start;max-height:calc(100vh - 70px);overflow-y:auto;background:#f8f3f1;border-right:1px solid #f0e6e5}
.category-nav[hidden]{display:none}.category-nav button{min-height:57px;padding:9px 7px;background:transparent;color:#756769;font-size:14px}.category-nav button.active{background:#fff;color:#7b1830;font-weight:800}.category-nav button.active:before{top:17px;height:23px;background:#7b1830}
.category-products{overflow:visible;padding:12px 16px 30px;background:#fff}
.category-product{display:grid;grid-template-columns:104px minmax(0,1fr) 34px;gap:14px;align-items:center;min-height:126px;margin:0;padding:9px 0;border-bottom:1px solid #f2e9e8;border-radius:0;background:#fff}
.category-product:last-child{border-bottom:0}.category-thumb{width:104px;height:104px;border:0;border-radius:10px;overflow:hidden;background:#f7eeee;box-shadow:none}
.category-main-image{display:block;width:100%;height:100%;object-fit:cover}.category-product-info button{font-size:17px;font-weight:500;line-height:1.42;color:#2a2022}
.category-product-info>small{display:none}.category-product-info strong{margin-top:22px;color:#7b1830!important;font-size:19px;font-weight:600}.category-add{width:31px;height:31px;border-radius:9px;background:#7b1830;color:#fff;font-size:25px;font-weight:300;line-height:29px;box-shadow:none}
.category-add:disabled{width:42px;height:31px;border-radius:9px;font-size:12px}
@media(max-width:380px){.category-strip{gap:13px;padding-left:12px;padding-right:12px}.category-layout.has-subcategories{grid-template-columns:82px minmax(0,1fr)}.category-products{padding-left:12px;padding-right:12px}.category-product{grid-template-columns:88px minmax(0,1fr) 31px;gap:10px;min-height:111px}.category-thumb{width:88px;height:88px}.category-product-info button{font-size:15px}.category-product-info strong{margin-top:15px;font-size:17px}}
.product-sku-select{display:grid;gap:7px;margin:14px 0;color:#4d3a3e;font-weight:700}.product-sku-select select{width:100%;padding:11px 12px;border:1px solid #ddcfd2;border-radius:8px;background:#fff;font:inherit;color:#35272a}
.product-detail-brand{margin:4px 0;color:#7b1830;font-weight:700}.product-detail-tags{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0}.product-detail-tags span{padding:4px 9px;border-radius:999px;background:#f5e9ec;color:#7b1830;font-size:13px;font-weight:700}

/* Temporarily hide WeChat address import until the permission is approved. */
[data-permission="wechat-address"][hidden]{display:none!important}.address-page-actions.manual-only,.address-selector-actions.manual-only{grid-template-columns:1fr}

/* Paste-and-recognize address entry; parsing stays in the browser. */
.address-paste-button{width:100%;min-height:45px;margin:10px 0 14px;padding:0 14px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--wine);border-radius:12px;background:#fff7f8;color:var(--wine);font-size:14px;font-weight:800}.address-paste-button svg{width:19px}.address-paste-panel{margin:-4px 0 14px;padding:11px;border:1px solid #ead8dc;border-radius:12px;background:#fffafb}.address-paste-panel[hidden]{display:none}.address-paste-panel textarea{width:100%;min-height:86px!important;resize:vertical}.address-paste-panel>div{margin-top:9px;display:grid;grid-template-columns:1fr 1.5fr;gap:9px}.address-paste-panel button{min-height:40px;border:1px solid #decbd0;border-radius:10px;background:#fff;color:#6b555a;font-weight:700}.address-paste-panel #address-paste-apply{border-color:var(--wine);background:var(--wine);color:#fff}

/* Customer checkout and address-book experience */
.checkout-heading{margin:0 0 14px;font-size:18px}.checkout-address-card{width:100%;min-height:82px;margin:0 0 18px;padding:14px 4px;border:0;border-bottom:1px dashed var(--line);display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;background:#fff;text-align:left;color:var(--ink)}.address-pin{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:var(--wine-soft);color:var(--wine)}.address-pin svg{width:18px}.checkout-address-copy{min-width:0}.checkout-address-copy strong,.checkout-address-copy small{display:block}.checkout-address-copy strong{font-size:16px}.checkout-address-copy small{margin-top:7px;color:var(--muted);font-size:14px;line-height:1.45}.checkout-address-card>b{font-size:25px;color:#aaa}.product-detail-action{grid-template-columns:1fr 1fr}.product-detail-action .detail-add-cart{border:1px solid var(--wine);border-radius:22px;background:#fff;color:var(--wine);font-size:15px;font-weight:800}.member-login-button{margin-left:auto;padding:8px 17px;border:1px solid rgba(255,255,255,.7);border-radius:18px;background:rgba(255,255,255,.13);color:#fff;font-weight:700}.login-register-link{width:100%;margin-top:12px;border:0;background:transparent;color:var(--wine);font-size:14px}.address-import-tip{margin:14px;padding:11px 14px;display:flex;align-items:center;gap:8px;border-radius:10px;background:#edf8f1;color:#39724c;font-size:13px}.address-import-tip svg{width:18px}.address-book-list{padding-bottom:92px}.address-item{padding:17px 15px;border:1px solid #eee;border-radius:14px;box-shadow:0 5px 18px rgba(55,38,30,.05)}.address-item strong{font-size:16px}.address-item small{font-size:14px}.address-page-actions{position:fixed;z-index:28;left:50%;bottom:69px;transform:translateX(-50%);width:min(100%,620px);padding:10px 14px;display:grid;grid-template-columns:1fr 1fr;gap:10px;background:rgba(255,255,255,.98);border-top:1px solid var(--line)}.wechat-address-button{min-height:45px;padding:0 14px;border:1px solid #16a463;border-radius:12px;background:#fff;color:#118450;font-size:14px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:6px}.wechat-address-button svg{width:19px}.wechat-address-button.full{width:100%;margin:10px 0 14px}.address-form-dialog{width:min(calc(100% - 24px),560px)!important}.address-form-dialog form label{font-size:14px}.address-form-dialog input,.address-form-dialog textarea{font-size:15px!important;padding:12px!important}.address-selector-card{position:absolute!important;left:50%!important;bottom:0!important;transform:translateX(-50%);width:min(100%,620px)!important;max-height:78vh!important;padding:0!important;border-radius:20px 20px 0 0!important;overflow:hidden;text-align:left!important}.address-selector-card header{height:58px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.address-selector-card header h2{margin:0;font-size:18px}.address-selector-card header button{border:0;background:transparent;font-size:28px;color:#777}.address-selector-list{max-height:calc(78vh - 130px);padding:8px 14px;overflow:auto}.address-choice{position:relative;width:100%;padding:15px 40px 15px 4px;border:0;border-bottom:1px solid #eee;background:#fff;text-align:left}.address-choice strong,.address-choice small{display:block}.address-choice strong{font-size:16px}.address-choice small{margin-top:7px;color:var(--muted);font-size:14px;line-height:1.5}.address-choice>b{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:24px;height:24px;display:grid;place-items:center;border:1px solid #ccc;border-radius:50%;color:#fff}.address-choice.selected>b{border-color:var(--wine);background:var(--wine)}.address-selector-actions{padding:10px 14px max(10px,env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1fr;gap:10px;border-top:1px solid var(--line);background:#fff}.orders-toolbar>span{align-self:center;font-weight:800}.order-actions{justify-content:flex-end}
