/* ============================================================
   东方美物 · 东方红主题 v2（整站版式重设计，叠加在 app.css 之上）
   ------------------------------------------------------------
   设计语汇：宣纸底 / 朱砂点 / 金线 / 宋体 / 大量留白 / 册页感
   仅作用于 dongfangmeiwu 站点，不影响 zishazhijia。
   ============================================================ */

:root {
    /* 纸与墨 */
    --ink: #241711;
    --ink-soft: #5c463d;
    --muted: #91796d;
    --paper: #f7f0e6;
    --paper-2: #efe3d4;
    --card: #fdf9f4;
    --line: #e2d3c3;
    --line-soft: #ece0d2;

    /* 朱与金 */
    --cinnabar: #a81c1c;
    --cinnabar-deep: #7a0f10;
    --wordmark: #9c1718;
    --gold: #b08a4f;
    --gold-soft: #d8be8e;
    --gold-line: rgba(176, 138, 79, .42);

    /* 夜 */
    --clay: #43221c;
    --clay-deep: #1f110e;
    --night: #17100d;
    --night-soft: #cdb9a6;

    /* 字体：整站统一无衬线（雅黑 / PingFang），与 app.css 一致，避免宋黑混排 */
    --sans: "PingFang SC", "Microsoft YaHei", "微软雅黑", "Hiragino Sans GB", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
    --serif: var(--sans);
    --font: var(--sans);

    --radius: 0px;
    --shadow-card: 0 1px 2px rgba(60, 34, 24, .05), 0 12px 28px -18px rgba(60, 34, 24, .35);
    --shadow-soft: 0 18px 48px -26px rgba(60, 34, 24, .45);
}

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.8;
    color: var(--ink);
    background-color: var(--paper);
    background-image:
        radial-gradient(1200px 520px at 50% -260px, rgba(168, 28, 28, .07), transparent 70%),
        radial-gradient(760px 380px at 100% 4%, rgba(176, 138, 79, .10), transparent 66%),
        repeating-linear-gradient(90deg, rgba(90, 60, 40, .028) 0 1px, transparent 1px 4px),
        linear-gradient(180deg, #fbf6ee 0%, var(--paper) 460px);
}

h1, h2, h3, h4 {
    font-family: var(--font);
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--ink);
}

/* 数字统一等宽，读数更稳 */
.stats b, .price, .catalog-count, .cat-tile .num { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------
   1. 顶栏 / 页头 / 导航
   ------------------------------------------------------------ */

.site-header {
    background: rgba(251, 246, 238, .92);
    backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--gold-line);
    box-shadow: none;
}

