/* ============================================================
   专题专区 · 一二三级页面合并样式
   cover_topic.html  (topic_cover)    一级栏目封面页
   list_topic.html   (topic_list)     二级子栏目列表页
   show_topic.html   (topic_detail)   三级内容详情页
   ============================================================ */

/* ============ 通用（三页共用 body 基础） ============ */
body.topic_cover,
body.topic_list,
body.topic_detail {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: #F5F0E8;
    color: #2D2A26;
    line-height: 1.8;
    padding-top: 80px;
}
@media (max-width: 1024px) {
    body.topic_cover,
    body.topic_list,
    body.topic_detail { padding-top: 64px; }
}

/* ============ Hero 区（三页共用：深色金棕色调） ============ */
body.topic_cover .topic-hero,
body.topic_list .topic-hero,
body.topic_detail .topic-hero {
    background: linear-gradient(135deg, #3D352B 0%, #4A3F33 50%, #3D352B 100%);
    color: #F5F0E8;
    position: relative;
    overflow: hidden;
}
body.topic_cover .topic-hero::before,
body.topic_list .topic-hero::before,
body.topic_detail .topic-hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 18% 28%, rgba(196,163,90,0.16) 0%, transparent 52%),
        radial-gradient(circle at 82% 72%, rgba(155,59,46,0.12) 0%, transparent 50%);
}
/* 装饰性纹理（细网格） */
body.topic_cover .topic-hero::after,
body.topic_list .topic-hero::after,
body.topic_detail .topic-hero::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(245,240,232,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245,240,232,0.03) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}
body.topic_cover .topic-hero-content,
body.topic_list .topic-hero-content,
body.topic_detail .topic-hero-content { position: relative; z-index: 1; }

/* Hero h1 字号：封面/详情较大，列表略小 */
body.topic_cover .topic-hero h1,
body.topic_detail .topic-hero h1 {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.25;
    color: #F5F0E8;
}
body.topic_list .topic-hero h1 {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    color: #F5F0E8;
}

body.topic_cover .hero-accent-line,
body.topic_list .hero-accent-line,
body.topic_detail .hero-accent-line {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, #C4A35A, #9B3B2E);
    margin: 1rem 0;
}
/* 装饰性印章/徽记 */
body.topic_cover .hero-seal,
body.topic_list .hero-seal,
body.topic_detail .hero-seal {
    width: 84px; height: 84px;
    border: 2px solid rgba(196,163,90,0.55);
    border-radius: 0.5rem;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-family: 'Noto Serif SC', serif;
    color: #C4A35A;
    transform: rotate(-4deg);
    position: relative;
    flex-shrink: 0;
    background: rgba(196,163,90,0.05);
}
body.topic_cover .hero-seal::before,
body.topic_list .hero-seal::before,
body.topic_detail .hero-seal::before {
    content: ''; position: absolute; inset: 5px;
    border: 1px solid rgba(196,163,90,0.35);
    border-radius: 0.3rem;
}
body.topic_cover .hero-seal .seal-char,
body.topic_list .hero-seal .seal-char,
body.topic_detail .hero-seal .seal-char { font-size: 1.5rem; font-weight: 700; line-height: 1; }
body.topic_cover .hero-seal .seal-label,
body.topic_list .hero-seal .seal-label,
body.topic_detail .hero-seal .seal-label { font-size: 0.625rem; letter-spacing: 0.15em; margin-top: 0.25rem; opacity: 0.85; }

