/* === Embodied AI Frontier — 文章详情页样式 === */
/* 设计语言：与三栏布局 demo 一致 — rgba 透明边框，细腻层次 */

/* ===== 顶部导航（与右边栏 rp-header 完全一致） ===== */
.article-topnav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(10, 14, 23, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 20px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
[data-theme="light"] .article-topnav {
    background: rgba(236, 238, 242, 0.88);
}

/* ===== 目录卷轴（会员专属，CEO 2026-08-14 定稿 v4）=====
   一体卷轴：[目录面板 | Tab把手]。Tab 固定在卷轴右端，跟卷轴一起移动。
   隐藏态 → translateX 左移，只露 Tab 在正文与左栏空隙（不挡正文文字）；
   点击 → 整个卷轴右滑展开（面板从 topnav 下沿到视口底）。fixed 定位，JS 对齐。 */
.atb-wrap {
    position: fixed;
    z-index: 15;                          /* 🔴 低于左栏 .left-nav z-index:30（CEO 2026-08-14 v6）：
                                             卷轴在左栏【下面】一层——收起动画面板滑进左栏后被盖住，无残影；
                                             Tab 左端被左栏遮挡，从边缘自然伸出，不穿模。
                                             展开后面板仍在正文之上（正文无 z-index）。 */
    width: 274px;                         /* 248(面板) + 26(Tab) */
    /* left/top/bottom 由 JS 设置：left=center-feed左缘, top=topnav高, bottom=0 */
    transform: translateX(calc(-100% + 20px));   /* 隐藏：整体左移，Tab(26px) 右缘贴正文起点（article padding 20px），不挡正文文字 */
    visibility: hidden;                   /* 🔴 初始不显示；滚过摘要模块后 JS 加 atb-shown 显示（CEO 2026-08-14 v7） */
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.2s ease, visibility 0.2s;
}
.atb-wrap.atb-shown {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
.atb-wrap.atb-open {
    transform: translateX(0);             /* 展开：卷轴整体滑出，Tab 跟到面板右端 */
}
/* 🔴 隐藏态面板隐形（卷轴仍覆盖左栏区域，必须 opacity 0 不干扰视觉/点击） */
.atb-wrap:not(.atb-open) .atb-panel {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.atb-panel {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.22s ease, visibility 0.22s;
}
/* 目录面板：topnav 下沿到视口底的高度 */
.atb-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 248px;
    display: flex;
    flex-direction: column;
    background: rgba(10, 14, 23, 0.5);
    backdrop-filter: blur(40px) saturate(1.4);     /* 高度模糊：底下字成色块不可读（CEO 2026-08-14） */
    -webkit-backdrop-filter: blur(40px) saturate(1.4);
    border: 1px solid var(--border-subtle);
    border-left: none;
    border-radius: 0 0 0 0;
    box-shadow: 14px 0 44px rgba(0,0,0,0.35);
    overflow: hidden;
}
[data-theme="light"] .atb-panel {
    background: rgba(236, 238, 242, 0.5);
    border-color: rgba(15,23,42,0.08);
    border-left-color: transparent;
}
.atb-head {
    padding: 16px 18px 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
[data-theme="light"] .atb-head { color: rgba(15,23,42,0.4); border-bottom-color: rgba(15,23,42,0.08); }
.atb-list {
    list-style: none;
    margin: 0;
    padding: 8px 0 20px;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
}
.atb-list li a {
    display: block;
    padding: 9px 18px;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255,255,255,0.4);       /* 暗调统一半透明白（CEO 2026-08-14） */
    text-decoration: none;
    transition: color 0.12s, background 0.12s;
}
.atb-list li a:hover { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.04); }
.atb-list li.atb-active a {
    color: var(--accent);                /* 🔴 高亮回归站蓝 accent（CEO 2026-08-14 微调） */
    background: rgba(0,212,255,0.08);
    border-left: 2px solid var(--accent);
    padding-left: 16px;
}
[data-theme="light"] .atb-list li a { color: rgba(15,23,42,0.45); }
[data-theme="light"] .atb-list li a:hover { color: rgba(15,23,42,0.8); background: rgba(15,23,42,0.04); }
[data-theme="light"] .atb-list li.atb-active a { color: #0284c7; background: rgba(2,132,199,0.08); border-left-color: #0284c7; }

/* Tab 把手：小标签（非全高），固定在卷轴右端，位于卷轴高度 1/3 处（CEO 2026-08-14 v5 微调） */
.atb-tab {
    position: absolute;
    left: 248px;                          /* 面板右侧 */
    top: 33%;                             /* 卷轴高度 1/3 处（非居中） */
    width: 26px;
    height: 64px;                         /* 小标签高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 17, 24, 0.97);   /* 近乎不透明——半透明底叠左栏实心背景会隐形（2026-08-14 修复） */
    border: 1px solid rgba(255,255,255,0.16);
    border-left: none;
    border-radius: 0 10px 10px 0;         /* Tab 是卷轴右端：右侧圆角 */
    box-shadow: 4px 0 14px rgba(0,0,0,0.35);
    cursor: pointer;
    color: inherit;
    font: inherit;
    transition: background 0.15s, border-color 0.15s;
    writing-mode: vertical-rl;            /* 竖排文字 */
    text-orientation: mixed;
}
.atb-tab:hover { background: rgba(13, 17, 24, 1); border-color: rgba(0,212,255,0.35); }
.atb-tab-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.6);         /* 提亮：左栏深底上必须可读（CEO 2026-08-14 修复） */
}
.atb-tab:hover .atb-tab-text { color: var(--accent); }
[data-theme="light"] .atb-tab { background: rgba(236, 238, 242, 0.97); border-color: rgba(15,23,42,0.18); }
[data-theme="light"] .atb-tab:hover { background: #eceef2; border-color: rgba(2,132,199,0.4); }
[data-theme="light"] .atb-tab-text { color: rgba(15,23,42,0.6); }
[data-theme="light"] .atb-tab:hover .atb-tab-text { color: #0284c7; }
/* 锚点跳转补偿：正文 h2 滚动定位时扣除冻结栏高度 */
.art-body h2 { scroll-margin-top: 64px; }
.atn-home {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
}
.atn-home:hover {
    color: var(--accent);
}
.atn-sep {
    color: rgba(255,255,255,0.08);
    font-size: 14px;
    flex-shrink: 0;
}
.atn-section {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
}
.atn-section:hover {
    color: var(--accent);
}
.atn-title {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.18);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

/* ===== 页面容器 ===== */
.article-page {
    padding: 0 20px 48px;
}

/* ===== 文章头部 ===== */
.art-header {
    padding: 28px 0 20px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 24px;
}
.art-header-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 12px;
    flex-wrap: wrap;
}
.art-header-tag {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 20px;
    flex-shrink: 0;
}
.art-tag-industry { background: rgba(0,212,255,0.1); color: var(--accent); }
.art-tag-research { background: rgba(123,97,255,0.1); color: #a78bfa; }
.art-tag-funding { background: rgba(255,107,53,0.1); color: #ff6b35; }
.art-tag-deep { background: rgba(95,199,154,0.1); color: #5fc79a; }
.art-tag-policy { background: rgba(100,116,139,0.1); color: #94a3b8; }
.art-tag-tech { background: rgba(124,58,237,0.1); color: #a78bfa; }
.art-tag-news { background: rgba(14,116,144,0.1); color: #22d3ee; }

/* 🔴 政策级别 pill（阶段2.5 CEO 定稿：全国政策/地方政策）——header meta 次级标签 */
.art-level-pill {
    font-size: 9.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    flex-shrink: 0;
}
.art-level-national { background: rgba(94,207,150,0.15); color: #7fe0b0; border: 1px solid rgba(94,207,150,0.35); }
.art-level-local { background: rgba(96,165,250,0.14); color: #7cb8f8; border: 1px solid rgba(96,165,250,0.3); }

.art-header-source {
    color: rgba(255,255,255,0.4);
}
.art-header-date {
    color: rgba(255,255,255,0.2);
}
.art-header-readtime {
    color: rgba(255,255,255,0.2);
}

.art-header-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.018em;
    color: #e8edf5;
}

/* ===== 封面图 ===== */
.art-cover-wrap {
    width: 100%;
    max-height: 420px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 32px;
    border: 1px solid rgba(255,255,255,0.04);
}
.art-cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== 舒适阅读区 ===== */
.art-reading {
    max-width: 700px;
    margin: 0 auto;
}

/* ===== 推荐理由框 ===== */
.art-rec-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 18px 22px;
    margin: 0 0 24px;
}
.art-rec-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--accent);
    margin-bottom: 6px;
}
.art-rec-text {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
}

/* ===== 正文排版 ===== */
.art-body {
    font-size: 15.5px;
    line-height: 1.85;
    color: rgba(255,255,255,0.78);
}
.art-body h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 14px;
    line-height: 1.3;
    color: #e8edf5;
}
.art-body h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 32px 0 10px;
    line-height: 1.4;
    color: rgba(255,255,255,0.85);
}
.art-body h4 {
    font-size: 15.5px;
    font-weight: 600;
    margin: 24px 0 8px;
    color: rgba(255,255,255,0.85);
}
.art-body p {
    margin: 16px 0;
}
.art-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 0.5px;
}
.art-body a:hover {
    opacity: 0.8;
}
/* 🔴 X 采集器视频推文播放按钮（2026-08-14 CEO 参考 AIHOT：封面+居中播放按钮+点击跳原推）
   通用样式——文章页视频块（.art-body a 内）与列表缩略图（.tl-card-thumb 内）复用；
   视频块结构由 x_publish build_video_block 生成：<a style="position:relative"> + <img> + <span class="x-video-play">▶</span> */
.x-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.75);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    pointer-events: none;
    text-indent: 3px;
    transition: transform 80ms ease, background 160ms ease, border-color 160ms ease;
}
.art-body a:hover .x-video-play {
    background: rgba(0, 0, 0, 0.72);
    border-color: rgba(255, 255, 255, 0.95);
    transform: translate(-50%, -50%) scale(1.06);
}
.art-body blockquote {
    border-left: 2px solid var(--accent);
    padding: 14px 22px;
    margin: 24px 0;
    background: rgba(255,255,255,0.015);
    border-radius: 0 8px 8px 0;
    color: rgba(255,255,255,0.5);
    font-style: italic;
}
.art-body ul, .art-body ol {
    margin: 16px 0;
    padding-left: 24px;
}
.art-body li {
    margin-bottom: 6px;
}
.art-body img {
    max-width: 100%;
    border-radius: 10px;
    margin: 24px 0;
    border: 1px solid rgba(255,255,255,0.04);
}
.art-body pre {
    background: rgba(255,255,255,0.015);
    padding: 18px 22px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.6;
    border: 1px solid rgba(255,255,255,0.05);
}
.art-body code {
    font-family: var(--font-mono);
    font-size: 0.85em;
}
.art-body p > code {
    background: rgba(255,255,255,0.04);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85em;
}
.art-body hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.04);
    margin: 32px 0;
}

