/* ============================================================
   诊疗医案 · 一二三级页面合并样式
   cover_cases.html (cases_cover)    一级栏目封面页
   list_cases.html (cases_list)      二级子栏目列表页
   show_cases.html (cases_detail)    三级内容详情页
   ============================================================ */

/* ============ 通用（三页共用） ============ */
body.cases_cover,
body.cases_list,
body.cases_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.cases_cover,
    body.cases_list,
    body.cases_detail { padding-top: 64px; }
}

/* Hero */
body.cases_cover .case-hero,
body.cases_list .case-hero,
body.cases_detail .case-hero {
    background: linear-gradient(180deg, #EDE5D8 0%, #F5F0E8 100%);
    border-bottom: 1px solid #D4C9B8;
}

/* show_cases 详情页 Hero 排版 (对齐 show_cancer 结构) */
body.cases_detail .article-hero {
    background: linear-gradient(135deg, #F5EDE4 0%, #F8F2EA 50%, #F0E6D8 100%);
    color: #2D2A26;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #D4C9B8;
}
body.cases_detail .article-hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(155,59,46,0.06) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(196,163,90,0.08) 0%, transparent 50%);
}
body.cases_detail .article-hero-content { position: relative; z-index: 1; }
body.cases_detail .article-hero h1 {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.4;
    color: #2D2A26;
}
body.cases_detail .hero-accent-line {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, #9B3B2E, #C4A35A);
    margin: 1rem 0;
}
body.cases_cover .column-title,
body.cases_list .column-title,
body.cases_detail .column-title { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.25; }

