/* 电子表格目录改版：保留现有数据与交互，统一覆盖展示层。 */
:root{--accent:#ff7900;--ink:#333;--muted:#777;--line:#eee;--wash:#f7f7f7;--radius:8px}
body{font-family:Arial,"Microsoft YaHei",sans-serif;color:#333}.wrap{max-width:1440px;padding:0 24px}.topline{background:linear-gradient(100deg,#ff6900,#ff9328 48%,#ff6900);color:white;font-size:12px;padding:10px 16px;letter-spacing:.025em}.topline b{color:#fff}.header{box-shadow:0 4px 12px #8e53be14;border-bottom:0}.head-row{height:78px;gap:26px}.logo{gap:10px;letter-spacing:-.6px;font-size:24px}.logo-mark{transform:none;border-radius:50%;width:43px;height:43px;background:var(--accent);font-size:29px}.logo .logo-name{font-weight:800;line-height:1.05}.logo-name>span{color:var(--accent);font-weight:800!important}.logo-name small{display:block;color:#888;font-size:9px;letter-spacing:2px;margin-top:6px;font-weight:500}.nav{font-size:14px;font-weight:500;gap:24px;align-items:center}.nav-dropdown{position:relative}.nav-dropdown summary{cursor:pointer;list-style:none;white-space:nowrap;display:flex;align-items:center;gap:7px}.nav-chevron{flex-shrink:0;position:relative;top:-1px;transition:transform .16s ease}.nav-dropdown[open] .nav-chevron{transform:rotate(180deg)}.nav-dropdown summary::-webkit-details-marker{display:none}.dropdown-panel{position:absolute;top:35px;left:0;min-width:230px;padding:8px;background:#fff;box-shadow:0 6px 26px #0002;border:1px solid var(--line);border-radius:8px;max-height:65vh;overflow:auto;z-index:30}.dropdown-panel a{display:block;padding:9px 12px;border-radius:5px}.dropdown-panel a:hover{background:#fff3e8}.search{max-width:290px}.search input{background:#f5f5f5;border:0;padding:12px 42px 12px 20px}.head-actions{gap:8px}.contact-strip{padding:14px 20px;text-align:center;border-bottom:1px solid #eee;font-size:13px;color:#2175bf}.category-nav{padding-top:15px;padding-bottom:15px;gap:10px;max-width:1440px}.category-nav a{padding:7px 16px;border-radius:22px;background:#f8f8f8;color:#444;font-size:12px}.category-nav a.active,.category-nav a:hover{background:#fff0df;color:#c45100}.section{padding:40px 0 8px}.section-head{justify-content:center;align-items:center;position:relative;margin-bottom:24px}.section-head h2,.sheet-about h2{font-size:26px;letter-spacing:-.5px;margin:0}.section-head>.text-link{position:absolute;right:0}.section-head p{text-align:center}.category-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:22px}.category-card{padding:17px 10px 15px;border-radius:9px;box-shadow:0 2px 7px #0000000b;border:1px solid #eee}.category-card img{height:105px;object-fit:contain}.category-card b{font-size:14px;font-weight:500;margin-top:14px;overflow-wrap:anywhere}.category-placeholder{height:105px;display:grid;place-items:center;color:#d1d1d1;font-size:48px}.category-card:hover{transform:translateY(-2px);border-color:#ffbf85;box-shadow:0 4px 13px #ff790014}.product-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.product-card{padding:0 0 12px;border-radius:8px;overflow:hidden;box-shadow:0 2px 5px #00000009;border:1px solid #e9e9e9;background:#fff}.product-card:hover{box-shadow:0 4px 14px #0001}.product-picture{border-radius:0;background:#fff;overflow:hidden}.product-picture img{aspect-ratio:1;object-fit:contain;padding:8px;transition:transform .2s}.product-card:hover .product-picture img{transform:scale(1.025)}.product-card h3{font-size:13px;font-weight:400;line-height:1.5;margin:6px 12px 10px;min-height:39px}.product-meta{font-size:10px;margin:8px 12px 0;color:#999}.product-card .product-price{margin:0 12px;font-size:14px;color:#e96c00;font-weight:700}.save-btn{top:8px;right:8px;width:29px;height:29px;font-size:18px;background:#fffffff0;border:1px solid #eee}.how{gap:20px}.how>div{background:#fafafa;border:1px solid #eee;border-radius:8px;padding:24px}.step-number{color:#d65c00}.how h3{font-size:17px}.faq{margin:28px auto 12px;max-width:1000px}.faq details{border:1px solid #eee;border-radius:7px;padding:15px 20px;margin:10px 0;background:white}.faq summary{font-weight:600;cursor:pointer}.faq p{color:#777;font-size:14px}.sheet-about{padding:45px 0 20px}.sheet-about p{color:#777;line-height:1.9}.catalog-top{background:linear-gradient(115deg,#ff8500,#ff6b00);color:#fff;padding:24px;text-align:center;margin:8px 0 26px;border-radius:10px}.catalog-top h1{font-size:30px;margin:7px 0}.catalog-top .detail-note{color:#fff;margin:0;font-size:13px}.catalog-top .eyebrow{font-size:10px;letter-spacing:.12em;opacity:.85}.catalog-layout{display:block}.sidebar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:0 0 18px}.sidebar>h3{display:none}.sidebar>.side-link{display:none}.price-filter{border:0;padding:0;margin:0;display:flex;gap:12px;align-items:center}.price-filter h3{font-size:11px;letter-spacing:0;text-transform:none;margin:0}.range-inputs{width:190px;margin:0}.toolbar{padding:12px 0;border-top:1px solid #eee;font-size:12px}.toolbar select{border-radius:6px;padding:7px;border:1px solid #eee;background:white}.mobile-filter{display:none}.breadcrumbs{padding:20px 0;font-size:12px}.detail{border:1px solid #f0f0f0;border-radius:10px;padding:25px;gap:45px;box-shadow:0 1px 5px #00000005}.detail-content h1{font-size:25px;line-height:1.45;letter-spacing:0;margin:8px 0 12px}.detail-content>.product-price{font-size:30px;color:var(--accent);margin:12px 0}.detail-image{background:#fff;border-radius:8px}.detail-image img{background:#fff;object-fit:contain}.detail-note{font-size:12px}.platform-chip{border:1px solid #eee;background:#fff8f0;color:#a94b00;border-radius:5px}.detail-info{font-size:13px}.primary{background:var(--accent);border-radius:7px}.primary:hover{background:#e96c00}.footer{background:#f7f7f7;border-top:1px solid #eee;margin-top:48px;padding:32px 0 20px}.footer-top{grid-template-columns:1fr 200px;gap:50px}.footer-top p{font-size:12px;line-height:1.9;max-width:1000px;color:#777}.footer-top .logo{font-size:20px}.footer-bottom{font-size:11px}.floating-guide{position:fixed;right:18px;bottom:24px;width:56px;height:58px;background:white;border:2px solid var(--accent);border-radius:9px;box-shadow:0 2px 9px #0001;color:#e96c00;font-size:25px;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:15}.floating-guide small{font-size:8px;font-weight:800}dialog{border-radius:12px;border:0;max-width:560px;width:calc(100% - 32px)}.platform-list a:hover{background:#fff3e8}.pager .current{background:var(--accent);color:#fff}.content-page{max-width:900px;margin:auto;padding:45px 0}.content-page h1{font-size:32px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1500px){.catalog-layout .product-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(max-width:1150px){.head-row{gap:18px}.nav{gap:14px;font-size:12px}.logo{font-size:21px}.search{max-width:230px}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.category-grid{gap:16px}.category-card b{font-size:12px}.head-actions{gap:4px}}
@media(max-width:850px){.nav{display:none}.mobile-menu{display:grid}.search{max-width:none}.head-row{gap:15px}.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.detail{gap:24px;padding:18px}.detail-content h1{font-size:21px}.how{grid-template-columns:1fr}.section-head>.text-link{position:static}.section-head{flex-wrap:wrap;gap:12px}.footer-top{grid-template-columns:1fr;gap:20px}.menu-panel{padding-top:12px;padding-bottom:12px}.menu-panel a{margin-right:20px}}
@media(max-width:580px){.wrap{padding-left:14px;padding-right:14px}.topline{font-size:10px}.head-row{height:auto;min-height:74px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px;gap:12px}.logo{font-size:21px}.logo-mark{width:35px;height:35px;font-size:23px}.logo-name small{font-size:8px}.head-actions{margin-left:auto}.search{order:3;flex-basis:100%;width:100%}.contact-strip{font-size:11px;padding:10px}.category-nav{gap:6px;padding-top:12px;padding-bottom:12px}.category-nav a{padding:6px 12px;font-size:11px}.section{padding-top:30px}.section-head h2,.sheet-about h2{font-size:22px}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.category-card{padding:12px 6px}.category-card img,.category-placeholder{height:75px}.category-card b{font-size:11px;line-height:1.4;min-height:30px;margin-top:9px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-card h3{font-size:12px;margin-left:10px;margin-right:10px}.price-filter{flex-wrap:wrap;gap:7px}.price-filter h3{width:100%;margin-bottom:3px}.range-inputs{width:180px}.toolbar{flex-wrap:wrap}.catalog-top{padding:22px 14px}.catalog-top h1{font-size:26px}.catalog-top .detail-note{font-size:11px}.detail{grid-template-columns:1fr;padding:14px}.detail-content{position:static}.detail-image{display:flex;overflow:auto;scroll-snap-type:x mandatory;gap:10px}.detail-image img{flex:0 0 100%;width:100%;scroll-snap-align:start;aspect-ratio:1}.detail-content h1{font-size:22px}.footer-bottom{gap:12px;align-items:start;flex-direction:column}.floating-guide{right:10px;bottom:14px;width:45px;height:49px}.faq details{padding:13px}.faq summary{font-size:13px}.how>div{padding:18px}.content-page h1{font-size:27px}}
@media(prefers-reduced-motion:reduce){.category-card,.product-picture img,.nav-chevron{transition:none}}
/* 图库渐进增强：JS 关闭时仍展示全部图片。 */
.is-home>.category-nav{display:none}.faq h2{font-size:26px;text-align:center;margin:30px 0 22px}.sheet-about{max-width:1000px;margin:auto;text-align:center}.gallery-enhanced{display:block!important;overflow:visible!important}.gallery-enhanced>.gallery-slide[hidden]{display:none}.gallery-main{position:relative}.gallery-thumbs{display:flex;gap:8px;overflow:auto;padding:12px 2px}.gallery-thumbs button{flex:0 0 64px;width:64px;height:64px;padding:3px;border:1px solid #e5e5e5;background:#fff;border-radius:6px}.gallery-thumbs button[aria-pressed=true]{border:2px solid var(--accent)}.gallery-thumbs img{width:100%;height:100%;object-fit:contain}.gallery-enhanced>.gallery-slide{width:100%;height:auto;aspect-ratio:1;object-fit:contain}.gallery-status{display:block;text-align:center;font-size:11px;color:#888}.platform-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.platform-list a,.platform-list>.platform-unavailable{border:1px solid #eee;border-radius:7px;padding:18px 12px;margin:0;font-size:13px;min-height:64px}.modal-head h2{font-size:20px}.modal-body>p{font-size:13px;color:#777}.mobile-menu{flex-shrink:0}@media(max-width:580px){.platform-list{grid-template-columns:1fr}.faq h2{font-size:22px}.gallery-thumbs button{flex-basis:54px;width:54px;height:54px}.gallery-enhanced>.gallery-slide{flex:none}.footer{padding-bottom:60px}}
.detail-image .gallery-thumbs img{padding:0;margin:0;aspect-ratio:1;mix-blend-mode:normal}.gallery-enhanced>.gallery-slide{padding:8px;margin:0}.footer-top{display:grid}.how{background:transparent;padding:0;margin-top:24px}.detail{align-items:start}.detail-image{align-self:start}.sheet-about+.faq{margin-top:30px}@media(max-width:850px){.footer-top{display:grid;grid-template-columns:1fr}}@media(max-width:580px){.topline{padding:7px 12px}.topline b{display:block}.category-section .section-head{margin-bottom:18px}}

/* 第二轮细节：稳定文字布局、统一控件与减轻页面噪声。 */
.sheet-hero {
    --hero-surface: #202120;
    position: relative;
    display: grid;
    align-items: center;
    min-height: clamp(350px, 33vw, 480px);
    margin-top: 20px;
    overflow: hidden;
    border-radius: 15px;
    background: var(--hero-surface);
    color: #fcfaf7;
}
.sheet-hero-media {
    position: absolute;
    inset: 0 0 0 24%;
}
.sheet-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right 62%;
}
.sheet-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--hero-surface), #202120e8 15%, #20212075 37%, transparent 60%);
}
.sheet-hero-copy {
    position: relative;
    max-width: 560px;
    padding: 42px clamp(32px, 5vw, 76px);
}
.sheet-hero h1 {
    margin: 0;
    font-size: clamp(1.875rem, 1.25rem + 2.3vw, 3.5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.045em;
    text-wrap: balance;
}
.sheet-hero p {
    max-width: 33ch;
    margin: 20px 0 24px;
    color: #e9e4de;
    font-size: 16px;
    line-height: 1.55;
}
.sheet-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 20px;
}
.sheet-hero .primary {
    min-height: 46px;
    padding: 10px 16px;
    gap: 12px;
    color: #211b15;
    font-size: 14px;
}
.sheet-hero .primary:hover {background: #ffa24d; color: #211b15}
.sheet-hero-category {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    color: inherit;
    font-size: 14px;
    text-underline-offset: 4px;
}
.sheet-hero-category:hover {color: #fcfaf7; text-decoration: underline}
.sheet-hero-actions a:focus-visible {outline: 2px solid #fcfaf7; outline-offset: 3px}
#home-categories {scroll-margin-top: var(--masthead-height, 196px)}

@media (max-width: 640px) {
    .sheet-hero {
        grid-template-rows: clamp(160px, 47vw, 250px) auto;
        align-items: stretch;
        min-height: 0;
        margin-top: 12px;
    }
    .sheet-hero-media {position: relative; inset: auto}
    .sheet-hero-media img {object-position: center 72%}
    .sheet-hero-media::after {
        background: linear-gradient(180deg, transparent 66%, var(--hero-surface));
    }
    .sheet-hero-copy {padding: 2px 22px 22px}
    .sheet-hero p {margin: 12px 0 16px; font-size: 14px}
    .sheet-hero-actions {gap: 4px 14px}
    .sheet-hero .primary,.sheet-hero-category {font-size: 13px}
}

.buy-guide-demo {
    margin: 12px 0 0;
    border: 1px solid #e7ddd3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px #32231a0e;
}
.buy-guide-demo video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 960 / 544;
    border-radius: 11px 11px 0 0;
    background: #241f1d;
}
.buy-guide-demo figcaption {padding: 13px 16px 14px}
.buy-guide-video-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    color: #30251f;
}
.buy-guide-video-heading h1 {margin: 0; font-size: 1rem; line-height: 1.3}
.buy-guide-video-heading span {color: #60564e; font-size: .8125rem; font-variant-numeric: tabular-nums}
.buy-guide-demo figcaption p {margin: 5px 0 0; color: #60564e; font-size: .8125rem; line-height: 1.5}
.buy-guide #how-to-buy .section-head {justify-content: flex-start; margin-bottom: 16px}
.buy-guide .how {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    border: 1px solid #ede6de;
    border-radius: 12px;
}
.buy-guide .how > div {
    padding: 22px clamp(16px, 2.25vw, 30px);
    border: 0;
    border-radius: 0;
    background: transparent;
}
.buy-guide .how > div + div {border-left: 1px solid #ede6de}
.buy-guide .how .step-number {color: #a6430c}
.buy-guide .how p {color: #60564e; font-size: .875rem; line-height: 1.55}

@media (max-width: 760px) {
    .buy-guide .how {grid-template-columns: minmax(0, 1fr)}
    .buy-guide .how > div + div {border-left: 0; border-top: 1px solid #ede6de}
}

body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.nav>a,.nav-dropdown summary{white-space:nowrap;min-height:40px;display:flex;align-items:center}
.nav-home{gap:7px}.nav-home svg{flex-shrink:0;color:#686868}
.nav>a:hover,.nav-dropdown[open]>summary{color:#cc5c00}
.dropdown-panel{top:calc(100% + 9px);border-color:#ececec;padding:8px;box-shadow:0 12px 32px #25252512}
.dropdown-panel a{padding:10px 13px;min-height:40px}
.search input{min-height:44px;border:1px solid transparent;transition:border-color .15s,background .15s}
.search input:focus{background:#fff;border-color:#e7a46d;outline-offset:2px}
.search button{display:grid;place-items:center;width:36px;height:36px;right:4px;top:4px;padding:0;color:#686868;border-radius:50%}
.currency{min-height:36px;max-width:106px;cursor:pointer;border-radius:6px}
.icon-btn{flex-shrink:0}.saved-link:hover,.small-btn:hover{border-color:#efc39e;background:#fff8f2}
.category-card b{line-height:1.4;min-height:39px;display:flex;align-items:center;justify-content:center;overflow-wrap:normal}
.category-card{display:flex;flex-direction:column;align-items:center;justify-content:center}
.category-card img{flex-shrink:0}.category-placeholder{width:100%;color:#d6a575;background:#fffaf5;border-radius:7px}
.product-card{display:flex;flex-direction:column;position:relative;transition:border-color .16s,box-shadow .16s}
.product-picture{flex-shrink:0;border:0}.product-meta{letter-spacing:.05em;line-height:1.5}
.product-card>a:not(.product-picture){display:block}
.product-card h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.55;min-height:40px}
.product-card .product-price{margin-top:auto;padding-top:4px;gap:6px;flex-wrap:wrap;line-height:1.5}
.product-card:hover{border-color:#e6c5aa}.save-btn{width:32px;height:32px;display:grid;place-items:center;line-height:1;padding:0}
.section-head:has(>.text-link){justify-content:space-between}.section-head>.text-link{position:static;white-space:nowrap}
.section-head h2{line-height:1.3}.section-head p{line-height:1.7}.text-link{font-size:13px}
.primary,.secondary,.small-btn{min-height:40px;line-height:1.4}.primary{min-height:46px}
.price-filter h3{font-weight:600;color:#666}.range-inputs input{min-height:40px;background:#fff}
.toolbar{gap:14px;padding:16px 0}.toolbar label{display:flex;align-items:center;gap:9px;white-space:nowrap}
.toolbar select{min-height:40px;color:#444}.breadcrumbs{line-height:1.8;overflow-wrap:anywhere}
.detail-content{min-width:0}.detail-content h1{overflow-wrap:anywhere}.detail-content .eyebrow{line-height:1.7}
.detail-info{line-height:1.8}.detail-info h2{font-size:18px;letter-spacing:-.25px}
.source-options{border:1px solid #eee;border-radius:8px;scrollbar-width:thin;scrollbar-color:#d5d5d5 transparent}
.source-options table{width:100%;border-collapse:collapse}.source-options th{text-align:left;font-size:12px;color:#777;background:#fafafa;position:sticky;top:0;z-index:1}
.source-options td,.source-options th{padding:10px 12px}.source-options tbody tr:last-child td{border-bottom:0}
.source-options img{border-radius:5px;object-fit:contain}.gallery-thumbs{scrollbar-width:thin;scrollbar-color:#ddd transparent}
.gallery-status{margin-top:2px;font-variant-numeric:tabular-nums}.money{font-variant-numeric:tabular-nums}
.faq summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:14px;line-height:1.6}
.faq summary::-webkit-details-marker{display:none}.faq summary::after{content:'+';color:#9a9a9a;font-size:21px;font-weight:400;flex-shrink:0;line-height:1}
.faq details[open] summary::after{content:'−';color:#d56913}.faq details[open]{background:#fffdfb;border-color:#f0d8c2}.faq p{line-height:1.85;margin-bottom:3px}
.pager{flex-wrap:wrap;gap:8px}.pager .page-numbers{min-width:38px;min-height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px}
.footer{padding:40px 0 24px;background:#f8f8f8}.footer-top{grid-template-columns:minmax(0,1fr) auto;gap:56px;align-items:start}
.footer-top>div{min-width:0}.footer-top p{max-width:850px;line-height:1.9;margin:14px 0 0}.footer-top p strong{color:#555;font-weight:600}
.footer-links{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:6px 0 0;min-width:145px}
.footer-links a{white-space:nowrap;font-size:13px;line-height:1.7;padding:2px 0;color:#555}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;column-gap:24px;row-gap:10px;margin-top:28px;padding-top:20px;color:#777;line-height:1.7}
.footer-bottom>span:first-child{white-space:nowrap}.content-page{line-height:1.9}.content-page h1{line-height:1.25}.empty{padding:64px 20px;line-height:1.8}.empty h1,.empty h2{line-height:1.35}
@media(max-width:1050px){.head-row{flex-wrap:wrap;height:auto;min-height:78px;padding-top:13px;padding-bottom:13px;gap:12px 20px}.head-actions{margin-left:auto}.search{order:3;flex-basis:100%;max-width:none}.nav{margin-left:auto}.footer-top{gap:32px}}
@media(max-width:850px){.nav{display:none}.menu-panel a{display:inline-flex;align-items:center;min-height:40px}.footer-top{grid-template-columns:1fr}.footer-links{flex-direction:row;flex-wrap:wrap;gap:12px 24px;padding:0}.section-head:has(>.text-link){align-items:center}}
@media(max-width:580px){.head-row{gap:12px}.logo{font-size:19px;gap:8px}.logo-name small{font-size:7px;letter-spacing:1.7px}.logo-mark{width:32px;height:32px}.head-actions{gap:4px}.head-actions .icon-btn{width:32px;height:32px}.currency{font-size:11px;max-width:90px;padding:4px}.category-card b{min-height:32px;font-size:11px}.category-card{padding:12px 6px 9px}.product-card h3{font-size:12px;min-height:38px}.toolbar label{width:100%;justify-content:space-between}.toolbar select{max-width:72%}.catalog-top h1{font-size:25px;overflow-wrap:anywhere}.footer{padding:30px 0 22px}.footer-top{gap:24px}.footer-links{gap:10px 22px}.footer-bottom{align-items:flex-start;gap:10px;margin-top:22px}.section-head h2{font-size:21px}.section-head>.text-link{font-size:12px}.detail{padding:12px}.platform-list a{min-height:56px}.source-options td,.source-options th{padding:9px;font-size:12px}.source-options img{width:48px;height:48px}}
@media(prefers-reduced-motion:reduce){.product-card,.search input{transition:none}}
.detail-image{min-width:0;max-width:100%}.detail>*{min-width:0}
@media(max-width:580px){.detail{grid-template-columns:minmax(0,1fr)}}
@media(max-width:380px){.logo{font-size:16px;gap:6px}.logo-mark{width:28px;height:28px;font-size:21px}.logo-name small{font-size:6px;letter-spacing:1px}.head-row{gap:10px 6px}.head-actions{gap:2px}.currency{max-width:70px;font-size:10px;padding:2px}.head-actions .icon-btn{width:30px;height:30px}}
.platform-chip{text-decoration:none}.platform-chip:hover{background:#ffeddb;border-color:#e8bf9b}
/* 商品规格：款式图卡与尺码分组，减少重复规格行。 */
.variant-picker{margin:24px 0 20px;padding-top:20px;border-top:1px solid var(--line)}.variant-picker h2{font-size:17px;margin:0 0 18px}.variant-picker fieldset{border:0;padding:0;margin:0 0 22px;min-width:0}.variant-picker legend{font-size:13px;font-weight:700;margin-bottom:10px;padding:0}.variant-choice{font-weight:400;color:#777;overflow-wrap:anywhere}.variant-values{display:flex;flex-wrap:wrap;gap:8px;max-height:330px;overflow-y:auto;padding:3px}.variant-option{background:#fff;border:1px solid #ddd;border-radius:7px;min-width:44px;min-height:42px;padding:8px 13px;color:#333;position:relative}.variant-option.has-image{width:68px;padding:4px;flex:0 0 68px}.variant-option img{width:58px;height:58px;object-fit:contain}.variant-option.has-image span{display:block;font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:58px;padding:4px 0 1px}.variant-option:hover{border-color:#ffb07f;background:#fff8f2}.variant-option[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:#fff5eb;color:#b74b00}.variant-option:disabled{opacity:.35;background:#f5f5f5;text-decoration:line-through}.variant-result{padding:13px 15px;border:1px solid #f1dfcf;background:#fff8f1;border-radius:8px;font-size:12px;display:grid;gap:5px;overflow-wrap:anywhere}.variant-result strong{font-size:13px;color:#b34f0c}.variant-result.is-unavailable{background:#f7f7f7;border-color:#ddd}.variant-note{font-size:11px;color:#888;line-height:1.7;margin:10px 0}.platform-logo{width:28px;height:28px;object-fit:contain;border-radius:50%;background:white;flex:0 0 28px}.platform-name{display:flex;align-items:center;gap:11px;min-width:0}.platform-chip{display:inline-flex;align-items:center;gap:6px}.platform-chip .platform-logo{width:19px;height:19px;flex-basis:19px}.platform-list a{display:flex;align-items:center;justify-content:space-between;gap:12px}.gallery-enhanced>.variant-main[hidden]{display:none}.detail-image:has(.variant-main){display:block}.detail-image>.variant-main{width:100%;aspect-ratio:1;object-fit:contain}.detail-image>img[hidden]{display:none}@media(min-width:901px){.detail-image{align-self:start;position:sticky;top:20px}}@media(max-width:580px){.variant-values{max-height:275px;gap:7px}.variant-option.has-image{width:61px;flex-basis:61px}.variant-option img{width:51px;height:51px}.variant-option.has-image span{max-width:51px}.variant-picker{margin-top:18px}.variant-result{padding:12px}.platform-list{grid-template-columns:repeat(2,minmax(0,1fr))}.platform-list a,.platform-list>.platform-unavailable{padding:12px 9px;font-size:12px}.platform-name{gap:7px}.platform-logo{width:25px;height:25px;flex-basis:25px}}
.variant-option.image-missing span{white-space:normal;overflow-wrap:anywhere}.variant-option.image-missing{min-height:78px}.variant-option img[hidden]{display:none}
.platform-list>.platform-unavailable{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px}.platform-list>.platform-unavailable small{font-size:10px;padding-left:36px}

/* 品牌图片保持原始比例，窄屏下为币种和菜单保留空间。 */
.logo .brand-logo {display: block; inline-size: 48px; block-size: 48px; flex: none}
.logo .logo-name {color: #151515; font-size: 24px; font-weight: 700; letter-spacing: -.5px; white-space: nowrap}
.logo .brand-word {color: #1a537c; font-weight: inherit}
.footer .logo {width: fit-content}
@media(max-width:580px){.logo{gap:6px}.logo .brand-logo{inline-size:34px;block-size:34px}.logo .logo-name{font-size:20px}}

/* 首页顶部：横幅与导航整体吸顶，导航在页面中轴居中。 */
.site-masthead {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    box-shadow: 0 3px 16px #3535350b;
}
.latest-banner {
    background: linear-gradient(105deg, #38251e, #2b211c 65%, #38251e);
    border-bottom: 2px solid #eb8842;
}
.latest-banner-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    min-height: 76px;
    margin-inline: auto;
    padding-inline: clamp(14px, 2.4vw, 42px);
    gap: clamp(12px, 1.5vw, 26px);
}
.latest-banner-heading {padding-right: clamp(12px, 1.5vw, 26px); border-right: 1px solid #76503a; white-space: nowrap}
.latest-banner-heading strong {display: block; color: #ffb377; font-size: 18px; line-height: 1.1}
.latest-banner-heading > span {display: block; margin-top: 3px; color: #e8c9b3; font-size: 11px}
.latest-banner-scroll {min-width: 0; overflow-x: auto; scrollbar-width: none}
.latest-banner-track {display: flex; width: max-content; padding-block: 5px}
.latest-banner-group {display: flex; flex: none; width: max-content; min-width: 100vw; gap: 10px; padding-right: 10px}
.latest-banner-group[aria-hidden=true] {display: none}
.latest-find {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    flex: 1 0 auto;
    width: clamp(215px, 19vw, 330px);
    min-height: 54px;
    padding: 5px 9px 5px 5px;
    border: 1px solid #79543e;
    border-radius: 9px;
    background: #ffffff0b;
    color: #fff8f1;
}
.latest-find img {display: block; width: 42px; height: 42px; object-fit: cover; border-radius: 6px; background: #fff4e6}
.latest-find strong {display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 13px; line-height: 1.25; overflow-wrap: anywhere}
.latest-find > span {color: #ffb377; font-size: 13px}
.latest-find:hover,.latest-find:focus-visible {background: #573a2b; border-color: #f8ad78}
.latest-find:focus-visible {outline-offset: -3px; outline-color: #ffc89f}
.latest-banner-all {display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 7px 11px; border: 1px solid #a86b47; border-radius: 8px; color: #fff2e5; font-size: 13px; font-weight: 700; white-space: nowrap}
.latest-banner-all:hover {background: #ffe1c6; color: #422818}
@media (prefers-reduced-motion: no-preference) {
    .latest-banner-scroll:not(:has(:focus-visible)) {overflow: hidden}
    .latest-banner-scroll:not(:has(:focus-visible)) .is-moving {animation: recent-finds-roll 42s linear infinite}
    .latest-banner-scroll:not(:has(:focus-visible)) .latest-banner-group[aria-hidden=true] {display: flex}
    .latest-banner-scroll:active .is-moving {animation-play-state: paused}
    @keyframes recent-finds-roll {to {transform: translateX(-50%)}}
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .latest-banner-scroll:hover .is-moving {animation-play-state: paused}
}
.site-masthead .header {position: static; box-shadow: none; border-bottom: 1px solid #eee}
.site-masthead .head-row {display: grid; grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr); max-width: 1920px; height: 92px; gap: 28px; padding: 0 32px}
.site-masthead .nav {display: flex; justify-content: center; gap: 25px; font-size: 15px; margin: 0}
.header-tools {display: flex; align-items: center; justify-content: flex-end; gap: 18px; min-width: 0}
.header-tools .search {margin: 0; width: clamp(160px, 18vw, 290px); min-width: 130px; max-width: 290px; order: initial}
.header-tools .search input {font-size: 13px; padding-left: 16px}
.header-tools .head-actions {margin: 0; flex-shrink: 0}
.site-masthead .mobile-menu {display: none}
.agent-menu {width: 310px; max-height: min(65vh, 480px)}
.agent-entry {display: flex; align-items: center; gap: 12px; padding: 9px 12px}
.agent-entry {min-height: 43px}
.contact-strip {padding: 14px 20px; color: #2576c3; background: #fff; font-size: 14px}
.contact-strip a {display: inline-flex; gap: 9px; align-items: center; flex-wrap: wrap; justify-content: center}
.contact-strip a:hover {text-decoration: underline}
.contact-strip a > span:first-child {font-weight: 600}
@media (max-width: 1450px) and (min-width: 1051px) {
    .site-masthead .head-row {gap: 18px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding: 0 24px}
    .site-masthead .nav {gap: 18px; font-size: 14px}
    .header-tools {gap: 10px}
    .header-tools .search {width: 170px}
    .site-masthead .logo .logo-name {font-size: clamp(19px, 2vw, 24px)}
}
@media (max-width: 1050px) {
    .site-masthead .head-row {grid-template-columns: auto 1fr; height: auto; padding: 14px 24px; gap: 12px 20px}
    .site-masthead .nav {grid-column: 1 / -1; grid-row: 2; gap: 30px}
    .header-tools .search {width: 260px}
}
@media (max-width: 850px) {
    .latest-banner-inner {min-height: 64px; padding-inline: 10px; gap: 8px}
    .latest-banner-heading {padding-right: 8px}
    .latest-banner-heading strong {font-size: 13px}
    .latest-banner-heading > span {display: none}
    .latest-find {grid-template-columns: 36px minmax(0, 1fr) auto; width: clamp(172px, 50vw, 250px); min-height: 46px; gap: 6px}
    .latest-find img {width: 36px; height: 36px}
    .latest-find strong {font-size: 12px}
    .latest-banner-all {width: 34px; padding-inline: 0; min-height: 40px; font-size: 17px}
    .latest-banner-all > span:first-child {position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%)}
    .site-masthead .head-row {display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 16px}
    .site-masthead .head-row > .logo {margin-right: auto}
    .site-masthead .nav {display: none}
    .header-tools {display: contents}
    .header-tools .search {order: 3; flex: 0 0 100%; width: 100%; max-width: none}
    .site-masthead .mobile-menu {display: grid}
    .site-masthead .menu-panel {max-height: 35vh; overflow: auto; gap: 8px 18px; padding: 6px 16px 14px}
    .site-masthead .menu-panel a {margin: 0; padding: 6px 0; font-size: 13px}
    .contact-strip {font-size: 12px; padding: 12px 14px}
}
 .mobile-agent-menu summary {cursor: pointer; padding: 6px 0; font-size: 13px}
.mobile-agent-menu .agent-menu {width: 100%; max-height: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px}
.mobile-agent-menu[open] {flex-basis: 100%}

/* 栏目层级直接来自后台，分类页保留同站浏览路径。 */
.category-tree {list-style: none; padding: 0; margin: 0}
.category-tree a {display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 6px; font-size: 13px}
.category-tree a small {font-size: 11px; color: #888; font-variant-numeric: tabular-nums}
.category-tree a.active {background: #fff0e2; color: #a64600; font-weight: 700}
.category-tree .category-tree {padding-left: 14px; border-left: 1px solid #eee; margin: 3px 0 8px 12px}
.category-mega {width: min(740px, calc(100vw - 64px)); left: -100px; padding: 16px; max-height: min(65vh, 640px)}
.category-mega > .category-tree {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px}
.category-mega > .category-tree > li > a {font-weight: 700; border-bottom: 1px solid #eee; border-radius: 0}
.category-mega .category-tree .category-tree {padding-left: 0; margin-left: 0; border: 0}
.category-mega .category-all {color: #a64600; margin-bottom: 10px; padding: 8px 10px}
.breadcrumbs {display: flex; align-items: center; flex-wrap: wrap; gap: 9px}
.product-location {font-size: 12px; color: #888; margin: -8px 0 18px}
.subcategory-pills {display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 24px}
.subcategory-pills a {border: 1px solid #e6e6e6; border-radius: 7px; padding: 9px 14px; background: #fff; font-size: 13px}
.subcategory-pills a:hover {border-color: #ffae70; color: #a64600}
.subcategory-pills small {margin-left: 12px; color: #888}
.catalog-layout {display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 28px; margin-top: 24px}
.catalog-layout .sidebar {display: block; min-width: 0}
.sidebar > h3 {display: block; margin: 0 0 12px; font-size: 14px}
.sidebar > .side-link {display: flex; margin-bottom: 6px}
.sidebar > .category-tree {max-height: 56vh; overflow-y: auto; margin-bottom: 20px}
.sidebar .category-tree .category-tree {display: none}
.sidebar .category-tree li:has(a.active) > .category-tree {display: block}
.sidebar .price-filter {
    display: grid;
    gap: 12px;
    border-top: 1px solid #eee;
    padding: 14px 5px 6px;
}
.sidebar .price-filter h3 {margin: 0; font-size: 12px; line-height: 1.4}
.sidebar .range-inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin: 0;
}
.sidebar .range-inputs input {width: 100%; min-width: 0; padding: 8px}
.sidebar .price-filter button {width: 100%; min-height: 40px; margin: 0}
.catalog-layout .product-grid {grid-template-columns: repeat(4, minmax(0, 1fr))}
.mobile-categories summary {cursor: pointer; font-size: 13px; padding: 6px 0}
.mobile-categories[open] {flex-basis: 100%}
.mobile-categories > .category-tree {max-height: 30vh; overflow: auto}
.cart-link {position: relative}
.cart-count {position: absolute; top: -6px; right: -7px; background: #bd4f00; color: #fff; font-size: 10px; line-height: 18px; min-width: 18px; padding: 0 4px; border-radius: 10px}
.cart-add {margin: 12px 0 0; display: inline-flex; justify-content: center; font-size: 12px}
.detail-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 20px 0 18px;
}
.detail-actions > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    min-width: 0;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #e8e1db;
    border-radius: 9px;
    background: #fff;
    color: #51473e;
    font: inherit;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
}
.detail-actions > button svg {flex: none}
.detail-actions > button:not(:disabled):hover {background: #f8f4f0; border-color: #d6c8bb}
.detail-actions > button:focus-visible {outline: 2px solid #843e14; outline-offset: 2px}
.detail-actions > button:disabled {opacity: .55; cursor: not-allowed}
.detail-actions > :is(#buy-now, .cart-add) {min-height: 48px}
.detail-actions > #buy-now {background: #ff7900; border-color: #ff7900; color: #271506}
.detail-actions > #buy-now:not(:disabled):hover {background: #ff9135; border-color: #ff9135}
.detail-actions > .cart-add {background: #fff5eb; border-color: #f1c8a8; color: #8e3d0b}
.detail-actions > .cart-add:not(:disabled):hover {background: #ffead7; border-color: #e5a876}
.detail-actions > .save-btn-detail[aria-pressed=true] {background: #fff2f4; border-color: #eab9c2; color: #a32643}
.detail-actions > .save-btn-detail[aria-pressed=true] svg {fill: currentColor}
.cart-page {padding-top: 30px}
.cart-page h1 {font-size: 30px; margin: 0}
.cart-page .section-head {justify-content: space-between}
.cart-page .section-head p {text-align: left; color: #777; font-size: 13px}
.cart-layout {display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start}
.cart-row {display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 22px; padding: 22px 0; border-bottom: 1px solid #e8e8e8}
.cart-image {align-self: start; background: #f6f6f6; border-radius: 8px; overflow: hidden}
.cart-image img {width: 140px; height: 140px; object-fit: contain}
.cart-item-title {font-size: 17px; line-height: 1.5; font-weight: 600}
.cart-options {font-size: 12px; color: #777; margin: 8px 0}
.cart-unit-price {display: block; font-size: 18px; margin: 10px 0}
.cart-controls, .cart-purchase {display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px}
.cart-platform {padding: 9px; border: 1px solid #ddd; border-radius: 6px; background: #fff; max-width: 100%; font-size: 12px}
.cart-continue[aria-disabled=true] {opacity: .5; cursor: default}
.cart-warning {font-size: 12px; color: #9a4313}
.cart-feedback {padding: 12px 16px; background: #fff6ec; border-radius: 6px; font-size: 13px}
.cart-summary {border: 1px solid #eee; background: #fafafa; border-radius: 10px; padding: 22px; margin-top: 22px}
.cart-summary h2 {font-size: 17px; margin: 0 0 12px}
.cart-summary > strong {display: block; font-size: 30px}
.cart-summary > p {font-size: 13px; color: #666}
.cart-summary .text-link {display: block; margin-top: 20px}
@media(max-width:1050px) {
    .catalog-layout {grid-template-columns: 185px minmax(0, 1fr); gap: 20px}
    .catalog-layout .product-grid {grid-template-columns: repeat(3, minmax(0, 1fr))}
    .cart-layout {grid-template-columns: minmax(0, 1fr) 260px}
}
@media(max-width:850px) {
    .catalog-layout {display: block}
    .catalog-layout .sidebar {display: none}
    .catalog-layout .sidebar.open {display: block}
    .catalog-layout .mobile-filter {display: inline-block}
    .cart-layout {grid-template-columns: 1fr}
    .cart-summary {margin-top: 0}
}
@media(max-width:580px) {
    .catalog-layout .product-grid {grid-template-columns: repeat(2, minmax(0, 1fr))}
    .cart-row {grid-template-columns: 85px minmax(0, 1fr); gap: 14px}
    .cart-image img {width: 85px; height: 100px}
    .cart-item-title {font-size: 14px}
    .cart-page h1 {font-size: 25px}
    .cart-controls {gap: 8px}
    .cart-continue {font-size: 11px}
    .product-card .cart-add {margin: 8px 10px 12px}
}

/* 手机端按拇指操作重排：常用入口固定底部，导航与筛选各有独立滚动区域。 */
.mobile-tabs,.filter-sheet-heading {display: none}
@media(max-width:850px) {
    body {padding-bottom: calc(76px + env(safe-area-inset-bottom))}
    .site-masthead .head-row {display: flex; flex-wrap: wrap; height: auto; min-height: 0; padding: 8px 16px 10px; gap: 7px}
    .site-masthead .logo {font-size: 23px; gap: 7px}
    .site-masthead .logo .brand-logo {inline-size: 34px; block-size: 34px}
    .site-masthead .logo .logo-name {font-size: clamp(15px, 4.9vw, 21px)}
    .header-tools .head-actions {gap: 6px}
    .header-tools .head-actions > .cart-link,.header-tools .head-actions > .saved-link {display: none}
    .header-tools .search {flex: 0 0 100%; order: 3}
    .header-tools .search input {height: 42px; font-size: 16px; padding: 10px 44px 10px 16px; border-radius: 8px; background: #f4f5f6}
    .header-tools .search button {min-width: 44px; min-height: 42px}
    .site-masthead .icon-btn {width: 44px; height: 44px; font-size: 25px}
    .currency {font-size: 12px; min-height: 44px; max-width: 86px}
    .contact-strip {padding: 10px 16px; font-size: 11px}
    .contact-strip a {gap: 6px}
    .category-nav {gap: 7px; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none}
    .category-nav a {font-size: 12px; padding: 9px 14px; min-height: 36px; white-space: nowrap}
    .mobile-tabs {position: fixed; inset: auto 0 0; display: grid; grid-template-columns: repeat(4,1fr); padding: 7px 12px calc(7px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #ececec; box-shadow: 0 -4px 20px #00000006; z-index: 45}
    .mobile-tabs > a,.mobile-tabs > button {display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; min-height: 48px; border: 0; background: none; color: #777; font-size: 10px; font-family: inherit; cursor: pointer; padding: 0}
    .mobile-tabs svg {width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round}
    .mobile-tabs [aria-current=page],.mobile-tabs [aria-expanded=true] {color: #be5000; font-weight: 700}
    .mobile-tabs a > span:first-child {position: relative}
    .mobile-tabs [data-cart-count] {position: absolute; top: -5px; right: -10px; background: #c75100; color: white; min-width: 16px; height: 16px; border-radius: 9px; padding: 1px 4px; font-size: 9px; line-height: 14px}
    .site-masthead .menu-panel {position: fixed; inset: var(--masthead-height,160px) 0 calc(64px + env(safe-area-inset-bottom)); max-height: none; max-width: none; padding: 12px 20px 28px; display: block; background: white; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid #eee; z-index: 44}
    .site-masthead .menu-panel[hidden] {display: none}
    .site-masthead .menu-panel > a,.site-masthead .menu-panel > details > summary {display: block; padding: 15px 2px; min-height: 48px; font-size: 15px; border-bottom: 1px solid #f1f1f1}
    .mobile-categories > .category-tree {max-height: none; overflow: visible; padding: 8px 0}
    .mobile-categories .category-tree a {min-height: 44px; font-size: 14px}
    .mobile-categories .category-tree > li > a {font-weight: 600}
    .mobile-categories .category-tree .category-tree a {font-weight: 400; color: #666; font-size: 13px}
    .mobile-agent-menu .agent-menu {gap: 4px; padding: 12px 0}
    .mobile-agent-menu .agent-entry {padding: 10px 4px; font-size: 13px}
    body.navigation-open,body.filters-open {overflow: hidden}
    body.navigation-open .mobile-tabs {z-index: 46}
    body.navigation-open .mobile-tabs [aria-current=page] {color: #777; font-weight: 400}
    .section {padding-top: 30px}
    .section-head {justify-content: space-between; margin-bottom: 17px; gap: 8px}
    .section-head h2,.sheet-about h2 {font-size: 23px; letter-spacing: -.7px}
    .section-head > .text-link {font-size: 12px}
    .category-grid {grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px}
    .category-card {padding: 15px 10px; border: 1px solid #ededed; box-shadow: none; border-radius: 10px; background: #fafafa}
    .category-card img,.category-placeholder {height: 116px; width: 100%; mix-blend-mode: multiply}
    .category-card b {font-size: 13px; margin-top: 12px; min-height: 0; line-height: 1.4; font-weight: 600}
    .product-card {box-shadow: none; border-color: #eee; border-radius: 10px}
    .product-card h3 {font-size: 12px; line-height: 1.5; min-height: 36px; max-height: 36px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical}
    .product-card .save-btn {width: 40px; height: 40px; top: 6px; right: 6px; font-size: 23px}
    .product-card .product-price {font-size: 16px; color: #b94b00}
    .product-card .cart-add {display: flex; margin: 10px 10px 0; min-height: 40px; align-items: center; padding: 8px 6px; font-size: 11px; background: #fafafa; border-color: #eee}
    .catalog-top {background: none; color: #333; text-align: left; padding: 10px 0 17px; margin: 0; border-radius: 0}
    .catalog-top .eyebrow {display: none}
    .catalog-top h1 {font-size: 29px; letter-spacing: -.8px; margin: 0 0 8px}
    .catalog-top .detail-note {font-size: 12px; line-height: 1.6; color: #777; max-width: 310px}
    .breadcrumbs {padding: 13px 0; line-height: 1.6; flex-wrap: wrap; font-size: 11px}
    .subcategory-pills {padding: 0 0 16px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none}
    .subcategory-pills a {white-space: nowrap; min-height: 40px; padding: 10px 13px; font-size: 12px}
    .toolbar {display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-bottom: 14px; padding: 12px 0; align-items: center}
    .toolbar > span {grid-column: 1/-1; font-size: 12px; color: #777}
    .toolbar > label {display: flex; align-items: center; gap: 8px; font-size: 0; justify-content: flex-end}
    .toolbar select {font-size: 12px; min-height: 42px; max-width: 190px; padding: 9px 10px}
    .toolbar .mobile-filter {font-size: 12px; min-height: 42px; margin: 0; padding: 10px 16px; justify-self: start; background: #fafafa}
    body.filters-open::after {content: ''; position: fixed; inset: 0; background: #0006; z-index: 49}
    body.filters-open .site-masthead {z-index: 40}
    .catalog-layout .sidebar.open {display: block; position: fixed; inset: max(70px, 12vh) 0 0; padding: 0 20px calc(30px + env(safe-area-inset-bottom)); overflow-y: auto; border-radius: 18px 18px 0 0; background: #fff; z-index: 50; overscroll-behavior: contain}
    .filter-sheet-heading {display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; padding: 14px 0; background: #fff; border-bottom: 1px solid #eee; z-index: 1}
    .filter-sheet-heading strong {font-size: 17px}
    .filter-sheet-heading button {width: 44px; height: 44px; font-size: 27px}
    .sidebar > .category-tree {max-height: none; overflow: visible}
    .sidebar .category-tree .category-tree {display: none}
    .sidebar .category-tree li:has(a.active) > .category-tree {display: block}
    .sidebar .category-tree a {min-height: 44px; font-size: 14px}
    .sidebar .price-filter {padding-block: 16px 8px}
    .sidebar .range-inputs input {font-size: 16px; min-height: 44px}
    .sidebar .price-filter button {min-height: 44px; width: 100%; background: #ff7900; color: #fff}
    .detail {display: block; padding: 0; border: 0; box-shadow: none}
    .detail-image {border: 1px solid #eee; border-radius: 12px; padding: 8px; margin-bottom: 24px}
    .detail-content h1 {font-size: 22px; line-height: 1.4; letter-spacing: -.5px; margin: 9px 0}
    .detail-content > .product-price {font-size: 30px; color: #bd4f00}
    .detail-content .detail-note {font-size: 12px; line-height: 1.65}
    .variant-picker fieldset {margin-top: 20px}
    .variant-option {min-height: 44px; min-width: 44px; font-size: 13px}
    .detail-actions {
        position: fixed;
        inset: auto 0 calc(63px + env(safe-area-inset-bottom));
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) 44px 44px;
        gap: 6px;
        margin: 0;
        padding: 9px 12px;
        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 -4px 20px #2b21150d;
        z-index: 40;
    }
    .detail-actions > button {min-height: 46px; padding: 7px 4px; gap: 5px; font-size: .8125rem}
    .detail-actions > :is(#buy-now, .cart-add) {min-height: 46px}
    .detail-actions > :is(#buy-now, .cart-add) svg {width: 16px; height: 16px}
    .detail-actions .detail-action-label {display: none}
    html:has(.detail) {scroll-padding-bottom: calc(145px + env(safe-area-inset-bottom))}
    body:has(.detail) {padding-bottom: calc(145px + env(safe-area-inset-bottom))}
    .platform-inline {max-height: 190px; overflow-y: auto; padding-bottom: 8px}
    #platform-dialog {position: fixed; inset: auto 0 0; margin: 0; width: 100%; max-width: none; max-height: 85dvh; border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom)}
    #platform-dialog .modal-head {position: sticky; top: 0; background: white; z-index: 1; padding: 18px 20px; border-bottom: 1px solid #eee}
    #platform-dialog .modal-head h2 {font-size: 20px}
    #platform-dialog .modal-head button {min-width: 44px; min-height: 44px}
    #platform-dialog .modal-body {padding: 12px 20px 24px}
    .platform-list a,.platform-list > div {min-height: 54px}
    .cart-page {padding-top: 16px}
    .cart-page .section-head {display: block; margin-bottom: 12px}
    .cart-page .section-head > .text-link {display: inline-block; padding: 10px 0; min-height: 40px}
    .cart-page h1 {font-size: 29px; letter-spacing: -.7px}
    .cart-row {padding: 20px 0; gap: 14px}
    .cart-item-title {font-size: 14px; line-height: 1.5}
    .cart-controls button {min-height: 42px; font-size: 11px}
    .cart-purchase {display: grid; grid-template-columns: 1fr}
    .cart-platform {width: 100%; min-height: 44px; font-size: 13px}
    .cart-continue {min-height: 44px; text-align: center; padding: 12px}
    .cart-summary {border-color: #eee; padding: 20px; border-radius: 12px}
    .cart-summary > strong {font-size: 32px; letter-spacing: -.7px}
    .cart-summary > p {line-height: 1.7}
    .footer {margin-top: 32px}
    .footer-top p {line-height: 1.8}
    .toast {bottom: calc(145px + env(safe-area-inset-bottom)); max-width: calc(100vw - 32px); z-index: 80}
    .pager a,.pager span {min-width: 40px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center}
    :target {scroll-margin-top: 175px}
    .variant-picker {scroll-margin-top: 180px}
}
@media(prefers-reduced-motion:reduce) {*,*::before,*::after {scroll-behavior: auto!important; transition: none!important}}

@media(min-width:581px) and (max-width:850px) {
 .category-grid,.product-grid,.catalog-layout .product-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* 浏览商品时，让分类和筛选跟随页头，介绍区继续随正文滚动。 */
@media(min-height: 500px) {
    body:has(.catalog-layout) {
        --catalog-sticky-top: calc(var(--masthead-height, 196px) + var(--category-nav-height, 60px));
    }
    body:has(.catalog-layout) > .category-nav {
        position: sticky;
        top: var(--masthead-height, 196px);
        z-index: 35;
        background: #fff;
        border-bottom: 1px solid var(--line);
    }
    .catalog-layout .toolbar {
        position: sticky;
        top: var(--catalog-sticky-top);
        z-index: 30;
        background: #fff;
        border-bottom: 1px solid var(--line);
    }
}
@media(min-width: 851px) and (min-height: 500px) {
    .catalog-layout .sidebar {
        position: sticky;
        top: calc(var(--catalog-sticky-top) + 12px);
        align-self: start;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0;
        max-height: calc(100dvh - var(--catalog-sticky-top) - 24px);
        overflow-y: auto;
        overscroll-behavior-y: contain;
        scrollbar-width: thin;
    }
    .catalog-layout .sidebar > :not(.category-tree) {flex-shrink: 0}
    .catalog-layout .sidebar > .category-tree {min-height: 0; margin-bottom: 10px}
}
@media(max-width: 850px) and (min-height: 500px) {
    body:has(.catalog-layout) {--catalog-sticky-top: calc(var(--masthead-height, 180px) + var(--category-nav-height, 60px))}
    body:has(.catalog-layout) > .category-nav {top: var(--masthead-height, 180px)}
    .catalog-layout .toolbar {gap: 6px 12px; padding: 8px 0}
}

/* 列表缩略图贴齐卡片，详情图库仍显示完整原图。 */
.product-picture img {
    display: block;
    padding: 0;
    object-fit: cover;
    mix-blend-mode: normal;
}
.category-card {background: #fff}
.category-cover {
    flex: none;
    display: block;
    width: min(100%, 124px);
    aspect-ratio: 1;
    background-image: url("category-covers.jpg");
    background-repeat: no-repeat;
    background-size: 400% 300%;
    background-position: calc(var(--cover-column) * 100% / 3) calc(var(--cover-row) * 50%);
}
@media(max-width: 850px) {
    .category-cover {width: min(100%, 116px)}
}

.product-card {container-type: inline-size}
.product-card .product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    min-height: 44px;
}
.card-price-value {min-width: 0; overflow-wrap: anywhere}
.card-heat-preview {
    flex: none;
    display: inline-flex;
    align-items: center;
    margin-inline-start: auto;
    gap: 4px;
    color: #423c36;
    font-size: .875rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    white-space: nowrap;
}
.heat-preview-views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.heat-preview-views svg,.card-heat-flame {flex: none}
.card-heat-eye {color: #746d64}
.card-heat-flame {color: #de580e}
.detail-content > .product-price:has(.detail-heat-preview, .own-weidian-link) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
}
.own-weidian-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    max-width: 100%;
    padding: 6px 12px 6px 7px;
    border: 1px solid #e9b7be;
    border-radius: 10px;
    background: #fff7f8;
    color: #9b2338;
    font: inherit;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.25;
}
.own-weidian-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #f9dfe4;
}
.own-weidian-arrow {margin-inline-start: 2px; font-size: 1rem; line-height: 1}
.own-weidian-link:hover {background: #ffecef; border-color: #ce7c8b; color: #76172b}
.own-weidian-link:focus-visible {outline: 2px solid #93162a; outline-offset: 3px}
.detail-heat-preview {
    display: inline-grid;
    justify-items: end;
    gap: 3px;
    margin-inline-start: auto;
    color: #514941;
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1.2;
}
.detail-heat-stars {
    color: #ca5700;
    font-size: clamp(1rem, .95rem + .2vw, 1.125rem);
    letter-spacing: .08em;
    white-space: nowrap;
}
.product-card .cart-add {
    flex: none;
    align-items: center;
    gap: 4px;
    min-width: 44px;
    min-height: 44px;
    padding: 7px 9px;
    margin: 0;
    border: 1px solid #f2c6a5;
    border-radius: 8px;
    background: #fff5eb;
    color: #9e3c00;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1;
}
.product-card .cart-add:hover {background: #ffe8d4; border-color: #e8a46e}
.quick-add-plus {font-size: 20px; line-height: 1}
@container (max-width: 240px) {
    .product-price:has(.card-heat-preview) .quick-add-label {display: none}
}
@container (max-width: 185px) {
    .quick-add-label {display: none}
    .product-card .product-price:has(.card-heat-preview) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .product-price:has(.card-heat-preview) .cart-add {
        grid-column: 2;
        justify-self: end;
    }
}
.product-card .cart-add.is-added {background: #edf7ef; color: #225c3b; border-color: #bfdcca}
#toast a {color: inherit; text-decoration: underline; margin-left: 12px; white-space: nowrap}
.cart-agent-panel {
    grid-column: 1 / -1;
    display: grid;
    gap: 12px;
    padding: 20px;
    border: 1px solid #f2d8c1;
    border-radius: 12px;
    background: #fff9f2;
}
.cart-agent-heading {font-size: 15px}
.cart-agent-choices,.cart-agent-progress,.cart-agent-shortcuts {display: flex; flex-wrap: wrap; align-items: center; gap: 8px}
.cart-agent-picker {position: relative; width: min(100%, 244px)}
.cart-agent-picker summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 6px 14px;
    border: 1px solid #e5d5c6;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.cart-agent-picker summary::-webkit-details-marker {display: none}
.cart-agent-picker summary::after {content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); margin: -4px 2px 0 0}
.cart-agent-picker[open] summary::after {transform: rotate(225deg); margin-top: 4px}
#cart-agent-current,.cart-agent-menu button {display: flex; align-items: center; gap: 9px}
.cart-agent-menu {
    position: absolute;
    inset: calc(100% + 6px) auto auto 0;
    width: max(100%, 252px);
    max-width: calc(100vw - 58px);
    max-height: min(310px, 42dvh);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding: 5px;
    border: 1px solid #e9e0d8;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 30px #532d181c;
    z-index: 10;
}
.cart-agent-menu button {width: 100%; min-height: 42px; padding: 6px 9px; text-align: left; border: 0; border-radius: 6px; background: transparent; color: #292929; font-size: 14px}
.cart-agent-menu button[aria-pressed=true] {background: #ffeddd; color: #8e3500; font-weight: 700}
.cart-agent-menu button:enabled:hover {background: #fff3e8}
.cart-agent-menu button:focus-visible {outline-offset: -3px}
.cart-agent-menu button small {margin-left: auto; color: #69645f; font-size: 11px}
.cart-agent-menu .platform-logo,#cart-agent-current .platform-logo,.cart-continue .platform-logo {width: 24px; height: 24px; flex: none}
.cart-agent-shortcuts button {display: inline-flex; gap: 7px; align-items: center; min-height: 44px; padding: 7px 12px; background: #fff; font-weight: 600}
.cart-agent-shortcuts button[aria-pressed=true] {border-color: #e68b50; background: #ffeddd; color: #963c00}
.cart-agent-progress {min-height: 44px; column-gap: 14px}
.cart-agent-progress .primary {min-height: 44px; font-size: 13px; padding: 12px 16px}
.cart-agent-progress .primary[aria-disabled=true] {background: #f0e8e0; color: #746354; cursor: default}
#cart-progress {margin: 0; font-size: 13px; color: #685448}
.cart-items {display: grid; gap: 12px}
.cart-row {background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 14px}
.cart-summary {margin: 0}
.cart-purchase {display: flex; align-items: center; gap: 8px; margin: 0}
.cart-purchase .cart-continue {display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 11px; background: #fff2e6; border-color: #f2c6a5; color: #8e3500; font-size: 14px; line-height: 1.35; font-weight: 700; text-align: left}
.cart-state {display: inline-block; padding: 4px 9px; border-radius: 999px; background: #fff2de; color: #815020; font-size: 11px; line-height: 1.5; font-weight: 600}
.cart-state.is-opened {background: #eaf6ed; color: #225c3b}
@media (max-width: 580px) {
    .cart-agent-panel {padding: 14px}
    .cart-agent-picker,.cart-agent-shortcuts {width: 100%}
    .cart-agent-menu {max-width: 100%}
    .cart-agent-shortcuts {display: grid; grid-template-columns: repeat(2,minmax(0,1fr))}
    .cart-agent-shortcuts button {justify-content: center; padding-inline: 5px}
    .cart-controls .cart-purchase {flex: 0 0 100%}
}

.floating-help {
    position: fixed;
    inset: auto max(18px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) auto;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: transform .16s ease;
    z-index: 20;
}
.floating-help:hover {transform: translateY(-2px)}
.floating-help svg {width: 44px; height: 44px; filter: drop-shadow(0 2px 3px #0002)}
@media (max-width: 850px) {
    .floating-help {right: max(10px, env(safe-area-inset-right)); bottom: calc(74px + env(safe-area-inset-bottom))}
    .floating-help svg {width: 36px; height: 36px}
    body:has(.detail) .floating-help {bottom: calc(141px + env(safe-area-inset-bottom))}
    body.navigation-open .floating-help,body.filters-open .floating-help {visibility: hidden}
}
@media (prefers-reduced-motion: reduce) {
    .floating-help {transition: none}
    .floating-help:hover {transform: none}
}
