/* ============================================================
   古代医家 · doctor 模块 PC 端样式（PC-only，最小宽度 1160px）
   宣纸米黄 #F4EEE2 / 墨褐 #2C2520，主色 檀褐 #7A5230
   朱砂 #A8442B 印章、简金 #B08D57 点缀，标题用衬线体
   名医堂 · 医家列传 · 卷轴档案质感
   类前缀 yj- ，与 ep- / zwt- / xw- / wx- 完全隔离
   ============================================================ */

:root {
    --yj-brown: #7A5230;          /* 檀褐 主色 */
    --yj-brown-deep: #54371D;     /* 深檀 标题 */
    --yj-brown-soft: #F0E6D4;     /* 浅檀底 */
    --yj-red: #A8442B;            /* 朱砂 印章/重点 */
    --yj-red-deep: #8C3620;
    --yj-red-soft: #F7E9E2;
    --yj-gold: #B08D57;           /* 简金 点缀 */
    --yj-paper: #F4EEE2;          /* 页面底 宣纸 */
    --yj-paper-deep: #EDE4D1;
    --yj-card: #FFFDF6;           /* 卡片纸白 */
    --yj-ink: #2C2520;            /* 正文墨色 */
    --yj-ink-2: #5F5345;
    --yj-ink-3: #9A8B76;
    --yj-line: #E3D7C0;           /* 分隔线 */
    --yj-shadow: 0 2px 14px rgba(84, 55, 29, .07);
    --yj-shadow-hover: 0 14px 30px rgba(84, 55, 29, .16);
    --yj-radius: 10px;
    --yj-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
    --yj-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

.yj-page {
    min-width: 1160px;
    margin-top: -20px;
    padding-bottom: 14px;
    background:
        radial-gradient(1200px 500px at 50% -220px, rgba(176, 141, 87, .10), transparent 70%),
        var(--yj-paper);
    color: var(--yj-ink);
    font-family: var(--yj-sans);
}
.yj-wrap {
    margin: 0 auto;
    padding: 0 25px;
}
.yj-page a { color: inherit; }

/* ================= 吸顶子导航 ================= */
.yj-subnav {
    position: sticky;
    top: 90px;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 26px;
    height: 60px;
    padding: 0 28px;
    background: rgba(255, 252, 243, .97);
    border-bottom: 1px solid var(--yj-line);
    box-shadow: 0 2px 10px rgba(84, 55, 29, .06);
}
.yj-sub-brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.yj-sub-seal {
    width: 38px; height: 38px;
    border-radius: 7px;
    background: linear-gradient(145deg, var(--yj-red), var(--yj-red-deep));
    color: #FBEFE3;
    font-family: var(--yj-serif);
    font-size: 21px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 8px rgba(140, 54, 32, .3);
    position: relative;
}
.yj-sub-seal::after {
    content: "";
    position: absolute; inset: 3px;
    border: 1px solid rgba(251, 239, 227, .45);
    border-radius: 4px;
    pointer-events: none;
}
.yj-sub-txt { display: flex; flex-direction: column; line-height: 1.25; }
.yj-sub-name { font-family: var(--yj-serif); font-size: 16.5px; font-weight: 700; color: var(--yj-brown-deep); letter-spacing: 3px; }
.yj-sub-en { font-size: 9px; color: var(--yj-ink-3); letter-spacing: 1.6px; }
.yj-sub-menu { display: flex; align-items: center; gap: 2px; height: 100%; }
.yj-sub-line { width: 1px; height: 18px; background: var(--yj-line); margin: 0 8px; }
.yj-sub-item {
    position: relative;
    display: flex; align-items: center;
    height: 100%;
    padding: 0 11px;
    font-size: 14.5px;
    color: var(--yj-ink-2);
    letter-spacing: 1px;
    white-space: nowrap;
    transition: color .2s ease;
}
.yj-sub-item:hover { color: var(--yj-red); }
.yj-sub-item.is-active { color: var(--yj-brown-deep); font-weight: 700; }
.yj-sub-item.is-active::after {
    content: "";
    position: absolute; left: 11px; right: 11px; bottom: 9px;
    height: 3px; border-radius: 2px;
    background: linear-gradient(90deg, var(--yj-red), var(--yj-gold));
}

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

/* ================= 首页 Banner ================= */
.yj-banner {
    position: relative;
    margin-top: 22px;
    border-radius: 14px;
    overflow: hidden;
    background:
        radial-gradient(900px 420px at 86% -20%, rgba(176, 141, 87, .28), transparent 60%),
        linear-gradient(135deg, #4A3520 0%, #3A2915 55%, #2E2010 100%);
    color: #F5EBDC;
    padding: 54px 56px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.yj-banner::after {
    content: "";
    position: absolute; inset: 10px;
    border: 1px solid rgba(176, 141, 87, .28);
    border-radius: 8px;
    pointer-events: none;
}
.yj-banner-txt { position: relative; z-index: 2; max-width: 660px; }
.yj-banner-tag {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(176, 141, 87, .65);
    border-radius: 30px;
    font-size: 12.5px;
    letter-spacing: 3px;
    color: #E4C895;
    margin-bottom: 20px;
}
.yj-banner-title {
    font-family: var(--yj-serif);
    font-size: 52px;
    font-weight: 800;
    letter-spacing: 10px;
    margin: 0 0 16px;
    text-indent: 10px;
    color: #FBF4E6;
}
.yj-banner-sub {
    font-size: 15px;
    line-height: 2;
    color: rgba(245, 235, 220, .82);
    margin: 0 0 28px;
    letter-spacing: 1px;
}
.yj-banner-btns { display: flex; gap: 14px; }
.yj-btn {
    display: inline-flex; align-items: center; gap: 7px;
    height: 44px; padding: 0 26px;
    border-radius: 8px;
    font-size: 15px; letter-spacing: 2px;
    transition: all .2s ease;
}
.yj-btn-primary { background: linear-gradient(135deg, #C9985B, var(--yj-gold)); color: #33230F; font-weight: 700; box-shadow: 0 6px 16px rgba(176, 141, 87, .35); }
.yj-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(176, 141, 87, .45); color: #33230F; }
.yj-btn-ghost { border: 1px solid rgba(245, 235, 220, .5); color: var(--yj-paper); }
.yj-btn-ghost:hover { border-color: #E4C895; color: #E4C895; }
.yj-banner-art { position: relative; z-index: 1; width: 300px; height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.yj-banner-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(176, 141, 87, .45); }
.yj-banner-ring.r1 { width: 215px; height: 215px; }
.yj-banner-ring.r2 { width: 168px; height: 168px; border-style: solid; border-color: rgba(176, 141, 87, .22); }
.yj-banner-char {
    font-family: var(--yj-serif);
    font-size: 118px; font-weight: 800;
    color: rgba(228, 200, 149, .30);
    line-height: 1;
}
.yj-banner-art-en { margin-top: 6px; font-size: 11px; letter-spacing: 5px; color: rgba(228, 200, 149, .55); text-indent: 5px; }
.yj-banner-note { position: absolute; left: 56px; bottom: 14px; z-index: 2; font-size: 11.5px; color: rgba(245, 235, 220, .45); letter-spacing: 1px; }

/* ================= 数据概览 ================= */
.yj-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}
.yj-stat {
    display: flex; align-items: center; gap: 15px;
    background: var(--yj-card);
    border: 1px solid var(--yj-line);
    border-radius: var(--yj-radius);
    padding: 22px 26px;
    box-shadow: var(--yj-shadow);
}
.yj-stat-ico {
    width: 46px; height: 46px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    background: var(--yj-brown-soft); color: var(--yj-brown);
    flex-shrink: 0;
}
.yj-stat--red .yj-stat-ico { background: var(--yj-red-soft); color: var(--yj-red); }
.yj-stat--gold .yj-stat-ico { background: #F3E8D2; color: var(--yj-gold); }
.yj-stat-num { font-family: var(--yj-serif); font-size: 30px; font-weight: 800; color: var(--yj-brown-deep); line-height: 1.15; }
.yj-stat-num small { font-size: 14px; font-weight: 400; color: var(--yj-ink-3); margin-left: 4px; }
.yj-stat-label { display: block; font-size: 13px; color: var(--yj-ink-3); letter-spacing: 1px; }
.yj-stat-key { font-family: var(--yj-serif); font-size: 17px; font-weight: 700; color: var(--yj-brown-deep); letter-spacing: 2px; }

/* ================= 朝代时间轴 ================= */
.yj-era {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}
.yj-era-card {
    position: relative;
    display: block;
    background: var(--yj-card);
    border: 1px solid var(--yj-line);
    border-radius: var(--yj-radius);
    padding: 18px 10px 15px;
    text-align: center;
    box-shadow: var(--yj-shadow);
    transition: all .22s ease;
    overflow: hidden;
}
.yj-era-card::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--yj-red), var(--yj-gold));
    opacity: 0;
    transition: opacity .22s ease;
}
.yj-era-card:hover { transform: translateY(-4px); box-shadow: var(--yj-shadow-hover); border-color: #D3BF9A; }
.yj-era-card:hover::before { opacity: 1; }
.yj-era-name { font-family: var(--yj-serif); font-size: 18px; font-weight: 800; color: var(--yj-brown-deep); letter-spacing: 1px; text-indent: 1px; white-space: nowrap; }
.yj-era-en { display: block; font-size: 9px; color: var(--yj-ink-3); letter-spacing: 1.2px; margin: 5px 0 9px; min-height: 14px; }
.yj-era-count { font-size: 12.5px; color: var(--yj-ink-2); }
.yj-era-count b { font-family: var(--yj-serif); font-size: 18px; color: var(--yj-red); margin: 0 2px; }
.yj-era-arrow { display: none; }

/* ================= 医家卡片（首页/列表通用） ================= */
.yj-docs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.yj-doc {
    display: flex; flex-direction: column;
    background: var(--yj-card);
    border: 1px solid var(--yj-line);
    border-radius: var(--yj-radius);
    overflow: hidden;
    box-shadow: var(--yj-shadow);
    transition: all .22s ease;
}
.yj-doc:hover { transform: translateY(-5px); box-shadow: var(--yj-shadow-hover); border-color: #D3BF9A; }
.yj-doc-portrait {
    position: relative;
    height: 208px;
    background:
        repeating-linear-gradient(0deg, rgba(122, 82, 48, .04) 0 2px, transparent 2px 6px),
        linear-gradient(160deg, #F3EAD8 0%, #EADFC6 100%);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.yj-doc-portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.yj-doc:hover .yj-doc-portrait img { transform: scale(1.05); }
.yj-doc-seal {
    width: 104px; height: 104px;
    border-radius: 10px;
    background: linear-gradient(145deg, #FDF7EA, #EFE2C6);
    border: 1px solid #D9C39B;
    color: var(--yj-brown-deep);
    font-family: var(--yj-serif);
    font-size: 52px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: inset 0 0 0 4px rgba(255, 253, 246, .7), 0 6px 16px rgba(84, 55, 29, .14);
}
.yj-doc-era {
    position: absolute; top: 11px; left: 11px;
    padding: 4px 11px;
    border-radius: 4px;
    background: rgba(84, 55, 29, .82);
    color: #F3E5CC;
    font-size: 12px; letter-spacing: 2px;
    backdrop-filter: blur(2px);
}
.yj-doc-hits {
    position: absolute; top: 11px; right: 11px;
    padding: 3px 9px;
    border-radius: 20px;
    background: rgba(255, 253, 246, .88);
    color: var(--yj-ink-2);
    font-size: 11.5px;
}
.yj-doc-hits i { color: var(--yj-red); margin-right: 3px; }
.yj-doc-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 15px; }
.yj-doc-name {
    font-family: var(--yj-serif);
    font-size: 22px; font-weight: 800;
    color: var(--yj-brown-deep);
    letter-spacing: 4px; text-indent: 4px;
    line-height: 1.3;
    transition: color .2s ease;
}
.yj-doc:hover .yj-doc-name { color: var(--yj-red); }
.yj-doc-years { font-size: 12.5px; color: var(--yj-ink-3); margin-top: 3px; letter-spacing: 1px; min-height: 18px; }
.yj-doc-facts { margin: 11px 0 10px; display: flex; flex-direction: column; gap: 6px; }
.yj-doc-fact { display: flex; align-items: flex-start; gap: 7px; font-size: 12.5px; color: var(--yj-ink-2); line-height: 1.5; }
.yj-doc-fact i { color: var(--yj-gold); width: 13px; text-align: center; line-height: 1.6; font-size: 11.5px; flex-shrink: 0; }
.yj-doc-fact span {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.yj-doc-desc {
    margin: 0 0 13px;
    font-size: 13px;
    color: var(--yj-ink-2);
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.yj-doc-foot {
    margin-top: auto;
    padding-top: 11px;
    border-top: 1px dashed var(--yj-line);
    display: flex; align-items: center; justify-content: space-between;
    font-size: 13px;
    color: var(--yj-brown);
    letter-spacing: 1px;
}
.yj-doc-foot i { transition: transform .2s ease; }
.yj-doc:hover .yj-doc-foot i { transform: translateX(4px); color: var(--yj-red); }

/* ================= 面包屑/页头/筛选条（列表页） ================= */
.yj-breadcrumb { display: flex; align-items: center; gap: 9px; padding: 18px 0 2px; font-size: 13px; color: var(--yj-ink-3); }
.yj-breadcrumb a:hover { color: var(--yj-red); }
.yj-bc-sep { color: var(--yj-line); }

.yj-pagehead {
    position: relative;
    margin-top: 14px;
    padding: 30px 34px 28px;
    background:
        radial-gradient(600px 200px at 100% -60%, rgba(176, 141, 87, .14), transparent 65%),
        var(--yj-card);
    border: 1px solid var(--yj-line);
    border-left: 5px solid var(--yj-red);
    border-radius: var(--yj-radius);
    box-shadow: var(--yj-shadow);
    overflow: hidden;
}
.yj-pagehead-no { font-size: 12.5px; letter-spacing: 4px; color: var(--yj-red); font-weight: 700; }
.yj-pagehead-title { font-family: var(--yj-serif); font-size: 32px; font-weight: 800; color: var(--yj-brown-deep); margin: 8px 0 8px; letter-spacing: 5px; text-indent: 5px; }
.yj-pagehead-desc { margin: 0; font-size: 14px; color: var(--yj-ink-2); line-height: 1.8; max-width: 760px; }
.yj-pagehead-water {
    position: absolute; right: 26px; top: 50%; transform: translateY(-50%);
    font-family: var(--yj-serif);
    font-size: 96px; font-weight: 800;
    color: rgba(122, 82, 48, .06);
    pointer-events: none;
}

.yj-filter {
    display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--yj-card);
    border: 1px solid var(--yj-line);
    border-radius: var(--yj-radius);
    box-shadow: var(--yj-shadow);
}
.yj-filter-label {
    font-family: var(--yj-serif);
    font-size: 14px; font-weight: 700;
    color: var(--yj-brown-deep);
    letter-spacing: 2px;
    margin-right: 4px;
}
.yj-filter-label::before { content: "❖"; color: var(--yj-red); margin-right: 7px; font-size: 11px; }
.yj-filter-pill {
    padding: 6px 17px;
    border-radius: 30px;
    border: 1px solid var(--yj-line);
    background: #FBF7EC;
    font-size: 13.5px;
    color: var(--yj-ink-2);
    letter-spacing: 1px;
    transition: all .18s ease;
}
.yj-filter-pill b { font-family: var(--yj-serif); color: var(--yj-ink-3); font-weight: 400; margin-left: 4px; font-size: 12px; }
.yj-filter-pill:hover { border-color: var(--yj-gold); color: var(--yj-brown); }
.yj-filter-pill.is-active {
    background: linear-gradient(135deg, var(--yj-brown), var(--yj-brown-deep));
    border-color: var(--yj-brown-deep);
    color: #FBEED9;
    box-shadow: 0 4px 10px rgba(84, 55, 29, .25);
}
.yj-filter-pill.is-active b { color: rgba(251, 238, 217, .75); }

.yj-list-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ================= 空状态 ================= */
.yj-empty {
    margin-top: 22px;
    padding: 72px 20px;
    text-align: center;
    background: var(--yj-card);
    border: 1px dashed #D6C6A6;
    border-radius: var(--yj-radius);
}
.yj-empty-seal {
    width: 74px; height: 74px;
    margin: 0 auto 18px;
    border-radius: 12px;
    background: var(--yj-brown-soft);
    color: var(--yj-brown);
    font-size: 30px;
    display: flex; align-items: center; justify-content: center;
}
.yj-empty-tit { font-family: var(--yj-serif); font-size: 19px; font-weight: 700; color: var(--yj-brown-deep); letter-spacing: 2px; }
.yj-empty-txt { margin-top: 8px; font-size: 13.5px; color: var(--yj-ink-3); letter-spacing: 1px; }

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

/* ================= 详情页·医家档案头 ================= */
.yj-profile {
    display: flex;
    gap: 34px;
    margin-top: 14px;
    padding: 34px 38px;
    background:
        radial-gradient(700px 300px at 92% -70%, rgba(176, 141, 87, .15), transparent 60%),
        var(--yj-card);
    border: 1px solid var(--yj-line);
    border-radius: var(--yj-radius);
    box-shadow: var(--yj-shadow);
    position: relative;
    overflow: hidden;
}
.yj-profile::after {
    content: "";
    position: absolute; inset: 9px;
    border: 1px solid rgba(176, 141, 87, .25);
    border-radius: 6px;
    pointer-events: none;
}
.yj-pf-portrait {
    position: relative; z-index: 1;
    width: 210px; height: 256px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background:
        repeating-linear-gradient(0deg, rgba(122, 82, 48, .04) 0 2px, transparent 2px 6px),
        linear-gradient(160deg, #F3EAD8 0%, #E8DBBF 100%);
    border: 1px solid #D9C39B;
    box-shadow: 0 10px 24px rgba(84, 55, 29, .18);
    display: flex; align-items: center; justify-content: center;
}
.yj-pf-portrait img { width: 100%; height: 100%; object-fit: cover; }
.yj-pf-seal {
    width: 130px; height: 130px;
    border-radius: 12px;
    background: linear-gradient(145deg, #FDF7EA, #EFE2C6);
    border: 1px solid #D2B98B;
    color: var(--yj-brown-deep);
    font-family: var(--yj-serif);
    font-size: 66px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: inset 0 0 0 5px rgba(255, 253, 246, .75);
}
.yj-pf-main { position: relative; z-index: 1; flex: 1; min-width: 0; }
.yj-pf-era {
    display: inline-block;
    padding: 5px 14px;
    background: var(--yj-red-soft);
    color: var(--yj-red-deep);
    border: 1px solid #E6C8BC;
    border-radius: 4px;
    font-size: 13px; font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
}
.yj-pf-name {
    font-family: var(--yj-serif);
    font-size: 42px; font-weight: 800;
    color: var(--yj-brown-deep);
    letter-spacing: 8px; text-indent: 8px;
    line-height: 1.2;
    margin: 0;
}
.yj-pf-years { margin: 8px 0 16px; font-size: 15px; color: var(--yj-ink-3); letter-spacing: 2px; }
.yj-pf-years i { color: var(--yj-gold); margin-right: 7px; }
.yj-pf-chips { display: flex; flex-wrap: wrap; gap: 9px 12px; margin-bottom: 15px; }
.yj-pf-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--yj-ink-2); }
.yj-pf-chip i { color: var(--yj-gold); font-size: 12px; }
.yj-pf-chip b { color: var(--yj-brown-deep); font-weight: 600; }
.yj-pf-quote {
    margin: 4px 0 0;
    padding: 13px 18px;
    border-left: 3px solid var(--yj-gold);
    background: rgba(176, 141, 87, .08);
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    color: var(--yj-ink-2);
    line-height: 1.9;
}
.yj-pf-meta { margin-top: 14px; display: flex; gap: 20px; font-size: 12.5px; color: var(--yj-ink-3); }
.yj-pf-meta i { margin-right: 5px; }

/* ================= 详情页主体布局 ================= */
.yj-layout { display: grid; grid-template-columns: 842px 298px; gap: 22px; margin-top: 22px; align-items: start; }
.yj-main { min-width: 0; }
.yj-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 162px; }

.yj-article {
    position: relative;
    background: var(--yj-card);
    border: 1px solid var(--yj-line);
    border-radius: var(--yj-radius);
    box-shadow: var(--yj-shadow);
    padding: 38px 46px 40px;
}
/* 文章角花装饰 */
.yj-article::before, .yj-article::after {
    content: "";
    position: absolute;
    top: 0;
    width: 36px; height: 36px;
    pointer-events: none;
    opacity: .35;
}
.yj-article::before {
    left: 0;
    border-top: 2px solid var(--yj-gold);
    border-left: 2px solid var(--yj-gold);
    border-radius: var(--yj-radius) 0 0 0;
}
.yj-article::after {
    right: 0;
    border-top: 2px solid var(--yj-gold);
    border-right: 2px solid var(--yj-gold);
    border-radius: 0 var(--yj-radius) 0 0;
}
.yj-content { font-size: 16px; line-height: 2.05; color: #3A3128; }
.yj-content p { margin: 0 0 18px; }
.yj-content h2 {
    font-family: var(--yj-serif);
    font-size: 24px; font-weight: 800;
    color: var(--yj-brown-deep);
    letter-spacing: 2px;
    margin: 38px 0 18px;
    padding-left: 13px;
    border-left: 5px solid var(--yj-red);
    line-height: 1.4;
}
.yj-content h2:first-child { margin-top: 0; }
.yj-content h3 {
    font-family: var(--yj-serif);
    font-size: 19px; font-weight: 700;
    color: var(--yj-brown);
    letter-spacing: 1.5px;
    margin: 28px 0 14px;
}
.yj-content h3::before { content: "◇"; color: var(--yj-gold); font-size: 13px; margin-right: 9px; vertical-align: 2px; }
.yj-content blockquote {
    margin: 18px 0;
    padding: 16px 22px;
    background: rgba(176, 141, 87, .09);
    border-left: 4px solid var(--yj-gold);
    border-radius: 0 8px 8px 0;
    color: var(--yj-ink-2);
}
.yj-content blockquote p:last-child { margin-bottom: 0; }
.yj-content strong { color: var(--yj-brown-deep); font-weight: 700; }
.yj-content img { max-width: 100%; border-radius: 8px; border: 1px solid var(--yj-line); }
.yj-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14.5px; }
.yj-content th, .yj-content td { border: 1px solid var(--yj-line); padding: 10px 14px; text-align: left; }
.yj-content th { background: var(--yj-brown-soft); color: var(--yj-brown-deep); font-weight: 700; }
.yj-content ul, .yj-content ol { margin: 0 0 18px; padding-left: 26px; }
.yj-content li { margin-bottom: 8px; }

/* ================= 上下篇 ================= */
.yj-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; padding-top: 28px; border-top: 1px dashed var(--yj-line); }
.yj-pn-item {
    display: block;
    padding: 15px 19px;
    border: 1px solid var(--yj-line);
    border-radius: 8px;
    background: #FCF9F0;
    transition: all .18s ease;
}
.yj-pn-item:hover { border-color: var(--yj-gold); background: #F9F2E2; }
.yj-pn-label { font-size: 12px; color: var(--yj-ink-3); letter-spacing: 2px; margin-bottom: 6px; }
.yj-pn-title { font-family: var(--yj-serif); font-size: 15px; font-weight: 700; color: var(--yj-brown-deep); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yj-pn-empty { display: flex; align-items: center; justify-content: center; min-height: 60px; font-size: 13px; color: var(--yj-ink-3); background: transparent; }

/* ================= 同代推荐 ================= */
.yj-related { margin-top: 32px; }
.yj-related-title {
    font-family: var(--yj-serif);
    font-size: 21px; font-weight: 800;
    color: var(--yj-brown-deep);
    letter-spacing: 3px; text-indent: 3px;
    margin: 0 0 16px;
    display: flex; align-items: center; gap: 12px;
}
.yj-related-title::before { content: ""; width: 5px; height: 20px; border-radius: 2px; background: linear-gradient(180deg, var(--yj-red), var(--yj-gold)); }
.yj-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.yj-rec-card {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 15px;
    border: 1px solid var(--yj-line);
    border-radius: 8px;
    background: #FCF9F0;
    transition: all .18s ease;
}
.yj-rec-card:hover { border-color: var(--yj-gold); background: #F9F2E2; transform: translateY(-2px); }
.yj-rec-ava {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 8px;
    background: linear-gradient(145deg, #FDF7EA, #EFE2C6);
    border: 1px solid #D9C39B;
    color: var(--yj-brown-deep);
    font-family: var(--yj-serif);
    font-size: 22px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.yj-rec-name { font-family: var(--yj-serif); font-size: 15.5px; font-weight: 700; color: var(--yj-brown-deep); letter-spacing: 1.5px; }
.yj-rec-sub { font-size: 12px; color: var(--yj-ink-3); margin-top: 2px; }

/* ================= 侧栏卡片 ================= */
.yj-sidecard {
    background: var(--yj-card);
    border: 1px solid var(--yj-line);
    border-radius: var(--yj-radius);
    box-shadow: var(--yj-shadow);
    overflow: hidden;
}
.yj-sidecard-tit {
    font-family: var(--yj-serif);
    font-size: 17px; font-weight: 800;
    color: var(--yj-brown-deep);
    letter-spacing: 3px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--yj-line);
    background: linear-gradient(180deg, #FCF7EB, var(--yj-card));
}
.yj-sidecard-tit::before { content: ""; display: inline-block; width: 4px; height: 15px; border-radius: 2px; background: linear-gradient(180deg, var(--yj-red), var(--yj-gold)); margin-right: 10px; vertical-align: -2px; }

/* 医家档案表 */
.yj-archive { padding: 6px 20px 14px; }
.yj-archive-row { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--yj-line); font-size: 13.5px; line-height: 1.65; }
.yj-archive-row:last-child { border-bottom: none; }
.yj-archive-k { flex-shrink: 0; width: 62px; color: var(--yj-ink-3); letter-spacing: 1px; }
.yj-archive-k i { color: var(--yj-gold); margin-right: 5px; font-size: 11px; }
.yj-archive-v { color: var(--yj-ink); flex: 1; word-break: break-all; }
.yj-archive-v a:hover { color: var(--yj-red); }

/* 本文目录 */
.yj-toc { padding: 10px 14px 14px; }
.yj-toc a {
    display: block;
    padding: 7px 10px;
    font-size: 13.5px;
    color: var(--yj-ink-2);
    border-left: 2px solid transparent;
    border-radius: 0 6px 6px 0;
    line-height: 1.5;
    transition: all .18s ease;
    word-break: break-all;
}
.yj-toc a.yj-toc-h3 { padding-left: 24px; font-size: 12.5px; color: var(--yj-ink-3); }
.yj-toc a:hover { color: var(--yj-brown); background: #FAF3E4; }
.yj-toc a.is-active { color: var(--yj-red-deep); border-left-color: var(--yj-red); background: var(--yj-red-soft); font-weight: 700; }
.yj-toc-empty { display: block; padding: 10px; font-size: 12.5px; color: var(--yj-ink-3); }

/* 热门医家 */
.yj-side-hot { padding: 8px 14px 12px; }
.yj-side-hot a { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-bottom: 1px dashed var(--yj-line); }
.yj-side-hot a:last-child { border-bottom: none; }
.yj-side-rank {
    width: 21px; height: 21px; flex-shrink: 0;
    border-radius: 5px;
    background: var(--yj-brown-soft);
    color: var(--yj-brown);
    font-family: var(--yj-serif);
    font-size: 12.5px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.yj-side-hot a:nth-child(1) .yj-side-rank,
.yj-side-hot a:nth-child(2) .yj-side-rank,
.yj-side-hot a:nth-child(3) .yj-side-rank { background: var(--yj-red); color: #fff; }
.yj-side-hot-name { font-size: 13.5px; line-height: 1.5; color: var(--yj-ink-2); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yj-side-hot a:hover .yj-side-hot-name { color: var(--yj-red); }
.yj-side-hot-era { font-size: 11.5px; color: var(--yj-ink-3); flex-shrink: 0; }

/* ================= 详情页个性化增强 ================= */

/* 阅读进度条（卷轴展开感） */
.yj-progress {
    position: fixed;
    top: 90px;
    left: 0; right: 0;
    height: 3px;
    z-index: 95;
    background: rgba(176, 141, 87, .12);
}
.yj-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--yj-red), var(--yj-gold));
    transition: width .12s ease;
    box-shadow: 0 0 6px rgba(168, 68, 43, .4);
}

/* 拼音副标题 */
.yj-pf-pinyin {
    margin: 0 0 5px;
    font-size: 12.5px;
    color: var(--yj-ink-3);
    letter-spacing: 5px;
    text-transform: uppercase;
}

/* 朝代朱印（叠在画像左下角） */
.yj-pf-stamp {
    position: absolute;
    bottom: 10px; left: 10px;
    width: 38px; height: 38px;
    border-radius: 6px;
    background: linear-gradient(145deg, var(--yj-red), var(--yj-red-deep));
    color: #FBEFE3;
    font-family: var(--yj-serif);
    font-size: 14px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(140, 54, 32, .4);
    z-index: 2;
    text-align: center;
    line-height: 1.1;
}

/* "赞曰"引述块 */
.yj-pf-praise {
    margin-top: 16px;
    padding: 16px 20px 16px 52px;
    background: linear-gradient(135deg, rgba(168, 68, 43, .04), rgba(176, 141, 87, .07));
    border: 1px solid #E8D5BC;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}
.yj-pf-praise::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--yj-red), var(--yj-gold));
}
.yj-pf-praise-tag {
    position: absolute;
    left: 10px; top: 13px;
    writing-mode: vertical-rl;
    font-family: var(--yj-serif);
    font-size: 17px; font-weight: 800;
    color: var(--yj-red);
    letter-spacing: 3px;
    line-height: 1.2;
}
.yj-pf-praise p {
    margin: 0;
    font-size: 14.5px;
    line-height: 2;
    color: var(--yj-ink-2);
}

/* "终"卷末印 */
.yj-art-end {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
    padding-top: 4px;
}
.yj-art-end-line {
    flex: 1;
    max-width: 140px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--yj-line) 30%, var(--yj-line) 70%, transparent);
}
.yj-art-end-seal {
    width: 34px; height: 34px;
    border-radius: 6px;
    background: linear-gradient(145deg, var(--yj-red), var(--yj-red-deep));
    color: #FBEFE3;
    font-family: var(--yj-serif);
    font-size: 16px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 8px rgba(140, 54, 32, .3);
    flex-shrink: 0;
}

/* ============================================================
   详情页 · 明亮轻盈主题（产品风补丁，仅 .yj-show-scope 作用域）
   纯白卡片 / 大圆角 / 软阴影 / 胶囊标签 / 无衬线 / 轻动效
   删除本段 + 模板包裹层即可回退到古风主题
   ============================================================ */

/* 详情页页面底色替换（现代浏览器 :has 作用域，不支持时优雅降级为暖底） */
.yj-page:has(.yj-show-scope) {
    background:
        radial-gradient(900px 420px at 80% -200px, rgba(192, 80, 51, .05), transparent 65%),
        #F7F8FA;
}

.yj-show-scope {
    --ys-ink: #1F2329;
    --ys-ink-2: #4E5969;
    --ys-ink-3: #86909C;
    --ys-line: #EFF0F2;
    --ys-chip: #F2F3F5;
    --ys-accent: #C05033;
    --ys-accent-soft: #FBECE7;
    --ys-card: #FFFFFF;
    --ys-radius: 18px;
    --ys-shadow: 0 2px 16px rgba(31, 35, 41, .05);
    --ys-shadow-hover: 0 10px 30px rgba(31, 35, 41, .10);
    font-family: var(--yj-sans);
    color: var(--ys-ink);
}
.yj-show-scope a { color: inherit; }

/* 阅读进度条：更细更克制 */
.yj-progress { top: 90px; height: 2px; background: rgba(31, 35, 41, .06); }
.yj-progress-bar {
    background: linear-gradient(90deg, var(--ys-accent, #C05033), #E08A72);
    box-shadow: none;
}

/* 面包屑 */
.yj-show-scope .yj-breadcrumb { padding: 20px 0 4px; font-size: 13px; color: var(--ys-ink-3); }
.yj-show-scope .yj-breadcrumb a { transition: color .18s ease; }
.yj-show-scope .yj-breadcrumb a:hover { color: var(--ys-accent); }
.yj-show-scope .yj-bc-sep { color: #C9CDD4; }

/* ---------- 档案头：纯白大卡片 ---------- */
.yj-show-scope .yj-profile {
    gap: 32px;
    margin-top: 14px;
    padding: 36px 40px;
    background: var(--ys-card);
    border: 1px solid var(--ys-line);
    border-radius: 20px;
    box-shadow: var(--ys-shadow);
}
.yj-show-scope .yj-profile::after { content: none; }

/* 画像：去金边厚阴影，现代圆角 */
.yj-show-scope .yj-pf-portrait {
    width: 172px; height: 212px;
    border-radius: 16px;
    border: none;
    background: var(--ys-chip);
    box-shadow: 0 6px 20px rgba(31, 35, 41, .10);
}
/* 无图首字块：轻量化 */
.yj-show-scope .yj-pf-seal {
    width: 96px; height: 96px;
    border-radius: 20px;
    background: #EAEDF1;
    border: none;
    color: #6B7480;
    font-family: var(--yj-sans);
    font-size: 44px; font-weight: 800;
    box-shadow: none;
}
/* 朝代朱印隐藏（头部已有朝代胶囊，避免重复） */
.yj-show-scope .yj-pf-stamp { display: none; }

.yj-show-scope .yj-pf-main { display: flex; flex-direction: column; justify-content: center; }
.yj-show-scope .yj-pf-pinyin {
    margin: 0 0 8px;
    font-family: var(--yj-sans);
    font-size: 12px; font-weight: 600;
    color: var(--ys-ink-3);
    letter-spacing: 3px;
}
/* 朝代胶囊标签 */
.yj-show-scope .yj-pf-era {
    align-self: flex-start;
    padding: 4px 13px;
    background: var(--ys-accent-soft);
    color: var(--ys-accent);
    border: none;
    border-radius: 999px;
    font-size: 12.5px; font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.yj-show-scope .yj-pf-name {
    font-family: var(--yj-sans);
    font-size: 38px; font-weight: 800;
    color: var(--ys-ink);
    letter-spacing: 2px; text-indent: 2px;
}
.yj-show-scope .yj-pf-years {
    margin: 8px 0 18px;
    font-size: 14px; color: var(--ys-ink-3); letter-spacing: .5px;
}
.yj-show-scope .yj-pf-years i { color: #C9CDD4; margin-right: 6px; }

/* 信息胶囊 */
.yj-show-scope .yj-pf-chips { gap: 8px; margin-bottom: 18px; }
.yj-show-scope .yj-pf-chip {
    gap: 6px;
    padding: 5px 13px;
    background: var(--ys-chip);
    border-radius: 999px;
    font-size: 12.5px;
    color: var(--ys-ink-2);
}
.yj-show-scope .yj-pf-chip i { color: var(--ys-ink-3); font-size: 11px; }
.yj-show-scope .yj-pf-chip b { color: var(--ys-ink); font-weight: 600; }

/* 简介：浅灰圆角卡片，去竖排"赞曰"与渐变杠 */
.yj-show-scope .yj-pf-praise {
    margin: 0;
    padding: 18px 22px;
    background: #F8F9FA;
    border: none;
    border-radius: 14px;
}
.yj-show-scope .yj-pf-praise::before { content: none; }
.yj-show-scope .yj-pf-praise-tag { display: none; }
.yj-show-scope .yj-pf-praise p { font-size: 14.5px; line-height: 1.95; color: var(--ys-ink-2); }

.yj-show-scope .yj-pf-meta {
    margin-top: 16px;
    gap: 22px;
    font-size: 12.5px;
    color: var(--ys-ink-3);
}
.yj-show-scope .yj-pf-meta i { color: #C9CDD4; margin-right: 5px; }

/* ---------- 主体布局 ---------- */
.yj-show-scope .yj-layout { margin-top: 20px; }

/* 正文卡片 */
.yj-show-scope .yj-article {
    background: var(--ys-card);
    border: 1px solid var(--ys-line);
    border-radius: var(--ys-radius);
    box-shadow: var(--ys-shadow);
    padding: 40px 48px;
}
.yj-show-scope .yj-article::before,
.yj-show-scope .yj-article::after { content: none; }

.yj-show-scope .yj-content { font-family: var(--yj-sans); font-size: 15.5px; line-height: 1.95; color: #353A42; }
.yj-show-scope .yj-content p { margin-bottom: 18px; }
.yj-show-scope .yj-content h2 {
    font-family: var(--yj-sans);
    font-size: 22px; font-weight: 800;
    color: var(--ys-ink);
    letter-spacing: .5px;
    margin: 40px 0 18px;
    padding-left: 0;
    border-left: none;
}
.yj-show-scope .yj-content h2:first-child { margin-top: 0; }
.yj-show-scope .yj-content h3 {
    font-family: var(--yj-sans);
    font-size: 16.5px; font-weight: 700;
    color: var(--ys-ink);
    letter-spacing: .3px;
    margin: 28px 0 12px;
}
.yj-show-scope .yj-content h3::before { content: none; }
.yj-show-scope .yj-content blockquote {
    margin: 18px 0;
    padding: 16px 22px;
    background: #F8F9FA;
    border-left: 3px solid #D8DCE2;
    border-radius: 0 12px 12px 0;
    color: var(--ys-ink-2);
}
.yj-show-scope .yj-content strong { color: var(--ys-ink); font-weight: 700; }
.yj-show-scope .yj-content img { border: none; border-radius: 12px; box-shadow: 0 4px 16px rgba(31,35,41,.08); }
.yj-show-scope .yj-content table { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--ys-line); font-size: 14px; }
.yj-show-scope .yj-content th, .yj-show-scope .yj-content td { border-color: var(--ys-line); padding: 10px 14px; }
.yj-show-scope .yj-content th { background: var(--ys-chip); color: var(--ys-ink); }

/* 卷末"终"印：移除 */
.yj-show-scope .yj-art-end { display: none; }

/* 上下篇 */
.yj-show-scope .yj-prevnext { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--ys-line); }
.yj-show-scope .yj-pn-item {
    padding: 15px 20px;
    background: var(--ys-card);
    border: 1px solid var(--ys-line);
    border-radius: 14px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.yj-show-scope .yj-pn-item:hover {
    border-color: transparent;
    background: var(--ys-card);
    box-shadow: var(--ys-shadow-hover);
    transform: translateY(-2px);
}
.yj-show-scope .yj-pn-label { font-size: 12px; color: var(--ys-ink-3); letter-spacing: 1px; }
.yj-show-scope .yj-pn-title { font-family: var(--yj-sans); font-size: 15px; font-weight: 700; color: var(--ys-ink); }
.yj-show-scope .yj-pn-empty { border-style: dashed; background: #FAFBFC; box-shadow: none; color: var(--ys-ink-3); }

/* 同代推荐 */
.yj-show-scope .yj-related { margin-top: 30px; }
.yj-show-scope .yj-related-title {
    font-family: var(--yj-sans);
    font-size: 18px; font-weight: 800;
    color: var(--ys-ink);
    letter-spacing: .5px; text-indent: 0;
    margin-bottom: 16px;
}
.yj-show-scope .yj-related-title::before { content: none; }
.yj-show-scope .yj-rec-card {
    padding: 14px 16px;
    background: var(--ys-card);
    border: 1px solid var(--ys-line);
    border-radius: 14px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.yj-show-scope .yj-rec-card:hover {
    border-color: transparent;
    background: var(--ys-card);
    box-shadow: var(--ys-shadow-hover);
    transform: translateY(-2px);
}
.yj-show-scope .yj-rec-ava {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--ys-chip);
    border: none;
    color: #6B7480;
    font-family: var(--yj-sans);
    font-size: 19px; font-weight: 700;
}
.yj-show-scope .yj-rec-name { font-family: var(--yj-sans); font-size: 14.5px; font-weight: 700; color: var(--ys-ink); letter-spacing: .5px; }
.yj-show-scope .yj-rec-sub { font-size: 12px; color: var(--ys-ink-3); }

/* ---------- 侧栏 ---------- */
.yj-show-scope .yj-sidecard {
    background: var(--ys-card);
    border: 1px solid var(--ys-line);
    border-radius: var(--ys-radius);
    box-shadow: var(--ys-shadow);
}
.yj-show-scope .yj-sidecard-tit {
    font-family: var(--yj-sans);
    font-size: 14px; font-weight: 800;
    color: var(--ys-ink);
    letter-spacing: 1px;
    padding: 18px 20px 6px;
    border-bottom: none;
    background: none;
}
.yj-show-scope .yj-sidecard-tit::before { content: none; }

/* 档案表 */
.yj-show-scope .yj-archive { padding: 8px 20px 14px; }
.yj-show-scope .yj-archive-row {
    padding: 10px 0;
    border-bottom: 1px solid #F5F6F7;
    font-size: 13px;
}
.yj-show-scope .yj-archive-k { width: 56px; color: var(--ys-ink-3); letter-spacing: 0; }
.yj-show-scope .yj-archive-k i { color: #C9CDD4; }
.yj-show-scope .yj-archive-v { color: var(--ys-ink-2); }
.yj-show-scope .yj-archive-v a:hover { color: var(--ys-accent); }

/* 目录 */
.yj-show-scope .yj-toc { padding: 8px 14px 14px; }
.yj-show-scope .yj-toc a {
    font-size: 13.5px;
    color: var(--ys-ink-2);
    border-left: none;
    border-radius: 8px;
    transition: background .18s ease, color .18s ease;
}
.yj-show-scope .yj-toc a.yj-toc-h3 { padding-left: 24px; font-size: 12.5px; color: var(--ys-ink-3); }
.yj-show-scope .yj-toc a:hover { background: var(--ys-chip); color: var(--ys-ink); }
.yj-show-scope .yj-toc a.is-active {
    background: var(--ys-accent-soft);
    color: var(--ys-accent);
    font-weight: 700;
}
.yj-show-scope .yj-toc-empty { color: var(--ys-ink-3); }

/* 热门榜 */
.yj-show-scope .yj-side-hot { padding: 8px 14px 12px; }
.yj-show-scope .yj-side-hot a { border-bottom: 1px solid #F5F6F7; }
.yj-show-scope .yj-side-rank {
    border-radius: 7px;
    background: var(--ys-chip);
    color: var(--ys-ink-3);
    font-family: var(--yj-sans);
    font-size: 12px; font-weight: 700;
}
.yj-show-scope .yj-side-hot a:nth-child(1) .yj-side-rank,
.yj-show-scope .yj-side-hot a:nth-child(2) .yj-side-rank,
.yj-show-scope .yj-side-hot a:nth-child(3) .yj-side-rank {
    background: var(--ys-accent-soft);
    color: var(--ys-accent);
}
.yj-show-scope .yj-side-hot-name { font-size: 13.5px; color: var(--ys-ink-2); font-weight: 500; }
.yj-show-scope .yj-side-hot a:hover .yj-side-hot-name { color: var(--ys-accent); }
.yj-show-scope .yj-side-hot-era { font-size: 11.5px; color: var(--ys-ink-3); }

/* ============================================================
   详情页 · 暖纸金印（增强层 v2：浅暖纸底 + 暖金点缀，无深色块）
   仅重定义强调色变量 + 档案头 + 侧栏首张档案卡
   浅底各组件（目录/排名/链接 hover）跟随变量自动换金
   ============================================================ */
.yj-show-scope {
    --ys-gold: #A8873F;
    --ys-gold-deep: #8A6A2E;
    --ys-brown-name: #2E2719;
    /* 覆盖明亮层的朱砂强调色 → 浅底可读深金 */
    --ys-accent: #94723C;
    --ys-accent-soft: #F6EEDB;
}
.yj-page:has(.yj-show-scope) {
    background:
        radial-gradient(900px 420px at 80% -220px, rgba(201, 169, 106, .14), transparent 65%),
        #F7F5F0;
}

/* 进度条换金 */
.yj-progress-bar { background: linear-gradient(90deg, #C2A062, #E0C58B); }

/* ---------- 档案头：暖纸渐变卡 ---------- */
.yj-show-scope .yj-profile {
    background:
        radial-gradient(680px 320px at 98% -50%, rgba(201, 169, 106, .20), transparent 62%),
        linear-gradient(135deg, #FDFBF4 0%, #F8F1E2 100%);
    border: 1px solid #E7D9BC;
    box-shadow: 0 10px 30px rgba(148, 114, 60, .10);
}
/* 细金内框 */
.yj-show-scope .yj-profile::after {
    content: "";
    position: absolute; inset: 9px;
    border: 1px solid rgba(168, 135, 63, .28);
    border-radius: 13px;
    pointer-events: none;
}
/* 右侧巨型「医」字水印 */
.yj-show-scope .yj-profile::before {
    content: attr(data-water);
    position: absolute;
    right: 34px; top: 50%;
    transform: translateY(-50%);
    font-family: var(--yj-serif);
    font-size: 220px; font-weight: 800;
    line-height: 1;
    color: rgba(148, 114, 60, .07);
    pointer-events: none;
    z-index: 0;
}

/* 画像：暖纸底 + 细金描边；无图首字浅金底 */
.yj-show-scope .yj-pf-portrait {
    background: linear-gradient(160deg, #F3EAD6, #EADFC4);
    box-shadow: 0 8px 22px rgba(148, 114, 60, .16), 0 0 0 1px rgba(168, 135, 63, .5);
}
.yj-show-scope .yj-pf-seal {
    background: linear-gradient(145deg, #FBF5E7, #F0E4CA);
    color: var(--ys-gold);
}

.yj-show-scope .yj-pf-pinyin { color: var(--ys-gold); letter-spacing: 4px; }
.yj-show-scope .yj-pf-era {
    background: var(--ys-gold);
    color: #FFF9EE;
    font-weight: 700;
    letter-spacing: 2px;
    box-shadow: 0 4px 12px rgba(168, 135, 63, .28);
}
.yj-show-scope .yj-pf-name { color: var(--ys-brown-name); }
.yj-show-scope .yj-pf-years { color: #9A8C72; }
.yj-show-scope .yj-pf-years i { color: #C2A062; }

.yj-show-scope .yj-pf-chip { background: rgba(148, 114, 60, .09); color: #6E6045; }
.yj-show-scope .yj-pf-chip i { color: var(--ys-gold); }
.yj-show-scope .yj-pf-chip b { color: var(--ys-brown-name); }

.yj-show-scope .yj-pf-praise { background: rgba(255, 252, 244, .75); }
.yj-show-scope .yj-pf-praise p { color: #5C5138; }

.yj-show-scope .yj-pf-meta { color: #AB9E83; }
.yj-show-scope .yj-pf-meta i { color: #C2A062; }

/* ---------- 侧栏首张「医家档案」：白卡 + 金色标题点缀 ---------- */
.yj-show-scope .yj-aside .yj-sidecard:first-child {
    background: var(--ys-card);
    border-color: var(--ys-line);
}
.yj-show-scope .yj-aside .yj-sidecard:first-child .yj-sidecard-tit { color: var(--ys-brown-name); position: relative; padding-left: 30px; }
.yj-show-scope .yj-aside .yj-sidecard:first-child .yj-sidecard-tit::before {
    content: "";
    position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
    width: 4px; height: 15px; border-radius: 2px;
    background: linear-gradient(180deg, #C2A062, #E0C58B);
}
.yj-show-scope .yj-aside .yj-sidecard:first-child .yj-archive-k { color: var(--ys-ink-3); }
.yj-show-scope .yj-aside .yj-sidecard:first-child .yj-archive-k i { color: #C2A062; }
.yj-show-scope .yj-aside .yj-sidecard:first-child .yj-archive-v { color: var(--ys-ink-2); }
.yj-show-scope .yj-aside .yj-sidecard:first-child .yj-archive-v a { color: var(--ys-gold-deep); }
.yj-show-scope .yj-aside .yj-sidecard:first-child .yj-archive-v a:hover { color: var(--ys-gold); }

/* ---------- 正文/卡片轻润色 ---------- */
.yj-show-scope .yj-content h2 {
    padding-bottom: 12px;
    border-bottom: 1px solid #EFE6D3;
}
.yj-show-scope .yj-pn-item:hover,
.yj-show-scope .yj-rec-card:hover {
    box-shadow: 0 10px 28px rgba(148, 114, 60, .14);
}

/* ============================================================
   详情页 v3 · 杂志封面式布局（结构重排，类前缀 yz-）
   封面 HERO + 五栏事实压边卡 + 左悬浮目录单栏阅读 + 末尾延展
   配色沿用暖纸金。旧 v1/v2 补丁对新结构不命中，可并存回退
   ============================================================ */

.yj-page:has(.yz-page) {
    background:
        radial-gradient(1000px 480px at 85% -260px, rgba(201, 169, 106, .16), transparent 62%),
        #F7F5F0;
}
.yz-page {
    --yz-gold: #A8873F;
    --yz-gold-2: #C2A062;
    --yz-gold-soft: #F6EEDB;
    --yz-brown: #2E2719;
    --yz-brown-2: #5C5138;
    --yz-gray: #9A8C72;
    --yz-line: #EAE2D0;
    --yz-card: #FFFFFF;
    color: #35303F;
    color: #3A352B;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    padding-bottom: 30px;
}
.yz-page a { color: inherit; }

/* 进度条换金 */
#yjProgress .yj-progress-bar {
    background: linear-gradient(90deg, #C2A062, #E0C58B);
    box-shadow: none;
}
#yjProgress { height: 2px; background: rgba(148, 114, 60, .10); }

/* 面包屑收敛 */
.yz-page > .yj-breadcrumb { padding: 18px 0 2px; font-size: 13px; color: var(--yz-gray); }
.yz-page > .yj-breadcrumb a:hover { color: var(--yz-gold); }
.yz-page > .yj-breadcrumb .yj-bc-sep { color: #D2C9B6; }

/* ---------------- 封面 HERO ---------------- */
.yz-hero {
    position: relative;
    padding: 30px 0 104px;
    overflow: hidden;
}
.yz-hero::before {
    content: attr(data-water);
    position: absolute;
    right: -30px; top: -40px;
    font-family: "SimSun", "Songti SC", serif;
    font-size: 380px; font-weight: 800;
    line-height: 1;
    color: rgba(148, 114, 60, .06);
    pointer-events: none;
    z-index: 0;
}
.yz-hero-rule {
    display: flex; justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--yz-line);
    font-size: 11.5px; letter-spacing: 3px;
    color: #B6AC97;
    position: relative; z-index: 1;
}
.yz-hero-inner {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 56px;
    align-items: center;
    padding-top: 46px;
}
.yz-hero-tags { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.yz-hero-era {
    display: inline-block;
    padding: 5px 16px;
    background: var(--yz-gold);
    color: #FFF9EE !important;
    border-radius: 999px;
    font-size: 13px; font-weight: 700; letter-spacing: 3px;
    box-shadow: 0 6px 16px rgba(168, 135, 63, .30);
    transition: transform .2s ease, box-shadow .2s ease;
}
.yz-hero-era:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(168, 135, 63, .4); }
.yz-hero-pinyin {
    font-size: 13px; font-weight: 600;
    letter-spacing: 5px;
    color: var(--yz-gold-2);
    text-transform: uppercase;
}
.yz-hero-name {
    margin: 0;
    font-family: "SimSun", "Songti SC", "STSong", serif;
    font-size: 72px; font-weight: 800;
    line-height: 1.1;
    letter-spacing: 8px;
    color: var(--yz-brown);
}
.yz-hero-years {
    margin: 18px 0 0;
    font-size: 16px; color: var(--yz-gray);
    letter-spacing: 1px;
}
.yz-hero-years i { color: var(--yz-gold-2); margin-right: 8px; }
.yz-hero-quote {
    position: relative;
    margin: 26px 0 0;
    max-width: 620px;
    font-size: 15.5px; line-height: 2.05;
    color: var(--yz-brown-2);
    padding: 18px 24px;
    background: rgba(255, 252, 244, .8);
    border-radius: 4px 14px 14px 4px;
    border-left: 3px solid var(--yz-gold-2);
}
.yz-hero-meta {
    display: flex; flex-wrap: wrap; gap: 24px;
    margin-top: 24px;
    font-size: 12.5px; color: #B0A78F;
}
.yz-hero-meta i { color: var(--yz-gold-2); margin-right: 6px; }

/* 右：画像画框 + 装饰环 */
.yz-hero-figure {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
}
.yz-hero-ring {
    position: absolute;
    top: 50%; left: 50%;
    width: 380px; height: 380px;
    transform: translate(-50%, -54%);
    border: 1px dashed rgba(168, 135, 63, .35);
    border-radius: 50%;
    pointer-events: none;
}
.yz-hero-portrait {
    position: relative;
    width: 270px; height: 336px;
    border-radius: 140px 140px 12px 12px;
    overflow: hidden;
    background: linear-gradient(160deg, #F3EAD6, #EADFC4);
    box-shadow: 0 24px 48px rgba(120, 90, 40, .22), 0 0 0 1px rgba(168, 135, 63, .55);
    display: flex; align-items: center; justify-content: center;
}
.yz-hero-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yz-hero-seal {
    font-family: "SimSun", "Songti SC", serif;
    font-size: 120px; font-weight: 800;
    color: rgba(148, 114, 60, .55);
    line-height: 1;
}
.yz-hero-figcap {
    margin-top: 18px;
    font-size: 12px; letter-spacing: 4px;
    color: var(--yz-gold);
}

/* ---------------- 五栏事实压边卡 ---------------- */
.yz-facts {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: -58px 0 0;
    background: var(--yz-card);
    border: 1px solid #EFE7D5;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(120, 90, 40, .10);
    overflow: hidden;
}
.yz-fact { margin: 0; padding: 20px 22px; position: relative; }
.yz-fact + .yz-fact::before {
    content: "";
    position: absolute; left: 0; top: 22px; bottom: 22px;
    width: 1px; background: var(--yz-line);
}
.yz-fact dt {
    margin: 0 0 8px;
    font-size: 11.5px; color: var(--yz-gray);
    letter-spacing: 1px;
}
.yz-fact dt i { color: var(--yz-gold-2); margin-right: 6px; }
.yz-fact dd {
    margin: 0;
    font-size: 14px; font-weight: 600;
    color: var(--yz-brown);
    line-height: 1.5;
}
.yz-fact dd a { transition: color .18s ease; }
.yz-fact dd a:hover { color: var(--yz-gold); }
.yz-fact-empty { font-weight: 400; color: #C4BBA8; font-size: 13px; }

/* ---------------- 阅读区 ---------------- */
.yz-read {
    display: grid;
    grid-template-columns: 168px minmax(0, 880px) minmax(0, 1fr);
    gap: 48px;
    justify-content: center;
    margin-top: 56px;
}
/* 左悬浮目录 */
.yz-rail { position: relative; }
.yz-rail-sticky {
    position: sticky;
    top: 162px;
}
.yz-rail-label {
    font-size: 11.5px; letter-spacing: 3px;
    color: #B6AC97;
    margin-bottom: 14px;
    padding-left: 14px;
}
.yz-toc { margin: 0; padding: 0 0 0 7px; position: relative; background: none; border: none; }
/* 虚线竖轨：独立伪元素，贯穿整个目录，从圆圈正中穿过 */
.yz-toc::before {
    content: "";
    position: absolute;
    left: 6.5px; top: 6px; bottom: 6px;
    border-left: 1px dashed var(--yz-line);
}
.yz-toc .yj-toc-empty { display: block; padding: 4px 0 4px 18px; font-size: 12.5px; color: #C4BBA8; }
.yz-toc a {
    display: block;
    position: relative;
    margin: 0;
    padding: 7px 0 7px 18px;
    background: none !important;
    border-radius: 0;
    font-size: 13px; line-height: 1.45;
    color: #A89E88;
    letter-spacing: .5px;
    transition: color .2s ease;
    text-indent: 0;
    white-space: nowrap;
}
/* 节点：实心圆点（步骤轴风格），竖线从圆心穿过 */
.yz-toc a::before {
    content: "";
    position: absolute;
    left: -5.5px; top: 11px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #D8CDB4;
    box-shadow: 0 0 0 2px var(--yj-paper, #FBF7EC);
    transition: background .2s ease, transform .2s ease;
}
.yz-toc a.yj-toc-h3 {
    padding-left: 32px;
    font-size: 12px;
    color: #BDB4A0;
    max-width: 168px;
}
/* 子级节点稍小 */
.yz-toc a.yj-toc-h3::before {
    left: -4px; top: 12px;
    width: 7px; height: 7px;
}
.yz-toc a:hover { color: var(--yz-gold); }
.yz-toc a:hover::before { background: #C9B585; }
.yz-toc a.is-active {
    color: var(--yz-brown);
    font-weight: 700;
}
/* 当前章节：金色实心圆 + 呼吸光圈 */
.yz-toc a.is-active::before {
    background: var(--yz-gold);
    transform: scale(1.2);
    box-shadow: 0 0 0 2px var(--yj-paper, #FBF7EC), 0 0 0 0 rgba(168, 135, 63, .45);
    animation: yzTocBreath 2.2s ease-out infinite;
}

/* 当前章节 · 呼吸灯（金色实心圈 + 扩散光圈） */
@keyframes yzTocBreath {
    0%   { box-shadow: 0 0 0 2px var(--yj-paper, #FBF7EC), 0 0 0 0 rgba(168, 135, 63, .45); }
    70%  { box-shadow: 0 0 0 2px var(--yj-paper, #FBF7EC), 0 0 0 9px rgba(168, 135, 63, 0); }
    100% { box-shadow: 0 0 0 2px var(--yj-paper, #FBF7EC), 0 0 0 0 rgba(168, 135, 63, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .yz-toc a.is-active::before {
        animation: none;
        box-shadow: 0 0 0 2px var(--yj-paper, #FBF7EC), 0 0 0 4px rgba(168, 135, 63, .22);
    }
}

/* 正文（无卡片底色，杂志内页感） */
.yz-article { min-width: 0; }
.yz-content {
    font-size: 16px;
    line-height: 2;
    color: #3F3A2F;
}
.yz-content > :first-child { margin-top: 0; }
.yz-content p { margin: 0 0 20px; }
.yz-content h2 {
    margin: 48px 0 20px;
    font-size: 25px; font-weight: 800;
    color: var(--yz-brown);
    letter-spacing: 1px;
    line-height: 1.4;
    border-left: none !important;
    padding-left: 0 !important;
    counter-increment: yzh2;
}
.yz-content { counter-reset: yzh2; }
.yz-content h2::before {
    content: "CHAPTER " counter(yzh2, decimal-leading-zero);
    display: block;
    margin-bottom: 8px;
    font-size: 11px; font-weight: 600;
    letter-spacing: 4px;
    color: var(--yz-gold-2);
}
.yz-content h2:first-child { margin-top: 8px; }
.yz-content h3 {
    margin: 30px 0 12px;
    font-size: 17.5px; font-weight: 700;
    color: var(--yz-brown);
}
.yz-content h3::before { content: none !important; }
.yz-content blockquote {
    margin: 22px 0;
    padding: 16px 24px;
    background: rgba(255, 252, 244, .9);
    border-left: 3px solid var(--yz-gold-2);
    border-radius: 0 12px 12px 0;
    color: var(--yz-brown-2);
    font-size: 15px;
}
.yz-content strong { color: var(--yz-brown); font-weight: 700; }
.yz-content img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(120, 90, 40, .14);
    border: none;
}
.yz-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0;
    font-size: 14px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--yz-line);
}
.yz-content th, .yz-content td { padding: 11px 15px; border-bottom: 1px solid var(--yz-line); text-align: left; }
.yz-content th { background: #FBF7EE; color: var(--yz-brown); font-weight: 700; }
.yz-content tr:last-child td { border-bottom: none; }
.yz-content ul, .yz-content ol { padding-left: 22px; margin: 0 0 20px; }
.yz-content li { margin-bottom: 8px; }

/* 上下位医家 */
.yz-pn {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 44px;
    padding-top: 30px;
    border-top: 1px solid var(--yz-line);
}
.yz-pn-item {
    display: block;
    padding: 16px 20px;
    background: var(--yz-card);
    border: 1px solid var(--yz-line);
    border-radius: 14px;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.yz-pn-item:hover {
    border-color: rgba(168, 135, 63, .5);
    box-shadow: 0 10px 26px rgba(148, 114, 60, .14);
    transform: translateY(-2px);
}
.yz-pn-item.is-right { text-align: right; }
.yz-pn-item.is-empty {
    color: #C4BBA8;
    font-size: 13.5px;
    background: #FAF8F3;
    border-style: dashed;
    display: flex; align-items: center;
}
.yz-pn-item.is-empty.is-right { justify-content: flex-end; }
.yz-pn-label { display: block; font-size: 12px; color: var(--yz-gray); margin-bottom: 6px; }
.yz-pn-title { display: block; font-size: 15.5px; font-weight: 700; color: var(--yz-brown); }
.yz-pn-item i { color: var(--yz-gold-2); }

/* ---------------- 延展阅读 ---------------- */
.yz-section { margin-top: 64px; }
.yz-sec-head {
    display: flex; align-items: baseline; gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--yz-line);
}
.yz-sec-no {
    font-size: 13px; font-weight: 700;
    letter-spacing: 2px;
    color: var(--yz-gold-2);
}
.yz-sec-head h2 {
    margin: 0;
    font-family: "SimSun", "Songti SC", serif;
    font-size: 26px; font-weight: 800;
    letter-spacing: 3px;
    color: var(--yz-brown);
}
.yz-sec-more {
    margin-left: auto;
    font-size: 13px; color: var(--yz-gray);
    transition: color .18s ease;
}
.yz-sec-more:hover { color: var(--yz-gold); }
.yz-sec-more i { margin-left: 4px; }

.yz-rec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.yz-rec-card {
    display: flex; align-items: center; gap: 13px;
    padding: 18px 20px;
    background: var(--yz-card);
    border: 1px solid var(--yz-line);
    border-radius: 16px;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.yz-rec-card:hover {
    border-color: rgba(168, 135, 63, .45);
    box-shadow: 0 12px 28px rgba(148, 114, 60, .14);
    transform: translateY(-3px);
}
.yz-rec-ava {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, #FBF5E7, #F0E4CA);
    color: var(--yz-gold);
    font-family: "SimSun", "Songti SC", serif;
    font-size: 21px; font-weight: 800;
}
.yz-rec-info { flex: 1; min-width: 0; }
.yz-rec-name {
    display: block;
    font-size: 15.5px; font-weight: 700;
    color: var(--yz-brown);
    margin-bottom: 3px;
}
.yz-rec-sub {
    display: block;
    font-size: 12px; color: var(--yz-gray);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yz-rec-go { color: #D2C7B0; transition: color .2s ease, transform .2s ease; }
.yz-rec-card:hover .yz-rec-go { color: var(--yz-gold); transform: translateX(3px); }

.yz-hot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 16px;
}
.yz-hot-card {
    position: relative;
    display: flex; align-items: center; gap: 12px;
    padding: 15px 18px;
    background: var(--yz-card);
    border: 1px solid var(--yz-line);
    border-radius: 14px;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.yz-hot-card:hover {
    border-color: rgba(168, 135, 63, .45);
    box-shadow: 0 10px 24px rgba(148, 114, 60, .12);
    transform: translateY(-2px);
}
.yz-hot-rank {
    flex-shrink: 0;
    width: 24px; height: 24px;
    border-radius: 8px;
    background: #F4F0E6;
    color: #A99E86;
    font-size: 12.5px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.yz-hot-card:nth-child(1) .yz-hot-rank,
.yz-hot-card:nth-child(2) .yz-hot-rank,
.yz-hot-card:nth-child(3) .yz-hot-rank {
    background: var(--yz-gold);
    color: #FFF9EE;
}
.yz-hot-name {
    font-size: 14.5px; font-weight: 700;
    color: var(--yz-brown);
}
.yz-hot-era {
    font-size: 12px; color: var(--yz-gray);
    margin-left: auto;
}
.yz-hot-go { display: none; }
.yz-hot-card:hover .yz-hot-go { display: inline-block; color: var(--yz-gold); }

/* 窄屏保护：隐藏左目录轨，正文居中 */
@media (max-width: 1260px) {
    .yz-read { grid-template-columns: minmax(0, 880px); justify-content: center; }
    .yz-rail, .yz-rail-y { display: none; }
    .yz-hero-inner { grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; }
    .yz-hero-name { font-size: 58px; }
    .yz-hero-portrait { width: 230px; height: 288px; }
    .yz-hero-ring { width: 320px; height: 320px; }
}

/* ============================================================
   v4 · 模块首页 / 列表页（与杂志详情页同一视觉体系）
   类前缀 yh-：封面 Hero + 压边统计卡 + 编号区块 + 拱门医家卡
   ============================================================ */

.yj-page:has(.yh-page) {
    background:
        radial-gradient(1000px 480px at 85% -260px, rgba(201, 169, 106, .16), transparent 62%),
        #F7F5F0;
}
.yh-page {
    --yh-gold: #A8873F;
    --yh-gold-2: #C2A062;
    --yh-gold-light: #E0C58B;
    --yh-brown: #2E2719;
    --yh-brown-2: #5C5138;
    --yh-gray: #9A8C72;
    --yh-gray-2: #B6AC97;
    --yh-line: #EAE2D0;
    --yh-card: #FFFFFF;
    --yh-serif: "SimSun", "Songti SC", "STSong", serif;
    color: #3A352B;
    padding-bottom: 20px;
}
.yh-page a { color: inherit; }
.yh-breadcrumb { padding: 18px 0 0 !important; color: var(--yh-gray) !important; }
.yh-breadcrumb a:hover { color: var(--yh-gold) !important; }
.yh-breadcrumb .yj-bc-sep { color: #D2C9B6; }

/* ---------------- 封面 HERO（首页） ---------------- */
.yh-hero {
    position: relative;
    padding: 28px 0 100px;
    overflow: hidden;
}
.yh-hero::before {
    content: attr(data-water);
    position: absolute;
    right: 230px; top: -50px;
    font-family: var(--yh-serif);
    font-size: 360px; font-weight: 800;
    line-height: 1;
    color: rgba(148, 114, 60, .05);
    pointer-events: none;
}
.yh-hero-rule {
    display: flex; justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--yh-line);
    font-size: 11.5px; letter-spacing: 3px;
    color: var(--yh-gray-2);
    position: relative; z-index: 1;
}
.yh-hero-inner {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
    align-items: center;
    padding-top: 44px;
}
.yh-hero-badge {
    display: inline-block;
    padding: 5px 16px;
    background: var(--yh-gold);
    color: #FFF9EE;
    border-radius: 999px;
    font-size: 13px; font-weight: 700; letter-spacing: 3px;
    box-shadow: 0 6px 16px rgba(168, 135, 63, .30);
}
.yh-hero-title {
    margin: 20px 0 0;
    font-family: var(--yh-serif);
    font-size: 68px; font-weight: 800;
    line-height: 1.1; letter-spacing: 10px;
    color: var(--yh-brown);
}
.yh-hero-sub {
    margin: 22px 0 0;
    font-size: 15px; line-height: 2.05;
    color: var(--yh-brown-2);
}
.yh-hero-btns { display: flex; align-items: center; gap: 26px; margin-top: 32px; }
.yh-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px;
    background: var(--yh-gold);
    color: #FFF9EE !important;
    border-radius: 999px;
    font-size: 14.5px; font-weight: 700; letter-spacing: 2px;
    box-shadow: 0 8px 20px rgba(168, 135, 63, .30);
    transition: transform .2s ease, box-shadow .2s ease;
}
.yh-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(168, 135, 63, .40); }
.yh-btn-primary i { font-size: 16px; }
.yh-btn-text {
    font-size: 14px; letter-spacing: 2px;
    color: var(--yh-gray);
    border-bottom: 1px solid var(--yh-line);
    padding-bottom: 4px;
    transition: color .2s ease, border-color .2s ease;
}
.yh-btn-text:hover { color: var(--yh-gold); border-bottom-color: var(--yh-gold-2); }

.yh-hero-figure {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
}
.yh-hero-ring {
    position: absolute;
    top: 50%; left: 50%;
    width: 350px; height: 350px;
    transform: translate(-50%, -54%);
    border: 1px dashed rgba(168, 135, 63, .35);
    border-radius: 50%;
}
.yh-hero-arch {
    position: relative;
    width: 230px; height: 286px;
    border-radius: 120px 120px 12px 12px;
    background: linear-gradient(160deg, #F3EAD6, #EADFC4);
    box-shadow: 0 22px 44px rgba(120, 90, 40, .20), 0 0 0 1px rgba(168, 135, 63, .55);
    display: flex; align-items: center; justify-content: center;
}
.yh-hero-archchar {
    font-family: var(--yh-serif);
    font-size: 130px; font-weight: 800;
    color: rgba(148, 114, 60, .5);
    line-height: 1;
}
.yh-hero-figcap {
    margin-top: 18px;
    font-size: 12px; letter-spacing: 5px;
    color: var(--yh-gold);
}

/* ---------------- 统计压边卡 ---------------- */
.yh-stats {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: -54px 0 0;
    background: var(--yh-card);
    border: 1px solid #EFE7D5;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(120, 90, 40, .10);
    overflow: hidden;
}
.yh-stat { margin: 0; padding: 22px 30px; display: flex; flex-direction: column; gap: 8px; }
.yh-stat + .yh-stat { border-left: 1px solid var(--yh-line); }
.yh-stat dt {
    margin: 0;
    font-size: 12px; color: var(--yh-gray);
    letter-spacing: 1.5px;
}
.yh-stat dt i { color: var(--yh-gold-2); margin-right: 7px; }
.yh-stat dd { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.yh-stat-num {
    font-family: var(--yh-serif);
    font-size: 34px; font-weight: 800;
    color: var(--yh-brown);
    line-height: 1;
}
.yh-stat-unit { font-size: 13px; color: var(--yh-gray); }
.yh-stat-txt {
    font-family: var(--yh-serif);
    font-size: 21px; font-weight: 700;
    color: var(--yh-gold);
    letter-spacing: 3px;
}

/* ---------------- 编号区块标题 ---------------- */
.yh-section { margin-top: 58px; }
.yh-sec-head {
    display: flex; align-items: baseline; gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--yh-line);
}
.yh-sec-no {
    font-size: 13px; font-weight: 700;
    letter-spacing: 2px;
    color: var(--yh-gold-2);
}
.yh-sec-title {
    margin: 0;
    font-family: var(--yh-serif);
    font-size: 26px; font-weight: 800;
    letter-spacing: 3px;
    color: var(--yh-brown);
}
.yh-sec-en {
    font-size: 11px; letter-spacing: 3px;
    color: var(--yh-gray-2);
    text-transform: uppercase;
}
.yh-sec-more {
    margin-left: auto;
    font-size: 13px; color: var(--yh-gray);
    transition: color .18s ease;
}
.yh-sec-more:hover { color: var(--yh-gold); }
.yh-sec-more i { margin-left: 3px; }

/* ---------------- 朝代寻踪 ---------------- */
.yh-era-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}
.yh-era-card {
    position: relative;
    display: flex; flex-direction: column;
    gap: 5px;
    padding: 18px 16px 16px;
    background: var(--yh-card);
    border: 1px solid var(--yh-line);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.yh-era-card::before {
    content: "";
    position: absolute; left: 0; top: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--yh-gold-2), var(--yh-gold-light));
    opacity: 0;
    transition: opacity .2s ease;
}
.yh-era-card:hover {
    border-color: rgba(168, 135, 63, .45);
    box-shadow: 0 12px 26px rgba(148, 114, 60, .13);
    transform: translateY(-3px);
}
.yh-era-card:hover::before { opacity: 1; }
.yh-era-name {
    font-family: var(--yh-serif);
    font-size: 18px; font-weight: 800;
    color: var(--yh-brown);
    letter-spacing: 2px;
}
.yh-era-en {
    font-size: 10px; letter-spacing: 1.5px;
    color: var(--yh-gray-2);
    text-transform: uppercase;
    min-height: 13px;
}
.yh-era-count { margin-top: 4px; font-size: 12px; color: var(--yh-gray); }
.yh-era-count b {
    font-family: var(--yh-serif);
    font-size: 17px; font-weight: 800;
    color: var(--yh-gold);
}
.yh-era-go {
    position: absolute; right: 12px; bottom: 12px;
    font-size: 14px; color: #D8CFBC;
    transition: color .2s ease, transform .2s ease;
}
.yh-era-card:hover .yh-era-go { color: var(--yh-gold); transform: translateX(2px); }

/* ---------------- 医家卡（首页/列表共用） ---------------- */
.yh-doc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 18px;
}
.yh-doc {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--yh-card);
    border: 1px solid var(--yh-line);
    border-radius: 18px;
    overflow: hidden;
    transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.yh-doc:hover {
    border-color: rgba(168, 135, 63, .4);
    box-shadow: 0 16px 34px rgba(120, 90, 40, .14);
    transform: translateY(-4px);
}
.yh-doc-arch {
    position: relative;
    height: 186px;
    margin: 14px 14px 0;
    border-radius: 88px 88px 12px 12px;
    overflow: hidden;
    background: linear-gradient(160deg, #F3EAD6, #EADFC4);
    display: flex; align-items: center; justify-content: center;
}
.yh-doc-arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yh-doc-seal {
    font-family: var(--yh-serif);
    font-size: 72px; font-weight: 800;
    color: rgba(148, 114, 60, .5);
    line-height: 1;
}
.yh-doc-era {
    position: absolute; left: 26px; top: 26px;
    z-index: 2;
    padding: 3px 11px;
    background: rgba(168, 135, 63, .94);
    color: #FFF9EE;
    border-radius: 999px;
    font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px;
}
.yh-doc-hits {
    position: absolute; right: 26px; top: 26px;
    z-index: 2;
    padding: 3px 10px;
    background: rgba(255, 252, 244, .88);
    color: #8A7D63;
    border-radius: 999px;
    font-size: 11.5px;
}
.yh-doc-hits i { margin-right: 4px; color: var(--yh-gold-2); }
.yh-doc-body {
    display: flex; flex-direction: column;
    padding: 16px 18px 18px;
    flex: 1;
}
.yh-doc-name {
    font-family: var(--yh-serif);
    font-size: 20px; font-weight: 800;
    color: var(--yh-brown);
    letter-spacing: 2px;
}
.yh-doc-years { margin-top: 5px; font-size: 12.5px; color: var(--yh-gray); }
.yh-doc-facts {
    margin-top: 10px;
    display: flex; flex-direction: column; gap: 5px;
}
.yh-doc-fact {
    font-size: 12.5px; color: var(--yh-brown-2);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yh-doc-fact i {
    width: 15px; text-align: center;
    color: var(--yh-gold-2);
    margin-right: 5px;
    font-size: 11px;
}
.yh-doc-desc {
    margin: 10px 0 0;
    font-size: 12.5px; line-height: 1.8;
    color: #877D69;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.yh-doc-go {
    margin-top: auto;
    padding-top: 13px;
    font-size: 13px; font-weight: 600;
    color: var(--yh-gold);
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s ease, transform .2s ease;
}
.yh-doc:hover .yh-doc-go { opacity: 1; transform: translateY(0); }
.yh-doc-go i { margin-left: 3px; }

/* ---------------- 列表页头 ---------------- */
.yh-listhead {
    position: relative;
    padding: 26px 0 30px;
    overflow: hidden;
}
.yh-listhead::before {
    content: attr(data-water);
    position: absolute;
    right: -10px; top: 50%;
    transform: translateY(-50%);
    font-family: var(--yh-serif);
    font-size: 190px; font-weight: 800;
    color: rgba(148, 114, 60, .06);
    pointer-events: none;
}
.yh-listhead .yh-hero-rule { position: relative; z-index: 1; }
.yh-listhead-title {
    position: relative; z-index: 1;
    margin: 22px 0 0;
    font-family: var(--yh-serif);
    font-size: 52px; font-weight: 800;
    letter-spacing: 8px;
    color: var(--yh-brown);
}
.yh-listhead-desc {
    position: relative; z-index: 1;
    margin: 14px 0 0;
    max-width: 680px;
    font-size: 14px; line-height: 1.9;
    color: var(--yh-brown-2);
}

/* ---------------- 筛选 pill ---------------- */
.yh-filter {
    display: flex; align-items: center; flex-wrap: wrap;
    gap: 10px;
    padding: 16px 18px;
    background: var(--yh-card);
    border: 1px solid var(--yh-line);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(120, 90, 40, .06);
    margin-bottom: 28px;
}
.yh-filter-label {
    font-size: 12.5px; color: var(--yh-gray);
    letter-spacing: 2px;
    margin-right: 4px;
}
.yh-filter-label i { margin-right: 6px; color: var(--yh-gold-2); }
.yh-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 16px;
    background: #F4F0E6;
    color: #6E6350;
    border-radius: 999px;
    font-size: 13px;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.yh-pill b {
    font-weight: 700;
    font-size: 12px;
    opacity: .75;
}
.yh-pill:hover { background: #ECE4D2; color: var(--yh-brown); }
.yh-pill.is-active {
    background: var(--yh-gold);
    color: #FFF9EE;
    box-shadow: 0 5px 13px rgba(168, 135, 63, .28);
}
.yh-pill.is-active b { opacity: .9; }

/* ---------------- 空态 ---------------- */
.yh-empty {
    margin-top: 10px;
    padding: 70px 20px;
    text-align: center;
    background: #FBF9F4;
    border: 1.5px dashed #E0D6C0;
    border-radius: 18px;
}
.yh-empty-seal {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(145deg, #F6EEDB, #ECDFC2);
    color: var(--yh-gold);
    font-size: 26px;
    margin-bottom: 16px;
}
.yh-empty-tit {
    font-family: var(--yh-serif);
    font-size: 19px; font-weight: 800;
    color: var(--yh-brown);
    letter-spacing: 2px;
}
.yh-empty-txt { margin-top: 8px; font-size: 13px; color: var(--yh-gray); }

/* ---------------- 分页 ---------------- */
.yh-pagination {
    display: flex; justify-content: center;
    margin-top: 44px;
}
.yh-pagination ul.pagination {
    display: flex; gap: 8px;
    margin: 0; padding: 0;
    list-style: none;
}
.yh-pagination ul.pagination li { margin: 0; }
.yh-pagination ul.pagination a,
.yh-pagination ul.pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px;
    padding: 0 12px;
    background: var(--yh-card);
    border: 1px solid var(--yh-line);
    border-radius: 11px;
    color: #6E6350;
    font-size: 13.5px;
    transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.yh-pagination ul.pagination a:hover {
    border-color: rgba(168, 135, 63, .5);
    color: var(--yh-gold);
}
.yh-pagination ul.pagination li.active span,
.yh-pagination ul.pagination li.active a {
    background: var(--yh-gold);
    border-color: var(--yh-gold);
    color: #FFF9EE;
    font-weight: 700;
    box-shadow: 0 5px 13px rgba(168, 135, 63, .28);
}
.yh-pagination ul.pagination li.disabled span {
    color: #CCC4B2;
    background: #FAF8F3;
}

/* ============================================================
   v5 列表页 · 史册索引式（左朝代时间轴 + 右名册行表） yl-
   与首页拱门画廊显著区分：高密度、行式、无卡片网格
   ============================================================ */
.yl-page { padding-bottom: 76px; }

/* 紧凑刊头：左标题 / 右计数+描述，双线收边 */
.yl-masthead {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 40px;
    padding: 8px 2px 22px;
    border-bottom: 2px solid #E4D9C0;
    position: relative;
}
.yl-masthead::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -5px;
    height: 1px; background: #E4D9C0;
}
.yl-masthead-kicker {
    display: block;
    font-size: 11px; letter-spacing: 5px; color: var(--yh-gold-2);
    font-weight: 700; margin-bottom: 10px;
}
.yl-masthead-title {
    margin: 0;
    font-family: var(--yh-serif);
    font-size: 40px; font-weight: 800; letter-spacing: 8px;
    color: var(--yh-brown); line-height: 1.1;
}
.yl-masthead-r { text-align: right; max-width: 560px; }
.yl-masthead-count {
    display: inline-block;
    font-size: 12.5px; color: var(--yh-gray); letter-spacing: 2px;
    margin-bottom: 8px;
}
.yl-masthead-count b {
    font-family: var(--yh-serif);
    font-size: 24px; color: var(--yh-gold);
    margin: 0 2px; font-weight: 800;
}
.yl-masthead-desc {
    margin: 0; font-size: 13px; line-height: 1.7; color: var(--yh-gray);
}

/* 两栏 */
.yl-board {
    display: grid;
    grid-template-columns: 196px 1fr;
    gap: 26px;
    margin-top: 30px;
    align-items: start;
}

/* 左：朝代时间轴 */
.yl-rail-sticky { position: sticky; top: 162px; }
.yl-rail-label {
    font-family: var(--yh-serif);
    font-size: 15px; font-weight: 800; letter-spacing: 6px;
    color: var(--yh-brown);
    padding: 0 0 14px 14px;
    border-bottom: 1px solid var(--yh-line);
    margin-bottom: 6px;
}
.yl-timeline { position: relative; padding: 8px 0 4px; }
.yl-timeline::before {
    content: ""; position: absolute; left: 19px; top: 18px; bottom: 18px;
    width: 1px; background: #E0D6BE;
}
.yl-tl-item {
    display: flex; align-items: center;
    padding: 9px 10px 9px 0;
    position: relative;
    border-radius: 0 999px 999px 0;
    transition: background .18s ease;
}
.yl-tl-dot {
    width: 9px; height: 9px; margin: 0 18px 0 15px;
    border-radius: 50%;
    background: #F7F3EA;
    border: 2px solid #CBBE9F;
    position: relative; z-index: 1;
    flex: none;
    transition: all .18s ease;
}
.yl-tl-name { font-size: 14px; letter-spacing: 2px; color: #6B5F45; flex: 1; }
.yl-tl-num { font-size: 11.5px; color: #B6AC97; font-variant-numeric: tabular-nums; }
.yl-tl-item:hover .yl-tl-name { color: var(--yh-gold); }
.yl-tl-item:hover .yl-tl-dot { border-color: var(--yh-gold); }
.yl-tl-item.is-active { background: rgba(201, 169, 106, .12); }
.yl-tl-item.is-active .yl-tl-dot {
    background: var(--yh-gold);
    border-color: var(--yh-gold);
    box-shadow: 0 0 0 4px rgba(201, 169, 106, .18);
}
.yl-tl-item.is-active .yl-tl-name { color: var(--yh-gold); font-weight: 800; }
.yl-tl-item.is-active .yl-tl-num { color: var(--yh-gold-2); font-weight: 700; }

/* 右：名册行表（一张白卡，行内细线，无网格） */
.yl-index {
    background: var(--yh-card);
    border: 1px solid var(--yh-line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(120, 90, 40, .06);
}
.yl-row {
    display: flex; align-items: center;
    gap: 18px;
    padding: 18px 26px;
    border-top: 1px solid #F0EADB;
    position: relative;
    transition: background .18s ease;
}
.yl-row:first-child { border-top: none; }
.yl-row::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; background: transparent;
    transition: background .18s ease;
}
.yl-row:hover { background: #FBF7EE; }
.yl-row:hover::before { background: var(--yh-gold); }
.yl-row:hover .yl-row-go { right: 20px; opacity: 1; color: var(--yh-gold); }
.yl-row:hover .yl-row-name { color: var(--yh-gold); }

.yl-row-ava {
    width: 58px; height: 58px; border-radius: 50%;
    overflow: hidden; flex: none;
    background: linear-gradient(150deg, #EFE6D0, #E4D7B8);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #E6DAC0;
}
.yl-row-ava img { width: 100%; height: 100%; object-fit: cover; }
.yl-row-ava i {
    font-style: normal;
    font-family: var(--yh-serif);
    font-size: 26px; font-weight: 800;
    color: rgba(148, 114, 60, .55);
}
.yl-row-main { flex: 1; min-width: 0; }
.yl-row-head { display: flex; align-items: baseline; gap: 12px; }
.yl-row-name {
    font-family: var(--yh-serif);
    font-size: 20px; font-weight: 800; letter-spacing: 3px;
    color: var(--yh-brown);
    transition: color .18s ease;
}
.yl-row-era {
    padding: 1px 9px;
    border: 1px solid rgba(168, 135, 63, .5);
    color: var(--yh-gold);
    border-radius: 3px;
    font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
    align-self: center;
}
.yl-row-years { font-size: 12.5px; color: #A79A7F; letter-spacing: .5px; }
.yl-row-meta {
    display: flex; flex-wrap: wrap; gap: 4px 18px;
    margin-top: 6px;
    font-size: 12.5px; color: #8A7D63;
}
.yl-row-meta i { color: var(--yh-gold-2); margin-right: 5px; font-size: 11px; }
.yl-row-desc {
    display: block; margin-top: 5px;
    font-size: 12.5px; line-height: 1.6; color: #A79A7F;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yl-row-side {
    flex: none; width: 56px;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.yl-row-hits { font-size: 11.5px; color: #B6AC97; }
.yl-row-hits i { margin-right: 4px; }
.yl-row-go {
    font-size: 18px; color: #C9BFA8;
    position: relative; right: 0;
    transition: all .2s ease;
}

/* 空态 */
.yl-empty { padding: 72px 20px; text-align: center; }
.yl-empty-seal {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 50%;
    background: #F3ECDB; color: var(--yh-gold-2);
    font-size: 24px; margin-bottom: 18px;
}
.yl-empty-tit {
    font-family: var(--yh-serif);
    font-size: 19px; font-weight: 800; letter-spacing: 3px; color: var(--yh-brown);
}
.yl-empty-txt { margin-top: 8px; font-size: 13px; color: #B6AC97; letter-spacing: 1px; }

/* 分页贴底 */
.yl-pagination {
    display: flex; justify-content: center;
    padding: 22px 26px 24px; border-top: 1px solid #F0EADB;
}
.yl-pagination ul.pagination { margin: 0; }

/* ============================================================
   v6 长卷年表式
   首页 ya-：卷首 + 横贯八朝史轴 + 卷末热门榜
   列表 yn-：竖轴纪年（居中双挂 / 左轴单列）
   ============================================================ */

/* ============ 首页 · 卷首 ============ */
.ya-page { padding-bottom: 80px; }
.ya-mast {
    display: flex; align-items: center; justify-content: space-between;
    gap: 50px;
    padding: 18px 2px 34px;
    border-bottom: 1px solid var(--yh-line);
    position: relative;
}
.ya-mast::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 4px;
    height: 1px; background: var(--yh-line);
}
.ya-mast-kicker {
    display: block; font-size: 11px; letter-spacing: 4.5px;
    color: var(--yh-gold-2); font-weight: 700; margin-bottom: 12px;
}
.ya-mast-title {
    margin: 0;
    font-family: var(--yh-serif);
    font-size: 48px; font-weight: 800; letter-spacing: 6px;
    color: var(--yh-brown); line-height: 1.1;
}
.ya-mast-title span {
    color: var(--yh-gold);
    margin-left: 8px;
}
.ya-mast-sub {
    margin: 14px 0 0; max-width: 620px;
    font-size: 13.5px; line-height: 1.95; color: var(--yh-brown-2);
}
.ya-mast-btn {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 20px;
    padding: 10px 24px;
    background: var(--yh-gold);
    color: #FFF9EE;
    border-radius: 999px;
    font-size: 13.5px; letter-spacing: 2px;
    box-shadow: 0 8px 20px rgba(168, 135, 63, .28);
    transition: transform .18s ease, box-shadow .18s ease;
}
.ya-mast-btn:hover {
    color: #FFF9EE;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(168, 135, 63, .36);
}
.ya-mast-stats {
    flex: none; display: flex; align-items: center;
    margin: 0; gap: 26px;
    padding: 18px 30px;
    background: #FFF;
    border: 1px solid var(--yh-line);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(120, 90, 40, .06);
}
.ya-stat { text-align: center; }
.ya-stat dt {
    font-size: 12px; color: var(--yh-gray); letter-spacing: 3px;
    margin-bottom: 6px;
}
.ya-stat dd { margin: 0; white-space: nowrap; }
.ya-stat dd b {
    font-family: var(--yh-serif);
    font-size: 34px; font-weight: 800; color: var(--yh-gold);
}
.ya-stat dd em { font-style: normal; font-size: 12px; color: #A79A7F; margin-left: 5px; }
.ya-stat-mini { font-size: 13px !important; line-height: 1.7; color: #8A7D63 !important; }
.ya-stat-sep { width: 1px; height: 40px; background: var(--yh-line); }

/* ============ 首页 · 横贯长卷 ============ */
.ya-scroll {
    margin-top: 34px;
    background: #FFF;
    border: 1px solid var(--yh-line);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(120, 90, 40, .07);
    padding: 26px 30px 34px;
}
.ya-scroll-head {
    display: flex; align-items: baseline; gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px dashed #E4D9C0;
}
.ya-scroll-no {
    font-family: var(--yh-serif);
    font-size: 12px; font-weight: 800; letter-spacing: 3px;
    color: #FFF9EE;
    background: var(--yh-gold);
    padding: 3px 10px;
    border-radius: 4px;
}
.ya-scroll-title {
    margin: 0;
    font-family: var(--yh-serif);
    font-size: 23px; font-weight: 800; letter-spacing: 4px;
    color: var(--yh-brown);
}
.ya-scroll-en { font-size: 11px; letter-spacing: 2.5px; color: #B6AC97; }
.ya-scroll-all {
    margin-left: auto;
    font-size: 12.5px; color: var(--yh-gold-2);
}
.ya-scroll-all i { margin-left: 3px; }
.ya-scroll-all:hover { color: var(--yh-gold); }

.ya-roll { position: relative; margin-top: 8px; }
.ya-roll-line {
    position: absolute;
    left: 6.25%; right: 6.25%; top: 104px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D8C291 8%, #C9A96A 50%, #D8C291 92%, transparent);
}
.ya-nodes {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
}
.ya-node { text-align: center; }
.ya-node-cap {
    display: flex; flex-direction: column; align-items: center;
    height: 96px; justify-content: flex-end;
    padding-bottom: 10px;
}
.ya-node-name {
    font-family: var(--yh-serif);
    font-size: 19px; font-weight: 800; letter-spacing: 2px;
    color: var(--yh-brown); line-height: 1.25;
    transition: color .18s ease;
}
.ya-node-pinyin {
    font-size: 8.5px; letter-spacing: 1.2px; color: #C2B59A;
    margin-top: 3px;
}
.ya-node-count {
    display: inline-block;
    margin-top: 6px;
    font-size: 11px; color: #A79A7F;
    padding: 1px 9px;
    border: 1px solid #E7DCC5;
    border-radius: 999px;
    background: #FBF8F1;
}
.ya-node-dot {
    position: relative; z-index: 1;
    display: block;
    width: 14px; height: 14px;
    margin: 0 auto;
    border-radius: 50%;
    background: #FFF;
    border: 3px solid #CBBE9F;
}
.ya-node.is-filled .ya-node-dot {
    background: var(--yh-gold);
    border-color: var(--yh-gold);
    box-shadow: 0 0 0 4px rgba(201, 169, 106, .18);
}
.ya-node.is-filled .ya-node-cap:hover .ya-node-name { color: var(--yh-gold); }
.ya-node-hang {
    display: flex; flex-direction: column; align-items: center;
    gap: 10px;
    padding: 16px 6px 0;
    min-height: 150px;
}
.ya-hang {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.ya-hang-ava {
    width: 50px; height: 50px; border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(150deg, #EFE6D0, #E2D3B1);
    border: 2px solid #FFF;
    box-shadow: 0 3px 10px rgba(120, 90, 40, .18);
    display: flex; align-items: center; justify-content: center;
    transition: transform .18s ease, box-shadow .18s ease;
}
.ya-hang-ava img { width: 100%; height: 100%; object-fit: cover; }
.ya-hang-ava i {
    font-style: normal;
    font-family: var(--yh-serif);
    font-size: 22px; font-weight: 800;
    color: rgba(148, 114, 60, .6);
}
.ya-hang-name {
    font-family: var(--yh-serif);
    font-size: 12.5px; font-weight: 700; letter-spacing: 1px;
    color: #6B5F45;
    transition: color .18s ease;
}
.ya-hang:hover .ya-hang-ava {
    transform: translateY(-3px);
    box-shadow: 0 7px 16px rgba(168, 135, 63, .32);
    border-color: var(--yh-gold-2);
}
.ya-hang:hover .ya-hang-name { color: var(--yh-gold); }
.ya-node-todo {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1.5px dashed #D6CAB0;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; letter-spacing: 1px; color: #C8BCA2;
}
.ya-node-more { font-size: 11px; color: var(--yh-gold-2); }
.ya-node-more:hover { color: var(--yh-gold); }

/* ============ 首页 · 卷末热门 + 跋 ============ */
.ya-hot-wrap {
    display: grid;
    grid-template-columns: 1fr 290px;
    gap: 20px;
    margin-top: 26px;
}
.ya-hot {
    background: #FFF;
    border: 1px solid var(--yh-line);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(120, 90, 40, .07);
    padding: 24px 28px 12px;
}
.ya-hot-head {
    display: flex; align-items: baseline; gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #E4D9C0;
}
.ya-hot-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
}
.ya-hot-row {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 4px;
    border-bottom: 1px solid #F3EDDE;
}
.ya-hot-rank {
    font-family: var(--yh-serif);
    font-size: 21px; font-weight: 800;
    color: #D8C8A2;
    width: 30px; flex: none;
    font-variant-numeric: tabular-nums;
}
.ya-hot-row:nth-child(-n+3) .ya-hot-rank { color: var(--yh-gold); }
.ya-hot-ava {
    width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
    flex: none;
    background: linear-gradient(150deg, #EFE6D0, #E2D3B1);
    display: flex; align-items: center; justify-content: center;
}
.ya-hot-ava img { width: 100%; height: 100%; object-fit: cover; }
.ya-hot-ava i {
    font-style: normal; font-family: var(--yh-serif);
    font-size: 18px; font-weight: 800; color: rgba(148, 114, 60, .6);
}
.ya-hot-main { flex: 1; min-width: 0; }
.ya-hot-name {
    display: block;
    font-family: var(--yh-serif);
    font-size: 16px; font-weight: 800; letter-spacing: 1.5px;
    color: var(--yh-brown);
    transition: color .18s ease;
}
.ya-hot-name em {
    font-style: normal;
    font-family: inherit;
    font-size: 10.5px; font-weight: 700; letter-spacing: 1px;
    color: var(--yh-gold);
    border: 1px solid rgba(168, 135, 63, .45);
    border-radius: 3px;
    padding: 0 5px;
    margin-left: 7px;
    vertical-align: 2px;
}
.ya-hot-meta {
    display: block; margin-top: 3px;
    font-size: 12px; color: #A79A7F;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ya-hot-hits { font-size: 11.5px; color: #B6AC97; flex: none; }
.ya-hot-hits i { margin-right: 4px; }
.ya-hot-go { color: #D2C8B2; font-size: 15px; flex: none; transition: all .18s ease; }
.ya-hot-row:hover .ya-hot-name { color: var(--yh-gold); }
.ya-hot-row:hover .ya-hot-go { color: var(--yh-gold); transform: translateX(3px); }

.ya-aside { display: flex; }
.ya-colophon {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(160deg, #F3E9D2, #EADFC4);
    border: 1px solid #E2D3AE;
    border-radius: 18px;
    padding: 30px 24px;
    display: flex; flex-direction: column; justify-content: center;
}
.ya-colophon-seal {
    font-family: var(--yh-serif);
    font-size: 110px; font-weight: 800;
    color: rgba(168, 135, 63, .13);
    position: absolute; right: -10px; top: -18px;
    line-height: 1;
}
.ya-colophon-txt {
    position: relative;
    margin: 0 0 22px;
    font-family: var(--yh-serif);
    font-size: 15px; line-height: 2.1; letter-spacing: 2px;
    color: #6E5B34;
}
.ya-colophon-btn {
    position: relative; align-self: flex-start;
    padding: 9px 20px;
    border: 1px solid var(--yh-gold);
    color: var(--yh-gold);
    border-radius: 999px;
    font-size: 13px; letter-spacing: 2px;
    background: rgba(255, 252, 244, .55);
    transition: all .18s ease;
}
.ya-colophon-btn:hover { background: var(--yh-gold); color: #FFF9EE; }

/* ============ 列表 · 纪年刊头 + tabs ============ */
.yn-page { padding-bottom: 80px; }
.yn-mast {
    display: flex; align-items: stretch; justify-content: space-between;
    gap: 30px;
    padding: 20px 2px 24px;
}
.yn-mast-bar {
    width: 5px; border-radius: 3px; flex: none;
    background: linear-gradient(180deg, var(--yh-gold), var(--yh-gold-2));
}
.yn-mast-l { flex: 1; padding-left: 18px; }
.yn-mast-kicker {
    display: block; font-size: 11px; letter-spacing: 4.5px;
    color: var(--yh-gold-2); font-weight: 700; margin-bottom: 9px;
}
.yn-mast-title {
    margin: 0;
    font-family: var(--yh-serif);
    font-size: 36px; font-weight: 800; letter-spacing: 6px;
    color: var(--yh-brown); line-height: 1.15;
}
.yn-mast-desc { margin: 10px 0 0; font-size: 13px; color: var(--yh-gray); }
.yn-mast-r {
    flex: none; text-align: right;
    display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.yn-mast-n { font-size: 12.5px; color: var(--yh-gray); letter-spacing: 2px; }
.yn-mast-n b {
    font-family: var(--yh-serif);
    font-size: 32px; color: var(--yh-gold);
    margin: 0 3px; font-weight: 800;
}
.yn-mast-home { font-size: 12.5px; color: var(--yh-gold-2); }
.yn-mast-home:hover { color: var(--yh-gold); }

.yn-tabs {
    display: flex; flex-wrap: wrap; gap: 10px;
    padding: 4px 2px 20px;
    border-bottom: 1px solid var(--yh-line);
}
.yn-tab {
    padding: 7px 17px;
    background: #FFF;
    border: 1px solid #E4D9C0;
    border-radius: 8px;
    font-size: 13px; color: #6E6350;
    transition: all .16s ease;
}
.yn-tab b { font-weight: 700; font-size: 11.5px; color: #B6AC97; margin-left: 3px; }
.yn-tab:hover { border-color: var(--yh-gold-2); color: var(--yh-gold); }
.yn-tab.is-active {
    background: var(--yh-gold);
    border-color: var(--yh-gold);
    color: #FFF9EE;
    box-shadow: 0 6px 15px rgba(168, 135, 63, .26);
}
.yn-tab.is-active b { color: rgba(255, 249, 238, .85); }

/* ============ 列表 · 竖轴纪年 ============ */
.yn-chronicle {
    position: relative;
    margin-top: 30px;
    padding-bottom: 6px;
}
.yn-chronicle::before {
    content: "";
    position: absolute; top: 8px; bottom: 8px;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #E4D6B4, #C9A96A 12%, #C9A96A 88%, #E4D6B4);
}
.yn-item {
    position: relative;
    display: block;
    width: 50%;
    padding: 0 42px 24px 0;
}
.yn-item:nth-child(even) {
    left: 50%;
    padding: 0 0 24px 42px;
}
.yn-item-dot {
    position: absolute;
    top: 30px;
    right: -7px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--yh-gold);
    border: 3px solid #F7F5F0;
    box-shadow: 0 0 0 2px var(--yh-gold-2);
    z-index: 1;
}
.yn-item:nth-child(even) .yn-item-dot { right: auto; left: -7px; }
.yn-item-card {
    display: flex; align-items: center; gap: 16px;
    background: #FFF;
    border: 1px solid var(--yh-line);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 6px 18px rgba(120, 90, 40, .05);
    transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.yn-item:hover .yn-item-card {
    border-color: rgba(168, 135, 63, .45);
    box-shadow: 0 14px 30px rgba(120, 90, 40, .13);
    transform: translateY(-2px);
}
.yn-item-ava {
    width: 60px; height: 60px; border-radius: 50%; overflow: hidden;
    flex: none;
    background: linear-gradient(150deg, #EFE6D0, #E2D3B1);
    border: 1px solid #E6DAC0;
    display: flex; align-items: center; justify-content: center;
}
.yn-item-ava img { width: 100%; height: 100%; object-fit: cover; }
.yn-item-ava i {
    font-style: normal; font-family: var(--yh-serif);
    font-size: 27px; font-weight: 800; color: rgba(148, 114, 60, .55);
}
.yn-item-main { flex: 1; min-width: 0; }
.yn-item-head { display: flex; align-items: center; gap: 10px; }
.yn-item-name {
    font-family: var(--yh-serif);
    font-size: 20px; font-weight: 800; letter-spacing: 2.5px;
    color: var(--yh-brown);
    transition: color .18s ease;
}
.yn-item:hover .yn-item-name { color: var(--yh-gold); }
.yn-item-era {
    padding: 1px 8px;
    border: 1px solid rgba(168, 135, 63, .5);
    color: var(--yh-gold);
    border-radius: 3px;
    font-size: 10.5px; font-weight: 700; letter-spacing: 1.5px;
}
.yn-item-years {
    display: block; margin-top: 5px;
    font-size: 12px; color: #A79A7F;
}
.yn-item-years i { margin-right: 5px; color: var(--yh-gold-2); }
.yn-item-facts {
    display: flex; flex-wrap: wrap; gap: 3px 15px;
    margin-top: 6px;
    font-size: 12.5px; color: #8A7D63;
}
.yn-item-facts i { color: var(--yh-gold-2); margin-right: 4px; font-size: 11px; }
.yn-item-desc {
    display: block; margin-top: 6px;
    font-size: 12.5px; line-height: 1.6; color: #A79A7F;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.yn-item-side {
    flex: none;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    padding-left: 10px;
    border-left: 1px solid #F0EADB;
}
.yn-item-hits { font-size: 11.5px; color: #B6AC97; }
.yn-item-hits i { margin-right: 4px; }
.yn-item-go {
    font-size: 12px; letter-spacing: 2px;
    color: var(--yh-gold-2);
    white-space: nowrap;
}
.yn-item-go i { margin-left: 3px; transition: margin-left .18s ease; }
.yn-item:hover .yn-item-go { color: var(--yh-gold); }
.yn-item:hover .yn-item-go i { margin-left: 7px; }

/* 单朝筛选：左轴单列 */
.yn-chronicle.is-single::before { left: 13px; transform: none; }
.yn-chronicle.is-single .yn-item,
.yn-chronicle.is-single .yn-item:nth-child(even) {
    width: 100%;
    left: 0;
    padding: 0 0 20px 48px;
}
.yn-chronicle.is-single .yn-item-dot,
.yn-chronicle.is-single .yn-item:nth-child(even) .yn-item-dot {
    right: auto; left: 6px;
}

/* 空态 / 分页 */
.yn-empty {
    position: relative;
    margin: 10px 0 0 48px;
    padding: 64px 20px;
    text-align: center;
    background: #FBF8F1;
    border: 1.5px dashed #E0D6C0;
    border-radius: 16px;
}
.yn-empty-seal {
    display: inline-flex; align-items: center; justify-content: center;
    width: 60px; height: 60px; border-radius: 50%;
    background: #F3ECDB; color: var(--yh-gold-2);
    font-size: 23px; margin-bottom: 14px;
}
.yn-empty-tit {
    font-family: var(--yh-serif);
    font-size: 18px; font-weight: 800; letter-spacing: 3px; color: var(--yh-brown);
}
.yn-empty-txt { margin-top: 7px; font-size: 13px; color: var(--yh-gray); }
.yn-pagination { margin-top: 34px; }

/* ============================================================
   v7 首页加厚 · yk-
   卷首水印/四项统计/名家聚焦/名言带/学术流谱/双榜/跋
   ============================================================ */
.yk-page { padding-bottom: 70px; }

/* ---- 卷首：水印 + 双按钮 + 四项统计 ---- */
.yk-mast { position: relative; overflow: hidden; }
.yk-mast-water {
    position: absolute;
    right: 340px; top: -58px;
    font-family: var(--yh-serif);
    font-size: 230px; font-weight: 800;
    color: rgba(168, 135, 63, .06);
    line-height: 1;
    pointer-events: none; user-select: none;
    z-index: 0;
}
.ya-mast-l, .ya-mast-stats { position: relative; z-index: 1; }
.yk-mast-btns { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.yk-mast-btn2 {
    font-size: 13.5px; letter-spacing: 2px;
    color: var(--yh-gold);
    padding: 10px 4px;
    border-bottom: 1px solid transparent;
    transition: border-color .18s ease;
}
.yk-mast-btn2 i { margin-right: 5px; }
.yk-mast-btn2:hover { border-bottom-color: var(--yh-gold); }

.yk-stats { gap: 18px; padding: 16px 22px; }
.yk-stats .ya-stat dt { font-size: 11.5px; letter-spacing: 2px; margin-bottom: 5px; }
.yk-stats .ya-stat dd b { font-size: 29px; }
.yk-stats .ya-stat dd em { display: block; margin-left: 0; margin-top: 2px; font-size: 11px; }
.yk-stats .ya-stat-sep { height: 38px; }

/* ---- 名家聚焦 ---- */
.yk-spot {
    display: grid;
    grid-template-columns: 264px 1fr;
    gap: 40px;
    margin-top: 30px;
    background:
        radial-gradient(520px 260px at 12% -20%, rgba(201, 169, 106, .14), transparent 70%),
        #FFF;
    border: 1px solid var(--yh-line);
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(120, 90, 40, .08);
    padding: 38px 42px;
    overflow: hidden;
}
.yk-spot-fig {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    padding-top: 6px;
}
.yk-spot-ring {
    position: absolute;
    top: -6px;
    width: 218px; height: 258px;
    border: 1.5px dashed rgba(168, 135, 63, .45);
    border-radius: 116px 116px 12px 12px;
}
.yk-spot-arch {
    position: relative;
    width: 196px; height: 236px;
    border-radius: 100px 100px 10px 10px;
    overflow: hidden;
    background: linear-gradient(160deg, #F1E8D3, #E3D4B2);
    border: 1px solid #E4D6B8;
    box-shadow: 0 14px 30px rgba(120, 90, 40, .18);
    display: flex; align-items: center; justify-content: center;
}
.yk-spot-arch img { width: 100%; height: 100%; object-fit: cover; }
.yk-spot-seal {
    font-family: var(--yh-serif);
    font-size: 96px; font-weight: 800;
    color: rgba(148, 114, 60, .5);
}
.yk-spot-mark {
    margin-top: 14px;
    font-size: 10.5px; letter-spacing: 5px; font-weight: 700;
    color: var(--yh-gold-2);
}
.yk-spot-body { min-width: 0; }
.yk-spot-top { display: flex; align-items: center; gap: 12px; }
.yk-spot-no {
    font-size: 11.5px; font-weight: 800; letter-spacing: 3px;
    color: #FFF9EE;
    background: var(--yh-gold);
    padding: 3px 12px;
    border-radius: 4px;
}
.yk-spot-era {
    padding: 2px 11px;
    border: 1px solid rgba(168, 135, 63, .5);
    color: var(--yh-gold);
    border-radius: 3px;
    font-size: 11.5px; font-weight: 700; letter-spacing: 2px;
}
.yk-spot-hits { margin-left: auto; font-size: 12px; color: #B6AC97; }
.yk-spot-hits i { margin-right: 5px; }
.yk-spot-name {
    margin: 14px 0 0;
    font-family: var(--yh-serif);
    font-size: 42px; font-weight: 800; letter-spacing: 8px;
    color: var(--yh-brown); line-height: 1.1;
}
.yk-spot-years { margin-top: 8px; font-size: 13px; color: #A79A7F; letter-spacing: 1px; }
.yk-spot-years i { margin-right: 6px; color: var(--yh-gold-2); }
.yk-spot-quote {
    margin: 18px 0 0; padding: 14px 18px;
    position: relative;
    background: #FBF7EE;
    border-left: 3px solid var(--yh-gold);
    border-radius: 0 10px 10px 0;
    font-family: var(--yh-serif);
    font-size: 15px; line-height: 1.95; letter-spacing: 1px;
    color: #5C5138;
}
.yk-spot-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 20px 0 0;
}
.yk-spot-facts > div {
    background: #FBF9F4;
    border: 1px solid #F0E9D8;
    border-radius: 10px;
    padding: 11px 14px;
    min-width: 0;
}
.yk-spot-facts dt {
    font-size: 11px; letter-spacing: 3px; color: var(--yh-gold-2);
    margin-bottom: 5px;
}
.yk-spot-facts dd {
    margin: 0;
    font-size: 13px; line-height: 1.55; color: var(--yh-brown-2);
    word-break: break-all;
}
.yk-spot-btn {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 22px;
    padding: 10px 26px;
    border: 1px solid var(--yh-gold);
    color: var(--yh-gold);
    border-radius: 999px;
    font-size: 13.5px; letter-spacing: 2px;
    transition: all .18s ease;
}
.yk-spot-btn i { transition: margin-left .18s ease; }
.yk-spot-btn:hover { background: var(--yh-gold); color: #FFF9EE; }
.yk-spot-btn:hover i { margin-left: 3px; }

/* ---- 名言带 ---- */
.yk-quote {
    position: relative;
    margin-top: 26px;
    padding: 44px 40px 38px;
    text-align: center;
    background: linear-gradient(120deg, #F3E9D0, #EBDFC2 55%, #F3E9D0);
    border: 1px solid #E4D4AE;
    border-radius: 18px;
    overflow: hidden;
}
.yk-quote::before, .yk-quote::after {
    content: "";
    position: absolute;
    width: 46px; height: 46px;
    border: 2px solid rgba(168, 135, 63, .35);
}
.yk-quote::before { left: 18px; top: 18px; border-right: none; border-bottom: none; }
.yk-quote::after { right: 18px; bottom: 18px; border-left: none; border-top: none; }
.yk-quote-mark {
    font-family: var(--yh-serif);
    font-size: 56px; line-height: 0.6;
    color: rgba(168, 135, 63, .4);
}
.yk-quote-txt {
    margin: 16px 0 0;
    font-family: var(--yh-serif);
    font-size: 29px; font-weight: 800; letter-spacing: 7px;
    color: #5A4726;
}
.yk-quote-src {
    margin: 14px 0 0;
    font-size: 13px; letter-spacing: 3px; color: #8A7447;
}

/* ---- 学术流谱 ---- */
.yk-schools {
    margin-top: 26px;
    background: #FFF;
    border: 1px solid var(--yh-line);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(120, 90, 40, .07);
    padding: 24px 30px 30px;
}
.yk-schools-head { padding-bottom: 18px; }
.yk-chips {
    display: flex; flex-wrap: wrap; gap: 12px;
    padding-top: 20px;
}
.yk-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 18px;
    background: linear-gradient(150deg, #FCF8EE, #F5ECD8);
    border: 1px solid #E6D8B8;
    border-radius: 999px;
    font-size: 14px;
    color: #6B5731;
    transition: transform .18s ease, box-shadow .18s ease;
}
.yk-chip i { color: var(--yh-gold-2); font-size: 12px; }
.yk-chip-name { font-family: var(--yh-serif); font-weight: 700; letter-spacing: 2px; }
.yk-chip-n {
    min-width: 20px; height: 20px; line-height: 20px;
    padding: 0 6px;
    text-align: center;
    background: var(--yh-gold);
    color: #FFF9EE;
    border-radius: 999px;
    font-size: 11px; font-weight: 700;
}
.yk-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(168, 135, 63, .22);
}
/* 中档：5-9 人，描边加深、字号略大 */
.yk-chip.is-md {
    padding: 10px 20px;
    font-size: 15px;
    border-color: #D8BE85;
    background: linear-gradient(150deg, #F8F0DC, #F0E3C4);
}
/* 大档：≥10 人，金底白字 */
.yk-chip.is-lg {
    padding: 11px 22px;
    font-size: 16.5px;
    background: linear-gradient(150deg, var(--yh-gold-2), var(--yh-gold));
    border-color: var(--yh-gold);
    color: #FFF9EE;
    box-shadow: 0 6px 16px rgba(168, 135, 63, .3);
}
.yk-chip.is-lg i { color: rgba(255, 249, 238, .85); }
.yk-chip.is-lg .yk-chip-n {
    background: #FFF9EE;
    color: var(--yh-gold);
}
.yk-chip.is-lg:hover { box-shadow: 0 10px 22px rgba(168, 135, 63, .42); }

/* ---- 双榜 ---- */
.yk-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 26px;
}
.yk-panel {
    margin: 0;
    padding: 22px 26px 14px;
}
.yk-panel .ya-hot-head { padding-bottom: 14px; }
.yk-panel-tag {
    font-family: var(--yh-serif);
    font-size: 17px; font-weight: 800; letter-spacing: 3px;
    color: var(--yh-brown);
}
.yk-panel-tag i { color: #C2613E; margin-right: 7px; font-size: 15px; }
.yk-panel-tag2 i { color: var(--yh-gold-2); }
.yk-panel-en { margin-left: auto; font-size: 10.5px; letter-spacing: 2.5px; color: #C2B59A; }
.yk-rows { padding: 4px 0 8px; }
.yk-row {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 2px;
    border-bottom: 1px solid #F3EDDE;
}
.yk-row:last-child { border-bottom: none; }
.yk-row-rank {
    font-family: var(--yh-serif);
    font-size: 20px; font-weight: 800;
    color: #D8C8A2;
    width: 28px; flex: none;
    font-variant-numeric: tabular-nums;
}
.yk-row:nth-child(-n+3) .yk-row-rank { color: var(--yh-gold); }
.yk-row-rank2 { color: #C9B896; }
.yk-row-ava {
    width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none;
    background: linear-gradient(150deg, #EFE6D0, #E2D3B1);
    display: flex; align-items: center; justify-content: center;
}
.yk-row-ava img { width: 100%; height: 100%; object-fit: cover; }
.yk-row-ava i {
    font-style: normal; font-family: var(--yh-serif);
    font-size: 18px; font-weight: 800; color: rgba(148, 114, 60, .6);
}
.yk-row-main { flex: 1; min-width: 0; }
.yk-row-name {
    display: block;
    font-family: var(--yh-serif);
    font-size: 15.5px; font-weight: 800; letter-spacing: 1.5px;
    color: var(--yh-brown);
    transition: color .18s ease;
}
.yk-row-name em {
    font-style: normal; font-family: inherit;
    font-size: 10.5px; font-weight: 700; letter-spacing: 1px;
    color: var(--yh-gold);
    border: 1px solid rgba(168, 135, 63, .45);
    border-radius: 3px;
    padding: 0 5px;
    margin-left: 7px;
    vertical-align: 2px;
}
.yk-row-meta {
    display: block; margin-top: 3px;
    font-size: 12px; color: #A79A7F;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yk-row-hits { font-size: 11.5px; color: #B6AC97; flex: none; }
.yk-row-hits i { margin-right: 4px; }
.yk-row-go { flex: none; color: #D2C8B2; font-size: 15px; transition: all .18s ease; }
.yk-row:hover .yk-row-name { color: var(--yh-gold); }
.yk-row:hover .yk-row-go { color: var(--yh-gold); transform: translateX(3px); }

/* ---- 跋 ---- */
.yk-colo {
    position: relative;
    display: flex; align-items: center; gap: 20px;
    margin-top: 26px;
    padding: 24px 32px;
    background: linear-gradient(120deg, #F4EBD6, #EDE0C4);
    border: 1px solid #E4D4AE;
    border-radius: 16px;
    overflow: hidden;
}
.yk-colo-seal {
    flex: none;
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--yh-serif);
    font-size: 28px; font-weight: 800;
    color: #FFF9EE;
    background: linear-gradient(150deg, var(--yh-gold-2), var(--yh-gold));
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(168, 135, 63, .3);
}
.yk-colo-txt {
    flex: 1; margin: 0;
    font-family: var(--yh-serif);
    font-size: 15px; letter-spacing: 2.5px; line-height: 1.7;
    color: #6E5B34;
}
.yk-colo .ya-colophon-btn { flex: none; margin: 0; }

/* ============================================================
   v8 现代金石编辑风（yv-）
   大字排版 / 非对称 Bento / 墨黑块面 / 发丝线 / 巨型序号
   ============================================================ */
.yv-page {
    --yv-ink: #211D18;
    --yv-ink2: #4A4238;
    --yv-line: #E2D9C6;
    --yv-line2: #CFC4AC;
    --yv-gold: #A8873F;
    --yv-gold2: #C2A062;
    --yv-cream: #F4ECDC;
    --yv-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    padding-bottom: 90px;
    color: #2A251D;
    font-family: var(--yv-sans);
}

/* ---------- 通用按钮 ---------- */
.yv-btn {
    display: inline-flex; align-items: center; gap: 10px;
    height: 46px; padding: 0 26px;
    font-size: 14px; letter-spacing: 3px;
    border: 1px solid transparent;
    transition: all .25s ease;
    text-decoration: none;
    white-space: nowrap;
}
.yv-btn i { font-size: 13px; transition: transform .25s ease; }
.yv-btn:hover i { transform: translateX(4px); }
a.yv-btn-ink { background: var(--yv-ink); color: #F7F1E3; border-color: var(--yv-ink); }
a.yv-btn-ink:hover { background: #000; border-color: #000; color: #fff; }
a.yv-btn-ghost { background: transparent; color: var(--yv-ink); border-color: #B9AD93; }
a.yv-btn-ghost:hover { border-color: var(--yv-ink); background: rgba(33,29,24,.04); }
a.yv-btn-gold { background: var(--yv-gold); color: #FFF9EE; border-color: var(--yv-gold); }
a.yv-btn-gold:hover { background: #96762F; border-color: #96762F; color: #FFF9EE; }

/* ---------- 刊头 ---------- */
.yv-hero { padding-top: 30px; }
.yv-hero-top {
    display: flex; align-items: center; gap: 22px;
    padding: 12px 0;
    border-top: 2px solid var(--yv-ink);
    border-bottom: 1px solid var(--yv-line2);
    font-size: 11px; letter-spacing: 3px; color: var(--yv-ink2);
}
.yv-hero-brand { font-weight: 700; letter-spacing: 3.5px; color: var(--yv-ink); }
.yv-hero-brand i { color: var(--yv-gold); font-style: normal; padding: 0 6px; }
.yv-hero-cn { font-family: var(--yh-serif); letter-spacing: 5px; font-size: 12px; }
.yv-hero-range { margin-left: auto; color: #8A7E66; }
.yv-hero-main {
    display: grid; grid-template-columns: 1.35fr 1fr;
    gap: 56px; align-items: center;
    padding: 64px 4px 58px;
    border-bottom: 1px solid var(--yv-line2);
    position: relative;
}
.yv-hero-kicker {
    font-size: 12.5px; letter-spacing: 4px; color: var(--yv-gold);
    margin: 0 0 22px; padding-left: 16px; position: relative; font-weight: 600;
}
.yv-hero-kicker::before {
    content: ""; position: absolute; left: 0; top: 50%;
    width: 6px; height: 6px; background: var(--yv-gold);
    transform: translateY(-50%) rotate(45deg);
}
.yv-hero-title {
    font-family: var(--yh-serif);
    font-size: 108px; line-height: 1.02; font-weight: 700;
    margin: 0 0 26px; color: var(--yv-ink);
    letter-spacing: 6px;
}
.yv-hero-title em {
    font-style: normal; color: var(--yv-gold);
    position: relative;
}
.yv-hero-title em::after {
    content: ""; position: absolute; left: 4px; right: 4px; bottom: 8px;
    height: 3px; background: var(--yv-gold); opacity: .55;
}
.yv-hero-sub {
    font-size: 14.5px; line-height: 2; color: #6B6250;
    margin: 0 0 38px; max-width: 480px;
}
.yv-hero-actions { display: flex; gap: 16px; align-items: center; }
.yv-hero-stats {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: 1fr 1fr;
    background: #FFFDF8;
    border-top: 1px solid var(--yv-line2);
    border-left: 1px solid var(--yv-line2);
}
.yv-hero-stats li {
    padding: 24px 24px 22px;
    border-right: 1px solid var(--yv-line2);
    border-bottom: 1px solid var(--yv-line2);
    position: relative; overflow: hidden;
}
.yv-hero-stats li::before {
    content: ""; position: absolute; right: -14px; top: -14px;
    width: 44px; height: 44px; border: 1px solid var(--yv-line);
    transform: rotate(45deg);
}
.yv-hero-stats b {
    display: block; font-family: var(--yh-serif);
    font-size: 46px; line-height: 1.1; color: var(--yv-ink); font-weight: 700;
}
.yv-hero-stats small {
    display: block; font-size: 10px; letter-spacing: 3px;
    color: var(--yv-gold); font-weight: 700; margin-top: 6px;
}
.yv-hero-stats span { display: block; font-size: 12px; color: #8A7E66; margin-top: 3px; }

/* ---------- Bento ---------- */
.yv-bento {
    display: grid; grid-template-columns: repeat(12, 1fr);
    gap: 20px; margin-top: 46px;
}
.yv-spot {
    grid-column: span 8;
    display: flex; gap: 38px; align-items: stretch;
    background: linear-gradient(155deg, #2B2720 0%, #1E1A15 100%);
    color: #EFE7D6;
    padding: 42px 44px;
    position: relative; overflow: hidden;
}
.yv-spot::before {
    content: ""; position: absolute; right: -60px; top: -60px;
    width: 220px; height: 220px;
    border: 1px solid rgba(194,160,98,.25); border-radius: 50%;
}
.yv-spot::after {
    content: ""; position: absolute; right: -20px; bottom: -70px;
    width: 160px; height: 160px;
    border: 1px solid rgba(194,160,98,.18); border-radius: 50%;
}
.yv-spot-fig {
    flex: none; width: 210px; position: relative;
    display: flex; align-items: center; justify-content: center;
    z-index: 1;
}
.yv-spot-fig img, .yv-spot-seal {
    position: relative; z-index: 2;
    width: 180px; height: 230px; object-fit: cover;
    display: flex; align-items: center; justify-content: center;
}
.yv-spot-fig img { filter: sepia(.18) contrast(1.02); }
.yv-spot-seal {
    background: rgba(194,160,98,.14);
    border: 1px solid rgba(194,160,98,.4);
    font-family: var(--yh-serif); font-size: 96px; color: var(--yv-gold2);
}
.yv-spot-frame {
    position: absolute; z-index: 1;
    left: 4px; top: 22px; width: 180px; height: 230px;
    border: 1px solid var(--yv-gold2);
    transform: translate(14px, 14px);
}
.yv-spot-body { flex: 1; z-index: 2; min-width: 0; display: flex; flex-direction: column; }
.yv-spot-tags { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.yv-flag {
    font-size: 11px; letter-spacing: 3px; font-weight: 700;
    background: var(--yv-gold); color: #FFF9EE;
    padding: 5px 12px;
}
.yv-era-tag {
    font-size: 12px; letter-spacing: 2px;
    border: 1px solid rgba(194,160,98,.6); color: var(--yv-gold2);
    padding: 4px 11px;
}
.yv-hits {
    margin-left: auto; font-size: 12px; color: #A99B7E; letter-spacing: 1px;
}
.yv-hits i { margin-right: 5px; }
.yv-spot-name {
    font-family: var(--yh-serif); font-size: 48px; font-weight: 700;
    margin: 2px 0 8px; letter-spacing: 8px; color: #FAF4E6;
}
.yv-spot-years { font-size: 13px; color: #B3A687; margin: 0 0 18px; letter-spacing: 2px; }
.yv-spot-years::before { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--yv-gold2); margin-right: 10px; vertical-align: middle; }
.yv-spot-quote {
    margin: 0 0 22px; padding: 14px 0 16px 18px;
    border-left: 3px solid var(--yv-gold);
    font-family: var(--yh-serif); font-size: 15px; line-height: 1.95;
    color: #D8CDB6; letter-spacing: 1px;
}
.yv-spot-facts {
    display: grid; grid-template-columns: repeat(3, 1fr);
    margin: auto 0 26px; border-top: 1px solid rgba(194,160,98,.28);
}
.yv-spot-facts div { padding: 12px 14px 2px 0; border-right: 1px solid rgba(194,160,98,.2); }
.yv-spot-facts div:last-child { border-right: 0; padding-right: 0; }
.yv-spot-facts dt { font-size: 10.5px; letter-spacing: 3px; color: var(--yv-gold2); margin-bottom: 6px; }
.yv-spot-facts dd {
    margin: 0; font-size: 13px; line-height: 1.55; color: #E6DCC8;
    max-height: 42px; overflow: hidden;
}
.yv-spot-body .yv-btn { align-self: flex-start; }

.yv-side { grid-column: span 4; display: flex; flex-direction: column; gap: 20px; }
.yv-quote-card {
    flex: 1; background: linear-gradient(160deg, #F0E5CC, #E7D7B4);
    padding: 32px 30px 28px; position: relative;
    display: flex; flex-direction: column; justify-content: center;
}
.yv-quote-card::before, .yv-quote-card::after {
    content: ""; position: absolute; width: 18px; height: 18px;
    border: 1px solid var(--yv-gold);
}
.yv-quote-card::before { left: 10px; top: 10px; border-right: 0; border-bottom: 0; }
.yv-quote-card::after { right: 10px; bottom: 10px; border-left: 0; border-top: 0; }
.yv-quote-q {
    font-family: var(--yh-serif); font-size: 72px; line-height: .8;
    color: rgba(168,135,63,.55); height: 40px;
}
.yv-quote-txt {
    margin: 14px 0 12px; font-family: var(--yh-serif);
    font-size: 21px; line-height: 1.85; color: #55441F; letter-spacing: 2px;
}
.yv-quote-src { margin: 0; font-size: 11.5px; letter-spacing: 2px; color: #8A6F38; }
.yv-newcard {
    background: #FFFDF8; border: 1px solid var(--yv-line2);
    padding: 24px 26px; text-decoration: none; color: var(--yv-ink);
    display: block; transition: all .25s ease;
}
.yv-newcard:hover { border-color: var(--yv-ink); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(33,29,24,.1); }
.yv-new-tag { display: block; font-size: 10.5px; letter-spacing: 3px; color: var(--yv-gold); font-weight: 700; margin-bottom: 12px; }
.yv-new-name {
    display: block; font-family: var(--yh-serif); font-size: 27px;
    letter-spacing: 4px; font-weight: 700; margin-bottom: 14px;
}
.yv-new-name em {
    font-style: normal; font-family: var(--yv-sans); font-size: 11px;
    border: 1px solid var(--yv-line2); color: #8A7E66;
    padding: 2px 7px; margin-left: 10px; letter-spacing: 2px; vertical-align: middle;
}
.yv-new-go { font-size: 12px; letter-spacing: 2px; color: var(--yv-ink2); }
.yv-new-go i { margin-left: 8px; transition: transform .25s; }
.yv-newcard:hover .yv-new-go i { transform: translateX(5px); }

/* ---------- 章节头 ---------- */
.yv-sec { margin-top: 78px; }
.yv-sec-head {
    display: flex; align-items: center; gap: 18px;
    padding-bottom: 18px; margin-bottom: 30px;
    border-bottom: 1px solid var(--yv-line2);
}
.yv-sec-no {
    font-family: Georgia, serif; font-size: 15px; font-weight: 700;
    color: #FFF; background: var(--yv-ink);
    width: 38px; height: 30px; line-height: 30px; text-align: center;
}
.yv-sec-title {
    font-family: var(--yh-serif); font-size: 30px; font-weight: 700;
    margin: 0; letter-spacing: 6px; color: var(--yv-ink);
}
.yv-sec-en { font-size: 11px; letter-spacing: 3px; color: #9C9076; }
a.yv-sec-more {
    margin-left: auto; font-size: 12.5px; letter-spacing: 2px;
    color: var(--yv-ink2); text-decoration: none;
}
.yv-sec-more i { margin-left: 8px; color: var(--yv-gold); transition: transform .25s; }
.yv-sec-more:hover { color: var(--yv-gold); }
.yv-sec-more:hover i { transform: translateX(5px); }
.yv-sec-static { margin-left: auto; color: #9C9076; }

/* ---------- 01 朝代索引 ---------- */
.yv-eras {
    display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px;
}
.yv-era {
    display: flex; flex-direction: column;
    min-width: 0;
    border: 1px solid var(--yv-line2);
    background: #FFFDF8;
    padding: 16px 12px 14px;
    text-decoration: none; color: var(--yv-ink);
    position: relative;
    transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
}
.yv-era:hover {
    background: var(--yv-ink); border-color: var(--yv-ink);
    color: #F4EDDD; transform: translateY(-4px);
}
.yv-era-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.yv-era-no { font-family: Georgia, serif; font-size: 13px; color: var(--yv-gold); font-weight: 700; }
.yv-era:hover .yv-era-no { color: var(--yv-gold2); }
.yv-era-py { font-size: 8px; letter-spacing: 1px; color: #A99B7E; white-space: nowrap; }
.yv-era:hover .yv-era-py { color: rgba(244,237,221,.55); }
.yv-era-name {
    font-family: var(--yh-serif); font-size: 19px; font-weight: 700;
    margin: 0 0 6px; letter-spacing: 1px; white-space: nowrap;
}
.yv-era-n {
    font-family: var(--yh-serif); font-size: 30px; font-weight: 700;
    color: var(--yv-gold); line-height: 1.1; margin-bottom: 12px;
}
.yv-era-n em { font-style: normal; font-family: var(--yv-sans); font-size: 11px; color: #A99B7E; margin-left: 4px; letter-spacing: 1px; }
.yv-era:hover .yv-era-n em { color: rgba(244,237,221,.6); }
.yv-era-avs { display: flex; align-items: center; min-height: 32px; margin-top: auto; }
.yv-era-ava {
    width: 30px; height: 30px; border-radius: 50%;
    border: 2px solid #FFFDF8; margin-left: -10px; overflow: hidden;
    background: #EFE6D2; flex: none;
    display: flex; align-items: center; justify-content: center;
}
.yv-era-ava:first-child { margin-left: 0; }
.yv-era:hover .yv-era-ava { border-color: var(--yv-ink); }
.yv-era-ava img { width: 100%; height: 100%; object-fit: cover; }
.yv-era-ava i {
    font-family: var(--yh-serif); font-style: normal; font-size: 13px; color: var(--yv-gold);
}
.yv-era-more {
    margin-left: 6px; font-size: 11px; font-weight: 700; color: var(--yv-ink2); white-space: nowrap;
}
.yv-era:hover .yv-era-more { color: var(--yv-gold2); }
.yv-era-todo {
    font-size: 11px; letter-spacing: 4px; color: #B3A88C;
    border: 1px dashed var(--yv-line2); padding: 7px 10px;
}
.yv-era.is-empty { opacity: .65; }

/* ---------- 02 学术流谱 ---------- */
.yv-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.yv-tag {
    display: inline-flex; align-items: center; gap: 9px;
    border: 1px solid var(--yv-line2);
    background: #FFFDF8;
    padding: 10px 16px 10px 18px;
    font-size: 14px; letter-spacing: 2px; color: var(--yv-ink2);
    cursor: default;
    transition: all .22s ease;
}
.yv-tag em {
    font-style: normal; font-family: Georgia, serif;
    font-size: 11px; font-weight: 700; color: #FFF;
    background: #B7AC93; border-radius: 2px;
    min-width: 22px; height: 18px; line-height: 18px; text-align: center; padding: 0 5px;
}
.yv-tag:hover { background: var(--yv-ink); border-color: var(--yv-ink); color: #F4EDDD; transform: translateY(-2px); }
.yv-tag:hover em { background: var(--yv-gold); color: #FFF9EE; }
.yv-tag.is-md {
    border-color: #8E846B;
    background: #F6EEDC; font-size: 15px; font-weight: 600; color: var(--yv-ink);
}
.yv-tag.is-md em { background: var(--yv-gold); }
.yv-tag.is-lg {
    background: var(--yv-ink); border-color: var(--yv-ink);
    color: #F4EDDD; font-size: 16.5px; font-weight: 700;
    padding: 12px 20px;
}
.yv-tag.is-lg em { background: var(--yv-gold); color: #FFF9EE; }
.yv-tag.is-lg:hover { background: #000; }

/* ---------- 03 名医双榜 ---------- */
.yv-ranks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.yv-rank { background: #FFFDF8; border: 1px solid var(--yv-line2); }
.yv-rank-head {
    display: flex; align-items: baseline; gap: 12px;
    padding: 20px 26px; border-bottom: 1px solid var(--yv-line2);
}
.yv-rank-head h3 {
    margin: 0; font-family: var(--yh-serif); font-size: 21px;
    letter-spacing: 4px; color: var(--yv-ink);
}
.yv-rank-head h3 i { color: #C0502E; margin-right: 6px; font-size: 15px; }
.yv-rank-head2 h3 i { color: var(--yv-gold); }
.yv-rank-head span { margin-left: auto; font-size: 10.5px; letter-spacing: 3px; color: #A99B7E; }
.yv-row {
    display: flex; align-items: center; gap: 16px;
    padding: 15px 26px;
    border-bottom: 1px solid var(--yv-line);
    text-decoration: none; color: var(--yv-ink);
    transition: all .2s ease;
}
.yv-rank > a:last-child { border-bottom: 0; }
.yv-row:hover { background: #F6F0E2; padding-left: 32px; }
.yv-row-rank {
    flex: none; width: 34px;
    font-family: Georgia, serif; font-size: 26px; font-weight: 700;
    color: #C9BFA8; line-height: 1;
}
.yv-rank > a:nth-child(2) .yv-row-rank,
.yv-rank > a:nth-child(3) .yv-row-rank,
.yv-rank > a:nth-child(4) .yv-row-rank { color: var(--yv-gold); }
.yv-row-ava {
    flex: none; width: 42px; height: 42px; overflow: hidden;
    background: #EFE6D2;
    display: flex; align-items: center; justify-content: center;
}
.yv-row-ava img { width: 100%; height: 100%; object-fit: cover; }
.yv-row-ava i { font-family: var(--yh-serif); font-style: normal; font-size: 19px; color: var(--yv-gold); }
.yv-row-main { flex: 1; min-width: 0; }
.yv-row-name {
    display: block; font-size: 15.5px; font-weight: 600; letter-spacing: 1.5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yv-row-name em {
    font-style: normal; font-size: 10px; color: #8A7E66;
    border: 1px solid var(--yv-line2); padding: 1px 6px;
    margin-left: 9px; letter-spacing: 1px; vertical-align: 2px;
}
.yv-row-meta {
    display: block; font-size: 12px; color: #9C9076; margin-top: 4px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yv-row-hits { flex: none; font-size: 12px; color: #A99B7E; }
.yv-row-hits i { margin-right: 5px; }
.yv-row-go { flex: none; color: #C3B89E; font-size: 15px; transition: all .2s; }
.yv-row:hover .yv-row-go { color: var(--yv-gold); transform: translateX(4px); }

/* ---------- 终卷 CTA ---------- */
.yv-cta {
    margin-top: 78px;
    background: linear-gradient(155deg, #26221C, #191612);
    padding: 64px 60px;
    display: grid; grid-template-columns: 1fr auto; align-items: center;
    gap: 30px;
    position: relative; overflow: hidden;
}
.yv-cta::before {
    content: "醫"; position: absolute; right: 30px; top: -34px;
    font-family: var(--yh-serif); font-size: 200px;
    color: rgba(194,160,98,.07); line-height: 1; pointer-events: none;
}
.yv-cta-index {
    grid-column: 1 / -1;
    font-size: 10.5px; letter-spacing: 5px; color: rgba(194,160,98,.75);
}
.yv-cta-title {
    margin: 0; font-family: var(--yh-serif);
    font-size: 38px; line-height: 1.6; letter-spacing: 5px;
    color: #F4EDDD; font-weight: 700;
}
.yv-cta .yv-btn { z-index: 1; height: 52px; }

/* ============================================================
   v9 现代东方图录风（yr-）
   美术馆图录 / 策展杂志：大圆角 · 柔影 · 圆窗晕圈 · 超大宋体
   通透留白 · 非对称错落 · 唯一深色重色置于终卷 CTA
   ============================================================ */
.yr-page {
    --yr-ink: #211D18;
    --yr-ink2: #4A4238;
    --yr-muted: #9A8D74;
    --yr-faint: #BDB29A;
    --yr-gold: #A8873F;
    --yr-gold2: #C2A062;
    --yr-gold3: #E0C58B;
    --yr-ivory: #FFFDF8;
    --yr-cream: #F6EEDD;
    --yr-soft: #F2EBDC;
    --yr-line: #ECE3D0;
    --yr-serif: "SimSun", "Songti SC", "STSong", serif;
    --yr-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --yr-shadow: 0 12px 32px rgba(84, 64, 30, .07);
    --yr-shadow-hover: 0 22px 48px rgba(84, 64, 30, .13);
    --yr-shadow-lg: 0 30px 70px rgba(84, 64, 30, .12);
    padding-bottom: 28px;
    color: #332D23;
    font-family: var(--yr-sans);
}
/* doctor 频道收紧主容器底部留白（卷尾跋承接全局页脚） */
.ep-main { padding-bottom: 16px; }

/* ---------- 通用按钮（a. 前缀提权，覆盖 .yh-page a{color:inherit}） ---------- */
.yr-btn {
    display: inline-flex; align-items: center; gap: 10px;
    height: 48px; padding: 0 30px;
    border-radius: 999px;
    font-size: 14px; letter-spacing: 3px; font-weight: 400;
    text-decoration: none; white-space: nowrap;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.yr-btn i { font-size: 13px; transition: transform .3s ease; }
.yr-btn:hover { transform: translateY(-2px); }
.yr-btn:hover i { transform: translateX(5px); }
a.yr-btn-primary {
    background: linear-gradient(135deg, #C4A264, #A8873F);
    color: #FFF9EC;
    box-shadow: 0 10px 24px rgba(168, 135, 63, .28);
}
a.yr-btn-primary:hover { color: #FFF9EC; box-shadow: 0 16px 32px rgba(168, 135, 63, .38); }
a.yr-btn-quiet {
    position: relative;
    padding-left: 0; padding-right: 4px;
    color: var(--yr-ink2);
}
a.yr-btn-quiet::after {
    content: ""; position: absolute; left: 30px; right: 4px; bottom: 9px;
    height: 1px; background: var(--yr-gold);
    transform: scaleX(.32); transform-origin: left;
    transition: transform .35s ease;
}
a.yr-btn-quiet:hover { color: var(--yr-gold); }
a.yr-btn-quiet:hover::after { transform: scaleX(1); }
a.yr-btn-quiet i { color: var(--yr-gold); }
a.yr-btn-light {
    background: #F6ECD5; color: #5A4420;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}
a.yr-btn-light:hover { color: #3E2F14; background: #FBF3E0; }

/* ---------- 圆窗 Hero ---------- */
.yr-hero {
    position: relative;
    padding: 26px 0 64px;
    overflow: hidden;
}
.yr-hero-glow {
    position: absolute;
    right: -80px; top: -120px;
    width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(224, 197, 139, .38) 0%, rgba(224, 197, 139, .12) 42%, transparent 68%);
    pointer-events: none;
}
.yr-hero-water {
    position: absolute;
    right: 330px; top: -70px;
    font-family: var(--yr-serif);
    font-size: 340px; font-weight: 700; line-height: 1;
    color: rgba(168, 135, 63, .06);
    pointer-events: none; user-select: none;
}
.yr-hero-top {
    position: relative; z-index: 1;
    display: flex; align-items: center; gap: 16px;
    font-size: 11px; letter-spacing: 3px; color: var(--yr-muted);
}
.yr-hero-brand { font-weight: 700; letter-spacing: 3.5px; color: var(--yr-ink2); }
.yr-hero-brand i { font-style: normal; color: var(--yr-gold); padding: 0 4px; }
.yr-hero-cn {
    font-family: var(--yr-serif); font-size: 12px; letter-spacing: 5px;
    color: var(--yr-ink2);
}
.yr-hero-cn::before {
    content: ""; display: inline-block;
    width: 5px; height: 5px; margin: 0 14px 3px 0;
    border-radius: 50%; background: var(--yr-gold2);
}
.yr-hero-range { margin-left: auto; letter-spacing: 2.5px; }
.yr-hero-main {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
    gap: 40px; align-items: stretch;
    padding: 78px 8px 0;
}
.yr-hero-l {
    display: flex; flex-direction: column;
}
.yr-hero-kicker {
    margin: 0 0 24px;
    font-size: 12.5px; letter-spacing: 4px; font-weight: 600;
    color: var(--yr-gold);
}
.yr-hero-kicker::before {
    content: ""; display: inline-block;
    width: 34px; height: 1px; margin: 0 16px 4px 0;
    background: linear-gradient(90deg, var(--yr-gold2), transparent);
    vertical-align: middle;
}
.yr-hero-title {
    margin: 0 0 28px;
    font-family: var(--yr-serif);
    font-size: 104px; font-weight: 700;
    line-height: 1.04; letter-spacing: 8px;
    color: var(--yr-ink);
}
.yr-hero-title em {
    font-style: normal;
    color: transparent;
    background: linear-gradient(135deg, #C2A062, #A8873F 70%);
    -webkit-background-clip: text; background-clip: text;
}
.yr-hero-sub {
    max-width: 520px;
    margin: 0;
    font-size: 15px; line-height: 2.05;
    color: var(--yr-ink2);
}
.yr-hero-actions {
    display: flex; align-items: center; gap: 34px;
    margin-top: auto; padding-top: 40px;
}
.yr-hero-stats {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 44px 24px;
    position: relative;
}
.yr-hero-stats::before {
    content: ""; position: absolute;
    right: -34px; top: 50%; transform: translateY(-50%);
    width: 300px; height: 300px;
    border: 1px solid rgba(194, 160, 98, .22);
    border-radius: 50%;
    pointer-events: none;
}
.yr-hero-stats::after {
    content: ""; position: absolute;
    right: 6px; top: 50%; transform: translateY(-50%);
    width: 228px; height: 228px;
    border: 1px dashed rgba(194, 160, 98, .28);
    border-radius: 50%;
    pointer-events: none;
}
.yr-hero-stats li {
    position: relative; z-index: 1;
    margin: 0; padding: 0;
}
.yr-hero-stats b {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 56px; font-weight: 700; line-height: 1;
    color: var(--yr-ink);
    letter-spacing: -1px;
}
.yr-hero-stats small {
    display: block; margin: 10px 0 5px;
    font-size: 10px; letter-spacing: 3.5px;
    color: var(--yr-gold);
}
.yr-hero-stats li > span {
    display: block;
    font-size: 12.5px; color: var(--yr-muted); letter-spacing: 1px;
}

/* ---------- 本期聚焦·图版（v9.4 金印档案布局） ---------- */
.yr-feature {
    position: relative;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 48px; align-items: stretch;
    margin-top: 30px;
    padding: 46px 50px 44px;
    border-radius: 28px;
    background: linear-gradient(124deg, #FFFDF8 0%, #FBF4E4 58%, #F6EBD2 100%);
    box-shadow: var(--yr-shadow-lg);
    overflow: visible;
}
.yr-feature-wash {
    position: absolute;
    right: -60px; top: -90px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(224, 197, 139, .4), transparent 68%);
    border-radius: 50%;
    pointer-events: none;
}
/* 左侧金印档案扉页：暖色金笺面板 + 竖排题签 */
.yr-feature-fig {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    min-height: 420px;
    border-radius: 20px;
    background:
        radial-gradient(420px 300px at 50% 24%, rgba(255, 253, 246, .6), rgba(255, 253, 246, 0) 70%),
        linear-gradient(158deg, #F2E4C4 0%, #E5CF9D 100%);
    border: 1px solid rgba(168, 135, 63, .3);
    box-shadow: inset 0 0 0 1px rgba(255, 253, 248, .6);
    overflow: hidden;
}
/* 竖排题签 */
.yr-fig-caption {
    position: absolute; left: 16px; top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    font-family: var(--yr-serif);
    font-size: 13px; letter-spacing: 12px; font-weight: 700;
    color: rgba(120, 90, 40, .58);
    pointer-events: none;
}
/* 面板两对角静态框线 */
.yr-feature-fig::before,
.yr-feature-fig::after {
    content: ""; position: absolute;
    width: 26px; height: 26px;
    border-color: rgba(168, 135, 63, .45);
    border-style: solid; border-width: 0;
    pointer-events: none;
}
.yr-feature-fig::before { top: 14px; left: 14px; border-top-width: 1.5px; border-left-width: 1.5px; border-top-left-radius: 4px; }
.yr-feature-fig::after  { bottom: 14px; right: 14px; border-bottom-width: 1.5px; border-right-width: 1.5px; border-bottom-right-radius: 4px; }
/* 静态金印（不旋转） */
.yr-feature-disc {
    position: relative; z-index: 1;
    width: 204px; height: 204px;
    border-radius: 50%;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 18px 38px rgba(120, 90, 40, .26), inset 0 0 0 6px rgba(255, 253, 248, .9);
    background: radial-gradient(circle at 34% 28%, #DCC28A 0%, #BC9C57 55%, #A8873F 100%);
}
.yr-feature-disc img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.4s cubic-bezier(.22, .61, .36, 1);
}
.yr-feature:hover .yr-feature-disc img { transform: scale(1.07); }
.yr-sealchar {
    font-style: normal;
    font-family: var(--yr-serif);
    font-size: 96px; font-weight: 700;
    color: rgba(255, 250, 238, .94);
    text-shadow: 0 4px 18px rgba(90, 66, 24, .25);
}
.yr-feature-body {
    position: relative; z-index: 1; min-width: 0;
    display: flex; flex-direction: column; justify-content: center;
}
.yr-feature-body > a.yr-btn { align-self: flex-start; }
.yr-feature-tags {
    display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
    margin-bottom: 18px;
}
.yr-flag {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 999px;
    background: linear-gradient(135deg, #C2A062, #A8873F);
    color: #FFF9EC;
    font-size: 11px; letter-spacing: 2.5px;
    box-shadow: 0 6px 16px rgba(168, 135, 63, .25);
}
.yr-era-pill {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 999px;
    background: rgba(168, 135, 63, .12);
    color: #876A2F;
    font-size: 12px; letter-spacing: 2px;
}
.yr-hits {
    margin-left: auto;
    font-size: 12.5px; color: var(--yr-muted);
}
.yr-hits i { margin-right: 6px; color: var(--yr-gold2); }
.yr-feature-name {
    margin: 0;
    font-family: var(--yr-serif);
    font-size: 42px; font-weight: 700; letter-spacing: 5px;
    color: var(--yr-ink); line-height: 1.15;
}
.yr-feature-years {
    margin: 10px 0 0;
    font-family: Georgia, serif;
    font-size: 14px; letter-spacing: 2px;
    color: var(--yr-gold);
}
.yr-feature-quote {
    position: relative;
    margin: 20px 0 22px;
    padding: 16px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .55);
    font-size: 16px; line-height: 1.9;
    color: var(--yr-ink2);
}
.yr-feature-qm {
    font-family: var(--yr-serif);
    font-size: 30px; line-height: 1;
    color: var(--yr-gold2);
    margin-right: 6px;
    vertical-align: -4px;
}
.yr-feature-facts {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 26px;
}
.yr-feature-facts div {
    margin: 0; padding: 12px 15px;
    border-radius: 14px;
    background: rgba(168, 135, 63, .08);
    min-width: 0;
}
.yr-feature-facts dt {
    margin: 0 0 5px;
    font-size: 10.5px; letter-spacing: 3px;
    color: var(--yr-gold);
}
.yr-feature-facts dd {
    margin: 0;
    font-size: 13px; line-height: 1.65;
    color: var(--yr-ink2);
    word-break: break-all;
}

/* ---------- 治未病之铭 + 新录 ---------- */
.yr-maxim {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 296px;
    gap: 56px; align-items: center;
    padding: 78px 8px 30px 66px;
}
.yr-maxim-glow {
    position: absolute;
    left: 12%; top: 10px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(224, 197, 139, .22), transparent 70%);
    pointer-events: none;
}
.yr-maxim-v {
    position: absolute; left: 4px; top: 88px;
    writing-mode: vertical-rl;
    font-family: var(--yr-serif);
    font-size: 15px; letter-spacing: 12px;
    color: rgba(168, 135, 63, .6);
    pointer-events: none;
}
.yr-maxim-main { position: relative; z-index: 1; min-width: 0; }
.yr-maxim-mark {
    position: absolute; left: -8px; top: -34px;
    font-family: var(--yr-serif);
    font-size: 88px; line-height: 1;
    color: rgba(194, 160, 98, .4);
    pointer-events: none;
}
.yr-maxim-text {
    margin: 0;
    font-family: var(--yr-serif);
    font-size: 31px; line-height: 1.95; letter-spacing: 5px;
    color: var(--yr-ink);
    font-weight: 700;
}
.yr-maxim-text em {
    font-style: normal;
    color: var(--yr-gold);
}
.yr-maxim-src {
    margin: 26px 0 0;
    font-size: 12.5px; letter-spacing: 3px;
    color: var(--yr-muted);
}
.yr-maxim-src::before {
    content: ""; display: inline-block;
    width: 28px; height: 1px; margin: 0 14px 4px 0;
    background: var(--yr-gold2);
}
a.yr-latest {
    position: relative; z-index: 1;
    display: flex; align-items: center; gap: 16px;
    padding: 22px 22px;
    border-radius: 22px;
    background: var(--yr-ivory);
    box-shadow: var(--yr-shadow);
    text-decoration: none; color: var(--yr-ink);
    transition: transform .3s ease, box-shadow .3s ease;
}
a.yr-latest:hover { transform: translateY(-5px); box-shadow: var(--yr-shadow-hover); }
.yr-latest-seal {
    flex: none;
    width: 66px; height: 66px;
    border-radius: 50%;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(150deg, #D9BE83, #B28D4E);
    box-shadow: inset 0 0 0 3px rgba(255, 253, 248, .9);
}
.yr-latest-seal img { width: 100%; height: 100%; object-fit: cover; }
.yr-latest-seal i {
    font-style: normal; font-family: var(--yr-serif);
    font-size: 28px; font-weight: 700;
    color: rgba(255, 250, 238, .92);
}
.yr-latest-body { min-width: 0; display: block; }
.yr-latest-tag {
    display: block; margin-bottom: 8px;
    font-size: 10px; letter-spacing: 2.5px;
    color: var(--yr-gold); font-weight: 600;
}
.yr-latest-name {
    display: block;
    font-family: var(--yr-serif);
    font-size: 18px; font-weight: 700; letter-spacing: 1.5px;
    color: var(--yr-ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yr-latest-name em {
    font-style: normal;
    margin-left: 8px; padding: 2px 9px;
    border-radius: 999px;
    background: var(--yr-cream);
    color: #876A2F;
    font-family: var(--yr-sans);
    font-size: 11px; letter-spacing: 1px; font-weight: 400;
    vertical-align: 2px;
}
.yr-latest-go {
    display: block; margin-top: 8px;
    font-size: 12px; letter-spacing: 2px; color: var(--yr-muted);
    transition: color .3s ease;
}
.yr-latest-go i { margin-left: 6px; color: var(--yr-gold2); transition: transform .3s ease; }
a.yr-latest:hover .yr-latest-go { color: var(--yr-gold); }
a.yr-latest:hover .yr-latest-go i { transform: translateX(5px); }

/* ---------- 区块标题 ---------- */
.yr-sec { margin-top: 94px; }
/* 金句铭区与首个板块之间收紧，避免留白叠加 */
.yr-maxim + .yr-sec { margin-top: 48px; }
.yr-head {
    display: flex; align-items: center; gap: 20px;
    margin-bottom: 42px;
}
.yr-head-no {
    font-family: Georgia, serif;
    font-size: 52px; font-weight: 700; line-height: 1;
    color: #E7D9BA;
    letter-spacing: 2px;
}
.yr-head-t { min-width: 0; }
.yr-head-title {
    margin: 0;
    font-family: var(--yr-serif);
    font-size: 29px; font-weight: 700; letter-spacing: 6px;
    color: var(--yr-ink); line-height: 1.2;
}
.yr-head-en {
    margin: 7px 0 0;
    font-size: 10.5px; letter-spacing: 3.5px;
    color: var(--yr-faint);
}
a.yr-head-more {
    margin-left: auto;
    position: relative;
    font-size: 12.5px; letter-spacing: 2.5px;
    color: var(--yr-muted); text-decoration: none;
    padding-bottom: 5px;
    transition: color .3s ease;
}
a.yr-head-more::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px; background: var(--yr-gold);
    transform: scaleX(0); transform-origin: right;
    transition: transform .35s ease;
}
a.yr-head-more i { margin-left: 8px; color: var(--yr-gold); transition: transform .3s ease; }
a.yr-head-more:hover { color: var(--yr-gold); }
a.yr-head-more:hover::after { transform: scaleX(1); transform-origin: left; }
a.yr-head-more:hover i { transform: translateX(5px); }
.yr-head-static {
    margin-left: auto;
    font-size: 12px; letter-spacing: 3px; color: var(--yr-faint);
}

/* ---------- 01 八朝圆象 ---------- */
.yr-eras {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 14px;
}
a.yr-era {
    position: relative;
    display: flex; flex-direction: column;
    min-width: 0;
    margin-top: 0;
    padding: 20px 14px 18px;
    border-radius: 20px;
    background: var(--yr-ivory);
    box-shadow: var(--yr-shadow);
    text-decoration: none; color: var(--yr-ink);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
a.yr-era:nth-child(even) { margin-top: 22px; }
a.yr-era:hover { transform: translateY(-7px); box-shadow: var(--yr-shadow-hover); }
.yr-era-arc {
    position: absolute; left: 14px; right: 14px; top: 0;
    height: 3px; border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--yr-gold3), var(--yr-gold));
    transform: scaleX(0); transform-origin: center;
    transition: transform .35s ease;
}
a.yr-era:hover .yr-era-arc { transform: scaleX(1); }
.yr-era-top {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 12px;
}
.yr-era-no {
    font-family: Georgia, serif;
    font-size: 13px; font-weight: 700;
    color: var(--yr-gold2);
}
.yr-era-py {
    font-size: 8.5px; letter-spacing: 1.2px;
    color: #B8AB8E; white-space: nowrap;
}
.yr-era-name {
    margin: 0 0 8px;
    font-family: var(--yr-serif);
    font-size: 19px; font-weight: 700; letter-spacing: 1.5px;
    color: var(--yr-ink);
    white-space: nowrap;
}
.yr-era-n {
    display: flex; align-items: baseline; gap: 4px;
    margin-bottom: 16px;
}
.yr-era-n b {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 37px; font-weight: 700; line-height: 1;
    color: var(--yr-gold);
    letter-spacing: -1px;
}
.yr-era-n em {
    font-style: normal;
    font-size: 11px; color: var(--yr-faint); letter-spacing: 1px;
}
.yr-era-avs {
    display: flex; align-items: center;
    min-height: 28px;
    margin-top: auto;
}
.yr-era-ava {
    flex: none;
    box-sizing: border-box;
    width: 26px; height: 26px;
    margin-left: -8px;
    border-radius: 50%;
    border: 2px solid var(--yr-ivory);
    background: #EFE5D0;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.yr-era-ava:first-child { margin-left: 0; }
.yr-era-ava img { width: 100%; height: 100%; object-fit: cover; }
.yr-era-ava i {
    font-style: normal; font-family: var(--yr-serif);
    font-size: 12px; color: var(--yr-gold);
}
.yr-era-more {
    flex: none;
    box-sizing: border-box;
    width: 26px; height: 26px;
    margin-left: -8px;
    border-radius: 50%;
    border: 2px solid var(--yr-ivory);
    background: var(--yr-gold);
    color: #FFF9EC;
    font-size: 10px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
}
.yr-era-todo {
    font-size: 11px; letter-spacing: 3px;
    color: #C3B89E;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px dashed #D8CCB0;
}
a.yr-era.is-empty { background: #FAF6EC; box-shadow: none; }

/* ---------- 02 学术流谱 ---------- */
.yr-tags {
    display: flex; flex-wrap: wrap;
    gap: 13px 14px;
    align-items: center;
}
/* 学派标签：全区域统一奶油胶囊（原 is-md 样式），不再按数量分级 */
.yr-tag {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--yr-cream);
    color: #78602E;
    transition: transform .3s ease, box-shadow .3s ease;
}
.yr-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(168, 135, 63, .18);
}
.yr-tag-name { white-space: nowrap; font-size: 14px; letter-spacing: 1px; }
.yr-tag-n {
    font-style: normal;
    font-family: Georgia, serif;
    font-size: 11px; font-weight: 700;
    border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 22px; height: 22px; padding: 0 6px;
    background: rgba(168, 135, 63, .16);
    color: var(--yr-gold);
}

/* ---------- 03 名医双榜 ---------- */
.yr-ranks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}
.yr-rank {
    margin: 0; padding: 30px 26px 20px;
    border-radius: 24px;
    background: var(--yr-ivory);
    box-shadow: var(--yr-shadow);
}
.yr-rank-head {
    display: flex; align-items: baseline; gap: 12px;
    margin: 0 6px 16px; padding-bottom: 16px;
    border-bottom: 1px dashed var(--yr-line);
}
.yr-rank-head h3 {
    margin: 0;
    font-family: var(--yr-serif);
    font-size: 19px; font-weight: 700; letter-spacing: 3px;
    color: var(--yr-ink);
}
.yr-rank-head h3 i { margin-right: 8px; font-size: 15px; color: #C0502E; }
.yr-rank-head2 h3 i { color: var(--yr-gold); }
.yr-rank-head span {
    margin-left: auto;
    font-size: 10px; letter-spacing: 3px; color: var(--yr-faint);
}
a.yr-row {
    display: flex; align-items: center; gap: 14px;
    padding: 11px 12px;
    border-radius: 16px;
    text-decoration: none; color: var(--yr-ink);
    transition: background .25s ease, transform .25s ease;
}
a.yr-row:hover { background: #F8F1E1; transform: translateX(5px); }
.yr-row-no {
    flex: none;
    width: 26px; text-align: center;
    font-family: Georgia, serif;
    font-size: 19px; font-weight: 700;
    color: #D9CBA8;
}
.yr-rank > a:nth-child(2) .yr-row-no,
.yr-rank > a:nth-child(3) .yr-row-no { color: var(--yr-gold2); }
.yr-row-ava {
    flex: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: #EFE5D0;
    display: flex; align-items: center; justify-content: center;
}
.yr-row-ava img { width: 100%; height: 100%; object-fit: cover; }
.yr-row-ava i {
    font-style: normal; font-family: var(--yr-serif);
    font-size: 18px; color: var(--yr-gold);
}
.yr-row-main {
    flex: 1 1 auto; min-width: 0;
    display: block;
}
.yr-row-name {
    display: block;
    font-size: 15.5px; letter-spacing: 1px;
    color: var(--yr-ink); font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yr-row-name em {
    font-style: normal;
    margin-left: 8px; padding: 2px 9px;
    border-radius: 999px;
    background: var(--yr-cream);
    color: #876A2F;
    font-size: 10.5px; font-weight: 400; letter-spacing: 1px;
    vertical-align: 2px;
}
.yr-row-meta {
    display: block; margin-top: 4px;
    font-size: 12px; color: var(--yr-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yr-row-hits {
    flex: none;
    font-size: 12.5px; color: var(--yr-muted);
    white-space: nowrap;
}
.yr-row-hits i { margin-right: 5px; color: var(--yr-gold2); }
.yr-row-go {
    flex: none;
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--yr-faint);
    transition: background .3s ease, color .3s ease;
}
a.yr-row:hover .yr-row-go { background: var(--yr-gold); color: #FFF9EC; }

/* ---------- 终卷 CTA（全页唯一深色重色块） ---------- */
.yr-cta {
    position: relative;
    margin-top: 58px;
    padding: 78px 60px 74px;
    border-radius: 30px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(155deg, #2C2721, #1B1713);
    box-shadow: 0 34px 70px rgba(33, 29, 24, .28);
}
.yr-cta::before {
    content: "醫";
    position: absolute; right: 36px; top: -40px;
    font-family: var(--yr-serif);
    font-size: 230px; font-weight: 700; line-height: 1;
    color: rgba(194, 160, 98, .08);
    pointer-events: none;
}
.yr-cta::after {
    content: ""; position: absolute;
    left: -80px; bottom: -120px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(194, 160, 98, .14), transparent 70%);
    pointer-events: none;
}
.yr-cta-index {
    position: relative; z-index: 1;
    display: block; margin-bottom: 26px;
    font-size: 10.5px; letter-spacing: 6px;
    color: rgba(224, 197, 139, .8);
}
.yr-cta-title {
    position: relative; z-index: 1;
    margin: 0 0 38px;
    font-family: var(--yr-serif);
    font-size: 36px; font-weight: 700;
    line-height: 1.75; letter-spacing: 6px;
    color: #F4EDDD;
}
.yr-cta .yr-btn { position: relative; z-index: 1; }

/* ---------- 卷尾 · 跋（页面收尾，承接终卷 CTA） ---------- */
.yr-coda {
    position: relative;
    margin-top: 60px;
    padding: 0 40px;
    text-align: center;
}
.yr-coda-mark { margin: 0 0 28px; }
.yr-coda-mark span {
    display: inline-flex; align-items: center;
    padding: 7px 22px;
    border: 1px solid rgba(168, 135, 63, .42);
    border-radius: 999px;
    background: rgba(255, 253, 248, .7);
    font-size: 11px; letter-spacing: 5px; text-indent: 5px;
    color: var(--yr-gold);
}
.yr-coda-quote {
    max-width: none; margin: 0 auto;
    white-space: nowrap;
    font-family: var(--yr-serif);
    font-size: 19px; line-height: 2.1; letter-spacing: 2.5px;
    color: var(--yr-ink2);
}
.yr-coda-src {
    margin: 14px 0 0;
    font-size: 12.5px; letter-spacing: 2.5px;
    color: var(--yr-muted);
}
.yr-coda-stats {
    list-style: none;
    display: flex; flex-wrap: wrap; justify-content: center;
    margin: 34px 0 0; padding: 32px 0 0;
    border-top: 1px solid var(--yr-line);
}
.yr-coda-stats li {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 0 36px;
    border-left: 1px solid var(--yr-line);
}
.yr-coda-stats li:first-child { border-left: 0; }
.yr-coda-stats b {
    font-family: Georgia, "SimSun", serif;
    font-size: 30px; font-weight: 700; line-height: 1;
    color: var(--yr-gold);
}
.yr-coda-stats i {
    font-style: normal;
    font-size: 12px; letter-spacing: 2px; white-space: nowrap;
    color: var(--yr-muted);
}
.yr-coda-nav {
    margin-top: 32px;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px;
}
.yr-coda-nav a {
    font-size: 13.5px; letter-spacing: 3px;
    color: var(--yr-muted);
    text-decoration: none;
    transition: color .3s ease;
}
.yr-coda-nav a:hover { color: var(--yr-gold); }
@media (max-width: 760px) {
    .yr-coda { padding: 0 8px; }
    .yr-coda-quote { font-size: 16px; letter-spacing: 1.5px; white-space: normal; }
    .yr-coda-stats li { padding: 0 18px; }
    .yr-coda-stats b { font-size: 24px; }
}

/* ============================================================
   v9.1 增强：统计数字动效 / 今日有缘 / 卡片化双榜
   ============================================================ */

/* ---------- Hero 四组数字：错峰入场 + 金墨流光 ---------- */
.yr-hero-stats b.yr-stat-num { overflow: visible; }
.yr-stat-fig {
    display: inline-block;
    background-image: linear-gradient(100deg,
        var(--yr-ink) 0%, var(--yr-ink) 32%,
        var(--yr-gold) 50%,
        var(--yr-ink) 68%, var(--yr-ink) 100%);
    background-size: 260% 100%;
    background-position: 120% 0;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: yr-fig-in .9s cubic-bezier(.22,.8,.3,1) both,
              yr-fig-sheen 7s ease-in-out 1.1s infinite;
    animation-delay: var(--d, 0s), calc(var(--d, 0s) + 1.1s);
    will-change: transform, filter, background-position;
}
@keyframes yr-fig-in {
    0%   { opacity: 0; transform: translateY(22px) scale(.92); filter: blur(10px); }
    60%  { opacity: 1; filter: blur(0); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes yr-fig-sheen {
    0%, 55%  { background-position: 120% 0; }
    82%, 100% { background-position: -30% 0; }
}
.yr-hero-stats li { overflow: visible; }
.yr-hero-stats li::after {
    content: ""; position: absolute; left: 0; bottom: -12px;
    width: 42px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--yr-gold), rgba(194,160,98,0));
    transform: scaleX(0); transform-origin: left;
    animation: yr-line-grow .8s cubic-bezier(.22,.8,.3,1) both;
    animation-delay: calc(var(--d, 0s) + .35s);
}
.yr-hero-stats li:nth-child(1)::after { --d: 0s; }
.yr-hero-stats li:nth-child(2)::after { --d: .12s; }
.yr-hero-stats li:nth-child(3)::after { --d: .24s; }
.yr-hero-stats li:nth-child(4)::after { --d: .36s; }
@keyframes yr-line-grow { to { transform: scaleX(1); } }
.yr-hero-stats li:hover .yr-stat-fig {
    transform: translateY(-3px) scale(1.08);
    transition: transform .35s cubic-bezier(.22,.8,.3,1);
}
@media (prefers-reduced-motion: reduce) {
    .yr-stat-fig, .yr-hero-stats li::after { animation: none; }
    .yr-stat-fig { -webkit-text-fill-color: var(--yr-ink); background: none; }
}

/* ---------- 今日有缘 ---------- */
.yr-flag-luck {
    background: linear-gradient(135deg, var(--yr-gold2), var(--yr-gold));
    box-shadow: 0 8px 20px rgba(168,135,63,.32);
}
.yr-flag-luck i { margin-right: 7px; font-size: 11px; }
.yr-feature-lot {
    display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
    margin: 2px 0 14px;
    font-size: 12px; letter-spacing: 1.5px;
    color: #9C8356;
}
.yr-feature-lot i { color: var(--yr-gold2); margin-right: 6px; font-size: 12px; }
.yr-luck-seal {
    position: absolute; z-index: 4;
    left: calc(50% + 62px); top: calc(50% + 62px);
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--yr-serif); font-size: 26px; color: #FFF9EC;
    background: linear-gradient(150deg, var(--yr-gold2), var(--yr-gold));
    border: 3px solid #FFFDF6;
    box-shadow: 0 6px 18px rgba(168,135,63,.45);
    animation: yr-seal-in .8s cubic-bezier(.22,.8,.3,1) .5s both,
              yr-seal-breath 3.2s ease-in-out 1.4s infinite;
}
@keyframes yr-seal-in {
    0% { opacity: 0; transform: scale(.4); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes yr-seal-breath {
    0%, 100% { box-shadow: 0 6px 18px rgba(168,135,63,.45); }
    50% { box-shadow: 0 6px 26px rgba(194,160,98,.7); }
}
@media (prefers-reduced-motion: reduce) {
    .yr-luck-seal { animation: none; }
}

/* ---------- 03 卡片化双榜 ---------- */
.yr-boards { display: flex; flex-direction: column; gap: 26px; }
.yr-board {
    margin: 0; padding: 26px 28px 30px;
    border-radius: 26px;
    background: var(--yr-ivory);
    box-shadow: var(--yr-shadow);
}
.yr-board .yr-rank-head { margin: 0 2px 4px; padding-bottom: 18px; }
.yr-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}
a.yr-card {
    position: relative;
    display: flex; flex-direction: column;
    min-width: 0;
    padding: 22px 22px 18px;
    border-radius: 20px;
    background: linear-gradient(165deg, #FFFDF7 0%, #FBF5E8 100%);
    border: 1px solid rgba(207,196,172,.55);
    text-decoration: none; color: var(--yr-ink);
    overflow: hidden;
    transition: transform .3s cubic-bezier(.22,.8,.3,1), box-shadow .3s ease, border-color .3s ease;
}
a.yr-card::before {
    content: ""; position: absolute; right: -40px; top: -46px;
    width: 130px; height: 130px; border-radius: 50%;
    background: radial-gradient(circle, rgba(194,160,98,.16), transparent 68%);
    opacity: 0; transition: opacity .35s ease;
    pointer-events: none;
}
a.yr-card::after {
    content: ""; position: absolute; left: 22px; right: 22px; top: 0;
    height: 2.5px; border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--yr-gold2), var(--yr-gold));
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s cubic-bezier(.22,.8,.3,1);
}
a.yr-card:hover {
    transform: translateY(-6px);
    border-color: rgba(194,160,98,.75);
    box-shadow: 0 20px 38px rgba(84,66,32,.14);
}
a.yr-card:hover::before { opacity: 1; }
a.yr-card:hover::after { transform: scaleX(1); }
.yr-card-no {
    position: absolute; right: 16px; top: 10px;
    font-family: Georgia, serif; font-size: 30px; font-weight: 700;
    color: rgba(194,160,98,.28); line-height: 1;
}
.yr-cards > a:nth-child(1) .yr-card-no,
.yr-cards > a:nth-child(2) .yr-card-no,
.yr-cards > a:nth-child(3) .yr-card-no { color: rgba(168,135,63,.75); }
.yr-card-ava {
    position: relative;
    width: 56px; height: 56px; border-radius: 50%;
    overflow: hidden; margin-bottom: 14px;
    background: linear-gradient(150deg, #EFE0C2, #E2CF9F);
    border: 2px solid #FFFDF7;
    box-shadow: 0 6px 14px rgba(168,135,63,.22);
    display: flex; align-items: center; justify-content: center;
    transition: transform .3s ease;
}
a.yr-card:hover .yr-card-ava { transform: scale(1.06) rotate(-3deg); }
.yr-card-ava img { width: 100%; height: 100%; object-fit: cover; }
.yr-card-ava i {
    font-style: normal; font-family: var(--yr-serif);
    font-size: 26px; color: #FFF9EC;
}
.yr-card-name {
    font-size: 16.5px; font-weight: 700; letter-spacing: 1px;
    color: var(--yr-ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yr-card-name em {
    font-style: normal;
    margin-left: 8px; padding: 2px 9px;
    border-radius: 999px;
    background: var(--yr-cream);
    color: #876A2F;
    font-size: 10.5px; font-weight: 400; letter-spacing: 1px;
    vertical-align: 2px;
}
.yr-card-meta {
    margin-top: 6px;
    font-size: 12.5px; color: var(--yr-muted); letter-spacing: .5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yr-card-foot {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 16px; padding-top: 12px;
    border-top: 1px dashed var(--yr-line);
}
.yr-card-stat {
    font-size: 12px; color: var(--yr-muted); letter-spacing: 1px;
}
.yr-card-stat i { font-style: normal; margin-right: 5px; color: var(--yr-gold2); }
.yr-card-new { color: var(--yr-gold); font-weight: 700; letter-spacing: 2px; display: inline-flex; align-items: center; }
.yr-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--yr-gold); margin-right: 7px;
    animation: yr-dot-pulse 1.8s ease-in-out infinite;
}
@keyframes yr-dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(194,160,98,.45); }
    50% { box-shadow: 0 0 0 6px rgba(194,160,98,0); }
}
.yr-card-go {
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: var(--yr-faint);
    transition: background .3s ease, color .3s ease;
}
a.yr-card:hover .yr-card-go { background: var(--yr-gold); color: #FFF9EC; }
@media (prefers-reduced-motion: reduce) {
    a.yr-card, a.yr-card::before, a.yr-card::after, .yr-card-ava, .yr-dot { transition: none; animation: none; }
}

/* ============================================================
   v9.2 增强：统计数字加大 / 名医搜索框 / 卡片信息密排
   ============================================================ */

/* ---------- Hero 数字加大、左右列上下平齐 ---------- */
.yr-hero-r { min-width: 0; display: flex; flex-direction: column; }
.yr-hero-stats { flex: 1; gap: 0 28px; align-content: space-between; }
.yr-hero-stats b.yr-stat-num { font-size: 88px; line-height: 1.04; letter-spacing: -2px; }
.yr-hero-stats b.yr-stat-num .yr-stat-fig { font-size: inherit; }

/* ---------- 名医搜索框（紧凑胶囊） ---------- */
.yr-search {
    position: relative; z-index: 2;
    display: flex; align-items: center;
    margin-top: 40px;
    height: 56px;
    border-radius: 999px;
    background: rgba(255, 253, 246, .94);
    border: 1px solid rgba(194, 160, 98, .45);
    box-shadow: 0 14px 34px rgba(120, 92, 40, .12);
    transition: border-color .25s ease, box-shadow .25s ease;
}
.yr-search:focus-within {
    border-color: var(--yr-gold);
    box-shadow: 0 14px 38px rgba(168, 135, 63, .24);
}
.yr-search-ico {
    flex: none;
    margin-left: 24px;
    font-size: 15px; color: var(--yr-gold);
}
.yr-search-input {
    flex: 1; min-width: 0;
    margin: 0 10px 0 12px;
    border: 0; outline: 0; background: transparent;
    font-family: var(--yr-serif); font-size: 14px;
    color: var(--yr-ink); letter-spacing: 1px;
}
.yr-search-input::placeholder { color: #A99B80; letter-spacing: 1px; }
.yr-search-btn {
    flex: none; align-self: stretch;
    margin: 5px;
    padding: 0 30px;
    border: 0; border-radius: 999px; cursor: pointer;
    background: linear-gradient(135deg, var(--yr-gold2), var(--yr-gold));
    color: #FFF9EC;
    font-family: var(--yr-serif); font-size: 16px; letter-spacing: 5px;
    box-shadow: 0 8px 18px rgba(168, 135, 63, .35);
    transition: filter .25s ease;
}
.yr-search-btn:hover { filter: brightness(1.08); }

/* ---------- 卡片：信息密排 ---------- */
.yr-card { padding: 20px 22px 15px; }
.yr-card-top {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 13px; padding-right: 38px;
}
.yr-card-ava { width: 62px; height: 62px; margin-bottom: 0; }
.yr-card-ava i { font-size: 28px; }
.yr-card-id { flex: 1; min-width: 0; }
.yr-card-name { display: block; }
.yr-card-years {
    display: block;
    margin-top: 6px;
    font-size: 11.5px; letter-spacing: 1px;
    color: var(--yr-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yr-card-line {
    display: flex; align-items: center; gap: 8px;
    margin-top: 7px;
    font-size: 12.5px; line-height: 1.5;
    color: var(--yr-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yr-card-line > i {
    flex: none; width: 17px; text-align: center;
    font-size: 12px; color: var(--yr-gold2);
}
.yr-card-line b {
    flex: none;
    font-weight: 600; font-size: 11px; letter-spacing: 2px;
    color: #9C8356;
}
.yr-card-foot { margin-top: auto; }

/* ---------- 搜索结果页（医谱寻踪） ---------- */
.yr-search-page { margin: 0 0 20px; max-width: 660px; }
.yj-sresult {
    margin: 0 0 26px;
    font-size: 13.5px; letter-spacing: 1px;
    color: var(--yr-muted);
}
.yj-sresult b {
    margin: 0 2px;
    font-family: Georgia, serif; font-size: 18px; font-weight: 700;
    color: var(--yr-gold);
}
.yj-hotwords {
    display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
    margin: 0 0 42px;
    font-size: 12.5px; letter-spacing: 1px;
    color: var(--yr-faint);
}
.yj-hotwords i { margin-right: 5px; color: var(--yr-gold2); }
a.yj-hotword {
    padding: 5px 16px;
    border-radius: 999px;
    background: var(--yr-cream);
    color: #876A2F;
    text-decoration: none;
    transition: background .25s ease, color .25s ease;
}
a.yj-hotword:hover { background: var(--yr-gold); color: #FFF9EC; }
.yn-chronicle mark {
    background: rgba(194, 160, 98, .30);
    color: inherit;
    padding: 0 2px; border-radius: 3px;
}

/* ============================================================
   v9.4 灵动：今日有缘·金印档案（纯 CSS / 零 JS / 无旋转）
   金印流光 / 金尘上浮 / 标签流光 / 签符摇摆 /
   卡片弹起 / 按钮扫光
   ============================================================ */

/* ---------- 整卡：轻入场 + 悬停托起（入场走 transform，悬停走独立 translate，避免 fill 覆盖） ---------- */
.yr-feature-luck {
    animation: yr-feature-in .9s cubic-bezier(.22,.8,.3,1) both;
    transition: translate .5s cubic-bezier(.22,.8,.3,1), box-shadow .5s ease;
}
.yr-feature-luck:hover {
    translate: 0 -5px;
    box-shadow: 0 42px 84px rgba(120, 90, 40, .18);
}
@keyframes yr-feature-in {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* 右上暖光晕：缓慢呼吸漂移 */
.yr-feature-wash { animation: yr-wash-drift 9s ease-in-out infinite; }
@keyframes yr-wash-drift {
    0%, 100% { opacity: .7; transform: translate(0, 0) scale(1); }
    50%      { opacity: 1;  transform: translate(-18px, 14px) scale(1.12); }
}

/* ---------- 静态金印：盘面流光斜扫（无旋转） ---------- */
.yr-feature-disc {
    transition: box-shadow .5s ease;
}
.yr-feature-luck:hover .yr-feature-disc {
    box-shadow: 0 24px 46px rgba(120, 90, 40, .32), inset 0 0 0 6px rgba(255, 253, 248, .95);
}
.yr-feature-disc::before {
    content: ""; position: absolute; top: -45%; left: -70%;
    width: 52%; height: 190%;
    background: linear-gradient(100deg, transparent, rgba(255, 252, 240, .4), transparent);
    transform: skewX(-18deg);
    animation: yr-disc-sheen 5.4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes yr-disc-sheen {
    0%, 55% { left: -70%; }
    100%    { left: 135%; }
}
/* 盘面顶部玻璃高光 */
.yr-feature-disc::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: radial-gradient(circle at 32% 25%, rgba(255, 255, 255, .33), rgba(255, 255, 255, 0) 46%);
    pointer-events: none;
}
.yr-sealchar { transition: transform .5s cubic-bezier(.34, 1.56, .4, 1); }
.yr-feature-luck:hover .yr-sealchar { transform: scale(1.08); }

/* ---------- DAILY PICK 金色标签：流光往复 ---------- */
.yr-flag-luck { position: relative; overflow: hidden; }
.yr-flag-luck::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent);
    animation: yr-tag-shine 3.4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes yr-tag-shine {
    0%, 55% { transform: translateX(-170%) skewX(-14deg); }
    100%    { transform: translateX(380%) skewX(-14deg); }
}

/* ---------- 签文小符：轻轻摇摆 ---------- */
.yr-feature-lot i { animation: yr-ico-wiggle 2.6s ease-in-out infinite; }
@keyframes yr-ico-wiggle {
    0%, 100% { transform: rotate(-10deg); }
    50%      { transform: rotate(12deg); }
}

/* ---------- 名讳：悬停字距微展 + 金线抽出 ---------- */
.yr-feature-name {
    position: relative;
    transition: letter-spacing .5s ease;
}
.yr-feature-name::after {
    content: ""; position: absolute; left: 2px; bottom: -7px;
    width: 2.2em; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--yr-gold2), transparent);
    transform: scaleX(0); transform-origin: left;
    transition: transform .5s cubic-bezier(.22,.8,.3,1);
}
.yr-feature-luck:hover .yr-feature-name { letter-spacing: 8px; }
.yr-feature-luck:hover .yr-feature-name::after { transform: scaleX(1); }

/* ---------- 引言卡：悬停提亮、左金条滑入（预留同宽透明边防位移） ---------- */
.yr-feature-quote {
    border-left: 2px solid transparent;
    transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.yr-feature-luck:hover .yr-feature-quote {
    background: rgba(255, 255, 255, .86);
    border-left-color: var(--yr-gold2);
    box-shadow: 0 10px 24px rgba(120, 90, 40, .08);
}
.yr-feature-qm {
    display: inline-block;
    transition: transform .5s cubic-bezier(.34, 1.56, .4, 1);
}
.yr-feature-luck:hover .yr-feature-qm { transform: scale(1.25) rotate(-6deg); }

/* ---------- 里籍/流派/著述 三卡：错峰弹起 ---------- */
.yr-feature-facts div {
    transition: transform .4s cubic-bezier(.22,.8,.3,1), background .4s ease, box-shadow .4s ease;
}
.yr-feature-facts div:nth-child(2) { transition-delay: .05s; }
.yr-feature-facts div:nth-child(3) { transition-delay: .1s; }
.yr-feature-facts div:hover {
    transform: translateY(-4px);
    background: #FFFDF7;
    box-shadow: 0 12px 22px rgba(120, 90, 40, .12);
}
.yr-feature-facts dt { transition: color .3s ease; }
.yr-feature-facts div:hover dt { color: var(--yr-gold); }

/* ---------- 阅读列传：按钮扫光 ---------- */
.yr-feature-body a.yr-btn-primary { position: relative; overflow: hidden; }
.yr-feature-body a.yr-btn-primary::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 42%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: translateX(-180%) skewX(-14deg);
}
.yr-feature-body a.yr-btn-primary:hover::before {
    transition: transform .75s ease;
    transform: translateX(390%) skewX(-14deg);
}

/* ---------- 漂浮金尘（3 点，错峰上浮） ---------- */
.yr-float-dot {
    position: absolute; border-radius: 50%;
    pointer-events: none; z-index: 2;
    background: radial-gradient(circle, #F3E2B0 0%, rgba(194, 160, 98, 0) 70%);
    opacity: 0;
    animation: yr-dust-rise 7.5s ease-in infinite;
}
.yr-float-dot.d1 { width: 12px; height: 12px; left: 64%; bottom: 12%; }
.yr-float-dot.d2 { width: 8px;  height: 8px;  right: 9%; top: 22%; animation-delay: 2.4s; animation-duration: 9s; }
.yr-float-dot.d3 { width: 10px; height: 10px; left: 60%; top: 9%;  animation-delay: 4.4s; animation-duration: 10s; }
@keyframes yr-dust-rise {
    0%   { opacity: 0; transform: translate(0, 12px) scale(.6); }
    15%  { opacity: .9; }
    70%  { opacity: .6; }
    100% { opacity: 0; transform: translate(16px, -82px) scale(1.1); }
}

/* ---------- 减少动态偏好：全部静默化 ---------- */
@media (prefers-reduced-motion: reduce) {
    .yr-feature-luck,
    .yr-feature-wash,
    .yr-feature-disc::before,
    .yr-flag-luck::after,
    .yr-feature-lot i,
    .yr-float-dot { animation: none !important; }
    .yr-feature-luck,
    .yr-luck-seal,
    .yr-feature-name,
    .yr-feature-quote,
    .yr-feature-qm,
    .yr-feature-facts div,
    .yr-sealchar,
    .yr-feature-disc { transition: none !important; }
    .yr-float-dot { display: none; }
}
