/* ============================================================
   ATLAS V1 — Design System
   方向：Digital Humanities / Archive / Editorial / Evidence / Quiet / Premium
   禁止：战争游戏风、赛博朋克、AI SaaS 渐变、红黑大面积战争主题
   ============================================================ */

:root {
  /* ---- 颜色（任务书第七节） ---- */
  --bg:          #F6F5F1;   /* 暖灰白，主背景 */
  --bg-raise:    #FFFFFF;   /* 卡片/浮层 */
  --bg-sink:     #EFEEE9;   /* 次级分区 */
  --ink:         #171717;   /* 正文 */
  --ink-2:       #6B6B67;   /* 次要文字 */
  --ink-3:       #9A9A94;   /* 三级文字/占位 */
  --line:        #D9D8D2;   /* 边框 */
  --line-soft:   #E6E5DF;
  --accent:      #8B1E1E;   /* 深红：仅关键按钮/当前状态/时间线节点/hover/标签 */
  --accent-soft: #F2E8E8;
  --dark:        #171717;   /* 深色区块：Hero / PDF Reader / Evidence Graph */
  --dark-2:      #1D1D1B;
  --dark-3:      #141414;
  --dark-line:   #2E2E2B;
  --dark-ink:    #EDECE7;
  --dark-ink-2:  #A3A29C;

  /* ---- 版权徽章 ---- */
  --pd:        #2E7D4F;
  --official:  #2A5DA8;
  --restrict:  #A87A16;
  --unknown:   #8A8A84;

  /* ---- 字体 ---- */
  --sans: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI",
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --serif: "Source Serif 4", "Noto Serif SC", Georgia, "Songti SC", "SimSun",
           "Hiragino Mincho ProN", "Yu Mincho", serif;
  --mono: "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;

  /* ---- 布局 ---- */
  --max: 1200px;
  --pad: 32px;
  --nav-h: 64px;

  --r-sm: 3px;
  --r: 4px;
  --r-lg: 6px;

  --shadow-sm: 0 1px 2px rgba(23,23,23,.05);
  --shadow: 0 2px 12px rgba(23,23,23,.07);
  --shadow-lg: 0 12px 44px rgba(23,23,23,.16);

  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;         /* 移动端禁止横向滚动 */
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--accent-soft); color: var(--accent); }

/* ---------- 字体层级（任务书第八节） ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: 48px; line-height: 1.1; }
h2 { font-size: 32px; line-height: 1.25; }
h3 { font-size: 22px; line-height: 1.4; }
.t-body   { font-size: 16px; line-height: 1.75; }
.t-small  { font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.t-meta   { font-size: 12px; line-height: 1.5; color: var(--ink-2); letter-spacing: .02em; }
.t-serif  { font-family: var(--serif); }
.kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-2);
}
.kicker-accent { color: var(--accent); }

/* ---------- 布局容器 ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--line-soft); }
.section-sink { background: var(--bg-sink); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 40px;
}
.section-head .lead { max-width: 620px; margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.section-more {
  font-size: 13px; font-weight: 500; color: var(--accent); white-space: nowrap;
  border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .2s;
}
.section-more:hover { border-color: var(--accent); }

/* ============================================================
   Navbar
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(246,245,241,.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 var(--pad);
  height: 100%; display: flex; align-items: center; gap: 32px;
}
.nav-brand { display: flex; align-items: baseline; gap: 10px; flex-shrink: 0; }
.nav-brand b { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.nav-brand span { font-size: 11px; color: var(--ink-2); letter-spacing: .1em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-right  { display: flex; align-items: center; gap: 4px; }
.nav-search {
  display: flex; align-items: center; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 2px 4px 2px 12px; margin-right: 6px; transition: border-color .18s, box-shadow .18s;
}
.nav-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.nav-search input {
  border: 0; background: transparent; outline: none; font-size: 13px; color: var(--ink);
  width: 150px; padding: 6px 4px;
}
.nav-search button {
  border: 0; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600;
  border-radius: 999px; padding: 5px 12px; cursor: pointer;
}
.nav-search button:hover { background: var(--accent-2); }
.nav-a {
  position: relative; padding: 8px 12px; font-size: 14px; font-weight: 500;
  color: var(--ink-2); border-radius: var(--r); transition: color .18s;
}
.nav-a:hover { color: var(--ink); }
.nav-a.is-active { color: var(--accent); }
.nav-a.is-active::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px;
  height: 2px; background: var(--accent);
}
.nav-cta {
  padding: 8px 16px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--accent); color: var(--accent); border-radius: var(--r);
  transition: background .18s, color .18s;
}
.nav-cta:hover { background: var(--accent); color: #fff; }
.nav-burger {
  display: none; width: 40px; height: 40px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer;
}
.nav-burger i { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; }
.nav-burger i::before, .nav-burger i::after {
  content: ''; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink);
}
.nav-burger i::before { top: -5px; } .nav-burger i::after { top: 5px; }
.nav-drawer { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; min-height: 640px; background: var(--dark);
  display: flex; align-items: center; overflow: hidden;
  margin-top: var(--nav-h);
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 30%;
  opacity: .22; filter: grayscale(.35) contrast(1.05);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,23,23,.55) 0%, rgba(23,23,23,.25) 45%, rgba(23,23,23,.8) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 96px 0; text-align: center; }
.hero h1 { color: #fff; max-width: 900px; margin: 0 auto; font-size: 64px; letter-spacing: .02em; }
.hero .hero-tagline { color: rgba(255,255,255,.86); font-size: 21px; font-weight: 500; margin: 14px auto 0; letter-spacing: .04em; font-family: var(--serif); }
.hero .hero-sub {
  color: rgba(255,255,255,.72); font-size: 17px; max-width: 640px;
  margin: 20px auto 0; line-height: 1.7;
}
.hero-credit {
  position: absolute; bottom: 14px; right: var(--pad); z-index: 3;
  font-size: 11px; color: rgba(255,255,255,.42); max-width: 60%; text-align: right;
}
.hero-credit a { border-bottom: 1px solid rgba(255,255,255,.25); }
.hero-credit a:hover { color: rgba(255,255,255,.8); }

/* ---------- 搜索框 ---------- */
.searchbox {
  display: flex; align-items: center; width: 620px; max-width: 100%;
  height: 64px; margin: 40px auto 0;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.searchbox input {
  flex: 1; height: 100%; min-width: 0; padding: 0 20px;
  border: 0; outline: none; font: inherit; font-size: 16px; background: transparent; color: var(--ink);
}
.searchbox input::placeholder { color: var(--ink-3); }
.searchbox button {
  height: 100%; padding: 0 30px; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; font-size: 15px; font-weight: 600;
  transition: background .18s;
}
.searchbox button:hover { background: #741919; }
.searchbox.is-inline { height: 52px; box-shadow: none; border: 1px solid var(--line); margin: 0; width: 100%; }
.searchbox.is-inline button { padding: 0 22px; }

.hot { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hot-label { font-size: 12px; color: rgba(255,255,255,.5); align-self: center; margin-right: 2px; }
.hot a {
  font-size: 13px; padding: 5px 13px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.8);
  transition: background .18s, border-color .18s, color .18s;
}
.hot a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); color: #fff; }

/* Hero 数据条 */
.hero-stats {
  display: flex; justify-content: center; gap: 48px; margin-top: 44px; flex-wrap: wrap;
}
.hero-stats div { text-align: center; }
.hero-stats b { display: block; font-size: 26px; font-weight: 600; color: #fff; line-height: 1.2; }
.hero-stats span { font-size: 12px; color: rgba(255,255,255,.55); letter-spacing: .06em; }

/* ============================================================
   首页：热门专题 / 探索入口 / 今日档案三联
   ============================================================ */
.section-hot .hot-topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.ht-card {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink);
  background: var(--bg-raise); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: var(--r); padding: 22px 22px 18px; transition: border-color .18s, transform .18s, box-shadow .18s;
}
.ht-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.ht-t { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.4; }
.ht-s { font-size: 13px; color: var(--ink-2); line-height: 1.6; min-height: 2.4em; }
.ht-go { margin-top: auto; font-size: 13px; color: var(--accent); font-weight: 600; }

.section-explore .explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.ex-card {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink);
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px; transition: border-color .18s, transform .18s, box-shadow .18s;
}
.ex-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.ex-ic { font-size: 26px; line-height: 1; }
.ex-t { font-size: 18px; font-weight: 600; font-family: var(--serif); }
.ex-s { font-size: 13px; color: var(--ink-2); line-height: 1.6; }

.today-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.tt-col {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink);
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px; transition: border-color .18s, transform .18s, box-shadow .18s; overflow: hidden;
}
.tt-col:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tt-kind { font-size: 11px; letter-spacing: .12em; color: var(--accent); font-weight: 700; }
.tt-col img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--bg-sink); filter: grayscale(.15); }
.tt-col .noimg { aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 14px; background: var(--bg-sink); border: 1px dashed var(--line); border-radius: 8px; color: var(--ink-3); font-size: 12px; }
.tt-col .noimg b { font-family: var(--serif); font-size: 15px; color: var(--ink-2); font-weight: 500; }
.tt-t { font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.4; }
.tt-m { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.tt-person { display: flex; align-items: center; gap: 12px; }
.tt-avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft);
  color: var(--accent); font-family: var(--serif); font-size: 20px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.section-more-row { margin-top: 26px; text-align: center; }

/* ============================================================
   机构 / 来源机构页
   ============================================================ */
.src-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.src-card {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink);
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--r); padding: 22px;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.src-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.src-abbr { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--accent); }
.src-name { font-size: 14px; font-weight: 600; line-height: 1.4; }
.src-country { font-size: 12px; color: var(--ink-2); }
.src-count { margin-top: 4px; font-size: 13px; color: var(--accent); font-weight: 600; }
.src-rights { margin-top: 6px; font-size: 12px; color: var(--ink-2); line-height: 1.55; }

/* ============================================================
   证据关系图 / 知识图谱页
   ============================================================ */
.net-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 28px; }
.net-h { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.net-link { color: var(--accent); text-decoration: none; margin-left: 6px; }

/* ============================================================
   事件卡（正在探索）
   ============================================================ */
.event-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.event-card { display: block; group: card; }
.event-card-img {
  position: relative; aspect-ratio: 4 / 3; background: var(--bg-sink);
  border: 1px solid var(--line); overflow: hidden; border-radius: var(--r);
}
.event-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.2); transition: transform .5s var(--ease), filter .4s;
}
.event-card:hover .event-card-img img { transform: scale(1.035); filter: grayscale(0); }
.event-card-img .noimg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 6px; color: var(--ink-3); font-size: 12px; text-align: center; padding: 16px;
  background:
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(23,23,23,.025) 8px 16px);
}
.event-card-img .noimg b { font-family: var(--serif); font-size: 15px; color: var(--ink-2); font-weight: 500; }
.event-card h3 { margin-top: 16px; font-size: 18px; transition: color .18s; }
.event-card:hover h3 { color: var(--accent); }
.event-card .event-meta { margin-top: 6px; font-size: 12px; color: var(--ink-2); }
.event-card .event-count { margin-top: 8px; font-size: 12px; color: var(--accent); font-weight: 600; }

