/* ============================================================
   西河女性网 — 主样式
   暖纸底色 + 衬线标题 + 胭脂红点缀
   ============================================================ */

:root {
  --paper: #fbf8f4;
  --paper-2: #f3ece3;
  --paper-3: #ede3d7;
  --card: #fffdfa;
  --ink: #211d1a;
  --ink-2: #453d38;
  --ink-3: #6b615a;
  --muted: #8d8178;
  --line: #e2d7cb;
  --line-2: #d3c5b6;
  --accent: #8c3b3f;
  --accent-2: #b4685f;
  --olive: #5f6b4f;
  --gold: #a9834b;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --wrap: 1200px;
  --radius: 3px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; font-size: 16px; }
::selection { background: #e8cfc9; color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

.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;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--ink); color: #fff; padding: 10px 18px;
}
.skip:focus { left: 12px; top: 12px; color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------------- 头部 ---------------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 248, 244, .96);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex; align-items: center; gap: 32px;
  height: 74px;
}
.brand { flex: none; display: block; }
.brand img { width: auto; height: 44px; }

.nav { display: flex; align-items: center; gap: 26px; margin-left: 8px; flex: 1; }
.nav a {
  position: relative; font-size: 15.5px; color: var(--ink-2);
  padding: 6px 0; letter-spacing: .02em; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--accent); transition: right .25s ease;
}
.nav a:hover::after, .nav a.on::after { right: 0; }
.nav a.on { color: var(--ink); font-weight: 600; }

.head-search {
  display: flex; align-items: center; gap: 4px;
  border-bottom: 1px solid var(--line-2); padding-bottom: 2px;
  width: 210px; flex: none;
}
.head-search input {
  border: 0; background: transparent; outline: none;
  width: 100%; font-size: 14px; padding: 6px 0; color: var(--ink);
}
.head-search input::placeholder { color: var(--muted); }
.head-search button {
  border: 0; background: transparent; color: var(--ink-3);
  display: flex; align-items: center; padding: 4px;
}
.head-search button:hover { color: var(--accent); }

.nav-toggle {
  display: none; border: 1px solid var(--line-2); background: transparent;
  width: 40px; height: 36px; border-radius: var(--radius);
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* 公告条 —— 导航下方通栏 */
.notice {
  background: #f6ece2;
  border-bottom: 1px solid var(--line);
}
.notice-inner {
  display: flex; align-items: center; gap: 14px;
  min-height: 44px; font-size: 14px; color: var(--ink-2);
}
.notice-tag {
  flex: none; font-size: 11px; letter-spacing: .18em;
  background: var(--accent); color: #fff; padding: 3px 8px; border-radius: 2px;
}
.notice-text { flex: 1; letter-spacing: .04em; }
.notice-date { flex: none; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12.5px; }

/* ---------------- 通用 ---------------- */
.kicker {
  display: inline-block; font-size: 12px; letter-spacing: .16em;
  color: var(--accent); text-transform: uppercase; font-weight: 600;
}
.meta, .card-meta, .art-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  padding: 11px 22px; border-radius: var(--radius);
  font-size: 14.5px; letter-spacing: .04em; transition: .2s;
}
.btn:hover { background: #7a3135; border-color: #7a3135; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }

.block { margin-top: 72px; }
.block-head {
  display: flex; align-items: baseline; gap: 14px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 30px;
}
.block-head h2 { font-family: var(--serif); font-size: 26px; margin: 0; font-weight: 600; letter-spacing: .02em; }
.block-sub { font-size: 11px; letter-spacing: .22em; color: var(--muted); }

/* 封面（CSS 抽象图） */
.card-cover, .lead-cover {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  isolation: isolate;
}
.card-cover::after, .lead-cover::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.14) 0 1px, transparent 1px 46px);
  opacity: .38;
}
.cov-char {
  position: absolute; right: -14px; bottom: -46px;
  font-family: var(--serif); font-size: 190px; line-height: 1;
  color: rgba(255, 255, 255, .46); font-weight: 700;
  letter-spacing: -.04em; user-select: none;
}
.cov-line {
  position: absolute; left: 22px; top: 22px;
  width: 46px; height: 2px; background: rgba(255, 255, 255, .75);
}
.cov-line::after {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 24px; height: 1px; background: rgba(255, 255, 255, .5);
}

