/* ============================================================
   稳兑研习社 · cex111.com
   视觉系统:数据研究媒体风(1:1 参考 Our World in Data 的真实设计语言)
   —— navy 墨蓝 + 白底 + 朱红强调 + 浅灰蓝区块;明亮、学术、数据驱动
   —— 标题 Playfair Display(西)/ Noto Serif SC(中);正文 Lato + 系统中文
   —— 组件:数据 pill / 分类标签条 / 文章卡 / related 侧栏 / cite 行 / 分节 tab
   站群唯一「研究媒体」风,与暖纸手记、深色终端第一眼就不同。
   ============================================================ */

:root {
  /* —— OWID 取色(javascript 实读) —— */
  --navy-deep: #002147;   /* 顶栏 / footer / 深块 */
  --navy:      #1d3d63;   /* 标题 + 正文墨色(OWID 主色) */
  --navy-soft: #335a85;
  --link:      #3f608a;   /* 链接蓝(实读) */

  --paper:  #ffffff;      /* 正文底 */
  --mist:   #e9edf2;      /* hero / 区块 浅灰蓝 */
  --mist-2: #f4f6f9;      /* 更浅 */
  --line:   #d6dce4;      /* 描边 */
  --line-2: #c2cad6;

  --red:      #c0392b;    /* CTA / 风险强调(OWID donate 红) */
  --red-deep: #9c2c20;
  --red-tint: #f6e7e4;
  --gold:     #b8862f;    /* 次强调 / 数据高亮 */
  --gold-tint:#f3ead6;

  --ink:   #1d3d63;       /* 正文 = navy(OWID 特色) */
  --ink-2: #54627a;       /* 次要 */
  --ink-3: #8893a4;       /* 弱 */

  /* —— 字体 —— */
  --serif: "Playfair Display", "Noto Serif SC", "Noto Serif KR", Georgia, "Songti SC", "Times New Roman", serif;
  --sans:  "Lato", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;

  --wrap: 1120px;
  --wrap-text: 740px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold-tint); color: var(--navy-deep); }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; transition: color .14s ease; }
a:hover { color: var(--red); }
a:focus-visible, .btn:focus-visible, summary:focus-visible, input:focus-visible, .entry-card:focus-visible, .topic-tags a:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* —— 小标(类别 / eyebrow) —— */
.kicker {
  font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3);
}

/* ============================================================
   顶栏(navy,OWID masthead)
   ============================================================ */