.topbar {
    display: block;
    background: linear-gradient(90deg, #6f0d0d 0%, #8b1414 48%, #6f0d0d 100%);
    color: #f0dcc6;
    font-size: 11px;
    letter-spacing: .34em;
    text-indent: .34em;
}
.topbar-inner {
    min-height: 32px;
    max-width: 1280px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.topbar-dot {
    width: 3px; height: 3px;
    background: var(--gold-soft);
    transform: rotate(45deg);
    opacity: .85;
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 28px 12px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "logo search tools";
    align-items: center;
    gap: 16px 28px;
}

.logo {
    grid-area: logo;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}
.logo-img {
    width: 44px; height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(122, 15, 16, .16));
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; gap: 3px; }
.logo-text small {
    display: block;
    font-size: 10.5px;
    color: var(--muted);
    letter-spacing: .22em;
    text-indent: .22em;
    font-family: var(--serif);
}

.dfmw-wordmark {
    display: inline-flex;
    align-items: baseline;
    color: var(--wordmark);
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}
.dfmw-wordmark .dfmw-wm-char { display: inline-block; }
.dfmw-wordmark .dfmw-wm-gap { display: inline-block; width: .1em; }
.wordmark-header .dfmw-wordmark { font-size: 19px; letter-spacing: .1em; }
.wordmark-hero .dfmw-wordmark { font-size: clamp(34px, 4.4vw, 50px); letter-spacing: .12em; }
.wordmark-footer .dfmw-wordmark { font-size: 24px; letter-spacing: .1em; }
.site-footer .dfmw-wordmark { color: #f1ddc4; }

/* 搜索：细线式 */
.header-search {
    grid-area: search;
    width: 100%;
    max-width: 560px;
    display: flex;
    align-items: stretch;
    background: rgba(255, 253, 250, .78);
    border: 1px solid var(--line);
    border-radius: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.header-search:focus-within {
    border-color: var(--gold);
    box-shadow: 0 6px 18px -12px rgba(122, 15, 16, .4);
}
.header-search input {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0 16px;
    min-height: 42px;
    font-size: 14px;
    letter-spacing: .04em;
    outline: none;
}
.header-search input::placeholder { color: #a9928a; letter-spacing: .06em; }
.header-search button {
    flex: 0 0 auto;
    border: 0;
    border-left: 1px solid var(--line-soft);
    background: transparent;
    color: var(--ink-soft);
    width: auto;
    min-width: 92px;
    padding: 0 18px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
    cursor: pointer;
    font-family: var(--font);
    font-size: 13px;
    letter-spacing: .04em;
    transition: background .2s ease, color .2s ease;
}
.header-search button .layui-icon { font-size: 16px; line-height: 1; }
.header-search button:hover { background: rgba(168, 28, 28, .06); color: var(--cinnabar); }

.header-tools {
    grid-area: tools;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
}
.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    color: var(--ink-soft);
    letter-spacing: .08em;
    position: relative;
    transition: color .2s ease;
}
.tool-link:hover { color: var(--cinnabar); }
.tool-link .layui-icon { font-size: 17px; }
.badge {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 2px;
    background: transparent;
    color: var(--cinnabar);
    border: 1px solid var(--cinnabar);
    font-family: var(--sans);
    font-size: 10px;
    line-height: 1;
    border-radius: 0;
    font-variant-numeric: tabular-nums;
}
.badge[hidden] { display: none !important; }

/* 主导航：文字 + 底部朱线，取消胶囊 */
.cat-nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    background: transparent;
    border-top: 1px solid var(--line-soft);
    border-bottom: 0;
}
.cat-nav-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2px;
    min-height: 50px;
    padding: 0;
    max-width: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
}
.cat-nav-inner > .nav-link,
.cat-nav-inner > .nav-drop {
    flex: 0 0 auto;
    display: inline-flex;
    justify-content: flex-start;
}
.cat-nav .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    min-height: 50px;
    padding: 0 20px;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .22em;
    text-indent: .22em;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    transition: color .22s ease;
}
.cat-nav .nav-link::before { display: none !important; }
.cat-nav .nav-link::after {
    content: "";
    display: block !important;
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 12px;
    width: auto;
    height: 2px;
    background: var(--cinnabar);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .28s cubic-bezier(.22, .8, .28, 1);
}
.cat-nav .nav-link:hover::after { transform: scaleX(.45); }
.cat-nav .nav-link.is-on::after,
.nav-drop.is-on > .nav-link::after { transform: scaleX(1); }
.cat-nav .nav-link:hover { color: var(--cinnabar-deep); }
.nav-drop.is-on > .nav-link, .cat-nav .nav-link.is-on { color: var(--cinnabar-deep); background: transparent; box-shadow: none; }

.nav-drop { position: relative; }
.nav-menu {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    min-width: 190px;
    padding: 6px;
    background: #fffdf9;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    display: none;
    z-index: 20;
}
.nav-drop:hover .nav-menu,
.nav-drop:focus-within .nav-menu { display: block; }
.nav-menu a {
    display: block;
    padding: 9px 12px;
    color: var(--ink-soft);
    font-size: 14px;
    letter-spacing: .1em;
    border-bottom: 1px solid var(--line-soft);
}
.nav-menu a:last-child { border-bottom: 0; }
.nav-menu a:hover, .nav-menu a.is-on { background: rgba(168, 28, 28, .05); color: var(--cinnabar); }

/* ------------------------------------------------------------
   2. 主视觉：左文右印
   ------------------------------------------------------------ */

.site-main { max-width: 1280px; margin: 0 auto; padding: 0 28px 72px; }

.hero {
    position: relative;
    margin: 28px 0 8px;
    padding: clamp(30px, 4vw, 56px) clamp(22px, 4vw, 56px);
    border: 1px solid var(--gold-line);
    background:
        radial-gradient(520px 260px at 12% 0, rgba(168, 28, 28, .07), transparent 70%),
        linear-gradient(180deg, #fffdfa 0%, #f9f2e8 100%);
    overflow: hidden;
}

/* 旧版居中结构的兜底（其它页面若复用 .hero） */
.hero-corner { display: none; }

.hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 300px);
    gap: 40px;
    align-items: center;
    text-align: left;
}

