/*
Theme Name: 复元道
Theme URI: https://fuyuandaoshixiu.com/
Author: 中山柚子网络科技有限公司
Description: 复元道实修的阅读型主题。深绿、米白、淡金，长文优先。
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 8.2
Text Domain: fuyuandao
*/

:root {
  --paper: #f6f3ea;
  --paper-soft: #efece1;
  --white: #fffdf8;
  --ink: #14231e;
  --body: #36453f;
  --muted: #61706a;
  --faint: #97a39c;
  --green: #1f4a3e;
  --green-2: #2f6a55;
  --gold: #b08a4f;
  --line: #d9ded5;
  --line-soft: #e3e6de;
  --mist: #e9ede5;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.95;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid #c7c3b2;
  transition: color .18s ease, border-color .18s ease;
}
a:hover { color: var(--gold); border-color: var(--gold); }

img { max-width: 100%; height: auto; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 720px; margin: 0 auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(246, 243, 234, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; border: 0; }
.brand:hover { color: inherit; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; flex: 0 0 32px;
  background: var(--green); color: var(--paper);
  font-size: 17px; line-height: 1; border-radius: 50%;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: 3px; color: var(--ink); }
.brand-sub { font-family: var(--sans); font-size: 10px; letter-spacing: 1.5px; color: var(--faint); }

.nav-list {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
  font-family: var(--sans); font-size: 14px; letter-spacing: 1px;
}
.nav-list a { border: 0; color: #55635d; }
.nav-list a:hover { color: var(--green); }
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a {
  color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 3px;
}

/* ---------- main ---------- */

.site-main { padding: 0 0 40px; }

/* ---------- home hero ---------- */

.hero-home {
  position: relative;
  display: flex; align-items: center;
  min-height: 660px;
  background: var(--paper);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-home-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center right;
}
.hero-home::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(246,243,234,.97) 0%,
    rgba(246,243,234,.92) 34%,
    rgba(246,243,234,.55) 62%,
    rgba(246,243,234,.12) 100%);
}
.hero-home-inner { position: relative; z-index: 1; width: 100%; padding-top: 70px; padding-bottom: 80px; }
.hero-home .eyebrow {
  margin: 0 0 26px; font-family: var(--sans); font-weight: 600;
  font-size: 12px; letter-spacing: 5px; color: #8a6a3a;
}
.hero-home h1 {
  margin: 0 0 18px;
  font-size: clamp(64px, 9vw, 124px);
  line-height: 1.04; letter-spacing: 10px; font-weight: 700;
  color: var(--ink);
}
.hero-line {
  margin: 0 0 22px;
  font-size: 22px; line-height: 1.8; letter-spacing: 2px; color: var(--green);
}
.hero-home .lead {
  margin: 0 0 34px; max-width: 460px;
  font-size: 17px; line-height: 2; color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block; padding: 13px 28px;
  background: var(--green); color: var(--paper);
  border: 1px solid var(--green); border-radius: 2px;
  font-family: var(--sans); font-size: 14px; letter-spacing: 1.5px;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { background: #173a30; border-color: #173a30; color: #fff; }
.btn-ghost { background: rgba(255,253,248,.55); color: var(--green); }
.btn-ghost:hover { background: var(--white); color: var(--green); border-color: var(--green); }

/* ---------- bands & sections ---------- */

.band {
  padding: 76px 0;
}
.band-dark {
  background: var(--green); color: var(--paper);
}
.band-mist { background: var(--mist); }

.eyebrow {
  margin: 0 0 22px; font-family: var(--sans); font-size: 12px;
  letter-spacing: 4px; color: var(--gold);
}
.band-dark .eyebrow { color: #d8b57c; }

.band-title {
  margin: 0; font-size: clamp(30px, 4vw, 46px);
  line-height: 1.42; letter-spacing: 2px; font-weight: 700; color: var(--ink);
}
.band-dark .band-title { color: var(--paper); }
.band-lead { margin: 0; font-size: 17px; line-height: 2; color: var(--muted); }
.band-dark .band-lead { color: rgba(246,243,234,.82); }
.band-link { margin: 22px 0 0; font-family: var(--sans); font-size: 13px; letter-spacing: 1.5px; }
.band-link a { color: #d8b57c; border-bottom-color: rgba(216,181,124,.5); }
.band-link a:hover { color: #fff; border-color: #fff; }

.two-col {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 88px); align-items: start;
}
.two-col .band-lead { max-width: 560px; }

.section { padding: 74px 0; }
.section + .section { border-top: 1px solid var(--line-soft); }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-title {
  margin: 0 0 14px; font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.5; letter-spacing: 1.5px; font-weight: 700; color: var(--ink);
}
.section-desc { margin: 0; font-size: 16px; line-height: 1.95; color: var(--muted); }
.section p { margin: 0 0 18px; font-size: 18px; line-height: 1.95; color: var(--body); }
.section p:last-child { margin-bottom: 0; }

/* ---------- five stages ---------- */

.stage-list {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0; list-style: none; margin: 0; padding: 0;
  border-top: 1px solid var(--line);
}
.stage-list li {
  padding: 26px 22px 8px 0;
  border-right: 1px solid var(--line-soft);
}
.stage-list li:last-child { border-right: 0; padding-right: 0; }
.stage-list li:not(:first-child) { padding-left: 22px; }
.stage-list .n {
  display: block; margin-bottom: 14px;
  font-family: var(--sans); font-size: 11px; letter-spacing: 2px; color: var(--gold);
}
.stage-list h3 {
  margin: 0 0 8px; font-size: 21px; line-height: 1.5;
  letter-spacing: 2px; font-weight: 700; color: var(--ink);
}
.stage-list p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--muted); }

/* ---------- card grids ---------- */

.card-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.post-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: 3px;
  padding: 30px 30px 32px; color: inherit;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.post-card:hover {
  color: inherit; border-color: #c3c9bf;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(20,35,30,.08);
}
.post-card-body { display: block; }
.post-card-meta {
  display: block; margin-bottom: 9px;
  font-family: var(--sans); font-size: 11px; letter-spacing: 2px; color: var(--gold);
}
.post-card-title {
  display: block; margin-bottom: 8px;
  font-size: 20px; line-height: 1.55; font-weight: 700; color: var(--ink);
}
.post-card-desc { display: block; font-size: 14px; line-height: 1.85; color: var(--muted); }

/* ---------- boundary ---------- */

.boundary { padding: 74px 0; }
.boundary .boundary-quote {
  margin: 0 0 24px; max-width: 860px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.65; letter-spacing: 1.5px; color: var(--ink);
}
.boundary .boundary-quote strong { color: var(--green); font-weight: 700; }
.boundary p:not(.eyebrow):not(.boundary-quote) { margin: 0; max-width: 640px; font-size: 16px; line-height: 2; color: var(--muted); }

/* ---------- offline cta ---------- */

.cta-image {
  position: relative;
  display: flex; align-items: center;
  min-height: 420px;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.cta-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,35,30,.88) 0%, rgba(20,35,30,.62) 55%, rgba(20,35,30,.22) 100%);
}
.cta-image > .wrap { width: 100%; }
.cta-image-inner { position: relative; z-index: 1; width: 100%; padding: 70px 0; max-width: 520px; }
.cta-image h2 {
  margin: 0 0 14px; font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.4; letter-spacing: 2px; color: #fffdf8;
}
.cta-image p { margin: 0 0 26px; font-size: 16px; line-height: 2; color: rgba(246,243,234,.86); }
.btn-paper { background: var(--paper); border-color: var(--paper); color: var(--green); }
.btn-paper:hover { background: #fff; border-color: #fff; color: var(--green); }

/* ---------- page hero (system etc.) ---------- */

.hero-page {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: 480px;
  background-size: cover; background-position: center 40%;
  overflow: hidden;
}
.hero-page::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,35,30,.28) 0%, rgba(20,35,30,.72) 72%, rgba(20,35,30,.86) 100%);
}
.hero-page-inner { position: relative; z-index: 1; width: 100%; padding-top: 90px; padding-bottom: 54px; }
.hero-page .eyebrow { color: #d8b57c; margin-bottom: 16px; }
.hero-page h1 {
  margin: 0 0 14px; font-size: clamp(36px, 5vw, 60px);
  line-height: 1.3; letter-spacing: 4px; color: #fffdf8;
}
.hero-page .lead {
  margin: 0; font-size: 18px; line-height: 1.9; letter-spacing: 1px;
  color: rgba(246,243,234,.85);
}

/* ---------- system body ---------- */

.system-body { padding-top: 64px; padding-bottom: 20px; }
.system-intro { max-width: 720px; margin: 0 auto 20px; }
.system-intro p { margin: 0 0 16px; font-size: 18px; line-height: 2; color: var(--body); }

.stages { margin-top: 26px; }
.stage {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.stage:first-child { border-top: 0; padding-top: 20px; }
.stage:nth-child(even) .stage-media { order: 2; }
.stage-media { margin: 0; overflow: hidden; border-radius: 3px; background: var(--paper-soft); }
.stage-media img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.stage-index {
  margin: 0 0 10px; font-family: var(--sans);
  font-size: 12px; letter-spacing: 4px; color: var(--gold);
}
.stage-body h2 {
  margin: 0 0 18px; font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.4; letter-spacing: 4px; font-weight: 700; color: var(--ink);
}
.stage-meta { margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.stage-meta div {
  display: grid; grid-template-columns: 76px 1fr;
  gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-soft);
}
.stage-meta dt {
  font-family: var(--sans); font-size: 12px; letter-spacing: 2px;
  color: var(--faint); padding-top: 3px;
}
.stage-meta dd { margin: 0; font-size: 16px; line-height: 1.8; color: var(--body); }

.system-subhead {
  margin: 64px 0 8px; font-family: var(--sans);
  font-size: 12px; letter-spacing: 4px; color: var(--gold);
}
.system-subtitle {
  margin: 0 0 30px; font-size: clamp(26px, 3vw, 34px);
  line-height: 1.5; letter-spacing: 2px; font-weight: 700; color: var(--ink);
}

.types {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.type { background: var(--white); padding: 24px 26px 26px; }
.type .n { display: block; margin-bottom: 10px; font-family: var(--sans); font-size: 11px; letter-spacing: 2px; color: var(--gold); }
.type h3 { margin: 0 0 7px; font-size: 20px; letter-spacing: 2px; color: var(--ink); }
.type p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--muted); }

.system-boundary { margin-top: 64px; padding: 38px 40px; max-width: 860px; background: var(--mist); }
.system-boundary p { margin: 0 0 8px; font-size: 17px; line-height: 1.95; color: var(--body); }
.system-boundary p:last-child { margin-bottom: 0; color: var(--ink); }
.system-outro { margin: 30px 0 0; font-size: 16px; line-height: 2; color: var(--muted); }

.system-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px; margin-top: 50px; padding: 30px 0 10px;
  border-top: 1px solid var(--line);
}
.system-cta p { margin: 0; font-size: 16px; color: var(--muted); }
.system-cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- archive ---------- */

