:root {
  --paper: #FAF9F6;
  --surface: #F3F1EC;
  --ink: #181B1E;
  --body: #2D3238;
  --muted: #6E737B;
  --faint: #9AA0A6;
  --accent: #1E4460;
  --rule: #E4E1DA;
  --rule-strong: #181B1E;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STZhongsong", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.82;
}
a { color: inherit; text-decoration: none; transition: color 0.15s ease, border-color 0.15s ease; }
.wrap { max-width: 1020px; margin: 0 auto; padding: 0 28px; }

/* Masthead: Classic Print Journal Proportion */
.masthead { padding: 36px 0 0; }
.top-kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--rule-strong);
}
.brand-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--rule);
}
.site-title {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.site-tagline {
  margin: 10px 0 0;
  font-size: 14.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.search-field {
  position: relative;
  width: 260px;
}
.search-field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #C8C4BC;
  padding: 7px 2px 7px 22px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}
.search-field input:focus { border-bottom-color: var(--ink); }
.search-field input::placeholder { color: var(--faint); }
.search-icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 1.6;
}

/* Filter Navigation: Quiet Editorial Index */
.nav-band {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.track-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 10px;
}
.track-btn {
  background: none;
  border: none;
  padding: 4px 0;
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 1.5px solid transparent;
  transition: all 0.15s;
}
.track-btn:hover { color: var(--ink); }
.track-btn.active {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--ink);
}
.topic-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
}
.topic-label {
  font-size: 12.5px;
  color: var(--faint);
  margin-right: 2px;
}
.topic-btn {
  background: none;
  border: none;
  padding: 2px 0;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}
.topic-btn:hover { color: var(--ink); }
.topic-btn.active {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Lead Feature + Editorial Archive Stream */
.archive-list { padding: 8px 0 64px; }
.entry {
  display: grid;
  grid-template-columns: 118px 1fr 200px;
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.entry.lead-entry {
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1.5px solid var(--ink);
}
.entry-aside {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  padding-top: 3px;
}
.entry-date {
  display: block;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.entry-col-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent);
  font-weight: 500;
}
.entry-col-tag.pop { color: #5C4B32; }
.entry-kicker {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.entry-title {
  font-family: var(--serif);
  font-size: 20.5px;
  font-weight: 600;
  line-height: 1.44;
  color: var(--ink);
  margin: 0 0 10px;
}
.lead-entry .entry-title {
  font-size: 26px;
  line-height: 1.38;
  margin-bottom: 12px;
}
.entry-title a:hover { color: var(--accent); }
.entry-excerpt {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
  margin: 0 0 12px;
}
.entry-meta-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: var(--faint);
  letter-spacing: 0.02em;
}
.entry-meta-foot .ppt-link {
  color: var(--ink);
  border-bottom: 1px solid #C8C4BC;
  padding-bottom: 1px;
}
.entry-meta-foot .ppt-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.entry-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ECEAE4;
}

/* Article Detail Reading Page */
.reading-nav {
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
  font-size: 13.5px;
  color: var(--muted);
}
.reading-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.back-home { color: var(--ink); font-weight: 500; }
.back-home:hover { color: var(--accent); }

.reading-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.art-kicker {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 12px;
}
.art-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.38;
  color: var(--ink);
  margin: 0 0 20px;
}
.art-byline-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 34px;
  font-size: 13.5px;
  color: var(--muted);
}
.byline-left { font-variant-numeric: tabular-nums; }
.ppt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 5px 13px;
  border-radius: 2px;
  background: transparent;
  transition: all 0.15s;
}
.ppt-btn:hover {
  background: var(--ink);
  color: var(--paper);
}
.wx-note {
  display: none;
  font-size: 13px;
  color: var(--muted);
  background: var(--surface);
  border-left: 2px solid var(--ink);
  padding: 10px 14px;
  margin: -18px 0 28px;
}

/* Prose & Academic Typography */
.prose p { margin: 0 0 1.25em; text-align: left; }
.prose h2 {
  font-family: var(--serif);
  font-size: 21.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 2.2em 0 0.8em;
  line-height: 1.4;
}
.prose h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 1.7em 0 0.55em;
}
.prose ul, .prose ol { padding-left: 1.35em; margin: 0 0 1.3em; }
.prose li { margin-bottom: 0.45em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(30,68,96,0.3); }
.prose a:hover { border-bottom-color: var(--accent); }
.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 18px;
  border-left: 2px solid var(--ink);
  color: var(--ink);
  font-size: 15.8px;
  line-height: 1.8;
}
.section-rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2.4em 0;
}

/* Plates / 16:9 Infographics */
.figure-plate {
  margin: 2.2em -24px;
}
.figure-plate img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: #FFF;
}
.figure-plate figcaption {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
  padding: 8px 2px 0;
}

/* Academic Three-Line Table (三线表) */
.table-wrap { overflow-x: auto; margin: 1.8em 0; }
.three-line-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.three-line-table th {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 12px;
  border-bottom: 1px solid var(--ink);
  background: transparent;
}
.three-line-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.three-line-table tbody tr:last-child td { border-bottom: none; }
code {
  font-family: var(--mono);
  font-size: 13.5px;
  background: var(--surface);
  padding: 1px 5px;
  border-radius: 2px;
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 28px 0 48px;
  font-size: 12.5px;
  color: var(--faint);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 760px) {
  .wrap { padding: 0 18px; }
  .site-title { font-size: 28px; }
  .search-field { width: 100%; }
  .entry, .entry.lead-entry {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 0;
  }
  .entry-aside { display: flex; align-items: center; gap: 12px; padding-top: 0; }
  .entry-col-tag { margin-top: 0; }
  .entry-thumb { order: -1; }
  .figure-plate { margin: 1.8em 0; }
  .art-title { font-size: 24px; }
  .reading-container { padding: 32px 18px 56px; }
}