.hero-copy { min-width: 0; }

.hero-kicker {
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 12px;
    letter-spacing: .3em;
    text-indent: .3em;
    max-width: 100%;
}
.hero-kicker::before {
    content: "";
    flex: 0 0 auto;
    width: 26px; height: 1px;
    background: var(--gold);
    opacity: .7;
}
.kicker-box {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    height: 1.9em;
    overflow: hidden;
}
.kicker-item {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    display: flex;
    align-items: center;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(.55em);
    transition: opacity .75s ease, transform .75s cubic-bezier(.22,.7,.25,1);
    will-change: opacity, transform;
    pointer-events: none;
}
.kicker-item.is-on { opacity: 1; transform: translateY(0); }
.kicker-item.is-out { opacity: 0; transform: translateY(-.55em); }
@media (prefers-reduced-motion: reduce) {
    .kicker-item { transition: opacity .35s linear; transform: none !important; }
}
@media (max-width: 759px) {
    .hero-kicker { font-size: 11px; letter-spacing: .22em; text-indent: .22em; }
}

.hero-title { margin: 0; }

.hero-slogan {
    margin: 14px 0 0;
    color: var(--ink-soft);
    font-size: 15px;
    letter-spacing: .16em;
}
.hero-slogan::after {
    content: "";
    display: block;
    width: 44px; height: 1px;
    margin: 18px 0 0;
    background: var(--gold);
    opacity: .8;
}

.hero-desc {
    margin: 18px 0 0;
    max-width: 36em;
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 2;
    letter-spacing: .04em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 0;
}
.hero-actions .btn {
    flex: none;
    min-width: 132px;
    min-height: 44px;
    padding: 0 26px;
    font-family: var(--serif);
    font-size: 14px;
    letter-spacing: .22em;
    text-indent: .22em;
}

.hero .stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 32px 0 0;
    max-width: none;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}
.hero .stats > a {
    flex: 1 1 0;
    min-width: 96px;
    padding: 16px 0 0;
    text-align: left;
    border: 0 !important;
}
.hero .stats > a:not(:last-child) {
    padding-right: 18px;
    margin-right: 18px;
}
.hero .stats > a + a::before {
    content: "";
    position: absolute;
}
.hero .stats b {
    font-size: 30px;
    font-weight: 600;
    color: var(--cinnabar);
    line-height: 1.2;
}
.hero .stats span {
    margin-top: 6px;
    font-size: 11.5px;
    letter-spacing: .22em;
    text-indent: .22em;
    color: var(--muted);
}

/* 右侧：印章 + 竖排*/
.hero-art {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 320px;
    padding: 34px 56px 34px 26px;
    background:
        radial-gradient(120% 90% at 50% 0, rgba(168, 28, 28, .08), transparent 62%),
        linear-gradient(180deg, #fffdfa, #f7efe4);
    border: 1px solid var(--line-soft);
}
.hero-art::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid var(--gold-line);
    opacity: .55;
    pointer-events: none;
}
.hero .seal {
    width: clamp(120px, 14vw, 168px);
    height: auto;
    margin: 0;
    filter: drop-shadow(0 16px 28px -14px rgba(122, 15, 16, .55));
}
.hero-vertical {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: upright;
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1;
    letter-spacing: .22em;
    white-space: nowrap;
}
.hero-cap {
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid var(--gold-line);
    font-family: var(--font);
    font-size: 10.5px;
    letter-spacing: .42em;
    color: var(--gold);
    text-indent: .42em;
    white-space: nowrap;
}

/* ------------------------------------------------------------
   3. 章节标题：册页感
   ------------------------------------------------------------ */

.section { margin-top: 56px; }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gold-line);
}
.section-head h1,
.section-head h2 {
    position: relative;
    margin: 0;
    padding-left: 16px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: .16em;
    color: var(--ink);
}
.section-head h1::before,
.section-head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: .18em;
    width: 3px;
    height: 1.1em;
    background: var(--cinnabar);
    transform: none;
}
.section-head h1 { font-size: 27px; }
.section-head a {
    font-size: 12.5px;
    color: var(--muted);
    letter-spacing: .18em;
    padding-bottom: 4px;
}
.section-head a:hover { color: var(--cinnabar); }
.section-head > a::after {
    content: "→";
    border: 0;
    width: auto; height: auto;
    transform: none;
    margin-left: 6px;
    font-size: 12px;
}
.section-head .muted { color: var(--muted); font-size: 13px; }

