:root {
    --brown:#75492f;
    --brown-dark:#402412;
    --orange:#ff9d00;
    --red:#ff4c3d;
    --muted:#929292;
    --surface:#fff;
    --page:#f6f6f6;
    --radius:20px
}
* {
    box-sizing:border-box
}
html {
    scroll-behavior:smooth;
    scroll-padding-top:24px
}
body {
    margin:0;
    color:#252525;
    background:var(--page);
    font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;
    font-size:16px;
    line-height:1.6
}
button,input,select,textarea {
    font:inherit
}
a {
    color:inherit;
    text-decoration:none
}
button,a,input,select,summary {
    touch-action:manipulation
}
button {
    cursor:pointer
}
img {
    display:block;
    max-width:100%;
    height:auto
}
h1,h2,h3,h4,p,figure,dl,dd {
    margin:0
}
button {
    border:0
}
svg {
    width:20px;
    height:20px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.6;
    stroke-linecap:round;
    stroke-linejoin:round;
    flex-shrink:0
}
[hidden] {
    display:none!important
}
:focus-visible {
    outline:3px solid #b47134;
    outline-offset:4px
}
.sr-only {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0
}
.skip-link {
    position:fixed;
    left:12px;
    top:-100px;
    z-index:99;
    background:white;
    padding:12px
}
.skip-link:focus {
    top:8px
}
.site-header {
    padding:40px 40px 0;
    background:linear-gradient(180deg,#f4eddd 0,transparent 110px)
}
.brand-line {
    max-width:1800px;
    position:relative;
    margin:0 auto 42px;
    min-height:65px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px
}
.store-brand {
    flex-shrink:0
}
.store-brand img {
    width:207px
}
.brand-tagline {
    width:278px
}
.admin-entry {
    position:absolute;
    right:0;
    top:-10px;
    display:flex;
    align-items:center;
    gap:5px;
    border:1px solid var(--brown);
    border-radius:16px 0 16px 0;
    padding:2px 10px;
    color:var(--brown);
    font-size:18px;
    line-height:1.5
}
.admin-entry img {
    width:18px
}
.search-form {
    width:min(1020px,100%);
    height:76px;
    border:1px solid #a68670;
    border-radius:50px;
    display:flex;
    align-items:center;
    background:#fff;
    margin:0 auto;
    gap:28px;
    padding:7px 14px 7px 30px
}
.search-form input {
    border:0;
    outline:none;
    min-width:0;
    flex:1;
    background:transparent;
    font-size:20px
}
.search-form button {
    background:var(--brown);
    color:white;
    border-radius:40px;
    min-width:158px;
    height:58px;
    font-size:24px
}
.search-form button:hover {
    background:var(--brown-dark)
}
.filter-form {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
    max-width:1200px;
    margin:26px auto 36px;
    position:relative;
    z-index:3
}
.filter-form select {
    max-width:190px;
    min-width:95px;
    background:transparent;
    border:0;
    color:#252525;
    font-size:18px;
    padding:7px 20px 7px 5px
}
.filter-submit,.secondary-button {
    border:1px solid #dbcec4;
    border-radius:8px;
    padding:6px 18px;
    background:#fff;
    color:var(--brown)
}
.reset-filters {
    font-size:14px;
    color:var(--brown);
    text-decoration:underline
}
.price-filter {
    position:relative
}
.price-filter summary {
    cursor:pointer;
    list-style:none;
    padding:7px 22px 7px 8px;
    font-size:18px
}
.price-filter summary:after {
    content:"";
    position:absolute;
    right:4px;
    top:15px;
    width:8px;
    height:8px;
    border-right:1px solid #777;
    border-bottom:1px solid #777;
    transform:rotate(45deg)
}
.price-fields {
    position:absolute;
    top:46px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    align-items:center;
    gap:8px;
    width:290px;
    border:1px solid #eadfd4;
    border-radius:12px;
    padding:14px;
    background:white;
    box-shadow:0 6px 18px #5e40221a
}
.price-fields input {
    width:110px;
    border:1px solid #ddd;
    border-radius:6px;
    padding:7px
}
.desktop-nav {
    width:min(1240px,100%);
    margin:26px auto 0;
    min-height:74px;
    display:flex;
    align-items:stretch;
    justify-content:center;
    gap:70px;
    background:linear-gradient(#7c4d30,#3b210f);
    border-radius:20px 20px 0 0;
    color:#fff
}
.desktop-nav a {
    padding:19px 20px;
    position:relative;
    font-size:22px
}
.desktop-nav a.active {
    color:var(--orange);
    font-weight:600
}
.desktop-nav a.active:after {
    content:"";
    position:absolute;
    bottom:6px;
    left:50%;
    width:42px;
    height:6px;
    background:var(--orange);
    border-radius:20px;
    transform:translateX(-50%)
}
.store-main {
    max-width:1400px;
    width:calc(100% - 80px);
    margin:0 auto;
    min-height:50vh
}
.home-feature {
    display:grid;
    grid-template-columns:1.8fr 1fr;
    gap:42px;
    background:linear-gradient(155deg,#f9e6d4,#fff 75%);
    padding:26px 22px;
    border-radius:var(--radius)
}
.hero-carousel {
    position:relative;
    min-width:0;
    align-self:center;
    border-radius:7px;
    overflow:hidden;
    aspect-ratio:355 / 160.5;
    background:transparent;
}
.hero-track {
    display:flex;
    height:100%;
    touch-action:pan-y pinch-zoom;
    transition:transform .3s ease;
}
.hero-track.is-jump { transition:none; }
.hero-slide { flex:0 0 100%; min-width:0; }
.hero-slide a,.hero-slide img { display:block; width:100%; height:100%; }
.hero-slide img { object-fit:cover; object-position:center; }
@media (prefers-reduced-motion:reduce) {
    .hero-track { transition:none; }
}
.brand-hero {
    height:100%;
    position:relative;
    isolation:isolate;
    overflow:hidden;
    padding:28px 42px;
    background:radial-gradient(circle at 90% 20%,#b58b50,transparent 50%),linear-gradient(120deg,#312217,#70462e);
    color:#fff2d5
}
.brand-hero:after {
    content:"";
    position:absolute;
    z-index:-1;
    border:1px solid #d7af6c55;
    width:450px;
    height:450px;
    border-radius:50%;
    right:-100px;
    bottom:-290px;
    box-shadow:0 0 0 35px #d7af6c0b,0 0 0 70px #d7af6c08
}
.brand-hero>span {
    font-size:15px;
    letter-spacing:6px;
    opacity:.75
}
.brand-hero h1 {
    font-size:clamp(28px,3.2vw,58px);
    line-height:1.4;
    margin-top:8px;
    letter-spacing:4px
}
.brand-hero p {
    margin-top:8px;
    opacity:.8
}
.brand-hero>a {
    display:inline-flex;
    align-items:center;
    gap:24px;
    border-bottom:1px solid #dec69b;
    margin-top:20px;
    padding-bottom:5px
}
.carousel-controls {
    position:absolute;
    bottom:6px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    align-items:center;
    gap:3px;
    padding:0 12px;
}
.carousel-controls button {
    display:grid;
    place-items:center;
    width:16px;
    height:20px;
    padding:0;
    border:0;
    background:transparent;
}
.carousel-controls button::before {
    content:"";
    width:5px;
    height:5px;
    border-radius:999px;
    background:rgba(255,255,255,.5);
    transition:width .2s ease, background-color .2s ease;
}
.carousel-controls button[aria-pressed=true]::before {
    width:13px;
    background:#fff;
}
.home-news {
    min-width:0;
    padding:12px 8px 0 0
}
.section-heading,.listing-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px
}
.section-heading h2 {
    color:var(--brown);
    font-size:24px;
    position:relative;
    padding-bottom:14px
}
.home-news .section-heading h2:after {
    content:"";
    width:40px;
    height:5px;
    background:var(--brown);
    position:absolute;
    bottom:0;
    left:30px;
    border-radius:10px
}
.section-heading>a {
    display:flex;
    align-items:center;
    font-size:14px;
    color:#888;
    white-space:nowrap
}
.section-heading>a svg {
    width:16px
}
.news-row {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:23px 0;
    border-bottom:1px dashed #ddd
}
.news-row>div {
    min-width:0
}
.news-row h3,.news-row h2 {
    font-size:19px;
    font-weight:500;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap
}
.news-row time {
    display:block;
    color:var(--muted);
    font-size:16px;
    margin-top:5px
}
.news-row svg {
    color:var(--brown);
    width:20px;
    height:24px
}
.news-row:hover h2,.news-row:hover h3 {
    color:var(--brown)
}
.news-empty {
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    min-height:230px;
    color:#888;
    gap:18px
}
.news-empty a {
    color:var(--brown);
    font-size:14px
}
.goods-section {
    margin:38px 0 54px
}
.listing-heading {
    margin-bottom:22px;
    color:#888;
    font-size:14px
}
.listing-heading h1,.listing-heading h2 {
    font-size:22px;
    color:#333;
    font-weight:500
}
.listing-heading a {
    color:var(--brown)
}
.goods-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:32px 24px
}
.goods-card {
    background:white;
    border-radius:var(--radius);
    overflow:hidden;
    min-width:0;
    transition:box-shadow .18s,transform .18s
}
.goods-card:hover {
    box-shadow:0 8px 24px #40241212;
    transform:translateY(-3px)
}
.card-cover {
    display:block;
    aspect-ratio:2/1;
    background:#eee;
    overflow:hidden;
    border-radius:var(--radius)
}
.card-cover img {
    width:100%;
    height:100%;
    object-fit:cover
}
.image-placeholder {
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#e9dfd3,#f4eee7);
    color:#9f8066;
    width:100%;
    height:100%;
    font-size:16px
}
.card-body {
    padding:15px 20px 18px
}
.card-body h2 {
    font-size:20px;
    line-height:1.6;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    font-weight:500
}
.card-summary {
    font-size:15px;
    color:#aaa;
    margin-top:10px;
    line-height:1.6;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    min-height:48px;
    overflow-wrap:anywhere
}
.card-subtitle {
    color:#f49a16;
    font-size:15px;
    line-height:1.6;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis
}
.card-bottom {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:14px
}
.goods-price {
    font-size:42px;
    font-weight:700;
    color:var(--red);
    line-height:1.1;
    white-space:nowrap
}
.goods-price small {
    font-size:22px;
    margin-right:5px;
    font-weight:500
}
.gradient-button {
    background:linear-gradient(110deg,#ff902e,#ff3d3c);
    color:white;
    border-radius:30px;
    padding:10px 26px;
    font-size:16px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    line-height:1.5;
    font-weight:500;
    white-space:nowrap
}
.gradient-button:hover {
    filter:brightness(.96)
}
.empty-state {
    padding:85px 24px;
    background:white;
    border-radius:20px;
    text-align:center;
    color:#929292
}
.empty-state h1,.empty-state h2 {
    font-size:24px;
    color:#554131;
    font-weight:500;
    margin-bottom:12px
}
.empty-state a {
    display:inline-block;
    color:var(--brown);
    margin-top:22px
}
.empty-state .gradient-button {
    color:#fff
}
.search-result {
    margin:-5px 0 22px;
    color:#888
}
.pagination {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    padding:55px 0 8px
}
.pagination a,.pagination span {
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    border-radius:50%;
    background:#f3f3f3
}
.pagination .current {
    color:white;
    background:var(--brown)
}
.pagination a:hover {
    background:#eadfd6
}
.site-footer {
    background:#1d1d1d;
    color:#999;
    text-align:center;
    padding:30px 20px;
    font-size:12px
}
.mobile-nav,.mobile-detail-header {
    display:none
}
.product-hero {
    background:linear-gradient(145deg,#fae5d3,#fff 80%);
    padding:34px 40px;
    border-radius:20px;
    display:grid;
    grid-template-columns:1fr 1.08fr;
    align-items:center;
    gap:42px
}
.product-cover {
    aspect-ratio:2/1;
    border-radius:16px;
    overflow:hidden;
    background:#e8e0d6
}
.product-cover a,.product-cover img {
    width:100%;
    height:100%;
    object-fit:cover
}
.product-intro h1 {
    font-size:28px;
    font-weight:600;
    line-height:1.5;
    margin:20px 0 12px;
    overflow-wrap:anywhere
}
.product-intro .goods-price {
    display:inline-block
}
.original-price {
    color:#999;
    margin-left:14px
}
.product-intro .card-summary {
    display:block;
    min-height:0;
    -webkit-line-clamp:unset;
    overflow:visible;
    font-family:inherit;
}
.product-intro .card-subtitle {
    display:block;
    white-space:normal;
    overflow:visible;
    -webkit-line-clamp:unset;
}
.product-actions {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:20px
}
.product-actions .secondary-button {
    border-radius:30px;
    background:transparent
}
.source-note {
    color:#999;
    font-size:12px;
    margin-top:12px
}
.account-info {
    margin-top:26px;
    background:white;
    padding:30px 36px 45px;
    border-radius:20px
}
.account-heading {
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:20px
}
.account-heading h2 {
    font-size:22px;
    font-weight:600
}
.account-heading>span {
    font-size:13px;
    color:#aaa
}
.account-meta {
    font-size:15px;
    color:#777;
    margin-top:8px
}
.section-tabs {
    display:flex;
    gap:34px;
    overflow-x:auto;
    border-bottom:1px solid #eee;
    white-space:nowrap;
    margin:35px 0 18px;
    scrollbar-width:thin
}
.section-tabs a {
    padding:12px 0;
    color:#555;
    position:relative;
    flex-shrink:0;
    font-size:18px
}
.section-tabs a.active {
    color:#ef9800;
    font-weight:600
}
.section-tabs a.active:after {
    content:"";
    height:3px;
    background:#ff9d00;
    position:absolute;
    bottom:0;
    left:0;
    right:0
}
.account-section {
    border-bottom:1px solid #eee;
    padding:24px 0;
    scroll-margin-top:20px
}
.account-section .section-heading {
    margin-bottom:20px
}
.account-section h3 {
    font-size:18px;
    font-weight:600
}
.account-section h3 small {
    color:#aaa;
    font-size:12px;
    font-weight:400;
    margin-left:12px
}
.section-more {
    font-size:13px!important
}
.section-gallery {
    display:grid;
    grid-template-columns:repeat(8,minmax(0,1fr));
    gap:20px
}
.section-gallery figure {
    min-width:0;
    text-align:center
}
.section-gallery img {
    width:100%;
    aspect-ratio:1/1;
    object-fit:contain;
    border-radius:7px;
    background:#f6f4f1
}
.section-gallery figcaption {
    font-size:15px;
    overflow-wrap:anywhere;
    margin-top:6px
}
.section-gallery figcaption strong {
    font-weight:500
}
.section-gallery figcaption span {
    display:block;
    color:#999;
    font-size:12px
}
.attribute-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:26px 20px;
    background:#fafafa;
    padding:24px;
    border-radius:12px;
    text-align:center
}
.attribute-grid dt {
    color:#999;
    font-size:14px
}
.attribute-grid dd {
    margin-top:3px;
    font-size:19px;
    overflow-wrap:anywhere
}
.section-text {
    color:#555;
    line-height:1.9
}
.section-text>div+div {
    margin-top:18px
}
.section-text h4 {
    font-weight:500;
    color:#444
}
.section-text p {
    overflow-wrap:anywhere;
    white-space:normal
}
.table-scroll {
    overflow:auto
}
.attribute-table {
    border-collapse:collapse;
    width:100%;
    text-align:left;
    table-layout:fixed
}
.attribute-table th,.attribute-table td {
    padding:12px 16px;
    border:1px solid #eee;
    overflow-wrap:anywhere
}
.attribute-table th {
    font-weight:500;
    background:#faf8f5;
    width:30%
}
.attribute-table thead th {
    color:var(--brown)
}
.attribute-table td small {
    display:block;
    color:#999;
    margin-top:6px
}
.product-gallery {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
    margin-top:20px
}
.product-gallery img {
    width:100%;
    height:180px;
    object-fit:cover;
    border-radius:10px
}
.recommendations>h2 {
    display:flex;
    align-items:center;
    gap:14px;
    font-size:28px;
    margin-bottom:32px
}
.news-panel {
    background:#fff;
    border-radius:20px;
    padding:35px 45px;
    margin:30px 0 70px;
    min-height:400px
}
.news-panel>h1 {
    font-size:26px;
    color:var(--brown);
    margin-bottom:15px
}
.news-panel .news-row {
    padding:25px 0
}
.news-row p {
    font-size:15px;
    color:#aaa;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    margin-top:6px
}
.article {
    max-width:1100px;
    margin-left:auto;
    margin-right:auto
}
.article h1 {
    margin-top:24px;
    color:#333
}
.article-meta {
    color:#999;
    font-size:14px;
    border-bottom:1px solid #eee;
    padding-bottom:24px
}
.article-content {
    padding:30px 0;
    line-height:2;
    overflow-wrap:anywhere
}
.back-link {
    color:var(--brown);
    font-size:14px
}
.missing {
    margin:40px 0
}
.muted,.detail-empty {
    color:#999
}
.detail-empty {
    padding:40px 0;
    text-align:center
}
.store-toast {
    position:fixed;
    z-index:30;
    left:50%;
    bottom:100px;
    transform:translateX(-50%);
    background:#33281fef;
    color:white;
    border-radius:12px;
    padding:12px 24px;
    max-width:90vw
}
.image-dialog {
    border:0;
    border-radius:12px;
    padding:50px 18px 18px;
    background:#fff;
    max-width:94vw;
    max-height:94vh
}
.image-dialog::backdrop,.copy-dialog::backdrop {
    background:#000a
}
.image-dialog>img {
    max-height:80vh;
    max-width:88vw;
    object-fit:contain
}
.image-dialog>button {
    position:absolute;
    right:14px;
    top:10px;
    color:var(--brown);
    background:#f5eee7;
    padding:5px 16px;
    border-radius:8px
}
.copy-dialog {
    border:0;
    border-radius:16px;
    padding:24px;
    width:min(600px,90vw)
}
.copy-dialog h2 {
    font-size:20px
}
.copy-dialog p {
    color:#888;
    margin:8px 0
}
.copy-dialog textarea {
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:8px
}
.copy-dialog>button {
    background:var(--brown);
    color:#fff;
    border-radius:6px;
    margin-top:12px;
    padding:7px 24px
}
@media(min-width:641px) and (max-width:1100px) {
    .site-header {
        padding-top:30px
    }
    .brand-line {
        margin-bottom:25px
    }
    .admin-entry {
        font-size:14px
    }
    .search-form {
        height:60px;
        max-width:800px
    }
    .search-form button {
        height:46px;
        min-width:130px;
        font-size:20px
    }
    .desktop-nav {
        min-height:64px
    }
    .desktop-nav a {
        font-size:20px;
        padding:16px
    }
    .home-feature {
        gap:22px
    }
    .home-news {
        padding-top:0
    }
    .news-row {
        padding:13px 0
    }
    .news-row h3 {
        font-size:15px
    }
    .news-row time {
        font-size:13px
    }
    .section-heading h2 {
        font-size:20px
    }
    .brand-hero {
        padding:24px
    }
    .brand-hero h1 {
        font-size:32px
    }
    .brand-hero>a {
        margin-top:8px
    }
    .card-body {
        padding:12px
    }
    .card-body h2 {
        font-size:16px
    }
    .card-summary,.card-subtitle {
        font-size:12px
    }
    .card-summary {
        min-height:38px
    }
    .goods-price {
        font-size:32px
    }
    .goods-price small {
        font-size:18px
    }
    .card-bottom .gradient-button {
        font-size:13px;
        padding:8px 14px
    }
    .product-hero {
        padding:26px;
        gap:26px
    }
    .product-intro h1 {
        font-size:22px
    }
    .product-actions .gradient-button {
        font-size:13px
    }
    .product-actions .secondary-button {
        font-size:13px
    }
    .section-gallery {
        grid-template-columns:repeat(6,minmax(0,1fr));
        gap:14px
    }
    .account-info {
        padding:25px
    }
    .section-tabs {
        gap:24px
    }
    .brand-tagline {
        width:230px
    }
    .store-brand img {
        width:180px
    }
}
@media(max-width:640px) {
    html {
        scroll-padding-top:58px
    }
    body {
        font-size:14px;
        padding-bottom:76px;
        background:var(--page)
    }
    .site-header {
        padding:16px 12px 0;
        background:radial-gradient(ellipse at 100% 0,#efe2c2,transparent 80%)
    }
    .brand-line {
        min-height:30px;
        margin:0 0 16px;
        justify-content:flex-start;
        gap:7px
    }
    .store-brand img {
        width:100px;
        height:auto
    }
    .brand-tagline {
        width:138px;
        height:auto
    }
    .admin-entry {
        font-size:11px;
        right:0;
        top:3px;
        gap:3px;
        padding:1px 4px;
        border-radius:10px 0 10px 0
    }
    .admin-entry img {
        width:12px
    }
    .search-form {
        height:42px;
        width:100%;
        padding:4px 6px 4px 14px;
        gap:12px
    }
    .search-form>img {
        width:20px;
        height:20px
    }
    .search-form input {
        font-size:14px
    }
    .search-form button {
        height:32px;
        min-width:78px;
        font-size:16px
    }
    .desktop-nav {
        display:none
    }
    .filter-form {
        justify-content:space-around;
        gap:6px;
        margin:14px 0 18px
    }
    .filter-form select {
        font-size:13px;
        min-width:0;
        max-width:100px;
        padding:6px 0;
        letter-spacing:0
    }
    .price-filter summary {
        font-size:13px;
        padding:6px 17px 6px 0
    }
    .price-filter summary:after {
        width:6px;
        height:6px;
        top:12px;
        right:2px
    }
    .filter-submit {
        padding:4px 11px;
        font-size:12px
    }
    .reset-filters {
        font-size:12px
    }
    .price-fields {
        left:auto;
        right:0;
        transform:none;
        top:35px;
        width:250px;
        padding:10px
    }
    .price-fields input {
        width:92px;
        font-size:13px
    }
    .store-main {
        width:calc(100% - 24px);
        min-height:65vh
    }
    .home-feature {
        display:flex;
        flex-direction:column;
        gap:14px;
        padding:0;
        background:none;
        border-radius:0
    }
    .hero-carousel {
        width:100%;
    }
    .brand-hero {
        padding:18px 25px
    }
    .brand-hero>span {
        font-size:11px;
        letter-spacing:3px
    }
    .brand-hero h1 {
        font-size:27px;
        line-height:1.35;
        letter-spacing:3px;
        margin-top:5px
    }
    .brand-hero p {
        font-size:12px;
        margin-top:6px
    }
    .brand-hero>a {
        font-size:12px;
        margin-top:9px;
        gap:15px;
        padding-bottom:2px
    }
    .home-news {
        padding:12px 16px 6px;
        background:#fff;
        border-radius:12px
    }
    .section-heading h2 {
        font-size:19px;
        padding-bottom:10px
    }
    .home-news .section-heading h2:after {
        width:26px;
        height:3px;
        left:22px
    }
    .section-heading>a {
        font-size:12px
    }
    .home-news .news-row {
        padding:14px 0
    }
    .home-news .news-row:last-child {
        border-bottom:0
    }
    .news-row h3 {
        font-size:15px
    }
    .news-row time {
        font-size:12px
    }
    .news-empty {
        min-height:100px;
        gap:8px
    }
    .goods-section {
        margin:18px 0 30px
    }
    .listing-heading {
        margin-bottom:12px
    }
    .listing-heading h1,.listing-heading h2 {
        font-size:17px
    }
    .listing-heading>span,.listing-heading>a {
        font-size:12px
    }
    .goods-grid {
        grid-template-columns:minmax(0,1fr);
        gap:14px
    }
    .goods-card {
        border-radius:12px
    }
    .card-cover {
        border-radius:10px
    }
    .goods-card:hover {
        transform:none
    }
    .card-body {
        padding:10px 12px 15px
    }
    .card-body h2 {
        font-size:18px;
        font-weight:600;
        line-height:1.5
    }
    .card-summary {
        font-size:13px;
        line-height:1.7;
        margin-top:8px;
        min-height:0;
        -webkit-line-clamp:2
    }
    .card-subtitle {
        font-size:13px;
        white-space:normal;
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical
    }
    .card-bottom {
        margin-top:16px
    }
    .goods-price {
        font-size:32px
    }
    .goods-price small {
        font-size:16px
    }
    .gradient-button {
        font-size:14px;
        padding:8px 25px
    }
    .pagination {
        padding:28px 0 0;
        gap:10px
    }
    .pagination a,.pagination span {
        width:30px;
        height:30px;
        font-size:12px
    }
    .site-footer {
        padding:20px 12px;
        font-size:10px
    }
    .mobile-nav {
        position:fixed;
        z-index:15;
        left:0;
        right:0;
        bottom:0;
        display:flex;
        justify-content:space-around;
        background:#fff;
        border-top:1px solid #eee;
        padding:9px 8px calc(7px + env(safe-area-inset-bottom))
    }
    .mobile-nav>a {
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:4px;
        min-width:65px;
        color:#aaa;
        font-size:12px
    }
    .mobile-nav>a img {
        width:24px;
        height:24px;
        object-fit:contain
    }
    .mobile-nav>a.active {
        color:var(--brown)
    }
    .detail-page .site-header {
        display:none
    }
    .mobile-detail-header {
        display:flex;
        height:44px;
        background:var(--brown);
        color:white;
        align-items:center;
        justify-content:center;
        position:sticky;
        top:0;
        z-index:10;
        font-size:16px
    }
    .mobile-detail-header>a {
        position:absolute;
        left:8px;
        padding:8px;
        display:flex
    }
    .mobile-detail-header svg {
        height:20px
    }
    .product-hero {
        display:flex;
        flex-direction:column;
        gap:12px;
        background:none;
        padding:10px 0 0;
        border-radius:0
    }
    .product-cover {
        width:100%;
        border-radius:10px
    }
    .product-intro {
        background:#fff;
        border-radius:12px;
        width:100%;
        padding:16px 14px
    }
    .product-intro h1 {
        font-size:18px;
        margin:12px 0 8px
    }
    .product-actions {
        gap:8px;
        margin-top:14px
    }
    .product-actions .gradient-button {
        padding:7px 16px;
        font-size:12px
    }
    .product-actions .secondary-button {
        display:none
    }
    .source-note {
        font-size:11px;
        margin-top:8px
    }
    .account-info {
        padding:16px 12px 20px;
        margin-top:14px;
        border-radius:12px
    }
    .account-heading {
        gap:8px;
        align-items:center
    }
    .account-heading h2 {
        font-size:15px
    }
    .account-heading>span {
        font-size:10px
    }
    .account-meta {
        font-size:12px;
        line-height:1.8
    }
    .section-tabs {
        gap:26px;
        margin:18px 0 8px
    }
    .section-tabs a {
        font-size:14px;
        padding:8px 0
    }
    .account-section {
        padding:18px 0;
        scroll-margin-top:54px
    }
    .account-section .section-heading {
        margin-bottom:12px
    }
    .account-section h3 {
        font-size:14px
    }
    .account-section h3 small {
        font-size:10px;
        margin-left:6px
    }
    .section-more {
        font-size:10px!important
    }
    .section-gallery {
        display:grid;
        grid-template-columns:repeat(4,minmax(0,1fr));
        gap:12px 8px
    }
    .section-gallery figcaption {
        font-size:12px;
        line-height:1.5
    }
    .section-gallery figcaption span {
        font-size:10px
    }
    .attribute-grid {
        grid-template-columns:repeat(4,minmax(0,1fr));
        padding:14px 6px;
        gap:16px 4px;
        border-radius:10px
    }
    .attribute-grid dt {
        font-size:10px;
        line-height:1.5
    }
    .attribute-grid dd {
        font-size:13px
    }
    .attribute-table {
        font-size:12px
    }
    .attribute-table th,.attribute-table td {
        padding:9px
    }
    .section-text {
        font-size:13px
    }
    .product-gallery {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px
    }
    .product-gallery img {
        height:120px
    }
    .recommendations>h2 {
        font-size:21px;
        gap:8px;
        margin:22px 0 16px
    }
    .recommendations>h2 img {
        width:24px;
        height:24px
    }
    .detail-bottom {
        align-items:center;
        gap:10px;
        justify-content:flex-start
    }
    .detail-bottom>a {
        min-width:46px;
        font-size:11px
    }
    .detail-bottom>a img {
        width:22px;
        height:22px
    }
    .detail-bottom .gradient-button {
        flex:1;
        font-size:13px;
        padding:10px 12px
    }
    .news-panel {
        padding:20px 16px;
        margin:18px 0 35px;
        border-radius:12px;
        min-height:300px
    }
    .news-panel>h1 {
        font-size:20px
    }
    .news-panel .news-row {
        padding:18px 0
    }
    .news-row h2 {
        font-size:15px
    }
    .news-row p {
        font-size:12px
    }
    .article h1 {
        font-size:22px
    }
    .article-meta {
        font-size:12px
    }
    .article-content {
        font-size:14px;
        padding:20px 0
    }
    .empty-state {
        padding:60px 16px
    }
    .empty-state h1,.empty-state h2 {
        font-size:20px
    }
    .image-dialog {
        padding:45px 8px 8px
    }
    .search-result {
        font-size:12px
    }
    .store-toast {
        font-size:13px
    }
}
@media(max-width:360px) {
    .store-brand img {
        width:85px
    }
    .brand-tagline {
        width:115px
    }
    .admin-entry {
        font-size:10px
    }
    .filter-form {
        gap:2px
    }
    .filter-form select {
        font-size:12px;
        max-width:90px
    }
    .card-body h2 {
        font-size:16px
    }
    .attribute-grid {
        grid-template-columns:repeat(3,minmax(0,1fr))
    }
    .brand-hero h1 {
        font-size:24px
    }
    .brand-hero>a {
        margin-top:4px
    }
    .brand-hero p {
        display:none
    }
}
@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto
    }
    .goods-card {
        transition:none
    }
}

/* Settings-driven branding and consistent filter menus. Native selects remain usable without JS. */
.brand-tagline-text { display: inline-flex; align-items: center; min-height: 45px; padding: 2px 16px; font-size: 24px; color: #fff; background: linear-gradient(110deg,#563017,#875124); border-radius: 18px 0 18px 0; white-space: nowrap; max-width: 40vw; overflow: hidden; text-overflow: ellipsis; }
.article-cover { width: 100%; max-height: 520px; object-fit: contain; margin-top: 24px; border-radius: 12px; }
.filter-form select { appearance: none; -webkit-appearance: none; border-radius: 6px; padding-right: 22px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23888' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; }
.filter-form label:has(.filter-select) { min-width: 0; }
.filter-select { min-width: 90px; }
.filter-select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: transparent; color: #252525; padding: 7px 10px; max-width: 190px; font-size: 18px; border-radius: 7px; }
.filter-select-trigger span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-select-trigger:after { content: ""; width: 8px; height: 8px; border-right: 1px solid #888; border-bottom: 1px solid #888; transform: rotate(45deg); flex-shrink: 0; margin-bottom: 5px; }
.filter-select-trigger[aria-expanded=true] { color: #75492f; background: #efe5db; }
.filter-select-trigger:disabled { color: #aaa; cursor: default; }
.filter-form > .price-filter { z-index: 1; }
@media(max-width:1100px) and (min-width:641px) { .brand-tagline-text { font-size: 20px; min-height: 38px; } }
@media(max-width:640px) { .brand-tagline-text { font-size: 12px; min-height: 25px; padding: 1px 8px; border-radius: 9px 0 9px 0; max-width: 145px; } .filter-form { gap: 5px; } .filter-select { min-width: 0; } .filter-select-trigger { font-size: 13px; padding: 6px 3px; gap: 6px; max-width: 100px; } .filter-select-trigger:after { width: 6px; height: 6px; margin-bottom: 3px; } .article-cover { margin-top: 18px; max-height: 300px; } }
@media(max-width:360px) { .brand-tagline-text { font-size: 10px; max-width: 120px; min-height: 22px; } }

.store-brand img { height: 56px; object-fit: contain; }
@media(max-width:640px) { .store-brand img { height: 28px; } }

/* V0.2.8: account detail follows the supplied role-information layout. */
.detail-page .product-hero { border-radius:8px; }
.detail-page .product-cover { border-radius:6px; }
.detail-page .account-info { border-radius:8px; }
.detail-page .attribute-grid { background:transparent; border-radius:0; padding:20px 0; }
.detail-page .account-section:last-child { border-bottom:0; }
.role-subheading { font-size:14px; font-weight:500; margin:18px 0 12px; color:#777; }
.role-empty,.recommendations-empty { color:#999; font-size:14px; line-height:1.8; padding:12px 0; }
.detail-page .section-gallery img { border-radius:3px; }
.detail-page .character-section .section-gallery img { aspect-ratio:7/10; }
.detail-page .recommendations { margin-top:42px; }
@media (max-width:767px) {
    .detail-page .product-intro { border-radius:6px; }
    .detail-page .account-heading { flex-wrap:wrap; }
    .detail-page .section-tabs { gap:24px; }
    .role-empty,.recommendations-empty { font-size:12px; }
    .detail-page .detail-bottom { justify-content:space-evenly; }
    .detail-page .recommendations { margin-top:22px; }
}

.role-image-placeholder { display:grid; place-items:center; aspect-ratio:1/1; background:#f6f4f1; color:#aaa; font-size:12px; }
.character-section .role-image-placeholder { aspect-ratio:7/10; }
.role-value-empty { color:#aaa; font-size:12px; }

.source-reference { display: block; margin-top: 6px; font-size: 12px; overflow-wrap: anywhere; }

.account-key-facts { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; margin: 20px 0; }
.account-key-facts > div { padding: 12px; background: #f7f8fa; min-width: 0; }
.account-key-facts dt { color: #7b8794; font-size: 13px; }
.account-key-facts dd { margin: 6px 0 0; overflow-wrap: anywhere; }
.account-role-description { color: #555; line-height: 1.9; overflow-wrap: anywhere; }
.account-card-inline { position: relative; width: 100%; background: #241e18; }
.account-card-document { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; }
.account-card-zoom { position: absolute; inset: 0; cursor: zoom-in; }
.source-asset-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px 8px; margin: 14px 0; padding: 22px 16px; border-radius: 10px; background: #f5f5f5; text-align: center; }
.source-asset-grid > div { min-width: 0; }
.source-asset-grid dt { color: #969ba4; font-size: 14px; overflow-wrap: anywhere; }
.source-asset-grid dd { margin: 5px 0 0; color: #333; font-size: 18px; overflow-wrap: anywhere; }
@media(max-width:700px) { .source-asset-grid { gap: 18px 5px; padding: 18px 8px; } .source-asset-grid dt { font-size: 12px; } .source-asset-grid dd { font-size: 15px; } }
@media(max-width:700px) { .account-key-facts { grid-template-columns: repeat(2,minmax(0,1fr)); } .account-key-facts > div:last-child { grid-column: 1 / -1; } }
.manual-role-content { min-height:100px; line-height:1.7; overflow-wrap:anywhere; }
.manual-role-content img { max-width:100%; height:auto; }

/* V0.2.41: switchable horizontal subcategories inside the Heroes section. */
.hero-subtabs {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 14px 0 18px;
    padding: 0 0 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid #edf0f3;
}
.hero-subtabs::-webkit-scrollbar { display: none; }
.hero-subtabs [role="tab"] {
    flex: 0 0 auto;
    min-width: 92px;
    padding: 10px 18px;
    border: 1px solid #d8d8d8;
    border-radius: 7px;
    background: #fff;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}
.hero-subtabs [role="tab"][aria-selected="true"] {
    border-color: #d9ad54;
    background: #fffaf0;
    color: #c18a2e;
    box-shadow: inset 0 0 0 1px #d9ad54;
}
.hero-subtabs [role="tab"]:focus-visible {
    outline: 2px solid #c18a2e;
    outline-offset: 2px;
}
.hero-subpanel[hidden] { display: none !important; }

@media(max-width:700px) {
    .hero-subtabs {
        gap: 8px;
        margin: 12px 0 14px;
        padding-bottom: 10px;
    }
    .hero-subtabs [role="tab"] {
        min-width: 86px;
        padding: 9px 15px;
        font-size: 15px;
    }
}


/* V0.2.43: primary product tabs share the full available width evenly. */
.detail-page .section-tabs {
    display: flex;
    width: 100%;
    gap: 0;
    overflow: hidden;
}
.detail-page .section-tabs a {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding-left: 2px;
    padding-right: 2px;
    white-space: nowrap;
}


/* V0.2.46: searchable server filters and append-on-scroll public listing. */
.server-search-field { display:inline-flex; min-width:150px; max-width:220px; }
.server-search-field input { width:100%; min-width:0; border:1px solid #e6d9cd; border-radius:8px; padding:8px 11px; background:#fff; color:#333; font-size:15px; }
.server-search-field input:focus { outline:2px solid #d6a35a55; border-color:#c58a39; }
.server-range-filter { z-index:2; }
.server-range-filter .price-fields { width:300px; }
.server-range-filter .price-fields input { min-width:0; width:100%; }
.card-publisher { display:flex; flex:0 1 64px; min-width:0; flex-direction:column; align-items:center; justify-content:center; gap:3px; text-align:center; }
.card-publisher img,.card-publisher-avatar-fallback { display:block; width:34px; height:34px; border-radius:50%; object-fit:cover; flex:0 0 auto; }
.card-publisher-avatar-fallback { display:grid; place-items:center; background:#eee4d9; color:#75492f; font-size:15px; font-weight:600; }
.card-publisher-name { display:block; max-width:64px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#8b796b; font-size:11px; line-height:1.35; }
.list-load-more { display:flex; align-items:center; justify-content:center; gap:12px; min-height:58px; padding:18px 12px; color:#9a8c80; font-size:14px; }
.list-load-more[hidden] { display:none; }
.list-load-more.is-loading [data-list-loader-text]::before { content:""; display:inline-block; width:14px; height:14px; margin-right:9px; vertical-align:-2px; border:2px solid #d9c8b8; border-top-color:#875124; border-radius:50%; animation:list-loader-spin .8s linear infinite; }
@keyframes list-loader-spin { to { transform:rotate(360deg); } }
.pagination-infinite-hidden { display:none !important; }
.product-region { margin:8px 0 4px; color:#9b6a32; font-size:15px; font-weight:600; }
@media(max-width:640px) {
  .server-search-field { min-width:130px; max-width:170px; }
  .server-search-field input { font-size:13px; padding:7px 8px; }
  .server-range-filter .price-fields { width:min(290px,86vw); }
  .card-bottom { gap:8px; }
  .card-publisher { flex-basis:56px; }
  .card-publisher img,.card-publisher-avatar-fallback { width:30px; height:30px; }
  .card-publisher-name { max-width:56px; font-size:10px; }
  .card-bottom .gradient-button { padding:8px 14px; }
}


/* V0.2.46: render long account-card SVGs as short, lazy-loaded tiles. */
.account-card-stack { display:flex; flex-direction:column; gap:0; width:100%; overflow:hidden; background:#241e18; }
.account-card-tile { position:relative; display:block; width:100%; overflow:hidden; background:#241e18; }
.account-card-tile-image { display:block; width:100%; height:auto; min-height:100%; object-fit:contain; background:#241e18; }
.account-card-tile-placeholder { position:absolute; inset:0; display:grid; place-items:center; padding:16px; color:#d4c3a0; background:linear-gradient(135deg,#241e18,#33291d); font-size:14px; text-align:center; pointer-events:none; }
.account-card-tile.is-loaded .account-card-tile-placeholder,
.account-card-tile-placeholder[hidden] { display:none; }
.account-card-original-link { display:inline-flex; align-items:center; margin-top:10px; color:#875124; font-size:13px; text-decoration:underline; text-underline-offset:3px; }

/* V0.2.46: visible per-tile loading states for long account-card images. */
.account-card-stack { background:#f7f3ed; }
.account-card-load-status { display:flex; align-items:center; justify-content:center; gap:9px; min-height:42px; margin:0; padding:10px 14px; color:#8b6a43; background:#fbf8f3; border-bottom:1px solid #eadfce; font-size:13px; text-align:center; }
.account-card-load-status:not(.is-complete)::before { content:""; display:inline-block; width:14px; height:14px; flex:0 0 14px; border:2px solid #dfcfb8; border-top-color:#9b6229; border-radius:50%; animation:account-card-spin .8s linear infinite; }
.account-card-load-status.is-complete { color:#7c806d; }
.account-card-tile { background:#f7f3ed; }
.account-card-tile-image { background:#f7f3ed; }
.account-card-tile-placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; color:#806747; background:linear-gradient(135deg,#faf7f1,#f0e8dc); pointer-events:auto; }
.account-card-tile[data-loading="1"] .account-card-tile-placeholder [data-card-placeholder-text]::before { content:""; display:inline-block; width:16px; height:16px; margin-right:9px; vertical-align:-3px; border:2px solid #dfcfb8; border-top-color:#9b6229; border-radius:50%; animation:account-card-spin .8s linear infinite; }
.account-card-tile-retry { padding:7px 16px; border:1px solid #c79b63; border-radius:20px; color:#875124; background:#fff; font-size:13px; cursor:pointer; pointer-events:auto; }
.account-card-tile-retry[hidden] { display:none; }
@keyframes account-card-spin { to { transform:rotate(360deg); } }


/* V0.2.49: full-size account-card preview stays in a scrollable modal. */
.account-card-original-link { border:0; padding:0; background:transparent; cursor:zoom-in; font:inherit; text-decoration:underline; }
.account-card-zoom { border:0; padding:0; background:transparent; }
.account-card-viewer[hidden] { display:none !important; }
.account-card-viewer { position:fixed; inset:0; z-index:10050; display:flex; align-items:center; justify-content:center; padding:14px; }
.account-card-viewer-backdrop { position:absolute; inset:0; background:rgba(16,14,12,.78); }
.account-card-viewer-dialog { position:relative; display:flex; flex-direction:column; width:min(1080px,96vw); max-height:92vh; max-height:92dvh; overflow:hidden; border-radius:12px; background:#fff; box-shadow:0 18px 60px rgba(0,0,0,.28); }
.account-card-viewer-header { display:flex; align-items:center; justify-content:space-between; gap:16px; flex:0 0 auto; min-height:54px; padding:8px 16px; border-bottom:1px solid #eee7df; color:#34271e; background:#fff; }
.account-card-viewer-header strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:16px; }
.account-card-viewer-close { display:grid; place-items:center; width:36px; height:36px; flex:0 0 auto; border:0; border-radius:50%; color:#5e4a3b; background:#f4f0eb; font-size:27px; line-height:1; cursor:pointer; }
.account-card-viewer-scroll { min-height:0; overflow:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; background:#171511; }
.account-card-viewer-tile { position:relative; width:100%; overflow:hidden; background:#171511; }
.account-card-viewer-image { display:block; width:100%; height:auto; object-fit:contain; }
.account-card-viewer-loading { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; min-height:54px; padding:12px; color:#e5d2ae; background:#29231b; font-size:14px; text-align:center; }
.account-card-viewer-loading::before { content:""; width:15px; height:15px; margin-right:9px; border:2px solid #8d7857; border-top-color:#f0c879; border-radius:50%; animation:account-card-spin .8s linear infinite; }
.account-card-viewer-loading.is-error { color:#f0b5a9; }
.account-card-viewer-loading.is-error::before { display:none; }
@media(max-width:700px) {
  .account-card-viewer { padding:0; }
  .account-card-viewer-dialog { width:100%; max-height:94vh; max-height:94dvh; border-radius:0; }
  .account-card-viewer-header { min-height:50px; padding:6px 12px; }
}


/* V0.2.57: user-uploaded manual role detail images render as a simple image gallery. */
.manual-role-gallery { display:flex; flex-direction:column; align-items:center; gap:16px; width:100%; margin:0 auto; }
.manual-role-gallery > a { display:block; width:100%; text-align:center; }
.manual-role-gallery img { display:block; width:100%; max-width:100%; height:auto; margin:0 auto; border-radius:6px; }

.account-card-gallery-frame{display:block;width:100%;min-height:360px;height:420px;border:0;overflow:hidden;background:#fff}

/* Account-list controls and their dropdowns share a continuous surface. */
.filter-form {
    --filter-surface: var(--page);
    background: var(--filter-surface);
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    align-items:center;
    gap:6px;
    max-width:1200px;
    margin:16px auto 24px;
    padding:0 4px;
}
.filter-open-button,.filter-choice .filter-select-trigger {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    width:100%;
    min-width:0;
    max-width:none;
    min-height:38px;
    padding:8px 6px;
    border:0;
    border-radius:8px;
    background:transparent;
    color:#35302c;
    font-size:16px;
    white-space:nowrap;
    cursor:pointer;
}
.filter-open-button[aria-expanded=true],.filter-choice .filter-select-trigger[aria-expanded=true] {
    background:#efe5db;
    color:#75492f;
}
.filter-open-button.has-filter { color:#75492f; }
.filter-open-button small { max-width:110px; overflow:hidden; text-overflow:ellipsis; font-size:13px; }
.filter-choice,.filter-choice .filter-select { min-width:0; }
.filter-choice select:not([hidden]) { width:100%; max-width:none; min-width:0; }
.filter-choice .filter-select-trigger::after,.filter-chevron {
    content:"";
    width:7px;
    height:7px;
    flex:none;
    margin:0 2px 0 0;
    border-right:1.5px solid #888;
    border-bottom:1.5px solid #888;
    transform:rotate(-45deg);
    transition:transform .18s ease;
}
.filter-choice .filter-select-trigger[aria-expanded=true]::after,
.filter-open-button[aria-expanded=true] .filter-chevron { transform:translateY(-2px) rotate(45deg); }
.filter-aux { grid-column:1/-1; display:flex; align-items:center; gap:8px; }
.filter-form .reset-filters { margin-left:auto; white-space:nowrap; }
@media (prefers-reduced-motion:reduce) {
    .filter-choice .filter-select-trigger::after,.filter-chevron,.carousel-controls button::before { transition:none; }
}
.store-filter-shade {
    position: fixed;
    inset: 0;
    z-index: 19;
    background: rgba(22,20,18,.42);
    clip-path: inset(var(--filter-shade-top, 100%) 0 0);
    touch-action: none;
}
.filter-form:has(.store-filter-shade:not([hidden])) { z-index: 21; }
.store-filter-dialog,.filter-select-menu {
    position: absolute;
    z-index: 20;
    inset: 100% 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0 0 16px 16px;
    color: #2f2b27;
    background: var(--filter-surface);
    box-shadow: 0 12px 24px -10px rgba(35,25,18,.24);
    overflow: hidden;
    animation: filter-reveal .16s ease-out;
}
.store-filter-dialog:focus { outline: none; }
.store-filter-dialog-inner {
    max-height: min(var(--filter-panel-space, 70vh), 620px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 24px 18px;
}
.filter-select-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    max-height: min(var(--filter-panel-space, 70vh), 280px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 24px 18px;
}
.filter-select-menu button {
    min-height: 42px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #555;
    background: var(--surface);
    overflow-wrap: anywhere;
}
.filter-select-menu button:hover,.filter-select-menu button:focus-visible,
.filter-select-menu button[aria-selected=true] { color:#75492f; background:#efe5db; outline-offset:-2px; }
@keyframes filter-reveal {
    from { clip-path: inset(0 0 100%); }
    to { clip-path: inset(0); }
}
@media (prefers-reduced-motion:reduce) {
    .store-filter-dialog,.filter-select-menu { animation:none; }
}
.store-filter-block { margin:0 0 22px; }
.store-filter-block h3 { display:flex; align-items:baseline; gap:10px; margin:0 0 13px; font-size:17px; }
.store-filter-block h3 small { color:#aaa; font-size:13px; font-weight:400; }
.store-filter-range { display:grid; grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr); align-items:center; gap:10px; }
.store-filter-range > span { text-align:center; color:#888; }
.store-filter-range input { width:100%; min-width:0; height:48px; padding:10px 13px; border:0; border-radius:9px; background:#eee; color:#333; text-align:center; font-size:16px; }
.store-filter-search { display:flex; flex-direction:row; align-items:center; gap:10px; height:48px; margin-bottom:14px; padding:0 14px; border-radius:9px; background:#eee; }
.store-filter-search svg { width:22px; height:22px; fill:none; stroke:#999; stroke-width:1.8; flex:none; }
.store-filter-search input { min-width:0; width:100%; height:100%; padding:0; border:0; outline:0; background:transparent; font-size:15px; }
.server-option-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; max-height:260px; overflow:auto; padding:2px 2px 4px; }
.server-option { min-width:0; min-height:42px; padding:8px 9px; border:1px solid #eee; border-radius:7px; background:#f7f7f7; color:#777; font-size:13px; line-height:1.35; overflow-wrap:anywhere; cursor:pointer; }
.server-option[aria-pressed="true"] { border-color:#f1a43a; background:#fff4e4; color:#bd741c; font-weight:600; }
.server-option[hidden] { display:none !important; }
.server-options-empty { grid-column:1/-1; margin:0; padding:18px 0; color:#aaa; text-align:center; font-size:13px; }
.store-filter-actions { display:flex; align-items:center; gap:12px; margin-top:22px; padding-top:16px; border-top:1px solid #f0ece8; }
.store-filter-actions button { min-height:46px; border-radius:28px; font-size:16px; cursor:pointer; }
.filter-reset-button { flex:0 0 34%; border:1px solid #e7e2de; background:#fff; color:#777; }
.filter-confirm-button { flex:1; border:1px solid #ed9a27; background:#ed9a27; color:#fff; }
.price-range-inputs { margin-top:8px; }
@media(max-width:640px) {
    .filter-form { gap:2px; margin:12px -12px 18px; padding:0 12px; }
    .filter-open-button,.filter-choice .filter-select-trigger { gap:5px; padding:8px 2px; font-size:13px; }
    .filter-open-button small { display:none; }
    .filter-choice .filter-select-trigger::after,.filter-chevron { width:6px; height:6px; }
    .filter-form .reset-filters { margin:2px 4px 0 0; font-size:12px; }
    .store-filter-dialog-inner,.filter-select-menu { padding:12px 16px 14px; }
    .filter-select-menu { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .store-filter-range { gap:7px; }
    .store-filter-range input { height:46px; font-size:15px; }
    .server-option-grid { grid-template-columns:repeat(2,minmax(0,1fr)); max-height:34dvh; }
    .store-filter-actions { gap:9px; }
    .store-filter-actions button { min-height:44px; font-size:15px; }
}

.card-cover img[src^="/uploads/account-cards/"],
.product-cover img[src^="/uploads/account-cards/"] { object-position: left top; }
