:root {
    --ink: #1c1612;
    --ink-soft: #5a4c43;
    --muted: #8a7b6e;
    --paper: #f3ece2;
    --paper-2: #e7dfd2;
    --card: #fbf7f1;
    --line: #ddd3c4;
    --cinnabar: #9a332c;
    --cinnabar-deep: #7c241e;
    --wordmark: #8b2c26;
    --gold: #a68449;
    --gold-soft: #c6aa74;
    --clay: #4a342c;
    --clay-deep: #221b17;
    --night: #161210;
    --night-soft: #cbbfae;
    --tabbar-h: 56px;
    --safe-b: env(safe-area-inset-bottom, 0px);
    --safe-l: env(safe-area-inset-left, 0px);
    --safe-r: env(safe-area-inset-right, 0px);
    --sans: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
    --serif: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Songti SC", "STSong", sans-serif;
    --font: var(--sans);
    --track-title: .08em;
    --track-ui: .08em;
    --fs-xs: 12px;
    --fs-sm: 13px;
    --fs-md: 14px;
    --fs-lg: 16px;
    --fs-xl: 18px;
    --fs-2xl: 22px;
    --fs-3xl: 28px;
    --fs-4xl: 40px;
    --lh-tight: 1.35;
    --lh-body: 1.75;
    --radius: 2px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    font-size: var(--fs-md);
    font-weight: 400;
    color: var(--ink);
    background-color: var(--paper);
    background-image:
        radial-gradient(900px 420px at 50% -120px, rgba(166, 132, 73, .14), transparent 70%),
        linear-gradient(180deg, #f7f2ea 0%, var(--paper) 320px);
    min-height: 100%;
    line-height: var(--lh-body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay); text-decoration: none; }
a:hover { color: var(--cinnabar); }
::selection { background: #ead7b0; color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.card a { color: inherit; }
.card a:hover { color: inherit; }
button, input, select, textarea {
    font-family: var(--sans);
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}
h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 700;
    line-height: var(--lh-tight);
    letter-spacing: var(--track-title);
    color: var(--ink);
}
.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;
}

.site-header {
    position: sticky; top: 0; z-index: 10;
    background: rgba(247, 242, 234, .94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(166, 132, 73, .45);
}
.topbar {
    display: none;
    background: var(--night);
    color: var(--night-soft);
    font-size: var(--fs-xs);
    letter-spacing: .22em;
}
.topbar-inner {
    max-width: 1180px;
    margin: 0 auto;
    min-height: 32px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.topbar-dot {
    width: 4px;
    height: 4px;
    background: var(--gold);
    transform: rotate(45deg);
}
.header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "logo tools"
        "search search";
    align-items: center;
    gap: 8px 10px;
    padding: 10px max(16px, var(--safe-r)) 8px max(16px, var(--safe-l));
    max-width: 1180px; margin: 0 auto;
}
.logo {
    grid-area: logo;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    min-width: 0;
}
.logo:hover { color: var(--ink); }
.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    object-position: center;
    background: transparent;
    flex: 0 0 auto;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.wordmark {
    display: block;
    color: var(--wordmark);
    line-height: 0;
}
.wordmark-svg {
    display: block;
    width: 100%;
    height: auto;
}
.wordmark-header { width: 96px; }
.wordmark-hero {
    width: min(288px, 78vw);
    margin: 0 auto;
}
.wordmark-footer { width: 140px; }
.logo-text small { display: none; }
.header-search {
    grid-area: search; width: 100%; display: flex; min-width: 0; align-items: stretch;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: inset 0 0 0 1px rgba(255, 252, 247, .6);
}
.header-search:focus-within { border-color: var(--gold); }
.header-tools {
    grid-area: tools;
    justify-self: end;
    display: flex;
    gap: 2px;
    font-size: var(--fs-sm);
}
.header-search input {
    border: 0; padding: 10px 14px; width: 100%; background: transparent; outline: none;
    min-width: 0; font-size: var(--fs-md);
}
.header-search button {
    border: 0; border-left: 1px solid var(--line);
    background: transparent; color: var(--ink);
    padding: 0; width: 44px;
    cursor: pointer; white-space: nowrap; flex: none;
    display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    font-size: var(--fs-sm);
    letter-spacing: var(--track-ui);
}
.header-search button .layui-icon { font-size: 16px; color: var(--ink-soft); }
.header-search .search-txt { display: none; }
.header-search button:hover .layui-icon { color: var(--cinnabar); }
.tool-link {
    color: var(--ink);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
}
.tool-link .layui-icon { font-size: 18px; line-height: 1; }
.tool-txt { display: none; }
.tool-link:hover { color: var(--cinnabar); }
.badge {
    position: absolute; top: 4px; right: 2px;
    min-width: 16px; height: 16px; border-radius: 99px;
    background: var(--cinnabar); color: #fff; font-size: 10px;
    display: inline-grid; place-items: center; padding: 0 4px; line-height: 1;
}
.cat-nav {
    border-top: 1px solid var(--line);
}
.cat-nav-inner {
    display: flex;
    align-items: stretch;
    gap: 4px;
    overflow-x: auto;
    padding: 0 max(12px, var(--safe-r)) 0 max(12px, var(--safe-l));
    max-width: 1180px;
    margin: 0 auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent);
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav-inner > .nav-link,
.cat-nav-inner > .nav-drop {
    flex: 0 0 auto;
}
.cat-nav .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 14px 10px;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: var(--fs-md);
    font-weight: 700;
    letter-spacing: .12em;
    white-space: nowrap;
}
.cat-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 0;
    height: 1px;
    background: var(--cinnabar);
    transform: translateX(-50%);
    transition: width .28s ease;
}
.nav-pc { display: none; }
.cat-nav .nav-link.is-on,
.cat-nav .nav-link:hover,
.nav-drop.is-on > .nav-link {
    color: var(--ink);
}
.cat-nav .nav-link.is-on::after,
.cat-nav .nav-link:hover::after,
.nav-drop.is-on > .nav-link::after {
    width: 1.6em;
}
.nav-drop { position: relative; }
.nav-menu { display: none; }
.zihao-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.zihao-card {
    display: flex; flex-direction: column; gap: 6px;
    padding: 16px; color: inherit;
}
.zihao-card strong {
    font-family: var(--serif);
    font-size: var(--fs-xl); font-weight: 700; letter-spacing: .12em;
}
.zihao-card span { font-size: var(--fs-sm); color: var(--muted); }