/* ------------------------------------------------------------
   4. 品类：六格册页（序号 + 名称）
   ------------------------------------------------------------ */

.section-cats .cat-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
.cat-tiles .cat-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 26px;
    min-height: 132px;
    padding: 20px 20px 18px;
    background: #fdf9f4;
    border: 0;
    border-left: 0;
    color: var(--ink);
    overflow: hidden;
    transition: background .32s ease, color .32s ease;
}
.cat-tiles .cat-tile::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -44px;
    width: 108px;
    height: 108px;
    border: 1px solid rgba(168, 28, 28, .18);
    transform: rotate(45deg);
    transition: border-color .32s ease, transform .32s ease;
}
.cat-tiles .cat-tile .num {
    font-size: 11px;
    letter-spacing: .3em;
    color: var(--gold);
    font-family: var(--serif);
}
.cat-tiles .cat-tile b {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: .18em;
    color: var(--cinnabar-deep);
    transition: color .32s ease;
}
.cat-tiles .cat-tile span {
    font-size: 12.5px;
    color: var(--muted);
    letter-spacing: .05em;
    transition: color .32s ease;
}
.cat-tiles .cat-tile:hover {
    background: var(--cinnabar-deep);
    transform: none;
    box-shadow: none;
    border-color: transparent;
}
.cat-tiles .cat-tile:hover .num { color: rgba(241, 221, 196, .8); }
.cat-tiles .cat-tile:hover b { color: #fdf3e4; }
.cat-tiles .cat-tile:hover span { color: rgba(253, 243, 228, .7); }
.cat-tiles .cat-tile:hover::after { border-color: rgba(241, 221, 196, .35); transform: rotate(45deg) scale(1.06); }

/* ------------------------------------------------------------
   5. 藏品网格 / 卡片
   ------------------------------------------------------------ */

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

.grid > .card,
.card {
    position: relative;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    overflow: visible;
}
.grid > .card:hover { transform: none; box-shadow: none; }

.card .thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #fff;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    transition: border-color .3s ease, box-shadow .3s ease;
}
.card .thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9);
    pointer-events: none;
}
.card .thumb img {
    width: 100%; height: 100%;
    object-fit: contain;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.grid > .card:hover .thumb img { transform: scale(1.05); }
.grid > .card:hover .thumb {
    border-color: var(--gold-soft);
    box-shadow: 0 20px 44px -26px rgba(60, 34, 24, .5);
}

.card .meta { padding: 14px 2px 0; }
.card h3 {
    margin: 0 0 8px;
    font-family: var(--serif);
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .05em;
    color: var(--ink);
    transition: color .25s ease;
}
.grid > .card:hover h3 { color: var(--cinnabar-deep); }
.card .who, .card .attr {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .06em;
    line-height: 1.6;
}
.card .price {
    margin-top: 10px;
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--cinnabar);
}
.card .price s { color: var(--muted); font-size: 12px; font-weight: 400; }

/* ------------------------------------------------------------
   6. 材质工艺 chips
   ------------------------------------------------------------ */

.chips { gap: 10px; }
.chip {
    min-height: 36px;
    padding: 0 16px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 0 !important;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 13px;
    letter-spacing: .14em;
    transition: border-color .22s ease, color .22s ease, background .22s ease;
}
.chips > :first-child,
.chips > :last-child,
.chips > :first-child:last-child { border-radius: 0 !important; }
a.chip:hover { border-color: var(--gold); color: var(--cinnabar-deep); background: rgba(176, 138, 79, .06); }
.chip.is-on {
    background: var(--cinnabar);
    border-color: var(--cinnabar);
    color: #fdf3e4;
}

/* ------------------------------------------------------------
   7. 名家
   ------------------------------------------------------------ */