.archive-header { padding: 62px 0 40px; }
.archive-title {
  margin: 0 0 18px; font-size: 40px; line-height: 1.4;
  letter-spacing: 2px; font-weight: 700; color: var(--ink);
}
.archive-intro { max-width: 620px; color: var(--muted); }
.archive-intro p { margin: 0 0 10px; font-size: 16px; }
.archive-intro p:last-child { margin-bottom: 0; }
.archive-list { max-width: 860px; padding-bottom: 40px; }

.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { border-top: 1px solid var(--line); }
.post-list li:first-child { border-top: 0; }
.post-item {
  display: grid; grid-template-columns: 54px 1fr; gap: 18px;
  padding: 22px 0; border: 0; align-items: start;
}
.post-item .issue {
  padding-top: 7px; font-family: var(--sans); font-size: 12px;
  letter-spacing: 2px; color: var(--faint);
}
.post-item-body { display: block; }
.post-item-title {
  display: block;
  margin: 0 0 7px; font-size: 21px; line-height: 1.55;
  font-weight: 700; color: var(--ink);
}
.post-item:hover .post-item-title { color: var(--green); }
.post-item-excerpt { display: block; font-size: 15px; line-height: 1.85; color: var(--muted); }
.post-item p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--muted); }
.post-item .cat {
  display: inline-block; margin-bottom: 8px;
  font-family: var(--sans); font-size: 11px; letter-spacing: 2px; color: var(--gold);
}

