:root {
    --ink: #111814;
    --muted: #68746d;
    --line: #dce2de;
    --paper: #f6f5f0;
    --soft: #eceae0;
    --deep: #07130f;
    --deep-2: #0d211a;
    --green: #0f6a4b;
    --gold: #c8a15a;
    --gold-2: #ead19a;
    --white: #ffffff;
    --theme-detail-page: #f4faf5;
    --theme-detail-hero: linear-gradient(135deg, rgba(232, 248, 238, 0.96) 0%, rgba(255, 247, 222, 0.94) 58%, rgba(229, 246, 250, 0.92) 100%);
    --theme-card: rgba(255, 255, 255, 0.92);
    --theme-card-border: rgba(15, 106, 75, 0.12);
    --theme-card-shadow: rgba(30, 93, 66, 0.08);
    --theme-soft-panel: #f4faf5;
    --theme-soft-border: #d9eadf;
    --theme-warm-panel: #fff9e8;
    --theme-warm-border: #eadba8;
    --theme-footer-bg: linear-gradient(135deg, #effaf2 0%, #fff7df 58%, #edf9fb 100%);
    --theme-footer-text: #254237;
    --theme-footer-muted: #60766b;
    --theme-footer-line: rgba(15, 106, 75, 0.14);
}

html[data-theme="ocean"] {
    --ink: #102027;
    --muted: #60737b;
    --line: #d6e5ea;
    --paper: #f2f8fb;
    --soft: #e8f3f7;
    --deep: #08202b;
    --deep-2: #123c4c;
    --green: #087c8f;
    --gold: #4fb3bf;
    --gold-2: #bfeaf0;
    --theme-detail-page: #f1f9fb;
    --theme-detail-hero: linear-gradient(135deg, rgba(224, 246, 250, 0.98) 0%, rgba(244, 251, 255, 0.96) 52%, rgba(231, 239, 255, 0.92) 100%);
    --theme-card-border: rgba(8, 124, 143, 0.14);
    --theme-card-shadow: rgba(8, 84, 112, 0.1);
    --theme-soft-panel: #eef9fb;
    --theme-soft-border: #cbe9ef;
    --theme-warm-panel: #eef6ff;
    --theme-warm-border: #cddff6;
    --theme-footer-bg: linear-gradient(135deg, #e9f9fb 0%, #f6fbff 54%, #edf1ff 100%);
    --theme-footer-text: #163541;
    --theme-footer-muted: #607780;
    --theme-footer-line: rgba(8, 124, 143, 0.16);
}

html[data-theme="cherry"] {
    --ink: #241916;
    --muted: #7b6761;
    --line: #eadbd6;
    --paper: #fff7f3;
    --soft: #f8e9e2;
    --deep: #301915;
    --deep-2: #6e2d26;
    --green: #b64a3f;
    --gold: #d78b68;
    --gold-2: #ffd6bd;
    --theme-detail-page: #fff7f3;
    --theme-detail-hero: linear-gradient(135deg, rgba(255, 239, 232, 0.98) 0%, rgba(255, 246, 220, 0.95) 55%, rgba(255, 232, 239, 0.92) 100%);
    --theme-card-border: rgba(182, 74, 63, 0.14);
    --theme-card-shadow: rgba(126, 48, 35, 0.09);
    --theme-soft-panel: #fff2ec;
    --theme-soft-border: #f0d6cc;
    --theme-warm-panel: #fff6db;
    --theme-warm-border: #ead8a9;
    --theme-footer-bg: linear-gradient(135deg, #fff0e8 0%, #fff7db 55%, #ffeef4 100%);
    --theme-footer-text: #4a2822;
    --theme-footer-muted: #836963;
    --theme-footer-line: rgba(182, 74, 63, 0.16);
}

html[data-theme="night"] {
    --ink: #111814;
    --muted: #68746d;
    --line: #dce2de;
    --paper: #f2f5f1;
    --soft: #e7ede8;
    --deep: #07130f;
    --deep-2: #162c24;
    --green: #127451;
    --gold: #d0a85f;
    --gold-2: #efd79b;
    --theme-detail-page: #eef3ef;
    --theme-detail-hero: linear-gradient(135deg, #10251d 0%, #17291f 48%, #15283a 100%);
    --theme-card: rgba(255, 255, 255, 0.94);
    --theme-card-border: rgba(13, 33, 26, 0.15);
    --theme-card-shadow: rgba(0, 0, 0, 0.12);
    --theme-soft-panel: #eef4ef;
    --theme-soft-border: #d5e1d9;
    --theme-warm-panel: #fff8e6;
    --theme-warm-border: #e8d39d;
    --theme-footer-bg: linear-gradient(135deg, #10231c 0%, #121f18 52%, #111d29 100%);
    --theme-footer-text: #e4f1eb;
    --theme-footer-muted: #a7b8af;
    --theme-footer-line: rgba(168, 219, 190, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1200px, calc(100% - 44px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    color: #edf5f0;
    background: rgba(7, 19, 15, 0.9);
    border-bottom: 1px solid rgba(234, 209, 154, 0.18);
    backdrop-filter: blur(18px);
}

.nav {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 214px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #161307;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border-radius: 4px;
    font-weight: 900;
    box-shadow: 0 10px 26px rgba(200, 161, 90, 0.28);
}

.brand strong,
.brand em {
    display: block;
}

.brand strong {
    font-size: 18px;
    line-height: 1.1;
}

.brand em {
    color: #9eaaa4;
    font-size: 12px;
    font-style: normal;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd7d0;
    font-size: 16px;
    flex: 1;
}

.nav-links a,
.text-link {
    transition: color 0.2s ease;
}

.nav-links a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 4px;
    font-weight: 800;
}

.nav-links a:hover,
.text-link:hover {
    color: var(--gold-2);
}

.nav-links a.active {
    color: var(--gold-2);
}

.nav-dropdown {
    position: relative;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-trigger {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 26px 0 12px;
    color: #cbd7d0;
    border-radius: 4px;
    font-weight: 800;
    cursor: default;
    position: relative;
}

.nav-dropdown-trigger::after {
    content: "";
    position: absolute;
    right: 11px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
}

.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger,
.nav-dropdown.active .nav-dropdown-trigger {
    color: var(--gold-2);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 45;
    min-width: 142px;
    display: grid;
    gap: 4px;
    padding: 8px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    background: rgba(12, 27, 22, 0.98);
    border: 1px solid rgba(234, 209, 154, 0.22);
    border-radius: 4px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.nav-category-menu {
    grid-template-columns: repeat(3, minmax(86px, 1fr));
    gap: 6px;
    min-width: 310px;
    max-width: min(78vw, 420px);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.nav-links .nav-dropdown-menu a {
    min-height: 34px;
    justify-content: flex-start;
    padding: 0 10px;
    white-space: nowrap;
    font-size: 14px;
}

.nav-links .nav-category-menu a {
    min-width: 0;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.nav-links .nav-dropdown-menu a:hover,
.nav-links .nav-dropdown-menu a.active {
    color: #161307;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 46px;
}

.user-chip {
    max-width: 120px;
    overflow: hidden;
    padding: 8px 12px;
    color: var(--gold-2);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(234, 209, 154, 0.2);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: default;
}

.user-chip::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    border-top: 5px solid currentColor;
    border-inline: 4px solid transparent;
    vertical-align: middle;
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 168px;
    padding: 8px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    background: rgba(7, 19, 15, 0.98);
    border: 1px solid rgba(234, 209, 154, 0.24);
    border-radius: 4px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.user-menu-dropdown::before {
    content: "";
    position: absolute;
    top: -9px;
    right: 0;
    left: 0;
    height: 9px;
}

.user-menu:hover .user-menu-dropdown,
.user-menu:focus-within .user-menu-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.user-menu-dropdown a {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: #dfeae4;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 800;
}

.user-menu-dropdown a:hover {
    color: var(--gold-2);
    background: rgba(255, 255, 255, 0.08);
}

.float-tools {
    position: fixed;
    right: 22px;
    top: 50%;
    z-index: 40;
    display: grid;
    gap: 10px;
    padding: 10px;
    background: linear-gradient(180deg, rgba(7, 19, 15, 0.9), rgba(16, 38, 30, 0.82));
    border: 1px solid rgba(234, 209, 154, 0.28);
    border-radius: 10px;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px);
    transform: translateY(-50%);
}

.float-tools a {
    width: 72px;
    min-height: 70px;
    display: grid;
    grid-template-rows: 30px auto;
    place-items: center;
    gap: 6px;
    padding: 10px 8px;
    color: #f7fbf8;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06)),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.float-tools a::before {
    content: "";
    width: 30px;
    height: 30px;
    display: block;
    background: currentColor;
}

.float-tools a[href="/page/contact.html"]::before {
    clip-path: path("M15 3C9.5 3 5.2 7.1 5.2 12.7V17.8C5.2 19.5 6.5 20.8 8.2 20.8H10.7V12.5H8.2C8.4 8.9 11.2 6.2 15 6.2C18.8 6.2 21.6 8.9 21.8 12.5H19.3V20.8H21.1C20.4 23 18.6 24 15.7 24H13.4V27H15.7C20.9 27 24.8 24.1 24.8 18.2V12.7C24.8 7.1 20.5 3 15 3Z");
}

.float-tools a[href="/cart.html"]::before {
    clip-path: path("M4 5H7.2L9.2 18.2C9.5 20.2 11.2 21.7 13.2 21.7H22.5C24.2 21.7 25.7 20.5 26.1 18.8L27.8 10H10.5L10.1 7.2H4V5ZM12.7 25.8C12.7 27.2 11.6 28.3 10.2 28.3C8.8 28.3 7.7 27.2 7.7 25.8C7.7 24.4 8.8 23.3 10.2 23.3C11.6 23.3 12.7 24.4 12.7 25.8ZM25.1 25.8C25.1 27.2 24 28.3 22.6 28.3C21.2 28.3 20.1 27.2 20.1 25.8C20.1 24.4 21.2 23.3 22.6 23.3C24 23.3 25.1 24.4 25.1 25.8Z");
}

.float-tools a:hover {
    color: #161307;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border-color: rgba(255, 255, 255, 0.52);
    transform: translateX(-4px);
}

.cart-fly-item {
    position: fixed;
    z-index: 1000;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    pointer-events: none;
    color: #161307;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 999px;
    box-shadow: 0 16px 36px rgba(7, 19, 15, 0.28);
    font-size: 24px;
    font-weight: 900;
}

.cart-preview-panel {
    position: fixed;
    z-index: 39;
    width: 286px;
    padding: 12px;
    color: #f7fbf8;
    background: linear-gradient(180deg, rgba(7, 19, 15, 0.96), rgba(18, 42, 33, 0.94));
    border: 1px solid rgba(234, 209, 154, 0.28);
    border-radius: 10px;
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px) scale(0.98);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.cart-preview-panel.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
}

.cart-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 2px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cart-preview-head strong {
    color: var(--gold-2);
}

.cart-preview-head a {
    color: #161307;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border-radius: 4px;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 900;
}

.cart-preview-body {
    display: grid;
    gap: 8px;
    padding-top: 10px;
}

.cart-preview-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
    padding: 9px;
    color: #f7fbf8;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.cart-preview-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 900;
}

.cart-preview-item em {
    color: #adc3b9;
    font-size: 12px;
    font-style: normal;
}

.cart-preview-item strong {
    grid-row: 1 / 3;
    grid-column: 2;
    align-self: center;
    color: var(--gold-2);
    font-size: 13px;
}

.cart-preview-total,
.cart-preview-empty {
    margin: 0;
    padding: 8px 2px 0;
    color: #cbd8d1;
    font-size: 13px;
}

.cart-preview-total {
    display: flex;
    justify-content: space-between;
    font-weight: 900;
}

.cart-preview-total strong {
    color: var(--gold-2);
}

.unlock-contact-form button.is-in-cart,
.detail-side-form button.is-in-cart {
    color: #286052;
    background: #e4f7f1;
    border-color: #8cc9b9;
    box-shadow: inset 0 0 0 1px #9ed8c9;
    cursor: default;
}

.points-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ghost-btn.light {
    color: var(--deep);
    border-color: var(--line);
    background: var(--white);
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.buyer-stat-grid,
.buyer-entry-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.buyer-stat-grid a {
    padding: 22px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.buyer-stat-grid span {
    display: block;
    color: var(--muted);
    font-weight: 800;
}

.buyer-stat-grid strong {
    display: block;
    margin-top: 8px;
    color: var(--green);
    font-size: 34px;
}

.membership-card > span {
    color: var(--muted);
    font-weight: 800;
}

.membership-card strong {
    display: block;
    margin: 10px 0;
    color: var(--green);
    font-size: 34px;
    line-height: 1;
}

.membership-card strong em {
    margin-left: 8px;
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
}

.membership-card form button,
.issue-form button,
.report-form button {
    min-height: 42px;
    padding: 0 18px;
    color: #fff;
    background: var(--green);
    border: 0;
    border-radius: 4px;
    font-weight: 900;
    cursor: pointer;
}

.issue-form-card {
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.issue-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.issue-form label,
.report-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.issue-form input,
.issue-form select,
.issue-form textarea,
.report-form select,
.report-form textarea {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    font: inherit;
}

.issue-form textarea {
    padding-top: 10px;
    resize: vertical;
}

.report-form textarea {
    padding-top: 10px;
    resize: vertical;
}

.issue-form-wide,
.checkbox-line {
    grid-column: 1 / -1;
}

.checkbox-line {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.checkbox-line input {
    width: auto;
    min-height: auto;
}

.report-form {
    display: grid;
    gap: 12px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--green);
    font-weight: 800;
}

.cart-update-form {
    display: grid;
    gap: 14px;
}

.cart-qty-input {
    width: 82px;
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.cart-update-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cart-update-actions button,
.link-button {
    min-height: 38px;
    padding: 0 14px;
    color: #161307;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border: 0;
    border-radius: 4px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.link-button {
    color: var(--green);
    background: transparent;
    border: 1px solid var(--line);
}

.quote-line span {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 10px;
    background: #f8f5ec;
    border: 1px solid #ebe0c8;
    border-radius: 999px;
    color: #4d4436;
    font-size: 12px;
    font-weight: 800;
}

.quote-line {
    display: grid;
    grid-template-columns: 150px 110px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid #eee6d6;
}

.quote-line em {
    color: var(--muted);
    font-style: normal;
}

.quote-line a {
    color: var(--green);
    font-weight: 900;
}

.muted-text {
    color: var(--muted);
}

.resource-empty {
    padding: 42px 24px;
    background: #fffdfa;
    border: 1px dashed #d8c9aa;
    border-radius: 6px;
    text-align: center;
}

.resource-empty strong {
    display: block;
    margin-bottom: 8px;
    font-size: 22px;
}

@media (max-width: 760px) {
    .membership-grid,
    .issue-form {
        grid-template-columns: 1fr;
    }

    .quote-line {
        grid-template-columns: 1fr;
    }
}

.ghost-btn,
.solid-btn,
.card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 14px;
}

.ghost-btn {
    color: #edf5f0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
}

.solid-btn {
    color: #161307;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    box-shadow: 0 14px 32px rgba(200, 161, 90, 0.22);
}

.solid-btn.dark {
    color: var(--white);
    background: var(--deep);
    margin-top: 20px;
    box-shadow: none;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 540px;
    display: grid;
    align-items: center;
    color: #f7fbf8;
    background: var(--deep);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 19, 15, 0.98) 0%, rgba(7, 19, 15, 0.88) 34%, rgba(7, 19, 15, 0.36) 66%, rgba(7, 19, 15, 0.7) 100%),
        linear-gradient(180deg, rgba(7, 19, 15, 0.12), rgba(7, 19, 15, 0.78)),
        url("/static/images/home-hero-premium.png") center right / cover no-repeat;
    transform: scale(1.02);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, var(--paper));
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.72fr);
    gap: 64px;
    align-items: center;
    padding: 44px 0 58px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold-2);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    margin-bottom: 18px;
    font-size: clamp(40px, 5.6vw, 74px);
    line-height: 1.02;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.18;
}

.hero-lead {
    max-width: 690px;
    color: #c6d3cc;
    font-size: 18px;
}

.search-box {
    display: flex;
    max-width: 700px;
    margin: 22px 0 14px;
    padding: 7px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(234, 209, 154, 0.25);
    border-radius: 4px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.search-box input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 16px;
    color: var(--ink);
    font-size: 15px;
    background: transparent;
}

.search-box button {
    border: 0;
    color: #161307;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border-radius: 3px;
    padding: 0 24px;
    min-height: 46px;
    font-weight: 900;
    cursor: pointer;
}

.hero-tags,
.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags a {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: #dfeae4;
    font-size: 13px;
}

.trust-row {
    margin-top: 26px;
    color: #aebfb6;
    font-size: 13px;
}

.trust-row span {
    position: relative;
    padding-left: 16px;
}

.trust-row span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

.hero-panel {
    padding: 28px;
    color: var(--white);
    background: rgba(8, 23, 18, 0.72);
    border: 1px solid rgba(234, 209, 154, 0.24);
    border-radius: 6px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
}

.panel-title {
    margin-bottom: 20px;
    color: var(--gold-2);
    font-weight: 900;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.metric-grid div {
    padding: 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

.metric-grid strong {
    display: block;
    font-size: 34px;
    line-height: 1;
}

.metric-grid span,
.notice p {
    color: #c5d3ca;
    font-size: 13px;
}

.notice {
    margin-top: 18px;
    padding: 17px;
    background: rgba(200, 161, 90, 0.12);
    border: 1px solid rgba(200, 161, 90, 0.34);
    border-radius: 4px;
}

.notice p {
    margin: 6px 0 0;
}

.market-strip {
    position: relative;
    z-index: 2;
    margin-top: -44px;
}

.strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #101a15;
    border: 1px solid rgba(234, 209, 154, 0.22);
    box-shadow: 0 24px 70px rgba(7, 19, 15, 0.18);
}

.strip-grid div {
    min-height: 88px;
    padding: 20px 22px;
    border-right: 1px solid rgba(234, 209, 154, 0.16);
}

.strip-grid div:last-child {
    border-right: 0;
}

.strip-grid span {
    display: block;
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.strip-grid strong {
    display: block;
    margin-top: 8px;
    color: #eef6f1;
    font-size: 16px;
}

.section {
    padding: 76px 0;
}

.section.alt {
    background: #ffffff;
    border-block: 1px solid var(--line);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section-head .eyebrow {
    color: var(--gold);
}

.text-link {
    color: var(--green);
    font-weight: 900;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.category-card {
    min-height: 76px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #ddd8c8;
    border-radius: 4px;
    box-shadow: 0 10px 28px rgba(25, 35, 30, 0.045);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.work-card:hover,
.trade-list article:hover {
    transform: translateY(-3px);
    border-color: rgba(200, 161, 90, 0.64);
    box-shadow: 0 24px 70px rgba(25, 35, 30, 0.12);
}

.category-card strong {
    font-size: 16px;
    line-height: 1.25;
}

.category-card span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.featured-works-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.type-works-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.type-section-stack {
    display: grid;
    gap: 34px;
}

.type-work-block {
    display: grid;
    gap: 16px;
}

.type-work-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.type-work-head h3 {
    font-size: 24px;
    line-height: 1.2;
}

.type-work-empty {
    padding: 26px;
    color: var(--muted);
    background: #fbfaf6;
    border: 1px dashed #d9cfb9;
    border-radius: 4px;
    text-align: center;
    font-weight: 900;
}

.work-card {
    overflow: hidden;
    background: #fbfaf6;
    border: 1px solid #dfd8c7;
    border-radius: 4px;
    box-shadow: 0 18px 46px rgba(25, 35, 30, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.featured-work-card {
    display: block;
    min-height: 0;
    padding: 14px;
}

.featured-work-card::after {
    content: "";
    display: block;
    clear: both;
}

.poster {
    height: 180px;
    position: relative;
    background:
        linear-gradient(135deg, rgba(5, 20, 15, 0.82), rgba(23, 106, 75, 0.74)),
        linear-gradient(45deg, rgba(234, 209, 154, 0.18), transparent 45%);
}

.poster::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(234, 209, 154, 0.3);
}

.poster img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster.has-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(7, 19, 15, 0.18), rgba(7, 19, 15, 0.64));
}

.poster.has-cover::after {
    z-index: 2;
}

.poster i {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    color: rgba(234, 209, 154, 0.78);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.poster span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 3;
    color: var(--white);
    font-size: 24px;
    font-weight: 900;
}

.featured-work-card .poster {
    float: left;
    width: 76px;
    height: auto;
    min-height: 0;
    aspect-ratio: 9 / 16;
    margin: 2px 14px 8px 0;
    overflow: hidden;
    background: #f2efe6;
    border: 1px solid #ded6c3;
    border-radius: 4px;
}

.featured-work-card .poster img {
    object-fit: contain;
}

.featured-work-card .poster::before,
.featured-work-card .poster::after,
.featured-work-card .poster i,
.featured-work-card .poster span {
    display: none;
}

.featured-work-card .work-body {
    display: block;
    padding: 0;
}

.featured-work-card .badges {
    gap: 6px;
    margin-bottom: 8px;
}

.featured-work-card .badges span {
    padding: 3px 6px;
    font-size: 11px;
}

.featured-work-card .work-body h3 {
    min-height: 0;
    margin-bottom: 7px;
    font-size: 17px;
    line-height: 1.32;
}

.type-works-grid .featured-work-card .work-body h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.featured-works-grid .featured-work-card .work-body > p,
.type-works-grid .featured-work-card .work-body > p {
    height: 3.2em;
    max-height: 3.2em;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.featured-work-card .work-body dl {
    clear: both;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 12px;
    margin: 12px 0;
}

.featured-work-card .work-body dl div {
    display: grid;
    justify-content: stretch;
    gap: 2px;
}

.featured-work-card .work-body dd {
    text-align: left;
}

.type-works-grid .featured-work-card .work-body dd {
    min-width: 0;
}

.type-works-grid .featured-work-card .work-body dd a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.featured-work-card .card-btn {
    clear: both;
}

.work-body {
    padding: 20px;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 13px;
}

.badges span {
    padding: 4px 8px;
    border-radius: 3px;
    background: #efe7d5;
    color: #775a1d;
    font-size: 12px;
    font-weight: 900;
}

.work-body h3 {
    min-height: 52px;
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.3;
}

.work-body p,
.muted {
    color: var(--muted);
}

.works-grid .work-card .work-body > p {
    display: -webkit-box !important;
    height: 4.8em;
    max-height: 4.8em;
    overflow: hidden;
    line-height: 1.6;
    text-overflow: ellipsis;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.work-body dl {
    display: grid;
    gap: 8px;
    margin: 18px 0;
}

.work-body dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
}

.work-body dt {
    color: var(--muted);
}

.work-body dd {
    margin: 0;
    text-align: right;
    font-weight: 900;
}

.card-btn {
    width: 100%;
    color: var(--white);
    background: var(--deep-2);
    border: 1px solid var(--deep-2);
}

.split-section {
    background: linear-gradient(135deg, #efece2, #f7f5ee);
}

.split-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 46px;
    align-items: start;
}

.trade-list {
    display: grid;
    gap: 12px;
}

.trade-list article {
    padding: 22px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid #ded6c3;
    border-radius: 4px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.trade-list h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.trade-list p {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
}

.trade-list span {
    padding: 5px 9px;
    background: #eee7d6;
    border-radius: 3px;
    color: #4c514b;
    font-size: 13px;
}

.list-hero {
    color: #f7fbf8;
    background:
        linear-gradient(110deg, rgba(7, 19, 15, 0.96), rgba(13, 33, 26, 0.9)),
        url("/static/images/home-hero-premium.png") center right / cover no-repeat;
    padding: 72px 0;
}

.list-hero-compact {
    padding: 38px 0;
}

.list-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 44px;
    align-items: center;
}

.list-hero-compact .list-hero-grid {
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 28px;
}

.list-hero h1 {
    margin-bottom: 16px;
    font-size: clamp(38px, 4.5vw, 64px);
}

.list-hero-compact h1 {
    margin-bottom: 10px;
    font-size: clamp(30px, 3.2vw, 44px);
}

.list-hero p {
    max-width: 720px;
    color: #cbd7d0;
    font-size: 17px;
}

.list-hero-compact p {
    max-width: 560px;
    font-size: 15px;
}

.list-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.list-hero-compact .list-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.list-hero-stats div {
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(234, 209, 154, 0.22);
    border-radius: 4px;
}

.list-hero-compact .list-hero-stats div {
    padding: 14px 16px;
}

.list-hero-stats span {
    display: block;
    color: #cbd7d0;
    font-size: 13px;
}

.list-hero-stats strong {
    display: block;
    margin-top: 8px;
    color: var(--gold-2);
    font-size: 34px;
    line-height: 1;
}

.list-hero-compact .list-hero-stats strong {
    margin-top: 6px;
    font-size: 26px;
}

.list-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
    padding: 34px 0 80px;
}

.filter-panel {
    position: sticky;
    top: 100px;
    align-self: start;
    padding: 20px;
    background: #fffdfa;
    border: 1px solid #ded6c3;
    border-radius: 4px;
    box-shadow: 0 18px 48px rgba(25, 35, 30, 0.07);
}

.filter-panel form {
    display: grid;
    gap: 14px;
}

.filter-panel label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
}

.filter-panel input,
.filter-panel select {
    min-height: 42px;
    padding: 0 12px;
    color: var(--ink);
    background: #fbfaf6;
    border: 1px solid #ded6c3;
    border-radius: 4px;
    font: inherit;
    outline: 0;
}

.filter-panel button {
    min-height: 44px;
    color: #161307;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border: 0;
    border-radius: 4px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.filter-panel a {
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

.market-list {
    min-width: 0;
}

.market-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.market-tabs a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    color: #4d4436;
    background: #fffdfa;
    border: 1px solid #ded6c3;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.market-tabs a.active,
.market-tabs a:hover {
    color: #161307;
    background: #f1dfb9;
    border-color: var(--gold);
}

.market-count {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.market-work-list {
    display: grid;
    gap: 14px;
}

.market-work-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 174px;
    gap: 18px;
    padding: 18px;
    background: #fffdfa;
    border: 1px solid #ded6c3;
    border-radius: 4px;
    box-shadow: 0 18px 48px rgba(25, 35, 30, 0.07);
}

.market-poster {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    min-height: 126px;
    color: #f6ead0;
    background:
        linear-gradient(145deg, rgba(15, 34, 27, 0.98), rgba(92, 72, 34, 0.9)),
        radial-gradient(circle at 28% 18%, rgba(234, 209, 154, 0.42), transparent 34%);
    border-radius: 4px;
}

.market-poster img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.market-poster span {
    max-width: 54px;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
}

.market-work-main {
    min-width: 0;
}

.market-work-main h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.market-work-main h2 a {
    color: inherit;
}

.market-work-main p {
    display: -webkit-box;
    margin-bottom: 14px;
    color: var(--muted);
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.work-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.work-meta-tags span,
.work-meta-tags a {
    max-width: 100%;
    padding: 6px 10px;
    overflow: hidden;
    color: #314039;
    background: #f8f2e5;
    border: 1px solid #eadfc8;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-meta-tags a {
    color: #705322;
    background: #fff8e9;
    border-color: #dec58b;
}

.work-meta-tags a:hover {
    color: #171307;
    background: #f1dfb9;
}

.seller-public-hero {
    padding: 42px 0 34px;
    color: #f7fbf8;
    background:
        linear-gradient(110deg, rgba(7, 19, 15, 0.96), rgba(13, 33, 26, 0.9)),
        url("/static/images/home-hero-premium.png") center right / cover no-repeat;
}

.seller-public-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 28px;
    align-items: start;
}

.seller-public-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.seller-public-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    color: #171307;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border-radius: 4px;
    font-size: 13px;
    font-weight: 900;
}

.seller-public-badges span + span {
    color: #ead19a;
    background: rgba(255, 253, 250, 0.08);
    border: 1px solid rgba(234, 209, 154, 0.24);
}

.seller-public-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
}

.seller-public-hero p {
    max-width: 860px;
    margin: 0;
    color: #dce6e1;
    font-size: 16px;
    line-height: 1.75;
}

.seller-public-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.seller-public-summary {
    padding: 12px;
    background: rgba(255, 253, 250, 0.08);
    border: 1px solid rgba(234, 209, 154, 0.2);
    border-radius: 6px;
}

.seller-public-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.seller-public-stats div {
    display: grid;
    gap: 3px;
    min-height: 48px;
    padding: 9px 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(234, 209, 154, 0.16);
    border-radius: 4px;
}

.seller-public-stats dt {
    color: #b8c7c0;
    font-size: 12px;
    white-space: nowrap;
}

.seller-public-stats dd {
    margin: 0;
    color: #fff8e9;
    font-size: 18px;
    font-weight: 900;
    white-space: nowrap;
}

.seller-public-shell {
    padding: 28px 0 76px;
}

.seller-work-head {
    margin-bottom: 14px;
}

.seller-work-head h2 {
    font-size: 24px;
    line-height: 1.25;
}

.seller-work-filter {
    display: grid;
    grid-template-columns: minmax(190px, 1.45fr) repeat(3, minmax(140px, 1fr)) auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 18px;
    padding: 14px;
    background: #fffdfa;
    border: 1px solid #ded6c3;
    border-radius: 4px;
    box-shadow: 0 14px 36px rgba(25, 35, 30, 0.06);
}

.seller-work-filter label {
    display: grid;
    gap: 6px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 900;
}

.seller-work-filter input,
.seller-work-filter select {
    min-width: 0;
    min-height: 38px;
    padding: 0 11px;
    color: var(--ink);
    background: #fbfaf6;
    border: 1px solid #ded6c3;
    border-radius: 4px;
    font: inherit;
    outline: 0;
}

.seller-work-filter input:focus,
.seller-work-filter select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 161, 90, 0.14);
}

.seller-work-filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.seller-work-filter-actions button,
.seller-work-filter-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.seller-work-filter-actions button {
    color: #161307;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border: 0;
    cursor: pointer;
}

.seller-work-filter-actions a {
    color: var(--green);
    background: #f8f2e5;
    border: 1px solid #eadfc8;
}

.market-work-side {
    display: grid;
    align-content: center;
    justify-items: end;
    gap: 8px;
    padding-left: 18px;
    border-left: 1px solid #eee6d6;
    text-align: right;
}

.market-work-side .price-label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.market-work-side strong {
    color: #1b2d25;
    font-size: 24px;
}

.market-work-side em {
    margin-left: 3px;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

.market-work-side p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.market-work-side a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    color: #2f3d36;
    background: #f7f1e4;
    border: 1px solid #dfd1b6;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 900;
}

.market-work-side a:hover {
    color: #161307;
    background: #efe2c6;
    border-color: var(--gold);
}

.unlock-contact-form {
    margin: 0;
}

.unlock-contact-form button,
.recharge-form button {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    color: var(--white);
    background: var(--deep-2);
    border: 0;
    border-radius: 4px;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.market-work-side .unlock-contact-form button {
    color: #211706;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border: 1px solid rgba(123, 91, 34, 0.22);
    box-shadow: 0 10px 22px rgba(200, 161, 90, 0.2);
}

.market-work-side .unlock-contact-form button:hover {
    filter: brightness(1.03);
}

.market-work-side .unlock-contact-form button.is-in-cart {
    color: #286052;
    background: #e4f7f1;
    border-color: #8cc9b9;
    box-shadow: inset 0 0 0 1px #9ed8c9;
    filter: none;
}

.market-message {
    margin: 14px 0;
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 800;
}

.market-message.error {
    color: #8a2d20;
    background: #fff1ed;
    border: 1px solid #ffc7b8;
}

.market-message.success {
    color: #176b4d;
    background: #edf9f2;
    border: 1px solid #bde8cc;
}

.market-empty {
    padding: 28px;
    background: #fffdfa;
    border: 1px solid #ded6c3;
    border-radius: 4px;
    box-shadow: 0 18px 48px rgba(25, 35, 30, 0.07);
}

.market-empty {
    text-align: center;
}

.market-empty strong {
    display: block;
    margin-bottom: 8px;
    font-size: 22px;
}

.pagination {
    margin-top: 20px;
}

.pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pagination a,
.pagination span {
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    background: #fffdfa;
    border: 1px solid #ded6c3;
    border-radius: 4px;
    font-weight: 800;
}

.pagination .active span {
    color: #161307;
    background: var(--gold-2);
    border-color: var(--gold);
}

.points-page {
    padding: 42px 0 70px;
    background: #f6f2e9;
}

.points-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.points-head h1 {
    margin: 4px 0;
    color: var(--deep);
    font-size: 56px;
    line-height: 1;
}

.points-head p {
    color: var(--muted);
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.history-grid {
    margin-top: 18px;
}

.points-panel {
    padding: 24px;
    background: #fffdfa;
    border: 1px solid #ded6c3;
    border-radius: 6px;
    box-shadow: 0 18px 48px rgba(25, 35, 30, 0.07);
}

.points-panel h2 {
    margin-bottom: 10px;
    font-size: 22px;
}

.points-panel p {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
}

.invite-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    background: #f8f5ec;
    border: 1px solid #ebe0c8;
    border-radius: 4px;
}

.invite-code span,
.invite-link span,
.recharge-form span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.invite-code strong {
    color: var(--deep);
    font-size: 24px;
}

.invite-link,
.recharge-form label {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.invite-link input,
.recharge-form input {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    color: var(--ink);
    background: #fbfdfb;
    border: 1px solid var(--line);
    border-radius: 4px;
    font: inherit;
}

.recharge-form {
    display: grid;
    justify-items: start;
    gap: 14px;
}

.points-table {
    overflow-x: auto;
}

.points-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.points-table th,
.points-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee6d6;
    text-align: left;
    white-space: nowrap;
}

.points-table th {
    color: var(--muted);
    font-size: 12px;
}

.cart-page {
    min-height: 100vh;
    padding: 42px 0 70px;
    background: #f6f2e9;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 18px;
    align-items: start;
}

.cart-panel,
.cart-summary {
    background: #fffdfa;
    border: 1px solid #ded6c3;
    border-radius: 6px;
    box-shadow: 0 18px 48px rgba(25, 35, 30, 0.07);
}

.cart-panel {
    padding: 22px;
}

.cart-summary {
    display: grid;
    gap: 12px;
    padding: 22px;
}

.cart-summary span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.cart-summary strong {
    color: var(--deep);
    font-size: 30px;
}

.cart-summary em {
    margin-left: 4px;
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
}

.cart-summary a,
.cart-summary button,
.detail-side-form button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: var(--white);
    background: var(--deep-2);
    border: 0;
    border-radius: 4px;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.cart-summary .secondary-action {
    color: var(--deep);
    background: #eee7d6;
}

.cart-table {
    overflow-x: auto;
}

.cart-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.cart-table th,
.cart-table td {
    padding: 13px 12px;
    border-bottom: 1px solid #eee6d6;
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

.cart-table th {
    color: var(--muted);
    background: #f8f5ec;
    font-size: 12px;
}

.cart-table td a {
    color: var(--green);
    font-weight: 900;
}

.inline-cart-form {
    margin: 0;
}

.inline-cart-form button {
    padding: 0;
    color: #9b3525;
    background: transparent;
    border: 0;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.delivery-box {
    display: grid;
    gap: 6px;
}

.delivery-box span,
.delivery-box em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.detail-side-form {
    margin: 0;
}

.detail-side-form button {
    width: 100%;
}

.work-detail-page {
    background: var(--theme-detail-page);
}

.work-detail-hero {
    padding: 44px 0 28px;
    background: var(--theme-detail-hero);
    border-bottom: 1px solid var(--theme-card-border);
}

.work-detail-grid {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) minmax(340px, 400px);
    gap: 28px;
    align-items: stretch;
}

.work-detail-grid.no-cover {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
}

.work-detail-cover,
.work-detail-main,
.work-detail-side,
.work-detail-panel {
    background: var(--theme-card);
    border: 1px solid var(--theme-card-border);
    border-radius: 6px;
    box-shadow: 0 18px 48px var(--theme-card-shadow);
}

.work-detail-cover {
    padding: 12px;
}

.work-detail-cover-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    min-height: 0;
    background: var(--theme-soft-panel);
    border: 1px solid var(--theme-soft-border);
    border-radius: 5px;
}

.work-detail-cover-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.work-detail-main {
    padding: 30px;
}

.work-detail-main h1 {
    margin: 14px 0 12px;
    font-size: 38px;
    line-height: 1.15;
}

.work-detail-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0 0;
}

.work-detail-meta div,
.netdisk-info div {
    min-width: 0;
    padding: 12px;
    background: var(--theme-soft-panel);
    border: 1px solid var(--theme-soft-border);
    border-radius: 4px;
}

.work-detail-meta dt,
.netdisk-info dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.work-detail-meta dd,
.netdisk-info dd {
    margin: 5px 0 0;
    overflow: hidden;
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-detail-side {
    display: grid;
    gap: 18px;
    align-content: start;
    padding: 26px;
}

.detail-side-price {
    display: grid;
    gap: 8px;
    width: 100%;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--theme-soft-border);
}

.detail-side-price span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.detail-side-price strong {
    color: var(--deep);
    font-size: 34px;
    line-height: 1.05;
}

.detail-side-price em {
    margin-left: 4px;
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
}

.detail-side-price small {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.detail-side-seller {
    display: grid;
    gap: 6px;
    width: 100%;
    min-height: auto;
    padding: 14px;
    color: var(--ink);
    background: var(--theme-warm-panel);
    border: 1px solid var(--theme-warm-border);
    border-radius: 6px;
}

.detail-side-seller:hover {
    border-color: rgba(200, 161, 90, 0.85);
    box-shadow: 0 10px 28px rgba(148, 117, 42, 0.1);
}

.detail-side-seller span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.detail-side-seller strong {
    overflow: hidden;
    color: var(--deep);
    font-size: 16px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.detail-side-seller em {
    color: var(--green);
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
}

.detail-side-actions {
    display: grid;
    gap: 12px;
    width: 100%;
}

.work-detail-side .detail-primary-action,
.panel-action {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: var(--white);
    background: var(--deep-2);
    border: 0;
    border-radius: 4px;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.work-detail-side .detail-primary-action {
    width: 100%;
    min-height: 46px;
    background: var(--green);
    font-size: 15px;
}

.work-detail-side .detail-primary-action:hover {
    background: #0b5a3f;
}

.work-detail-side .detail-primary-action.is-in-cart {
    color: #59685f;
    background: #e7eadf;
    cursor: not-allowed;
}

.detail-secondary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.detail-secondary-actions a,
.detail-secondary-actions button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    color: var(--deep);
    background: var(--theme-soft-panel);
    border: 1px solid var(--theme-soft-border);
    border-radius: 4px;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.detail-secondary-actions > :only-child {
    grid-column: 1 / -1;
}

.detail-secondary-actions a:hover,
.detail-secondary-actions button:hover {
    color: var(--green);
    background: var(--theme-warm-panel);
}

.work-detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    padding: 24px 0 70px;
}

.work-detail-content .market-message {
    grid-column: 1 / -1;
    margin: 0;
}

.work-detail-panel {
    padding: 24px;
}

.work-detail-summary {
    grid-column: 1 / -1;
}

.work-detail-panel h2 {
    margin-bottom: 12px;
    font-size: 22px;
}

.work-detail-panel p {
    margin-bottom: 16px;
    color: var(--muted);
}

.work-detail-panel .contact-text {
    color: var(--ink);
    font-size: 16px;
    font-weight: 900;
}

.page-content {
    margin-top: 28px;
    margin-bottom: 64px;
    max-width: 960px;
    padding: 34px 40px;
    color: #27372f;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    line-height: 1.85;
}

.page-content p {
    margin: 0 0 16px;
    color: #3d4a42;
    font-size: 16px;
}

.page-content .policy-title {
    margin: 0 0 10px;
    color: #18281f;
    font-size: 26px;
    line-height: 1.3;
}

.page-content .policy-date {
    margin-bottom: 28px;
    color: #8a6b31;
    font-weight: 800;
}

.page-content .policy-section-title {
    margin: 30px 0 12px;
    padding-top: 20px;
    color: #18281f;
    font-size: 20px;
    line-height: 1.35;
    border-top: 1px solid #eee6d6;
}

.page-content .policy-item {
    position: relative;
    margin-bottom: 10px;
    padding-left: 34px;
}

.page-content .policy-item span {
    position: absolute;
    left: 0;
    top: 0;
    color: #8a6b31;
    font-weight: 900;
}

@media (max-width: 760px) {
    .page-content {
        padding: 24px 18px;
    }

    .page-content .policy-title {
        font-size: 22px;
    }

    .page-content .policy-section-title {
        font-size: 18px;
    }
}

.pay-tip {
    margin: 14px 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.issue-panel {
    margin-top: 20px;
}

.netdisk-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.flow {
    background: #fff;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.flow-grid div {
    min-height: 178px;
    padding: 22px;
    background: #fbfaf6;
    border: 1px solid #dfd8c7;
    border-radius: 4px;
}

.flow-grid b {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    color: #171307;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border-radius: 50%;
}

.flow-grid strong,
.flow-grid span {
    display: block;
}

.flow-grid strong {
    margin-bottom: 8px;
    font-size: 18px;
}

.flow-grid span {
    color: var(--muted);
    font-size: 14px;
}

.site-footer {
    padding: 52px 0 28px;
    color: var(--theme-footer-text);
    background: var(--theme-footer-bg);
    border-top: 1px solid var(--theme-footer-line);
}

.footer-shell {
    display: grid;
    gap: 30px;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(420px, 1.35fr);
    gap: 56px;
    align-items: start;
}

.footer-brand {
    display: grid;
    gap: 18px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: max-content;
}

.footer-logo strong,
.footer-logo em {
    display: block;
}

.footer-logo strong {
    color: var(--theme-footer-text);
    font-size: 20px;
    line-height: 1.1;
}

.footer-logo em {
    margin-top: 4px;
    color: var(--theme-footer-muted);
    font-size: 12px;
    font-style: normal;
}

.footer-brand p {
    max-width: 520px;
    margin: 0;
    color: var(--theme-footer-muted);
    font-size: 14px;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.footer-action {
    position: relative;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    overflow: hidden;
    padding: 0 16px 0 13px;
    color: var(--theme-footer-text);
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(16, 45, 33, 0.08);
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.footer-action::before {
    content: "";
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.footer-action::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.18s ease;
}

.footer-action-market::before {
    background:
        linear-gradient(var(--green), var(--green)) 6px 6px / 4px 4px no-repeat,
        linear-gradient(var(--green), var(--green)) 12px 6px / 4px 4px no-repeat,
        linear-gradient(var(--green), var(--green)) 6px 12px / 4px 4px no-repeat,
        linear-gradient(var(--green), var(--green)) 12px 12px / 4px 4px no-repeat,
        linear-gradient(135deg, var(--gold-2), var(--gold));
}

.footer-action-seller {
    color: #171307;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border-color: rgba(255, 255, 255, 0.56);
    box-shadow: 0 14px 32px rgba(200, 161, 90, 0.2);
}

.footer-action-seller::before {
    background:
        linear-gradient(#171307, #171307) 6px 10px / 10px 2px no-repeat,
        linear-gradient(#171307, #171307) 10px 6px / 2px 10px no-repeat,
        rgba(255, 255, 255, 0.52);
}

.footer-action-report {
    color: var(--theme-footer-muted);
}

.footer-action-report::before {
    background:
        linear-gradient(#fff, #fff) 10px 5px / 2px 9px no-repeat,
        linear-gradient(#fff, #fff) 10px 16px / 2px 2px no-repeat,
        linear-gradient(135deg, #d25b50, #9f342f);
}

.footer-action:hover,
.footer-action:focus-visible {
    color: #fff;
    background: var(--deep-2);
    border-color: rgba(234, 209, 154, 0.36);
    box-shadow: 0 16px 34px rgba(7, 19, 15, 0.16);
    outline: none;
    transform: translateY(-2px);
}

.footer-action:hover::after,
.footer-action:focus-visible::after {
    opacity: 1;
}

.footer-action-seller:hover,
.footer-action-seller:focus-visible {
    color: #171307;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border-color: rgba(255, 255, 255, 0.68);
    box-shadow: 0 18px 38px rgba(200, 161, 90, 0.3);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.footer-links nav {
    display: grid;
    gap: 10px;
    align-content: start;
}

.footer-links strong {
    color: var(--theme-footer-text);
    font-size: 15px;
}

.footer-links a {
    width: max-content;
    max-width: 100%;
    color: var(--theme-footer-muted);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--green);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 22px;
    color: var(--theme-footer-muted);
    border-top: 1px solid var(--theme-footer-line);
    font-size: 13px;
}

.theme-switcher {
    display: grid;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.44);
    border: 1px solid var(--theme-footer-line);
    border-radius: 6px;
}

.theme-switcher > span {
    color: var(--theme-footer-text);
    font-size: 14px;
    font-weight: 900;
}

.theme-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.theme-option {
    display: grid;
    justify-items: center;
    gap: 6px;
    min-width: 0;
    padding: 8px 6px;
    color: var(--theme-footer-muted);
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid transparent;
    border-radius: 6px;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.theme-option:hover,
.theme-option.is-active {
    color: var(--theme-footer-text);
    background: rgba(255, 255, 255, 0.72);
    border-color: var(--green);
}

.theme-swatch {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 42px;
    height: 22px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
}

.theme-swatch i {
    display: block;
}

.theme-swatch.fresh i:nth-child(1) {
    background: #0f6a4b;
}

.theme-swatch.fresh i:nth-child(2) {
    background: #ead19a;
}

.theme-swatch.fresh i:nth-child(3) {
    background: #effaf2;
}

.theme-swatch.ocean i:nth-child(1) {
    background: #087c8f;
}

.theme-swatch.ocean i:nth-child(2) {
    background: #bfeaf0;
}

.theme-swatch.ocean i:nth-child(3) {
    background: #edf1ff;
}

.theme-swatch.cherry i:nth-child(1) {
    background: #b64a3f;
}

.theme-swatch.cherry i:nth-child(2) {
    background: #ffd6bd;
}

.theme-swatch.cherry i:nth-child(3) {
    background: #fff7db;
}

.theme-swatch.night i:nth-child(1) {
    background: #10231c;
}

.theme-swatch.night i:nth-child(2) {
    background: #34b783;
}

.theme-swatch.night i:nth-child(3) {
    background: #efd79b;
}

.report-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.report-modal.show {
    display: flex;
}

.report-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 27, 21, 0.58);
    backdrop-filter: blur(3px);
}

.report-modal-panel {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    padding: 26px;
    background: #fff;
    border: 1px solid rgba(16, 48, 35, 0.1);
    border-radius: 8px;
    box-shadow: 0 30px 90px rgba(7, 20, 14, 0.28);
}

.report-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--muted);
    background: #f5f7f4;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.report-modal-close:hover {
    color: var(--ink);
    background: #edf2ee;
}

.report-modal-head {
    margin: 0 40px 20px 0;
}

.report-modal-head h2 {
    margin: 4px 0 8px;
    font-size: 24px;
}

.report-modal-head p:last-child,
.report-login-panel p {
    color: var(--muted);
}

.report-login-panel {
    display: grid;
    gap: 16px;
}

@media (max-width: 1020px) {
    .nav {
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .nav-links {
        order: 3;
        width: 100%;
        overflow: visible;
        padding-bottom: 4px;
    }

    .hero-grid,
    .split-grid,
    .list-hero-grid,
    .list-shell {
        grid-template-columns: 1fr;
    }

    .filter-panel {
        position: static;
    }

    .filter-panel form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-panel button,
    .filter-panel a {
        align-self: end;
    }

    .category-grid,
    .works-grid,
    .flow-grid,
    .strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-panel {
        max-width: 560px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1200px);
    }

    .nav-actions {
        width: 100%;
    }

    .nav-actions > a {
        flex: 1;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding: 34px 0 54px;
    }

    .search-box {
        flex-direction: column;
        gap: 8px;
    }

    .search-box input {
        min-height: 44px;
    }

    .category-grid,
    .works-grid,
    .flow-grid,
    .metric-grid,
    .strip-grid,
    .list-hero-stats,
    .filter-panel form,
    .work-detail-grid,
    .work-detail-meta,
    .work-detail-content,
    .netdisk-info {
        grid-template-columns: 1fr;
    }

    .buyer-stat-grid,
    .buyer-entry-grid {
        grid-template-columns: 1fr;
    }

    .list-hero {
        padding: 48px 0;
    }

    .list-hero-compact {
        padding: 30px 0;
    }

    .seller-public-hero {
        padding: 34px 0 28px;
    }

    .seller-public-hero h1 {
        font-size: 32px;
    }

    .seller-public-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .seller-public-summary {
        padding: 12px;
    }

    .seller-public-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seller-public-stats div {
        display: grid;
        gap: 3px;
    }

    .seller-work-head {
        gap: 10px;
    }

    .seller-work-head h2 {
        font-size: 22px;
    }

    .seller-work-filter {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .seller-work-filter-actions {
        justify-content: space-between;
    }

    .seller-work-filter-actions button,
    .seller-work-filter-actions a {
        flex: 1;
    }

    .float-tools {
        right: 14px;
        top: auto;
        bottom: 18px;
        grid-template-columns: repeat(2, auto);
        transform: none;
    }

    .float-tools a {
        width: 62px;
        min-height: 58px;
        grid-template-rows: 24px auto;
        font-size: 12px;
    }

    .float-tools a::before {
        width: 24px;
        height: 24px;
    }

    .cart-preview-panel {
        right: 14px;
        bottom: 92px;
        left: auto !important;
        top: auto !important;
        width: min(286px, calc(100vw - 28px));
    }

    .site-footer {
        padding: 38px 0 96px;
    }

    .footer-main {
        gap: 28px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-action {
        flex: 1;
        display: grid;
        place-items: center;
        gap: 7px;
        min-width: 0;
        text-align: center;
    }

    .footer-bottom {
        display: grid;
        gap: 8px;
    }

    .market-work-card {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .market-poster {
        min-height: 92px;
    }

    .market-poster span {
        max-width: 42px;
        font-size: 17px;
    }

    .market-work-side {
        grid-column: 1 / -1;
        justify-items: start;
        padding-top: 14px;
        padding-left: 0;
        border-top: 1px solid #eee6d6;
        border-left: 0;
        text-align: left;
    }

    .strip-grid div {
        border-right: 0;
        border-bottom: 1px solid rgba(234, 209, 154, 0.16);
    }

    .section-head,
    .footer-grid {
        align-items: flex-start;
        flex-direction: column;
    }

    .points-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .points-grid {
        grid-template-columns: 1fr;
    }
}

.bq-dialog-open {
    overflow: hidden;
}

.bq-dialog {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 18px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 180ms ease;
}

.bq-dialog.show {
    pointer-events: auto;
    opacity: 1;
}

.bq-dialog-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 18, 15, 0.58);
    backdrop-filter: blur(3px);
}

.bq-dialog-panel {
    position: relative;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
    width: min(430px, calc(100vw - 36px));
    padding: 24px;
    background: #fffdfa;
    border: 1px solid #d9c99f;
    border-radius: 6px;
    box-shadow: 0 28px 90px rgba(10, 18, 14, 0.32);
    transform: translateY(10px) scale(0.98);
    transition: transform 180ms ease;
}

.bq-dialog.show .bq-dialog-panel {
    transform: translateY(0) scale(1);
}

.bq-dialog-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 30px;
    height: 30px;
    color: #786d5d;
    background: transparent;
    border: 0;
    border-radius: 4px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.bq-dialog-close:hover {
    background: #f4ead5;
}

.bq-dialog-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: #171307;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border-radius: 6px;
    font-size: 22px;
    font-weight: 900;
}

.bq-dialog.danger .bq-dialog-mark {
    color: #fffdfa;
    background: #9b2f24;
}

.bq-dialog-copy h2 {
    margin: 0 28px 8px 0;
    color: var(--ink);
    font-size: 21px;
    line-height: 1.3;
}

.bq-dialog-copy p {
    margin: 0;
    color: #665d4e;
    font-size: 14px;
    line-height: 1.75;
    white-space: pre-line;
}

.bq-dialog-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 6px;
}

.bq-dialog-actions button {
    min-width: 92px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 4px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.bq-dialog-cancel {
    color: #4c463b;
    background: #fffdfa;
    border: 1px solid #ded6c3;
}

.bq-dialog-confirm {
    color: #161307;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border: 0;
}

.bq-dialog.danger .bq-dialog-confirm {
    color: #fffdfa;
    background: #9b2f24;
}

select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px !important;
    background-color: #fffdfa !important;
    background-image:
        linear-gradient(45deg, transparent 50%, #8a6b31 50%),
        linear-gradient(135deg, #8a6b31 50%, transparent 50%),
        linear-gradient(to bottom, #eee6d6, #eee6d6) !important;
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 13px) 50%,
        calc(100% - 38px) 50% !important;
    background-size: 5px 5px, 5px 5px, 1px 22px !important;
    background-repeat: no-repeat !important;
    cursor: pointer;
}

select:hover {
    border-color: #c8b98f !important;
}

select:focus {
    border-color: var(--gold) !important;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(200, 161, 90, 0.14) !important;
}

select:disabled {
    color: #9b958a;
    background-color: #f1eee6 !important;
    cursor: not-allowed;
}

select::-ms-expand {
    display: none;
}

.wxpay-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.46);
}

.wxpay-modal.is-open {
    display: flex;
}

.wxpay-dialog {
    position: relative;
    width: min(360px, 100%);
    max-width: calc(100vw - 32px);
    padding: 24px;
    border-radius: 8px;
    background: #fffdfa;
    box-shadow: 0 18px 54px rgba(15, 23, 42, 0.2);
    text-align: center;
}

.wxpay-dialog h2 {
    margin: 0 0 8px;
    color: #2f2617;
    font-size: 22px;
}

.wxpay-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #f1eee6;
    color: #665d4e;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.wxpay-amount,
.wxpay-status {
    margin: 8px 0 0;
    color: #665d4e;
    font-size: 14px;
}

.wxpay-qrcode {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 236px;
    margin: 16px 0 8px;
}

.wxpay-qrcode table {
    margin: 0 auto;
}

.wxpay-qrcode img,
.wxpay-qrcode canvas {
    display: block;
    width: 220px;
    height: 220px;
    margin: 0 auto;
}

.wxpay-qrcode textarea {
    width: 100%;
    min-height: 110px;
    resize: vertical;
}

.wxpay-form-message {
    margin: 10px 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.wxpay-form-message.error {
    background: #fff1f2;
    color: #be123c;
}

.wxpay-form-message.success {
    background: #ecfdf5;
    color: #047857;
}
