.home-banner-swiper{width:calc(100% - 18px);aspect-ratio:750/340;margin:9px 9px 0;border-radius:6px;overflow:hidden;background:#f2f2f2}
.home-banner-swiper .swiper-wrapper,.home-banner-swiper .swiper-slide{height:100%}
.home-banner-swiper .swiper-slide>img{display:block;width:100%;height:100%;object-fit:contain}
.home-banner-swiper .swiper-pagination{bottom:6px!important;display:flex;justify-content:center;gap:4px}
.home-banner-swiper .swiper-pagination-bullet{width:5px;height:5px;margin:0!important;background:#fff;opacity:.65;box-shadow:0 0 2px #0004;transition:width .2s}
.home-banner-swiper .swiper-pagination-bullet-active{width:15px;border-radius:4px;opacity:1}
.home-service{display:flex;justify-content:space-between;align-items:center;padding-top:8px;font-size:9px;color:var(--sub)}
.home-service span{display:flex;align-items:center;gap:4px}.home-service i{width:13px;color:var(--green)}
.home-service button{border:0;background:none;color:var(--green);font-size:9px}
.benefit-strip{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;margin-top:9px;padding:12px 5px}
.benefit-strip button{border:0;background:none;color:var(--ink);padding:0 2px;text-align:center}
.benefit-strip i{width:21px;height:21px;display:block;margin:0 auto 6px;color:var(--green)}
.benefit-strip strong,.benefit-strip span{display:block;white-space:nowrap}.benefit-strip strong{font-size:9px}.benefit-strip span{font-size:8px;color:var(--sub);margin-top:2px}
.home-categories{display:grid;grid-template-columns:repeat(5,1fr);gap:13px 3px;background:#fff;margin-top:9px;padding:14px 7px 13px}
.home-categories button{border:0;background:none;padding:0;color:var(--ink);text-align:center}
.home-categories em{display:block;font-size:9px;font-style:normal;margin-top:5px;white-space:nowrap}
.category-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;margin:auto}
.category-icon i{width:21px;height:21px}.tone-0{background:#e7f2ea;color:var(--green)}.tone-1{background:#fff0e9;color:#bd583b}.tone-2{background:#e9f2f6;color:#2e6c91}.tone-3{background:#fff5d9;color:#9a6919}.tone-4{background:#f0eafb;color:#70519b}
.home-features{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 9px 0}
.feature-card{height:118px;border:0;border-radius:6px;overflow:hidden;position:relative;padding:13px;background:#fff;text-align:left}
.feature-card small{font-size:8px;color:var(--green);font-weight:700}.feature-card h3{font-size:15px;margin:3px 0}.feature-card p{font-size:9px;color:var(--sub);margin:0}
.feature-card>img{position:absolute;width:86px;height:70px;object-fit:cover;right:0;bottom:0;border-radius:34px 0 0 0}
.new-card{background:linear-gradient(135deg,#edf7f1,#fff)}.rank-card{background:linear-gradient(135deg,#fff5df,#fff)}.rank-card small{color:var(--gold)}
.rank-stack{position:absolute;left:10px;right:8px;bottom:8px;display:grid;grid-template-columns:39px 13px 39px 13px;gap:3px;align-items:end;justify-content:end}
.rank-stack img{width:39px;height:39px;border-radius:4px;object-fit:cover}.rank-stack b{font-size:9px;color:var(--gold)}
.home-promo-swiper{width:calc(100% - 18px);height:auto;aspect-ratio:900/506;margin:9px 9px 0;border-radius:6px;overflow:hidden;background:#173b2b}.home-promo-swiper .swiper-wrapper{height:100%}.home-promo-slide{position:relative;height:100%;display:flex!important;align-items:center;justify-content:space-between;padding:18px;border:0;background-position:center;background-size:cover;color:#fff;text-align:left;overflow:hidden;cursor:pointer}.home-promo-slide:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,67,40,.96) 0%,rgba(9,67,40,.72) 52%,rgba(9,67,40,.12) 100%)}.home-promo-slide>span,.home-promo-slide>b{position:relative;z-index:1}.home-promo-slide>span{display:grid;max-width:72%;gap:6px}.home-promo-slide em{justify-self:start;padding:3px 6px;border-radius:3px;background:rgba(255,255,255,.2);font-size:8px;font-style:normal;font-weight:700}.home-promo-slide strong{font-size:18px;line-height:1.35}.home-promo-slide small{color:rgba(255,255,255,.85);font-size:9px}.home-promo-slide>b{align-self:flex-end;display:flex;align-items:center;gap:2px;margin-bottom:16px;padding:5px 7px;border:1px solid rgba(255,255,255,.56);border-radius:4px;font-size:8px;white-space:nowrap}.home-promo-slide>b svg{width:11px;height:11px}.home-promo-coupon{background-image:url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=900&h=506&q=84')}.home-promo-stores{background-image:url('https://images.unsplash.com/photo-1604719312566-8912e9227c6a?auto=format&fit=crop&w=900&h=506&q=84')}.home-promo-stores:before{background:linear-gradient(90deg,rgba(35,48,40,.96) 0%,rgba(35,48,40,.7) 52%,rgba(35,48,40,.1) 100%)}.home-promo-merchant{background-image:url('https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=900&h=506&q=84')}.home-promo-merchant:before{background:linear-gradient(90deg,rgba(126,20,10,.96) 0%,rgba(213,45,23,.72) 52%,rgba(94,8,7,.16) 100%)}.home-promo-swiper .swiper-pagination{left:18px!important;right:auto!important;bottom:14px!important;width:auto!important;display:flex;align-items:center;gap:4px}.home-promo-swiper .swiper-pagination-bullet{width:5px;height:5px;margin:0!important;background:rgba(255,255,255,.72);opacity:1;transition:width .2s}.home-promo-swiper .swiper-pagination-bullet-active{width:16px;border-radius:4px;background:#fff}.home-promo-slide:active{transform:scale(.998)}.home-promo-slide:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.hot-title{align-items:center;padding-top:17px}.hot-title small{font-size:8px;color:var(--red);font-weight:700}.hot-title h2{margin-top:1px}
.hot-products .product:before{content:"热销";position:absolute;left:7px;top:7px;z-index:1;background:var(--red);color:#fff;font-size:8px;padding:3px 5px;border-radius:3px}
.section-link{border:0;background:none;color:var(--sub);font-size:10px;padding:5px 0}
.new-hero{background:linear-gradient(90deg,rgba(20,92,57,.92),rgba(20,92,57,.22)),url('https://images.unsplash.com/photo-1619566636858-adf3ef46400b?auto=format&fit=crop&w=800&q=82') center/cover}
.rank-summary{margin:10px 10px 0;background:linear-gradient(135deg,#26372e,#4d5a53);color:#fff;border-radius:6px;padding:15px;display:flex;align-items:center;justify-content:space-between}
.rank-summary span,.rank-summary small{font-size:9px;color:#c9d1cc}.rank-summary strong{font-size:14px}
.profile-screen{background:#f1f3f1}.profile-hero{background:linear-gradient(145deg,#112a1d,#214d34);color:#fff;padding:18px 14px 50px}.profile-top{display:flex;justify-content:space-between;align-items:center}.profile-top .user{min-width:0}.profile-top .user strong{font-size:14px}.profile-top .user small{font-size:8px}.profile-tools{display:flex;gap:3px}.profile-tools button{width:30px;height:30px;border:0;background:transparent;color:#fff;padding:6px}.profile-tools i{width:19px}.member-card{margin-top:17px;background:linear-gradient(135deg,#f0f5f1,#dbe8df);color:#193225;border-radius:8px;padding:14px;border:1px solid rgba(255,255,255,.6);box-shadow:0 8px 22px rgba(0,0,0,.15)}.member-card button{border:0;background:rgba(255,255,255,.72);color:var(--green);border-radius:4px;padding:5px 7px;font-size:9px;display:flex;gap:4px;align-items:center}.member-card button i{width:13px}.member-brand{font-size:9px;font-weight:700;color:var(--green)}.member-card h2{font-size:20px;margin:13px 0 8px}.member-progress{height:4px;border-radius:2px;background:rgba(23,107,69,.14);overflow:hidden;margin-bottom:6px}.member-progress span{display:block;height:100%;background:var(--green)}.member-card small{font-size:8px;color:#56675e}.profile-content{margin-top:-37px;padding:0 9px 72px}.wallet-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border-radius:7px;padding:13px 4px;box-shadow:0 3px 14px rgba(28,50,38,.06)}.wallet-strip button{border:0;background:none;text-align:center;padding:0}.wallet-strip strong,.wallet-strip span{display:block}.wallet-strip strong{font-size:14px}.wallet-strip span{font-size:8px;color:var(--sub);margin-top:3px}.profile-panel{background:#fff;border-radius:7px;margin-top:9px;padding:13px 10px}.profile-panel header{display:flex;align-items:center;justify-content:space-between}.profile-panel h2{font-size:14px;margin:0}.profile-panel header>button{border:0;background:none;color:var(--sub);font-size:9px}.order-shortcuts{display:grid;grid-template-columns:repeat(5,1fr);margin-top:14px}.order-shortcuts button,.service-grid button{border:0;background:none;color:var(--ink);padding:3px 0}.order-shortcuts i,.service-grid i{display:block;margin:auto;width:21px}.order-shortcuts span,.service-grid span{display:block;font-size:9px;margin-top:6px}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px 5px;margin-top:15px}.frequent-section{padding-top:12px}.frequent-tabs{display:grid;grid-template-columns:1fr 1fr;margin:0 24px 10px}.frequent-tabs button{border:0;background:none;color:var(--sub);padding:8px;font-size:11px}.frequent-tabs button.active{color:var(--green);font-weight:700;border-bottom:2px solid var(--green)}.frequent-section .product-grid{padding:0}.frequent-section .product small{color:var(--gold)}
.rank-product{position:relative;display:grid;grid-template-columns:25px 78px 1fr;gap:9px;align-items:center;background:#fff;margin:0 10px;padding:12px 9px;border-bottom:1px solid var(--line)}
.rank-product:first-of-type{margin-top:9px;border-radius:6px 6px 0 0}.rank-product img{width:78px;height:78px;object-fit:cover;border-radius:4px}.rank-product>div>strong,.rank-product>div>small{display:block}.rank-product>div>strong{font-size:12px}.rank-product>div>small{font-size:9px;color:var(--sub);margin:4px 0 9px}.rank-product .add{right:9px;bottom:12px}.rank-no{font-size:20px;font-weight:700;color:#a7aea9;text-align:center}.rank-product:nth-of-type(1) .rank-no{color:#d79a22}.rank-product:nth-of-type(2) .rank-no{color:#83919a}.rank-product:nth-of-type(3) .rank-no{color:#aa7452}
.ranking-pagebar{display:grid;grid-template-columns:34px 1fr 36px;gap:6px}.ranking-pagebar>strong{text-align:center}.ranking-cart{width:34px;height:34px;display:grid;place-items:center;position:relative;color:var(--ink)}.ranking-cart svg{width:19px}.ranking-cart-badge{position:absolute;right:-1px;top:0;min-width:15px;height:15px;padding:0 4px;border:2px solid #fff;border-radius:8px;background:#d93632;color:#fff;font-size:8px;font-weight:700;line-height:11px;text-align:center}
.cart-flyer{position:fixed;width:42px;height:42px;z-index:9999;display:grid;place-items:center;overflow:hidden;border:2px solid #fff;border-radius:50%;background:var(--green);color:#fff;box-shadow:0 7px 18px rgba(17,54,34,.28);pointer-events:none;will-change:transform,opacity}.cart-flyer img{width:100%;height:100%;object-fit:cover}.cart-flyer svg{width:21px;height:21px}.cart-catch{animation:cart-catch-bump .4s cubic-bezier(.2,.8,.25,1)}.cart-catch .ranking-cart-badge{animation:cart-badge-pop .4s ease-out}@keyframes cart-catch-bump{0%,100%{transform:scale(1)}42%{transform:scale(1.24) rotate(-7deg)}72%{transform:scale(.94) rotate(3deg)}}@keyframes cart-badge-pop{0%,100%{transform:scale(1)}50%{transform:scale(1.38)}}@media(prefers-reduced-motion:reduce){.cart-flyer{display:none}.cart-catch,.cart-catch .ranking-cart-badge{animation-duration:.01ms}}
.profile-gift-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;background:#fff;border-radius:7px;margin-top:9px;padding:10px}.gift-service{min-width:0;min-height:126px;border:0;border-radius:7px;color:var(--ink);padding:11px 10px;text-align:left;display:flex;flex-direction:column;align-items:stretch}.gift-service-icon{width:43px;height:43px;border-radius:7px;display:grid;place-items:center;margin:0 0 14px}.gift-service-icon svg{width:24px;height:24px}.gift-service-title{display:flex;align-items:center;justify-content:space-between;gap:3px;min-width:0}.gift-service-title strong{min-width:0;font-size:12px;white-space:nowrap}.gift-service-title svg{width:15px;height:15px;flex:0 0 auto}.gift-service small{display:block;margin-top:6px;color:var(--sub);font-size:8px;line-height:1.45;overflow-wrap:anywhere}.gift-service.tone-0{background:#edf6fe}.gift-service.tone-0 .gift-service-icon{background:#dceeff;color:#346fb6}.gift-service.tone-0 .gift-service-title svg{color:#3479c7}.gift-service.tone-1{background:#fff9ee}.gift-service.tone-1 .gift-service-icon{background:#fff0d0;color:#b87308}.gift-service.tone-1 .gift-service-title svg{color:#c37a05}.gift-service.tone-2{background:#edf8f2}.gift-service.tone-2 .gift-service-icon{background:#d9f1e5;color:#137151}.gift-service.tone-2 .gift-service-title svg{color:#16815d}@media(max-width:350px){.profile-gift-services{gap:6px;padding:8px}.gift-service{min-height:122px;padding:10px 8px}.gift-service-icon{width:39px;height:39px;margin-bottom:12px}.gift-service-icon svg{width:22px;height:22px}.gift-service-title strong{font-size:11px}}
.order-shortcuts button:nth-child(4){position:relative}.order-shortcuts button:nth-child(4)::after{content:"41";position:absolute;top:-5px;left:calc(50% + 7px);min-width:16px;height:16px;display:grid;place-items:center;padding:0 4px;border:2px solid #fff;border-radius:9px;background:#df2f2f;color:#fff;font-size:8px;font-weight:700;line-height:1}

.profile-tools .profile-message-button{position:relative;overflow:visible}
.profile-user-entry{min-width:0;border:0;background:transparent;color:#fff;padding:0;text-align:left}.profile-user-entry>span{min-width:0}.profile-user-entry strong,.profile-user-entry small{display:block}.profile-user-entry strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-message-badge{position:absolute;top:0;right:-1px;min-width:14px;height:14px;padding:0 3px;border:2px solid var(--green2);border-radius:8px;background:#e94040;color:#fff;display:flex;align-items:center;justify-content:center;font-size:8px;font-weight:700;line-height:1}

.home-coupon-float{position:absolute;left:8px;right:8px;bottom:68px;z-index:18;min-height:47px;display:grid;grid-template-columns:minmax(0,1fr) 29px;overflow:hidden;border:1px solid #efd8cd;border-radius:6px;background:#fff7f3;box-shadow:0 6px 18px rgba(55,38,29,.16)}
.home-coupon-open{min-width:0;border:0;background:transparent;color:var(--ink);display:grid;grid-template-columns:31px minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 8px;text-align:left}
.home-coupon-mark{width:29px;height:29px;border-radius:5px;background:#e84f38;color:#fff;display:grid;place-items:center}.home-coupon-mark svg{width:17px;height:17px}.home-coupon-open>span:nth-child(2){min-width:0}.home-coupon-open strong,.home-coupon-open small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-coupon-open strong{font-size:11px}.home-coupon-open small{margin-top:2px;color:#8b7469;font-size:8px}.home-coupon-open em{border:1px solid #e89a87;border-radius:4px;padding:5px 7px;color:#c8402c;font-size:9px;font-style:normal;white-space:nowrap}
.home-coupon-dismiss{border:0;border-left:1px solid #f1e2db;background:transparent;color:#b69e93;display:grid;place-items:center}.home-coupon-dismiss svg{width:14px;height:14px}
.home-coupon-layer{position:absolute;inset:0;z-index:55;display:flex;align-items:flex-end;background:rgba(19,28,23,.55);backdrop-filter:blur(1px)}
.home-coupon-sheet{width:100%;max-height:76%;display:flex;flex-direction:column;overflow:hidden;border-radius:8px 8px 0 0;background:#f4f6f4;animation:home-coupon-sheet-in .22s ease-out}
.home-coupon-sheet>header{flex:0 0 51px;display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-bottom:1px solid #e4e8e5;background:#fff}.home-coupon-sheet>header span{display:grid}.home-coupon-sheet>header small{color:var(--green);font-size:8px;font-weight:700}.home-coupon-sheet>header strong{font-size:15px}.home-coupon-sheet>header button{width:31px;height:31px;border:0;background:transparent;color:#29352e;display:grid;place-items:center}.home-coupon-sheet>header svg{width:20px;height:20px}
.home-coupon-tabs{flex:0 0 39px;display:grid;grid-template-columns:repeat(3,1fr);padding:0 8px;background:#fff}.home-coupon-tabs button{position:relative;border:0;background:transparent;color:#667169;font-size:10px}.home-coupon-tabs button.active{color:var(--green);font-weight:700}.home-coupon-tabs button.active:after{content:"";position:absolute;left:32%;right:32%;bottom:0;height:2px;background:var(--green)}
.home-coupon-scope-note{flex:0 0 33px;display:flex;align-items:center;gap:5px;padding:0 11px;color:#6f7b74;font-size:8px}.home-coupon-scope-note svg{width:13px;height:13px;color:var(--green)}
.home-coupon-list{min-height:0;overflow:auto;padding:0 8px 8px}.home-coupon-list::-webkit-scrollbar{width:0}.home-coupon-offer{min-height:91px;display:grid;grid-template-columns:72px minmax(0,1fr) 58px;margin-bottom:7px;overflow:hidden;border:1px solid #e6e9e7;border-radius:7px;background:#fff}.home-coupon-value{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px 5px;border-right:1px dashed #e2d6d1}.home-coupon-offer.platform .home-coupon-value{background:#edf6f1;color:#16704d}.home-coupon-offer.store .home-coupon-value{background:#fff0ec;color:#d94730}.home-coupon-value strong{font-size:24px;line-height:1}.home-coupon-value strong small{font-size:11px}.home-coupon-value span{margin-top:6px;font-size:8px;white-space:nowrap}
.home-coupon-copy{min-width:0;display:flex;flex-direction:column;justify-content:center;padding:8px}.home-coupon-copy em{align-self:flex-start;margin-bottom:4px;padding:2px 4px;border-radius:3px;background:#f1f3f1;color:#66726b;font-size:7px;font-style:normal}.home-coupon-offer.platform .home-coupon-copy em{background:#e7f3ed;color:#176b49}.home-coupon-offer.store .home-coupon-copy em{background:#ffebe6;color:#ce452f}.home-coupon-copy strong,.home-coupon-copy span,.home-coupon-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-coupon-copy strong{font-size:10px}.home-coupon-copy span{margin-top:4px;color:#8a938e;font-size:8px}.home-coupon-copy small{margin-top:5px;color:#686f6b;font-size:7px}
.home-coupon-action{display:grid;place-items:center;padding:6px;border-left:1px dashed #eaded9}.home-coupon-action button{width:49px;min-height:29px;border-radius:4px;font-size:9px;font-weight:700}.home-coupon-action .claim{border:0;background:#e84f38;color:#fff}.home-coupon-action .use{border:1px solid var(--green);background:#fff;color:var(--green)}.home-coupon-sheet>footer{flex:0 0 35px;display:flex;align-items:center;justify-content:center;gap:5px;padding:0 8px;border-top:1px solid #e4e8e5;background:#fff;color:#7b8580;font-size:8px}.home-coupon-sheet>footer svg{width:13px;height:13px}
@keyframes home-coupon-sheet-in{from{transform:translateY(24px);opacity:.45}to{transform:translateY(0);opacity:1}}@media(max-width:350px){.home-coupon-float{left:5px;right:5px}.home-coupon-open{grid-template-columns:28px minmax(0,1fr)}.home-coupon-open em{display:none}.home-coupon-offer{grid-template-columns:65px minmax(0,1fr) 54px}.home-coupon-action button{width:45px}}@media(prefers-reduced-motion:reduce){.home-coupon-sheet{animation:none}}