/* ===== 信任栏 ===== */
.art-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    margin: 32px 0;
    font-size: 12px;
}
.art-trust-item {
    color: rgba(255,255,255,0.3);
}
.art-trust-divider {
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.art-trust-link {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
}
.art-trust-link:hover {
    text-decoration: underline;
}

/* ===== 多源报道 ===== */
.art-rel-sources {
    padding: 16px 18px;
    margin: 28px 0;
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
}
.art-rel-label {
    font-weight: 600;
    font-size: 11.5px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 10px;
}
.art-rel-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.art-rel-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.4);
    font-size: 11.5px;
    text-decoration: none;
    transition: all 0.12s;
}
.art-rel-item:hover {
    background: rgba(0,212,255,0.06);
    color: var(--accent);
}
.art-rel-lang {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255,255,255,0.15);
}

/* ===== 标签 ===== */
.art-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 28px 0 8px;
}
.art-tag-pill {
    display: inline-flex;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(226,232,240,0.08);
    border: 1px solid rgba(226,232,240,0.25);
    color: #e2e8f0;
    font-size: 11.5px;
    text-decoration: none;
    transition: all 0.12s;
}
.art-tag-pill:hover {
    border-color: rgba(226,232,240,0.5);
    color: #fff;
}

/* ===== 上下篇导航（极简对称） ===== */
.art-pn-nav {
    display: flex;
    gap: 12px;
    margin: 44px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.03);
}
.art-pn-col {
    flex: 1;
    min-width: 0;
}
.art-pn-right {
    text-align: right;
}
.art-pn-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 56px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.04);
    text-decoration: none;
    transition: all 0.12s;
}
.art-pn-link:hover {
    border-color: rgba(255,255,255,0.08);
}
.art-pn-dir {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.1);
    margin-bottom: 2px;
    line-height: 1;
}
.art-pn-title {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.18);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.art-pn-link:hover .art-pn-title {
    color: rgba(255,255,255,0.35);
}