.author-grid { gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.card.author-card {
    background: #fdf9f4;
    border: 0;
    border-radius: 0;
    align-items: center;
    gap: 16px;
    padding: 18px 18px;
    min-height: 118px;
    height: 100%;
    box-shadow: none;
    transition: background .28s ease;
}
.card.author-card:hover { background: #fffdf9; }
.author-avatar {
    width: 58px; height: 58px;
    flex: 0 0 58px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--gold-line), 0 0 0 4px #fff, 0 0 0 5px var(--line-soft);
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-card h3 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .12em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.author-card .who {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .08em;
}
.author-card .who { display: block !important; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.author-card .author-brief {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.7;
    color: var(--ink-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    min-height: 1.7em;
}
.author-avatar .author-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--cinnabar-deep);
    background: #f7f0e4;
}
.author-card > div:not(.author-avatar) { min-width: 0; flex: 1 1 auto; }
.author-profile {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 26px;
    margin-bottom: 22px;
    background: #fdf9f4;
    border: 1px solid var(--line);
}
.author-avatar-lg { width: 88px !important; height: 88px !important; flex: 0 0 88px !important; }
.author-profile h1 { margin: 0 0 6px; font-size: 26px; letter-spacing: .14em; }

/* ------------------------------------------------------------
   8. 按钮 / 表单
   ------------------------------------------------------------ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 0;
    font-family: var(--serif);
    font-size: 14px;
    letter-spacing: .14em;
    cursor: pointer;
    transition: background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.btn-primary {
    background: var(--cinnabar);
    border-color: var(--cinnabar);
    color: #fdf3e4;
    box-shadow: 0 10px 24px -16px rgba(122, 15, 16, .8);
}
.btn-primary:hover {
    background: var(--cinnabar-deep);
    border-color: var(--cinnabar-deep);
    color: #fff;
    box-shadow: 0 14px 28px -16px rgba(122, 15, 16, .9);
}
.btn-ghost {
    background: transparent;
    border-color: var(--ink-soft);
    color: var(--ink);
}
.btn-ghost:hover, .btn-ghost.is-on {
    border-color: var(--cinnabar);
    color: var(--cinnabar);
    background: rgba(168, 28, 28, .04);
}

input, select, textarea {
    font-family: var(--sans);
}
.form input[type="text"],
.form input[type="password"],
.form select,
.form textarea,
.filters input,
.filters select {
    border: 1px solid var(--line);
    border-radius: 0;
    background: #fffdfa;
    padding: 10px 14px;
    font-size: 14px;
}
.filters { border-bottom: 1px solid var(--line); }
.filters[role="search"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: stretch;
    padding: 4px 0 16px;
}
.filters[role="search"] input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.filters[role="search"] .btn {
    min-width: 0;
    padding: 0 26px;
    white-space: nowrap;
}
.filter-panel > summary { font-family: var(--serif); letter-spacing: .12em; }

/* ------------------------------------------------------------
   9. 详情页
   ------------------------------------------------------------ */

.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 22px 0 6px;
    font-size: 12px;
    letter-spacing: .12em;
    color: var(--muted);
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--cinnabar); }
.crumbs span { color: var(--ink-soft); }
.crumbs span[aria-hidden="true"] { color: var(--gold); opacity: .8; }

.gallery { gap: 12px; }
.gallery-main {
    background: #fdfaf6;
    border: 1px solid var(--line);
    border-radius: 0;
}
.gallery-thumbs { gap: 8px; }
.gallery-thumbs a, .gallery-thumbs img,
.gallery-thumbs .thumb { border-radius: 0 !important; }

.buy-box { margin-top: 4px; }
.buy-box h1 { font-size: 27px; font-weight: 600; line-height: 1.5; letter-spacing: .08em; }
.buy-box .price-lg { font-size: 30px; font-weight: 600; }
.spec-list, .buy-box dl { font-size: 13.5px; letter-spacing: .04em; }
.spec-list dt, .buy-box dt { color: var(--muted); }

/* ------------------------------------------------------------
   10. 列表页筛选 / 分页
   ------------------------------------------------------------ */

.catalog-head { margin-bottom: 6px; }
.catalog-head .chips { margin: 2px 0 6px; }
.catalog-head .catalog-count { font-size: 13px; letter-spacing: .14em; color: var(--muted); }
.catalog-intro {
    margin: 10px 0 18px;
    max-width: 78ch;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.85;
    letter-spacing: .04em;
}