body.topic_cover .hero-breadcrumb a,
body.topic_list .hero-breadcrumb a,
body.topic_detail .hero-breadcrumb a { color: rgba(245,240,232,0.7); transition: color 0.2s; }
body.topic_cover .hero-breadcrumb a:hover,
body.topic_list .hero-breadcrumb a:hover,
body.topic_detail .hero-breadcrumb a:hover { color: #C4A35A; }
body.topic_cover .hero-desc,
body.topic_list .hero-desc,
body.topic_detail .hero-desc { color: rgba(245,240,232,0.82); }

/* ============ 章节标题（三页共用） ============ */
body.topic_cover .section-title-wrap,
body.topic_list .section-title-wrap,
body.topic_detail .section-title-wrap { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
body.topic_cover .section-title,
body.topic_list .section-title,
body.topic_detail .section-title { font-family: 'Noto Serif SC', serif; font-size: 1.5rem; font-weight: 700; color: #2D2A26; display: flex; align-items: center; gap: 0.625rem; }
body.topic_cover .section-title::before,
body.topic_list .section-title::before,
body.topic_detail .section-title::before {
    content: ''; display: block; width: 4px; height: 1.25rem;
    background: linear-gradient(180deg, #9B3B2E, #C4A35A); border-radius: 2px;
}
@media (min-width: 1024px) {
    body.topic_cover .section-title,
    body.topic_list .section-title,
    body.topic_detail .section-title { font-size: 1.875rem; }
    body.topic_cover .section-title::before,
    body.topic_list .section-title::before,
    body.topic_detail .section-title::before { height: 1.5rem; }
}
body.topic_cover .more-link,
body.topic_list .more-link,
body.topic_detail .more-link { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; color: #5C5449; transition: color 0.2s; }
body.topic_cover .more-link:hover,
body.topic_list .more-link:hover,
body.topic_detail .more-link:hover { color: #9B3B2E; }

/* ============ 卷宗卡片 dossier-card（三页共用） ============ */
body.topic_cover .dossier-card,
body.topic_list .dossier-card,
body.topic_detail .dossier-card {
    background: #fff;
    border: 1px solid #D4C9B8;
    border-radius: 0.5rem;
    padding: 1.25rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    display: block;
    text-decoration: none;
}
body.topic_cover .dossier-card::before,
body.topic_list .dossier-card::before,
body.topic_detail .dossier-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--dossier-color, #9B3B2E);
    transition: width 0.3s ease;
}
body.topic_cover .dossier-card:hover,
body.topic_list .dossier-card:hover,
body.topic_detail .dossier-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(45,42,38,0.10);
}
body.topic_cover .dossier-card:hover::before,
body.topic_list .dossier-card:hover::before,
body.topic_detail .dossier-card:hover::before { width: 8px; }
body.topic_cover .dossier-number,
body.topic_list .dossier-number,
body.topic_detail .dossier-number {
    font-family: 'Noto Serif SC', serif;
    font-size: 0.7rem;
    color: #B8A58B;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
body.topic_cover .dossier-icon-box,
body.topic_list .dossier-icon-box,
body.topic_detail .dossier-icon-box {
    width: 44px; height: 44px;
    border: 1.5px solid var(--dossier-color, #9B3B2E);
    border-radius: 0.375rem;
    display: flex; align-items: center; justify-content: center;
    color: var(--dossier-color, #9B3B2E);
    margin-bottom: 0.75rem;
}
body.topic_cover .dossier-title,
body.topic_list .dossier-title,
body.topic_detail .dossier-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.0625rem; font-weight: 700;
    color: #2D2A26; margin-bottom: 0.5rem;
}
body.topic_cover .dossier-divider,
body.topic_list .dossier-divider,
body.topic_detail .dossier-divider {
    border-top: 1px dashed #D4C9B8;
    margin: 0.75rem 0;
}
body.topic_cover .dossier-footer,
body.topic_list .dossier-footer,
body.topic_detail .dossier-footer {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.75rem; color: #8B7355;
}
body.topic_cover .dossier-footer .dossier-count,
body.topic_list .dossier-footer .dossier-count,
body.topic_detail .dossier-footer .dossier-count {
    font-family: 'Noto Serif SC', serif; font-weight: 700;
    color: var(--dossier-color, #9B3B2E);
}
body.topic_cover .dossier-footer .dossier-enter,
body.topic_list .dossier-footer .dossier-enter,
body.topic_detail .dossier-footer .dossier-enter {
    display: inline-flex; align-items: center; gap: 0.25rem;
    transition: gap 0.2s;
}
body.topic_cover .dossier-card:hover .dossier-enter,
body.topic_list .dossier-card:hover .dossier-enter,
body.topic_detail .dossier-card:hover .dossier-enter { gap: 0.4rem; color: var(--dossier-color, #9B3B2E); }

/* 详情页 dossier-summary */
body.topic_detail .dossier-summary { font-size: 0.8125rem; color: #5C5449; line-height: 1.7; margin-bottom: 0.5rem; }

/* ============ 研究条目 research-entry（三页共用） ============ */
body.topic_cover .research-entry,
body.topic_list .research-entry,
body.topic_detail .research-entry {
    display: flex; gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px dashed #D4C9B8;
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
}
body.topic_cover .research-entry:last-child,
body.topic_list .research-entry:last-child,
body.topic_detail .research-entry:last-child { border-bottom: none; }
body.topic_cover .research-entry:hover,
body.topic_list .research-entry:hover,
body.topic_detail .research-entry:hover { background: rgba(245,240,232,0.5); }
body.topic_cover .research-entry-num,
body.topic_list .research-entry-num,
body.topic_detail .research-entry-num {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.75rem; font-weight: 700;
    color: #D4C9B8;
    line-height: 1; flex-shrink: 0;
    width: 48px; text-align: center;
    transition: color 0.25s ease;
    padding-top: 0.125rem;
}
body.topic_cover .research-entry:hover .research-entry-num,
body.topic_list .research-entry:hover .research-entry-num,
body.topic_detail .research-entry:hover .research-entry-num { color: var(--entry-color, #9B3B2E); }
body.topic_cover .research-entry-content,
body.topic_list .research-entry-content,
body.topic_detail .research-entry-content { flex: 1; min-width: 0; }
body.topic_cover .research-entry-tag,
body.topic_list .research-entry-tag,
body.topic_detail .research-entry-tag {
    display: inline-flex; align-items: center; gap: 0.25rem;
    padding: 0.125rem 0.625rem;
    border-radius: 0.25rem;
    font-size: 0.7rem; font-weight: 600;
    margin-bottom: 0.5rem;
}
body.topic_cover .research-entry-title,
body.topic_list .research-entry-title,
body.topic_detail .research-entry-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.0625rem; font-weight: 600;
    color: #2D2A26; line-height: 1.5;
    margin-bottom: 0.375rem;
    transition: color 0.2s;
}
body.topic_cover .research-entry:hover .research-entry-title,
body.topic_list .research-entry:hover .research-entry-title,
body.topic_detail .research-entry:hover .research-entry-title { color: var(--entry-color, #9B3B2E); }
body.topic_cover .research-entry-summary,
body.topic_list .research-entry-summary,
body.topic_detail .research-entry-summary {
    font-size: 0.8125rem; color: #5C5449;
    line-height: 1.7;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
body.topic_cover .research-entry-meta,
body.topic_list .research-entry-meta,
body.topic_detail .research-entry-meta {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.7rem; color: #8B7355;
    margin-top: 0.5rem;
}
body.topic_cover .research-entry-meta .meta-item,
body.topic_list .research-entry-meta .meta-item,
body.topic_detail .research-entry-meta .meta-item { display: inline-flex; align-items: center; gap: 0.25rem; }

/* 响应式 research-entry */
@media (max-width: 768px) {
    body.topic_cover .research-entry,
    body.topic_list .research-entry,
    body.topic_detail .research-entry { gap: 0.875rem; padding: 1rem 0; }
    body.topic_cover .research-entry-num,
    body.topic_list .research-entry-num,
    body.topic_detail .research-entry-num { font-size: 1.4rem; width: 38px; }
}

/* ============ 系列专题书脊卡（三页共用：封面/列表有） ============ */
body.topic_cover .series-list,
body.topic_list .series-list,
body.topic_detail .series-list { display: flex; flex-direction: column; gap: 0.875rem; }
body.topic_cover .series-spine,
body.topic_list .series-spine,
body.topic_detail .series-spine {
    display: flex; align-items: stretch;
    background: #fff; border: 1px solid #D4C9B8; border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.25s ease;
    text-decoration: none;
}
body.topic_cover .series-spine:hover,
body.topic_list .series-spine:hover,
body.topic_detail .series-spine:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 18px rgba(45,42,38,0.08);
}
body.topic_cover .spine-side,
body.topic_list .spine-side,
body.topic_detail .spine-side {
    width: 56px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    writing-mode: vertical-rl; text-orientation: upright;
    font-family: 'Noto Serif SC', serif; font-weight: 700;
    font-size: 1rem; color: #F5F0E8; letter-spacing: 0.25em;
    position: relative;
}
body.topic_cover .spine-side::after,
body.topic_list .spine-side::after,
body.topic_detail .spine-side::after {
    content: ''; position: absolute; right: 6px; top: 10%; bottom: 10%;
    width: 1px; background: rgba(245,240,232,0.3);
}
body.topic_cover .spine-body,
body.topic_list .spine-body,
body.topic_detail .spine-body { flex: 1; padding: 1rem 1.25rem; min-width: 0; }
body.topic_cover .spine-title,
body.topic_list .spine-title,
body.topic_detail .spine-title {
    font-family: 'Noto Serif SC', serif; font-weight: 700;
    font-size: 1rem; color: #2D2A26; margin-bottom: 0.25rem;
}
body.topic_cover .spine-desc,
body.topic_list .spine-desc,
body.topic_detail .spine-desc { font-size: 0.8125rem; color: #5C5449; line-height: 1.6; }
body.topic_cover .spine-meta,
body.topic_list .spine-meta,
body.topic_detail .spine-meta {
    display: flex; align-items: center; gap: 0.875rem;
    margin-top: 0.5rem; font-size: 0.75rem; color: #8B7355;
}
body.topic_cover .spine-meta .spine-count,
body.topic_list .spine-meta .spine-count,
body.topic_detail .spine-meta .spine-count { color: #9B3B2E; font-weight: 600; }

/* ============ 热门讨论列表（三页共用） ============ */
body.topic_cover .hot-discuss-item,
body.topic_list .hot-discuss-item,
body.topic_detail .hot-discuss-item {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px dashed #E5DBCB;
    text-decoration: none;
    transition: padding-left 0.2s;
}
body.topic_cover .hot-discuss-item:last-child,
body.topic_list .hot-discuss-item:last-child,
body.topic_detail .hot-discuss-item:last-child { border-bottom: none; }
body.topic_cover .hot-discuss-item:hover,
body.topic_list .hot-discuss-item:hover,
body.topic_detail .hot-discuss-item:hover { padding-left: 0.375rem; }
body.topic_cover .hot-discuss-num,
body.topic_list .hot-discuss-num,
body.topic_detail .hot-discuss-num {
    width: 22px; height: 22px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 4px; font-size: 0.7rem; font-weight: 700;
    background: #EDE5D8; color: #8B7355;
    font-family: 'Noto Serif SC', serif;
}
body.topic_cover .hot-discuss-num.top1,
body.topic_list .hot-discuss-num.top1,
body.topic_detail .hot-discuss-num.top1 { background: #9B3B2E; color: #fff; }
body.topic_cover .hot-discuss-num.top2,
body.topic_list .hot-discuss-num.top2,
body.topic_detail .hot-discuss-num.top2 { background: #C4A35A; color: #fff; }
body.topic_cover .hot-discuss-num.top3,
body.topic_list .hot-discuss-num.top3,
body.topic_detail .hot-discuss-num.top3 { background: #B8A58B; color: #fff; }
body.topic_cover .hot-discuss-title,
body.topic_list .hot-discuss-title,
body.topic_detail .hot-discuss-title { font-size: 0.8125rem; color: #2D2A26; line-height: 1.5; transition: color 0.2s; }
body.topic_cover .hot-discuss-item:hover .hot-discuss-title,
body.topic_list .hot-discuss-item:hover .hot-discuss-title,
body.topic_detail .hot-discuss-item:hover .hot-discuss-title { color: #9B3B2E; }
body.topic_cover .hot-discuss-meta,
body.topic_list .hot-discuss-meta,
body.topic_detail .hot-discuss-meta { font-size: 0.6875rem; color: #8B7355; margin-top: 2px; }

/* 分页样式已统一到 common.css */

/* ============ 侧边栏（三页共用） ============ */
body.topic_cover .sidebar-card,
body.topic_list .sidebar-card,
body.topic_detail .sidebar-card {
    background: #fff; border: 1px solid #D4C9B8; border-radius: 1rem;
    padding: 1.25rem; margin-bottom: 1.25rem;
}
body.topic_cover .sidebar-title,
body.topic_list .sidebar-title,
body.topic_detail .sidebar-title {
    font-family: 'Noto Serif SC', serif; font-size: 1.0625rem; font-weight: 700;
    color: #2D2A26; margin-bottom: 0.875rem;
    display: flex; align-items: center; gap: 0.5rem;
}
body.topic_cover .sidebar-title::before,
body.topic_list .sidebar-title::before,
body.topic_detail .sidebar-title::before {
    content: ''; display: block; width: 3px; height: 1rem;
    background: #9B3B2E; border-radius: 2px;
}

/* 子栏目快捷导航 */
body.topic_cover .sub-nav-item,
body.topic_list .sub-nav-item,
body.topic_detail .sub-nav-item {
    display: flex; align-items: center; gap: 0.625rem;
    padding: 0.625rem 0; border-bottom: 1px dashed #E5DBCB;
    transition: padding-left 0.2s, color 0.2s;
    cursor: pointer; text-decoration: none;
}
body.topic_cover .sub-nav-item:last-child,
body.topic_list .sub-nav-item:last-child,
body.topic_detail .sub-nav-item:last-child { border-bottom: none; }
body.topic_cover .sub-nav-item:hover,
body.topic_list .sub-nav-item:hover,
body.topic_detail .sub-nav-item:hover { padding-left: 0.375rem; }
body.topic_cover .sub-nav-dot,
body.topic_list .sub-nav-dot,
body.topic_detail .sub-nav-dot {
    width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0;
}
body.topic_cover .sub-nav-name,
body.topic_list .sub-nav-name,
body.topic_detail .sub-nav-name { flex: 1; font-size: 0.875rem; color: #2D2A26; transition: color 0.2s; }
body.topic_cover .sub-nav-item:hover .sub-nav-name,
body.topic_list .sub-nav-item:hover .sub-nav-name,
body.topic_detail .sub-nav-item:hover .sub-nav-name { color: #9B3B2E; }
body.topic_cover .sub-nav-count,
body.topic_list .sub-nav-count,
body.topic_detail .sub-nav-count {
    font-family: 'Noto Serif SC', serif; font-size: 0.75rem; font-weight: 700;
    color: #8B7355;
}

/* 标签云 */
body.topic_cover .tag-cloud,
body.topic_list .tag-cloud,
body.topic_detail .tag-cloud { display: flex; flex-wrap: wrap; gap: 0.375rem; }
body.topic_cover .tc-tag,
body.topic_list .tc-tag,
body.topic_detail .tc-tag {
    display: inline-block; padding: 0.3rem 0.7rem;
    background: #F5F0E8; border: 1px solid #D4C9B8;
    border-radius: 0.375rem; font-size: 0.75rem; color: #5C5449;
    transition: all 0.2s; cursor: pointer; text-decoration: none;
}
body.topic_cover .tc-tag:hover,
body.topic_list .tc-tag:hover,
body.topic_detail .tc-tag:hover { background: #9B3B2E; color: #fff; border-color: #9B3B2E; }
body.topic_cover .tc-tag.tag-lg,
body.topic_list .tc-tag.tag-lg,
body.topic_detail .tc-tag.tag-lg { font-size: 0.875rem; padding: 0.35rem 0.85rem; }
body.topic_cover .tc-tag.tag-md,
body.topic_list .tc-tag.tag-md,
body.topic_detail .tc-tag.tag-md { font-size: 0.8125rem; }

/* 系列导读进度条 */
body.topic_cover .series-progress-item,
body.topic_list .series-progress-item,
body.topic_detail .series-progress-item { padding: 0.625rem 0; border-bottom: 1px dashed #E5DBCB; }
body.topic_cover .series-progress-item:last-child,
body.topic_list .series-progress-item:last-child,
body.topic_detail .series-progress-item:last-child { border-bottom: none; }
body.topic_cover .series-progress-head,
body.topic_list .series-progress-head,
body.topic_detail .series-progress-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.375rem; }
body.topic_cover .series-progress-name,
body.topic_list .series-progress-name,
body.topic_detail .series-progress-name { font-family: 'Noto Serif SC', serif; font-size: 0.875rem; font-weight: 700; color: #2D2A26; display: flex; align-items: center; gap: 0.375rem; }
body.topic_cover .series-progress-num,
body.topic_list .series-progress-num,
body.topic_detail .series-progress-num { font-size: 0.7rem; color: #8B7355; }
body.topic_cover .series-progress-num .cur,
body.topic_list .series-progress-num .cur,
body.topic_detail .series-progress-num .cur { font-family: 'Noto Serif SC', serif; font-weight: 700; color: #9B3B2E; }
body.topic_cover .progress-bar,
body.topic_list .progress-bar,
body.topic_detail .progress-bar {
    height: 5px; background: #EDE5D8; border-radius: 9999px; overflow: hidden;
}
body.topic_cover .progress-fill,
body.topic_list .progress-fill,
body.topic_detail .progress-fill {
    height: 100%; border-radius: 9999px;
    transition: width 0.6s ease;
}

/* ============================================================
   页面一独有：一级栏目封面页 (topic_cover)
   ============================================================ */

/* Hero 徽章标签 */
body.topic_cover .hero-badge {
    display: inline-flex; align-items: center; gap: 0.375rem;
    padding: 0.4rem 0.9rem;
    background: rgba(245,240,232,0.08);
    border: 1px solid rgba(245,240,232,0.18);
    border-radius: 9999px;
    font-size: 0.8125rem;
    color: #F5F0E8;
    transition: all 0.2s;
    cursor: pointer;
}
body.topic_cover .hero-badge:hover {
    background: rgba(196,163,90,0.18);
    border-color: rgba(196,163,90,0.5);
}
body.topic_cover .hero-badge .badge-count {
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    color: #C4A35A;
}
body.topic_cover .hero-badge .badge-dot {
    width: 6px; height: 6px; border-radius: 9999px;
}

/* ============================================================
   页面二独有：二级子栏目列表页 (topic_list)
   ============================================================ */

/* Hero 统计徽章 */
body.topic_list .hero-stat {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(245,240,232,0.08);
    border: 1px solid rgba(245,240,232,0.18);
    border-radius: 9999px;
    font-size: 0.8125rem;
    color: #F5F0E8;
}
body.topic_list .hero-stat .stat-num {
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    color: #C4A35A;
}

/* 统计卡片 */
body.topic_list .stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff; border: 1px solid #D4C9B8; border-radius: 1rem;
    padding: 1.25rem; margin-bottom: 1.5rem;
}
body.topic_list .stats-item { text-align: center; border-right: 1px solid #E5DBCB; }
body.topic_list .stats-item:last-child { border-right: none; }
body.topic_list .stats-value {
    font-family: 'Noto Serif SC', serif; font-size: 1.75rem; font-weight: 700;
    background: linear-gradient(135deg, #9B3B2E, #C4A35A);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}
body.topic_list .stats-label { font-size: 0.75rem; color: #5C5449; margin-top: 0.25rem; }
@media (max-width: 768px) {
    body.topic_list .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    body.topic_list .stats-item:nth-child(2) { border-right: none; }
    body.topic_list .stats-item:nth-child(1),
    body.topic_list .stats-item:nth-child(2) { border-bottom: 1px solid #E5DBCB; padding-bottom: 0.75rem; }
    body.topic_list .stats-item:nth-child(3),
    body.topic_list .stats-item:nth-child(4) { padding-top: 0.75rem; }
}

/* 分类筛选 */
body.topic_list .filter-tabs {
    display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}
body.topic_list .filter-tab {
    padding: 0.6rem 1.25rem; border: 1px solid #D4C9B8; border-radius: 9999px;
    font-size: 0.875rem; color: #5C5449; background: #fff;
    transition: all 0.2s; cursor: pointer; font-weight: 500;
}
body.topic_list .filter-tab:hover { border-color: #9B3B2E; color: #9B3B2E; }
body.topic_list .filter-tab.active { background: #9B3B2E; color: #fff; border-color: #9B3B2E; }

/* 搜索框 */
body.topic_list .search-box {
    display: flex; align-items: center; gap: 0.5rem;
    background: rgba(245,240,232,0.1);
    border: 1px solid rgba(245,240,232,0.2);
    border-radius: 9999px;
    padding: 0.375rem 0.375rem 0.375rem 1rem;
    transition: all 0.2s;
}
body.topic_list .search-box:focus-within {
    border-color: #C4A35A;
    background: rgba(245,240,232,0.15);
}
body.topic_list .search-box input {
    flex: 1; border: none; outline: none; background: transparent;
    font-size: 0.875rem; color: #F5F0E8; padding: 0.375rem 0;
}
body.topic_list .search-box input::placeholder { color: rgba(245,240,232,0.5); }
body.topic_list .search-box button {
    padding: 0.375rem 0.875rem; background: #9B3B2E; color: #fff;
    border: none; border-radius: 9999px; font-size: 0.8125rem; cursor: pointer;
    transition: background 0.2s;
}
body.topic_list .search-box button:hover { background: #7D2E23; }

/* 文章卡片（图文并茂型） */
body.topic_list .article-feature-card {
    background: #fff; border: 1px solid #D4C9B8; border-radius: 1rem;
    overflow: hidden; transition: all 0.3s ease;
    display: block; text-decoration: none;
}
body.topic_list .article-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(45,42,38,0.10);
    border-color: #9B3B2E;
}
body.topic_list .article-feature-thumb {
    height: 160px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--entry-color, #9B3B2E), #2D2A26);
    display: flex; align-items: center; justify-content: center;
    color: rgba(245,240,232,0.15);
    font-family: 'Noto Serif SC', serif; font-size: 4rem; font-weight: 700;
}
body.topic_list .article-feature-thumb .thumb-text {
    position: absolute; bottom: 0.625rem; left: 0.875rem;
    color: #F5F0E8; font-size: 0.75rem; font-weight: 600;
    background: rgba(45,42,38,0.7); padding: 0.2rem 0.625rem;
    border-radius: 0.25rem; backdrop-filter: blur(4px);
}
body.topic_list .article-feature-body { padding: 1rem 1.25rem; }
body.topic_list .article-feature-tag {
    display: inline-flex; align-items: center; gap: 0.25rem;
    padding: 0.125rem 0.5rem; border-radius: 0.25rem;
    font-size: 0.7rem; font-weight: 600; margin-bottom: 0.5rem;
    background: var(--entry-bg, #F5E6E0); color: var(--entry-color, #9B3B2E);
}
body.topic_list .article-feature-title {
    font-family: 'Noto Serif SC', serif; font-size: 1rem; font-weight: 700;
    color: #2D2A26; line-height: 1.5; margin-bottom: 0.375rem;
    transition: color 0.2s;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
body.topic_list .article-feature-card:hover .article-feature-title { color: var(--entry-color, #9B3B2E); }
body.topic_list .article-feature-summary {
    font-size: 0.8125rem; color: #5C5449; line-height: 1.7;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 0.5rem;
}
body.topic_list .article-feature-meta {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.7rem; color: #8B7355;
    padding-top: 0.625rem; border-top: 1px dashed #E5DBCB;
}

/* 导读卷宗（sidebar 中的小卡） */
body.topic_list .read-guide-item {
    display: flex; align-items: flex-start; gap: 0.625rem;
    padding: 0.625rem 0; border-bottom: 1px dashed #E5DBCB;
    text-decoration: none; transition: padding-left 0.2s;
}
body.topic_list .read-guide-item:last-child { border-bottom: none; }
body.topic_list .read-guide-item:hover { padding-left: 0.375rem; }
body.topic_list .read-guide-num {
    width: 24px; height: 24px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 0.25rem; font-size: 0.7rem; font-weight: 700;
    font-family: 'Noto Serif SC', serif;
    background: #EDE5D8; color: #8B7355;
}
body.topic_list .read-guide-num.hot { background: #9B3B2E; color: #fff; }
body.topic_list .read-guide-info { flex: 1; min-width: 0; }
body.topic_list .read-guide-title { font-size: 0.8125rem; color: #2D2A26; line-height: 1.5; transition: color 0.2s; }
body.topic_list .read-guide-item:hover .read-guide-title { color: #9B3B2E; }
body.topic_list .read-guide-meta { font-size: 0.6875rem; color: #8B7355; margin-top: 2px; }

/* 核心要义卡片 */
body.topic_list .keypoint-card {
    background: linear-gradient(135deg, #F5F0E8 0%, #EDE5D8 100%);
    border: 1px solid #D4C9B8; border-radius: 0.75rem;
    padding: 1rem 1.25rem; margin-bottom: 0.75rem;
    display: flex; gap: 0.75rem; align-items: flex-start;
    transition: all 0.25s ease;
}
body.topic_list .keypoint-card:hover {
    background: linear-gradient(135deg, #F5E6E0 0%, #F5F0E8 100%);
    border-color: #9B3B2E;
}
body.topic_list .keypoint-icon {
    width: 36px; height: 36px; flex-shrink: 0;
    border-radius: 0.5rem;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    color: #9B3B2E;
}
body.topic_list .keypoint-body { flex: 1; min-width: 0; }
body.topic_list .keypoint-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 0.9375rem; font-weight: 700; color: #2D2A26;
    margin-bottom: 0.25rem;
}
body.topic_list .keypoint-desc { font-size: 0.75rem; color: #5C5449; line-height: 1.6; }

/* ============================================================
   页面三独有：三级详情页 (topic_detail)
   ============================================================ */

/* Hero 系列标签 */
body.topic_detail .hero-series-tag {
    display: inline-flex; align-items: center; gap: 0.375rem;
    padding: 0.3rem 0.75rem;
    background: rgba(245,240,232,0.08);
    border: 1px solid rgba(196,163,90,0.4);
    border-radius: 9999px;
    font-size: 0.75rem;
    color: #C4A35A;
    font-weight: 500;
}

/* Hero 元信息条目 */
body.topic_detail .hero-meta-item {
    display: inline-flex; align-items: center; gap: 0.375rem;
    font-size: 0.8125rem;
    color: rgba(245,240,232,0.82);
}

/* ============ 文章正文 ============ */
body.topic_detail .article-body {
    background: #fff;
    border: 1px solid #D4C9B8;
    border-radius: 1.5rem;
    padding: 2rem 2.25rem;
}
body.topic_detail .article-body .lead {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.0625rem;
    line-height: 1.9;
    color: #3D352B;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #F5E6E0 0%, #F5EDD8 100%);
    border-left: 4px solid #9B3B2E;
    border-radius: 0 0.75rem 0.75rem 0;
    margin-bottom: 1.75rem;
}
body.topic_detail .article-body h2 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: #2D2A26;
    margin: 1.75rem 0 0.875rem;
    padding-left: 1rem;
    position: relative;
}
body.topic_detail .article-body h2::before {
    content: '';
    position: absolute;
    left: 0; top: 0.35rem; bottom: 0.35rem;
    width: 4px;
    background: linear-gradient(180deg, #9B3B2E, #C4A35A);
    border-radius: 2px;
}
body.topic_detail .article-body p {
    font-size: 0.9375rem;
    color: #2D2A26;
    line-height: 1.9;
    margin-bottom: 1rem;
    text-indent: 2em;
}
body.topic_detail .article-body p strong {
    color: #9B3B2E;
    font-weight: 600;
}

/* ============ 按语/提示框 topic-note ============ */
body.topic_detail .topic-note {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #F5F0E8 0%, #F5EDD8 100%);
    border: 1px solid #D4C9B8;
    border-left: 4px solid #C4A35A;
}
body.topic_detail .topic-note-title {
    display: inline-flex; align-items: center; gap: 0.375rem;
    font-family: 'Noto Serif SC', serif;
    font-size: 1rem; font-weight: 700;
    color: #8B6B2E;
    margin-bottom: 0.5rem;
}
body.topic_detail .topic-note p {
    font-size: 0.875rem;
    color: #3D352B;
    line-height: 1.85;
    margin: 0;
    text-indent: 0;
}

/* ============ 要点总结框 topic-summary-box ============ */
body.topic_detail .topic-summary-box {
    margin: 1.75rem 0;
    padding: 1.5rem 1.75rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #F5E6E0 0%, #F5EDD8 100%);
    border: 1px solid #E5C8B8;
}
body.topic_detail .topic-summary-box h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #2D2A26;
    display: flex; align-items: center; gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px dashed #D4B8A8;
}
body.topic_detail .topic-summary-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
body.topic_detail .topic-summary-box li {
    font-size: 0.875rem;
    color: #2D2A26;
    line-height: 1.85;
    padding: 0.375rem 0 0.375rem 1.25rem;
    position: relative;
}
body.topic_detail .topic-summary-box li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.9rem;
    width: 6px; height: 6px;
    background: #C4A35A;
    border-radius: 2px;
    transform: rotate(45deg);
}
body.topic_detail .topic-summary-box li strong {
    font-weight: 600;
}

/* ============ 文章底部操作栏 ============ */
body.topic_detail .article-actions {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px dashed #D4C9B8;
    display: flex; flex-wrap: wrap; gap: 0.625rem;
    justify-content: center;
}
body.topic_detail .action-btn {
    display: inline-flex; align-items: center; gap: 0.375rem;
    padding: 0.5rem 1.125rem;
    background: #fff;
    border: 1px solid #D4C9B8;
    border-radius: 9999px;
    font-size: 0.8125rem;
    color: #5C5449;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
body.topic_detail .action-btn:hover {
    border-color: #9B3B2E;
    color: #9B3B2E;
    background: #F5E6E0;
}

/* ============ 专题标签区 ============ */
body.topic_detail .tag-row {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
}
body.topic_detail .topic-tag {
    display: inline-flex; align-items: center; gap: 0.25rem;
    padding: 0.375rem 0.875rem;
    background: #F5F0E8;
    border: 1px solid #D4C9B8;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    color: #5C5449;
    text-decoration: none;
    transition: all 0.2s;
}
body.topic_detail .topic-tag:hover {
    background: #9B3B2E;
    color: #fff;
    border-color: #9B3B2E;
}

/* ============ 上下篇导航 ============ */
body.topic_detail .prev-next-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
body.topic_detail .pn-card {
    display: flex; flex-direction: column; gap: 0.375rem;
    padding: 1rem 1.25rem;
    background: #F5F0E8;
    border: 1px solid #D4C9B8;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.25s ease;
}
body.topic_detail .pn-card:hover {
    background: #fff;
    border-color: #9B3B2E;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(45,42,38,0.06);
}
body.topic_detail .pn-card.next {
    text-align: right;
}
body.topic_detail .pn-label {
    font-size: 0.7rem;
    color: #8B7355;
    font-weight: 500;
    display: inline-flex; align-items: center; gap: 0.25rem;
}
body.topic_detail .pn-card.next .pn-label { justify-content: flex-end; }
body.topic_detail .pn-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #2D2A26;
    line-height: 1.5;
    transition: color 0.2s;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
body.topic_detail .pn-card:hover .pn-title { color: #9B3B2E; }
@media (max-width: 640px) {
    body.topic_detail .prev-next-wrap { grid-template-columns: 1fr; }
}

/* ============ 专题信息卡 rows ============ */
body.topic_detail .topic-info-row {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #E5DBCB;
    font-size: 0.8125rem;
}
body.topic_detail .topic-info-row:last-child { border-bottom: none; }
body.topic_detail .topic-info-label {
    color: #8B7355;
    flex-shrink: 0;
}
body.topic_detail .topic-info-value {
    color: #2D2A26;
    font-weight: 500;
    text-align: right;
    line-height: 1.6;
}

/* ============ series-progress-item active 高亮 ============ */
body.topic_detail .series-progress-item.active {
    background: linear-gradient(90deg, rgba(155,59,46,0.06), transparent);
    border-radius: 0.375rem;
    padding: 0.625rem 0.625rem;
    margin: 0 -0.625rem;
    border-bottom-color: transparent;
}

/* ============ 热门专题排行 hot-rank-item ============ */
body.topic_detail .hot-rank-item {
    display: flex; align-items: flex-start; gap: 0.625rem;
    padding: 0.625rem 0;
    border-bottom: 1px dashed #E5DBCB;
    text-decoration: none;
    transition: padding-left 0.2s;
}
body.topic_detail .hot-rank-item:last-child { border-bottom: none; }
body.topic_detail .hot-rank-item:hover { padding-left: 0.375rem; }
body.topic_detail .hot-rank-num {
    width: 22px; height: 22px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 4px; font-size: 0.7rem; font-weight: 700;
    background: #EDE5D8; color: #8B7355;
    font-family: 'Noto Serif SC', serif;
}
body.topic_detail .hot-rank-num.top1 { background: #9B3B2E; color: #fff; }
body.topic_detail .hot-rank-num.top2 { background: #C4A35A; color: #fff; }
body.topic_detail .hot-rank-num.top3 { background: #B8A58B; color: #fff; }
body.topic_detail .hot-rank-title {
    font-size: 0.8125rem;
    color: #2D2A26;
    line-height: 1.5;
    transition: color 0.2s;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
body.topic_detail .hot-rank-item:hover .hot-rank-title { color: #9B3B2E; }
body.topic_detail .hot-rank-meta {
    font-size: 0.6875rem;
    color: #8B7355;
    margin-top: 2px;
}

/* ============ 专题讨论区 discuss-item ============ */
body.topic_detail .discuss-item {
    padding: 0.875rem 0;
    border-bottom: 1px dashed #E5DBCB;
}
body.topic_detail .discuss-item:last-child { border-bottom: none; }
body.topic_detail .discuss-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    font-size: 0.8125rem;
    flex-shrink: 0;
}
body.topic_detail .discuss-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #2D2A26;
    margin-bottom: 0.25rem;
}
body.topic_detail .discuss-text {
    font-size: 0.8125rem;
    color: #5C5449;
    line-height: 1.7;
    margin-bottom: 0.375rem;
}
body.topic_detail .discuss-meta {
    font-size: 0.6875rem;
    color: #8B7355;
    display: flex; gap: 1rem;
}