/* ===== 右栏：推荐文章（横排大卡片） ===== */
.rec-list {
    padding: 8px 12px;
}
.rec-card {
    display: flex;
    gap: 12px;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    text-decoration: none;
    color: inherit;
    transition: background 0.1s;
    border-radius: 8px;
}
.rec-card:hover {
    background: rgba(255,255,255,0.015);
}
.rec-card:last-child {
    border-bottom: none;
}
.rec-current {
    border-left: 2px solid var(--accent);
    background: rgba(0,212,255,0.03);
}
.rec-card:visited .rec-card-title { opacity: 0.35; }
.rec-card:visited .rec-card-summary { opacity: 0.25; }

.rec-card-img-wrap {
    width: 100px;
    min-width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.rec-card-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 0;
}
.rec-card-img-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.rec-bg-funding { background: linear-gradient(135deg, #2d1b1b, #4a1e1e); }
.rec-bg-research { background: linear-gradient(135deg, #1a1040, #2d1b69); }
.rec-bg-deep { background: linear-gradient(135deg, #0e2a2a, #0e7490); }
.rec-bg-tech { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.rec-bg-industry { background: linear-gradient(135deg, #0a2a3a, #1a3a5a); }
.rec-bg-default { background: linear-gradient(135deg, #1a1a2e, #16213e); }

.rec-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.rec-card-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1px 8px;
    border-radius: 10px;
    margin-bottom: 4px;
    align-self: flex-start;
}
.rec-tag-industry { background: rgba(0,212,255,0.1); color: var(--accent); }
.rec-tag-research { background: rgba(123,97,255,0.1); color: #a78bfa; }
.rec-tag-funding { background: rgba(255,107,53,0.1); color: #ff6b35; }
.rec-tag-deep { background: rgba(95,199,154,0.1); color: #5fc79a; }
.rec-tag-policy { background: rgba(100,116,139,0.1); color: #94a3b8; }
.rec-tag-tech { background: rgba(124,58,237,0.1); color: #a78bfa; }
.rec-tag-news { background: rgba(14,116,144,0.1); color: #22d3ee; }

.rec-card-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(255,255,255,0.6);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 3px;
    min-height: calc(13px * 1.35 * 2);
}
.rec-card:hover .rec-card-title {
    color: #e8edf5;
}
.rec-card-summary {
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255,255,255,0.2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
    flex: 1;
}
.rec-card-meta {
    font-size: 10px;
    color: rgba(255,255,255,0.15);
}

/* ===== Mobile Article Page (<640px) ===== */
@media (max-width: 640px) {
    .article-page { padding: 0 12px 60px; }
    .art-pn-nav { margin-bottom: 0; padding-bottom: 16px; }
    .article-topnav { display: none; }
    .art-header { padding: 16px 0 12px; margin-bottom: 16px; }
    .art-header-title { font-size: 20px; }
    .art-header-meta { gap: 6px; font-size: 10px; }
    .art-cover-wrap { max-height: 200px; margin-bottom: 16px; border-radius: 0; }
    .art-reading { max-width: 100%; padding: 0; }
    .art-body { font-size: 15px; line-height: 1.7; }
    .art-body h2 { font-size: 18px; margin: 22px 0 8px; }
    .art-body h3 { font-size: 15px; margin: 18px 0 6px; }
    .art-rec-box { padding: 10px 14px; }
    .art-rec-text { font-size: 12px; }
    .art-trust { flex-wrap: wrap; gap: 6px; padding: 8px 12px; font-size: 10px; }
    .art-pn-nav { flex-direction: row; gap: 8px; align-items: stretch; }
    .art-pn-right { text-align: right; }
    .art-pn-link { height: 52px; padding: 0 12px; border-color: rgba(255,255,255,0.12); }
    .art-pn-dir { color: rgba(255,255,255,0.55); }
    .art-pn-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; color: rgba(255,255,255,0.8); }
}

/* ===== 导读框（摘要+可折叠目录，CEO 2026-08-12 新增） ===== */
.art-lead {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.12);
    border-left: 3px solid var(--accent);
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 0 0 28px;
}
.art-lead-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--accent);
    margin-bottom: 8px;
}
.art-lead-abstract {
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(255,255,255,0.72);
    margin: 0;
}
.art-lead-abstract p { margin: 0 0 8px; }
.art-lead-abstract p:last-child { margin-bottom: 0; }
.art-lead-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 14px 0;
}
.art-toc summary {
    cursor: pointer;
    list-style: none;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--accent);
    user-select: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.art-toc summary::-webkit-details-marker { display: none; }
.art-toc summary::before {
    content: '▸';
    font-size: 11px;
    transition: transform 0.15s;
    display: inline-block;
}
.art-toc[open] summary::before { transform: rotate(90deg); }
.art-toc ol {
    margin: 10px 0 0;
    padding-left: 20px;
}
.art-toc li {
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    margin-bottom: 4px;
}
.art-toc li a { color: rgba(255,255,255,0.55); text-decoration: none; }
.art-toc li a:hover { color: var(--accent); }

/* ===== 浅色主题适配（[data-theme="light"]，CEO 2026-08-12 修复：文章页硬编码白色导致浅色下不可读） ===== */
[data-theme="light"] .atn-home,
[data-theme="light"] .atn-section { color: rgba(15,23,42,0.7); }
[data-theme="light"] .atn-sep { color: rgba(15,23,42,0.15); }
[data-theme="light"] .atn-title { color: rgba(15,23,42,0.45); }
[data-theme="light"] .art-header { border-bottom-color: var(--border-subtle); }
[data-theme="light"] .art-header-source { color: rgba(15,23,42,0.55); }
[data-theme="light"] .art-header-date,
[data-theme="light"] .art-header-readtime { color: rgba(15,23,42,0.45); }
[data-theme="light"] .art-header-title { color: #0f172a; }
[data-theme="light"] .art-tag-research { color: #7c3aed; }
[data-theme="light"] .art-tag-deep { color: #0f766e; }
[data-theme="light"] .art-tag-tech { color: #6d28d9; }
[data-theme="light"] .art-tag-news { color: #0e7490; }
[data-theme="light"] .art-tag-policy { color: #475569; }
[data-theme="light"] .art-level-national { color: #059669; }
[data-theme="light"] .art-level-local { color: #2563eb; }
[data-theme="light"] .art-cover-wrap { border-color: var(--border-subtle); }
[data-theme="light"] .art-rec-box {
    background: rgba(15,23,42,0.05);
    border-color: rgba(15,23,42,0.15);
}
[data-theme="light"] .art-rec-text { color: rgba(15,23,42,0.75); }
[data-theme="light"] .art-body { color: rgba(15,23,42,0.8); }
[data-theme="light"] .art-body h2 { color: #0f172a; }
[data-theme="light"] .art-body h3,
[data-theme="light"] .art-body h4 { color: rgba(15,23,42,0.85); }
[data-theme="light"] .art-body blockquote {
    background: rgba(15,23,42,0.03);
    color: rgba(15,23,42,0.6);
}
[data-theme="light"] .art-body img { border-color: var(--border-subtle); }
[data-theme="light"] .art-body pre {
    background: rgba(15,23,42,0.03);
    border-color: rgba(15,23,42,0.1);
}
[data-theme="light"] .art-body p > code { background: rgba(15,23,42,0.05); }
[data-theme="light"] .art-body hr { border-top-color: var(--border-subtle); }
[data-theme="light"] .art-trust {
    background: rgba(15,23,42,0.02);
    border-color: rgba(15,23,42,0.08);
}
[data-theme="light"] .art-trust-item { color: rgba(15,23,42,0.5); }
[data-theme="light"] .art-trust-divider { background: rgba(15,23,42,0.15); }
[data-theme="light"] .art-rel-sources {
    background: rgba(15,23,42,0.02);
    border-color: rgba(15,23,42,0.08);
}
[data-theme="light"] .art-rel-label { color: rgba(15,23,42,0.5); }
[data-theme="light"] .art-rel-item {
    background: rgba(15,23,42,0.04);
    color: rgba(15,23,42,0.6);
}
[data-theme="light"] .art-rel-lang { color: rgba(15,23,42,0.35); }
[data-theme="light"] .art-tag-pill {
    background: rgba(15,23,42,0.05);
    border-color: rgba(15,23,42,0.15);
    color: #334155;
}
[data-theme="light"] .art-tag-pill:hover {
    border-color: rgba(15,23,42,0.35);
    color: #0f172a;
}
[data-theme="light"] .art-pn-nav { border-top-color: var(--border-subtle); }
[data-theme="light"] .art-pn-link { border-color: rgba(15,23,42,0.1); }
[data-theme="light"] .art-pn-link:hover { border-color: rgba(15,23,42,0.18); }
[data-theme="light"] .art-pn-dir { color: rgba(15,23,42,0.4); }
/* ── 参考材料（文末来源，知乎引用风格：灰底块+左竖线+小字，2026-08-17）── */
.art-refs {
    background: rgba(255, 255, 255, 0.045);
    border-left: 3px solid var(--accent);
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin: 24px 0 8px;
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}
.art-refs .art-refs-group {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin: 12px 0 4px;
}
.art-refs p { margin: 3px 0; }
.art-refs a { color: var(--accent); word-break: break-all; }
[data-theme="light"] .art-refs {
    background: rgba(15, 23, 42, 0.04);
    border-left-color: rgba(15, 23, 42, 0.35);
    color: rgba(15, 23, 42, 0.6);
}
[data-theme="light"] .art-refs .art-refs-group { color: rgba(15, 23, 42, 0.8); }
[data-theme="light"] .art-refs a { color: #0969da; }
[data-theme="light"] .art-pn-title { color: rgba(15,23,42,0.5); }
[data-theme="light"] .art-pn-link:hover .art-pn-title { color: rgba(15,23,42,0.75); }
[data-theme="light"] .rec-card { border-bottom-color: rgba(15,23,42,0.08); }
[data-theme="light"] .rec-card:hover { background: rgba(15,23,42,0.03); }
[data-theme="light"] .rec-card-title { color: rgba(15,23,42,0.7); }
[data-theme="light"] .rec-card:hover .rec-card-title { color: #0f172a; }
[data-theme="light"] .rec-card-summary { color: rgba(15,23,42,0.5); }
[data-theme="light"] .rec-card-meta { color: rgba(15,23,42,0.4); }
[data-theme="light"] .art-lead {
    background: rgba(15,23,42,0.05);
    border-color: rgba(15,23,42,0.15);
}
[data-theme="light"] .art-lead-abstract { color: rgba(15,23,42,0.75); }
[data-theme="light"] .art-lead-divider { border-top-color: rgba(15,23,42,0.15); }
[data-theme="light"] .art-toc li { color: rgba(15,23,42,0.6); }
[data-theme="light"] .art-toc li a { color: rgba(15,23,42,0.6); }
@media (max-width: 640px) {
    [data-theme="light"] .art-pn-dir { color: rgba(15,23,42,0.55); }
    [data-theme="light"] .art-pn-title { color: rgba(15,23,42,0.75); }
}