.filters {
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 26px;
}
.filter-panel > summary {
    min-height: 46px;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 13px;
    letter-spacing: .2em;
}
.filter-panel > summary:hover { color: var(--cinnabar); }
.filters form { padding: 6px 0 20px; gap: 12px; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-row > label,
.filter-row > span.muted {
    min-width: 48px;
    font-size: 12px;
    letter-spacing: .16em;
    color: var(--muted);
}
.filter-row input[type="search"],
.filter-row select {
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #fffdfa;
    padding: 0 12px;
    font-size: 13.5px;
    min-width: 160px;
}

.pager { margin-top: 34px; }
.pagination a, .pagination span,
.pagination .page-prev > span, .pagination .page-next > span { border-radius: 0 !important; }

.empty {
    padding: 72px 12px;
    color: var(--muted);
    letter-spacing: .1em;
    border: 1px dashed var(--line);
    background: rgba(255, 253, 249, .6);
}

/* ------------------------------------------------------------
   10. 页脚
   ------------------------------------------------------------ */

.site-footer {
    position: relative;
    background: linear-gradient(180deg, #1d120e 0%, #140b08 100%);
    color: var(--night-soft);
    border-top: 0;
    padding: 0;
}
.site-footer::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .55;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 28px 26px;
}
.footer-top { gap: 44px; }
.footer-logo {
    width: 78px; height: 78px;
    padding: 0;
    margin-top: 0;
    box-sizing: border-box;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain;
    opacity: .94;
}
.footer-slogan { color: rgba(241, 221, 196, .72); letter-spacing: .14em; }
/* 页脚品牌区：字标与口号整体相对 LOGO 垂直居中 */
.site-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}
.site-footer .footer-brand > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.site-footer .footer-brand h2 {
    margin: 0;
    line-height: 1;
}
.wordmark-footer { display: inline-block; line-height: 1; }
.wordmark-footer .dfmw-wordmark { line-height: 1; }
.site-footer .footer-slogan {
    margin: 9px 0 0;
    line-height: 1.2;
}
.site-footer .footer-brand .footer-contact { margin: 8px 0 0; line-height: 1.4; }
.footer-nav a {
    color: rgba(205, 185, 166, .78);
    font-family: var(--serif);
    font-size: 13.5px;
    letter-spacing: .12em;
    padding: 6px 0;
    border-bottom: 1px solid rgba(216, 190, 142, .12);
}
.footer-nav a:hover { color: var(--gold-soft); }
.footer-base { border-top: 1px solid rgba(216, 190, 142, .16); padding-top: 18px; margin-top: 32px; }
.footer-base .copy, .footer-credits p { color: rgba(205, 185, 166, .55); letter-spacing: .06em; }

/* ------------------------------------------------------------
   11. 关于页
   ------------------------------------------------------------ */

.about-page {
    max-width: 900px;
    margin: 30px auto 0;
    padding: clamp(28px, 4vw, 52px);
    background: linear-gradient(180deg, #fffdfa 0%, #f9f2e8 100%);
    border: 1px solid var(--gold-line);
}
.about-head { padding-bottom: 26px; border-bottom: 1px solid var(--line-soft); }
.about-title { margin: 0; }
.about-slogan {
    margin: 12px 0 0;
    color: var(--ink-soft);
    font-size: 14px;
    letter-spacing: .2em;
}
.about-body { margin-top: 28px; }
.about-body p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 2;
    letter-spacing: .04em;
    color: var(--ink-soft);
}
.about-lead {
    font-size: 17px !important;
    line-height: 1.95 !important;
    color: var(--ink) !important;
}
.about-points {
    list-style: none;
    margin: 30px 0 34px;
    padding: 0;
    display: grid;
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
}
.about-points li {
    display: flex;
    gap: 18px;
    align-items: baseline;
    padding: 16px 20px;
    background: #fffdf9;
}
.about-points b {
    flex: 0 0 8.5em;
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--cinnabar-deep);
}
.about-points span {
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--muted);
}
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.about-actions .btn { flex: 0 0 auto; min-width: 150px; }

/* ------------------------------------------------------------
   12. 移动端底栏
   ------------------------------------------------------------ */

.tabbar {
    background: rgba(253, 248, 241, .96);
    border-top: 1px solid var(--gold-line);
    backdrop-filter: blur(12px);
}
.tabbar a { font-family: var(--serif); letter-spacing: .06em; }
.tabbar a.is-on { color: var(--cinnabar-deep); }

/* ------------------------------------------------------------
   12. 响应式
   ------------------------------------------------------------ */

@media (max-width: 1080px) {
    .hero-split { grid-template-columns: minmax(0, 1fr) 220px; gap: 26px; }
    .wordmark-hero .dfmw-wordmark { font-size: 40px; }
}