.topbar {
  background: var(--navy-deep); color: #fff;
  border-bottom: 3px solid var(--red);
}
.topbar .wrap { display: flex; align-items: center; gap: 1.5rem; height: 62px; }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; text-decoration: none; }
.brand .mark {
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem; line-height: 1;
  color: var(--navy-deep); background: #fff; padding: .3rem .42rem; border-radius: 3px;
}
.brand .brandname { display: flex; flex-direction: column; line-height: 1.12; }
.brand .brandname .cn { font-family: var(--serif); font-weight: 700; font-size: 1.16rem; }
.brand .brandname .en { font-family: var(--sans); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: #93a7c2; }
/* 旧标记兼容 */
.brand .seal, .brand .shield, .brand .shield-wrap { display: none; }

.nav-links { display: flex; gap: 1.3rem; margin-left: .6rem; }
.nav-links a { color: #cdd8e6; font-size: .96rem; font-weight: 400; text-decoration: none; padding: .2rem 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; border-bottom-color: var(--red); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: .9rem; }

/* 顶栏搜索框(OWID 标志元素) */
.topsearch {
  display: flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22); border-radius: 3px; padding: .35rem .7rem;
  color: #aebfd4; font-size: .86rem; min-width: 200px;
}
.topsearch input { flex: 1; background: transparent; border: 0; outline: 0; color: #fff; font-family: var(--sans); font-size: .86rem; }
.topsearch input::placeholder { color: #8aa0bd; }

.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; color: #cdd8e6; font-size: .88rem; padding: .3rem .5rem; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after { content: "▾"; font-size: .7rem; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 30px rgba(0,33,71,.18); min-width: 140px; padding: .3rem; z-index: 60; }
.lang-menu a { display: block; padding: .42rem .6rem; color: var(--ink); font-size: .9rem; text-decoration: none; border-radius: 3px; }
.lang-menu a[aria-current="true"] { background: var(--mist); color: var(--navy); font-weight: 600; }
.lang-menu a:hover { background: var(--mist); }

/* —— 按钮 —— */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--sans); font-weight: 700; font-size: .92rem; padding: .55rem 1.1rem; border-radius: 3px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background .14s ease, color .14s ease, border-color .14s ease; }
.btn-red, .btn-amber { background: var(--red); color: #fff; }
.btn-red:hover, .btn-amber:hover { background: var(--red-deep); color: #fff; text-decoration: none; }
.btn-navy { background: var(--navy-deep); color: #fff; }
.btn-navy:hover { background: var(--navy); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--mist); color: var(--navy-deep); border-color: var(--navy-soft); text-decoration: none; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
.btn-lg { padding: .72rem 1.5rem; font-size: 1rem; }

/* ============================================================
   报头 masthead(浅灰,OWID 内页/首页 hero)
   ============================================================ */
.masthead { background: var(--mist); border-bottom: 1px solid var(--line); }
.masthead-inner { padding: 3.2rem 0 3rem; display: grid; grid-template-columns: 1fr 358px; gap: 2rem 3.4rem; align-items: center; }
.masthead-main { max-width: 40rem; }

/* hero 数据图:出入金各环节冻卡风险(OWID 数据媒体气质) */
.riskchart { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: 0 18px 38px -24px rgba(0,33,71,.55); }
.riskchart .rc-h { font-family: var(--serif); color: var(--navy); font-size: 1.12rem; font-weight: 700; margin: 0 0 .2rem; }
.riskchart .rc-sub { font-family: var(--sans); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 1.2rem; }
.riskchart .bar-row { display: grid; grid-template-columns: 4.4rem 1fr 2.8rem; gap: .65rem; align-items: center; margin-bottom: .78rem; font-size: .84rem; }
.riskchart .bar-row .lab { color: var(--navy); font-weight: 700; }
.riskchart .bar-track { height: 9px; background: var(--mist); border-radius: 999px; overflow: hidden; }
.riskchart .bar-fill { display: block; height: 100%; border-radius: 999px; }
.riskchart .bar-fill.hi { background: var(--red); }
.riskchart .bar-fill.mid { background: var(--gold); }
.riskchart .bar-fill.lo { background: var(--navy-soft); }
.riskchart .tag { font-family: var(--sans); font-size: .72rem; font-weight: 700; text-align: right; }
.riskchart .tag.hi { color: var(--red-deep); }
.riskchart .tag.mid { color: var(--gold); }
.riskchart .tag.lo { color: var(--ink-3); }
.riskchart .rc-note { font-size: .76rem; color: var(--ink-3); line-height: 1.55; margin: 1rem 0 0; border-top: 1px solid var(--line); padding-top: .8rem; }
.masthead .eyebrow { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; }
.masthead h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.18; color: var(--navy);
  margin: 0 0 1.1rem; letter-spacing: -.005em;
}
.masthead .standfirst { font-size: 1.24rem; line-height: 1.6; color: var(--ink-2); max-width: 44ch; margin: 0 0 1.5rem; }
.masthead .standfirst b { color: var(--navy); font-weight: 700; }
.masthead-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.masthead .byline { margin-top: 1.2rem; font-size: .92rem; color: var(--ink-2); }
.masthead .byline b { color: var(--navy); }
.masthead .byline a { color: var(--link); }

/* 数据 pill 行(OWID "13,974 charts") */
.datapills { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.6rem 0 0; }
.datapills .pill {
  display: inline-flex; align-items: baseline; gap: .45rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .95rem;
  font-size: .9rem; color: var(--ink-2);
}
.datapills .pill b { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--navy); }

/* 分类标签条(OWID POPULAR PAGES) */
.topic-tags { background: #fff; border-bottom: 1px solid var(--line); }
.topic-tags .wrap { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; padding: .9rem 28px; }
.topic-tags .lab { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-right: .4rem; }
.topic-tags a {
  font-size: .9rem; color: var(--navy); text-decoration: none;
  background: var(--mist-2); border: 1px solid var(--line); border-radius: 999px; padding: .32rem .85rem;
}
.topic-tags a:hover { background: var(--navy-deep); color: #fff; border-color: var(--navy-deep); }

/* ============================================================
   章节 / 文章卡(OWID entry card)
   ============================================================ */
section { padding: 3rem 0; }
.sec-head { margin-bottom: 1.6rem; max-width: 60ch; }
.sec-head .kicker { color: var(--red); }
.sec-head h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.2rem); color: var(--navy); margin: .4rem 0 .5rem; line-height: 1.25; }
.sec-head p { color: var(--ink-2); margin: 0; font-size: 1.05rem; }

.entry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.entry-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; text-decoration: none; color: var(--ink);
  border-top: 3px solid var(--navy-deep); transition: box-shadow .15s ease, transform .15s ease;
}
.entry-card:hover { box-shadow: 0 14px 34px -18px rgba(0,33,71,.4); transform: translateY(-2px); text-decoration: none; }
.entry-card.soon { border-top-color: var(--line-2); }
.entry-card .ec-cat { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.entry-card.soon .ec-cat { color: var(--ink-3); }
.entry-card h3 { font-family: var(--serif); font-weight: 700; font-size: 1.32rem; color: var(--navy); margin: .5rem 0 .5rem; line-height: 1.35; }
.entry-card p { margin: 0 0 .9rem; color: var(--ink-2); font-size: .98rem; line-height: 1.6; }
.entry-card .ec-more { font-family: var(--sans); font-weight: 700; font-size: .9rem; color: var(--link); }
.entry-card.soon .ec-more { color: var(--ink-3); }

/* —— 关键信息块(OWID Key Insights) —— */
.keybox { background: var(--mist-2); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 1.6rem 1.8rem; margin: 1.4rem 0; }
.keybox h3 { font-family: var(--serif); font-weight: 700; color: var(--navy); margin: 0 0 .5rem; font-size: 1.28rem; }
.keybox p { margin: 0; color: var(--ink); font-size: 1.04rem; }
.keybox strong { color: var(--red-deep); }

/* 立场凡例 */
.tenet { background: var(--mist-2); border: 1px solid var(--line); border-left: 4px solid var(--navy-deep); border-radius: var(--radius); padding: 1.5rem 1.7rem; }
.tenet p { margin: 0 0 .8rem; font-size: 1.04rem; }
.tenet p:last-child { margin-bottom: 0; }
.tenet strong { color: var(--red-deep); }

/* 行内桥接 */
.inline-cta { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.3rem 0; margin: 2rem 0; display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; justify-content: space-between; }
.inline-cta p { margin: 0; font-size: 1.04rem; color: var(--ink); max-width: 52ch; }
.inline-cta b { color: var(--red-deep); }

/* ============================================================
   推荐入口(affiliate · OWID「support us」式克制卡)
   ============================================================ */
.recommend { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.recommend-bar { background: var(--navy-deep); color: #fff; padding: .65rem 1.4rem; font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.recommend-body { display: grid; grid-template-columns: 1fr auto; gap: 1.2rem 1.8rem; align-items: center; padding: 1.6rem 1.7rem; }
.recommend .rc-title { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--navy); margin: 0 0 .5rem; line-height: 1.4; }
.recommend .rc-title b { color: var(--red-deep); }
.recommend .rc-note { font-size: .84rem; color: var(--ink-3); margin: .5rem 0 0; line-height: 1.6; }
.recommend .rc-right { text-align: center; }
.recommend .rc-code { display: inline-block; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; letter-spacing: .1em; color: var(--navy); background: #fff; border: 1px dashed var(--gold); padding: .3rem .9rem; border-radius: 3px; margin-bottom: .7rem; }
.recommend .btn { width: 100%; }

/* 文末 CTA */
.cta-block { background: var(--navy-deep); color: #fff; border-radius: var(--radius); padding: 2.4rem 2rem; text-align: center; }
.cta-block h2 { font-family: var(--serif); font-weight: 700; color: #fff; margin: 0 0 .6rem; font-size: 1.7rem; }
.cta-block p { color: #c5d2e3; margin: 0 auto 1.3rem; max-width: 52ch; font-size: 1.04rem; }
.cta-block .rc-code, .cta-block .ic-code { display: inline-block; margin: 0 0 1.1rem; padding: .3rem .85rem; font-family: var(--serif); letter-spacing: .1em; font-weight: 700; color: #fff; background: rgba(255,255,255,.12); border: 1px dashed rgba(255,255,255,.5); border-radius: 3px; }
.cta-block .ic-note { font-size: .82rem; color: #9fb1c8; margin-top: 1rem; }

/* 顶部披露(旧 class 兼容,明亮) */
.disclosure-bar { background: var(--mist); color: var(--ink-2); border-bottom: 1px solid var(--line); font-size: .84rem; padding: .5rem 0; }
.disclosure-bar .wrap { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: center; justify-content: center; text-align: center; }
.disclosure-bar b { color: var(--red-deep); }
.disclosure-bar a { color: var(--link); font-weight: 600; }

/* ============================================================
   文章正文页(cornerstone)— OWID 内页
   ============================================================ */
.article-head { background: var(--mist); border-bottom: 1px solid var(--line); padding: 2.6rem 0 2rem; }
.breadcrumb { font-family: var(--sans); font-size: .84rem; color: var(--ink-3); margin-bottom: 1rem; }
.breadcrumb a { color: var(--link); }
.breadcrumb span { color: var(--line-2); margin: 0 .4rem; }
.article-head .ch-tag { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: .5rem; }
.article-head h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.2; color: var(--navy); margin: 0 0 .9rem; max-width: 24ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; font-family: var(--sans); font-size: .9rem; color: var(--ink-2); }
.article-meta .byline b { color: var(--navy); }
.article-meta a { color: var(--link); }

.article-body { padding: 2.6rem 0 1rem; }
.article-grid { display: grid; grid-template-columns: 1fr 230px; gap: 3.4rem; align-items: start; }

/* 右侧 related / toc 侧栏(OWID related topics) */
.toc { position: sticky; top: 1.5rem; font-size: .94rem; order: 2; }
.toc .toc-title { font-family: var(--sans); font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .8rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.toc a { display: block; color: var(--link); padding: .35rem 0; line-height: 1.45; text-decoration: none; }
.toc a:hover { color: var(--red); text-decoration: underline; }
.article-grid .prose { order: 1; }

.prose { max-width: var(--wrap-text); }
.prose > p { margin: 0 0 1.35rem; }
.prose .lead { font-size: 1.26rem; line-height: 1.6; color: var(--navy); font-weight: 400; }
.prose .lead.dropcap::first-letter { float: left; font-family: var(--serif); font-weight: 700; font-size: 3.6rem; line-height: .8; padding: .15rem .5rem .1rem 0; color: var(--red); }
.prose h2 { font-family: var(--serif); font-weight: 700; font-size: 1.75rem; color: var(--navy); margin: 2.8rem 0 1rem; line-height: 1.3; scroll-margin-top: 1.5rem; }
.prose h2 .h2-rail, .prose h2 .ch-mark { display: none; }
.prose h3 { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--navy); margin: 2rem 0 .7rem; }
.prose ul, .prose ol { margin: 0 0 1.35rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .55rem; }
.prose strong { color: var(--navy); font-weight: 700; }
.prose em { color: var(--ink); font-style: normal; background: var(--gold-tint); padding: 0 .2em; border-radius: 2px; }
.prose a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--red); }
.prose blockquote { margin: 1.7rem 0; padding: .5rem 0 .5rem 1.5rem; border-left: 4px solid var(--red); color: var(--ink-2); font-style: italic; }

.article-cover { margin: 0 0 2rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.article-cover figcaption { font-family: var(--sans); font-size: .84rem; color: var(--ink-3); padding: .6rem .9rem; background: var(--mist-2); }

/* hands-on */
.hands-on { background: var(--mist-2); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 1.9rem 0; }
.hands-on .ho-tag { font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.hands-on p { margin: 0; color: var(--ink); font-size: 1rem; }

/* 风险框(旧 .caution 兼容) */
.caution { position: relative; background: var(--red-tint); border: 1px solid #e6c4be; border-left: 4px solid var(--red); border-radius: var(--radius); padding: 1.5rem 1.6rem; margin: 1.6rem 0; }
.caution::before { content: "风险提示"; position: absolute; top: -.78rem; left: 1.1rem; background: var(--red); color: #fff; font-family: var(--sans); font-weight: 700; font-size: .72rem; letter-spacing: .08em; padding: .12rem .65rem; border-radius: 2px; }
.caution h3 { font-family: var(--serif); font-weight: 700; color: var(--red-deep); margin: .2rem 0 .5rem; font-size: 1.2rem; }
.caution p { margin: 0; color: var(--ink); font-size: 1.02rem; }
.caution strong { color: var(--red-deep); }

/* 数据表 */
.data-table { width: 100%; border-collapse: collapse; margin: 1.8rem 0; font-size: .96rem; }
.data-table th, .data-table td { text-align: left; padding: .8rem .95rem; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--navy-deep); color: #fff; font-weight: 700; }
.data-table tbody tr:nth-child(even) { background: var(--mist-2); }

/* checklist */
.checklist { background: var(--mist-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.7rem; margin: 1.9rem 0; }
.checklist h3 { margin-top: 0; color: var(--navy); }
.checklist ul { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: .12rem; color: #fff; font-weight: 700; font-size: .8rem; width: 1.35rem; height: 1.35rem; background: var(--red); border-radius: 3px; display: grid; place-items: center; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 0; }
.faq summary { cursor: pointer; padding: 1.05rem 0; font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.12rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--red); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 1.1rem; color: var(--ink-2); }

/* 页边批注 */
.marginnote { font-family: var(--sans); font-size: .84rem; color: var(--ink-3); line-height: 1.55; border-left: 2px solid var(--red); padding-left: .7rem; margin: 1.3rem 0; }

/* ============================================================
   Footer(navy,OWID 末页)
   ============================================================ */
.site-foot { background: var(--navy-deep); color: #aebfd4; margin-top: 3.4rem; padding: 3rem 0 2rem; font-family: var(--sans); font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-foot .brand .brandname .cn { color: #fff; }
.foot-about { max-width: 42ch; margin: .9rem 0 0; line-height: 1.75; color: #aebfd4; }
.foot-about .editor { color: #e6edf5; }
.foot-col .foot-h { font-family: var(--sans); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #7d92b0; margin: 0 0 .9rem; }
.foot-col a { display: block; color: #aebfd4; padding: .25rem 0; text-decoration: none; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-disclosure { border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.4rem; font-size: .84rem; color: #8ea2bf; line-height: 1.75; }
.foot-disclosure strong { color: #cdd8e6; }
.foot-disclosure .risk { color: #d9a99f; }
.foot-bottom { margin-top: 1rem; font-size: .82rem; color: #6f86a6; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 900px) {
  .masthead-inner { grid-template-columns: 1fr; gap: 2rem; }
  .masthead-main { max-width: none; }
  .riskchart { max-width: 440px; }
  .entry-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .toc { position: static; order: 0; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
  .article-grid .prose { order: 1; }
  .recommend-body { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .topsearch { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .topbar .wrap { height: 54px; gap: 1rem; }
  .nav-links { display: none; }
  .masthead-inner { padding: 2.2rem 0 2rem; }
}
@media (hover: none) {
  .btn, .nav-links a, .lang-menu a { min-height: 44px; }
}