.tone-rose { background: linear-gradient(140deg, #e2b9b1 0%, #c1837e 50%, #9a4d51 100%); }
.tone-sand { background: linear-gradient(140deg, #e9d2a9 0%, #c9a672 50%, #a5814a 100%); }
.tone-olive { background: linear-gradient(140deg, #d5dcc2 0%, #a7b18a 50%, #79855d 100%); }
.tone-clay { background: linear-gradient(140deg, #e7c8b1 0%, #c08e70 50%, #96613f 100%); }
.tone-plum { background: linear-gradient(140deg, #dcc4d0 0%, #b28ca2 50%, #875b73 100%); }
.tone-ink { background: linear-gradient(140deg, #d4cfc8 0%, #a69f95 50%, #6f675d 100%); }

/* 封面变体：光影与字位不同，避免同栏重复感 */
.card-cover::before, .lead-cover::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.card-cover.v1::before { background: linear-gradient(205deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,0) 58%); }
.card-cover.v2::before { background: radial-gradient(circle at 18% 16%, rgba(255,255,255,.42) 0%, rgba(255,255,255,0) 60%); }
.card-cover.v3::before { background: linear-gradient(35deg, rgba(0,0,0,.14) 0%, rgba(0,0,0,0) 62%); }
.card-cover.v4::before { background: radial-gradient(circle at 82% 78%, rgba(0,0,0,.16) 0%, rgba(0,0,0,0) 62%); }

.card-cover.v2 .cov-char { right: -10px; top: -34px; bottom: auto; font-size: 150px; }
.card-cover.v3 .cov-char { left: -16px; right: auto; bottom: -40px; font-size: 170px; color: rgba(255,255,255,.38); }
.card-cover.v4 .cov-char { left: 50%; right: auto; bottom: -52px; transform: translateX(-50%); font-size: 210px; color: rgba(255,255,255,.34); }
.card-cover.v4 .cov-line { left: auto; right: 20px; }

/* ---------------- 首页 Hero ---------------- */
.hero { padding-top: 44px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 48px; }

.lead-cover { aspect-ratio: 16 / 9; }
.lead-cover .cov-char { font-size: 300px; bottom: -74px; right: -6px; }
.lead-badge {
  position: absolute; left: 20px; bottom: 18px;
  background: rgba(33, 29, 26, .82); color: #fff;
  font-size: 11.5px; letter-spacing: .16em; padding: 5px 10px;
}
.lead-body { padding-top: 22px; }
.lead-body h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(26px, 3.1vw, 38px); line-height: 1.3;
  margin: 10px 0 10px; letter-spacing: .01em;
}
.lead-sub { font-size: 16px; color: var(--ink-2); margin: 0 0 10px; }
.lead-desc { font-size: 14.5px; color: var(--ink-3); line-height: 1.8; margin: 0 0 14px; }

.hero-side { border-left: 1px solid var(--line); padding-left: 40px; }
.side-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.side-head h2 { font-family: var(--serif); font-size: 19px; margin: 0; font-weight: 600; }
.side-en { font-size: 10px; letter-spacing: .2em; color: var(--muted); }
.rank { list-style: none; margin: 0; padding: 0; }
.rank li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.rank-no {
  font-family: var(--serif); font-size: 22px; color: var(--line-2);
  line-height: 1.2; flex: none; font-variant-numeric: tabular-nums;
}
.rank li:hover .rank-no { color: var(--accent-2); }
.rank-cat { display: block; font-size: 11px; letter-spacing: .12em; color: var(--accent); margin-bottom: 2px; }
.rank-title { font-size: 15px; line-height: 1.55; color: var(--ink); }
.rank a:hover .rank-title { color: var(--accent); }
.side-more {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; font-size: 13.5px; color: var(--ink-3);
  border-bottom: 1px solid var(--line); padding: 10px 0;
}

/* 分类磁贴 */
.tiles {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  margin-top: 64px; border: 1px solid var(--line);
}
.tile {
  position: relative; display: flex; align-items: center; gap: 16px;
  background: var(--card); padding: 22px 22px; transition: background .2s;
  overflow: hidden;
}
.tile:hover { background: #fff; color: inherit; }
.tile-char {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 21px; color: #fff;
}
.tone-rose .tile-char { background: #b4685f; }
.tone-sand .tile-char { background: #b08a4f; }
.tone-olive .tile-char { background: #6d7a58; }
.tone-clay .tile-char { background: #ab7658; }
.tone-plum .tile-char { background: #8f6580; }
.tone-ink .tile-char { background: #6d655b; }
.tile-body { display: flex; flex-direction: column; min-width: 0; }
.tile-en { font-size: 9.5px; letter-spacing: .2em; color: var(--muted); }
.tile-body strong { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.tile-body em { font-style: normal; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-count { position: absolute; right: 18px; top: 16px; font-size: 11px; color: var(--line-2); }

/* 卡片 */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 30px; }
.card { display: flex; flex-direction: column; }
.card-cover { transition: transform .4s ease; }
.card:hover .card-cover { transform: translateY(-3px); }
.card-body { padding-top: 14px; }
.card-title {
  font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.5;
  margin: 6px 0 8px; letter-spacing: .01em;
}
.card-desc { font-size: 13.5px; color: var(--ink-3); line-height: 1.75; margin: 0 0 10px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-sm .card-title { font-size: 16.5px; }
.card-sm .card-cover { aspect-ratio: 16 / 10; }
.card-sm .cov-char { font-size: 130px; bottom: -34px; }

/* 分栏 */
.split { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr); gap: 52px; align-items: start; }
.split-side { display: flex; flex-direction: column; gap: 24px; padding-top: 4px; }
.split-main { min-width: 0; }
.split-main .grid-2 { gap: 34px 28px; }

.panel { background: var(--card); border: 1px solid var(--line); padding: 22px; }
.panel-title { font-family: var(--serif); font-size: 16px; margin: 0 0 14px; font-weight: 600; letter-spacing: .03em; }
.tool-list { list-style: none; margin: 0; padding: 0; }
.tool-list li { border-bottom: 1px solid var(--line); }
.tool-list li:last-child { border-bottom: 0; }
.tool-list a { display: block; padding: 11px 0; }
.tool-list strong { display: block; font-size: 14.5px; font-weight: 600; }
.tool-list span { font-size: 12.5px; color: var(--muted); }
.panel-quote { background: var(--paper-2); border-color: var(--paper-3); }
.quote { font-family: var(--serif); font-size: 21px; line-height: 1.6; margin: 0 0 8px; color: var(--ink); }
.quote-by { font-size: 12px; color: var(--muted); margin: 0 0 12px; }
.panel-link { font-size: 13px; color: var(--accent); }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: flex; gap: 10px; justify-content: space-between; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.mini-list li:last-child { border-bottom: 0; }
.mini-list time { flex: none; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* 栏目带 */
.bands { margin-top: 78px; }
.band { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 42px;
  padding: 34px 0; border-top: 1px solid var(--line); }
.band:last-child { border-bottom: 1px solid var(--line); }
.band-en { font-size: 10px; letter-spacing: .22em; color: var(--muted); }
.band-head h2 { font-family: var(--serif); font-size: 24px; margin: 4px 0 6px; font-weight: 600; }
.band-head p { font-size: 13.5px; color: var(--ink-3); margin: 0 0 12px; line-height: 1.7; }
.band-more { font-size: 12.5px; color: var(--accent); }
.band-list { list-style: none; margin: 0; padding: 0; }
.band-list li { display: flex; align-items: baseline; gap: 24px; justify-content: space-between;
  padding: 13px 0; border-bottom: 1px dashed var(--line); }
.band-list li:first-child { padding-top: 4px; }
.band-list li:last-child { border-bottom: 0; }
.band-list a { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.band-title { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.band-desc { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.band-list time { flex: none; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* CTA */
.cta { background: var(--paper-2); border-top: 1px solid var(--line); margin-top: 84px; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-en { font-size: 10px; letter-spacing: .24em; color: var(--muted); }
.cta h2 { font-family: var(--serif); font-size: 30px; margin: 6px 0 8px; font-weight: 600; }
.cta p { margin: 0; font-size: 14.5px; color: var(--ink-3); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------- 面包屑 ---------------- */
.crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 12.5px; color: var(--muted); padding: 22px 0 0; }
.crumb a { color: var(--ink-3); }
.crumb em { font-style: normal; color: var(--muted); min-width: 0; max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 表格容器 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 26px 0; }
.table-wrap table { margin: 0; min-width: 100%; }

/* ---------------- 文章 ---------------- */
.art-grid { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; align-items: start; margin-top: 24px; }
.art { max-width: 760px; min-width: 0; }
.art-head h1 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4vw, 44px);
  line-height: 1.28; margin: 12px 0 14px; letter-spacing: -.01em;
}
.art-sub { font-family: var(--serif); font-size: 18px; color: var(--ink-3); margin: 0 0 18px; line-height: 1.7; }
.art-meta { padding-bottom: 24px; border-bottom: 1px solid var(--line); }

.keypoints { background: var(--paper-2); border-left: 3px solid var(--accent-2); padding: 22px 26px; margin: 30px 0 10px; }
.keypoints h2 { font-family: var(--sans); font-size: 12px; letter-spacing: .18em; color: var(--accent);
  margin: 0 0 10px; font-weight: 700; }
.keypoints ul { margin: 0; padding-left: 18px; }
.keypoints li { font-size: 14.5px; line-height: 1.8; margin: 4px 0; color: var(--ink-2); }

.art-body { font-size: 17.5px; line-height: 1.95; color: #2b2521; }
.art-body > .lead {
  font-size: 18.5px; color: var(--ink-2); line-height: 1.9;
  padding-left: 20px; border-left: 2px solid var(--line-2); margin: 34px 0 26px;
}
.art-body h2 {
  font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.45;
  margin: 52px 0 18px; letter-spacing: .01em; scroll-margin-top: 100px;
}
.art-body h2::before {
  content: ""; display: block; width: 30px; height: 2px; background: var(--accent-2); margin-bottom: 12px;
}
.art-body h3 {
  font-family: var(--serif); font-size: 19.5px; font-weight: 600; margin: 32px 0 10px;
}
.art-body p { margin: 0 0 20px; }
.art-body ul, .art-body ol { margin: 0 0 22px; padding-left: 22px; }
.art-body li { margin: 8px 0; }
.art-body li::marker { color: var(--accent-2); }
.art-body strong { color: var(--ink); font-weight: 600; }
.art-body a { color: var(--accent); border-bottom: 1px solid rgba(140, 59, 63, .3); }
.art-body table {
  width: 100%; border-collapse: collapse; margin: 26px 0 28px;
  font-size: 14.5px; line-height: 1.65; background: var(--card); max-width: 100%;
}
.art-body th {
  text-align: left; background: var(--paper-2); font-weight: 600; color: var(--ink);
  padding: 11px 13px; border-bottom: 1px solid var(--line-2); white-space: nowrap;
}
.art-body td { padding: 11px 13px; border-bottom: 1px solid var(--line); vertical-align: top; }
.art-body tr:last-child td { border-bottom: 0; }
.art-body .tip {
  background: #f6efe4; border-left: 3px solid var(--gold);
  padding: 16px 20px; margin: 30px 0; font-size: 15.5px; line-height: 1.85; color: var(--ink-2);
}
.art-body .tip strong { color: var(--accent); }

.art-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.art-tags span { font-size: 12.5px; color: var(--ink-3); background: var(--paper-2); padding: 4px 10px; border-radius: 2px; }

.art-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.art-nav a { display: block; border: 1px solid var(--line); padding: 16px 18px; background: var(--card); }
.art-nav span { display: block; font-size: 11.5px; letter-spacing: .12em; color: var(--muted); margin-bottom: 4px; }
.art-nav strong { font-family: var(--serif); font-size: 15.5px; font-weight: 600; line-height: 1.55; }
.art-next { text-align: right; }

.related { margin-top: 56px; }
.related .grid-3 { gap: 30px 24px; }

.art-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { font-size: 13.5px; line-height: 1.6; margin: 7px 0; color: var(--ink-3); }
.toc li::marker { color: var(--line-2); font-size: 12px; }
.toc a:hover { color: var(--accent); }
.panel-note { background: transparent; border-style: dashed; }
.panel-note p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.8; }

/* ---------------- 栏目页 ---------------- */
.cat-head { position: relative; margin-top: 22px; padding: 42px 40px 38px;
  background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; }
.cat-head::after {
  content: ""; position: absolute; right: -60px; bottom: -110px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255, 255, 255, .35);
}
.cat-en { font-size: 10px; letter-spacing: .26em; color: var(--muted); position: relative; z-index: 1; }
.cat-head h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 42px); margin: 4px 0 6px;
  font-weight: 600; position: relative; z-index: 1; }
.cat-desc { font-family: var(--serif); font-size: 17px; color: var(--accent); margin: 0 0 12px; position: relative; z-index: 1; }
.cat-intro { max-width: 660px; font-size: 14.5px; color: var(--ink-3); line-height: 1.9; margin: 0; position: relative; z-index: 1; }
.cat-count { position: absolute; right: 30px; top: 30px; font-size: 12px; color: var(--muted); z-index: 1; }

.cat-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-link { display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 1px solid var(--line);
  background: var(--card); }
.cat-link-char { font-family: var(--serif); font-size: 22px; color: var(--accent-2); }
.cat-link strong { font-family: var(--serif); font-size: 16px; font-weight: 600; }
.cat-link em { font-style: normal; font-size: 12.5px; color: var(--muted); }

/* ---------------- 单页 / 工具 ---------------- */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; align-items: start; margin-top: 24px; }
.page { max-width: 760px; min-width: 0; }
.page h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 42px); margin: 8px 0 26px; font-weight: 600; }
.page-body { font-size: 16.5px; line-height: 1.95; color: var(--ink-2); }
.page-body .lead { font-size: 17.5px; color: var(--ink-2); border-left: 2px solid var(--line-2); padding-left: 18px; margin-bottom: 28px; }
.page-body h2 { font-family: var(--serif); font-size: 23px; color: var(--ink); margin: 40px 0 14px; font-weight: 600; }
.page-body h3 { font-family: var(--serif); font-size: 18px; color: var(--ink); margin: 26px 0 8px; }
.page-body p { margin: 0 0 16px; }
.page-body ul, .page-body ol { padding-left: 22px; margin: 0 0 18px; }
.page-body li { margin: 6px 0; }
.page-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 20px 0; background: var(--card); }
.page-body th { background: var(--paper-2); text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
.page-body td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.page-body a { color: var(--accent); border-bottom: 1px solid rgba(140, 59, 63, .3); }
.page-side { display: flex; flex-direction: column; gap: 20px; margin-top: 6px; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0;
  border-bottom: 1px solid var(--line); font-size: 13.5px; }
.info-list li:last-child { border-bottom: 0; }
.info-list span { color: var(--muted); flex: none; }
.info-list strong { font-weight: 500; text-align: right; }

.tool-wrap { max-width: 820px; margin-top: 24px; }
.tool-head h1 { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 38px); margin: 8px 0 10px; font-weight: 600; }
.tool-lead { font-size: 16px; color: var(--ink-3); margin: 0 0 30px; line-height: 1.8; }
.tool-body { font-size: 16.5px; line-height: 1.95; color: var(--ink-2); }
.tool-body h2 { font-family: var(--serif); font-size: 23px; color: var(--ink); margin: 40px 0 14px; }
.tool-body p { margin: 0 0 16px; }
.tool-body ul { padding-left: 22px; }
.tool-body li { margin: 6px 0; }
.tool-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 18px 0; background: var(--card); }
.tool-body th { background: var(--paper-2); text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tool-body td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tool-body .tip { background: #f6efe4; border-left: 3px solid var(--gold); padding: 14px 18px; font-size: 14.5px; }
.tool-foot { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

.calc { background: var(--card); border: 1px solid var(--line); padding: 24px; margin: 0 0 26px; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 16px; }
.calc label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-3); }
.calc input, .calc select {
  border: 1px solid var(--line-2); background: var(--paper); border-radius: 2px;
  padding: 10px 12px; color: var(--ink); width: 100%;
}
.calc input:focus, .calc select:focus { outline: none; border-color: var(--accent-2); }
.calc-out { background: var(--paper-2); border: 1px solid var(--line); padding: 22px; margin-bottom: 28px; }
.calc-out h3 { font-family: var(--serif); font-size: 18px; margin: 0 0 12px; }
.calc-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 16px; }
.calc-num { background: var(--card); border: 1px solid var(--line); padding: 12px 14px; }
.calc-num span { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .06em; }
.calc-num strong { font-family: var(--serif); font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-num em { font-style: normal; font-size: 12px; color: var(--muted); }
.calc-verdict { font-size: 14px; color: var(--ink-2); margin: 0; }
.calc-err { color: var(--accent); font-size: 14px; margin: 0; }

/* ---------------- 搜索 ---------------- */
.search-head { margin-top: 26px; }
.search-head h1 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 18px; font-weight: 600; }
.search-form { display: flex; gap: 10px; max-width: 560px; }
.search-form input {
  flex: 1; border: 1px solid var(--line-2); background: var(--card);
  padding: 11px 14px; border-radius: 2px; outline: none;
}
.search-form input:focus { border-color: var(--accent-2); }
.search-count { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.empty { padding: 40px 0; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chips a { font-size: 13.5px; border: 1px solid var(--line-2); padding: 6px 14px; border-radius: 2px; color: var(--ink-2); }
.chips a:hover { border-color: var(--accent); color: var(--accent); }
.note-band { border: 1px dashed var(--line-2); padding: 16px 20px; font-size: 13.5px; color: var(--ink-3); }

/* ---------------- 404 ---------------- */
.nf { max-width: 760px; padding: 70px 28px 40px; }
.nf-code { font-family: var(--serif); font-size: 90px; line-height: 1; color: var(--line-2); letter-spacing: -.02em; }
.nf h1 { font-family: var(--serif); font-size: 32px; margin: 8px 0 12px; font-weight: 600; }
.nf p { color: var(--ink-3); }
.nf-list { margin-top: 40px; border-top: 1px solid var(--line); }
.row-item { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row-cat { flex: none; font-size: 11px; color: var(--accent); letter-spacing: .08em; }
.row-title { flex: 1; font-family: var(--serif); font-size: 16px; }
.row-meta { flex: none; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* 广告位 */
.ad-band { padding: 40px 0 8px; }
.ad-band .wrap { min-height: 0; }

/* ---------------- 页脚 ---------------- */
.site-foot { margin-top: 90px; background: var(--paper-2); border-top: 1px solid var(--line); padding: 52px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { width: auto; height: 38px; margin-bottom: 14px; }
.foot-brand p { font-size: 12.5px; color: var(--muted); line-height: 1.8; margin: 0; max-width: 34ch; }
.foot-col h3 { font-size: 12px; letter-spacing: .16em; color: var(--ink-3); margin: 6px 0 12px; font-weight: 600; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin: 8px 0; }
.foot-col a { font-size: 13.5px; color: var(--ink-2); }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-2);
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; }
.foot-bottom p { margin: 0; font-size: 12.5px; color: var(--muted); }
.foot-bottom .beian a { color: var(--ink-2); }
.foot-bottom .disclaim { flex-basis: 100%; font-size: 11.5px; color: #9b8f85; }

.to-top {
  position: fixed; right: 24px; bottom: 28px; z-index: 30;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255, 253, 250, .94);
  color: var(--ink-2); font-size: 16px; box-shadow: 0 4px 16px rgba(60, 40, 30, .08);
}
.to-top:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .head-inner { gap: 20px; }
  .nav { gap: 18px; }
  .head-search { width: 170px; }
  .hero-grid { gap: 34px; }
  .art-grid, .page-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
}

@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .nav-toggle { display: flex; margin-left: auto; }
  .head-search { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 74px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 18px; display: none; box-shadow: 0 18px 30px rgba(50, 35, 25, .06);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
  .nav a::after { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-side { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 20px; }
  .lead-cover { aspect-ratio: 16 / 10; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; }
  .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-side { flex-direction: row; flex-wrap: wrap; }
  .split-side .panel { flex: 1 1 260px; }
  .band { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .art-grid, .page-grid { grid-template-columns: 1fr; gap: 30px; }
  .art-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .art-side .panel { flex: 1 1 240px; }
  .art { max-width: none; }
  .cat-links { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
  .notice-date { display: none; }
  .cta { padding: 44px 0; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .head-inner { height: 64px; }
  .brand img { width: auto; height: 36px; }
  .nav { top: 64px; }
  .notice-inner { min-height: 40px; gap: 10px; font-size: 12.5px; }
  .notice-tag { font-size: 10px; padding: 2px 6px; }
  .hero { padding-top: 26px; }
  .lead-cover .cov-char { font-size: 190px; bottom: -46px; }
  .lead-body h2 { font-size: 25px; }
  .lead-sub { font-size: 15px; }
  .tiles { grid-template-columns: 1fr; margin-top: 40px; }
  .tile { padding: 16px; }
  .grid-3 { grid-template-columns: 1fr; gap: 30px; }
  .card-cover { aspect-ratio: 16 / 10; }
  .cov-char { font-size: 150px; bottom: -38px; }
  .block { margin-top: 54px; }
  .block-head h2 { font-size: 22px; }
  .band-list li { flex-direction: column; gap: 4px; }
  .band-list time { align-self: flex-start; }
  .cta h2 { font-size: 24px; }
  .cta-actions { width: 100%; }
  .art-head h1 { font-size: 27px; }
  .art-sub { font-size: 16px; }
  .art-body { font-size: 16.5px; line-height: 1.9; }
  .art-body > .lead { font-size: 17px; padding-left: 14px; }
  .art-body h2 { font-size: 22px; margin-top: 40px; }
  .art-body table, .tool-body table, .page-body table {
    display: table; white-space: normal; font-size: 13.5px;
  }
  .table-wrap.wide table { min-width: 520px; white-space: nowrap; }
  .table-wrap.wide::before {
    content: "表格可左右滑动 →"; display: block; position: sticky; left: 0;
    width: max-content; font-size: 11px; color: var(--muted); margin-bottom: 4px;
  }
  .art-body th, .art-body td { padding: 9px 11px; }
  .art-nav { grid-template-columns: 1fr; }
  .art-next { text-align: left; }
  .cat-head { padding: 28px 22px; }
  .cat-count { position: static; display: block; margin-top: 12px; }
  .cat-links { grid-template-columns: 1fr; }
  .page-side { flex-direction: column; }
  .calc-row { grid-template-columns: 1fr; }
  .calc-nums { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: 6px; }
  .to-top { right: 14px; bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