/* 区块标题 */
body.cases_cover .section-title-wrap,
body.cases_list .section-title-wrap,
body.cases_detail .section-title-wrap { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
body.cases_cover .section-title,
body.cases_list .section-title,
body.cases_detail .section-title { font-family: 'Noto Serif SC', serif; font-size: 1.5rem; font-weight: 700; color: #2D2A26; }
@media (min-width: 1024px) {
    body.cases_cover .section-title,
    body.cases_list .section-title,
    body.cases_detail .section-title { font-size: 1.875rem; }
}
body.cases_cover .more-link,
body.cases_list .more-link,
body.cases_detail .more-link { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; color: #5C5449; transition: color 0.2s; }
body.cases_cover .more-link:hover,
body.cases_list .more-link:hover,
body.cases_detail .more-link:hover { color: #9B3B2E; }

/* 诊疗医案专属卡片 */
body.cases_cover .case-card,
body.cases_list .case-card,
body.cases_detail .case-card {
    background: #fff; border: 1px solid #D4C9B8; border-radius: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden; position: relative;
}
body.cases_cover .case-card:hover,
body.cases_list .case-card:hover,
body.cases_detail .case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(45,42,38,0.10);
    border-color: #9B3B2E;
}
body.cases_cover .case-card::before,
body.cases_list .case-card::before,
body.cases_detail .case-card::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 4px; background: linear-gradient(180deg, #9B3B2E, #C4A35A);
    opacity: 0; transition: opacity 0.25s ease;
}
body.cases_cover .case-card:hover::before,
body.cases_list .case-card:hover::before,
body.cases_detail .case-card:hover::before { opacity: 1; }

body.cases_cover .case-meta-bar,
body.cases_list .case-meta-bar,
body.cases_detail .case-meta-bar {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.75rem 1.25rem; background: #F5F0E8;
    border-bottom: 1px solid #E5DBCB; font-size: 0.75rem; color: #5C5449;
}
body.cases_cover .case-meta-bar .case-no,
body.cases_list .case-meta-bar .case-no,
body.cases_detail .case-meta-bar .case-no {
    font-family: 'Noto Serif SC', serif; font-weight: 700;
    color: #9B3B2E; letter-spacing: 0.05em;
}
body.cases_cover .case-meta-bar .case-date,
body.cases_list .case-meta-bar .case-date,
body.cases_detail .case-meta-bar .case-date { display: flex; align-items: center; gap: 0.25rem; }
body.cases_cover .case-meta-bar .case-doctor,
body.cases_list .case-meta-bar .case-doctor,
body.cases_detail .case-meta-bar .case-doctor { display: flex; align-items: center; gap: 0.25rem; }

body.cases_cover .case-body,
body.cases_list .case-body,
body.cases_detail .case-body { padding: 1.25rem; }
body.cases_cover .case-title,
body.cases_list .case-title,
body.cases_detail .case-title {
    font-family: 'Noto Serif SC', serif; font-size: 1.125rem; font-weight: 700;
    color: #2D2A26; margin-bottom: 0.5rem; line-height: 1.5;
    transition: color 0.2s;
}
body.cases_cover .case-card:hover .case-title,
body.cases_list .case-card:hover .case-title,
body.cases_detail .case-card:hover .case-title { color: #9B3B2E; }
body.cases_cover .case-summary,
body.cases_list .case-summary,
body.cases_detail .case-summary {
    font-size: 0.875rem; color: #5C5449; line-height: 1.7;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

body.cases_cover .case-tags,
body.cases_list .case-tags,
body.cases_detail .case-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.75rem; }
body.cases_cover .case-tag,
body.cases_list .case-tag,
body.cases_detail .case-tag {
    display: inline-flex; align-items: center; gap: 0.25rem;
    padding: 0.2rem 0.6rem; border-radius: 0.375rem;
    font-size: 0.7rem; font-weight: 500;
}
body.cases_cover .tag-symptom, body.cases_list .tag-symptom, body.cases_detail .tag-symptom { background: #F5E6E0; color: #9B3B2E; }
body.cases_cover .tag-treatment, body.cases_list .tag-treatment, body.cases_detail .tag-treatment { background: #E8EDE0; color: #5A7A4D; }
body.cases_cover .tag-diagnosis, body.cases_list .tag-diagnosis, body.cases_detail .tag-diagnosis { background: #E8E4D8; color: #8B7355; }
body.cases_cover .tag-category, body.cases_list .tag-category, body.cases_detail .tag-category { background: #E0E8ED; color: #4A7C8C; }

body.cases_cover .case-footer,
body.cases_list .case-footer,
body.cases_detail .case-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.75rem 1.25rem; border-top: 1px dashed #D4C9B8;
    font-size: 0.75rem; color: #8B7355;
}
body.cases_cover .case-stats, body.cases_list .case-stats, body.cases_detail .case-stats { display: flex; gap: 1rem; }
body.cases_cover .case-stats span, body.cases_list .case-stats span, body.cases_detail .case-stats span { display: flex; align-items: center; gap: 0.25rem; }

/* 分类筛选 */
body.cases_cover .filter-tabs,
body.cases_list .filter-tabs,
body.cases_detail .filter-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
body.cases_cover .filter-tab,
body.cases_list .filter-tab,
body.cases_detail .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.cases_cover .filter-tab:hover,
body.cases_list .filter-tab:hover,
body.cases_detail .filter-tab:hover { border-color: #9B3B2E; color: #9B3B2E; }
body.cases_cover .filter-tab.active,
body.cases_list .filter-tab.active,
body.cases_detail .filter-tab.active { background: #9B3B2E; color: #fff; border-color: #9B3B2E; }

/* 数据统计条 */
body.cases_cover .stats-bar,
body.cases_list .stats-bar,
body.cases_detail .stats-bar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border: 1px solid #D4C9B8; border-radius: 1rem;
    padding: 1rem 1.5rem; margin-bottom: 1.5rem;
}
body.cases_cover .stats-item, body.cases_list .stats-item, body.cases_detail .stats-item { text-align: center; border-right: 1px dashed #E5DBCB; }
body.cases_cover .stats-item:last-child, body.cases_list .stats-item:last-child, body.cases_detail .stats-item:last-child { border-right: none; }
body.cases_cover .stats-value, body.cases_list .stats-value, body.cases_detail .stats-value {
    font-family: 'Noto Serif SC', serif; font-size: 1.5rem; font-weight: 700; color: #9B3B2E;
}
body.cases_cover .stats-label, body.cases_list .stats-label, body.cases_detail .stats-label { font-size: 0.75rem; color: #5C5449; margin-top: 0.125rem; }

/* 侧边栏 */
body.cases_cover .sidebar-card,
body.cases_list .sidebar-card,
body.cases_detail .sidebar-card {
    background: #fff; border: 1px solid #D4C9B8; border-radius: 1rem;
    padding: 1.25rem; margin-bottom: 1.25rem;
}
body.cases_cover .sidebar-title,
body.cases_list .sidebar-title,
body.cases_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.cases_cover .sidebar-title::before,
body.cases_list .sidebar-title::before,
body.cases_detail .sidebar-title::before {
    content: ''; display: block; width: 3px; height: 1rem;
    background: #9B3B2E; border-radius: 2px;
}

/* 排行榜 */
body.cases_cover .rank-item,
body.cases_list .rank-item,
body.cases_detail .rank-item {
    display: flex; align-items: flex-start; gap: 0.625rem;
    padding: 0.5rem 0; border-bottom: 1px dashed #E5DBCB;
    transition: color 0.2s;
}
body.cases_cover .rank-item:last-child,
body.cases_list .rank-item:last-child,
body.cases_detail .rank-item:last-child { border-bottom: none; }
body.cases_cover .rank-item:hover,
body.cases_list .rank-item:hover,
body.cases_detail .rank-item:hover { color: #9B3B2E; }
body.cases_cover .rank-num,
body.cases_list .rank-num,
body.cases_detail .rank-num {
    width: 20px; height: 20px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 4px; font-size: 0.7rem; font-weight: 700;
}
body.cases_cover .rank-num.top1, body.cases_list .rank-num.top1, body.cases_detail .rank-num.top1 { background: #9B3B2E; color: #fff; }
body.cases_cover .rank-num.top2, body.cases_list .rank-num.top2, body.cases_detail .rank-num.top2 { background: #C4A35A; color: #fff; }
body.cases_cover .rank-num.top3, body.cases_list .rank-num.top3, body.cases_detail .rank-num.top3 { background: #B8A58B; color: #fff; }
body.cases_cover .rank-num.normal, body.cases_list .rank-num.normal, body.cases_detail .rank-num.normal { background: #EDE5D8; color: #8B7355; }
body.cases_cover .rank-title, body.cases_list .rank-title, body.cases_detail .rank-title { font-size: 0.8125rem; line-height: 1.5; color: #2D2A26; }
body.cases_cover .rank-date, body.cases_list .rank-date, body.cases_detail .rank-date { font-size: 0.6875rem; color: #8B7355; margin-top: 2px; }

/* 医生卡 */
body.cases_cover .doctor-item,
body.cases_list .doctor-item,
body.cases_detail .doctor-item {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.625rem 0; border-bottom: 1px dashed #E5DBCB;
}
body.cases_cover .doctor-item:last-child,
body.cases_list .doctor-item:last-child,
body.cases_detail .doctor-item:last-child { border-bottom: none; }
body.cases_cover .doctor-avatar,
body.cases_list .doctor-avatar,
body.cases_detail .doctor-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, #9B3B2E, #C4A35A);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-family: 'Noto Serif SC', serif; font-weight: 700; font-size: 0.875rem;
    flex-shrink: 0;
}
body.cases_cover .doctor-info, body.cases_list .doctor-info, body.cases_detail .doctor-info { flex: 1; min-width: 0; }
body.cases_cover .doctor-name, body.cases_list .doctor-name, body.cases_detail .doctor-name { font-size: 0.875rem; font-weight: 600; color: #2D2A26; }
body.cases_cover .doctor-role, body.cases_list .doctor-role, body.cases_detail .doctor-role { font-size: 0.7rem; color: #8B7355; }
body.cases_cover .doctor-count, body.cases_list .doctor-count, body.cases_detail .doctor-count { font-size: 0.7rem; color: #9B3B2E; font-weight: 600; }

/* 分类导航卡 */
body.cases_cover .cat-nav-card,
body.cases_list .cat-nav-card,
body.cases_detail .cat-nav-card {
    background: #fff; border: 1px solid #D4C9B8; border-radius: 1rem;
    padding: 1.25rem; transition: all 0.25s ease;
}
body.cases_cover .cat-nav-card:hover,
body.cases_list .cat-nav-card:hover,
body.cases_detail .cat-nav-card:hover { border-color: #9B3B2E; box-shadow: 0 8px 28px rgba(45,42,38,0.08); }
body.cases_cover .cat-nav-item,
body.cases_list .cat-nav-item,
body.cases_detail .cat-nav-item {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 0; border-bottom: 1px dashed #E5DBCB;
    transition: padding-left 0.2s ease, color 0.2s ease;
}
body.cases_cover .cat-nav-item:last-child,
body.cases_list .cat-nav-item:last-child,
body.cases_detail .cat-nav-item:last-child { border-bottom: none; }
body.cases_cover .cat-nav-item:hover,
body.cases_list .cat-nav-item:hover,
body.cases_detail .cat-nav-item:hover { padding-left: 0.5rem; color: #9B3B2E; }
body.cases_cover .cat-nav-item .cat-icon,
body.cases_list .cat-nav-item .cat-icon,
body.cases_detail .cat-nav-item .cat-icon {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 0.5rem; font-size: 1rem;
}

/* 子分类大卡片 */
body.cases_cover .sub-cat-card,
body.cases_list .sub-cat-card,
body.cases_detail .sub-cat-card {
    background: #fff; border: 1px solid #D4C9B8; border-radius: 1rem;
    padding: 1.5rem; transition: all 0.25s ease;
    display: flex; align-items: center; gap: 1rem;
}
body.cases_cover .sub-cat-card:hover,
body.cases_list .sub-cat-card:hover,
body.cases_detail .sub-cat-card:hover {
    border-color: #9B3B2E; box-shadow: 0 8px 28px rgba(45,42,38,0.08);
    transform: translateY(-3px);
}
body.cases_cover .sub-cat-icon,
body.cases_list .sub-cat-icon,
body.cases_detail .sub-cat-icon {
    width: 56px; height: 56px; flex-shrink: 0;
    border-radius: 0.75rem; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}
body.cases_cover .sub-cat-info, body.cases_list .sub-cat-info, body.cases_detail .sub-cat-info { flex: 1; min-width: 0; }
body.cases_cover .sub-cat-name,
body.cases_list .sub-cat-name,
body.cases_detail .sub-cat-name {
    font-family: 'Noto Serif SC', serif; font-size: 1.125rem; font-weight: 700;
    color: #2D2A26; margin-bottom: 0.25rem;
}
body.cases_cover .sub-cat-desc,
body.cases_list .sub-cat-desc,
body.cases_detail .sub-cat-desc { font-size: 0.8125rem; color: #5C5449; line-height: 1.6; }
body.cases_cover .sub-cat-count,
body.cases_list .sub-cat-count,
body.cases_detail .sub-cat-count {
    font-size: 0.75rem; color: #9B3B2E; font-weight: 600;
    margin-top: 0.5rem; display: flex; align-items: center; gap: 0.5rem;
}

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

/* 搜索框 */
body.cases_cover .search-box,
body.cases_list .search-box,
body.cases_detail .search-box {
    display: flex; align-items: center; gap: 0.5rem;
    background: #fff; border: 1px solid #D4C9B8; border-radius: 9999px;
    padding: 0.25rem 0.25rem 0.25rem 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
body.cases_cover .search-box:focus-within,
body.cases_list .search-box:focus-within,
body.cases_detail .search-box:focus-within { border-color: #9B3B2E; box-shadow: 0 0 0 3px rgba(155,59,46,0.08); }
body.cases_cover .search-box input,
body.cases_list .search-box input,
body.cases_detail .search-box input {
    flex: 1; border: none; outline: none; background: transparent;
    font-size: 0.875rem; color: #2D2A26; padding: 0.375rem 0;
}
body.cases_cover .search-box button,
body.cases_list .search-box button,
body.cases_detail .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.cases_cover .search-box button:hover,
body.cases_list .search-box button:hover,
body.cases_detail .search-box button:hover { background: #7D2E23; }

/* 热门标签云 */
body.cases_cover .tag-cloud,
body.cases_list .tag-cloud,
body.cases_detail .tag-cloud { display: flex; flex-wrap: wrap; gap: 0.375rem; }
body.cases_cover .tc-tag,
body.cases_list .tc-tag,
body.cases_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;
}
body.cases_cover .tc-tag:hover,
body.cases_list .tc-tag:hover,
body.cases_detail .tc-tag:hover { background: #9B3B2E; color: #fff; border-color: #9B3B2E; }

/* 响应式 */
@media (max-width: 768px) {
    body.cases_cover .stats-bar,
    body.cases_list .stats-bar,
    body.cases_detail .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    body.cases_cover .stats-item:nth-child(2n),
    body.cases_list .stats-item:nth-child(2n),
    body.cases_detail .stats-item:nth-child(2n) { border-right: none; }
    body.cases_cover .stats-item:nth-child(2n+1),
    body.cases_list .stats-item:nth-child(2n+1),
    body.cases_detail .stats-item:nth-child(2n+1) { border-right: 1px dashed #E5DBCB; }
    body.cases_cover .filter-tabs,
    body.cases_list .filter-tabs,
    body.cases_detail .filter-tabs { gap: 0.375rem; }
    body.cases_cover .filter-tab,
    body.cases_list .filter-tab,
    body.cases_detail .filter-tab { padding: 0.5rem 0.875rem; font-size: 0.8125rem; }
}


/* ============ 页面二独有：二级列表页 (cases_list) ============ */

/* Hero 印章 */
body.cases_cover .case-hero-seal , body.cases_list .case-hero-seal , body.cases_detail .case-hero-seal  {
    width: 72px; height: 72px; flex-shrink: 0;
    background: linear-gradient(135deg, #9B3B2E 0%, #C44B3C 100%);
    color: #fff; border-radius: 0.5rem;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Noto Serif SC', serif; font-size: 2rem; font-weight: 700;
    transform: rotate(-3deg);
    box-shadow: 0 4px 16px rgba(155,59,46,0.28);
    position: relative;
}
body.cases_cover .case-hero-seal::before , body.cases_list .case-hero-seal::before , body.cases_detail .case-hero-seal::before  {
    content: ''; position: absolute; inset: 4px;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 0.375rem;
}

/* cover_cases 封面页印章（双行：中文小字号 + 英文标签） */
body.cases_cover .case-hero-seal {
    width: 88px; height: 88px;
    flex-direction: column;
    gap: 2px;
}
body.cases_cover .case-hero-seal > span {
    font-size: 1.6rem;
    line-height: 1.1;
    letter-spacing: 0.05em;
}
body.cases_cover .case-hero-seal > em {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.15em;
    opacity: 0.85;
}

/* 子栏目徽章 */
body.cases_cover .case-sub-badge , body.cases_list .case-sub-badge , body.cases_detail .case-sub-badge  {
    display: inline-flex; align-items: center; gap: 0.25rem;
    padding: 0.2rem 0.65rem; border-radius: 9999px;
    font-size: 0.75rem; font-weight: 500;
    background: rgba(155,59,46,0.08); color: #9B3B2E;
}

/* ============ 倪海厦思想卡片 (cases_list 右侧栏) ============ */
body.cases_cover .ni-card , body.cases_list .ni-card , body.cases_detail .ni-card  {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
body.cases_cover .ni-card::before , body.cases_list .ni-card::before , body.cases_detail .ni-card::before  {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(196,163,90,0.06) 0%, transparent 50%);
    opacity: 0; transition: opacity 0.3s ease;
    pointer-events: none;
}
body.cases_cover .ni-card:hover , body.cases_list .ni-card:hover , body.cases_detail .ni-card:hover  {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(45,42,38,0.10);
    border-color: #9B3B2E;
}
body.cases_cover .ni-card:hover::before , body.cases_list .ni-card:hover::before , body.cases_detail .ni-card:hover::before  { opacity: 1; }

/* 总纲名言卡 */
body.cases_cover .ni-maxim , body.cases_list .ni-maxim , body.cases_detail .ni-maxim  {
    padding: 0.875rem 1rem;
    background: linear-gradient(135deg, #FDF5F3 0%, #F5F0E8 100%);
    border-radius: 0.625rem;
    border-left: 3px solid #9B3B2E;
    transition: all 0.3s ease;
}
body.cases_cover .ni-card:hover .ni-maxim , body.cases_list .ni-card:hover .ni-maxim , body.cases_detail .ni-card:hover .ni-maxim  {
    border-left-color: #C4A35A;
    transform: translateX(3px);
}
body.cases_cover .ni-maxim-quote , body.cases_list .ni-maxim-quote , body.cases_detail .ni-maxim-quote  {
    display: flex; gap: 0.5rem; align-items: flex-start;
    font-family: 'Noto Serif SC', serif;
    font-size: 0.8125rem; line-height: 1.7;
    color: #2D2A26;
}
body.cases_cover .ni-maxim-quote > i , body.cases_list .ni-maxim-quote > i , body.cases_detail .ni-maxim-quote > i  {
    color: #C4A35A; flex-shrink: 0; margin-top: 2px;
}
body.cases_cover .ni-source , body.cases_list .ni-source , body.cases_detail .ni-source  {
    margin-top: 0.625rem;
    font-size: 0.6875rem; color: #8B7355;
    display: flex; align-items: center; gap: 0.375rem;
    padding-top: 0.5rem;
    border-top: 1px dashed #E5DBCB;
}

/* 阴实病机卡 */
body.cases_cover .ni-yinshi , body.cases_list .ni-yinshi , body.cases_detail .ni-yinshi  {
    display: flex; flex-direction: column;
    gap: 0; position: relative;
}
body.cases_cover .ni-yinshi-row , body.cases_list .ni-yinshi-row , body.cases_detail .ni-yinshi-row  {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    background: #F5F0E8;
    transition: all 0.25s ease;
}
body.cases_cover .ni-card:hover .ni-yinshi-row , body.cases_list .ni-card:hover .ni-yinshi-row , body.cases_detail .ni-card:hover .ni-yinshi-row  {
    background: #FDF5F3;
}
body.cases_cover .ni-yinshi-row.danger , body.cases_list .ni-yinshi-row.danger , body.cases_detail .ni-yinshi-row.danger  {
    background: #FDF5F3;
}
body.cases_cover .ni-yinshi-row.danger .ni-yinshi-label , body.cases_list .ni-yinshi-row.danger .ni-yinshi-label , body.cases_detail .ni-yinshi-row.danger .ni-yinshi-label  {
    color: #9B3B2E; font-weight: 700;
}
body.cases_cover .ni-yinshi-label , body.cases_list .ni-yinshi-label , body.cases_detail .ni-yinshi-label  {
    font-family: 'Noto Serif SC', serif;
    font-weight: 600; color: #2D2A26;
    font-size: 0.875rem;
}
body.cases_cover .ni-yinshi-desc , body.cases_list .ni-yinshi-desc , body.cases_detail .ni-yinshi-desc  {
    font-size: 0.6875rem; color: #5C5449;
}
body.cases_cover .ni-yinshi-arrow , body.cases_list .ni-yinshi-arrow , body.cases_detail .ni-yinshi-arrow  {
    display: flex; justify-content: center;
    color: #C4A35A;
    padding: 0.25rem 0;
    transition: all 0.3s ease;
}
body.cases_cover .ni-card:hover .ni-yinshi-arrow , body.cases_list .ni-card:hover .ni-yinshi-arrow , body.cases_detail .ni-card:hover .ni-yinshi-arrow  {
    color: #9B3B2E;
    transform: scaleY(1.2);
}
body.cases_cover .ni-warn , body.cases_list .ni-warn , body.cases_detail .ni-warn  {
    margin-top: 0.75rem;
    display: flex; align-items: flex-start; gap: 0.375rem;
    padding: 0.5rem 0.625rem;
    background: #FDF5E6;
    border: 1px dashed #C4A35A;
    border-radius: 0.5rem;
    font-size: 0.6875rem; color: #8B6E3A; line-height: 1.5;
    transition: all 0.25s ease;
}
body.cases_cover .ni-card:hover .ni-warn , body.cases_list .ni-card:hover .ni-warn , body.cases_detail .ni-card:hover .ni-warn  {
    border-color: #9B3B2E;
    background: #FDF5F3;
    color: #9B3B2E;
}
body.cases_cover .ni-warn > i , body.cases_list .ni-warn > i , body.cases_detail .ni-warn > i  {
    color: #C4A35A; flex-shrink: 0; margin-top: 2px;
}
body.cases_cover .ni-card:hover .ni-warn > i , body.cases_list .ni-card:hover .ni-warn > i , body.cases_detail .ni-card:hover .ni-warn > i  {
    color: #9B3B2E;
}

/* 六经辨证卡 */
body.cases_cover .ni-meridian , body.cases_list .ni-meridian , body.cases_detail .ni-meridian  {
    display: flex; flex-direction: column; gap: 0.375rem;
    position: relative;
}
body.cases_cover .ni-meridian::before , body.cases_list .ni-meridian::before , body.cases_detail .ni-meridian::before  {
    content: '';
    position: absolute;
    left: 0.75rem; top: 0.75rem; bottom: 0.75rem;
    width: 2px;
    background: linear-gradient(180deg, #5A7A4D 0%, #4A7C8C 25%, #8B7355 50%, #C4A35A 75%, #9B3B2E 100%);
    opacity: 0.25;
}
body.cases_cover .ni-meri-stage , body.cases_list .ni-meri-stage , body.cases_detail .ni-meri-stage  {
    position: relative;
    padding: 0.5rem 0.625rem 0.5rem 1.75rem;
    border-radius: 0.5rem;
    background: #fff;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    cursor: default;
}
body.cases_cover .ni-meri-stage::before , body.cases_list .ni-meri-stage::before , body.cases_detail .ni-meri-stage::before  {
    content: '';
    position: absolute;
    left: 0.5rem; top: 0.875rem;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #D4C9B8;
    box-shadow: 0 0 0 3px #fff;
    transition: all 0.25s ease;
    z-index: 1;
}
body.cases_cover .ni-meri-stage:hover , body.cases_list .ni-meri-stage:hover , body.cases_detail .ni-meri-stage:hover  {
    background: #FDF5F3;
    border-color: #E8D4C8;
    transform: translateX(4px);
}
body.cases_cover .ni-meri-stage:hover::before , body.cases_list .ni-meri-stage:hover::before , body.cases_detail .ni-meri-stage:hover::before  {
    transform: scale(1.3);
}
body.cases_cover .ni-meri-stage.stage-taiyang:hover::before , body.cases_list .ni-meri-stage.stage-taiyang:hover::before , body.cases_detail .ni-meri-stage.stage-taiyang:hover::before  {
    background: #5A7A4D;
}
body.cases_cover .ni-meri-stage.stage-yangming:hover::before , body.cases_list .ni-meri-stage.stage-yangming:hover::before , body.cases_detail .ni-meri-stage.stage-yangming:hover::before  {
    background: #C4A35A;
}
body.cases_cover .ni-meri-stage.stage-shaoyang:hover::before , body.cases_list .ni-meri-stage.stage-shaoyang:hover::before , body.cases_detail .ni-meri-stage.stage-shaoyang:hover::before  {
    background: #8B7355;
}
body.cases_cover .ni-meri-stage.stage-taiyin:hover::before , body.cases_list .ni-meri-stage.stage-taiyin:hover::before , body.cases_detail .ni-meri-stage.stage-taiyin:hover::before  {
    background: #4A7C8C;
}
body.cases_cover .ni-meri-stage.stage-shaoyin:hover::before , body.cases_list .ni-meri-stage.stage-shaoyin:hover::before , body.cases_detail .ni-meri-stage.stage-shaoyin:hover::before  {
    background: #9B3B2E;
}
body.cases_cover .ni-meri-stage.stage-jueyin:hover::before , body.cases_list .ni-meri-stage.stage-jueyin:hover::before , body.cases_detail .ni-meri-stage.stage-jueyin:hover::before  {
    background: #2D2A26;
}
body.cases_cover .ni-meri-head , body.cases_list .ni-meri-head , body.cases_detail .ni-meri-head  {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 0.125rem;
}
body.cases_cover .ni-meri-tag , body.cases_list .ni-meri-tag , body.cases_detail .ni-meri-tag  {
    font-family: 'Noto Serif SC', serif;
    font-weight: 700; font-size: 0.875rem;
}
body.cases_cover .stage-taiyang .ni-meri-tag , body.cases_list .stage-taiyang .ni-meri-tag , body.cases_detail .stage-taiyang .ni-meri-tag  {
    color: #5A7A4D;
}
body.cases_cover .stage-yangming .ni-meri-tag , body.cases_list .stage-yangming .ni-meri-tag , body.cases_detail .stage-yangming .ni-meri-tag  {
    color: #C4A35A;
}
body.cases_cover .stage-shaoyang .ni-meri-tag , body.cases_list .stage-shaoyang .ni-meri-tag , body.cases_detail .stage-shaoyang .ni-meri-tag  {
    color: #8B7355;
}
body.cases_cover .stage-taiyin .ni-meri-tag , body.cases_list .stage-taiyin .ni-meri-tag , body.cases_detail .stage-taiyin .ni-meri-tag  {
    color: #4A7C8C;
}
body.cases_cover .stage-shaoyin .ni-meri-tag , body.cases_list .stage-shaoyin .ni-meri-tag , body.cases_detail .stage-shaoyin .ni-meri-tag  {
    color: #9B3B2E;
}
body.cases_cover .stage-jueyin .ni-meri-tag , body.cases_list .stage-jueyin .ni-meri-tag , body.cases_detail .stage-jueyin .ni-meri-tag  {
    color: #2D2A26;
}
body.cases_cover .ni-meri-range , body.cases_list .ni-meri-range , body.cases_detail .ni-meri-range  {
    font-size: 0.625rem; color: #8B7355;
}
body.cases_cover .ni-meri-desc , body.cases_list .ni-meri-desc , body.cases_detail .ni-meri-desc  {
    font-size: 0.6875rem; color: #5C5449;
    line-height: 1.5;
}
body.cases_cover .ni-meri-stage:hover .ni-meri-desc , body.cases_list .ni-meri-stage:hover .ni-meri-desc , body.cases_detail .ni-meri-stage:hover .ni-meri-desc  {
    color: #2D2A26;
}

/* 五步次第卡 */
body.cases_cover .ni-stepflow , body.cases_list .ni-stepflow , body.cases_detail .ni-stepflow  {
    display: flex; flex-direction: column; gap: 0;
    position: relative;
}
body.cases_cover .ni-stepflow::before , body.cases_list .ni-stepflow::before , body.cases_detail .ni-stepflow::before  {
    content: '';
    position: absolute;
    left: 0.875rem; top: 1.25rem; bottom: 1.25rem;
    width: 2px;
    background: repeating-linear-gradient(180deg, #D4C9B8 0px, #D4C9B8 4px, transparent 4px, transparent 8px);
}
body.cases_cover .ni-step-item , body.cases_list .ni-step-item , body.cases_detail .ni-step-item  {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 0.5rem 0.5rem;
    position: relative;
    border-radius: 0.5rem;
    transition: all 0.25s ease;
    cursor: default;
}
body.cases_cover .ni-step-item:hover , body.cases_list .ni-step-item:hover , body.cases_detail .ni-step-item:hover  {
    background: #FDF5F3;
    transform: translateX(4px);
}
body.cases_cover .ni-step-num , body.cases_list .ni-step-num , body.cases_detail .ni-step-num  {
    width: 1.75rem; height: 1.75rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Noto Serif SC', serif;
    font-size: 0.8125rem; font-weight: 700;
    color: #fff; flex-shrink: 0; z-index: 1;
    box-shadow: 0 0 0 3px #fff;
    transition: all 0.25s ease;
}
body.cases_cover .ni-step-item:hover .ni-step-num , body.cases_list .ni-step-item:hover .ni-step-num , body.cases_detail .ni-step-item:hover .ni-step-num  {
    transform: scale(1.15);
    box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(155,59,46,0.3);
}
body.cases_cover .ni-step-item.step-1 .ni-step-num , body.cases_list .ni-step-item.step-1 .ni-step-num , body.cases_detail .ni-step-item.step-1 .ni-step-num  {
    background: #5A7A4D;
}
body.cases_cover .ni-step-item.step-2 .ni-step-num , body.cases_list .ni-step-item.step-2 .ni-step-num , body.cases_detail .ni-step-item.step-2 .ni-step-num  {
    background: #4A7C8C;
}
body.cases_cover .ni-step-item.step-3 .ni-step-num , body.cases_list .ni-step-item.step-3 .ni-step-num , body.cases_detail .ni-step-item.step-3 .ni-step-num  {
    background: #8B7355;
}
body.cases_cover .ni-step-item.step-4 .ni-step-num , body.cases_list .ni-step-item.step-4 .ni-step-num , body.cases_detail .ni-step-item.step-4 .ni-step-num  {
    background: #C4A35A;
}
body.cases_cover .ni-step-item.step-5 .ni-step-num , body.cases_list .ni-step-item.step-5 .ni-step-num , body.cases_detail .ni-step-item.step-5 .ni-step-num  {
    background: #9B3B2E;
}
body.cases_cover .ni-step-body , body.cases_list .ni-step-body , body.cases_detail .ni-step-body  {
    flex: 1; min-width: 0;
}
body.cases_cover .ni-step-name , body.cases_list .ni-step-name , body.cases_detail .ni-step-name  {
    font-size: 0.8125rem; font-weight: 600; color: #2D2A26;
    transition: color 0.2s;
}
body.cases_cover .ni-step-item:hover .ni-step-name , body.cases_list .ni-step-item:hover .ni-step-name , body.cases_detail .ni-step-item:hover .ni-step-name  {
    color: #9B3B2E;
}
body.cases_cover .ni-step-desc , body.cases_list .ni-step-desc , body.cases_detail .ni-step-desc  {
    font-size: 0.6875rem; color: #8B7355;
    margin-top: 0.125rem; line-height: 1.5;
}

/* 疗效六指标卡 */
body.cases_cover .ni-indicator-grid , body.cases_list .ni-indicator-grid , body.cases_detail .ni-indicator-grid  {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
}
body.cases_cover .ni-indicator , body.cases_list .ni-indicator , body.cases_detail .ni-indicator  {
    padding: 0.625rem 0.5rem;
    background: #F5F0E8;
    border-radius: 0.5rem;
    text-align: center;
    border: 1px solid #E5DBCB;
    transition: all 0.25s ease;
    cursor: default;
}
body.cases_cover .ni-indicator:hover , body.cases_list .ni-indicator:hover , body.cases_detail .ni-indicator:hover  {
    background: #FDF5F3;
    border-color: #9B3B2E;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 16px rgba(155,59,46,0.10);
}
body.cases_cover .ni-indicator > i , body.cases_list .ni-indicator > i , body.cases_detail .ni-indicator > i  {
    color: #5A7A4D;
    margin-bottom: 0.25rem;
    transition: all 0.25s ease;
}
body.cases_cover .ni-indicator:hover > i , body.cases_list .ni-indicator:hover > i , body.cases_detail .ni-indicator:hover > i  {
    color: #9B3B2E;
    transform: scale(1.2);
}
body.cases_cover .ni-indi-name , body.cases_list .ni-indi-name , body.cases_detail .ni-indi-name  {
    font-size: 0.75rem; font-weight: 600; color: #2D2A26;
}
body.cases_cover .ni-indi-sub , body.cases_list .ni-indi-sub , body.cases_detail .ni-indi-sub  {
    font-size: 0.625rem; color: #8B7355;
    margin-top: 0.125rem; line-height: 1.4;
}
body.cases_cover .ni-tip , body.cases_list .ni-tip , body.cases_detail .ni-tip  {
    margin-top: 0.625rem;
    padding: 0.375rem 0.625rem;
    background: #E8EDE0;
    border-radius: 0.5rem;
    display: flex; align-items: center; gap: 0.375rem;
    font-size: 0.6875rem; color: #4A6B3D;
    transition: all 0.25s ease;
}
body.cases_cover .ni-tip > i , body.cases_list .ni-tip > i , body.cases_detail .ni-tip > i  {
    color: #5A7A4D; flex-shrink: 0;
}
body.cases_cover .ni-card:hover .ni-tip , body.cases_list .ni-card:hover .ni-tip , body.cases_detail .ni-card:hover .ni-tip  {
    background: #FDF5F3;
    color: #9B3B2E;
}
body.cases_cover .ni-card:hover .ni-tip > i , body.cases_list .ni-card:hover .ni-tip > i , body.cases_detail .ni-card:hover .ni-tip > i  {
    color: #9B3B2E;
}

/* 心阳总枢卡 */
body.cases_cover .ni-heart-core , body.cases_list .ni-heart-core , body.cases_detail .ni-heart-core  {
    padding: 0.75rem;
    background: linear-gradient(135deg, #FDF5F3 0%, #FFF 100%);
    border-radius: 0.625rem;
    transition: all 0.25s ease;
}
body.cases_cover .ni-card:hover .ni-heart-core , body.cases_list .ni-card:hover .ni-heart-core , body.cases_detail .ni-card:hover .ni-heart-core  {
    background: linear-gradient(135deg, #FDF5F3 0%, #F5E0E0 100%);
}
body.cases_cover .ni-heart-top , body.cases_list .ni-heart-top , body.cases_detail .ni-heart-top  {
    display: flex; align-items: center; gap: 0.75rem;
    padding-bottom: 0.625rem;
    margin-bottom: 0.625rem;
    border-bottom: 1px dashed #E8D4C8;
}
body.cases_cover .ni-heart-emblem , body.cases_list .ni-heart-emblem , body.cases_detail .ni-heart-emblem  {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #9B3B2E 0%, #C44B3C 100%);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(155,59,46,0.2);
}
body.cases_cover .ni-card:hover .ni-heart-emblem , body.cases_list .ni-card:hover .ni-heart-emblem , body.cases_detail .ni-card:hover .ni-heart-emblem  {
    transform: rotate(6deg) scale(1.1);
}
body.cases_cover .ni-heart-quote , body.cases_list .ni-heart-quote , body.cases_detail .ni-heart-quote  {
    font-family: 'Noto Serif SC', serif;
    font-weight: 700; font-size: 0.9375rem;
    color: #9B3B2E;
}
body.cases_cover .ni-heart-lines , body.cases_list .ni-heart-lines , body.cases_detail .ni-heart-lines  {
    display: flex; flex-direction: column; gap: 0.375rem;
}
body.cases_cover .ni-heart-line , body.cases_list .ni-heart-line , body.cases_detail .ni-heart-line  {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.75rem; line-height: 1.5;
    padding: 0.25rem 0.375rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}
body.cases_cover .ni-heart-line:hover , body.cases_list .ni-heart-line:hover , body.cases_detail .ni-heart-line:hover  {
    background: #fff;
    transform: translateX(3px);
}
body.cases_cover .ni-hl-k , body.cases_list .ni-hl-k , body.cases_detail .ni-hl-k  {
    font-weight: 600; color: #9B3B2E;
    flex-shrink: 0;
}
body.cases_cover .ni-hl-v , body.cases_list .ni-hl-v , body.cases_detail .ni-hl-v  {
    color: #5C5449;
}

/* 关键枢纽数字卡 */
body.cases_cover .ni-keys-grid , body.cases_list .ni-keys-grid , body.cases_detail .ni-keys-grid  {
    margin-top: 0.625rem;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.375rem;
}
body.cases_cover .ni-key , body.cases_list .ni-key , body.cases_detail .ni-key  {
    display: flex; flex-direction: column; align-items: center;
    padding: 0.375rem 0.125rem;
    border-radius: 0.5rem;
    background: #F5F0E8;
    transition: all 0.25s ease;
    cursor: default;
    text-align: center;
    gap: 0.125rem;
}
body.cases_cover .ni-key:hover , body.cases_list .ni-key:hover , body.cases_detail .ni-key:hover  {
    background: #9B3B2E;
    transform: translateY(-2px);
}
body.cases_cover .ni-key:hover .ni-key-no , body.cases_list .ni-key:hover .ni-key-no , body.cases_detail .ni-key:hover .ni-key-no  {
    color: #fff;
}
body.cases_cover .ni-key:hover .ni-key-txt , body.cases_list .ni-key:hover .ni-key-txt , body.cases_detail .ni-key:hover .ni-key-txt  {
    color: #FDF5F3;
}
body.cases_cover .ni-key-no , body.cases_list .ni-key-no , body.cases_detail .ni-key-no  {
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    font-size: 0.8125rem;
    color: #9B3B2E;
    transition: color 0.2s;
}
body.cases_cover .ni-key-txt , body.cases_list .ni-key-txt , body.cases_detail .ni-key-txt  {
    font-size: 0.625rem;
    color: #5C5449;
    line-height: 1.4;
    transition: color 0.2s;
}

/* 饮食调护卡 */
body.cases_cover .ni-diet , body.cases_list .ni-diet , body.cases_detail .ni-diet  {
    display: flex; flex-direction: column; gap: 0.625rem;
}
body.cases_cover .ni-diet-group , body.cases_list .ni-diet-group , body.cases_detail .ni-diet-group  {
    padding: 0.625rem;
    border-radius: 0.5rem;
    transition: all 0.25s ease;
}
body.cases_cover .ni-diet-group.danger , body.cases_list .ni-diet-group.danger , body.cases_detail .ni-diet-group.danger  {
    background: rgba(155,59,46,0.04);
    border: 1px solid #E8D4C8;
}
body.cases_cover .ni-card:hover .ni-diet-group.danger , body.cases_list .ni-card:hover .ni-diet-group.danger , body.cases_detail .ni-card:hover .ni-diet-group.danger  {
    background: rgba(155,59,46,0.08);
    border-color: #9B3B2E;
}
body.cases_cover .ni-diet-group.safe , body.cases_list .ni-diet-group.safe , body.cases_detail .ni-diet-group.safe  {
    background: rgba(90,122,77,0.04);
    border: 1px solid #D4E5C8;
}
body.cases_cover .ni-card:hover .ni-diet-group.safe , body.cases_list .ni-card:hover .ni-diet-group.safe , body.cases_detail .ni-card:hover .ni-diet-group.safe  {
    background: rgba(90,122,77,0.08);
    border-color: #5A7A4D;
}
body.cases_cover .ni-diet-title , body.cases_list .ni-diet-title , body.cases_detail .ni-diet-title  {
    display: flex; align-items: center; gap: 0.375rem;
    font-size: 0.75rem; font-weight: 700; color: #2D2A26;
    margin-bottom: 0.5rem;
}
body.cases_cover .ni-diet-group.danger .ni-diet-title , body.cases_list .ni-diet-group.danger .ni-diet-title , body.cases_detail .ni-diet-group.danger .ni-diet-title  {
    color: #9B3B2E;
}
body.cases_cover .ni-diet-group.safe .ni-diet-title , body.cases_list .ni-diet-group.safe .ni-diet-title , body.cases_detail .ni-diet-group.safe .ni-diet-title  {
    color: #5A7A4D;
}
body.cases_cover .ni-diet-tags , body.cases_list .ni-diet-tags , body.cases_detail .ni-diet-tags  {
    display: flex; flex-wrap: wrap; gap: 0.375rem;
}
body.cases_cover .ni-diet-tag , body.cases_list .ni-diet-tag , body.cases_detail .ni-diet-tag  {
    display: inline-flex; align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem; font-weight: 500;
    border-radius: 9999px;
    transition: all 0.25s ease;
    cursor: default;
}
body.cases_cover .ni-diet-tag.danger-tag , body.cases_list .ni-diet-tag.danger-tag , body.cases_detail .ni-diet-tag.danger-tag  {
    background: #F5E0E0; color: #8B3A2E;
    border: 1px solid #E8C4B8;
}
body.cases_cover .ni-diet-tag.danger-tag:hover , body.cases_list .ni-diet-tag.danger-tag:hover , body.cases_detail .ni-diet-tag.danger-tag:hover  {
    background: #9B3B2E; color: #fff;
    border-color: #9B3B2E;
    transform: scale(1.08);
}
body.cases_cover .ni-diet-tag.safe-tag , body.cases_list .ni-diet-tag.safe-tag , body.cases_detail .ni-diet-tag.safe-tag  {
    background: #E8EDE0; color: #4A6B3D;
    border: 1px solid #C4D9B8;
}
body.cases_cover .ni-diet-tag.safe-tag:hover , body.cases_list .ni-diet-tag.safe-tag:hover , body.cases_detail .ni-diet-tag.safe-tag:hover  {
    background: #5A7A4D; color: #fff;
    border-color: #5A7A4D;
    transform: scale(1.08);
}
body.cases_cover .ni-diet-warn , body.cases_list .ni-diet-warn , body.cases_detail .ni-diet-warn  {
    display: flex; align-items: flex-start; gap: 0.375rem;
    padding: 0.5rem 0.625rem;
    background: #FDF5E6;
    border: 1px dashed #C4A35A;
    border-radius: 0.5rem;
    font-size: 0.6875rem; color: #8B6E3A; line-height: 1.5;
    transition: all 0.25s ease;
}
body.cases_cover .ni-card:hover .ni-diet-warn , body.cases_list .ni-card:hover .ni-diet-warn , body.cases_detail .ni-card:hover .ni-diet-warn  {
    border-color: #9B3B2E;
    color: #9B3B2E;
    background: #FDF5F3;
}
body.cases_cover .ni-diet-warn > i , body.cases_list .ni-diet-warn > i , body.cases_detail .ni-diet-warn > i  {
    color: #C4A35A; flex-shrink: 0; margin-top: 2px;
}
body.cases_cover .ni-card:hover .ni-diet-warn > i , body.cases_list .ni-card:hover .ni-diet-warn > i , body.cases_detail .ni-card:hover .ni-diet-warn > i  {
    color: #9B3B2E;
}

/* 针药合一卡 */
body.cases_cover .ni-needle , body.cases_list .ni-needle , body.cases_detail .ni-needle  {
    display: flex; align-items: stretch; justify-content: space-between;
    gap: 0.5rem; padding: 0.75rem 0.25rem;
}
body.cases_cover .ni-nd-col , body.cases_list .ni-nd-col , body.cases_detail .ni-nd-col  {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; gap: 0.375rem;
    padding: 0.625rem 0.375rem;
    border-radius: 0.5rem;
    background: #F5F0E8;
    transition: all 0.25s ease;
    cursor: default;
    text-align: center;
}
body.cases_cover .ni-nd-col:hover , body.cases_list .ni-nd-col:hover , body.cases_detail .ni-nd-col:hover  {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(45,42,38,0.10);
}
body.cases_cover .ni-nd-col:first-child:hover , body.cases_list .ni-nd-col:first-child:hover , body.cases_detail .ni-nd-col:first-child:hover  {
    background: rgba(155,59,46,0.08);
}
body.cases_cover .ni-nd-col:last-child:hover , body.cases_list .ni-nd-col:last-child:hover , body.cases_detail .ni-nd-col:last-child:hover  {
    background: rgba(74,124,140,0.08);
}
body.cases_cover .ni-nd-icon , body.cases_list .ni-nd-icon , body.cases_detail .ni-nd-icon  {
    width: 44px; height: 44px;
    border-radius: 0.75rem;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}
body.cases_cover .ni-nd-icon.herbal , body.cases_list .ni-nd-icon.herbal , body.cases_detail .ni-nd-icon.herbal  {
    background: linear-gradient(135deg, #9B3B2E 0%, #C4A35A 100%);
    color: #fff;
}
body.cases_cover .ni-nd-icon.needle-icon , body.cases_list .ni-nd-icon.needle-icon , body.cases_detail .ni-nd-icon.needle-icon  {
    background: linear-gradient(135deg, #4A7C8C 0%, #7A9A6D 100%);
    color: #fff;
}
body.cases_cover .ni-nd-col:hover .ni-nd-icon , body.cases_list .ni-nd-col:hover .ni-nd-icon , body.cases_detail .ni-nd-col:hover .ni-nd-icon  {
    transform: scale(1.1) rotate(-6deg);
}
body.cases_cover .ni-nd-name , body.cases_list .ni-nd-name , body.cases_detail .ni-nd-name  {
    font-family: 'Noto Serif SC', serif;
    font-weight: 700; font-size: 0.875rem; color: #2D2A26;
}
body.cases_cover .ni-nd-desc , body.cases_list .ni-nd-desc , body.cases_detail .ni-nd-desc  {
    font-size: 0.625rem; color: #5C5449;
    line-height: 1.5;
}
body.cases_cover .ni-nd-vs , body.cases_list .ni-nd-vs , body.cases_detail .ni-nd-vs  {
    align-self: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #D4C9B8;
    display: flex; align-items: center; justify-content: center;
    color: #C4A35A;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
body.cases_cover .ni-card:hover .ni-nd-vs , body.cases_list .ni-card:hover .ni-nd-vs , body.cases_detail .ni-card:hover .ni-nd-vs  {
    background: #9B3B2E;
    border-color: #9B3B2E;
    color: #fff;
    transform: rotate(90deg);
}

/* 情志为要卡 */
body.cases_cover .ni-emotion , body.cases_list .ni-emotion , body.cases_detail .ni-emotion  {
    display: flex; flex-direction: column; gap: 0;
}
body.cases_cover .ni-emo-item , body.cases_list .ni-emo-item , body.cases_detail .ni-emo-item  {
    display: flex; align-items: flex-start; gap: 0.625rem;
    padding: 0.625rem 0.5rem;
    border-bottom: 1px dashed #E5DBCB;
    transition: all 0.25s ease;
    border-radius: 0.5rem;
    cursor: default;
}
body.cases_cover .ni-emo-item:last-child , body.cases_list .ni-emo-item:last-child , body.cases_detail .ni-emo-item:last-child  {
    border-bottom: none;
}
body.cases_cover .ni-emo-item:hover , body.cases_list .ni-emo-item:hover , body.cases_detail .ni-emo-item:hover  {
    background: #FDF5F3;
    transform: translateX(4px);
    border-bottom-color: transparent;
}
body.cases_cover .ni-emo-item > i , body.cases_list .ni-emo-item > i , body.cases_detail .ni-emo-item > i  {
    color: #C4A35A; flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 0.5rem;
    background: #F5F0E8;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s ease;
    margin-top: 2px;
}
body.cases_cover .ni-emo-item:hover > i , body.cases_list .ni-emo-item:hover > i , body.cases_detail .ni-emo-item:hover > i  {
    background: #9B3B2E;
    color: #fff;
    transform: scale(1.1);
}
body.cases_cover .ni-emo-name , body.cases_list .ni-emo-name , body.cases_detail .ni-emo-name  {
    font-size: 0.8125rem; font-weight: 600; color: #2D2A26;
    transition: color 0.2s;
}
body.cases_cover .ni-emo-item:hover .ni-emo-name , body.cases_list .ni-emo-item:hover .ni-emo-name , body.cases_detail .ni-emo-item:hover .ni-emo-name  {
    color: #9B3B2E;
}
body.cases_cover .ni-emo-desc , body.cases_list .ni-emo-desc , body.cases_detail .ni-emo-desc  {
    font-size: 0.6875rem; color: #8B7355;
    margin-top: 0.125rem; line-height: 1.5;
}

/* 邪要有出路卡 */
body.cases_cover .ni-exit , body.cases_list .ni-exit , body.cases_detail .ni-exit  {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    position: relative;
}
body.cases_cover .ni-exit-item , body.cases_list .ni-exit-item , body.cases_detail .ni-exit-item  {
    padding: 0.75rem 0.5rem;
    border-radius: 0.625rem;
    text-align: center;
    transition: all 0.25s ease;
    cursor: default;
}
body.cases_cover .ni-exit-item.exit-poop , body.cases_list .ni-exit-item.exit-poop , body.cases_detail .ni-exit-item.exit-poop  {
    background: linear-gradient(135deg, #F5EDE0 0%, #F5F0E8 100%);
    border: 1px solid #E5DBCB;
}
body.cases_cover .ni-exit-item.exit-poop:hover , body.cases_list .ni-exit-item.exit-poop:hover , body.cases_detail .ni-exit-item.exit-poop:hover  {
    background: linear-gradient(135deg, #FDF5E6 0%, #F5EDE0 100%);
    border-color: #C4A35A;
    transform: translateY(-3px);
}
body.cases_cover .ni-exit-item.exit-urine , body.cases_list .ni-exit-item.exit-urine , body.cases_detail .ni-exit-item.exit-urine  {
    background: linear-gradient(135deg, #E0E8ED 0%, #F0F8FF 100%);
    border: 1px solid #C4D9E5;
}
body.cases_cover .ni-exit-item.exit-urine:hover , body.cases_list .ni-exit-item.exit-urine:hover , body.cases_detail .ni-exit-item.exit-urine:hover  {
    background: linear-gradient(135deg, #C4E5F0 0%, #E0E8ED 100%);
    border-color: #4A7C8C;
    transform: translateY(-3px);
}
body.cases_cover .ni-exit-item > i , body.cases_list .ni-exit-item > i , body.cases_detail .ni-exit-item > i  {
    margin-bottom: 0.375rem;
    transition: transform 0.25s ease;
}
body.cases_cover .ni-exit-item.exit-poop > i , body.cases_list .ni-exit-item.exit-poop > i , body.cases_detail .ni-exit-item.exit-poop > i  {
    color: #C4A35A;
}
body.cases_cover .ni-exit-item.exit-urine > i , body.cases_list .ni-exit-item.exit-urine > i , body.cases_detail .ni-exit-item.exit-urine > i  {
    color: #4A7C8C;
}
body.cases_cover .ni-exit-item:hover > i , body.cases_list .ni-exit-item:hover > i , body.cases_detail .ni-exit-item:hover > i  {
    transform: scale(1.2);
}
body.cases_cover .ni-exit-name , body.cases_list .ni-exit-name , body.cases_detail .ni-exit-name  {
    font-family: 'Noto Serif SC', serif;
    font-weight: 700; font-size: 0.9375rem; color: #2D2A26;
    margin-bottom: 0.125rem;
}
body.cases_cover .ni-exit-role , body.cases_list .ni-exit-role , body.cases_detail .ni-exit-role  {
    font-size: 0.625rem; color: #5C5449; line-height: 1.5;
}
body.cases_cover .ni-exit-warn , body.cases_list .ni-exit-warn , body.cases_detail .ni-exit-warn  {
    grid-column: span 2;
    margin-top: 0.25rem;
    padding: 0.5rem 0.625rem;
    background: #FDF5F3;
    border: 1px dashed #E8C4B8;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 0.6875rem; color: #8B3A2E; line-height: 1.6;
    transition: all 0.25s ease;
}
body.cases_cover .ni-card:hover .ni-exit-warn , body.cases_list .ni-card:hover .ni-exit-warn , body.cases_detail .ni-card:hover .ni-exit-warn  {
    background: #9B3B2E;
    color: #fff;
    border-color: #9B3B2E;
}

/* 警示卡 */
body.cases_cover .ni-warn-card , body.cases_list .ni-warn-card , body.cases_detail .ni-warn-card  {
    background: linear-gradient(135deg, #FDF5E6 0%, #F5F0E8 100%);
    border-color: #C4A35A;
}
body.cases_cover .ni-warn-card:hover , body.cases_list .ni-warn-card:hover , body.cases_detail .ni-warn-card:hover  {
    border-color: #9B3B2E;
    background: linear-gradient(135deg, #FDF5F3 0%, #FDF5E6 100%);
}
body.cases_cover .ni-caveat , body.cases_list .ni-caveat , body.cases_detail .ni-caveat  {
    list-style: none;
    margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 0.375rem;
}
body.cases_cover .ni-caveat li , body.cases_list .ni-caveat li , body.cases_detail .ni-caveat li  {
    display: flex; align-items: flex-start; gap: 0.375rem;
    padding: 0.375rem 0.5rem;
    font-size: 0.6875rem; color: #5C5449;
    line-height: 1.6;
    border-radius: 0.375rem;
    transition: all 0.25s ease;
    cursor: default;
}
body.cases_cover .ni-caveat li > i , body.cases_list .ni-caveat li > i , body.cases_detail .ni-caveat li > i  {
    color: #9B3B2E; flex-shrink: 0; margin-top: 2px;
    transition: transform 0.25s ease;
}
body.cases_cover .ni-caveat li:hover , body.cases_list .ni-caveat li:hover , body.cases_detail .ni-caveat li:hover  {
    background: #fff;
    transform: translateX(3px);
    color: #9B3B2E;
}
body.cases_cover .ni-caveat li:hover > i , body.cases_list .ni-caveat li:hover > i , body.cases_detail .ni-caveat li:hover > i  {
    transform: scale(1.15);
}

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

body.cases_detail .case-hero-title {
    font-family: 'Noto Serif SC', serif; font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700; line-height: 1.3; color: #2D2A26;
}
body.cases_detail .case-stats-bar {
    display: flex; flex-wrap: wrap; gap: 1.5rem;
    background: #fff; border: 1px solid #D4C9B8; border-radius: 1rem;
    padding: 1rem 1.5rem; margin: 1.5rem 0;
}
body.cases_detail .stat-item { display: flex; align-items: center; gap: 0.5rem; }
body.cases_detail .stat-icon {
    width: 36px; height: 36px; border-radius: 0.5rem;
    display: flex; align-items: center; justify-content: center;
}
body.cases_detail .stat-value { font-family: 'Noto Serif SC', serif; font-weight: 700; color: #9B3B2E; }
body.cases_detail .stat-label { font-size: 0.75rem; color: #5C5449; }
body.cases_detail .source-strip {
    background: #EDE5D8; border-radius: 0.75rem; padding: 0.875rem 1.25rem;
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem;
    font-size: 0.875rem; color: #5C5449;
}
body.cases_detail .source-strip strong { color: #2D2A26; }
body.cases_detail .content-card {
    background: #fff; border: 1px solid #D4C9B8; border-radius: 1rem;
    padding: 1.5rem 1.75rem; margin-bottom: 1.5rem;
}
body.cases_detail .content-section { margin-bottom: 1.75rem; }
body.cases_detail .content-section:last-child { margin-bottom: 0; }
body.cases_detail .content-h {
    font-family: 'Noto Serif SC', serif; font-size: 1.25rem; font-weight: 700;
    color: #2D2A26; margin-bottom: 0.875rem;
    display: flex; align-items: center; gap: 0.625rem;
}
body.cases_detail .content-h::before {
    content: ''; display: block; width: 4px; height: 1.25rem;
    background: #9B3B2E; border-radius: 2px;
}
body.cases_detail .content-p { color: #2D2A26; font-size: 0.9375rem; line-height: 1.9; margin-bottom: 0.75rem; }
body.cases_detail .content-p strong { color: #9B3B2E; }
body.cases_detail .patient-info {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
    border: 1px solid #D4C9B8; border-radius: 0.75rem; overflow: hidden;
}
body.cases_detail .patient-row { display: contents; }
body.cases_detail .patient-label {
    padding: 0.625rem 1rem; background: #F5F0E8;
    font-size: 0.8125rem; color: #5C5449; font-weight: 500;
    border-bottom: 1px solid #E5DBCB;
}
body.cases_detail .patient-value {
    padding: 0.625rem 1rem; background: #fff;
    font-size: 0.875rem; color: #2D2A26;
    border-bottom: 1px solid #E5DBCB;
    border-right: 1px solid #E5DBCB;
}
@media (max-width: 640px) {
    body.cases_detail .patient-info { grid-template-columns: 1fr; }
    body.cases_detail .patient-value { border-right: none; }
}
body.cases_detail .formula-box {
    background: #F5F0E8; border: 1px solid #E5DBCB; border-radius: 0.75rem;
    padding: 1.25rem; margin: 0.75rem 0;
}
body.cases_detail .formula-title {
    font-family: 'Noto Serif SC', serif; font-weight: 700;
    color: #9B3B2E; margin-bottom: 0.625rem; font-size: 1rem;
}
body.cases_detail .herb-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.5rem 0; }
body.cases_detail .herb-item {
    display: inline-flex; align-items: center; gap: 0.25rem;
    padding: 0.3rem 0.75rem; background: #fff; border: 1px solid #D4C9B8;
    border-radius: 0.375rem; font-size: 0.8125rem; color: #2D2A26;
}
body.cases_detail .herb-dose { color: #8B7355; font-size: 0.75rem; }
body.cases_detail .usage-text {
    font-size: 0.8125rem; color: #5C5449; line-height: 1.7;
    padding: 0.5rem 0; border-top: 1px dashed #D4C9B8; margin-top: 0.5rem;
}
body.cases_detail .tongue-diagnosis {
    display: flex; gap: 1rem; flex-wrap: wrap;
    background: #fff; border: 1px solid #D4C9B8; border-radius: 0.75rem;
    padding: 1rem 1.25rem; margin: 0.75rem 0;
}
body.cases_detail .td-item { display: flex; align-items: center; gap: 0.5rem; }
body.cases_detail .td-label { font-size: 0.8125rem; color: #5C5449; }
body.cases_detail .td-value { font-weight: 600; color: #9B3B2E; font-size: 0.9375rem; }
body.cases_detail .timeline { position: relative; padding-left: 1.5rem; }
body.cases_detail .timeline::before {
    content: ''; position: absolute; left: 0.5rem; top: 0; bottom: 0;
    width: 2px; background: linear-gradient(180deg, #9B3B2E, #C4A35A, #7A9A6D);
}
body.cases_detail .timeline-item { position: relative; padding-bottom: 1.25rem; }
body.cases_detail .timeline-item::before {
    content: ''; position: absolute; left: -1.25rem; top: 0.375rem;
    width: 12px; height: 12px; border-radius: 50%;
    background: #9B3B2E; border: 2px solid #fff; box-shadow: 0 0 0 2px #9B3B2E;
}
body.cases_detail .timeline-date {
    font-size: 0.8125rem; color: #9B3B2E; font-weight: 600; margin-bottom: 0.25rem;
}
body.cases_detail .timeline-content {
    font-size: 0.875rem; color: #2D2A26; line-height: 1.7;
}
body.cases_detail .tag-cloud-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
body.cases_detail .tc-item {
    display: inline-flex; align-items: center; gap: 0.375rem;
    padding: 0.375rem 0.875rem; background: #F5F0E8;
    border: 1px solid #D4C9B8; border-radius: 9999px;
    font-size: 0.8125rem; color: #5C5449;
    transition: all 0.2s; cursor: pointer;
}
body.cases_detail .tc-item:hover { background: #9B3B2E; color: #fff; border-color: #9B3B2E; }
body.cases_detail .nav-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
body.cases_detail .nav-card {
    background: #fff; border: 1px solid #D4C9B8; border-radius: 0.75rem;
    padding: 1rem 1.25rem; transition: all 0.25s ease;
    display: flex; flex-direction: column; gap: 0.375rem;
}
body.cases_detail .nav-card:hover { border-color: #9B3B2E; box-shadow: 0 4px 16px rgba(45,42,38,0.06); }
body.cases_detail .nav-label { font-size: 0.75rem; color: #8B7355; display: flex; align-items: center; gap: 0.25rem; }
body.cases_detail .nav-title { font-size: 0.875rem; font-weight: 600; color: #2D2A26; line-height: 1.5; }
body.cases_detail .nav-card:hover .nav-title { color: #9B3B2E; }
@media (max-width: 640px) { body.cases_detail .nav-cards { grid-template-columns: 1fr; } }

body.cases_detail .related-case {
    display: flex; gap: 0.625rem; padding: 0.5rem 0;
    border-bottom: 1px dashed #E5DBCB; transition: color 0.2s;
}
body.cases_detail .related-case:last-child { border-bottom: none; }
body.cases_detail .related-case:hover { color: #9B3B2E; }
body.cases_detail .related-thumb {
    width: 80px; height: 60px; flex-shrink: 0;
    border-radius: 0.5rem; display: flex; align-items: center; justify-content: center;
    color: #fff; font-family: 'Noto Serif SC', serif; font-weight: 700; font-size: 1.5rem;
}
body.cases_detail .related-info { flex: 1; min-width: 0; }
body.cases_detail .related-title { font-size: 0.8125rem; font-weight: 500; line-height: 1.5; color: #2D2A26; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.cases_detail .related-meta { font-size: 0.6875rem; color: #8B7355; margin-top: 0.25rem; }

body.cases_detail .herb-illust {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.625rem 0; border-bottom: 1px dashed #E5DBCB;
}
body.cases_detail .herb-illust:last-child { border-bottom: none; }
body.cases_detail .herb-thumb {
    width: 44px; height: 44px; border-radius: 0.5rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
body.cases_detail .herb-info { flex: 1; min-width: 0; }
body.cases_detail .herb-name { font-size: 0.8125rem; font-weight: 600; color: #2D2A26; }
body.cases_detail .herb-role { font-size: 0.75rem; color: #8B7355; }

body.cases_detail .quiz-card {
    background: #F5E6E0; border: 1px dashed #9B3B2E;
    border-radius: 0.75rem; padding: 1rem;
}
body.cases_detail .quiz-q { font-family: 'Noto Serif SC', serif; font-weight: 700; color: #9B3B2E; margin-bottom: 0.5rem; font-size: 0.9375rem; }
body.cases_detail .quiz-a { font-size: 0.875rem; color: #5C5449; line-height: 1.7; }

body.cases_detail .action-bar {
    display: flex; gap: 0.5rem; margin-top: 1.25rem;
}
body.cases_detail .action-btn {
    display: inline-flex; align-items: center; gap: 0.375rem;
    padding: 0.5rem 1rem; border: 1px solid #D4C9B8; border-radius: 9999px;
    font-size: 0.8125rem; color: #5C5449; background: #fff;
    transition: all 0.2s; cursor: pointer;
}
body.cases_detail .action-btn:hover { border-color: #9B3B2E; color: #9B3B2E; }
body.cases_detail .action-btn.active { background: #9B3B2E; color: #fff; border-color: #9B3B2E; }

body.cases_detail .efficacy-cloud {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    background: #fff; border: 1px solid #D4C9B8; border-radius: 1rem;
    padding: 1.25rem; margin-bottom: 1.5rem;
}
body.cases_detail .efficacy-item {
    display: inline-flex; align-items: center; gap: 0.375rem;
    padding: 0.4rem 0.875rem; background: #F5F0E8;
    border-radius: 0.375rem; font-size: 0.8125rem; color: #5C5449;
    transition: all 0.2s;
}
body.cases_detail .efficacy-item:hover { background: #E8E4D8; color: #9B3B2E; }

/* ============ 子栏目分区展示 (cover_cases 三栏合并) ============ */
body.cases_cover .cat-section {
    background: #fff;
    border: 1px solid #D4C9B8;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid #9B3B2E;
}
body.cases_cover .cat-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #E5DBCB;
}
body.cases_cover .cat-section-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 0.75rem;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.25s ease;
}
body.cases_cover .cat-section:hover .cat-section-icon {
    transform: scale(1.08);
}
body.cases_cover .cat-section-info {
    flex: 1;
    min-width: 0;
}
body.cases_cover .cat-section-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2D2A26;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}
body.cases_cover .cat-section-desc {
    font-size: 0.8125rem;
    color: #5C5449;
    line-height: 1.5;
}
body.cases_cover .cat-section-count {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #9B3B2E;
    padding: 0.375rem 0.875rem;
    background: #F5F0E8;
    border-radius: 9999px;
    white-space: nowrap;
    flex-shrink: 0;
}
body.cases_cover .cat-section--student {
    border-left-color: #9B3B2E;
}
body.cases_cover .cat-section--log {
    border-left-color: #8B7355;
}
body.cases_cover .cat-section--difficult {
    border-left-color: #5A7A4D;
}
body.cases_cover .cat-section-more {
    text-align: center;
    padding-top: 0.5rem;
    margin-top: 0.75rem;
}
body.cases_cover .cat-section-more .more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #9B3B2E;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border: 1px solid #D4C9B8;
    border-radius: 9999px;
    background: #fff;
    transition: all 0.25s ease;
}
body.cases_cover .cat-section-more .more-link:hover {
    background: #9B3B2E;
    color: #fff;
    border-color: #9B3B2E;
}
@media (max-width: 640px) {
    body.cases_cover .cat-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    body.cases_cover .cat-section-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    body.cases_cover .cat-section-count {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}

/* ============ 详情页：关键词 + 操作按钮 (虚线分隔内联) ============ */
body.cases_detail .case-actions-card {
    padding: 1.25rem 1.5rem;
}
body.cases_detail .case-actions-keywords {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
body.cases_detail .case-actions-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2D2A26;
    flex-shrink: 0;
    line-height: 1.8;
}
body.cases_detail .case-actions-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
body.cases_detail .case-actions-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    color: #5C5449;
    background: #F5F0E8;
    border: 1px solid #E5DBCB;
    transition: all 0.2s ease;
    cursor: pointer;
}
body.cases_detail .case-actions-tag:hover {
    background: #9B3B2E;
    color: #fff;
    border-color: #9B3B2E;
}
body.cases_detail .case-actions-divider {
    border-top: 1px dashed #D4C9B8;
    margin: 1rem 0;
}
body.cases_detail .case-actions-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
body.cases_detail .case-actions-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1.125rem;
    border-radius: 9999px;
    border: 1px solid #D4C9B8;
    background: #fff;
    font-size: 0.8125rem;
    color: #5C5449;
    cursor: pointer;
    transition: all 0.2s ease;
}
body.cases_detail .case-actions-btn i {
    color: #8B7355;
    transition: color 0.2s ease;
}
body.cases_detail .case-actions-btn em {
    font-style: normal;
    color: #8B7355;
    font-size: 0.75rem;
}
body.cases_detail .case-actions-btn:hover {
    border-color: #9B3B2E;
    color: #9B3B2E;
    background: #FDF5F3;
}
body.cases_detail .case-actions-btn:hover i,
body.cases_detail .case-actions-btn:hover em {
    color: #9B3B2E;
}
@media (max-width: 640px) {
    body.cases_detail .case-actions-keywords {
        flex-direction: column;
        gap: 0.5rem;
    }
    body.cases_detail .case-actions-btn {
        flex: 1;
        justify-content: center;
    }
}
