/* ============================================================
   全球 AI 日报 · 新闻站 —— 版面
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* hidden 属性必须压得住后面的 display —— 否则 .lightbox{display:flex} 这类
   作者样式会盖掉 UA 的 [hidden]{display:none}，让全屏遮罩常驻，整页发黑。 */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--brand); color: #fff; padding: 6px 10px; z-index: 99; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ── 报头 ─────────────────────────────────────────────────── */
.masthead {
  background: var(--paper);
  border-bottom: 3px solid var(--brand);
  position: sticky; top: 0; z-index: 40;
  box-shadow: 0 1px 0 rgba(20,22,26,.06);
}
.mast-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gut) 10px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 18px;
}
.brand-link { display: block; }
.brand-zh {
  display: block; font-family: var(--serif); font-weight: 700;
  font-size: clamp(24px, 3.4vw, 38px); letter-spacing: .04em; line-height: 1.1; color: var(--ink);
}
.brand-en {
  display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .34em;
  color: var(--brand); font-weight: 600; margin-top: 3px;
}
.brand-tag { margin: 5px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.mast-side { text-align: right; flex: 0 0 auto; }
.mast-date { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.mast-date b { color: var(--ink); font-weight: 600; }
.mast-tools { display: flex; gap: 6px; justify-content: flex-end; margin-top: 6px; }
.tbtn {
  border: 1px solid var(--rule-dk); background: var(--paper); cursor: pointer;
  font-size: 12px; padding: 3px 9px; border-radius: var(--r); color: var(--ink-2); line-height: 1.6;
}
.tbtn:hover { border-color: var(--brand); color: var(--brand); }
.tbtn.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.mast-search { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut) 12px; position: relative; }
.mast-search form { display: flex; gap: 8px; }
.mast-search input {
  flex: 1; border: 1px solid var(--rule-dk); background: var(--paper-2);
  border-radius: var(--r); padding: 8px 12px; font-size: 14px;
}
.mast-search input:focus { outline: 2px solid var(--brand); outline-offset: -1px; background: #fff; }
.mast-search button {
  border: 0; background: var(--brand); color: #fff; padding: 8px 20px; font-weight: 600;
  border-radius: var(--r); cursor: pointer; font-size: 14px; letter-spacing: .08em;
}
.mast-search button:hover { background: var(--ink); }
.sug {
  position: absolute; left: var(--gut); right: var(--gut); top: 100%;
  background: #fff; border: 1px solid var(--rule-dk); border-radius: var(--r);
  box-shadow: 0 10px 26px rgba(20,22,26,.13); z-index: 50; padding: 6px; max-height: 320px; overflow: auto;
}
.sug button {
  display: block; width: 100%; text-align: left; border: 0; background: none;
  padding: 9px 10px; border-radius: var(--r); cursor: pointer; font-size: 13.5px;
  color: var(--ink);
}
.sug button:hover { background: var(--paper-3); }
.sug .n { color: var(--muted-2); font-size: 11.5px; margin-left: 6px; }

/* ── 导航 ─────────────────────────────────────────────────── */
.nav { background: var(--ink); position: sticky; top: 0; z-index: 30; }
.nav.on { position: sticky; }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav a {
  color: #d9d7d2; font-size: 13.5px; padding: 10px 12px; white-space: nowrap;
  border-bottom: 2px solid transparent; line-height: 1.5;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav a.on { color: #fff; border-bottom-color: var(--brand); }
.nav a .sub { color: var(--muted-2); font-size: 10.5px; margin-left: 5px; letter-spacing: .08em; }
.nav .nav-tag {
  margin-left: auto; color: #8f939a; font-size: 11px; letter-spacing: .1em;
  padding: 10px 0 10px 12px; white-space: nowrap;
}

/* ── 通用块 ───────────────────────────────────────────────── */
.loading { padding: 60px var(--gut); text-align: center; color: var(--muted); }
.err { margin: 40px auto; max-width: 640px; background: #fff; border: 1px solid var(--rule-dk); border-left: 3px solid var(--brand); padding: 18px 20px; border-radius: var(--r); }
.err h2 { margin: 0 0 6px; font-size: 16px; }
.err p { margin: 0; color: var(--muted); font-size: 13.5px; }
.err code { font-family: var(--mono); font-size: 12.5px; background: var(--paper-3); padding: 1px 5px; border-radius: 2px; }

.sec { margin: var(--gap) 0; }
.sec-head { border-top: 2px solid var(--ink); padding-top: 10px; margin-bottom: 14px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.sec-kicker { font-size: 11px; letter-spacing: .2em; color: var(--brand); font-weight: 700; text-transform: uppercase; }
.sec-title { font-family: var(--serif); font-size: 25px; font-weight: 700; margin: 0; line-height: 1.28; letter-spacing: .01em; }
.sec-dek { font-size: 13px; color: var(--muted); margin: 5px 0 0; width: 100%; line-height: 1.7; }
.sec-more { margin-left: auto; align-self: center; font-size: 12px; color: var(--muted-2); letter-spacing: .02em; }
.sec-more:hover { color: var(--brand); }

/* 眉题（工程 / 落地 / 开源…）。原来是大写 + 0.16em 字距 + 品牌红，满屏红字很吵；
   中文本来就不适合大字距。改成中性色 + 一枚红色短横做层级标记。 */
.kicker {
  font-size: 12px; letter-spacing: .01em; color: var(--ink-2); font-weight: 600;
  display: inline-flex; align-items: center; gap: 7px;
}
.kicker::before { content: ""; width: 13px; height: 2px; background: var(--brand); flex: 0 0 auto; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 9px 0 0; }
/* 标签是「检索入口」，不是装饰。做小、去边框、去圆角胶囊 —— 胶囊一多就像贴纸墙。 */
.tag {
  font-size: 11px; color: var(--muted); background: var(--paper-3);
  border: 0; border-radius: 2px; padding: 1.5px 7px; line-height: 1.7;
}
.tag:hover { background: var(--brand); color: #fff; }
/* 元信息行。**列表里已经全部删掉**（曾经的「约 1 分钟 · 1 图 · 深读 / 报道」——
   整站每条都一样，不区分任何两条）。这里只服务正文页刊头与相关阅读。 */
.meta {
  font-size: 11.5px; color: var(--muted-2); line-height: 1.6;
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.meta > span { white-space: nowrap; }
.meta .dot { color: var(--rule-dk); }

/* ── 头版 ─────────────────────────────────────────────────── */
.front { padding-top: var(--gut); }
.strip {
  background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--ink);
  border-radius: var(--r); padding: 12px 16px; margin-bottom: var(--gap);
  display: flex; gap: 22px; flex-wrap: wrap; align-items: baseline;
}
.strip .it { font-size: 12.5px; color: var(--muted); }
.strip .it b { color: var(--ink); font-weight: 600; font-size: 15px; font-family: var(--serif); }
.strip .thru { margin-left: auto; font-family: var(--serif); font-size: 13px; color: var(--ink-2); }

.hero { display: grid; grid-template-columns: 1.55fr 1fr; gap: var(--gap); margin-bottom: var(--gap); }
.hero-main { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.hero-main .hm-body { padding: 18px 22px 20px; }
.hero-main h2 { font-family: var(--serif); font-size: var(--fs-h1); line-height: 1.22; margin: 8px 0 10px; font-weight: 700; }
.hero-main .sf { font-size: 15px; color: var(--ink-2); line-height: 1.8; margin: 0; }
.hero-img { aspect-ratio: 3/2; background: var(--paper-3); overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hero-main:hover .hero-img img { transform: scale(1.03); }
.hero-side { display: flex; flex-direction: column; gap: 14px; }
.hs-item { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); padding: 13px 15px; display: flex; gap: 12px; }
.hs-item .hs-txt { flex: 1; min-width: 0; }
.hs-item h3 { font-family: var(--serif); font-size: 17px; line-height: 1.45; margin: 5px 0 6px; font-weight: 700; }
.hs-item p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.7; }
.hs-item .thumb { flex: 0 0 96px; height: 72px; background: var(--paper-3); border-radius: 2px; overflow: hidden; }
.hs-item .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── 标题行（列表的主角）───────────────────────────────────── */
/* 两栏标题流。列表是「读标题」的地方：行距收紧、层级拉开、灰色小字压到最少。
   行间用实线而不是点线 —— 1px 点线在 Retina 屏上会碎成一段段噪点。 */
.hlist {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--gap); border-top: 1px solid var(--ink);
}
.hrow {
  display: block; padding: 14px 0 15px; border-bottom: 1px solid var(--rule);
  transition: background .15s ease;
}
.hrow:hover { background: rgba(200,16,46,.035); }
.hrow h3 {
  font-family: var(--serif); font-size: 17.5px; line-height: 1.5;
  margin: 6px 0 7px; font-weight: 700; transition: color .15s ease;
}
.hrow:hover h3 { color: var(--brand); }
.hrow h3 .latn { font-family: var(--sans); font-size: 12px; }
.hrow .sum { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.72; }
.hrow .tags { margin-top: 8px; }
.hrow.wide { grid-column: 1 / -1; }
.hrow.wide h3 { font-size: 21px; }
.hrow.wide .sum { font-size: 14.5px; }

/* ── 正文渲染（文章 / 板块版面共用）─────────────────────────── */
.body { font-size: var(--fs-base); line-height: 1.95; }
.body > * + * { margin-top: 15px; }
.body p { margin: 0; }
.body strong, .body b { font-weight: 700; }
.body .head { font-family: var(--serif); font-weight: 700; }
.body .sub { font-family: var(--serif); font-size: 19px; font-weight: 700; border-left: 3px solid var(--brand); padding-left: 10px; margin-top: 26px; }
.body .standfirst { font-size: 17px; color: var(--ink-2); line-height: 1.85; font-weight: 400; }
.body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.para-lead::first-letter { font-family: var(--serif); font-size: 3.1em; line-height: .84; float: left; padding: 4px 8px 0 0; color: var(--brand); font-weight: 700; }

ul.lis { list-style: none; margin: 0; padding: 0; }
ul.lis li { display: grid; grid-template-columns: minmax(96px, 158px) 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dotted var(--rule); font-size: 14.5px; line-height: 1.8; }
ul.lis li .k { font-family: var(--serif); font-weight: 700; color: var(--ink); }
ul.lis.plain li { display: block; padding-left: 15px; position: relative; }
ul.lis.plain li::before { content: "—"; position: absolute; left: 0; color: var(--brand); }

.quote { border-left: 3px solid var(--brand); background: var(--paper-2); padding: 13px 16px; font-family: var(--serif); font-size: 17px; line-height: 1.8; }
.quote cite { display: block; margin-top: 7px; font-size: 12.5px; color: var(--muted); font-style: normal; font-family: var(--sans); }

/* 表格 */
.tbl-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); }
.tbl-wrap table { border-collapse: collapse; width: 100%; font-size: 13.5px; min-width: 460px; }
.tbl-wrap th, .tbl-wrap td { border-bottom: 1px solid var(--rule); padding: 9px 11px; text-align: left; vertical-align: top; line-height: 1.7; }
.tbl-wrap thead th { background: var(--paper-2); font-weight: 600; font-size: 12.5px; color: var(--muted); letter-spacing: .03em; white-space: nowrap; }
.tbl-wrap tbody tr:hover { background: #fcfcfa; }
.tbl-wrap tbody tr:last-child td { border-bottom: 0; }
td.num-cell { font-variant-numeric: tabular-nums; font-family: var(--mono); font-size: 12.5px; white-space: nowrap; }
.up { color: var(--up); font-weight: 600; }
.down { color: var(--down); font-weight: 600; }
td.up, td.down { font-family: var(--mono); font-size: 12.5px; }

/* 关键数字 */
.kv { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.kv-row { display: grid; grid-template-columns: minmax(110px, 1.1fr) 1fr; gap: 12px; padding: 9px 13px; border-bottom: 1px solid var(--rule); font-size: 14px; }
.kv-row:last-child { border-bottom: 0; }
.kv-row .k { color: var(--muted); }
.kv-row .v { font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; }

/* 时间线 */
.tl { position: relative; padding-left: 20px; }
.tl::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: var(--rule-dk); }
.tl-row { position: relative; padding: 7px 0; font-size: 14.5px; }
.tl-row::before { content: ""; position: absolute; left: -19px; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.tl-row .k { font-family: var(--serif); font-weight: 700; }
.tl-row .l { color: var(--ink-2); }

/* 统计条 */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.stat { background: var(--paper); padding: 13px 15px; }
.stat .n { font-family: var(--serif); font-size: 27px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat .u { font-size: 13px; color: var(--muted); margin-left: 4px; font-family: var(--sans); font-weight: 400; }
.stat .l { font-size: 12.5px; color: var(--muted); margin-top: 5px; line-height: 1.65; }
.stat.red .n { color: var(--up); }
.stat.green .n { color: var(--down); }

/* 排名柱形图（!bars）。与日报纸版 .bars 同一套视觉，规则同 render_report.emit_bars。 */
.bars { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); padding: 15px 16px 13px; }
.bars-head { display: flex; justify-content: flex-end; margin-bottom: 9px; }
.bars-unit { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.bar-list { display: flex; flex-direction: column; }
.bar-row { display: grid; grid-template-columns: 24px minmax(84px, 168px) minmax(0, 1fr) 96px; align-items: center; gap: 11px; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.bar-row:last-child { border-bottom: 0; }
.bar-rank { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.bar-row.hi .bar-rank { color: var(--brand); font-weight: 700; }
.bar-label { font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.bar-label .zh { display: block; color: var(--ink); font-weight: 600; }
.bar-label .en { display: block; font-size: 11.5px; }
.bar-track { height: 13px; background: var(--paper-3); position: relative; border-radius: 1px; }
.bar-track::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 20% 100%; }
.bar-fill { display: block; height: 100%; background: var(--ink); position: relative; z-index: 1; transition: width .5s ease; }
.bar-row.hi .bar-fill { background: var(--brand); }
.bar-fill.red { background: var(--brand); }
.bar-fill.green { background: var(--down); }
.bar-fill.dim { background: var(--muted-2); }
.bars[data-mode="rank"] .bar-fill { background: repeating-linear-gradient(135deg, var(--ink-2) 0 5px, var(--muted-2) 5px 11px); }
.bars[data-mode="rank"] .bar-row.hi .bar-fill { background: repeating-linear-gradient(135deg, var(--brand) 0 5px, #d8a6ae 5px 11px); }
.bar-val { font-family: var(--mono); font-size: 12.5px; color: var(--ink); text-align: right; line-height: 1.35; font-variant-numeric: tabular-nums; }
.bar-val .n { display: block; }
.bar-note { display: block; font-size: 11.5px; color: var(--muted-2); }
.bar-note.up { color: var(--up); font-weight: 600; }
.bar-note.down { color: var(--down); font-weight: 600; }
.bars-src { margin: 11px 0 0; padding-top: 9px; border-top: 1px solid var(--rule); font-size: 11.5px; line-height: 1.65; color: var(--muted-2); }
.bars-src .zh, .bars-src .en { display: block; }

/* 注释 */
.note { background: var(--paper-3); border-left: 3px solid var(--muted-2); padding: 12px 15px; font-size: 13.5px; color: var(--ink-2); line-height: 1.8; border-radius: 0 var(--r) var(--r) 0; }

/* 双栏 */
.cols2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

/* 图 */
figure { margin: 0; }
figure img { width: 100%; border-radius: var(--r); background: var(--paper-3); cursor: zoom-in; }
figure figcaption { font-size: 12.5px; color: var(--muted); margin-top: 7px; line-height: 1.75; }
figure figcaption .cr { display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 3px; }
.mcard .cr { display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 4px; }
.image-label { display: block; color: var(--brand); font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .02em; margin-bottom: 4px; }
.hero-img, .thumb { position: relative; }
figure.banner img { aspect-ratio: 3/2; object-fit: cover; }
figure.inline { margin: 22px 0; }

/* 深读面板 */
/* 深读面板。⚠️ 类名 `.deep` 与「深读」语义绑得很死 —— 列表里表示「有深读」的
   小标记**绝不能**再叫 `.pill.deep` 之类的名字，否则会继承这里的边框 + padding +
   ::before 文案，在列表里渲染成一个大空盒子。列表用 `.meta .mdeep`。 */
.deep { border: 1px solid var(--rule-dk); border-top: 3px solid var(--accent); border-radius: 0 0 var(--r) var(--r); background: var(--paper); padding: 15px 17px; margin-top: 20px; }
.deep::before { content: "深读 / In depth"; display: block; font-size: 11px; letter-spacing: .18em; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
html[data-lang="en"] .deep::before { content: "In depth"; }
.deep .body > * + * { margin-top: 12px; }
.deep .body { font-size: 14.5px; line-height: 1.85; }

/* ── 文章页 ───────────────────────────────────────────────── */
.crumb { padding: 14px 0 0; font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumb a:hover { color: var(--brand); }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.art-head { border-bottom: 1px solid var(--rule); padding-bottom: 16px; margin-bottom: 20px; }
.art-head h1 { font-family: var(--serif); font-size: var(--fs-h1); line-height: 1.25; margin: 9px 0 12px; font-weight: 700; }
.art-sf { font-size: 17.5px; color: var(--ink-2); line-height: 1.8; margin: 0 0 14px; font-family: var(--serif); }
.art-head .meta { padding-top: 3px; }
.art-hero { margin: 0 0 22px; }
.art-side { position: sticky; top: 96px; }
.side-box { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); padding: 14px 16px; margin-bottom: 16px; }
.side-box h2 { margin: 0 0 10px; font: 600 12px var(--sans); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.side-box ol, .side-box ul { margin: 0; padding-left: 17px; font-size: 13.5px; line-height: 1.7; }
.side-box li { margin-bottom: 8px; }
.side-box li a:hover { color: var(--brand); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; border-top: 1px solid var(--rule); padding-top: 16px; }
.pager a { display: block; }
.pager .dir { font-size: 11.5px; color: var(--muted); letter-spacing: .1em; }
.pager .t { font-family: var(--serif); font-size: 14.5px; line-height: 1.6; margin-top: 4px; font-weight: 700; }
.pager .next { text-align: right; }
.source-panel { margin-top: 36px; border-top: 2px solid var(--ink); padding-top: 16px; font-size: 14px; line-height: 1.7; }
.source-panel h2 { font-family: var(--serif); font-size: 22px; margin: 0 0 8px; }
.source-panel p { margin: 8px 0; }
.source-status { color: var(--muted); }
.source-panel ol { padding-left: 22px; margin: 14px 0; }
.source-panel li { margin: 0 0 12px; }
.source-panel li a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.source-kind { margin-left: 8px; color: var(--muted); font-size: 12px; }
.source-panel li small { display: block; color: var(--muted); }
.source-note { border-top: 1px solid var(--rule); padding-top: 12px; color: var(--muted); }
.correction { padding: 10px 12px; background: var(--paper-3); border-left: 3px solid var(--brand); }

.section-intro { border-top: 3px solid var(--ink); padding-top: 9px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-family: var(--serif); font-size: 25px; font-weight: 700; }
.section-intro a { font: 12px var(--sans); color: var(--muted); }
.front > .sec { margin: 20px 0 30px; }
.topic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.topic-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 110px; padding: 14px 16px; border: 1px solid var(--rule-dk); background: var(--paper); }
.topic-card:hover { border-color: var(--brand); }
.topic-card span { font: 700 20px/1.4 var(--serif); }
.topic-card small { font: 12px var(--sans); color: var(--muted); margin-top: 12px; }
.issue-link { display: block; border-top: 2px solid var(--ink); padding: 18px 0; text-align: right; color: var(--brand); font-weight: 700; }
.collection-end { color: var(--muted); font-size: 13px; }
.about-page { max-width: 850px; }
.about-page section { border-top: 1px solid var(--rule-dk); padding: 18px 0; }
.about-page section h2 { font: 700 22px var(--serif); margin: 0 0 8px; }
.about-page section p { margin: 0; }
.public-story { max-width: 790px; padding-top: 18px; }
.public-story .body { max-width: 700px; }
.public-story .body h2 { font-family: var(--serif); font-size: 22px; line-height: 1.45; }
.public-story .body blockquote { margin: 18px 0; border-left: 3px solid var(--brand); padding: 8px 15px; background: var(--paper); }
.public-story .body figure { margin: 24px 0; }
.public-story .body figure img { width: 100%; height: auto; }
.public-story .body figcaption { color: var(--muted); font-size: 12px; margin-top: 6px; }
.public-kv { border-top: 1px solid var(--rule); margin: 20px 0; }
.public-kv > div { display: grid; grid-template-columns: minmax(130px, 1fr) 2fr; gap: 16px; border-bottom: 1px solid var(--rule); padding: 10px 0; }
.public-kv dt { color: var(--muted); }
.public-kv dd { margin: 0; }
.public-timeline { padding-left: 22px; }
.public-timeline li { margin: 0 0 10px; }
.public-return { text-align: right; margin-top: 25px; color: var(--brand); }

:where(a, button, input, [role="link"]):focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ── 检索页 ───────────────────────────────────────────────── */
.srch-head { padding: 20px 0 6px; }
.srch-head h1 { font-family: var(--serif); font-size: 30px; margin: 0 0 8px; }
.facets { display: flex; gap: 7px; flex-wrap: wrap; margin: 12px 0 20px; }
.facet { font-size: 12.5px; border: 1px solid var(--rule-dk); border-radius: 999px; padding: 3px 11px; background: var(--paper); cursor: pointer; }
.facet:hover { border-color: var(--brand); color: var(--brand); }
.facet.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.hit { padding: 16px 0; border-bottom: 1px dotted var(--rule); }
.hit h3 { font-family: var(--serif); font-size: 19px; line-height: 1.5; margin: 4px 0 7px; font-weight: 700; }
.hit .snip { font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.hit mark { background: #ffe9a8; color: inherit; padding: 0 1px; border-radius: 2px; }

/* ── 往期 / 图库 ──────────────────────────────────────────── */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.icard { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); padding: 16px 18px; }
.icard .no { font-family: var(--mono); font-size: 12px; color: var(--brand); letter-spacing: .08em; }
.icard h3 { font-family: var(--serif); font-size: 20px; margin: 8px 0 8px; line-height: 1.4; }
.icard p { margin: 0 0 10px; font-size: 13px; color: var(--muted); line-height: 1.75; }
.icard .now { font-size: 11px; background: var(--brand); color: #fff; padding: 1px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.mcard { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.mcard img { aspect-ratio: 3/2; object-fit: cover; width: 100%; cursor: zoom-in; }
.mcard .cap { padding: 9px 11px; font-size: 12px; color: var(--muted); line-height: 1.65; }

/* ── 灯箱 ─────────────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; background: rgba(12,13,15,.92); z-index: 90; display: flex; align-items: center; justify-content: center; padding: 30px; }
.lightbox img { max-width: 96vw; max-height: 90vh; width: auto; border-radius: 2px; }
.lb-x { position: absolute; top: 16px; right: 22px; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; line-height: 1; }

/* ── 页脚 ─────────────────────────────────────────────────── */
.foot { border-top: 3px solid var(--ink); background: var(--paper); margin-top: 54px; }
.foot-inner { max-width: var(--wrap); margin: 0 auto; padding: 22px var(--gut) 30px; display: flex; gap: 26px; justify-content: space-between; flex-wrap: wrap; }
.foot strong { font-family: var(--serif); font-size: 16px; }
.foot p { margin: 5px 0 0; font-size: 12.5px; color: var(--muted); max-width: 560px; line-height: 1.7; }
.foot-meta { font-size: 12.5px; color: var(--muted); text-align: right; line-height: 1.9; }
.foot-meta b { color: var(--ink); font-family: var(--mono); font-weight: 600; }

/* ── 响应式 ───────────────────────────────────────────────── */
@media (max-width: 980px) {
  .article { grid-template-columns: 1fr; gap: 0; }
  .art-side { position: static; margin-top: 30px; }
  .hero { grid-template-columns: 1fr; }
  .hlist { grid-template-columns: 1fr; }
  .cols2 { grid-template-columns: 1fr; }
  .mast-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .mast-side { text-align: left; }
  .mast-tools { justify-content: flex-start; }
  .foot-meta { text-align: left; }
}
@media (max-width: 520px) {
  :root { --gut: 15px; }
  .mast-inner { flex-direction: row; align-items: center; padding: 8px var(--gut); gap: 8px; }
  .brand-zh { font-size: 21px; }
  .brand-en { font-size: 8px; letter-spacing: .2em; }
  .brand-tag, .mast-date { display: none; }
  .mast-tools { margin-top: 0; }
  .tbtn { min-width: 36px; min-height: 40px; padding: 5px 7px; }
  .mast-search { padding-bottom: 8px; }
  .mast-search input, .mast-search button { min-height: 42px; }
  .mast-search button { padding: 8px 14px; }
  .nav-inner { mask-image: linear-gradient(to right, #000 90%, transparent 100%); }
  .hero-main h2 { font-size: 27px; }
  .hero-main .sf { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
  .art-head h1 { font-size: 29px; line-height: 1.28; overflow-wrap: anywhere; }
  .art-sf { font-size: 15.5px; line-height: 1.65; }
  .strip { gap: 5px 12px; margin-bottom: 20px; }
  .strip .it:nth-child(4), .strip .thru { display: none; }
  .section-intro { font-size: 22px; }
  .topic-grid { grid-template-columns: 1fr; }
  .sec-title { font-size: 21px; }
  ul.lis li { grid-template-columns: 1fr; gap: 3px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .bar-row { grid-template-columns: 18px minmax(64px, 100px) minmax(0, 1fr) 66px; gap: 8px; }
  .bar-label, .bar-val { font-size: 12px; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { text-align: left; }
}
