/* 论小雀（passrev）内容站 · 杂志编辑风 —— 暖纸底、衬线标题、无衬线正文、克制的朱红 */
:root {
  --paper: #f6f1e7;
  --paper-2: #efe7d8;
  --card: #fbf8f2;
  --ink: #22201c;
  --ink-2: #4a453d;
  --muted: #7a7164;
  --rule: #ddd2bf;
  --rule-2: #e9e0d0;
  --red: #c2412d;
  --red-ink: #a3321f;
  --red-tint: #f4e2da;
  --ok: #3f6b4a;
  --serif: "Source Han Serif SC", "Noto Serif SC", "Noto Serif CJK SC", "Songti SC", "STSong", "SimSun", "Georgia", serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, "Courier New", monospace;
  --wrap: 1160px;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(34, 32, 28, .04), 0 10px 30px -18px rgba(34, 32, 28, .25);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.75 var(--sans); letter-spacing: .01em;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: rgba(194, 65, 45, .45); text-underline-offset: .2em; }
a:hover { color: var(--red-ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.3; letter-spacing: .01em; color: var(--ink); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }
.kicker { display: inline-block; font-size: 13px; letter-spacing: .18em; color: var(--red); font-weight: 600; text-decoration: none; margin: 0 0 14px; }
a.kicker:hover { color: var(--red-ink); }
.lede { font-size: 18px; color: var(--ink-2); max-width: 46em; }
.muted { color: var(--muted); }
.empty { color: var(--muted); padding: 24px 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  font: 600 15px/1 var(--sans); padding: 13px 22px; border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.text-link { color: var(--red-ink); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 241, 231, .88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { display: block; border-radius: 9px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-zh { font-family: var(--serif); font-weight: 800; font-size: 19px; letter-spacing: .08em; }
.brand-en { font-size: 12px; color: var(--muted); letter-spacing: .14em; }
.nav-menu { display: flex; align-items: center; gap: 18px; flex: 1; justify-content: flex-end; }
.nav-menu ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-menu ul a { display: block; padding: 8px 10px; font-size: 15px; text-decoration: none; color: var(--ink-2); border-radius: 8px; white-space: nowrap; }
.nav-menu ul a:hover { color: var(--ink); background: var(--paper-2); }
.nav-menu ul a[aria-current="page"] { color: var(--red-ink); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.nav-search input {
  width: 150px; padding: 8px 14px; font: 14px var(--sans); color: var(--ink);
  background: var(--card); border: 1px solid var(--rule); border-radius: 999px; transition: width .25s, border-color .2s;
}
.nav-search input:focus { width: 200px; outline: none; border-color: var(--red); }
.nav-cta { font-size: 14px; font-weight: 600; color: var(--red-ink); text-decoration: none; white-space: nowrap; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--rule); background: var(--card); border-radius: 10px; cursor: pointer; position: relative; }
.nav-toggle .bar, .nav-toggle .bar::before, .nav-toggle .bar::after { position: absolute; left: 11px; width: 18px; height: 2px; background: var(--ink); content: ""; transition: transform .2s; }
.nav-toggle .bar { top: 19px; }
.nav-toggle .bar::before { left: 0; top: -6px; }
.nav-toggle .bar::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 阅读进度 ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- 面包屑 ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 22px 0 0; font-size: 13px; color: var(--muted); }
.crumbs li { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.crumbs li + li::before { content: "/"; margin: 0 9px; color: var(--rule); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--red-ink); }

/* ---------- 首页 Hero ---------- */
.hero { padding: 72px 0 56px; border-bottom: 1px solid var(--rule); background:
  radial-gradient(900px 340px at 85% -10%, rgba(194, 65, 45, .07), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); margin: 0 0 22px; line-height: 1.16; }
.hero-line { display: block; font-size: .56em; font-weight: 600; color: var(--ink-2); margin-top: 12px; letter-spacing: .02em; }
.hero .lede { margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero-note { border-top: 3px solid var(--red); background: var(--card); padding: 22px 24px; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); }
.note-h { font-family: var(--serif); font-weight: 700; font-size: 18px; margin: 0 0 8px; }
.hero-note ol { margin: 0; padding-left: 1.3em; color: var(--ink-2); font-size: 15px; }
.hero-note li { margin: 4px 0; }
.note-foot { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--rule); font-size: 13px; color: var(--muted); }

/* ---------- 区块 ---------- */
.section { padding: 64px 0; }
.section-tint { background: var(--paper-2); border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.section-head h2 { font-size: 28px; margin: 0; }
.section-head p { margin: 0; color: var(--muted); font-size: 15px; max-width: 36em; }

/* 五条工具线 */
.lines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.line-card { position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 20px 18px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.line-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfc2ab; }
.line-no { font-family: var(--serif); font-size: 34px; font-weight: 800; color: var(--red); line-height: 1; opacity: .9; }
.line-card h3 { font-size: 19px; margin: 12px 0 10px; }
.line-card h3 a { text-decoration: none; }
.flow { list-style: none; margin: 0 0 16px; padding: 0; counter-reset: f; font-size: 14px; color: var(--ink-2); flex: 1; }
.flow li { counter-increment: f; position: relative; padding: 5px 0 5px 24px; line-height: 1.55; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: 7px; width: 17px; height: 17px; border-radius: 50%; border: 1px solid var(--rule); font-size: 11px; line-height: 15px; text-align: center; color: var(--muted); }
.line-links { display: flex; justify-content: space-between; gap: 8px; margin: 0; padding-top: 12px; border-top: 1px solid var(--rule-2); font-size: 13px; }
.line-links a { text-decoration: none; color: var(--muted); }
.line-links a:last-child { color: var(--red-ink); font-weight: 600; }
.line-links a:hover { text-decoration: underline; }

/* 卡片 */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.feature-grid .card-big { grid-row: span 2; }
.card { position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px 24px 20px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfc2ab; }
.card-cat { align-self: flex-start; position: relative; z-index: 2; font-size: 12px; letter-spacing: .12em; color: var(--red-ink); text-decoration: none; font-weight: 600; margin-bottom: 10px; }
.card-title { font-size: 20px; margin: 0 0 10px; line-height: 1.4; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card:hover .card-title a { color: var(--red-ink); }
.card-sum { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin: 0; font-size: 13px; color: var(--muted); display: flex; gap: 8px; }
.card-big { padding: 34px 34px 28px; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card-big .card-title { font-size: clamp(24px, 2.6vw, 32px); color: var(--paper); margin-top: auto; }
.card-big .card-title a { color: var(--paper); }
.card-big:hover .card-title a { color: #fff; }
.card-big .card-sum { color: #d9d1c3; font-size: 16px; -webkit-line-clamp: 5; flex: 0 0 auto; }
.card-big .card-cat { color: #f0a08f; }
.card-big .meta { color: #b6ad9d; }
.card-big::before { content: "精选"; position: absolute; top: 28px; right: 30px; font-family: var(--serif); font-size: 13px; color: var(--paper); border: 1px solid rgba(246, 241, 231, .4); padding: 2px 10px; border-radius: 999px; }
.more-cats { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.more-cats a { font-size: 14px; padding: 6px 14px; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; color: var(--ink-2); background: var(--card); }
.more-cats a:hover { border-color: var(--red); color: var(--red-ink); }

/* CTA */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 44px; border-radius: 20px; background: var(--card); border: 1px solid var(--rule); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--red); }
.cta h2 { font-size: 26px; margin: 0 0 8px; }
.cta p { margin: 0; color: var(--ink-2); max-width: 40em; }
.cta .btn { flex-shrink: 0; }

/* ---------- 文章页 ---------- */
.article-head { padding-top: 26px; padding-bottom: 34px; max-width: 880px; margin-left: auto; margin-right: auto; text-align: left; }
.article-head h1 { font-size: clamp(28px, 4.2vw, 44px); margin: 0 0 16px; line-height: 1.25; }
.dek { font-size: 18px; color: var(--ink-2); margin: 0 0 26px; padding-left: 16px; border-left: 3px solid var(--red); }
.byline { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--rule); }
.avatar { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: var(--paper); display: grid; place-items: center; font-family: var(--serif); font-weight: 800; font-size: 18px; }
.avatar.lg { width: 58px; height: 58px; font-size: 24px; }
.byline-name { font-weight: 600; text-decoration: none; }
.byline-meta { margin: 0; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.article-grid { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: 56px; justify-content: center; padding-bottom: 40px; }
.toc-aside { position: relative; }
.toc { position: sticky; top: 90px; max-height: calc(100vh - 120px); overflow: auto; padding-right: 6px; }
.toc-title { font-size: 12px; letter-spacing: .2em; color: var(--muted); margin: 0 0 10px; font-weight: 600; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.toc li a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.5; color: var(--muted); text-decoration: none; }
.toc li.lv3 a { padding-left: 28px; font-size: 13px; }
.toc li a:hover { color: var(--ink); }
.toc li a.active { color: var(--red-ink); border-left-color: var(--red); font-weight: 600; }
.toc-mobile { display: none; }

.prose { font-size: 17px; line-height: 1.9; color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15em; }
.prose h2 { font-size: 26px; margin: 2.1em 0 .7em; padding-top: .2em; position: relative; }
.prose h2::before { content: ""; display: block; width: 28px; height: 3px; background: var(--red); margin-bottom: 14px; }
.prose h3 { font-size: 20px; margin: 1.7em 0 .5em; }
.prose a { color: var(--red-ink); text-decoration: underline; text-decoration-thickness: 1px; }
.prose strong { font-weight: 700; background: linear-gradient(transparent 62%, var(--red-tint) 62%); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose ol li::marker { color: var(--red); font-weight: 700; font-family: var(--serif); }
.prose ul li::marker { color: var(--red); }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--rule); color: var(--ink-2); font-family: var(--serif); }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--paper-2); padding: 2px 6px; border-radius: 5px; }
.prose pre { background: var(--ink); color: #eee6d8; padding: 18px 20px; border-radius: 12px; overflow: auto; font-size: 14px; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.4em 0; }
.prose img { border-radius: 12px; }
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); }
.prose table, .adm-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.prose th, .prose td { padding: 10px 16px; border-bottom: 1px solid var(--rule-2); text-align: left; }
.prose th { font-weight: 600; background: var(--paper-2); font-size: 14px; }
.prose tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { margin-top: 2.6em; padding-top: .2em; }
.faq-item { border: 1px solid var(--rule); border-radius: 12px; background: var(--card); margin: 0 0 12px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; position: relative; font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.5; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "问"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 6px; background: var(--red-tint); color: var(--red-ink); font-size: 13px; vertical-align: 2px; }
.faq-item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item[open] summary { border-bottom: 1px dashed var(--rule); }
.faq-a { padding: 14px 20px 4px 54px; font-size: 16px; color: var(--ink-2); }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 0; }
.tags a { display: inline-block; font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); text-decoration: none; }
.tags a::before { content: "# "; color: var(--red); }
.tags a:hover { background: var(--red-tint); }
.tool-note { margin: 36px 0 0; padding: 20px 24px; border-radius: var(--radius); background: var(--red-tint); border: 1px solid #ecc9bd; }
.tool-note-label { margin: 0 0 6px; font-size: 12px; letter-spacing: .2em; color: var(--red-ink); font-weight: 700; }
.tool-note p:last-child { margin: 0; font-size: 15px; color: var(--ink-2); }
.tool-note a { color: var(--red-ink); font-weight: 600; }
.author-card { display: flex; gap: 18px; margin: 24px 0 0; padding: 24px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card); }
.author-card p { margin: 0 0 8px; font-size: 15px; color: var(--ink-2); }
.author-name { font-family: var(--serif); font-weight: 700; font-size: 18px !important; color: var(--ink) !important; }
.author-meta { font-size: 13px !important; color: var(--muted) !important; margin: 0 !important; }
.related { border-top: 1px solid var(--rule); background: var(--paper-2); }
.preview-bar { position: sticky; top: 0; z-index: 50; background: var(--red); color: #fff; text-align: center; padding: 8px; font-size: 14px; }
.preview-bar a { color: #fff; font-weight: 700; }
.page-article:has(.preview-bar) .site-header { top: 37px; }

/* ---------- 分类页 / 搜索 ---------- */
.cat-head { padding-top: 26px; padding-bottom: 12px; }
.cat-head h1 { font-size: clamp(30px, 4.4vw, 48px); margin: 0 0 12px; }
.cat-flow { margin: 26px 0 0; padding: 20px 24px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card); }
.cat-flow-h { margin: 0 0 10px; font-size: 13px; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.cat-flow p { margin: 0 0 10px; color: var(--ink-2); }
.flow-row { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-bottom: 12px; }
.page-category .section { padding-top: 28px; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; font-size: 14px; color: var(--muted); }
.pager a { text-decoration: none; color: var(--ink); padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); }
.search-big { display: flex; gap: 10px; max-width: 640px; margin: 18px 0 8px; }
.search-big input { flex: 1; min-width: 0; padding: 13px 18px; font: 16px var(--sans); border: 1px solid var(--rule); background: var(--card); border-radius: 999px; color: var(--ink); }
.search-big input:focus { outline: none; border-color: var(--red); }
.search-list { list-style: none; padding: 0; margin: 0; }
.search-list li { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.search-list h2 { font-size: 21px; margin: 4px 0 6px; }
.search-list h2 a { text-decoration: none; }
.search-list p { margin: 0; color: var(--ink-2); }
mark { background: var(--red-tint); color: var(--red-ink); padding: 0 2px; border-radius: 3px; }

/* 关于页 */
.about-grid { display: grid; grid-template-columns: minmax(0, 720px) 240px; gap: 56px; justify-content: center; padding-bottom: 64px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; margin: 1.4em 0; }
.facts div { background: var(--card); padding: 14px 18px; }
.facts dt { font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-family: var(--serif); font-weight: 700; font-size: 17px; word-break: break-all; }
.about-side { position: relative; }
.seal-card { position: sticky; top: 96px; text-align: center; padding: 30px 20px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card); }
.seal-card img { border-radius: 20px; }
.seal-zh { font-family: var(--serif); font-size: 26px; font-weight: 800; letter-spacing: .2em; margin: 14px 0 0; }
.seal-en { margin: 0; color: var(--muted); letter-spacing: .3em; }

/* 404 */
.notfound { padding: 60px 28px 80px; }
.big-code { font-family: var(--serif); font-size: clamp(80px, 16vw, 160px); line-height: 1; margin: 0; color: var(--red); opacity: .18; font-weight: 800; }
.notfound h1 { font-size: 36px; margin: -10px 0 10px; }
.notfound h2 { font-size: 22px; margin: 48px 0 18px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: #cfc6b6; padding: 56px 0 28px; margin-top: 0; }
.site-footer a { color: #e9e1d2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .brand-zh { color: var(--paper); }
.foot-brand .brand-en { color: #a39a8a; }
.foot-brand p { font-size: 14px; line-height: 1.8; margin: 16px 0 0; max-width: 30em; }
.foot-h { color: var(--paper); font-weight: 600; font-size: 14px; letter-spacing: .12em; margin: 4px 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.site-footer li { margin: 6px 0; }
.foot-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid #3b3832; font-size: 13px; color: #9d9484; }
.foot-note p { margin: 4px 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .lines { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 12px;
    background: var(--paper); border-bottom: 1px solid var(--rule); padding: 12px 20px 20px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .25);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu ul { flex-direction: column; }
  .nav-menu ul a { padding: 12px 6px; font-size: 16px; border-bottom: 1px solid var(--rule-2); border-radius: 0; }
  .nav-menu ul a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); padding-left: 14px; }
  .nav-search input, .nav-search input:focus { width: 100%; padding: 12px 16px; font-size: 16px; }
  .nav-cta { padding: 6px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid .card-big { grid-column: 1 / -1; grid-row: auto; }
  .article-grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin: 0 auto; }
  .toc-aside { display: none; }
  .toc-mobile { display: block; margin: 0 0 28px; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); }
  .toc-mobile summary { padding: 12px 18px; cursor: pointer; font-weight: 600; font-size: 15px; }
  .toc-mobile ol { list-style: none; margin: 0; padding: 0 18px 12px; }
  .toc-mobile li a { display: block; padding: 6px 0; font-size: 15px; color: var(--ink-2); text-decoration: none; border-top: 1px solid var(--rule-2); }
  .toc-mobile li.lv3 a { padding-left: 16px; font-size: 14px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-side { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding: 0 18px; }
  .nav { height: 58px; gap: 12px; }
  .nav-menu { top: 58px; }
  .brand-zh { font-size: 17px; }
  .hero { padding: 40px 0 40px; }
  .hero h1 { font-size: 32px; }
  .hero-line { font-size: 19px; }
  .lede { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .section { padding: 44px 0; }
  .section-head h2 { font-size: 23px; }
  .lines { grid-template-columns: 1fr; gap: 12px; }
  .line-card { padding: 18px; }
  .line-no { position: absolute; right: 18px; top: 18px; font-size: 28px; }
  .line-card h3 { margin-top: 0; }
  .card-grid, .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 20px; }
  .card-big { padding: 26px 22px 22px; }
  .card-big::before { top: 20px; right: 20px; }
  .card-title { font-size: 18px; }
  .article-head { padding-top: 16px; padding-bottom: 24px; }
  .article-head h1 { font-size: 26px; }
  .dek { font-size: 16px; }
  .prose { font-size: 16px; line-height: 1.85; }
  .prose h2 { font-size: 22px; }
  .prose h3 { font-size: 18px; }
  .prose th, .prose td { padding: 8px 12px; font-size: 14px; }
  .faq-item summary { font-size: 16px; padding: 14px 44px 14px 16px; }
  .faq-a { padding: 12px 16px 2px; }
  .author-card { flex-direction: column; gap: 12px; padding: 20px; }
  .cta { padding: 28px 22px 28px 26px; }
  .cta h2 { font-size: 21px; }
  .cta .btn { width: 100%; }
  .facts { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .search-big { flex-direction: column; }
  .crumbs li[aria-current] { max-width: 60vw; }
}
/* 精选大卡片的装饰字 */
.card-deco { position: absolute; right: 26px; top: 50%; transform: translateY(-88%); font-family: var(--serif); font-weight: 800; font-size: clamp(140px, 16vw, 230px); line-height: 1; color: rgba(194, 65, 45, .26); pointer-events: none; user-select: none; }
.card-big .card-cat, .card-big .card-title, .card-big .card-sum, .card-big .meta { position: relative; }
.card-big .card-title { position: static; }
.card-big .card-sum, .card-big .meta { pointer-events: none; }
@media (max-width: 640px) { .card-deco { font-size: 120px; right: 14px; } }

@media print {
  .site-header, .site-footer, .toc-aside, .toc-mobile, .progress, .related, .tool-note { display: none !important; }
  body { background: #fff; }
}
