/* ============================================================
   轻壹文献 · literature 模块 PC 端样式（PC-only，最小宽度 1160px）
   主色 靛青 #2E5C7E / 深青 #1E4258，点缀 朱砂 #B0473A、简金 #C29A54
   纸白 #FFFFFF / 浅灰蓝 #F5F7F9，标题用衬线体，学术期刊·书房质感
   类前缀 wx- ，与迅睿默认 ep-、专题 zwt-、腧穴 xw- 完全隔离
   ============================================================ */

:root {
    --wx-blue: #2E5C7E;          /* 靛青 主色 */
    --wx-blue-deep: #1E4258;     /* 深青 */
    --wx-blue-soft: #EAF1F6;     /* 浅靛青底 */
    --wx-red: #B0473A;           /* 朱砂 印章/重点 */
    --wx-red-deep: #93392E;
    --wx-red-soft: #F8EDEA;
    --wx-gold: #C29A54;          /* 简金 小面积点缀 */
    --wx-paper: #F5F7F9;         /* 页面底 浅灰蓝 */
    --wx-card: #FFFFFF;
    --wx-ink: #2A333C;           /* 正文墨色 */
    --wx-ink-2: #5B6670;
    --wx-ink-3: #98A2AB;
    --wx-line: #E2E7EC;          /* 分隔线 */
    --wx-shadow: 0 2px 14px rgba(30, 66, 88, .06);
    --wx-shadow-hover: 0 12px 28px rgba(30, 66, 88, .13);
    --wx-radius: 12px;
    --wx-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
    --wx-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

.wx-page {
    min-width: 1160px;
    margin-top: -20px;
    padding-bottom: 56px;
    background: var(--wx-paper);
    color: var(--wx-ink);
    font-family: var(--wx-sans);
}
.wx-wrap {
    margin: 0 auto;
}
a { color: inherit; }

/* ================= 吸顶子导航 ================= */
.wx-subnav {
    position: sticky;
    top: var(--ep-header-height, 78px);
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 30px;
    height: 60px;
    padding: 0 28px;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--wx-line);
    box-shadow: 0 2px 10px rgba(30, 66, 88, .05);
}
.wx-sub-brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.wx-sub-seal {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: linear-gradient(145deg, var(--wx-blue), var(--wx-blue-deep));
    color: #fff;
    font-family: var(--wx-serif);
    font-size: 19px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 8px rgba(30, 66, 88, .25);
}
.wx-sub-txt { display: flex; flex-direction: column; line-height: 1.25; }
.wx-sub-name { font-family: var(--wx-serif); font-size: 16.5px; font-weight: 700; color: var(--wx-blue-deep); letter-spacing: 2px; }
.wx-sub-en { font-size: 9.5px; color: var(--wx-ink-3); letter-spacing: 1.8px; }
.wx-sub-menu { display: flex; align-items: center; gap: 4px; height: 100%; }
.wx-sub-item {
    position: relative;
    display: flex; align-items: center;
    height: 100%;
    padding: 0 14px;
    font-size: 14.5px;
    color: var(--wx-ink-2);
    letter-spacing: 1px;
    white-space: nowrap;
    transition: color .2s ease;
}
.wx-sub-item:hover { color: var(--wx-blue); }
.wx-sub-item.is-active { color: var(--wx-blue-deep); font-weight: 700; }
.wx-sub-item.is-active::after {
    content: "";
    position: absolute; left: 14px; right: 14px; bottom: 10px;
    height: 3px; border-radius: 2px;
    background: linear-gradient(90deg, var(--wx-red), var(--wx-gold));
}

/* ================= 通用区块标题 ================= */
.wx-section { margin-top: 40px; }
.wx-sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.wx-sec-tit { display: flex; align-items: baseline; gap: 14px; }
.wx-sec-tit::before {
    content: "";
    align-self: center;
    width: 5px; height: 22px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--wx-red), var(--wx-gold));
}
.wx-sec-title { font-family: var(--wx-serif); font-size: 25px; font-weight: 800; color: var(--wx-blue-deep); letter-spacing: 3px; }
.wx-sec-en { font-size: 11px; color: var(--wx-ink-3); letter-spacing: 3px; text-transform: uppercase; }
.wx-sec-more { font-size: 13.5px; color: var(--wx-ink-2); transition: color .2s ease; }
.wx-sec-more:hover { color: var(--wx-red); }