.site-main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px max(16px, var(--safe-r)) calc(var(--tabbar-h) + var(--safe-b) + 32px) max(16px, var(--safe-l));
}
.site-footer { display: none; }
.footer-qrcodes {
    display: flex; flex-wrap: wrap; gap: 20px 24px;
    list-style: none; margin: 0; padding: 0;
}
.footer-qrcodes li { width: 88px; text-align: center; }
.footer-qrcodes img {
    width: 88px; height: 88px; object-fit: contain;
    background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 4px;
}
.footer-qrcodes span { display: block; margin-top: 6px; font-size: var(--fs-xs); color: #e7d7b6; letter-spacing: .08em; }
.footer-qrcodes em { display: block; margin-top: 2px; font-style: normal; font-size: 12px; color: #a89886; }
.footer-credits { font-size: 12px; line-height: 1.9; color: var(--muted); }
.footer-credits p { margin: 0; }
.footer-credits span { margin-right: 6px; }
.footer-credits a { color: inherit; margin-right: 8px; white-space: nowrap; }
@media (max-width: 859px) {
    .site-footer.has-qr,
    .site-footer.has-credits {
        display: block;
        background: var(--night);
        color: var(--night-soft);
        padding: 22px 16px calc(var(--tabbar-h) + var(--safe-b) + 18px);
        border-top: 2px solid var(--gold);
    }
    .site-footer.has-qr .footer-brand,
    .site-footer.has-qr .footer-nav,
    .site-footer.has-credits .footer-brand,
    .site-footer.has-credits .footer-nav,
    .site-footer .copy { display: none; }
    .footer-credits { margin-top: 14px; text-align: center; }
    .footer-top { justify-content: center; }
    .footer-qrcodes { justify-content: center; }
}

.seal {
    display: block;
    width: 128px;
    height: 128px;
    margin: 0 auto 16px;
    object-fit: contain;
}
.hero {
    position: relative;
    text-align: center;
    padding: 36px 20px 32px;
    margin: 4px 0 8px;
    border: 1px solid rgba(166, 132, 73, .38);
    background: linear-gradient(180deg, rgba(251, 247, 241, .92), rgba(243, 236, 226, .55));
}
.hero-corner {
    position: absolute;
    width: 68px;
    height: 68px;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96' fill='none' stroke='%23a68449' stroke-width='2.2' stroke-opacity='0.5' stroke-linejoin='miter' stroke-linecap='square'%3E%3Cpath d='M6 90V6h84v12H18v60h12V30h48v12H42v24h24v-12H54'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero-corner-tl { top: 8px; left: 8px; }
.hero-corner-tr { top: 8px; right: 8px; transform: scaleX(-1); }
.hero-corner-bl { bottom: 8px; left: 8px; transform: scaleY(-1); }
.hero-corner-br { right: 8px; bottom: 8px; transform: scale(-1); }
.hero-corner,
.hero .seal,
.hero-mark,
.hero-ming,
.hero-title,
.hero-slogan,
.hero .stats {
    animation-duration: .8s;
    animation-timing-function: cubic-bezier(.22, .8, .28, 1);
    animation-fill-mode: both;
}
.hero-corner { animation-name: hero-corner-in; animation-duration: 1s; }
.hero-corner-tr { animation-delay: .08s; }
.hero-corner-bl { animation-delay: .08s; }
.hero-corner-br { animation-delay: .16s; }
.hero .seal { animation-name: hero-seal-in; animation-delay: .2s; }
.hero-mark,
.hero-ming { animation-name: hero-rise-in; animation-delay: .42s; }
.hero-title { animation-name: hero-rise-in; animation-delay: .54s; }
.hero-slogan { animation-name: hero-rise-in; animation-delay: .68s; }
.hero-slogan::after { animation: hero-line-in .55s .9s cubic-bezier(.22, .8, .28, 1) both; }
.hero .stats { animation-name: hero-rise-in; animation-delay: .86s; }
@keyframes hero-corner-in {
    from { opacity: 0; clip-path: inset(0 78% 78% 0); }
    to { opacity: 1; clip-path: inset(0); }
}
@keyframes hero-seal-in {
    from { opacity: 0; transform: scale(1.08); }
    to { opacity: 1; transform: none; }
}
@keyframes hero-rise-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}
@keyframes hero-line-in {
    from { width: 0; opacity: 0; }
    to { width: 36px; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-corner,
    .hero .seal,
    .hero-mark,
    .hero-ming,
    .hero-title,
    .hero-slogan,
    .hero-slogan::after,
    .hero .stats {
        animation: none;
    }
}
.hero-mark {
    margin: 0;
    color: var(--gold);
    font-family: var(--serif);
    font-size: var(--fs-xs);
    letter-spacing: .42em;
    text-indent: .42em;
}
.hero-ming {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
    max-width: 720px;
    margin: 0 auto;
}
.hero-ming-text {
    color: var(--gold);
    font-family: var(--serif);
    font-size: var(--fs-lg);
    letter-spacing: .12em;
    line-height: 1.7;
    text-decoration: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.hero-ming-text:hover { color: var(--cinnabar); }
.hero-ming-like {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    margin: 0;
    padding: 0 4px 0 9px;
    border: 1px solid rgba(166, 132, 73, .38);
    border-radius: 14px;
    background: rgba(255, 252, 247, .8);
    color: var(--gold);
    font-family: var(--serif);
    font-size: 12px;
    letter-spacing: .04em;
    line-height: 1;
    cursor: pointer;
    transition: color .2s, border-color .2s, background .2s;
}
.hero-ming-like .layui-icon {
    font-size: 13px;
    line-height: 1;
}
.hero-ming-like em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    margin-left: 1px;
    padding: 0 6px;
    border-radius: 9px;
    background: rgba(166, 132, 73, .14);
    color: var(--ink-soft);
    font-style: normal;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}
.hero-ming-like:hover {
    border-color: rgba(154, 51, 44, .45);
    color: var(--cinnabar);
}
.hero-ming-like.is-on {
    border-color: rgba(154, 51, 44, .32);
    background: rgba(154, 51, 44, .07);
    color: var(--cinnabar);
}
.hero-ming-like.is-on em {
    background: var(--cinnabar);
    color: #fff;
}
.ming-dialog {
    width: min(560px, calc(100vw - 32px));
    max-height: min(78vh, 640px);
    margin: auto;
    padding: 28px 26px 24px;
    border: 1px solid rgba(166, 132, 73, .45);
    background: var(--card);
    color: var(--ink);
    overflow: auto;
}
.ming-dialog::backdrop { background: rgba(22, 18, 16, .46); }
.ming-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.ming-kicker,
.ming-label {
    margin: 0;
    color: var(--gold);
    font-family: var(--serif);
    font-size: var(--fs-xs);
    letter-spacing: .32em;
}
.ming-dialog h2 {
    margin: 10px 36px 18px 0;
    font-size: var(--fs-xl);
    line-height: 1.6;
    letter-spacing: .06em;
}
.ming-body {
    margin: 8px 0 0;
    color: var(--ink-soft);
    font-size: var(--fs-md);
    line-height: var(--lh-body);
    text-align: left;
}
.hero h1,
.hero-title {
    margin: 14px 0 12px;
    font-size: var(--fs-3xl);
    font-weight: 700;
    letter-spacing: 0;
}
.hero-slogan {
    margin: 0;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: var(--fs-md);
    letter-spacing: .28em;
}
.hero-slogan::after {
    content: "";
    display: block;
    width: 36px;
    height: 1px;
    margin: 16px auto 0;
    background: var(--gold);
}
.stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 28px auto 0;
    max-width: min(920px, calc(100% - 132px));
    border: 1px solid var(--line);
    border-radius: 28px;
    overflow: hidden;
    background: rgba(251, 247, 241, .72);
}
.stats > a {
    display: block;
    padding: 16px 8px 14px;
    text-align: center;
    color: inherit;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.stats > a:hover { color: inherit; background: var(--card); }
.stats > a:nth-child(2n),
.stats > a:last-child { border-right: 0; }
.stats > a:last-child { grid-column: 1 / -1; border-bottom: 0; }
.stats b {
    display: block;
    font-family: var(--serif);
    font-size: var(--fs-2xl);
    font-weight: 700;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
}
.stats span {
    display: block;
    margin-top: 4px;
    font-size: var(--fs-xs);
    color: var(--muted);
    letter-spacing: .12em;
}

.section { margin-top: 44px; }
.section-head {
    display: flex; justify-content: space-between; align-items: baseline;
    flex-wrap: wrap; gap: 8px 16px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.section-head .muted { flex: 1 0 100%; margin: 6px 0 0; }
.section-head h1,
.section-head h2 {
    margin: 0;
    font-size: var(--fs-xl);
    font-weight: 700;
    letter-spacing: var(--track-title);
}
.section-head h1::before,
.section-head h2::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 10px;
    background: var(--cinnabar);
    transform: rotate(45deg) translateY(-1px);
    vertical-align: middle;
}
.section-head h1 { font-size: var(--fs-2xl); }
.section-head a { font-size: var(--fs-sm); color: var(--muted); letter-spacing: .08em; }
.section-head a:hover { color: var(--cinnabar); }
.section-head > a::after {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-left: 6px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    vertical-align: middle;
}
.catalog-head { margin-bottom: 8px; }
.catalog-head .section-head {
    margin-bottom: 14px;
    padding-bottom: 0;
    border-bottom: 0;
}
.catalog-head .catalog-count {
    margin: 0 0 0 auto;
    flex: none;
    color: var(--muted);
    font-size: var(--fs-sm);
    font-variant-numeric: tabular-nums;
}
.catalog-head .chips { margin-bottom: 4px; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
.grid > .card {
    border: 1px solid var(--line);
    background: var(--card);
    border-radius: var(--radius);
    padding: 8px 8px 14px;
    box-shadow: 0 8px 24px rgba(28, 22, 18, .04);
    transition: transform .28s ease, box-shadow .28s ease;
}
.grid > .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(28, 22, 18, .08);
}
.grid > .card .thumb { border-radius: 1px; }
.card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
}
.card .thumb { aspect-ratio: 3 / 2; background: #fff; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s ease; }
.grid > .card:hover .thumb img { transform: scale(1.03); }
.card .meta { padding: 12px 4px 0; background: transparent; }
.card h3 {
    margin: 0 0 6px;
    font-family: var(--serif);
    font-size: var(--fs-md);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: var(--track-title);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card .who, .card .attr {
    margin: 0;
    color: var(--muted);
    font-size: var(--fs-xs);
    line-height: 1.5;
}
.price {
    color: var(--cinnabar);
    font-family: var(--serif);
    font-weight: 700;
    margin-top: 8px;
    font-size: var(--fs-md);
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
}
.price-lg { font-size: var(--fs-xl); margin-top: 12px; }
.buy-box .price-lg { font-size: var(--fs-2xl); margin: 12px 0 4px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center;
    padding: 0 12px;
    min-height: 42px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: var(--fs-sm);
    letter-spacing: .04em;
    border-radius: var(--radius);
}
.chips > :first-child { border-radius: 999px 0 0 999px; }
.chips > :last-child { border-radius: 0 999px 999px 0; }
.chips > :first-child:last-child { border-radius: 999px; }
.chip .layui-icon { font-size: 14px; margin-right: 4px; }
.chip.is-on { background: var(--clay-deep); color: #f6f1ea; border-color: var(--clay-deep); }
a.chip:hover { border-color: var(--gold); color: var(--ink); }
a.chip.is-on:hover {
    background: var(--clay-deep);
    border-color: var(--gold);
    color: #f6f2eb;
}

.filters {
    padding: 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 24px;
}
.filters form { display: grid; gap: 10px; padding: 4px 0 14px; }
.filter-panel > summary {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    cursor: pointer;
    list-style: none;
    color: var(--ink-soft);
    font-family: var(--sans);
    font-size: var(--fs-sm);
    letter-spacing: var(--track-ui);
    user-select: none;
}
.filter-panel > summary::-webkit-details-marker,
.filter-panel > summary::marker { display: none; content: ""; }
.filter-panel > summary .layui-icon {
    margin-left: auto;
    font-size: 12px;
    color: var(--muted);
    transition: transform .2s ease;
}
.filter-panel[open] > summary { color: var(--ink); }
.filter-panel[open] > summary .layui-icon { transform: rotate(180deg); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-row .btn { flex: none; }
.filter-row label { font-size: var(--fs-xs); color: var(--muted); }
.filter-row input, .filter-row select {
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 9px 12px; background: #fff; min-width: 0;
    flex: 1 1 140px; font-size: var(--fs-md);
}

.crumbs {
    display: flex; flex-wrap: wrap; gap: 6px;
    font-size: var(--fs-sm); color: var(--muted); margin-bottom: 20px;
}
.crumbs a { color: var(--muted); }
.crumbs span { color: var(--ink-soft); }
.crumbs span[aria-hidden="true"] { color: var(--gold); }

.gallery { display: grid; gap: 10px; }
.gallery-main {
    background: #ebe3d4;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid var(--line);
    box-shadow: inset 0 0 0 12px var(--card);
}
.gallery-main img, .thumbs img, .author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery { aspect-ratio: 3 / 2; }
.product-gallery img, .detail .thumbs img { object-fit: contain; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button {
    width: 64px; height: 64px; padding: 0;
    border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; background: var(--card); flex: 0 0 auto;
}
.thumbs button:hover,
.thumbs button.is-on { border-color: var(--cinnabar); }
.buy-box {
    padding: 8px 0 0; margin-top: 16px;
    border-top: 1px solid var(--line);
}
.buy-box h1 {
    margin: 12px 0 8px;
    font-size: var(--fs-xl);
    font-weight: 700;
}
.kv { display: grid; grid-template-columns: 72px 1fr; gap: 8px 12px; font-size: var(--fs-md); margin: 16px 0; }
.kv dt { color: var(--muted); }
.actions { display: flex; gap: 10px; margin-top: 20px; }
.btn {
    appearance: none; border: 0; border-radius: var(--radius);
    padding: 0 18px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    font-family: var(--sans);
    font-size: var(--fs-md); font-weight: 500; letter-spacing: var(--track-ui);
    min-height: 44px;
}
.btn .layui-icon { font-size: 16px; }
.btn:disabled { opacity: .42; cursor: not-allowed; }
.btn-primary { background: var(--cinnabar); color: #fbf6ef; flex: 1; }
.btn-primary:hover { background: var(--cinnabar-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); flex: 1; }
.btn-ghost:hover,
.btn-ghost.is-on { border-color: var(--cinnabar); color: var(--cinnabar); }
.btn-sm { flex: none; min-height: 36px; padding: 0 14px; font-size: var(--fs-sm); }
.btn-block { width: 100%; }
.fav-row { margin: 12px 0 0; }
.rich { font-size: var(--fs-md); color: var(--ink-soft); line-height: 1.85; }
.rich img { border-radius: var(--radius); margin: 12px 0; }

.author-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.author-card { display: flex; gap: 12px; padding: 14px; align-items: center; }
.author-avatar {
    width: 56px; height: 56px; border-radius: 2px; overflow: hidden;
    background: var(--paper-2); flex: 0 0 auto;
    box-shadow: 0 0 0 1px var(--gold-soft);
}
.wiki-list { display: grid; gap: 0; }
.wiki-item {
    padding: 18px 2px; border: 0; border-bottom: 1px solid var(--line);
    background: transparent; border-radius: 0;
}
.wiki-item h2 {
    margin: 0 0 6px;
    font-size: var(--fs-lg);
    font-weight: 700;
    letter-spacing: .06em;
}
.wiki-item.has-cover { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; }
.wiki-cover { width: 88px; height: 88px; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.wiki-cover img { width: 100%; height: 100%; object-fit: cover; }
.wiki-cats, .know-tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.wiki-cat, .know-tool {
    padding: 22px 16px 18px;
    color: inherit;
    background:
        linear-gradient(var(--gold), var(--gold)) left 8px top 8px / 12px 1px no-repeat,
        linear-gradient(var(--gold), var(--gold)) left 8px top 8px / 1px 12px no-repeat,
        var(--card);
    transition: border-color .2s ease, transform .2s ease;
}
.wiki-cat:hover, .know-tool:hover {
    border-color: var(--gold-soft);
    transform: translateY(-2px);
}
.wiki-cat .layui-icon, .know-tool .layui-icon {
    display: block;
    font-size: 20px;
    color: var(--gold);
    margin-bottom: 10px;
}
.wiki-cat h2, .know-tool h2 {
    margin: 0 0 8px;
    font-size: var(--fs-lg);
    font-weight: 500;
    letter-spacing: .06em;
}
.wiki-cat .count {
    margin: 12px 0 0;
    color: var(--gold);
    font-size: var(--fs-sm);
    font-weight: 500;
}
.know-tool b {
    display: block;
    font-size: var(--fs-2xl);
    color: var(--ink);
    margin-top: 10px;
    font-family: var(--serif);
    font-weight: 700;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
}
.know-tool span { font-size: var(--fs-xs); color: var(--muted); }
.name-dir-switch { margin: 0 0 16px; }
.name-dir-index {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 2px;
    margin: 0 0 24px;
    padding: 8px 0;
    position: sticky;
    top: 152px;
    z-index: 2;
    background: rgba(243, 236, 226, .96);
    border-bottom: 1px solid var(--line);
}
.name-dir-index a {
    min-width: 28px;
    text-align: center;
    padding: 4px 8px;
    font-size: var(--fs-sm);
    color: var(--ink-soft);
    border-radius: var(--radius);
}
.name-dir-index a:hover { color: var(--ink); background: var(--paper-2); }
.name-dir-group { margin: 0 0 28px; }
.name-dir-group h2 {
    margin: 0 0 12px;
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--cinnabar);
    border-bottom: 1px solid var(--line);
    padding-bottom: 6px;
    scroll-margin-top: 120px;
}
.name-dir-names {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
}
.name-dir-names a {
    color: inherit;
    font-size: var(--fs-md);
    line-height: 2;
}
.name-dir-names a:hover { color: var(--clay-deep); }
.name-dir-names a small {
    margin-left: 6px;
    color: var(--muted);
    font-size: var(--fs-xs);
    font-weight: 400;
}
.page-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 0 24px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
}
.page-stats > div {
    padding: 16px 8px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.page-stats > div:nth-child(2n) { border-right: 0; }
.page-stats > div:nth-last-child(-n+2) { border-bottom: 0; }
.page-stats b {
    display: block;
    font-family: var(--serif);
    font-size: var(--fs-xl);
    font-weight: 700;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
}
.page-stats span {
    font-size: var(--fs-xs);
    color: var(--muted);
}
.filter-block { margin: 0 0 16px; }
.filter-label {
    margin: 0 0 8px;
    font-size: var(--fs-xs);
    color: var(--muted);
    letter-spacing: .06em;
}
.chip small {
    margin-left: 6px;
    font-size: var(--fs-xs);
    opacity: .72;
    font-variant-numeric: tabular-nums;
}
.auction-grid { display: grid; gap: 12px; }
.auction-lot {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 14px;
    align-items: start;
    margin: 0;
    padding: 12px;
}
.auction-lot:not(:has(.thumb)) { grid-template-columns: 1fr; }
.auction-lot .thumb {
    aspect-ratio: 1;
    border-radius: var(--radius);
    background: var(--paper);
}
.auction-lot .thumb img { object-fit: contain; }
.auction-lot h2 {
    margin: 0 0 6px;
    font-size: var(--fs-md);
    font-weight: 500;
    line-height: 1.4;
}
.auction-lot h2 a { color: inherit; }
.auction-lot .price-lg { margin-top: 8px; font-size: var(--fs-lg); }
.auction-lot .lot-src { margin: 8px 0 0; font-size: var(--fs-sm); }
.auction-lot .lot-special {
    margin: 6px 0 0;
    font-size: var(--fs-xs);
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lot-gallery { background: var(--paper); }
.lot-gallery img { object-fit: contain; }
.lot-desc {
    padding: 16px;
    white-space: pre-wrap;
    color: var(--ink-soft);
    font-size: var(--fs-md);
    line-height: 1.85;
}
.seal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.seal-card { margin: 0; padding: 10px; color: inherit; }
.seal-card img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--paper); border-radius: var(--radius); }
.seal-card p, .seal-card figcaption {
    margin: 8px 0 0; font-size: var(--fs-xs); text-align: center; color: var(--muted);
}
.rank-item, .auction-item { padding: 16px; }
.rank-item h2, .auction-item h2 {
    margin: 0 0 6px; font-size: var(--fs-lg); font-weight: 500;
}
.zihao { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.zihao span, .zihao a {
    display: inline-flex; padding: 4px 10px;
    border: 1px solid var(--line); border-radius: var(--radius); font-size: var(--fs-xs);
    color: inherit;
}

.form {
    display: grid; gap: 14px;
    background: var(--card); padding: 24px;
    border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 10px 28px rgba(28, 22, 18, .04);
}
.form h2 {
    margin: 6px 0 0;
    font-size: var(--fs-lg);
}
.form label span { display: block; font-size: var(--fs-sm); color: var(--muted); margin-bottom: 6px; letter-spacing: var(--track-ui); }
.form input, .form textarea, .form select {
    width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; background: #fff;
}
.form input:focus, .form textarea:focus, .form select:focus,
.filter-row input:focus, .filter-row select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(166, 132, 73, .16);
}
.muted { color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }
.empty {
    text-align: center;
    padding: 56px 12px;
    color: var(--muted);
    font-size: var(--fs-md);
}

.cart-item, .order-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 14px; display: grid; grid-template-columns: 88px 1fr; gap: 14px; margin-bottom: 12px;
}
.cart-item img, .order-card img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--radius); }
.cart-title { margin: 0 0 4px; font-size: var(--fs-md); font-weight: 500; letter-spacing: 0; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 8px; }
.qty button {
    width: 40px; height: 40px; border: 0; background: #fff; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; color: var(--clay);
}
.qty button .layui-icon { font-size: 16px; }
.qty input { width: 40px; border: 0; text-align: center; font-size: var(--fs-md); }

.tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 12;
    display: grid; grid-template-columns: repeat(5, 1fr);
    background: rgba(251, 247, 241, .97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -1px 0 rgba(166, 132, 73, .35);
    padding-bottom: var(--safe-b);
    height: calc(var(--tabbar-h) + var(--safe-b));
    padding-left: var(--safe-l);
    padding-right: var(--safe-r);
}
.tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--muted);
    font-size: var(--fs-xs);
    min-width: 0;
}
.tabbar a .layui-icon { font-size: 18px; line-height: 1; }
.tabbar a.is-on { color: var(--cinnabar); }

.toast {
    position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 18px); transform: translateX(-50%);
    background: var(--night); color: #f6f1ea; padding: 10px 18px;
    border-radius: var(--radius); z-index: 30; font-size: var(--fs-sm);
    letter-spacing: .08em;
    box-shadow: 0 10px 28px rgba(22, 18, 16, .28);
}

.pager { margin-top: 8px; }
.pagination {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 24px 0 8px;
    margin: 0;
    width: 100%;
}
.pagination li > a, .pagination li > span {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: var(--radius);
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 0 10px;
    font-size: var(--fs-sm);
}
.pagination .layui-icon { font-size: 14px; }
.pagination .page-prev > a,
.pagination .page-prev > span,
.pagination .page-next > a,
.pagination .page-next > span { width: 100%; min-width: 0; }
.pagination .page-prev > a,
.pagination .page-prev > span { border-radius: 999px 0 0 999px; }
.pagination .page-next > a,
.pagination .page-next > span { border-radius: 0 999px 999px 0; }
.pagination .disabled > span { color: var(--muted); opacity: .5; }
.pagination .active > span { background: var(--clay-deep); color: #f6f1ea; border-color: var(--clay-deep); }
.pagination .page-num,
.pagination .page-dots { display: none; }
.pagination .page-num.active { display: block; }
.pagination > .page-prev { grid-column: 1; }
.pagination > .page-num.active { grid-column: 2; justify-self: center; }
.pagination > .page-next { grid-column: 3; }
.pagination-simple { grid-template-columns: 1fr 1fr; }
.pagination-simple > .page-next { grid-column: 2; }

.user-hero {
    padding: 4px 0 18px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--line);
}
.user-hero h1 { font-size: var(--fs-2xl); font-weight: 700; margin: 0; }
.user-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.user-links a {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px; color: var(--ink);
    display: flex; flex-direction: column; gap: 6px; min-height: 88px;
    font-size: var(--fs-sm);
}
.user-links .layui-icon { font-size: 18px; color: var(--gold); }
.user-links b {
    display: block;
    font-family: var(--serif);
    font-size: var(--fs-xl);
    color: var(--cinnabar);
    font-weight: 700;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
}

.about-page { max-width: 640px; padding: 12px 0 40px; }
.about-page h1 {
    font-size: var(--fs-3xl); font-weight: 700; margin: 12px 0;
}
.about-page h1::before { display: none; }
.about-page .wordmark-hero { margin: 0; }
.about-page p { color: var(--ink-soft); line-height: 1.9; font-size: var(--fs-md); }

#think_page_trace,
#think_page_trace_open { display: none !important; }

@media (min-width: 860px) {
    .topbar { display: block; }
    .header-inner {
        display: flex; gap: 20px;
        padding: 16px 32px 14px;
        align-items: center;
    }
    .header-search { width: auto; flex: 1; max-width: 520px; }
    .header-search button { width: auto; padding: 0 16px; }
    .header-search .search-txt { display: inline; }
    .header-tools { gap: 4px; }
    .tool-link { width: auto; height: auto; padding: 8px 10px; }
    .tool-txt { display: inline; font-size: var(--fs-sm); }
    .badge { top: -2px; right: -4px; }
    .logo-img { width: 44px; height: 44px; }
    .wordmark-header { width: 124px; }
    .wordmark-hero { width: 320px; }
    .logo-text small {
        display: block;
        color: var(--muted);
        font-size: var(--fs-xs);
        letter-spacing: .06em;
        margin-top: 3px;
        font-weight: 400;
    }
    .stats {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        max-width: min(1080px, calc(100% - 120px));
        border-radius: 999px;
    }
    .stats > a {
        padding: 18px 10px 16px;
        border-bottom: 0;
        border-right: 1px solid var(--line);
    }
    .stats > a:nth-child(2n) { border-right: 1px solid var(--line); }
    .stats > a:first-child { padding-left: 22px; }
    .stats > a:last-child { grid-column: auto; padding-right: 22px; border-right: 0; }
    .cat-nav {
        border-top: 0;
        padding: 2px 0 14px;
    }
    .cat-nav-inner {
        justify-content: space-between;
        gap: 4px;
        width: 100%;
        max-width: 1180px;
        margin: 0 auto;
        padding: 6px 12px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: #fff;
        box-sizing: border-box;
        mask-image: none;
        overflow: visible;
    }
    .cat-nav-inner > .nav-link,
    .cat-nav-inner > .nav-drop {
        flex: 1 1 0;
        display: flex;
        justify-content: center;
    }
    .cat-nav .nav-link {
        width: 100%;
        min-height: 40px;
        padding: 0 10px;
        font-size: var(--fs-lg);
        letter-spacing: .12em;
        border: 1px solid transparent;
        border-radius: 999px;
        background: transparent;
        isolation: isolate;
        overflow: hidden;
        transition: background .2s ease, border-color .2s ease, color .2s ease;
    }
    .cat-nav .nav-link::after { display: none; }
    .cat-nav .nav-link::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: -1;
        width: 100%;
        aspect-ratio: 1;
        border-radius: 50%;
        background: var(--paper);
        transform: translate(-50%, -50%) scale(0);
        transition: transform .45s cubic-bezier(.16, .84, .32, 1);
        pointer-events: none;
    }
    .cat-nav .nav-link:hover,
    .nav-drop:hover > .nav-link {
        border-color: var(--line);
        color: var(--ink);
    }
    .cat-nav .nav-link:hover::before,
    .nav-drop:hover > .nav-link::before {
        transform: translate(-50%, -50%) scale(1);
    }
    .cat-nav .nav-link.is-on,
    .nav-drop.is-on > .nav-link {
        background: var(--cinnabar);
        border-color: var(--cinnabar);
        color: #fff;
    }
    .cat-nav .nav-link.is-on::before,
    .nav-drop.is-on > .nav-link::before,
    .nav-drop.is-on:hover > .nav-link::before {
        transform: translate(-50%, -50%) scale(0);
    }
    .cat-nav .nav-link:active,
    .nav-drop:active > .nav-link {
        background: var(--paper-2);
    }
    .cat-nav .nav-link.is-on:active,
    .nav-drop.is-on > .nav-link:active {
        background: var(--cinnabar-deep);
        border-color: var(--cinnabar-deep);
        color: #fff;
    }
    .nav-m { display: none; }
    .nav-pc { display: inline; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        min-width: 196px;
        padding: 16px 8px 8px;
        background: transparent;
        border: 0;
        z-index: 30;
    }
    .nav-menu::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 8px;
        bottom: 0;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 14px 14px 28px 28px;
        box-shadow: 0 16px 36px rgba(28, 22, 18, .08);
        z-index: -1;
    }
    .nav-drop:hover .nav-menu,
    .nav-drop:focus-within .nav-menu { display: grid; }
    .nav-menu a {
        position: relative;
        display: block;
        margin: 2px 0;
        padding: 8px 22px;
        color: var(--ink-soft);
        font-family: var(--serif);
        font-size: var(--fs-md);
        letter-spacing: .12em;
        text-align: center;
        border: 1px solid transparent;
        border-radius: 999px;
        min-height: 0;
        isolation: isolate;
        overflow: hidden;
        transition: background .2s ease, border-color .2s ease, color .2s ease;
    }
    .nav-menu a::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: -1;
        width: 100%;
        aspect-ratio: 1;
        border-radius: 50%;
        background: var(--paper);
        transform: translate(-50%, -50%) scale(0);
        transition: transform .45s cubic-bezier(.16, .84, .32, 1);
        pointer-events: none;
    }
    .nav-menu a:hover {
        border-color: var(--line);
        color: var(--ink);
    }
    .nav-menu a:hover::before {
        transform: translate(-50%, -50%) scale(1);
    }
    .nav-menu a.is-on {
        background: var(--cinnabar);
        border-color: var(--cinnabar);
        color: #fff;
    }
    .nav-menu a.is-on::before,
    .nav-menu a.is-on:hover::before {
        transform: translate(-50%, -50%) scale(0);
    }
    .nav-menu a:active {
        background: var(--paper-2);
    }
    .nav-menu a.is-on:active {
        background: var(--cinnabar-deep);
        border-color: var(--cinnabar-deep);
        color: #fff;
    }
    @media (prefers-reduced-motion: reduce) {
        .cat-nav .nav-link::before,
        .nav-menu a::before { transition: none; }
    }
    .site-main { padding: 40px 32px 80px; }
    .grid { grid-template-columns: repeat(4, 1fr); gap: 32px 22px; }
    .author-grid { grid-template-columns: repeat(4, 1fr); }
    .wiki-cats { grid-template-columns: repeat(4, 1fr); }
    .know-tools { grid-template-columns: repeat(4, 1fr); }
    .page-stats { grid-template-columns: repeat(4, 1fr); }
    .page-stats > div { border-bottom: 0; }
    .page-stats > div:nth-child(2n) { border-right: 1px solid var(--line); }
    .page-stats > div:last-child { border-right: 0; }
    .auction-grid { grid-template-columns: 1fr 1fr; }
    .seal-grid { grid-template-columns: repeat(6, 1fr); }
    .zihao-grid { grid-template-columns: repeat(4, 1fr); }
    .tabbar { display: none; }
    .site-footer {
        display: block;
        background:
            linear-gradient(var(--gold), var(--gold)) top / 100% 2px no-repeat,
            var(--night);
        color: var(--night-soft);
        padding: 52px 32px 40px;
        border-top: 0;
        font-size: var(--fs-sm);
    }
    .footer-inner { max-width: 1180px; margin: 0 auto; }
    .footer-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 32px 48px;
    }
    .footer-brand { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
    .footer-brand h2 {
        margin: 2px 0 8px; font-size: inherit; font-weight: 500;
        letter-spacing: 0; color: #e7d7b6;
    }
    .site-footer .wordmark { color: #e7d7b6; }
    .footer-slogan { margin: 0; font-size: var(--fs-xs); letter-spacing: .16em; color: #a89886; }
    .footer-logo {
        width: 72px; height: 72px; margin-top: 0;
        padding: 4px; box-sizing: border-box;
        object-fit: contain;
        border-radius: 50%;
        background: #f6f1e8;
        box-shadow: 0 0 0 1px rgba(198, 170, 116, .62);
    }
    .footer-nav {
        flex: 0 1 auto;
        display: grid;
        grid-template-columns: repeat(5, max-content);
        column-gap: 28px;
        row-gap: 14px;
        align-content: start;
        margin: 8px 0 0;
    }
    .footer-nav a { color: #d9cfc2; font-size: var(--fs-sm); letter-spacing: .06em; }
    .footer-nav a:hover { color: var(--gold-soft); }
    .footer-follow { flex: 0 0 auto; margin-left: auto; }
    .footer-base {
        margin-top: 28px;
        padding-top: 16px;
        border-top: 1px solid rgba(231, 215, 182, .18);
    }
    .copy {
        margin: 0;
        font-size: var(--fs-xs);
        color: #8f8274;
        letter-spacing: .06em;
    }
    .copy a { color: inherit; }
    .footer-credits { margin-top: 8px; font-size: var(--fs-xs); }
    .footer-credits { color: #8f8274; }
    .footer-credits a:hover { color: var(--gold-soft); }
    .footer-contact {
        margin: 14px 0 0;
        font-size: var(--fs-xs);
        line-height: 1.8;
        color: #cbbfae;
    }
    .detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
    .buy-box {
        margin-top: 8px;
        position: sticky;
        top: 128px;
        border-top: 0;
        padding: 4px 0 0 32px;
        border-left: 1px solid var(--line);
    }
    .buy-box h1 { font-size: var(--fs-2xl); }
    .hero { padding: 64px 40px 52px; }
    .form { max-width: 560px; }
    .user-links { grid-template-columns: repeat(4, 1fr); }
    .name-dir-index { top: 168px; }
    .hero h1,
    .hero-title { font-size: var(--fs-4xl); letter-spacing: 0; }
    .card .meta { padding: 14px 2px 0; }
    .section { margin-top: 56px; }
    .section-head h1 { font-size: var(--fs-2xl); }
    .section-head h2 { font-size: var(--fs-xl); }
    .pagination {
        display: flex;
        flex-wrap: wrap;
        width: auto;
        justify-content: center;
        gap: 6px;
    }
    .pagination > .page-prev,
    .pagination > .page-num.active,
    .pagination > .page-next { grid-column: auto; }
    .pagination .page-num,
    .pagination .page-dots { display: list-item; }
    .pagination li > a, .pagination li > span { min-width: 36px; min-height: 36px; }
    .pagination .page-prev > a,
    .pagination .page-prev > span,
    .pagination .page-next > a,
    .pagination .page-next > span { width: auto; }
    #think_page_trace,
    #think_page_trace_open { display: block !important; }
    #think_page_trace_open { bottom: 0 !important; }
    .toast { bottom: 24px; }
}


@media (min-width: 640px) and (max-width: 859px) {
    .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .stats > a {
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }
    .stats > a:nth-child(2n) { border-right: 1px solid var(--line); }
    .stats > a:nth-child(4n),
    .stats > a:last-child { border-right: 0; }
    .stats > a:nth-child(n+5) { border-bottom: 0; }
    .stats > a:last-child { grid-column: auto; }
}

@media (max-width: 380px) {
    .wordmark-header { width: 84px; }
    .logo-img { width: 32px; height: 32px; }
}