@media (max-width: 1099px) {
    .hero-vertical { display: none; }
    .hero-art { padding: 28px 34px; }
    .hero-cap { font-size: 9px; letter-spacing: .3em; text-indent: .3em; }
    .hero .seal { width: clamp(112px, 13vw, 148px); }
}

@media (max-width: 860px) {
    .site-main { padding: 0 18px 56px; }

    .site-footer,
    .site-footer.has-qr,
    .site-footer.has-credits { padding: 0; border-top: 0; }
    .site-footer .footer-inner { padding: 30px 18px calc(var(--tabbar-h) + var(--safe-b) + 14px); }
    .site-footer.has-credits .footer-brand { display: flex; }
    .site-footer .footer-top { justify-content: flex-start; padding-bottom: 18px; border-bottom: 1px solid rgba(216, 190, 142, .14); }
    .site-footer .footer-nav { display: none; }
    .site-footer .footer-brand { align-items: center; gap: 14px; }
    .site-footer .footer-logo { width: 58px; height: 58px; }
    .site-footer .footer-brand h2 { margin: 0 0 4px; }
    .site-footer .footer-slogan { font-size: 11px; letter-spacing: .12em; }
    .site-footer .copy { display: block; text-align: center; font-size: 11px; color: rgba(205, 185, 166, .6); margin: 0; }
    .site-footer .footer-base { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
    .site-footer .footer-credits { margin-top: 0; }
    .header-inner { padding: 12px 18px 10px; gap: 10px 14px; grid-template-areas: "logo tools" "search search"; grid-template-columns: auto 1fr; }
    .header-search { max-width: none; }
    .header-search button { min-width: 54px; padding: 0 12px; }
    .cat-nav { padding: 0 12px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line-soft); }
    .cat-nav::-webkit-scrollbar { display: none; }
    .cat-nav-inner { min-height: 46px; gap: 0; }
    .cat-nav .nav-link { padding: 10px 12px; font-size: 15px; letter-spacing: .12em; }
    .cat-nav .nav-link::after { display: none !important; }
    .nav-txt::after { bottom: -6px; right: 0; }
    .cat-nav .nav-link.is-on .nav-txt::after { opacity: 1; }
    .nav-menu { display: none !important; }

    .hero { margin-top: 18px; padding: 26px 20px 24px; }
    .hero-split { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .hero-art { display: none; }
    .hero .stats > a { min-width: 84px; }
    .hero .stats b { font-size: 24px; }

    .section { margin-top: 40px; }
    .section-head h2 { font-size: 20px; }
    .grid { gap: 20px 12px; }
    .author-grid { grid-template-columns: minmax(0, 1fr) !important; }
}

/* 名家卡：600–1159 两列、≥1160 四列，8 位正好排满两行，不留空格 */
@media (min-width: 600px) and (max-width: 1159.98px) {
    .author-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (min-width: 760px) {
    .section-cats .cat-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1080px) {
    .section-cats .cat-tiles { grid-template-columns: repeat(6, 1fr); }
    .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    /* 品类藏品不足 4 件时改两列，避免右侧空槽 */
    .grid.is-few { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1160px) {
    .author-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

@media (max-width: 640px) {
    .wordmark-header .dfmw-wordmark { font-size: 18px; }
    .logo-img { width: 38px; height: 38px; }
    .logo-text small { display: none; }
    .topbar { font-size: 10px; letter-spacing: .2em; }
    .topbar-inner { min-height: 28px; padding: 0 14px; gap: 10px; }
    .hero-actions .btn { flex: 1 1 0; min-width: 0; }
    .card h3 { font-size: 14.5px; }
}

/* 图片骨架屏与新主题协调 */
.sk { background: linear-gradient(100deg, #f3e9dd 20%, #faf3ea 40%, #f3e9dd 60%); }

/* ------------------------------------------------------------
   13. 兜底：字标宽度与首屏入场动画
   ------------------------------------------------------------ */

/* app.css 给字标容器限了固定宽度，重设计后按内容自适应 */
.wordmark-header,
.wordmark-hero,
.wordmark-footer { width: auto; line-height: 1; }
.wordmark-hero { margin: 0; }

/* 入场动画在部分环境下会被冻结导致首屏透明，这里直接落地为可见态 */
.hero-corner,
.hero .seal,
.hero-mark,
.hero-ming,
.hero-title,
.hero-slogan,
.hero-slogan::after,
.hero .stats {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
}

/* ------------------------------------------------------------
   14. PC 导航复位（覆盖 app.css @media(min-width:860px) 的胶囊导航）
   ------------------------------------------------------------ */
@media (min-width: 860px) {
    .site-header { border-bottom: 0; }

    .cat-nav {
        width: 100%;
        max-width: none;
        padding: 0;
        border-top: 1px solid var(--line-soft);
        border-bottom: 1px solid var(--line-soft);
        background: rgba(253, 249, 244, .78);
        backdrop-filter: none;
    }
    .cat-nav-inner {
        display: flex;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 28px;
        border: 0;
        border-radius: 0;
        background: transparent;
        overflow: visible;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .cat-nav-inner > .nav-link,
    .cat-nav-inner > .nav-drop {
        flex: 0 0 auto;
        display: inline-flex;
        justify-content: flex-start;
    }
    .cat-nav .nav-link {
        position: relative;
        display: inline-flex;
        align-items: center;
        width: auto;
        height: 52px;
        min-height: 52px;
        padding: 0 22px;
        margin: 0;
        font-size: 15.5px;
        font-weight: 500;
        letter-spacing: .08em;
        text-indent: 0;
        color: var(--ink-soft);
        border: 0;
        border-radius: 0;
        background: transparent;
        isolation: auto;
        overflow: visible;
        transition: color .2s ease;
    }
    .cat-nav-inner > .nav-link:first-child,
    .cat-nav-inner > .nav-drop:first-child .nav-link { padding-left: 0; }

    .cat-nav .nav-link::before { display: none !important; }
    .cat-nav .nav-link::after { display: none !important; }

    /* 下划线跟随文字宽度，避免相对内边距错位 */
    .nav-txt { position: relative; display: inline-block; line-height: 1; }
    .nav-txt::after {
        content: "";
        position: absolute;
        left: 0;
        right: .08em;
        bottom: -13px;
        height: 2px;
        background: var(--cinnabar);
        opacity: 0;
        transition: opacity .2s ease;
    }

    .cat-nav .nav-link:hover {
        color: var(--cinnabar-deep);
        border-color: transparent;
        background: transparent;
    }
    .cat-nav .nav-link:hover .nav-txt::after { opacity: .45; }

    .cat-nav .nav-link.is-on,
    .nav-drop.is-on > .nav-link,
    .cat-nav .nav-link.is-on:hover,
    .nav-drop.is-on:hover > .nav-link,
    .cat-nav .nav-link:active,
    .nav-drop:active > .nav-link {
        color: var(--cinnabar-deep);
        background: transparent;
        border-color: transparent;
        box-shadow: none;
    }
    .cat-nav .nav-link.is-on .nav-txt::after,
    .nav-drop.is-on > .nav-link .nav-txt::after,
    .nav-drop.is-on:hover > .nav-link .nav-txt::after { opacity: 1; }

    /* 下拉：直角册页面板 */
    .nav-menu {
        top: 100%;
        left: 0;
        right: auto;
        transform: none;
        min-width: 200px;
        padding: 6px 0;
        margin: 0;
        background: #fffdf9;
        border: 1px solid var(--line);
        border-radius: 0;
        box-shadow: 0 20px 44px -26px rgba(60, 34, 24, .55);
        z-index: 30;
    }
    .nav-menu::before { display: none !important; }
    .nav-drop:hover .nav-menu,
    .nav-drop:focus-within .nav-menu { display: block; }
    .nav-menu a {
        display: block;
        margin: 0;
        padding: 10px 18px;
        font-family: var(--font);
        font-size: 14px;
        letter-spacing: .06em;
        text-align: left;
        color: var(--ink-soft);
        border: 0;
        border-bottom: 1px solid var(--line-soft);
        border-radius: 0;
        background: transparent;
        isolation: auto;
        overflow: visible;
        transition: background .18s ease, color .18s ease;
    }
    .nav-menu a:last-child { border-bottom: 0; }
    .nav-menu a:hover,
    .nav-menu a.is-on {
        background: rgba(168, 28, 28, .05);
        color: var(--cinnabar);
    }
    .nav-menu a.is-on:hover { background: rgba(168, 28, 28, .09); }
    .nav-menu a::before { display: none !important; }

    .nav-m { display: none; }
    .nav-pc { display: inline; }
}