.pagination {
  display: flex; gap: 18px; margin: 40px 0 20px;
  font-family: var(--sans); font-size: 13px; letter-spacing: 1px;
}
.pagination .page-numbers {
  display: inline-block; padding: 6px 10px; border: 0; color: var(--muted);
}
.pagination .current { color: var(--ink); border-bottom: 1px solid var(--gold); }

/* ---------- entry ---------- */

.entry { padding: 64px 0 20px; }
.entry-header { margin-bottom: 44px; }
.entry-header .issue {
  margin: 0 0 16px; font-family: var(--sans); font-size: 12px;
  letter-spacing: 3px; color: var(--faint);
}
.entry-title {
  margin: 0 0 18px; font-size: 38px; line-height: 1.42;
  letter-spacing: 1.5px; font-weight: 700; color: var(--ink);
}
.entry-meta {
  margin: 0; font-family: var(--sans); font-size: 12px;
  letter-spacing: 1.5px; color: var(--faint);
}
.entry-meta a { color: var(--gold); border: 0; }

.page-entry .entry-title { font-size: 34px; }

.prose p { margin: 0 0 20px; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 {
  margin: 44px 0 18px; padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 19px; line-height: 1.65; letter-spacing: 1px;
  font-weight: 700; color: var(--ink);
}
.prose h2 .dash { margin-right: 6px; color: var(--gold); }
.prose h2.num { padding-top: 0; border-top: 0; font-size: 20px; }
.prose h3 { margin: 28px 0 10px; font-size: 18px; line-height: 1.6; color: var(--ink); }
.prose .sep {
  margin: 36px 0; text-align: center;
  color: #c7c3b2; font-size: 13px; letter-spacing: 8px;
}
.prose .signature {
  margin: 46px 0 10px; font-size: 14px; line-height: 1.8; color: var(--gold);
}
.prose .disclaimer {
  margin: 24px 0 0; padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px; line-height: 1.8; color: #a49b8c;
}
.prose a { border-bottom-color: #c7c3b2; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 1.25em; }
.prose li { margin: 6px 0; }
.prose table {
  width: 100%; margin: 30px 0; border-collapse: collapse;
  font-size: 15px; line-height: 1.8;
}
.prose th, .prose td {
  padding: 13px 10px; border-bottom: 1px solid var(--line);
  text-align: left; vertical-align: top;
}
.prose th {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 1px; color: var(--gold);
}
.prose .offering {
  margin: 26px 0; padding: 2px 0 2px 20px;
  border-left: 2px solid #c2b49b;
}
.prose .offering h3 { margin: 0 0 8px; }
.prose .offering p { margin: 0 0 6px; font-size: 16px; }
.prose .offering p:last-child { margin-bottom: 0; }

.post-nav {
  display: flex; justify-content: space-between; gap: 24px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--sans); font-size: 13px; line-height: 1.7;
}
.post-nav a { border: 0; color: #55635d; max-width: 46%; }
.post-nav a:hover { color: var(--green); }
.post-nav .dir { display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: 2px; color: var(--faint); }
.post-nav .next { margin-left: auto; text-align: right; }

/* ---------- footer ---------- */

.site-footer {
  padding: 54px 0 62px;
  background: var(--green);
  border-top: 0;
}
.footer-inner {
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--sans); font-size: 12px; letter-spacing: .5px; color: rgba(246,243,234,.58);
}
.footer-brand { margin: 0; font-size: 15px; letter-spacing: 2px; color: var(--paper); }
.footer-tag { margin: 0; color: rgba(246,243,234,.58); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; margin: 8px 0 4px; }
.footer-links a { border: 0; color: rgba(246,243,234,.72); }
.footer-links a:hover { color: #fff; }
.operator, .copyright { margin: 0; }

/* ---------- 404 ---------- */

.notfound { padding: 90px 0 60px; }
.notfound h1 { font-size: 40px; margin: 0 0 16px; color: var(--ink); }
.notfound p { color: var(--muted); margin: 0 0 26px; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .stage-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stage-list li { padding: 24px 18px 18px 0; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .stage-list li:not(:first-child) { padding-left: 0; }
  .stage-list li:nth-child(3n) { padding-right: 0; }
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .header-inner {
    flex-direction: column; align-items: flex-start;
    gap: 4px; min-height: 0; padding: 12px 0 10px;
  }
  .brand-name { font-size: 17px; letter-spacing: 2px; }
  .brand-sub { display: none; }
  .nav-list {
    width: 100%; gap: 20px; overflow-x: auto;
    padding-bottom: 4px; font-size: 13px;
    -webkit-overflow-scrolling: touch;
  }
  .nav-list li { flex: 0 0 auto; }

  .hero-home { min-height: 560px; }
  .hero-home-bg { background-position: center; }
  .hero-home::after {
    background: linear-gradient(180deg,
      rgba(246,243,234,.96) 0%,
      rgba(246,243,234,.9) 46%,
      rgba(246,243,234,.55) 76%,
      rgba(246,243,234,.28) 100%);
  }
  .hero-home-inner { padding-top: 58px; padding-bottom: 46px; align-self: flex-start; }
  .hero-home h1 { font-size: 54px; letter-spacing: 6px; }
  .hero-line { font-size: 18px; letter-spacing: 1px; }
  .hero-home .lead { font-size: 15px; line-height: 1.95; margin-bottom: 26px; }

  .band { padding: 52px 0; }
  .band-title { font-size: 27px; line-height: 1.55; }
  .band-lead { font-size: 16px; }

  .section { padding: 50px 0; }
  .section-title { font-size: 26px; }
  .section p { font-size: 16px; }

  .stage-list { grid-template-columns: 1fr 1fr; }
  .stage-list li { padding: 20px 16px 18px 0; }
  .stage-list li:nth-child(2n) { padding-right: 0; }
  .stage-list h3 { font-size: 19px; }

  .card-grid { grid-template-columns: 1fr; gap: 18px; }
  .post-item { grid-template-columns: 40px 1fr; gap: 12px; }
  .post-item-title { font-size: 19px; }
  .post-item p, .post-item-excerpt { font-size: 14px; }

  .boundary { padding: 50px 0; }
  .boundary .boundary-quote { font-size: 23px; letter-spacing: 1px; }
  .boundary p { font-size: 15px; }

  .cta-image { min-height: 360px; }
  .cta-image-inner { padding: 52px 0; }
  .cta-image h2 { font-size: 27px; }
  .cta-image p { font-size: 15px; }

  .hero-page { min-height: 420px; }
  .hero-page-inner { padding-top: 70px; padding-bottom: 40px; }
  .hero-page h1 { font-size: 34px; letter-spacing: 2px; }
  .hero-page .lead { font-size: 16px; }

  .system-body { padding-top: 44px; padding-bottom: 10px; }
  .system-intro p { font-size: 16px; }
  .stage {
    grid-template-columns: 1fr; gap: 20px;
    padding: 40px 0;
  }
  .stage:nth-child(even) .stage-media { order: 0; }
  .stage-body h2 { font-size: 27px; letter-spacing: 3px; }
  .stage-meta div { grid-template-columns: 64px 1fr; }
  .stage-meta dd { font-size: 15px; }
  .system-subhead { margin-top: 48px; }
  .system-subtitle { font-size: 25px; margin-bottom: 22px; }
  .types { grid-template-columns: 1fr; }
  .system-boundary { margin-top: 46px; padding: 28px 24px; }
  .system-boundary p { font-size: 16px; }
  .system-cta { flex-direction: column; align-items: flex-start; }

  .archive-header { padding: 46px 0 30px; }
  .archive-title { font-size: 32px; }

  .entry { padding: 46px 0 10px; }
  .entry-header { margin-bottom: 34px; }
  .entry-title { font-size: 29px; line-height: 1.5; }
  .page-entry .entry-title { font-size: 27px; }

  .prose h2 { margin-top: 36px; font-size: 18px; }
  .prose table { font-size: 14px; }
  .prose th, .prose td { padding: 10px 6px; }

  .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; }
  .prose thead { display: none; }
  .prose tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .prose td { padding: 2px 0; border: 0; }
  .prose td:first-child { margin-bottom: 4px; font-weight: 700; color: var(--ink); font-size: 16px; }
  .prose td:nth-child(2)::before { content: "练什么："; color: var(--faint); }
  .prose td:nth-child(3)::before { content: "一句话："; color: var(--faint); }

  .post-nav { flex-direction: column; gap: 18px; }
  .post-nav a { max-width: 100%; }
  .post-nav .next { margin-left: 0; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