/* ================= 首页 Banner ================= */
.wx-banner {
    position: relative;
    margin-top: 22px;
    border-radius: 16px;
    overflow: hidden;
    background:
        radial-gradient(900px 400px at 88% -20%, rgba(194, 154, 84, .22), transparent 60%),
        linear-gradient(135deg, #2A597B 0%, var(--wx-blue-deep) 60%, #183748 100%);
    color: #fff;
    padding: 52px 56px 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.wx-banner-txt { position: relative; z-index: 2; max-width: 660px; }
.wx-banner-tag {
    display: inline-block;
    border: 1px solid rgba(194, 154, 84, .65);
    color: #E7CFA1;
    border-radius: 20px;
    padding: 5px 16px;
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}
.wx-banner-title {
    font-family: var(--wx-serif);
    font-size: 46px;
    font-weight: 800;
    letter-spacing: 8px;
    line-height: 1.2;
    margin: 0;
}
.wx-banner-sub {
    margin: 16px 0 0;
    font-size: 15px;
    line-height: 2;
    color: rgba(255, 255, 255, .82);
    letter-spacing: 1px;
}
.wx-banner-btns { display: flex; gap: 14px; margin-top: 28px; }
.wx-btn {
    display: inline-flex; align-items: center; gap: 8px;
    border-radius: 9px;
    padding: 12px 26px;
    font-size: 15px;
    letter-spacing: 2px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.wx-btn-primary { background: #fff; color: var(--wx-blue-deep); font-weight: 700; }
.wx-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(12, 32, 44, .3); }
.wx-btn-ghost { border: 1px solid rgba(255, 255, 255, .55); color: #fff; }
.wx-btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.wx-banner-art { position: relative; z-index: 1; width: 220px; height: 220px; flex-shrink: 0; }
.wx-banner-art::before,
.wx-banner-art::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(194, 154, 84, .45);
}
.wx-banner-art::before { inset: 0; }
.wx-banner-art::after { inset: 26px; border-style: solid; border-color: rgba(255,255,255,.16); }
.wx-banner-art-char {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--wx-serif);
    font-size: 108px;
    font-weight: 800;
    color: rgba(255, 255, 255, .9);
    text-shadow: 0 6px 24px rgba(10, 28, 40, .4);
}
.wx-banner-art-en {
    position: absolute; left: 0; right: 0; bottom: 6px;
    text-align: center;
    font-size: 10px;
    letter-spacing: 4px;
    color: rgba(231, 207, 161, .8);
}
.wx-banner-note {
    position: absolute; left: 56px; bottom: 14px;
    font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: 1px;
}

/* ================= 数据概览 ================= */
.wx-stats {
    display: flex;
    background: var(--wx-card);
    border: 1px solid var(--wx-line);
    border-radius: var(--wx-radius);
    box-shadow: var(--wx-shadow);
    margin-top: 18px;
    overflow: hidden;
}
.wx-stat { flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 17px 10px; transition: background .2s ease; }
.wx-stat + .wx-stat { border-left: 1px solid var(--wx-line); }
.wx-stat:hover { background: linear-gradient(180deg, #FCFDFE, #F0F5F9); }
.wx-stat-ico {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--wx-blue-soft); color: var(--wx-blue);
    font-size: 17px;
    transition: transform .22s ease;
}
.wx-stat:hover .wx-stat-ico { transform: scale(1.08); }
.wx-stat--red .wx-stat-ico { background: var(--wx-red-soft); color: var(--wx-red-deep); }
.wx-stat--gold .wx-stat-ico { background: #F7EFE2; color: var(--wx-gold); }
.wx-stat-num { font-family: var(--wx-serif); font-size: 26px; font-weight: 800; color: var(--wx-blue-deep); line-height: 1.15; }
.wx-stat-txt { display: flex; flex-direction: column; gap: 2px; }
.wx-stat-label { font-size: 12.5px; color: var(--wx-ink-3); letter-spacing: 1px; white-space: nowrap; }
.wx-stat-key { font-family: var(--wx-serif); font-size: 15px; font-weight: 700; color: var(--wx-blue); letter-spacing: 2px; }

/* ================= 分类书格 ================= */
.wx-shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wx-shelf-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--wx-card);
    border: 1px solid var(--wx-line);
    border-radius: var(--wx-radius);
    box-shadow: var(--wx-shadow);
    padding: 22px 22px 18px;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.wx-shelf-card::before {
    content: "";
    position: absolute; left: 0; top: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--wx-blue), var(--wx-gold));
    opacity: 0;
    transition: opacity .22s ease;
}
.wx-shelf-card:hover { transform: translateY(-4px); border-color: #C9D8E2; box-shadow: var(--wx-shadow-hover); }
.wx-shelf-card:hover::before { opacity: 1; }
.wx-shelf-top { display: flex; align-items: center; gap: 13px; }
.wx-shelf-no {
    width: 46px; height: 46px; flex-shrink: 0;
    border-radius: 10px;
    background: var(--wx-blue-soft);
    color: var(--wx-blue);
    font-family: var(--wx-serif);
    font-size: 22px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    transition: background .22s ease, color .22s ease;
}
.wx-shelf-card:hover .wx-shelf-no { background: var(--wx-blue); color: #fff; }
.wx-shelf-names { min-width: 0; }
.wx-shelf-name { font-family: var(--wx-serif); font-size: 19px; font-weight: 700; color: var(--wx-blue-deep); letter-spacing: 2px; }
.wx-shelf-en { display: block; margin-top: 2px; font-size: 10px; color: var(--wx-ink-3); letter-spacing: 1.6px; text-transform: uppercase; }
.wx-shelf-desc { margin: 13px 0 14px; font-size: 13px; line-height: 1.75; color: var(--wx-ink-2); flex: 1; }
.wx-shelf-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px dashed var(--wx-line); }
.wx-shelf-count { font-size: 12.5px; color: var(--wx-ink-3); }
.wx-shelf-count b { font-family: var(--wx-serif); font-size: 17px; color: var(--wx-red); margin: 0 2px; }
.wx-shelf-go { font-size: 13px; color: var(--wx-blue); letter-spacing: 1px; transition: gap .2s ease; display:inline-flex; align-items:center; gap:5px; }
.wx-shelf-card:hover .wx-shelf-go { color: var(--wx-red); }
.wx-shelf-card:hover .wx-shelf-go .fa { transform: translateX(3px); }
.wx-shelf-go .fa { transition: transform .2s ease; font-size: 11px; }

/* ================= 最新文献（期刊目录式） ================= */
.wx-catalog { background: var(--wx-card); border: 1px solid var(--wx-line); border-radius: var(--wx-radius); box-shadow: var(--wx-shadow); overflow: hidden; }
.wx-catalog-item {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 19px 26px;
    transition: background .2s ease;
}
.wx-catalog-item + .wx-catalog-item { border-top: 1px solid var(--wx-line); }
.wx-catalog-item:hover { background: #F7FAFC; }
.wx-catalog-date {
    flex-shrink: 0;
    width: 62px;
    text-align: center;
    border-right: 1px solid var(--wx-line);
    padding-right: 20px;
}
.wx-catalog-d { font-family: var(--wx-serif); font-size: 23px; font-weight: 800; color: var(--wx-blue-deep); line-height: 1.1; }
.wx-catalog-my { font-size: 11px; color: var(--wx-ink-3); margin-top: 3px; letter-spacing: 1px; }
.wx-catalog-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.wx-catalog-title {
    display: block;
    font-family: var(--wx-serif);
    font-size: 17.5px;
    font-weight: 700;
    color: var(--wx-ink);
    letter-spacing: 1px;
    transition: color .2s ease;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wx-catalog-item:hover .wx-catalog-title { color: var(--wx-blue); }
.wx-catalog-desc { display: block; font-size: 13px; color: var(--wx-ink-3); line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wx-catalog-side { flex-shrink: 0; display: flex; align-items: center; gap: 14px; }
.wx-catalog-cat {
    font-size: 12px;
    color: var(--wx-blue);
    background: var(--wx-blue-soft);
    border-radius: 5px;
    padding: 4px 11px;
    letter-spacing: 1px;
    white-space: nowrap;
}
.wx-catalog-hits { font-size: 12.5px; color: var(--wx-ink-3); white-space: nowrap; }

/* ================= 空态 ================= */
.wx-empty {
    background: var(--wx-card);
    border: 1px dashed #CDD6DE;
    border-radius: var(--wx-radius);
    padding: 64px 20px;
    text-align: center;
    color: var(--wx-ink-3);
}
.wx-empty-seal {
    width: 60px; height: 60px; margin: 0 auto 16px;
    border-radius: 10px;
    background: var(--wx-blue-soft);
    color: var(--wx-blue);
    font-family: var(--wx-serif);
    font-size: 30px;
    display: flex; align-items: center; justify-content: center;
}
.wx-empty-tit { font-family: var(--wx-serif); font-size: 18px; color: var(--wx-ink-2); letter-spacing: 2px; margin-bottom: 8px; }
.wx-empty-txt { font-size: 13.5px; letter-spacing: 1px; }

/* ================= 面包屑 / 列表页头 ================= */
.wx-breadcrumb { display: flex; align-items: center; gap: 9px; padding: 18px 0 4px; font-size: 13px; color: var(--wx-ink-3); }
.wx-breadcrumb a:hover { color: var(--wx-blue); }
.wx-bc-sep { color: #C6CDD4; }

.wx-pagehead {
    position: relative;
    margin: 14px 0 24px;
    border-radius: var(--wx-radius);
    background: linear-gradient(120deg, #EEF4F8, #F7FAFC 60%, #fff);
    border: 1px solid var(--wx-line);
    padding: 26px 32px 24px;
    overflow: hidden;
}
.wx-pagehead::after {
    content: "卷";
    position: absolute; right: 26px; top: 50%;
    transform: translateY(-50%);
    font-family: var(--wx-serif);
    font-size: 84px;
    color: rgba(46, 92, 126, .07);
    line-height: 1;
}
.wx-pagehead-no { display: inline-block; font-family: var(--wx-serif); font-size: 13px; color: var(--wx-red); letter-spacing: 3px; margin-bottom: 8px; }
.wx-pagehead-title { font-family: var(--wx-serif); font-size: 30px; font-weight: 800; color: var(--wx-blue-deep); letter-spacing: 4px; margin: 0; }
.wx-pagehead-desc { margin: 10px 0 0; font-size: 14px; color: var(--wx-ink-2); line-height: 1.8; max-width: 820px; }

/* ================= 列表布局 ================= */
.wx-layout { display: flex; align-items: flex-start; gap: 22px; }
.wx-main { flex: 1; min-width: 0; }
.wx-aside { width: 280px; flex-shrink: 0; display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--ep-header-height, 78px) + 66px); }

.wx-artitem {
    display: block;
    background: var(--wx-card);
    border: 1px solid var(--wx-line);
    border-radius: var(--wx-radius);
    box-shadow: var(--wx-shadow);
    padding: 21px 26px 19px;
    margin-bottom: 16px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.wx-artitem:hover { transform: translateY(-2px); border-color: #C9D8E2; box-shadow: var(--wx-shadow-hover); }
.wx-artitem-title {
    font-family: var(--wx-serif);
    font-size: 19px;
    font-weight: 700;
    color: var(--wx-ink);
    letter-spacing: 1.5px;
    line-height: 1.5;
    transition: color .2s ease;
}
.wx-artitem:hover .wx-artitem-title { color: var(--wx-blue); }
.wx-artitem-meta { display: flex; align-items: center; gap: 16px; margin: 10px 0; font-size: 12.5px; color: var(--wx-ink-3); }
.wx-artitem-meta i { color: #AEB8C0; margin-right: 4px; }
.wx-artitem-cat { color: var(--wx-blue) !important; }
.wx-artitem-cat i { color: inherit; opacity: .7; }
.wx-artitem-desc { font-size: 13.5px; line-height: 1.85; color: var(--wx-ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ================= 侧栏卡片 ================= */
.wx-sidecard { background: var(--wx-card); border: 1px solid var(--wx-line); border-radius: var(--wx-radius); box-shadow: var(--wx-shadow); overflow: hidden; }
.wx-sidecard-tit {
    display: flex; align-items: center; gap: 9px;
    padding: 15px 20px 13px;
    border-bottom: 1px solid var(--wx-line);
    font-family: var(--wx-serif);
    font-size: 16px; font-weight: 700; color: var(--wx-blue-deep); letter-spacing: 2px;
}
.wx-sidecard-tit::before { content: ""; width: 4px; height: 15px; border-radius: 2px; background: linear-gradient(180deg, var(--wx-red), var(--wx-gold)); }
/* 侧栏分类导航：序号徽标 + 名称 + 英文副题 + 篇数（与首页书格统一视觉语言） */
.wx-side-menu { padding: 6px 0; }
.wx-side-menu-item {
    position: relative;
    display: flex; align-items: center; gap: 12px;
    padding: 11px 20px 11px 17px;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background .2s ease, border-color .2s ease;
}
.wx-side-menu-item:hover { background: #F5F9FC; }
.wx-side-menu-item:hover .wx-smi-name { color: var(--wx-blue); }
.wx-side-menu-item:hover .wx-smi-no { background: var(--wx-blue-soft); color: var(--wx-blue-deep); }
.wx-smi-no {
    flex-shrink: 0;
    width: 26px; height: 26px;
    border-radius: 7px;
    background: #F1F4F7;
    color: var(--wx-ink-3);
    font-family: var(--wx-serif);
    font-size: 13.5px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s ease;
}
.wx-smi-body { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.wx-smi-name { font-family: var(--wx-serif); font-size: 14.5px; font-weight: 700; color: var(--wx-ink); letter-spacing: 1px; transition: color .2s ease; }
.wx-smi-en { font-size: 9px; color: var(--wx-ink-3); letter-spacing: 1.2px; margin-top: 2px; text-transform: uppercase; }
.wx-smi-count { flex-shrink: 0; font-size: 10.5px; color: var(--wx-ink-3); white-space: nowrap; }
.wx-smi-count b { font-family: var(--wx-serif); font-size: 13.5px; color: var(--wx-blue-deep); font-weight: 700; margin-right: 2px; }
/* 当前栏目：朱砂左条 + 浅金底 + 朱砂徽标 */
.wx-side-menu-item.is-active { background: #FBF6EC; border-left-color: var(--wx-red); }
.wx-side-menu-item.is-active .wx-smi-no { background: var(--wx-red); color: #fff; }
.wx-side-menu-item.is-active .wx-smi-name { color: var(--wx-blue-deep); }
.wx-side-menu-item.is-active .wx-smi-count b { color: var(--wx-red); }
.wx-side-hot { padding: 6px 0; }
.wx-side-hot a { display: flex; align-items: flex-start; gap: 11px; padding: 9px 20px; }
.wx-side-rank {
    flex-shrink: 0;
    width: 20px; height: 20px; margin-top: 1px;
    border-radius: 5px;
    background: #EDF1F5; color: #8A959E;
    font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.wx-side-hot a:nth-child(1) .wx-side-rank,
.wx-side-hot a:nth-child(2) .wx-side-rank,
.wx-side-hot a:nth-child(3) .wx-side-rank { background: var(--wx-red); color: #fff; }
.wx-side-hot-name { font-size: 13.5px; line-height: 1.55; color: var(--wx-ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wx-side-hot a:hover .wx-side-hot-name { color: var(--wx-blue); }

/* 侧栏栏目简介卡 */
.wx-about-body { padding: 16px 20px 18px; }
.wx-about-name { font-family: var(--wx-serif); font-size: 18px; font-weight: 800; color: var(--wx-blue-deep); letter-spacing: 2px; line-height: 1.3; }
.wx-about-en { font-size: 10px; color: var(--wx-ink-3); letter-spacing: 2px; text-transform: uppercase; margin-top: 3px; }
.wx-about-desc { margin: 12px 0 14px; font-size: 13px; line-height: 1.85; color: var(--wx-ink-2); }
.wx-about-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px dashed var(--wx-line); }
.wx-about-count { font-size: 12px; color: var(--wx-ink-3); white-space: nowrap; }
.wx-about-count b { font-family: var(--wx-serif); font-size: 17px; color: var(--wx-red); font-weight: 800; margin-right: 2px; }
.wx-about-more { font-size: 12.5px; color: var(--wx-blue); white-space: nowrap; }
.wx-about-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ================= 分页（框架输出 ul.pagination > li > a） ================= */
.wx-pagination { padding: 18px 0 6px; }
.wx-pagination ul.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.wx-pagination ul.pagination li a {
    min-width: 36px; height: 36px; padding: 0 12px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--wx-line);
    border-radius: 8px;
    background: var(--wx-card);
    font-size: 13.5px; color: var(--wx-ink-2);
    transition: all .18s ease;
}
.wx-pagination ul.pagination li a:hover { border-color: var(--wx-blue); color: var(--wx-blue); }
.wx-pagination ul.pagination li.active a { background: var(--wx-blue); border-color: var(--wx-blue); color: #fff; }

/* ================= 内容页 ================= */
.wx-article {
    background: var(--wx-card);
    border: 1px solid var(--wx-line);
    border-radius: var(--wx-radius);
    box-shadow: var(--wx-shadow);
    padding: 40px 52px 38px;
}
.wx-art-head { border-bottom: 1px solid var(--wx-line); padding-bottom: 24px; margin-bottom: 30px; }
.wx-art-h1 { font-family: var(--wx-serif); font-size: 31px; font-weight: 800; color: var(--wx-blue-deep); letter-spacing: 2.5px; line-height: 1.5; margin: 0 0 16px; }
.wx-art-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--wx-ink-3); }
.wx-art-meta i { color: #AEB8C0; margin-right: 5px; }
.wx-art-meta a { color: var(--wx-blue); }
.wx-art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.wx-art-tag {
    font-size: 12.5px;
    color: var(--wx-ink-2);
    background: #F4F7F9;
    border: 1px solid var(--wx-line);
    border-radius: 6px;
    padding: 4px 12px;
    transition: all .18s ease;
}
.wx-art-tag:hover { color: var(--wx-blue); border-color: var(--wx-blue); background: var(--wx-blue-soft); }

.wx-content { font-size: 16px; line-height: 2.05; color: #333C45; }
.wx-content p { margin: 0 0 20px; text-align: justify; }
.wx-content h2 {
    font-family: var(--wx-serif);
    font-size: 22px; font-weight: 800;
    color: var(--wx-blue-deep);
    letter-spacing: 2px;
    margin: 40px 0 16px;
    padding-left: 13px;
    border-left: 4px solid var(--wx-blue);
    line-height: 1.4;
}
.wx-content h3 { font-family: var(--wx-serif); font-size: 18.5px; font-weight: 700; color: var(--wx-blue); margin: 30px 0 12px; letter-spacing: 1.5px; }
.wx-content blockquote {
    margin: 22px 0;
    padding: 16px 22px;
    background: #FBF8F1;
    border-left: 4px solid var(--wx-gold);
    border-radius: 0 8px 8px 0;
    color: #5C5344;
    font-size: 15px;
    line-height: 1.9;
}
.wx-content blockquote p { margin: 0; color: inherit; }
.wx-content ul, .wx-content ol { margin: 0 0 20px; padding-left: 26px; }
.wx-content li { margin-bottom: 8px; }
.wx-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 10px auto; display: block; }
.wx-content a { color: var(--wx-blue); text-decoration: underline; text-underline-offset: 3px; }
.wx-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14.5px; }
.wx-content th, .wx-content td { border: 1px solid var(--wx-line); padding: 10px 14px; }
.wx-content th { background: var(--wx-blue-soft); color: var(--wx-blue-deep); font-weight: 700; }
.wx-content hr { border: none; border-top: 1px dashed var(--wx-line); margin: 30px 0; }

/* 上一篇/下一篇 */
.wx-prevnext { display: flex; gap: 16px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--wx-line); }
.wx-pn-item {
    flex: 1;
    display: block;
    border: 1px solid var(--wx-line);
    border-radius: 10px;
    padding: 14px 18px;
    transition: border-color .2s ease, background .2s ease;
}
.wx-pn-item:hover { border-color: var(--wx-blue); background: #F7FAFC; }
.wx-pn-label { font-size: 12px; color: var(--wx-ink-3); letter-spacing: 2px; margin-bottom: 5px; }
.wx-pn-title { font-family: var(--wx-serif); font-size: 14.5px; color: var(--wx-ink-2); line-height: 1.5; }
.wx-pn-item:hover .wx-pn-title { color: var(--wx-blue); }
.wx-pn-empty { color: var(--wx-ink-3); font-size: 13.5px; display: flex; align-items: center; }

/* 相关阅读 */
.wx-related { margin-top: 38px; }
.wx-related-title { font-family: var(--wx-serif); font-size: 19px; font-weight: 700; color: var(--wx-blue-deep); letter-spacing: 2px; margin: 0 0 16px; }
.wx-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.wx-rec-card {
    display: block;
    border: 1px solid var(--wx-line);
    border-radius: 10px;
    padding: 15px 17px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.wx-rec-card:hover { border-color: #C9D8E2; box-shadow: var(--wx-shadow); transform: translateY(-2px); }
.wx-rec-title { font-family: var(--wx-serif); font-size: 14.5px; font-weight: 700; color: var(--wx-ink); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wx-rec-card:hover .wx-rec-title { color: var(--wx-blue); }
.wx-rec-date { margin-top: 8px; font-size: 12px; color: var(--wx-ink-3); }

/* 本文目录 */
.wx-toc { max-height: 420px; overflow-y: auto; padding: 8px 0; }
.wx-toc a {
    display: block;
    padding: 7px 20px;
    font-size: 13.5px;
    color: var(--wx-ink-2);
    line-height: 1.5;
    border-left: 3px solid transparent;
    transition: all .18s ease;
}
.wx-toc a.wx-toc-lv3 { padding-left: 34px; font-size: 13px; }
.wx-toc a:hover { color: var(--wx-blue); background: #F7FAFC; }
.wx-toc a.is-active { color: var(--wx-blue-deep); font-weight: 700; border-left-color: var(--wx-red); background: var(--wx-blue-soft); }
.wx-toc-empty { padding: 14px 20px; font-size: 13px; color: var(--wx-ink-3); }

/* ============================================================
   中医术语辞书（tcm_category / tcm_list / tcm_show）
   在既有 wx- 设计令牌上扩展，类前缀沿用 wx-tcm-
   ============================================================ */

/* ---------- 辞书封面 Hero ---------- */
.wx-tcm-hero {
    position: relative;
    margin-top: 22px;
    border-radius: 16px;
    overflow: hidden;
    background:
        radial-gradient(900px 400px at 88% -20%, rgba(194, 154, 84, .22), transparent 60%),
        linear-gradient(135deg, #2A597B 0%, var(--wx-blue-deep) 60%, #183748 100%);
    color: #fff;
    padding: 48px 56px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.wx-tcm-hero-inner { position: relative; z-index: 2; max-width: 680px; }
.wx-tcm-hero-tag {
    display: inline-block;
    border: 1px solid rgba(194, 154, 84, .65);
    color: #E7CFA1;
    border-radius: 20px;
    padding: 5px 16px;
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 18px;
}
.wx-tcm-hero-title {
    font-family: var(--wx-serif);
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 8px;
    line-height: 1.2;
    margin: 0;
}
.wx-tcm-hero-sub {
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 2;
    color: rgba(255, 255, 255, .82);
    letter-spacing: 1px;
}
.wx-tcm-hero-sub b { color: #E7CFA1; font-family: var(--wx-serif); font-size: 18px; margin: 0 3px; }
.wx-tcm-search {
    display: flex;
    margin-top: 26px;
    background: rgba(255, 255, 255, .95);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(10, 28, 40, .25);
}
.wx-tcm-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 18px;
    font-size: 14.5px;
    color: var(--wx-ink);
    background: transparent;
}
.wx-tcm-search input::placeholder { color: #A8B2BB; }
.wx-tcm-search button {
    border: none;
    cursor: pointer;
    padding: 0 24px;
    background: linear-gradient(135deg, var(--wx-blue), var(--wx-blue-deep));
    color: #fff;
    font-size: 14px;
    letter-spacing: 2px;
    transition: background .2s ease;
}
.wx-tcm-search button:hover { background: linear-gradient(135deg, var(--wx-red), var(--wx-red-deep)); }
.wx-tcm-hero-art { position: relative; z-index: 1; width: 180px; height: 180px; flex-shrink: 0; }
.wx-tcm-hero-art::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(194, 154, 84, .45);
}
.wx-tcm-hero-art::after {
    content: "";
    position: absolute; inset: 22px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .16);
}
.wx-tcm-hero-char {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--wx-serif);
    font-size: 96px; font-weight: 800;
    color: rgba(255, 255, 255, .9);
    text-shadow: 0 6px 24px rgba(10, 28, 40, .4);
}

/* ---------- 六大门类卡片 ---------- */
.wx-tcm-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wx-tcm-catcard {
    display: flex;
    gap: 18px;
    background: var(--wx-card);
    border: 1px solid var(--wx-line);
    border-radius: var(--wx-radius);
    box-shadow: var(--wx-shadow);
    padding: 22px 22px 20px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    overflow: hidden;
    position: relative;
}
.wx-tcm-catcard::before {
    content: "";
    position: absolute; left: 0; top: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--wx-blue), var(--wx-gold));
    opacity: 0;
    transition: opacity .22s ease;
}
.wx-tcm-catcard:hover { transform: translateY(-4px); border-color: #C9D8E2; box-shadow: var(--wx-shadow-hover); }
.wx-tcm-catcard:hover::before { opacity: 1; }
.wx-tcm-cat-no {
    flex-shrink: 0;
    width: 50px; height: 50px;
    border-radius: 12px;
    background: var(--wx-blue-soft);
    color: var(--wx-blue);
    font-family: var(--wx-serif);
    font-size: 24px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    transition: background .22s ease, color .22s ease;
}
.wx-tcm-catcard:hover .wx-tcm-cat-no { background: var(--wx-blue); color: #fff; }
.wx-tcm-cat-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wx-tcm-cat-name-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.wx-tcm-cat-name { font-family: var(--wx-serif); font-size: 20px; font-weight: 700; color: var(--wx-blue-deep); letter-spacing: 2px; margin: 0; }
.wx-tcm-cat-en { font-size: 9.5px; color: var(--wx-ink-3); letter-spacing: 1.2px; text-transform: uppercase; }
.wx-tcm-cat-desc { margin: 10px 0 12px; font-size: 13px; line-height: 1.75; color: var(--wx-ink-2); flex: 1; }
.wx-tcm-cat-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px dashed var(--wx-line); }
.wx-tcm-cat-count { font-size: 12.5px; color: var(--wx-ink-3); }
.wx-tcm-cat-count b { font-family: var(--wx-serif); font-size: 17px; color: var(--wx-red); margin: 0 2px; }
.wx-tcm-cat-go { font-size: 13px; color: var(--wx-blue); letter-spacing: 1px; display: inline-flex; align-items: center; gap: 5px; }
.wx-tcm-catcard:hover .wx-tcm-cat-go { color: var(--wx-red); }
.wx-tcm-cat-go .fa { transition: transform .2s ease; font-size: 11px; }
.wx-tcm-catcard:hover .wx-tcm-cat-go .fa { transform: translateX(3px); }

/* ---------- 拼音索引 + 热门术语 双栏 ---------- */
.wx-tcm-index { display: flex; gap: 22px; margin-top: 40px; align-items: flex-start; }
.wx-tcm-az { flex: 1; }
.wx-tcm-az-bar { display: flex; flex-wrap: wrap; gap: 6px; }
.wx-tcm-az-bar--full {
    background: var(--wx-card);
    border: 1px solid var(--wx-line);
    border-radius: var(--wx-radius);
    box-shadow: var(--wx-shadow);
    padding: 14px 18px;
    margin: 18px 0 22px;
    justify-content: center;
}
.wx-tcm-az-letter {
    width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 7px;
    background: #F0F4F7;
    color: var(--wx-ink-2);
    font-size: 13px; font-weight: 600;
    transition: all .18s ease;
}
.wx-tcm-az-letter:hover { background: var(--wx-blue); color: #fff; transform: translateY(-1px); }
.wx-tcm-az-tip { margin-top: 12px; font-size: 12.5px; color: var(--wx-ink-3); letter-spacing: 1px; }
.wx-tcm-hot { width: 340px; flex-shrink: 0; }
.wx-tcm-hot-list {
    background: var(--wx-card);
    border: 1px solid var(--wx-line);
    border-radius: var(--wx-radius);
    box-shadow: var(--wx-shadow);
    padding: 6px 0;
}
.wx-tcm-hot-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 20px;
    border-bottom: 1px solid #F2F5F8;
    transition: background .18s ease;
}
.wx-tcm-hot-item:last-child { border-bottom: none; }
.wx-tcm-hot-item:hover { background: #F7FAFC; }
.wx-tcm-hot-name { font-family: var(--wx-serif); font-size: 15px; font-weight: 700; color: var(--wx-ink); letter-spacing: 1px; }
.wx-tcm-hot-item:hover .wx-tcm-hot-name { color: var(--wx-blue); }
.wx-tcm-hot-py { font-size: 12px; color: var(--wx-ink-3); letter-spacing: 1px; flex-shrink: 0; }

/* ---------- 子栏目页头 ---------- */
.wx-tcm-pagehead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 14px 0 0;
    border-radius: var(--wx-radius);
    background: linear-gradient(120deg, #EEF4F8, #F7FAFC 60%, #fff);
    border: 1px solid var(--wx-line);
    padding: 26px 32px 24px;
    overflow: hidden;
}
.wx-tcm-ph-left { flex: 1; min-width: 0; }
.wx-tcm-ph-no { display: inline-block; font-family: var(--wx-serif); font-size: 13px; color: var(--wx-red); letter-spacing: 3px; margin-bottom: 8px; }
.wx-tcm-ph-title { font-family: var(--wx-serif); font-size: 30px; font-weight: 800; color: var(--wx-blue-deep); letter-spacing: 4px; margin: 0; }
.wx-tcm-ph-desc { margin: 10px 0 0; font-size: 14px; color: var(--wx-ink-2); line-height: 1.8; max-width: 720px; }
.wx-tcm-ph-right { flex-shrink: 0; text-align: center; padding-left: 24px; border-left: 1px solid var(--wx-line); }
.wx-tcm-ph-num { font-family: var(--wx-serif); font-size: 40px; font-weight: 800; color: var(--wx-blue); line-height: 1; display: block; }
.wx-tcm-ph-unit { font-size: 12.5px; color: var(--wx-ink-3); letter-spacing: 2px; margin-top: 6px; display: block; }

/* ---------- 词条卡片网格（列表） ---------- */
.wx-tcm-termgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.wx-tcm-tcard {
    display: flex;
    gap: 16px;
    background: var(--wx-card);
    border: 1px solid var(--wx-line);
    border-radius: 14px;
    box-shadow: var(--wx-shadow);
    padding: 22px 22px 18px;
    position: relative;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.wx-tcm-tcard::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--wx-blue), var(--wx-gold));
    opacity: .85;
    transition: opacity .22s ease;
}
.wx-tcm-tcard:hover {
    transform: translateY(-4px);
    border-color: #C9D8E2;
    box-shadow: var(--wx-shadow-hover);
}
.wx-tcm-tcard:hover::before { opacity: 1; }
.wx-tcm-tc-badge {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--wx-blue-soft), #F0E8DA);
    color: var(--wx-blue-deep);
    font-family: var(--wx-serif);
    font-size: 22px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    letter-spacing: 0;
    transition: all .22s ease;
}
.wx-tcm-tcard:hover .wx-tcm-tc-badge {
    background: linear-gradient(135deg, var(--wx-blue), var(--wx-blue-deep));
    color: #fff;
    transform: scale(1.06);
}
.wx-tcm-tc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wx-tcm-tc-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.wx-tcm-tc-title {
    font-family: var(--wx-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--wx-blue-deep);
    letter-spacing: 1.5px;
    line-height: 1.35;
    margin: 0;
    transition: color .2s ease;
}
.wx-tcm-tcard:hover .wx-tcm-tc-title { color: var(--wx-red); }
.wx-tcm-tc-pinyin {
    font-size: 12.5px;
    color: var(--wx-ink-3);
    letter-spacing: 1px;
    font-family: "Georgia", serif;
    font-style: italic;
}
.wx-tcm-tc-desc {
    margin: 10px 0 12px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--wx-ink-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.wx-tcm-tc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px dashed var(--wx-line);
}
.wx-tcm-tc-cat {
    font-size: 11.5px;
    color: var(--wx-ink-3);
    letter-spacing: 1px;
    display: inline-flex; align-items: center; gap: 4px;
}
.wx-tcm-tc-cat .fa { color: var(--wx-gold); font-size: 10px; }
.wx-tcm-tc-go {
    font-size: 12.5px;
    color: var(--wx-blue);
    letter-spacing: 1px;
    display: inline-flex; align-items: center; gap: 4px;
    transition: color .2s ease;
}
.wx-tcm-tcard:hover .wx-tcm-tc-go { color: var(--wx-red); }
.wx-tcm-tc-go .fa { font-size: 11px; transition: transform .2s ease; }
.wx-tcm-tcard:hover .wx-tcm-tc-go .fa { transform: translateX(3px); }

/* ---------- 术语详情卡片 ---------- */
.wx-tcm-article {
    background: var(--wx-card);
    border: 1px solid var(--wx-line);
    border-radius: var(--wx-radius);
    box-shadow: var(--wx-shadow);
    padding: 0 0 38px;
    overflow: hidden;
}
.wx-tcm-termcard {
    background:
        radial-gradient(600px 200px at 100% 0%, rgba(194, 154, 84, .10), transparent 60%),
        linear-gradient(135deg, #F5F9FC, #FBF8F1);
    border-bottom: 1px solid var(--wx-line);
    padding: 34px 52px 30px;
    position: relative;
}
.wx-tcm-termcard::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--wx-blue), var(--wx-gold), var(--wx-red));
    opacity: .7;
}
.wx-tcm-tc-topbar { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.wx-tcm-tc-cat {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12.5px;
    color: var(--wx-blue);
    background: var(--wx-blue-soft);
    border-radius: 6px;
    padding: 4px 12px;
    letter-spacing: 1px;
}
.wx-tcm-tc-py-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px;
    color: var(--wx-red);
    background: var(--wx-red-soft);
    border-radius: 20px;
    padding: 4px 14px;
    letter-spacing: 1px;
    font-family: "Georgia", serif;
}
.wx-tcm-tc-py-badge .fa { font-size: 11px; }
.wx-tcm-tc-title-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.wx-tcm-tc-seal {
    flex-shrink: 0;
    width: 52px; height: 52px;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--wx-red), var(--wx-red-deep));
    color: #fff;
    font-family: var(--wx-serif);
    font-size: 26px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(176, 71, 58, .3);
    letter-spacing: 0;
}
.wx-tcm-tc-name {
    font-family: var(--wx-serif);
    font-size: 36px;
    font-weight: 800;
    color: var(--wx-blue-deep);
    letter-spacing: 4px;
    line-height: 1.35;
    margin: 0;
}
.wx-tcm-tc-def {
    margin: 0;
    font-size: 15.5px;
    line-height: 2;
    color: #4A545C;
    padding: 16px 22px;
    background: rgba(255, 255, 255, .75);
    border-left: 4px solid var(--wx-gold);
    border-radius: 0 10px 10px 0;
    box-shadow: inset 0 1px 3px rgba(30, 66, 88, .04);
}
.wx-tcm-article .wx-content { padding: 30px 52px 0; }
.wx-tcm-article .wx-prevnext { margin: 36px 52px 0; }
.wx-tcm-article .wx-related { margin: 38px 52px 0; }

/* ---------- 门类导航（替换拼音索引） ---------- */
.wx-tcm-catnav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.wx-tcm-catnav-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--wx-card);
    border: 1px solid var(--wx-line);
    border-radius: 24px;
    padding: 9px 18px 9px 12px;
    box-shadow: var(--wx-shadow);
    transition: all .2s ease;
}
.wx-tcm-catnav-item:hover {
    background: var(--wx-blue);
    border-color: var(--wx-blue);
    transform: translateY(-2px);
    box-shadow: var(--wx-shadow-hover);
}
.wx-tcm-catnav-no {
    flex-shrink: 0;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--wx-blue-soft);
    color: var(--wx-blue);
    font-family: var(--wx-serif);
    font-size: 14px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s ease;
}
.wx-tcm-catnav-item:hover .wx-tcm-catnav-no {
    background: rgba(255,255,255,.25);
    color: #fff;
}
.wx-tcm-catnav-name {
    font-family: var(--wx-serif);
    font-size: 15px;
    font-weight: 600;
    color: var(--wx-ink);
    letter-spacing: 1px;
    transition: color .2s ease;
}
.wx-tcm-catnav-item:hover .wx-tcm-catnav-name { color: #fff; }

/* ---------- 胶囊卡片网格（热门/冷门辞条） ---------- */
.wx-tcm-pillgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.wx-tcm-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--wx-card);
    border: 1px solid var(--wx-line);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: var(--wx-shadow);
    transition: all .2s ease;
    position: relative;
    overflow: hidden;
}
.wx-tcm-pill::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 3px; height: 100%;
    opacity: .9;
    transition: opacity .2s ease;
}
.wx-tcm-pill:not(.wx-tcm-pill--cold)::before {
    background: linear-gradient(180deg, var(--wx-red), var(--wx-gold));
}
.wx-tcm-pill--cold::before {
    background: linear-gradient(180deg, var(--wx-blue), var(--wx-gold));
}
.wx-tcm-pill:hover {
    transform: translateY(-3px);
    border-color: #C9D8E2;
    box-shadow: var(--wx-shadow-hover);
}
.wx-tcm-pill-badge {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: 10px;
    font-family: var(--wx-serif);
    font-size: 17px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s ease;
}
.wx-tcm-pill-badge--hot {
    background: var(--wx-red-soft);
    color: var(--wx-red);
}
.wx-tcm-pill-badge--cold {
    background: var(--wx-blue-soft);
    color: var(--wx-blue);
}
.wx-tcm-pill:hover .wx-tcm-pill-badge--hot {
    background: var(--wx-red);
    color: #fff;
}
.wx-tcm-pill:hover .wx-tcm-pill-badge--cold {
    background: var(--wx-blue);
    color: #fff;
}
.wx-tcm-pill-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.wx-tcm-pill-name {
    font-family: var(--wx-serif);
    font-size: 16px;
    font-weight: 700;
    color: var(--wx-blue-deep);
    letter-spacing: 1px;
    line-height: 1.3;
    transition: color .2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wx-tcm-pill:hover .wx-tcm-pill-name { color: var(--wx-red); }
.wx-tcm-pill-py {
    font-size: 11.5px;
    color: var(--wx-ink-3);
    letter-spacing: 1px;
    font-family: "Georgia", serif;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wx-tcm-pill-arrow {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--wx-ink-3);
    transition: all .2s ease;
}
.wx-tcm-pill:hover .wx-tcm-pill-arrow {
    color: var(--wx-red);
    transform: translateX(3px);
}

/* ---------- 术语标签云 ---------- */
.wx-tcm-cloud {
    background: var(--wx-card);
    border: 1px solid var(--wx-line);
    border-radius: var(--wx-radius);
    box-shadow: var(--wx-shadow);
    padding: 28px 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    line-height: 2.2;
}
.wx-tcm-cloud-tag {
    display: inline-block;
    font-family: var(--wx-serif);
    color: var(--wx-ink-2);
    transition: all .2s ease;
    white-space: nowrap;
}
.wx-tcm-cloud-tag:hover { color: var(--wx-red); transform: scale(1.08); }
.wx-tcm-cloud-lv1 { font-size: 13px; color: var(--wx-ink-3); }
.wx-tcm-cloud-lv2 { font-size: 15px; color: var(--wx-ink-2); }
.wx-tcm-cloud-lv3 { font-size: 18px; color: var(--wx-blue); font-weight: 600; }
.wx-tcm-cloud-lv4 { font-size: 22px; color: var(--wx-blue-deep); font-weight: 700; }
.wx-tcm-cloud-lv5 { font-size: 28px; color: var(--wx-red); font-weight: 800; }
.wx-tcm-cloud-lv1:hover { color: var(--wx-red); }
.wx-tcm-cloud-lv2:hover { color: var(--wx-red); }

/* ---------- 门类切换（列表页，替换A-Z字母条） ---------- */
.wx-tcm-catswitch {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 22px;
}
.wx-tcm-catswitch-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--wx-card);
    border: 1px solid var(--wx-line);
    border-radius: 22px;
    padding: 8px 18px 8px 12px;
    box-shadow: var(--wx-shadow);
    transition: all .2s ease;
}
.wx-tcm-catswitch-item:hover {
    border-color: var(--wx-blue);
    transform: translateY(-1px);
    box-shadow: var(--wx-shadow-hover);
}
.wx-tcm-catswitch-item.is-active {
    background: linear-gradient(135deg, var(--wx-blue), var(--wx-blue-deep));
    border-color: var(--wx-blue-deep);
    color: #fff;
}
.wx-tcm-catswitch-no {
    flex-shrink: 0;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--wx-blue-soft);
    color: var(--wx-blue);
    font-family: var(--wx-serif);
    font-size: 13px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s ease;
}
.wx-tcm-catswitch-item.is-active .wx-tcm-catswitch-no {
    background: rgba(255,255,255,.25);
    color: #fff;
}
.wx-tcm-catswitch-name {
    font-family: var(--wx-serif);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--wx-ink);
    letter-spacing: 1px;
    transition: color .2s ease;
}
.wx-tcm-catswitch-item.is-active .wx-tcm-catswitch-name { color: #fff; }
.wx-tcm-catswitch-count {
    font-size: 11px;
    color: var(--wx-ink-3);
    background: #F0F4F7;
    border-radius: 10px;
    padding: 1px 8px;
    transition: all .2s ease;
}
.wx-tcm-catswitch-item.is-active .wx-tcm-catswitch-count {
    background: rgba(255,255,255,.22);
    color: rgba(255,255,255,.85);
}

/* ---------- 术语瀑布流 ---------- */
.wx-tcm-masonry {
    column-count: 3;
    column-gap: 18px;
}
.wx-tcm-mcard {
    display: block;
    background: var(--wx-card);
    border: 1px solid var(--wx-line);
    border-radius: 14px;
    box-shadow: var(--wx-shadow);
    padding: 18px 20px 16px;
    margin-bottom: 18px;
    break-inside: avoid;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    position: relative;
    overflow: hidden;
}
.wx-tcm-mcard::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 3px; height: 100%;
    background: linear-gradient(180deg, var(--wx-blue), var(--wx-gold));
    opacity: .7;
    transition: opacity .22s ease;
}
.wx-tcm-mcard:hover {
    transform: translateY(-3px);
    border-color: #C9D8E2;
    box-shadow: var(--wx-shadow-hover);
}
.wx-tcm-mcard:hover::before { opacity: 1; }
.wx-tcm-mc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.wx-tcm-mc-cat {
    font-size: 11.5px;
    color: var(--wx-blue);
    background: var(--wx-blue-soft);
    border-radius: 5px;
    padding: 3px 10px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.wx-tcm-mc-cat .fa { font-size: 10px; color: var(--wx-gold); }
.wx-tcm-mc-tag {
    font-size: 11px;
    border-radius: 10px;
    padding: 2px 9px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.wx-tcm-mc-tag .fa { font-size: 10px; }
.wx-tcm-mc-tag--hot {
    background: var(--wx-red-soft);
    color: var(--wx-red);
}
.wx-tcm-mc-tag--cold {
    background: var(--wx-blue-soft);
    color: var(--wx-blue);
}
.wx-tcm-mc-name {
    font-family: var(--wx-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--wx-blue-deep);
    letter-spacing: 1.5px;
    line-height: 1.35;
    margin: 0 0 6px;
    transition: color .2s ease;
}
.wx-tcm-mcard:hover .wx-tcm-mc-name { color: var(--wx-red); }
.wx-tcm-mc-py {
    font-size: 12.5px;
    color: var(--wx-ink-3);
    letter-spacing: 1px;
    font-family: "Georgia", serif;
    font-style: italic;
    margin-bottom: 10px;
}
.wx-tcm-mc-desc {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--wx-ink-2);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* 瀑布流错落：用 5 循环（与每列 12 张错位），确保同一行各列高度不同 */
.wx-tcm-mcard:nth-child(5n+1) .wx-tcm-mc-desc { -webkit-line-clamp: 2; }
.wx-tcm-mcard:nth-child(5n+2) .wx-tcm-mc-desc { display: none; }
.wx-tcm-mcard:nth-child(5n+3) .wx-tcm-mc-desc { -webkit-line-clamp: 5; }
.wx-tcm-mcard:nth-child(5n+4) .wx-tcm-mc-desc { -webkit-line-clamp: 3; }
.wx-tcm-mcard:nth-child(5n) .wx-tcm-mc-desc { -webkit-line-clamp: 4; }
.wx-tcm-mc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px dashed var(--wx-line);
}
.wx-tcm-mc-initial {
    width: 26px; height: 26px;
    border-radius: 7px;
    background: var(--wx-blue-soft);
    color: var(--wx-blue);
    font-family: var(--wx-serif);
    font-size: 14px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s ease;
}
.wx-tcm-mcard:hover .wx-tcm-mc-initial {
    background: var(--wx-blue);
    color: #fff;
}
.wx-tcm-mc-go {
    font-size: 12.5px;
    color: var(--wx-ink-3);
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color .2s ease;
}
.wx-tcm-mcard:hover .wx-tcm-mc-go { color: var(--wx-red); }
.wx-tcm-mc-go .fa { font-size: 11px; transition: transform .2s ease; }
.wx-tcm-mcard:hover .wx-tcm-mc-go .fa { transform: translateX(3px); }

/* ============================================================
   首页增强：古籍札记 + 精选中医术语
   ============================================================ */
.wx-section--alt {
    position: relative;
    background:
        radial-gradient(600px 200px at 10% 0%, rgba(194, 154, 84, .12), transparent 60%),
        linear-gradient(180deg, #FBF8F1 0%, #F7FAFC 100%);
    margin-top: 40px;
    padding: 30px 32px 26px;
    border-radius: var(--wx-radius);
    border: 1px solid #EDE5D4;
    box-shadow: var(--wx-shadow);
}
.wx-section--alt::before {
    content: "札";
    position: absolute;
    right: 24px; top: 10px;
    font-family: var(--wx-serif);
    font-size: 68px;
    color: rgba(194, 154, 84, .12);
    line-height: 1;
    font-weight: 800;
}
/* ---------- 古籍札记 4 条 ---------- */
.wx-jidi {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.wx-jidi-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--wx-card);
    border: 1px solid var(--wx-line);
    border-radius: 10px;
    padding: 18px 18px 14px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    overflow: hidden;
}
.wx-jidi-card::before {
    content: "";
    position: absolute; left: 0; top: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--wx-gold), var(--wx-red));
    opacity: 0; transition: opacity .22s ease;
}
.wx-jidi-card:hover {
    transform: translateY(-4px);
    border-color: #E0D2B5;
    box-shadow: var(--wx-shadow-hover);
}
.wx-jidi-card:hover::before { opacity: 1; }
.wx-jidi-no {
    font-family: var(--wx-serif);
    font-size: 30px; font-weight: 800;
    color: var(--wx-red);
    line-height: 1;
    letter-spacing: 2px;
}
.wx-jidi-tit {
    font-family: var(--wx-serif);
    font-size: 15px; font-weight: 700;
    color: var(--wx-blue-deep);
    line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    transition: color .2s ease;
    letter-spacing: .5px;
}
.wx-jidi-card:hover .wx-jidi-tit { color: var(--wx-red); }
.wx-jidi-foot {
    font-size: 11.5px;
    color: var(--wx-ink-3);
    letter-spacing: 2px;
    padding-top: 10px;
    border-top: 1px dashed var(--wx-line);
    align-self: flex-start;
}
/* ---------- 精选中医术语 6 条 双列 ---------- */
.wx-term {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.wx-term-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--wx-term-bg, var(--wx-blue-soft));
    border: 1px solid var(--wx-line);
    border-radius: 12px;
    padding: 18px 20px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    position: relative;
    overflow: hidden;
}
.wx-term-card:hover {
    transform: translateY(-3px);
    border-color: #C9D8E2;
    box-shadow: var(--wx-shadow-hover);
}
.wx-term-idx {
    flex-shrink: 0;
    font-family: "Georgia", serif;
    font-style: italic;
    font-size: 28px;
    font-weight: 700;
    color: var(--wx-blue-deep);
    line-height: 1;
    opacity: .55;
    transition: opacity .22s ease, color .22s ease;
}
.wx-term-card:hover .wx-term-idx {
    opacity: 1;
    color: var(--wx-red);
}
.wx-term-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.wx-term-name {
    font-family: var(--wx-serif);
    font-size: 18px; font-weight: 700;
    color: var(--wx-blue-deep);
    letter-spacing: 1px;
    line-height: 1.35;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: color .22s ease;
}
.wx-term-card:hover .wx-term-name { color: var(--wx-red); }
.wx-term-meta { display: flex; align-items: center; gap: 12px; }
.wx-term-cat {
    font-size: 11.5px;
    color: var(--wx-blue);
    background: rgba(255,255,255,.7);
    border-radius: 4px;
    padding: 2px 10px;
    letter-spacing: 1px;
}
.wx-term-hits {
    font-size: 11.5px;
    color: var(--wx-ink-3);
    display: inline-flex; align-items: center; gap: 3px;
}
.wx-term-hits .fa { font-size: 11px; }
.wx-term-arrow {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--wx-ink-3);
    transition: all .22s ease;
}
.wx-term-card:hover .wx-term-arrow {
    color: var(--wx-red);
    transform: translateX(4px);
}

/* ============================================================
   内容页优化（2026-11-20）：进度条 / 首字下沉 / 正文排版节奏
   追加，不覆盖原有规则
   ============================================================ */

/* 1. 阅读进度条：固定视口顶部，纯 JS 写 width，无 CSS 动画 */
.wx-progress {
    position: fixed; top: 0; left: 0; height: 2px; width: 0;
    background: linear-gradient(90deg, var(--wx-blue-deep), var(--wx-blue) 55%, var(--wx-gold));
    z-index: 9999; pointer-events: none;
    transition: width .08s linear;
}

/* 2. 首字下沉（仅首个正文段落） */
.wx-content > p.wx-first-p { text-indent: 0; }
.wx-first-p::first-letter {
    float: left;
    font-size: 3em; line-height: .92;
    font-weight: 800;
    color: var(--wx-blue-deep);
    font-family: var(--wx-serif);
    padding: 5px 11px 0 0;
}

/* 3. 正文节奏：首行缩进（书卷气）+ 段间距微增；引文/列表内段落不缩进 */
.wx-content > p { text-indent: 2em; margin-bottom: 22px; }
.wx-content blockquote p, .wx-content li p { text-indent: 0; margin: 0; }

/* 4. h2/h3 锚点吸顶偏移兜底（JS 运行时也会写入，此为无 JS 兜底） */
.wx-content h2, .wx-content h3 { scroll-margin-top: calc(var(--ep-header-height, 78px) + 66px); }

/* 5. 文章头：阅读时长 meta */
.wx-art-meta .wx-art-read { color: var(--wx-red); font-weight: 600; }
.wx-art-meta .wx-art-read .fa { color: var(--wx-gold); }