/* ============================================================
   今日档案（左图右文）
   ============================================================ */
.daily { display: grid; grid-template-columns: 460px 1fr; gap: 56px; align-items: center; }
.daily-fig {
  aspect-ratio: 3 / 4; background: var(--bg-sink); border: 1px solid var(--line);
  overflow: hidden; position: relative;
}
.daily-fig img { width: 100%; height: 100%; object-fit: cover; }
.daily-fig .noimg {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px;
  align-items: center; justify-content: center; padding: 32px; text-align: center;
  color: var(--ink-3); font-size: 12px;
}
.daily-fig .noimg b { font-family: var(--serif); font-size: 17px; color: var(--ink-2); font-weight: 500; line-height: 1.5; }
.daily-body h2 { margin: 14px 0 0; font-family: var(--serif); font-size: 30px; line-height: 1.35; font-weight: 600; }
.daily-line { margin-top: 14px; font-size: 13px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.daily-line .dot { color: var(--line); }
.daily-desc { margin-top: 20px; color: var(--ink); font-size: 15.5px; line-height: 1.8; max-width: 56ch; }
.daily-src {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-2);
}
.daily-src b { color: var(--ink); font-weight: 600; }
.daily-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== 收藏 ===== */
.btn.is-on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn.is-on:hover { background: var(--accent-soft); color: var(--accent); }
.ev-hero-act { margin-top: 18px; }
.fav-list { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.fav-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.fav-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-decoration: none; color: inherit; }
.fav-main:hover .fav-title { color: var(--accent); }
.fav-ic { font-size: 18px; flex: none; }
.fav-t { display: flex; flex-direction: column; min-width: 0; }
.fav-title { font-size: 15px; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fav-sub { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fav-x { flex: none; appearance: none; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; font-size: 16px; padding: 6px 8px; border-radius: 6px; transition: background .15s, color .15s; }
.fav-x:hover { background: var(--accent-soft); color: var(--accent); }

/* ============================================================
   社区讨论（本地）
   ============================================================ */
.disc-list { display: flex; flex-direction: column; gap: 14px; margin: 18px 0; }
.disc-empty { color: var(--ink-2); font-size: 14px; padding: 18px; border: 1px dashed var(--line); border-radius: var(--r); background: var(--paper); }
.disc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.disc-quote { border-left: 3px solid var(--accent); background: var(--paper); padding: 8px 12px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 10px; border-radius: 0 6px 6px 0; }
.disc-quote .link-u { font-size: 12.5px; }
.disc-body { font-size: 14.5px; line-height: 1.65; white-space: pre-wrap; }
.disc-meta { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 12.5px; color: var(--ink-2); }
.disc-meta .disc-del { margin-left: auto; appearance: none; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; font-size: 14px; padding: 4px 8px; border-radius: 6px; transition: background .15s, color .15s; }
.disc-meta .disc-del:hover { background: var(--accent-soft); color: var(--accent); }
.disc-form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.disc-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink); }
.disc-form input, .disc-form textarea { font: inherit; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.disc-form textarea { resize: vertical; }
.disc-actions { display: flex; align-items: center; gap: 14px; margin-top: 2px; }
.disc-msg { font-size: 13px; }
.disc-msg.ok { color: #2a7d4f; }
.disc-msg.err { color: var(--accent); }

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 11px 22px; font-size: 14px; font-weight: 600; border-radius: var(--r);
  border: 1px solid var(--accent); background: var(--accent); color: #fff;
  transition: background .18s, border-color .18s, color .18s;
}
.btn:hover { background: #741919; border-color: #741919; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* ============================================================
   Atlas 能做什么
   ============================================================ */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.cap-item { padding: 40px 36px 40px 0; border-right: 1px solid var(--line); }
.cap-item:last-child { border-right: 0; padding-right: 0; }
.cap-item:not(:first-child) { padding-left: 36px; }
.cap-num { font-family: var(--serif); font-size: 15px; color: var(--accent); font-weight: 600; }
.cap-item h3 { margin-top: 12px; font-size: 20px; }
.cap-item p { margin: 12px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }

/* ============================================================
   事件探索（层级连接图）
   ============================================================ */
.flow { display: flex; flex-direction: column; align-items: center; gap: 0; }
.flow-node {
  position: relative; background: var(--bg-raise); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px 26px; text-align: center; min-width: 260px;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.flow-node:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-1px); }
.flow-node .k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.flow-node .v { font-size: 16px; font-weight: 600; margin-top: 3px; }
.flow-node .c { font-size: 12px; color: var(--accent); margin-top: 2px; }
.flow-node.is-root { background: var(--dark); border-color: var(--dark); color: #fff; }
.flow-node.is-root .k { color: rgba(255,255,255,.5); }
.flow-node.is-root .c { color: #D9A0A0; }
.flow-link { width: 1px; height: 30px; background: var(--line); position: relative; overflow: hidden; }
.flow-link::after {
  content: ''; position: absolute; left: 0; top: -30px; width: 1px; height: 30px;
  background: linear-gradient(180deg, transparent, var(--accent));
  animation: flowdown 2.6s var(--ease) infinite;
}
@keyframes flowdown { 0% { top: -30px; } 60%,100% { top: 30px; } }
.flow-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.flow-row .flow-node { min-width: 180px; padding: 13px 20px; }

@media (prefers-reduced-motion: reduce) {
  .flow-link::after { animation: none; display: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   搜索页
   ============================================================ */
.page { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 96px; min-height: 70vh; }
.page-head { margin-bottom: 32px; }
.page-head h1 { font-size: 38px; }
.page-head .lead { margin-top: 12px; color: var(--ink-2); max-width: 680px; font-size: 15px; }

.search-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }

.filters { position: sticky; top: calc(var(--nav-h) + 24px); }
.filters-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px;
}
.filters-head b { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.filters-clear { font-size: 12px; color: var(--accent); cursor: pointer; background: none; border: 0; padding: 0; }
.fgroup { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.fgroup > b { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.fopt {
  display: flex; align-items: center; gap: 9px; padding: 4px 0; cursor: pointer;
  font-size: 13.5px; color: var(--ink); line-height: 1.5;
}
.fopt input { accent-color: var(--accent); width: 14px; height: 14px; margin: 0; flex-shrink: 0; cursor: pointer; }
.fopt .n { margin-left: auto; font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.fopt:hover { color: var(--accent); }
.frange { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.frange input[type=number] {
  width: 68px; padding: 6px 8px; font: inherit; font-size: 13px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink);
}
.frange span { color: var(--ink-3); font-size: 13px; }
.fnote { margin-top: 8px; font-size: 11px; color: var(--ink-3); line-height: 1.5; }

.results-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.results-bar .count { font-size: 14px; color: var(--ink-2); }
.results-bar .count b { color: var(--ink); font-weight: 600; }
.sortbar { display: flex; gap: 2px; }
.sortbar button {
  padding: 5px 12px; font-size: 12.5px; background: none; border: 1px solid transparent;
  border-radius: var(--r-sm); color: var(--ink-2); cursor: pointer; transition: all .16s;
}
.sortbar button:hover { color: var(--ink); }
.sortbar button.is-on { color: var(--accent); border-color: var(--line); background: #fff; font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
  font-size: 12px; background: var(--accent-soft); color: var(--accent);
  border-radius: 100px; border: 1px solid rgba(139,30,30,.15);
}
.chip button { background: none; border: 0; cursor: pointer; color: inherit; opacity: .6; padding: 0; line-height: 1; }
.chip button:hover { opacity: 1; }

/* ---------- 统一 DocumentCard ---------- */
.doc-list { display: flex; flex-direction: column; }
.doc-card {
  display: block; padding: 24px 0; border-bottom: 1px solid var(--line-soft);
  transition: background .18s;
}
.doc-card:hover { background: rgba(255,255,255,.6); }
.doc-kicker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.doc-kicker .k { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.doc-kicker .y {
  font-size: 11px; font-family: var(--mono); color: var(--accent);
  border: 1px solid rgba(139,30,30,.2); padding: 1px 7px; border-radius: 100px;
}
.doc-card h3 {
  margin-top: 9px; font-size: 19px; line-height: 1.45; font-weight: 600;
  transition: color .18s;
}
.doc-card:hover h3 { color: var(--accent); }
.doc-card h3 .zh { display: block; font-size: 14px; font-weight: 400; color: var(--ink-2); margin-top: 3px; }
.badge-flag {
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  color: #fff; background: linear-gradient(135deg, #8b1e1e, #b3322c);
  padding: 2px 9px; border-radius: 100px; text-transform: uppercase;
  box-shadow: 0 1px 4px rgba(139,30,30,.25);
}
.badge-source {
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  color: #5a4a2a; background: #f4ecd8; border: 1px solid #e3d4ac;
  padding: 2px 9px; border-radius: 100px;
}
.sr-card { padding: 20px 18px; border: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; background: var(--paper-2); }
.sr-card:hover { background: #fff; border-color: var(--accent-soft); }
.sr-no { margin-top: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
.sr-no .sr-lbl { color: var(--ink-3); margin-right: 6px; letter-spacing: .04em; }
.sr-match { margin-top: 8px; font-size: 12px; color: var(--accent-2); }
.ent-suggest { margin: 22px 0 8px; padding: 18px; border: 1px dashed var(--line); border-radius: var(--r); background: var(--accent-soft); }
.ent-suggest h3 { font-size: 15px; margin-bottom: 12px; }
.ent-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ent-card {
  display: flex; flex-direction: column; gap: 2px; text-decoration: none;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; min-width: 150px; transition: border-color .18s, box-shadow .18s;
}
.ent-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.ent-card .et { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ent-card b { font-size: 15px; color: var(--ink); }
.ent-card .es { font-size: 11.5px; color: var(--ink-3); }
.ent-sub { margin-top: 14px; }
.ent-sub:first-of-type { margin-top: 0; }
.ent-k {
  display: inline-block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 8px;
  border-left: 3px solid var(--accent); padding-left: 8px;
}
.ent-sub .ent-row { margin-left: 0; }
.doc-sub { margin-top: 8px; font-size: 12.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.doc-sub .dot { color: var(--line); }
.doc-abs {
  margin-top: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.7; max-width: 82ch;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.doc-foot { margin-top: 12px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.doc-src { font-size: 12px; color: var(--ink-2); }
.doc-src b { color: var(--ink); font-weight: 600; }

/* ---------- 版权徽章 ---------- */
.rights {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px;
  padding: 2px 8px; border-radius: 100px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); white-space: nowrap;
}
.rights::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--unknown); }
.rights.pd::before       { background: var(--pd); }
.rights.official::before { background: var(--official); }
.rights.restrict::before { background: var(--restrict); }
.rights.unknown::before  { background: var(--unknown); }

/* ---------- 空状态 / 骨架 ---------- */
.empty { padding: 72px 0; text-align: center; }
.empty h3 { font-size: 20px; }
.empty p { margin: 12px auto 0; max-width: 480px; color: var(--ink-2); font-size: 14.5px; }
.empty .sugg { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.empty .sugg a {
  font-size: 13px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 100px;
  background: #fff; transition: border-color .18s, color .18s;
}
.empty .sugg a:hover { border-color: var(--accent); color: var(--accent); }

.skel { background: linear-gradient(90deg, var(--bg-sink) 25%, #E9E8E2 37%, var(--bg-sink) 63%);
  background-size: 400% 100%; animation: shimmer 1.3s infinite linear; border-radius: var(--r-sm); }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.skel-line { height: 12px; margin-bottom: 10px; }

/* ============================================================
   资料详情页
   ============================================================ */
.detail { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.crumb { font-size: 12px; color: var(--ink-2); margin-bottom: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumb a:hover { color: var(--accent); }
.crumb .sep { color: var(--line); }

.detail h1 { font-family: var(--serif); font-size: 36px; line-height: 1.3; }
.detail .title-zh { margin-top: 10px; font-size: 17px; color: var(--ink-2); line-height: 1.6; }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag {
  font-size: 12px; padding: 3px 10px; border: 1px solid var(--line);
  border-radius: 100px; background: #fff; color: var(--ink-2);
}
.tag.is-accent { border-color: rgba(139,30,30,.25); color: var(--accent); background: var(--accent-soft); }

.block { margin-top: 44px; }
.block > h3 {
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2); padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.ai-summary {
  margin-top: 18px; padding: 22px 24px; background: #fff;
  border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r-sm);
}
.ai-summary p { margin: 0; font-family: var(--serif); font-size: 16px; line-height: 1.85; }
.ai-note {
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line);
  font-size: 11.5px; color: var(--ink-3); line-height: 1.6;
}

.meta-dl { margin: 18px 0 0; display: grid; grid-template-columns: 150px 1fr; gap: 0; }
.meta-dl dt {
  padding: 11px 0; font-size: 12px; color: var(--ink-2); border-bottom: 1px solid var(--line-soft);
  letter-spacing: .04em;
}
.meta-dl dd {
  margin: 0; padding: 11px 0; font-size: 14px; border-bottom: 1px solid var(--line-soft);
  word-break: break-word;
}
.meta-dl dd.mono { font-family: var(--mono); font-size: 12.5px; }
.meta-dl dd .muted { color: var(--ink-3); font-style: italic; }

/* 来源侧栏 */
.side { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.panel > b {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px;
}
.panel.is-source { border-top: 3px solid var(--accent); }
.src-inst { font-size: 16px; font-weight: 600; line-height: 1.4; }
.src-inst small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-2); margin-top: 3px; }
.src-row { margin-top: 14px; font-size: 12px; }
.src-row .k { color: var(--ink-2); display: block; margin-bottom: 2px; }
.src-row .v { font-family: var(--mono); font-size: 12px; word-break: break-all; }
.panel .btn { width: 100%; justify-content: center; margin-top: 18px; }
.panel .btn + .btn { margin-top: 10px; }
.side-note { font-size: 11.5px; color: var(--ink-3); line-height: 1.6; margin-top: 14px; }

.rel-list { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.rel-item { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.rel-item:last-child { border-bottom: 0; }
.rel-item .t { font-size: 13.5px; line-height: 1.5; font-weight: 500; transition: color .18s; }
.rel-item:hover .t { color: var(--accent); }
.rel-item .m { font-size: 11.5px; color: var(--ink-2); margin-top: 3px; }
.rel-why { font-size: 11px; color: var(--accent); }

/* ===== 资料详情 Hero ===== */
.doc-hero { margin-bottom: 8px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.doc-fileno {
  display: inline-block; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em;
  color: var(--accent); font-weight: 600; margin-bottom: 14px; padding: 4px 10px;
  background: var(--accent-soft); border: 1px solid rgba(139,30,30,.2); border-radius: 4px;
}
.doc-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; }
.doc-hero-meta span { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink); }
.doc-hero-meta span i { font-style: normal; font-size: 10.5px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.doc-hero-act { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== 快速判断卡 ===== */
.jc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
.jc { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r); padding: 18px 20px; }
.jc-h { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ink); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.jc-i { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; flex: none; }
.jc-b { font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }

/* ===== 原文 / 译文对照 ===== */
.dual-pane { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.dp-col { padding: 20px 22px; }
.dp-col + .dp-col { border-left: 1px solid var(--line); background: var(--accent-soft); }
.dp-h { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.dp-b { font-family: var(--serif); font-size: 15px; line-height: 1.9; white-space: pre-wrap; }
.dp-mark { display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 600; color: var(--accent); background: #fff; padding: 2px 7px; border-radius: 100px; letter-spacing: .04em; border: 1px solid rgba(139,30,30,.2); }

/* ===== 资料 Tabs ===== */
.doc-tabs { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 36px; border-bottom: 1px solid var(--line); }
.dt { appearance: none; background: transparent; border: 0; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 12px 16px; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .18s, border-color .18s; }
.dt:hover { color: var(--ink); }
.dt.is-on { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { margin-top: 4px; }

/* ============================================================
   PDF Reader（暗色三栏）
   ============================================================ */
.reader { position: fixed; inset: 0; z-index: 400; background: var(--dark-2); display: flex; flex-direction: column; }
.reader-bar {
  height: 56px; flex-shrink: 0; background: var(--dark-3); border-bottom: 1px solid var(--dark-line);
  display: flex; align-items: center; gap: 14px; padding: 0 18px; color: var(--dark-ink);
}
.reader-bar .title {
  font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; max-width: 34%;
}
.reader-bar .spacer { flex: 1; }
.rbtn {
  background: none; border: 1px solid var(--dark-line); color: var(--dark-ink-2);
  padding: 6px 12px; font-size: 12.5px; border-radius: var(--r-sm); cursor: pointer;
  transition: all .16s; white-space: nowrap;
}
.rbtn:hover { color: #fff; border-color: #4A4A46; }
.rbtn.is-on { color: #fff; border-color: var(--accent); background: rgba(139,30,30,.25); }
.rbtn.is-primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.rbtn.is-primary:hover { background: #741919; }
.rpage { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--dark-ink-2); }
.rpage input {
  width: 48px; padding: 4px 6px; text-align: center; font: inherit; font-size: 12.5px;
  background: var(--dark-2); border: 1px solid var(--dark-line); color: var(--dark-ink); border-radius: var(--r-sm);
}
.reader-body { flex: 1; display: grid; grid-template-columns: 172px 1fr 300px; min-height: 0; }
.reader-thumbs {
  background: var(--dark-3); border-right: 1px solid var(--dark-line);
  overflow-y: auto; padding: 14px 12px;
}
.thumb { margin-bottom: 12px; cursor: pointer; }
.thumb .sheet {
  aspect-ratio: 3 / 4; background: #FFFFFF; border: 2px solid transparent; border-radius: 2px;
  display: flex; align-items: center; justify-content: center; color: #B9B8B2; font-size: 11px;
  transition: border-color .18s;
}
.thumb.is-on .sheet { border-color: var(--accent); }
.thumb .n { text-align: center; font-size: 11px; color: var(--dark-ink-2); margin-top: 5px; }
.thumb:hover .sheet { border-color: #4A4A46; }
.thumb.is-on:hover .sheet { border-color: var(--accent); }

.reader-stage {
  overflow: auto; padding: 32px; display: flex; justify-content: center; align-items: flex-start;
  background: var(--dark-2);
}
.sheet-main {
  background: #FFFFFF; width: 720px; max-width: 100%; aspect-ratio: 3 / 4;
  box-shadow: 0 8px 40px rgba(0,0,0,.5); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px; padding: 56px; text-align: center;
  transform-origin: top center;
}
.sheet-main .big { font-family: var(--serif); font-size: 20px; color: #171717; line-height: 1.6; }
.sheet-main .sub { font-size: 13.5px; color: #6B6B67; line-height: 1.8; max-width: 46ch; }
.sheet-main .why {
  margin-top: 8px; font-size: 12px; color: #8B1E1E; border: 1px solid rgba(139,30,30,.2);
  background: #F9F0F0; padding: 12px 16px; border-radius: 3px; max-width: 48ch; line-height: 1.7;
}
.sheet-img { width: 100%; height: 100%; object-fit: contain; background: #fff; }

.reader-info {
  background: var(--dark-3); border-left: 1px solid var(--dark-line);
  overflow-y: auto; padding: 22px 20px; color: var(--dark-ink-2); font-size: 12.5px;
}
.reader-info h4 {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6E6E68;
  margin: 0 0 12px; font-weight: 700;
}
.reader-info .ri { padding: 9px 0; border-bottom: 1px solid var(--dark-line); }
.reader-info .ri .k { color: #6E6E68; font-size: 11px; }
.reader-info .ri .v { color: var(--dark-ink); margin-top: 2px; word-break: break-word; }
.reader-info .block2 { margin-top: 26px; }
.reader-info a.link { color: #D9A0A0; border-bottom: 1px solid rgba(217,160,160,.3); word-break: break-all; }
.reader-info a.link:hover { color: #fff; }
.trans-panel {
  margin-top: 12px; padding: 14px; background: rgba(255,255,255,.03);
  border: 1px solid var(--dark-line); border-radius: var(--r-sm); line-height: 1.8; color: var(--dark-ink);
}
.trans-panel .cap { font-size: 11px; color: #6E6E68; margin-bottom: 6px; }

/* ===== 对照阅读器（原文 / 译文双栏） ===== */
.r-mark { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .03em; padding: 2px 7px; border-radius: 100px; vertical-align: middle; }
.r-mark.orig { background: #EDEDEA; color: #3A3A35; border: 1px solid #D6D6D0; }
.r-mark.human { background: #E7F3EC; color: #1f6f4f; border: 1px solid rgba(31,111,79,.3); }
.r-mark.machine { background: #F2ECF7; color: #6B3FA0; border: 1px solid rgba(107,63,160,.3); }
.r-mark.none { background: #F1F1EE; color: #6E6E68; border: 1px solid #D6D6D0; }
.r-search {
  font: inherit; font-size: 12.5px; width: 150px; padding: 6px 10px; color: var(--dark-ink);
  background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 999px;
}
.r-search:focus { outline: none; border-color: var(--accent); }
.tp-wrap { display: grid; grid-template-columns: 1fr 1fr; height: 100%; min-height: 0; }
.tp-pane { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--dark-line); }
.tp-pane:last-child { border-right: 0; }
.tp-head {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 14px 22px;
  border-bottom: 1px solid var(--dark-line); background: var(--dark-3);
}
.tp-title { font-family: var(--serif); font-size: 15px; color: var(--dark-ink); font-weight: 600; }
.tp-body { flex: 1; overflow-y: auto; padding: 26px 28px; }
.tp-body .tp-p { font-family: var(--serif); font-size: 15px; line-height: 1.95; color: var(--dark-ink); margin: 0 0 18px; transition: background .3s; }
.tp-body .tp-p.is-hl { background: rgba(217,160,160,.18); border-radius: 3px; box-shadow: 0 0 0 4px rgba(217,160,160,.18); }
.tp-body mark { background: #D9A0A0; color: #171717; padding: 0 2px; border-radius: 2px; }
.tp-empty { color: #8B8B85; font-size: 13.5px; line-height: 1.9; padding: 20px; border: 1px dashed var(--dark-line); border-radius: var(--r-sm); }
.tp-empty-full {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 48px; gap: 14px;
}
.tp-empty-full .big { font-family: var(--serif); font-size: 22px; color: var(--dark-ink); max-width: 40ch; line-height: 1.5; }
.tp-empty-full .sub { font-size: 14px; color: var(--dark-ink-2); }
.tp-empty-full .why {
  font-size: 12.5px; color: #B9B8B2; line-height: 1.8; max-width: 60ch;
  border: 1px solid var(--dark-line); background: rgba(255,255,255,.03); padding: 16px 20px; border-radius: var(--r-sm);
}
.tp-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
@media (max-width: 720px) {
  .tp-wrap { grid-template-columns: 1fr; }
  .tp-pane { border-right: 0; border-bottom: 1px solid var(--dark-line); }
  .r-search { width: 110px; }
}

/* ============================================================
   图片查看器 Lightbox
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 500; background: rgba(15,15,14,.96);
  display: flex; flex-direction: column;
}
.lb-bar {
  height: 56px; flex-shrink: 0; display: flex; align-items: center; gap: 14px;
  padding: 0 20px; color: var(--dark-ink); border-bottom: 1px solid rgba(255,255,255,.08);
}
.lb-body { flex: 1; display: grid; grid-template-columns: 1fr 320px; min-height: 0; }
.lb-stage { display: flex; align-items: center; justify-content: center; padding: 32px; overflow: auto; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 10px 60px rgba(0,0,0,.6); }
.lb-side {
  border-left: 1px solid rgba(255,255,255,.08); padding: 24px 22px; overflow-y: auto;
  color: var(--dark-ink-2); font-size: 12.5px; background: rgba(0,0,0,.25);
}
.lb-side h4 { color: #fff; font-size: 15px; margin: 0 0 4px; line-height: 1.5; font-family: var(--serif); font-weight: 600; }

/* ============================================================
   事件页（sticky tabs）
   ============================================================ */
.ev-hero {
  margin-top: var(--nav-h); position: relative; min-height: 380px; background: var(--dark);
  display: flex; align-items: flex-end; overflow: hidden;
}
.ev-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center 35%; opacity: .3; filter: grayscale(.3); }
.ev-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,23,23,.4), rgba(23,23,23,.9)); }
.ev-hero-inner { position: relative; z-index: 2; width: 100%; padding: 56px 0 40px; }
.ev-hero h1 { color: #fff; font-size: 44px; }
.ev-hero .en { color: rgba(255,255,255,.55); font-size: 15px; margin-top: 6px; }
.ev-hero .meta { color: rgba(255,255,255,.75); font-size: 13.5px; margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.ev-hero .meta .dot { color: rgba(255,255,255,.3); }

.tabs {
  position: sticky; top: var(--nav-h); z-index: 100; background: rgba(246,245,241,.95);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.tabs-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: flex; gap: 4px; overflow-x: auto; }
.tabs button {
  padding: 15px 16px; background: none; border: 0; border-bottom: 2px solid transparent;
  font-size: 14px; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: color .16s;
}
.tabs button:hover { color: var(--ink); }
.tabs button.is-on { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.tabs button .n { font-size: 11px; color: var(--ink-3); margin-left: 4px; }

.factlist { margin: 0; padding: 0; list-style: none; }
.factlist li {
  position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line-soft);
  font-size: 15px; line-height: 1.8;
}
.factlist li::before {
  content: ''; position: absolute; left: 2px; top: 21px; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
}
.controv {
  padding: 22px 24px; background: #fff; border: 1px solid var(--line);
  border-left: 3px solid var(--restrict); border-radius: var(--r-sm); margin-top: 18px;
}
.controv p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.8; }
.controv p:last-child { margin-bottom: 0; }

/* 照片网格 */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.photo-card { cursor: pointer; }
.photo-card .f {
  aspect-ratio: 4 / 3; background: var(--bg-sink); border: 1px solid var(--line);
  overflow: hidden; position: relative;
}
.photo-card .f img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.photo-card:hover .f img { transform: scale(1.04); }
.photo-card .cap { margin-top: 10px; font-size: 13px; line-height: 1.5; }
.photo-card .m { margin-top: 4px; font-size: 11.5px; color: var(--ink-2); }

/* ============================================================
   时间线
   ============================================================ */
.tl { position: relative; padding-left: 28px; }
.tl::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 40px; }
.tl-item::before {
  content: ''; position: absolute; left: -28px; top: 7px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--accent);
}
.tl-item .d { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .04em; }
.tl-item h3 { margin-top: 5px; font-size: 20px; }
.tl-item p { margin: 8px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.8; max-width: 70ch; }
.tl-item .n { margin-top: 10px; font-size: 12px; }

/* ===== 横向时间线（P1.5） ===== */
.gtl { margin-top: 28px; }
.gtl-scroll { overflow-x: auto; padding-bottom: 14px; -webkit-overflow-scrolling: touch; }
.gtl-track { position: relative; height: 150px; min-width: 100%; }
.gtl-axis { position: absolute; left: 0; right: 0; top: 64px; height: 2px; background: var(--line); }
.gtl-node {
  position: absolute; top: 64px; transform: translate(-50%, -50%); appearance: none; background: transparent;
  border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; width: 150px; padding: 0;
  font: inherit;
}
.gtl-node .gtl-dot { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); transition: transform .18s, background .18s; }
.gtl-node .gtl-y { margin-top: 8px; font-family: var(--mono); font-size: 12px; color: var(--accent); font-weight: 600; }
.gtl-node .gtl-cap { margin-top: 3px; font-size: 12.5px; color: var(--ink-2); line-height: 1.4; max-width: 140px; }
.gtl-node:hover .gtl-dot { transform: scale(1.25); }
.gtl-node.is-sel .gtl-dot { background: var(--accent); transform: scale(1.3); }
.gtl-node.is-sel .gtl-cap { color: var(--ink); font-weight: 600; }
.gtl-empty { position: absolute; top: 64px; left: 16px; transform: translateY(-50%); color: var(--ink-2); }
.gtl-detail { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r); padding: 24px 26px; }
.gtl-d-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.gtl-d-y { font-family: var(--mono); font-size: 18px; color: var(--accent); font-weight: 700; }
.gtl-d-head h3 { font-size: 22px; font-family: var(--serif); }
.gtl-d-head h3 a:hover { color: var(--accent); }
.gtl-d-o { color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.gtl-d-sum { margin: 12px 0 0; color: var(--ink-2); line-height: 1.85; font-size: 14.5px; }
.gtl-d-actions { margin-top: 16px; }
.gtl-strip { display: flex; align-items: flex-end; gap: 10px; height: 130px; margin-top: 16px; overflow-x: auto; padding-bottom: 4px; }
.gtl-bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 40px; flex: 1; height: 100%; }
.gtl-bar-f { width: 60%; background: var(--accent-soft); border: 1px solid rgba(139,30,30,.25); border-radius: 3px 3px 0 0; min-height: 2px; transition: height .3s; }
.gtl-bar-y { font-size: 11px; color: var(--ink-2); margin-top: 6px; }
.gtl-bar-n { font-size: 11px; font-weight: 700; color: var(--accent); }
@media (max-width: 720px) {
  .gtl-track { height: 168px; }
  .gtl-node { width: 110px; }
  .gtl-node .gtl-cap { font-size: 11.5px; max-width: 104px; }
}

/* ============================================================
   地图（示意，非精确边界）
   ============================================================ */
.mapwrap { position: relative; background: var(--bg-sink); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.mapwrap svg { display: block; width: 100%; height: auto; }
.map-note { margin-top: 12px; font-size: 11.5px; color: var(--ink-3); line-height: 1.6; }
.map-pin { cursor: pointer; }
.map-pin circle { transition: r .2s var(--ease), fill-opacity .2s; }
.map-pin:hover circle.halo { fill-opacity: .3; }
.map-pin:focus { outline: none; }
.map-pin:focus circle { stroke: var(--accent); stroke-width: 2.5; }
.map-label { font-size: 12px; fill: var(--ink); font-weight: 600; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.map-label-ref { fill: var(--ink-2); font-weight: 400; font-style: italic; }
.map-legend { display: flex; gap: 22px; margin-top: 16px; font-size: 12.5px; color: var(--ink-2); }
.map-legend .lg { display: flex; align-items: center; gap: 8px; }
.map-legend .lg-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.map-legend .lg-dot.solid { background: #8B1E1E; border: 1.5px solid #fff; box-shadow: 0 0 0 1px #8B1E1E; }
.map-legend .lg-dot.ref { background: #fff; border: 1.5px dashed #6B6B67; }

/* ============================================================
   证据图谱（深色区块）
   ============================================================ */
.graph { background: var(--dark); border-radius: var(--r); padding: 40px 32px; color: var(--dark-ink); }
.graph svg { display: block; width: 100%; height: auto; }
.graph .g-note { margin-top: 18px; font-size: 11.5px; color: var(--dark-ink-2); line-height: 1.6; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--dark); color: var(--dark-ink-2); padding: 64px 0 40px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.footer a { display: block; font-size: 13px; padding: 4px 0; color: var(--dark-ink-2); transition: color .16s; }
.footer a:hover { color: #fff; }
.footer .about { font-size: 13px; line-height: 1.8; max-width: 44ch; }
.footer .about b { color: #fff; font-size: 16px; display: block; margin-bottom: 10px; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--dark-line);
  font-size: 11.5px; line-height: 1.8; color: #6E6E68;
}

/* 支持/贡献卡 */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.support-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.support-card h3 { font-size: 18px; }
.support-card p { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.8; }

/* 通用工具 */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.muted { color: var(--ink-2); }
.hide { display: none !important; }
.nowrap { white-space: nowrap; }
.link-u { border-bottom: 1px solid var(--line); transition: border-color .18s, color .18s; }
.link-u:hover { color: var(--accent); border-color: var(--accent); }

.notice {
  padding: 14px 18px; background: #fff; border: 1px solid var(--line);
  border-left: 3px solid var(--restrict); border-radius: var(--r-sm);
  font-size: 13px; line-height: 1.7; color: var(--ink-2);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .event-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .daily { grid-template-columns: 1fr; gap: 32px; }
  .daily-fig { aspect-ratio: 4 / 3; max-width: 520px; }
  .detail { grid-template-columns: 1fr; gap: 40px; }
  .side { position: static; }
  .reader-body { grid-template-columns: 1fr 280px; }
  .reader-thumbs { display: none; }
  .search-layout { grid-template-columns: 1fr; gap: 24px; }
  .filters { position: static; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap-item { padding: 28px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .cap-item:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .support-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --pad: 20px; --nav-h: 56px; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
  body { font-size: 15.5px; }

  .nav-links, .nav-right { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
  .nav-drawer {
    display: block; position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); z-index: 199;
    padding: 8px var(--pad) 20px; max-height: 0; overflow: hidden;
    transition: max-height .3s var(--ease); box-shadow: var(--shadow);
  }
  .nav-drawer.is-open { max-height: 70vh; overflow-y: auto; }
  .nav-drawer a {
    display: block; padding: 13px 0; font-size: 15.5px; border-bottom: 1px solid var(--line-soft);
  }
  .nav-drawer a.is-active { color: var(--accent); font-weight: 600; }
  .nav-drawer .grp { margin-top: 10px; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); }
  .drawer-search { display: flex; gap: 6px; margin-bottom: 6px; }
  .drawer-search input { flex: 1; border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; font-size: 15px; outline: none; background: var(--paper-2); color: var(--ink); }
  .drawer-search button { border: 0; background: var(--accent); color: #fff; border-radius: var(--r); padding: 0 16px; font-weight: 600; }

  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 28px; }

  .hero { min-height: 520px; }
  .hero-inner { padding: 64px 0; }
  .searchbox { height: 54px; margin-top: 28px; }
  .searchbox input { padding: 0 16px; font-size: 15px; }
  .searchbox button { padding: 0 18px; font-size: 14px; }
  .hero-stats { gap: 28px; margin-top: 32px; }
  .hero-stats b { font-size: 21px; }
  .hero-credit { position: static; text-align: left; max-width: none; margin: 24px var(--pad) 0; }

  .event-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .daily-body h2 { font-size: 24px; }

  /* 对照阅读器：平板竖屏即改为上下排布，避免双栏挤压 */
  .tp-wrap { grid-template-columns: 1fr; }
  .tp-pane { border-right: 0; border-bottom: 1px solid var(--dark-line); }
  .tp-pane:last-child { border-bottom: 0; }
  /* 搜索实体建议：窄屏下卡片更小、自动换行 */
  .ent-card { min-width: 132px; padding: 9px 12px; }
  .reader-bar { flex-wrap: wrap; }
  .reader-bar .title { flex: 1 1 100%; max-width: none; }

  .hero h1 { font-size: 40px; }
  .hero .hero-tagline { font-size: 17px; }
  .hot-topics { grid-template-columns: 1fr; }
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
  .today-trio { grid-template-columns: 1fr; }
  .src-grid { grid-template-columns: 1fr; }
  .net-grid { grid-template-columns: 1fr; }

  .page { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 64px; }
  .page-head h1 { font-size: 28px; }
  .detail h1 { font-size: 26px; }
  .meta-dl { grid-template-columns: 1fr; }
  .meta-dl dt { padding: 10px 0 0; border-bottom: 0; }
  .meta-dl dd { padding: 2px 0 10px; }

  .filters { border: 1px solid var(--line); border-radius: var(--r); padding: 0 16px; background: #fff; }
  .filters-head { padding-top: 14px; }
  .filters.is-collapsed .fgroup { display: none; }
  .filters.is-collapsed .filters-head { border-bottom: 0; margin-bottom: 0; padding-bottom: 14px; }

  .reader-body { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .reader-info { border-left: 0; border-top: 1px solid var(--dark-line); max-height: 42vh; }
  .reader-stage { padding: 16px; }
  .reader-bar { gap: 8px; padding: 0 12px; overflow-x: auto; }
  .reader-bar .title { max-width: 40%; }
  .lb-body { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .lb-side { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); max-height: 42vh; }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .flow-node { min-width: 0; width: 100%; }
  .flow-row { width: 100%; flex-direction: column; }
}

/* ---- 贡献表单 ---- */
.contrib-form { margin: 8px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.contrib-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.contrib-form label:nth-child(3), .contrib-form label:nth-child(4) { grid-column: 1 / -1; }
.contrib-form input, .contrib-form select, .contrib-form textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; width: 100%;
}
.contrib-form textarea { resize: vertical; }
.contrib-form .btn { grid-column: 1 / -1; justify-self: start; }
.contrib-msg { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.6; min-height: 1em; }
.contrib-msg.ok { color: #1f6f4f; }
.contrib-msg.err { color: #8B1E1E; }

/* ---- 阅读器原文加载提示 ---- */
.stage-note { font-size: 12px; color: var(--ink-2); background: rgba(0,0,0,.03);
  border-top: 1px solid var(--line); padding: 10px 14px; line-height: 1.6; }

/* ============================================================
   来源等级徽章 SOURCE LEVEL (spec §5) — 信息性配色，非装饰红
   ============================================================ */
.srclevel {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-2);
  border: 1px solid var(--line); border-left-width: 3px; border-radius: var(--r-sm);
  padding: 2px 7px 2px 6px; background: var(--bg-raise); white-space: nowrap;
}
.srclevel .zh { font-family: var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-3); font-size: 10px; }
.srclevel.sl-1 { border-left-color: var(--official); }
.srclevel.sl-2 { border-left-color: var(--pd); }
.srclevel.sl-3 { border-left-color: var(--restrict); }
.srclevel.sl-4 { border-left-color: var(--unknown); }
.srclevel { cursor: pointer; transition: box-shadow .15s, border-color .15s; }
.srclevel:hover { box-shadow: 0 0 0 3px var(--accent-soft); border-color: var(--accent); }
.srclevel:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.srclevel .sl-q {
  display: inline-flex; align-items: center; justify-content: center;
  width: 13px; height: 13px; margin-left: 2px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 9px; font-style: normal; font-weight: 700;
}
.lvl-modal {
  position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center;
  background: rgba(20,18,16,.5); padding: 20px;
}
.lvl-box {
  position: relative; max-width: 420px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow); padding: 26px 26px 22px;
}
.lvl-x { position: absolute; top: 12px; right: 12px; border: 0; background: none; font-size: 16px; color: var(--ink-3); cursor: pointer; }
.lvl-key { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .04em; padding-left: 10px; border-left: 4px solid var(--accent); margin-bottom: 12px; }
.lvl-desc { font-size: 15px; line-height: 1.75; color: var(--ink); }
.lvl-note { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }

/* ============================================================
   BETA 标识
   ============================================================ */
.beta-pill {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(139,30,30,.35); border-radius: 999px;
  padding: 3px 9px; line-height: 1; background: var(--accent-soft);
}
.drawer-beta { font-size: 11px; color: var(--ink-3); padding: 8px 12px; border: 1px dashed var(--line); border-radius: var(--r); }

/* ============================================================
   Hero 增补（Beta 标 / CTA）
   ============================================================ */
.hero-beta {
  display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 4px 12px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.hero-cta .btn { min-width: 160px; }
.hero-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.32); background: transparent; }
.hero-cta .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* ============================================================
   Featured Evidence（首页 1.5）
   ============================================================ */
.feat { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; margin-top: 32px; }
.feat-fig { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-sink); aspect-ratio: 4 / 3; }
.feat-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat-fig .noimg { padding: 28px; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.feat-body h3 { font-family: var(--serif); font-size: 26px; line-height: 1.3; margin: 8px 0 0; }
.feat-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.feat-line .dot { color: var(--line); }
.feat-q { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.feat-q div { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.feat-q b { display: block; color: var(--ink); margin-bottom: 3px; font-weight: 600; font-size: 12px; }
.feat-why { margin-top: 20px; font-size: 14.5px; line-height: 1.8; color: var(--ink); }
.feat-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ============================================================
   Core Documents（首页 1.6）
   ============================================================ */
.core-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 32px; }
.core-item { display: flex; flex-direction: column; }
.core-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-raise); padding: 18px; transition: border-color .18s, box-shadow .18s; }
.core-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.core-note { margin-top: 12px; font-size: 13px; line-height: 1.7; color: var(--ink-2); padding-left: 2px; }

/* ============================================================
   Photo Archive 缩略图
   ============================================================ */
.photo-thumb { position: relative; display: block; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-sink); aspect-ratio: 4 / 3; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.photo-thumb:hover img { transform: scale(1.04); }
.pt-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 10px; font-size: 12px; font-weight: 500; color: #fff; background: linear-gradient(180deg, transparent, rgba(0,0,0,.7)); line-height: 1.4; }
.pt-cap small { display: block; font-weight: 400; opacity: .8; margin-top: 2px; }

/* ============================================================
   How Atlas Works (cap-5)
   ============================================================ */
.cap-5 { grid-template-columns: repeat(5, 1fr) !important; }
.cap-5 .cap-item { border-right: 1px solid var(--line); padding: 36px 26px 36px 0; }
.cap-5 .cap-item:last-child { border-right: 0; }

/* ============================================================
   来源链 Source Chain
   ============================================================ */
.src-chain { list-style: none; margin: 18px 0 0; padding: 0; }
.src-chain > li:not(.arrow) { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-raise); }
.src-chain > li .k { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-family: var(--mono); }
.src-chain > li .v { font-size: 14px; color: var(--ink); line-height: 1.6; }
.src-chain > li .v.mono { font-family: var(--mono); font-size: 13px; }
.src-chain > li.arrow { text-align: center; color: var(--ink-3); font-size: 16px; padding: 2px 0; list-style: none; }

/* ============================================================
   纠错 / 反馈 表单
   ============================================================ */
.block-report { margin-top: 44px; }
.report-form { margin-top: 16px; display: flex; flex-direction: column; gap: 14px; max-width: 620px; }
.rf-row { display: flex; flex-direction: column; gap: 6px; }
.rf-row label { font-size: 13px; color: var(--ink-2); }
.rf-row select, .rf-row textarea, .rf-row input {
  font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; width: 100%;
}
.rf-row textarea { resize: vertical; }
.rf-actions { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.rf-msg { font-size: 13.5px; line-height: 1.5; min-height: 1em; }
.rf-msg.ok { color: #1f6f4f; }
.rf-msg.err { color: var(--accent); }

/* ============================================================
   证据包 Evidence Packs
   ============================================================ */
.pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 36px; }
.pack-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-raise); padding: 22px; transition: border-color .18s, box-shadow .18s, transform .18s; }
.pack-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.pack-card-h h3 { font-family: var(--serif); font-size: 20px; line-height: 1.35; margin: 0; }
.pack-card-sum { font-size: 13.5px; line-height: 1.7; color: var(--ink-2); margin: 12px 0 16px; }
.pack-dist { display: flex; flex-wrap: wrap; gap: 6px; }
.pk-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; border: 1px solid var(--line); border-left-width: 3px; border-radius: var(--r-sm); padding: 2px 7px; color: var(--ink-2); background: #fff; }
.pk-tag.sl-1 { border-left-color: var(--official); }
.pk-tag.sl-2 { border-left-color: var(--pd); }
.pk-tag.sl-3 { border-left-color: var(--restrict); }
.pk-tag.sl-4 { border-left-color: var(--unknown); }
.pack-foot { margin-top: auto; padding-top: 16px; font-size: 13px; font-weight: 600; color: var(--accent); }

.pack-level { margin-top: 40px; }
.pack-level:first-of-type { margin-top: 24px; }
.pack-level-head { display: flex; align-items: baseline; gap: 12px; padding: 12px 16px; border-radius: var(--r); border-left: 4px solid var(--line); background: var(--bg-sink); }
.pack-level-head .pl-en { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
.pack-level-head .pl-zh { font-size: 15px; font-weight: 600; color: var(--ink); }
.pack-level-head .pl-n { margin-left: auto; font-size: 12px; color: var(--ink-2); }
.pack-level-head.sl-1 { border-left-color: var(--official); }
.pack-level-head.sl-2 { border-left-color: var(--pd); }
.pack-level-head.sl-3 { border-left-color: var(--restrict); }
.pack-level-head.sl-4 { border-left-color: var(--unknown); }
.pl-desc { font-size: 13px; color: var(--ink-2); line-height: 1.7; margin: 12px 2px 18px; max-width: 70ch; }
.pack-docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .feat { grid-template-columns: 1fr; gap: 28px; }
  .core-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-5 { grid-template-columns: repeat(2, 1fr) !important; }
  .cap-5 .cap-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .pack-docs { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .core-grid { grid-template-columns: 1fr; }
  .feat-q { grid-template-columns: 1fr; }
  .cap-5 { grid-template-columns: 1fr !important; }
  .pack-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   来源等级 E · 网络资料（备用）
   ============================================================ */
.srclevel.sl-5 { border-left-color: var(--ink-3); }
.pk-tag.sl-5 { border-left-color: var(--ink-3); }
.pack-level-head.sl-5 { border-left-color: var(--ink-3); }

/* ============================================================
   阅读器右侧「继续探索」等 block2
   ============================================================ */
.block2 { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.block2:first-child { border-top: 0; padding-top: 0; }
.block2 h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-2); margin: 0 0 10px; }

/* ============================================================
   人物网格 / 人物卡（/people 列表 + 事件页相关人物）
   ============================================================ */
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; margin-top: 8px; }
.person-card { display: block; padding: 18px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--bg-raise); text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.person-card:hover { border-color: var(--accent); background: var(--accent-soft); }
.p-name { font-size: 16px; font-weight: 700; }
.p-orig { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.p-role { font-size: 13px; color: var(--ink-2); margin-top: 8px; line-height: 1.55; }
.p-life { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.p-count { font-size: 12px; color: var(--accent); margin-top: 10px; }

/* ============================================================
   事件页「不同来源」（按国家 / 地区分组）
   ============================================================ */
.src-country { margin-top: 28px; }
.sc-head { display: flex; align-items: baseline; gap: 10px; padding-bottom: 8px;
  border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.sc-flag { font-weight: 700; font-size: 15px; color: var(--ink); }
.sc-flag::before { content: "来源 · "; color: var(--ink-3); font-weight: 400; font-size: 12px; }
.sc-n { margin-left: auto; font-size: 12px; color: var(--ink-2); }

/* ============================================================
   首页时间线预览
   ============================================================ */
.tl-teaser { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.tl-node { display: flex; flex-direction: column; gap: 3px; padding: 14px 18px; min-width: 132px;
  border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r);
  background: var(--bg-raise); text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.tl-node:hover { border-color: var(--accent); background: var(--accent-soft); }
.tl-y { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--accent); }
.tl-t { font-size: 14px; font-weight: 600; line-height: 1.4; }
.tl-arrow { align-self: center; color: var(--ink-3); font-size: 18px; }

@media (max-width: 720px) {
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .tl-teaser { flex-direction: column; }
  .tl-arrow { transform: rotate(90deg); align-self: flex-start; margin-left: 18px; }
}

/* ===== 资料卡片增强（spec §7） ===== */
.doc-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: 12.5px; color: var(--ink-2); }
.doc-meta .dm i { font-style: normal; color: var(--ink-3); margin-right: 4px; }
.doc-go { color: var(--accent); font-weight: 600; font-size: 13px; white-space: nowrap; }
.doc-card:hover .doc-go { text-decoration: underline; }

/* ===== 事件页面包屑（spec §20） ===== */
.event-crumb { font-size: 13px; color: var(--ink-2); padding: 14px 0 0; }
.event-crumb .sep { margin: 0 8px; color: var(--ink-3); }
.event-crumb a:hover { color: var(--accent); }

/* ===== 事件页资料时间线（spec §5②） ===== */
.etl-phase { margin-top: 28px; }
.etl-phase:first-of-type { margin-top: 4px; }
.etl-phase-h { display: flex; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 14px; }
.etl-phase-h span { font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.etl-phase-h em { font-style: normal; font-size: 12px; color: var(--ink-3); }
.etl-list { display: flex; flex-direction: column; gap: 10px; }
.etl-node { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: inherit; transition: border-color .18s, box-shadow .18s; }
.etl-node:hover { border-color: var(--accent); box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.etl-thumb { width: 48px; height: 48px; border-radius: 6px; overflow: hidden; flex: 0 0 auto; background: var(--bg-sink); }
.etl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.etl-y { flex: 0 0 64px; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); font-size: 14px; }
.etl-t { flex: 1 1 auto; font-weight: 600; }
.etl-m { flex: 0 0 auto; font-size: 12.5px; color: var(--ink-2); text-align: right; }

/* ===== 证据关系（spec §10） ===== */
.relmap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.relmap-node { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: inherit; min-width: 120px; transition: border-color .18s; }
.relmap-node:hover { border-color: var(--accent); }
.relmap-node .rn-t { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.relmap-node .rn-n { font-weight: 600; font-size: 15px; }
.relmap-arrow { color: var(--ink-3); font-size: 18px; }

@media (max-width: 720px) {
  .etl-node { flex-wrap: wrap; }
  .etl-y { flex-basis: 100%; }
  .etl-m { flex-basis: 100%; text-align: left; }
  .relmap-node { flex: 1 1 40%; }
}

/* ===== 首页「历史脉络 / 从哪里开始」（spec §17 / §18） ===== */
.section-beam { background: var(--bg-sink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.beam-block { margin-top: 26px; }
.beam-block:first-of-type { margin-top: 14px; }
.beam-h { font-size: 14px; letter-spacing: .04em; color: var(--ink-2); margin: 0 0 12px; font-weight: 700; }
.era-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.era-chip { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: inherit; min-width: 150px; transition: border-color .18s, box-shadow .18s; }
.era-chip:hover { border-color: var(--accent); box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.era-t { font-weight: 700; font-size: 15px; }
.era-c { font-size: 12.5px; color: var(--ink-3); }
.era-arrow { color: var(--ink-3); align-self: center; font-size: 16px; }
.reg-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px 22px; }
.reg-macro { display: flex; flex-direction: column; gap: 8px; }
.reg-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--bg-raise); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r); text-decoration: none; color: inherit; font-size: 14px; font-weight: 600; transition: border-color .18s; }
.reg-chip:hover { border-color: var(--accent); }
.reg-countries { display: flex; flex-wrap: wrap; gap: 6px 8px; padding-left: 4px; }
.reg-country { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; background: transparent; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: 12.5px; transition: border-color .18s, color .18s; }
.reg-country:hover { border-color: var(--accent); color: var(--ink); }
.reg-country .reg-c { font-size: 10.5px; }
.reg-c { font-size: 11.5px; color: var(--ink-3); }
.reg-c.dim, .era-c.dim { opacity: .7; font-style: italic; }
.topic-row { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chip { display: inline-block; padding: 8px 14px; background: var(--bg-raise); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r); text-decoration: none; color: var(--ink); font-size: 14px; transition: border-color .18s; }
.topic-chip:hover { border-color: var(--accent); }

/* ===== 专题页（spec §2 / §4 / §18） ===== */
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 26px; }
.topic-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: inherit; transition: border-color .18s, box-shadow .18s; }
.topic-card:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.topic-card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.topic-card-h h3 { margin: 0; font-size: 18px; }
.topic-n { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.topic-n.dim { font-style: italic; opacity: .75; }
.topic-card-sum { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.topic-subs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
.topic-subs a { font-size: 13px; color: var(--accent); text-decoration: none; }
.topic-subs a:hover { text-decoration: underline; }
.topic-subs-inline { margin: 0 0 22px; }
.rel-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.rel-tag { font-size: 12.5px; color: var(--ink-2); background: var(--bg-sink); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.title-en { font-size: 13px; color: var(--ink-3); letter-spacing: .03em; margin-top: 4px; }
.topic-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 22px; }
.more-note { grid-column: 1 / -1; font-size: 13px; color: var(--ink-3); padding: 8px 0; }
.hl { color: var(--accent); font-weight: 600; }

.pe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; }
.pe-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
.pe-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(60,45,25,.10); border-color: #c9b48f; }
.pe-n { font-size: 17px; font-weight: 800; color: var(--ink); }
.pe-life { font-size: 12px; color: var(--ink-3); }
.pe-role { font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.pe-side { font-size: 12px; color: var(--ink-3); }
.pe-ev { font-size: 12px; line-height: 1.5; color: var(--ink-2); margin-top: 2px; }
.pe-ev span { color: var(--ink-3); margin-right: 4px; font-weight: 600; }
.ex-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 14px; }
.ex-h { font-size: 13px; font-weight: 700; color: var(--ink-3); margin-right: 4px; }
.ex-chip { display: inline-block; font-size: 13px; padding: 5px 12px; border-radius: 999px; background: #efe7d8; color: #5b4a2c; text-decoration: none; }
.ex-chip:hover { background: #e4d8c0; }

@media (max-width: 720px) {
  .era-row { flex-direction: column; }
  .era-arrow { display: none; }
  .era-chip { width: 100%; }
  .topic-grid, .topic-docs { grid-template-columns: 1fr; }
}

/* ---------- 专题分组（按 category） ---------- */
.topic-group { margin-top: 30px; }
.topic-group-h { font-size: 15px; letter-spacing: .08em; color: var(--ink-3); border-left: 3px solid var(--accent); padding-left: 12px; margin: 0 0 14px; }

/* ---------- 专题博物馆式 hero ---------- */
.topic-hero { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-raise); margin: 4px 0 28px; }
.topic-hero-ov { position: absolute; inset: 0; opacity: .9;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.035) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.025) 0 1px, transparent 1px 26px),
    radial-gradient(120% 140% at 85% 0%, rgba(120,30,30,.10), transparent 60%),
    linear-gradient(180deg, #fbfaf7, #f3f1ea);
}
.topic-hero-in { position: relative; padding: 54px 40px 46px; }
.topic-hero .kicker { display: inline-block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; margin-bottom: 18px; }
.topic-hero h1 { font-size: 44px; line-height: 1.1; margin: 0 0 14px; letter-spacing: .01em; }
.topic-hero-sub { max-width: 760px; font-size: 17px; line-height: 1.7; color: var(--ink-2); margin: 0; }

/* ---------- 内容模块卡片 ---------- */
.mod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 22px; }
.mod-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: inherit; transition: border-color .18s, box-shadow .18s, transform .18s; }
.mod-card:hover { border-color: var(--accent); box-shadow: 0 6px 22px rgba(0,0,0,.07); transform: translateY(-2px); }
.mod-card-h { display: flex; flex-direction: column; gap: 4px; }
.mod-card-h h3 { margin: 0; font-size: 20px; }
.mod-card-en { font-size: 13px; color: var(--ink-3); letter-spacing: .02em; }
.mod-items { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-2); }
.mod-btn { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--accent); }
.mod-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.mod-head h1 { margin: 0; font-size: 30px; }
.mod-head .mod-card-en { font-weight: 400; color: var(--ink-3); font-size: 15px; margin-left: 8px; }

/* ---------- 横向时间轴 ---------- */
.tl-h { display: flex; align-items: stretch; gap: 0; margin-top: 22px; flex-wrap: wrap; }
.tl-node { flex: 1 1 150px; min-width: 150px; background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 16px; text-align: center; }
.tl-year { font-size: 22px; font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.tl-title { font-size: 14px; color: var(--ink-2); margin-top: 8px; line-height: 1.5; }
.tl-arrow { display: flex; align-items: center; justify-content: center; color: var(--ink-3); font-size: 18px; padding: 0 4px; }

/* ============================================================
   深色档案面板 — 档案中心 / 事件档案 / 证据图谱 / 争议核查
   方向：数字博物馆展柜、调查记者档案库、政府公开档案
   ============================================================ */

/* ---- 档案中心 Hero ---- */
.ac-hero {
  position: relative; overflow: hidden;
  background: var(--dark); color: var(--dark-ink);
  border-radius: var(--r-lg); margin: 0 0 26px;
}
.ac-hero-ov {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 320px at 78% -10%, rgba(139,30,30,.30), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.28));
  pointer-events: none;
}
.ac-hero-in { position: relative; padding: 46px 40px 42px; }
.ac-hero-in .kicker {
  font: 600 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  color: var(--dark-ink-2); margin: 0 0 14px;
}
.ac-hero h1 { font: 600 38px/1.12 var(--serif); margin: 0 0 14px; letter-spacing: .01em; }
.ac-hero p { max-width: 760px; color: var(--dark-ink-2); font-size: 16px; line-height: 1.7; margin: 0; }

/* ---- 档案中心 分类网格 ---- */
.ac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 30px; }
.ac-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--dark); color: var(--dark-ink);
  border: 1px solid var(--dark-line); border-radius: var(--r-lg);
  padding: 22px 22px 20px; text-decoration: none;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.ac-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.ac-card .ac-ico { font: 600 13px/1 var(--mono); letter-spacing: .14em; color: var(--dark-ink-2); text-transform: uppercase; }
.ac-card .ac-title { font: 600 21px/1.25 var(--serif); }
.ac-card .ac-sub { font-size: 14px; color: var(--dark-ink-2); line-height: 1.6; }
.ac-card .ac-foot { margin-top: 4px; display: flex; align-items: center; justify-content: space-between; }
.ac-card .ac-count { font: 600 13px/1 var(--mono); color: var(--accent); }
.ac-card .ac-go { font-size: 13px; color: var(--dark-ink); border: 1px solid var(--dark-line); border-radius: 999px; padding: 5px 12px; }

/* ---- 档案中心 说明块 ---- */
.ac-note {
  background: var(--bg-sink); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px 26px; margin: 0 0 8px;
}
.ac-note h3 { font: 600 18px/1.3 var(--serif); margin: 0 0 12px; }
.ac-note p { color: var(--ink-2); font-size: 14px; line-height: 1.7; margin: 0 0 10px; }
.ac-note .lv-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

/* ---- 事件档案 Hero ---- */
.ev-hero { position: relative; overflow: hidden; background: var(--dark); color: var(--dark-ink); border-radius: var(--r-lg); margin: 0 0 24px; }
.ev-hero-in { position: relative; padding: 40px 38px 34px; }
.ev-hero-in .kicker { font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dark-ink-2); margin: 0 0 12px; }
.ev-hero h1 { font: 600 34px/1.14 var(--serif); margin: 0 0 16px; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.ev-m { display: flex; flex-direction: column; gap: 3px; }
.ev-mk { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dark-ink-2); }
.ev-mv { font-size: 15px; color: var(--dark-ink); }
.ev-inst { margin-top: 16px; color: var(--dark-ink-2); font-size: 14px; line-height: 1.7; max-width: 820px; }
.ev-summary { color: var(--ink-2); font-size: 15px; line-height: 1.8; margin: 0 0 8px; }

/* ---- 事件档案 相关模块卡片 ---- */
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 14px 0 28px; }
.ev-card { display: block; background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 18px 16px; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s var(--ease); }
.ev-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.ev-card .ev-card-y { font: 600 12px/1 var(--mono); letter-spacing: .1em; color: var(--accent); margin: 0 0 8px; }
.ev-card .ev-card-t { font: 600 17px/1.3 var(--serif); margin: 0 0 8px; }
.ev-card .ev-card-d { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin: 0; }
.ev-card .ev-go { margin-top: 12px; font-size: 13px; color: var(--accent); font-weight: 600; }

/* ---- 档案清单表格 ---- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-raise); margin: 8px 0 26px; }
.ev-tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.ev-tbl thead th {
  background: var(--dark); color: var(--dark-ink); text-align: left;
  font: 600 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  padding: 13px 16px; border-bottom: 1px solid var(--dark-line);
}
.ev-tbl tbody td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); color: var(--ink); vertical-align: middle; }
.ev-tbl tbody tr:last-child td { border-bottom: none; }
.ev-tbl tbody tr:hover { background: var(--bg-sink); }
.ev-tbl .doc-name { font-weight: 600; }
.ev-tbl .doc-name a { color: var(--ink); text-decoration: none; }
.ev-tbl .doc-name a:hover { color: var(--accent); }
.ev-tbl .btn-view {
  display: inline-block; font-size: 13px; color: var(--dark-ink); background: var(--dark);
  border: 1px solid var(--dark-line); border-radius: 999px; padding: 6px 14px; text-decoration: none;
  transition: background .15s, color .15s;
}
.ev-tbl .btn-view:hover { background: var(--accent); border-color: var(--accent); }

/* ---- 证据图谱 ---- */
.evgraph-wrap { position: relative; background: var(--dark); border: 1px solid var(--dark-line); border-radius: var(--r-lg); padding: 20px; margin: 6px 0 26px; }
.evgraph { width: 100%; height: auto; display: block; touch-action: none; cursor: grab; }
.evgraph-wrap.dragging .evgraph { cursor: grabbing; }
.evgraph .eg-root { transition: none; }
.eg-controls { position: absolute; top: 14px; right: 14px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.eg-btn {
  width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--dark-line); background: var(--dark-3);
  color: var(--dark-ink); font-size: 18px; line-height: 1; cursor: pointer; transition: background .15s, border-color .15s;
}
.eg-btn:hover { background: rgba(255,255,255,.08); border-color: var(--accent); color: #fff; }
.eg-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.eg-legend .lg { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--dark-ink-2); }
.eg-legend .dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.eg-node-label { font: 600 12px/1.2 var(--sans); fill: var(--dark-ink); }
.eg-node-sub { font: 500 10px/1.2 var(--mono); fill: var(--dark-ink-2); }
.eg-edge { stroke: var(--dark-line); stroke-width: 1.5; }
.eg-center-label { font: 700 14px/1.2 var(--serif); fill: #fff; }

/* ---- 争议与事实核查 ---- */
.contro-list { display: flex; flex-direction: column; gap: 18px; margin: 18px 0 8px; }
.contro-card { background: var(--dark); color: var(--dark-ink); border: 1px solid var(--dark-line); border-radius: var(--r-lg); padding: 24px 26px; }
.contro-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.contro-head h3 { font: 600 21px/1.3 var(--serif); margin: 0; }
.contro-tag { font: 600 12px/1 var(--mono); letter-spacing: .06em; padding: 5px 11px; border-radius: 999px; white-space: nowrap; border: 1px solid transparent; }
.ct-confirmed   { color: #BDE3CB; background: rgba(46,125,79,.22);  border-color: rgba(46,125,79,.5); }
.ct-partial     { color: #E7D9AE; background: rgba(168,122,22,.22); border-color: rgba(168,122,22,.5); }
.ct-contested   { color: #E7C0C0; background: rgba(139,30,30,.24);  border-color: rgba(139,30,30,.55); }
.ct-insufficient{ color: #CFCFCA; background: rgba(138,138,132,.2); border-color: rgba(138,138,132,.45); }
.ct-refuted     { color: #D9C2E0; background: rgba(86,46,110,.24);  border-color: rgba(86,46,110,.5); }
.contro-claim { font-size: 15px; line-height: 1.75; color: var(--dark-ink); margin: 0 0 16px; }
.contro-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contro-col { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--r); padding: 16px 18px; }
.contro-col h4 { font: 600 14px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.contro-col.pro h4  { color: #9ED3AE; }
.contro-col.con h4  { color: #E0A0A0; }
.contro-col ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 9px; }
.contro-col li { font-size: 14px; line-height: 1.6; color: var(--dark-ink-2); }
.ce-src { font: 500 12px/1.4 var(--mono); color: var(--dark-ink-2); display: block; margin-top: 3px; }
.contro-status { margin-top: 16px; font-size: 14px; line-height: 1.7; color: var(--dark-ink); }
.contro-status b { color: #fff; }
.contro-note { margin-top: 12px; font-size: 13px; line-height: 1.65; color: var(--dark-ink-2); border-top: 1px solid var(--dark-line); padding-top: 12px; }

/* ---------- 扩展预留 ---------- */
.future-list { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); font-size: 15px; }

@media (max-width: 720px) {
  .topic-hero-in { padding: 36px 22px 30px; }
  .topic-hero h1 { font-size: 32px; }
  .mod-grid { grid-template-columns: 1fr; }
  .tl-arrow { transform: rotate(90deg); width: 100%; }
  .tl-node { flex-basis: 100%; }
  .ac-grid { grid-template-columns: 1fr; }
  .ac-hero-in { padding: 34px 22px 30px; }
  .ac-hero h1 { font-size: 28px; }
  .ev-hero-in { padding: 30px 22px 26px; }
  .ev-hero h1 { font-size: 26px; }
  .contro-cols { grid-template-columns: 1fr; }
  .contro-head { flex-direction: column; gap: 10px; }
  .jc-grid { grid-template-columns: 1fr; }
  .dual-pane { grid-template-columns: 1fr; }
  .dp-col + .dp-col { border-left: 0; border-top: 1px solid var(--line); }
  .detail { grid-template-columns: 1fr; gap: 32px; }
  .side { position: static; }
}

/* ---------- 语言切换按钮 ---------- */
.lang-toggle {
  font: inherit; font-size: 13px; line-height: 1; cursor: pointer;
  color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; white-space: nowrap;
  transition: border-color .15s, color .15s, background .15s;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }
.drawer-lang { width: 100%; text-align: center; margin: 4px 0 2px; padding: 11px 14px; border-radius: 10px; }

/* 资料/专题的「另一语言原名」副标题：归档式配对呈现（英文视图下隐藏中文注脚） */
.alt-name { font-size: 13px; color: var(--ink-3); letter-spacing: .02em; margin-top: 4px; }

/* ---------- 全英文视图切换规则 ---------- */
/* 英文视图：隐藏中文注脚/副标题与中文来源等级标签 */
html[lang="en"] .title-zh,
html[lang="en"] .zh,
html[lang="en"] .alt-name { display: none; }
/* 中文视图：隐藏英文来源等级标签（保留中文），英文原名作为配对呈现保留 */
html:not([lang="en"]) .pl-en { display: none; }

/* ---------- 镇馆档案 / 解密档案馆 首页区块 ---------- */
.section-sig { background: linear-gradient(180deg, #f4efe6 0%, #fbf8f2 100%); }
.sig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 22px; }
.sig-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 18px 18px;
  background: #fff; border: 1px solid var(--line, #e6ddd0); border-radius: 12px; text-decoration: none;
  color: inherit; box-shadow: 0 1px 2px rgba(60,45,25,.04); transition: transform .15s ease, box-shadow .15s ease, border-color .15s; }
.sig-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(60,45,25,.10); border-color: #c9b48f; }
.sig-card.sig-pending { opacity: .82; background: #fbfaf6; }
.sig-tag { align-self: flex-start; font-size: 11px; letter-spacing: .08em; padding: 3px 9px; border-radius: 999px;
  background: #e9e0cf; color: #6b5635; font-weight: 700; }
.sig-pending .sig-tag { background: #efe9dc; color: #9a8a6c; }
.sig-t { font-size: 18px; font-weight: 800; color: var(--ink, #2b241a); letter-spacing: .01em; }
.sig-s { font-size: 13px; line-height: 1.6; color: var(--ink-3, #6a5f50); min-height: 38px; }
.sig-go { margin-top: 2px; font-size: 13px; font-weight: 700; color: var(--accent, #8a2b2b); }
.sig-card:hover .sig-go { text-decoration: underline; }
.sig-meta { font-size: 12px; line-height: 1.5; color: var(--ink-2, #5b4f3d); margin-top: 2px; }
.sig-meta b { color: var(--ink-3, #6a5f50); font-weight: 600; margin-right: 4px; }
.sig-card.feat { gap: 10px; }
.sig-cover { height: 96px; border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.sig-cover-k { font-size: 12px; letter-spacing: .04em; opacity: .92; font-weight: 600; }
.sig-cover-y { font-size: 22px; font-weight: 800; letter-spacing: .02em; }
.sig-desc { font-size: 13px; line-height: 1.6; color: var(--ink-3, #6a5f50); }
.sig-org { font-size: 12px; line-height: 1.5; color: var(--ink-2, #5b4f3d); }
.sig-org i { color: var(--ink-3, #8a7a60); font-style: normal; margin-right: 5px; font-weight: 600; }
.sig-more { margin-top: 22px; text-align: center; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 16px; }
.doc-grid .doc-card { height: 100%; }
/* 档案库详情页 */
.arc-hero { position: relative; overflow: hidden; border-radius: 16px; margin-bottom: 22px; background: #1b1714; color: #f3ece0; }
.arc-hero-ov { position: absolute; inset: 0; background: radial-gradient(120% 140% at 80% 0%, rgba(150,110,60,.35), transparent 60%), linear-gradient(120deg, #1b1714, #2a211a); }
.arc-hero-in { position: relative; padding: 44px 40px 40px; }
.arc-hero-in .kicker { display: inline-block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #d8b27a; margin-bottom: 12px; }
.arc-hero-in h1 { font: 700 36px/1.1 var(--serif); margin: 0 0 12px; color: #f6efe2; }
.arc-hero-sub { font-size: 15px; color: #cdbfa8; margin-bottom: 14px; }
.arc-hero-desc { max-width: 760px; font-size: 15px; line-height: 1.7; color: #e7dccb; margin: 0 0 14px; }
.arc-hero-src { font-size: 13px; color: #b9a988; }
.arc-hero-src a { color: #e7c893; }
.arc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 4px 0 22px; }
.arc-stat { background: #fff; border: 1px solid var(--line, #e6ddd0); border-radius: 12px; padding: 16px 18px; }
.arc-stat-v { display: block; font: 700 22px/1 var(--serif); color: var(--accent, #8a2b2b); }
.arc-stat-k { display: block; font-size: 12px; color: var(--ink-3, #6a5f50); margin-top: 6px; letter-spacing: .04em; }
.arc-chips { margin-bottom: 18px; }
.arc-chips-h { font-size: 13px; font-weight: 700; color: var(--ink-2, #5b4f3d); margin-bottom: 8px; letter-spacing: .04em; }
.arc-chip { display: inline-block; margin: 0 8px 8px 0; padding: 6px 12px; border: 1px solid var(--line, #e6ddd0); border-radius: 999px; text-decoration: none; color: var(--ink, #2b241a); font-size: 13px; background: #fbfaf6; transition: border-color .15s, color .15s; }
.arc-chip:hover { border-color: var(--accent, #8a2b2b); color: var(--accent, #8a2b2b); }
.arc-chip-n { font: 700 11px/1 var(--mono); color: #9a8a6c; margin-left: 4px; }
/* ---------- 镇馆档案（首页 1.6b + 总览页） ---------- */
.section-sig-docs { background: linear-gradient(180deg, #f4efe6 0%, #fbf8f2 100%); }
.section-sig-docs .section-head h2 { font-size: 30px; }
.flag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 26px; }
.arc-hero-flag { background: linear-gradient(135deg, #1b1714, #2e231b); }
.arc-hero-note {
  max-width: 760px; margin-top: 10px; font-size: 13px; line-height: 1.65;
  color: #cdbfa8; border-left: 3px solid #d8b27a; padding-left: 14px;
}
.sig-series { margin-top: 34px; }
.sig-series-h { display: flex; align-items: baseline; gap: 12px; border-bottom: 2px solid var(--accent, #8a2b2b); padding-bottom: 8px; margin-bottom: 4px; }
.sig-series-h h3 { font: 700 21px/1.2 var(--serif); margin: 0; color: var(--ink, #2b241a); }
.sig-series-n { font-size: 13px; color: var(--ink-3, #6a5f50); }
@media (max-width: 600px) { .arc-stats { grid-template-columns: 1fr; } .doc-grid { grid-template-columns: 1fr; } .flag-grid { grid-template-columns: 1fr; } }

/* ---------- 三层阅读模型：AI 辅助翻译诚实声明 ---------- */
.trans-warn { font-size: 12.5px; line-height: 1.6; color: #8a5a16; background: #fbf3df;
  border: 1px solid #ecd9a8; border-radius: 8px; padding: 8px 10px; margin: 4px 0 10px; }
.r-mark.machine { color: #8a5a16; background: #fbf3df; border: 1px solid #ecd9a8; }
.r-mark.human { color: #2f6b3a; background: #e8f3ea; border: 1px solid #bfe0c6; }
.dp-mark.machine { color: #8a5a16; background: #fbf3df; border-color: #ecd9a8; }
.dp-mark.human { color: #2f6b3a; background: #e8f3ea; border-color: #bfe0c6; }

/* 三层阅读进度：原始文件 → AI 辅助中文 → 人工历史校订 */
.read-layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 10px; }
.read-layers .rl { position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 12px 12px 12px 14px; border: 1px solid var(--line, #ded5c6); border-radius: 10px;
  background: #fbf9f4; opacity: .62; }
.read-layers .rl.is-on { opacity: 1; background: #fff; border-color: #c9b48f; box-shadow: 0 1px 0 rgba(43,36,26,.04); }
.read-layers .rl-n { display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 100px; font-size: 11px; font-weight: 800;
  color: var(--ink-3, #6a5f50); background: #efe9dd; border: 1px solid var(--line, #ded5c6); }
.read-layers .rl.is-on .rl-n { color: #fff; background: var(--accent, #8a2b2b); border-color: var(--accent, #8a2b2b); }
.read-layers .rl-t { font-size: 13.5px; font-weight: 700; color: var(--ink, #2b241a); }
.read-layers .rl-s { font-size: 11.5px; line-height: 1.55; color: var(--ink-3, #6a5f50); }
@media (max-width: 720px) { .read-layers { grid-template-columns: 1fr; } }

/* ---------- 虚拟档案目录树（替代 §五 物理文件夹树） ---------- */
.shelf-tree { margin-top: 14px; border: 1px solid var(--line, #ded5c6); border-radius: 10px; background: #fbf9f4; padding: 14px 16px; }
.shelf-folder { padding: 8px 0; border-bottom: 1px dashed var(--line, #e6ddd0); }
.shelf-folder:last-child { border-bottom: 0; }
.shelf-folder-h { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink, #2b241a); }
.shelf-ico { color: var(--accent, #8a2b2b); font-size: 11px; }
.shelf-fname { font-family: var(--mono); letter-spacing: .01em; }
.shelf-badge { display: inline-block; font: 700 10px/1 var(--mono); color: #8a5a16; background: #fbf3df; border: 1px solid #ecd9a8; border-radius: 4px; padding: 3px 6px; letter-spacing: .04em; }
.shelf-fnote { font-size: 12px; line-height: 1.6; color: var(--ink-3, #6a5f50); margin: 4px 0 2px 19px; }
.shelf-list { list-style: none; margin: 6px 0 4px 19px; padding: 0; }
.shelf-leaf { font-size: 13px; line-height: 1.7; }
.shelf-leaf a { color: var(--ink, #2b241a); text-decoration: none; border-bottom: 1px solid transparent; }
.shelf-leaf a:hover { color: var(--accent, #8a2b2b); border-bottom-color: var(--accent, #8a2b2b); }
.shelf-src { font-size: 11px; color: var(--ink-3, #6a5f50); margin-left: 8px; }
.shelf-virtual .shelf-name { color: var(--ink-3, #6a5f50); }

/* ---------- 文档详情：结构化要点 ---------- */
.kp-list { margin: 10px 0 0; padding-left: 20px; }
.kp-list li { font-size: 13.5px; line-height: 1.8; color: var(--ink, #2b241a); }
