/* ==========================================================================
   新花园国际中文站 · /assets/site.css
   共享外壳：重置、变量、中文排版、页头、页脚、通用组件、图片容器基础规则
   ========================================================================== */

/* ---------- 1. 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body,
h1, h2, h3, h4, h5, p,
ul, ol, li, figure, blockquote,
dl, dt, dd { margin: 0; }

ul, ol { padding: 0; list-style: none; }

img, svg, video { display: block; max-width: 100%; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a { color: inherit; text-decoration: none; }

address { font-style: normal; }

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #0B0F0E;
  --night: #0E2A22;
  --moss: #16382E;
  --forest: #2F5D4A;
  --gold: #C9A24A;
  --gold-lit: #E6C878;
  --porcelain: #F5F2EA;
  --paper: #FDFBF6;
  --coral: #E08A7B;
  --coral-ink: #8A4736;
  --pencil: #8A8F8B;
  --stone: #5C6B66;

  --header-h: 64px;
  --radius: 2px;
  --shell-max: 1240px;
  --gutter: clamp(20px, 5vw, 56px);

  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --font-body: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --line-ink: rgba(11, 15, 14, .14);
  --line-paper: rgba(245, 242, 234, .16);
  --shadow-paper: 0 18px 40px -34px rgba(11, 15, 14, .55);
}

/* ---------- 3. 基底与中文排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background-color: var(--porcelain);
  background-image:
    radial-gradient(900px 520px at 92% -6%, rgba(201, 162, 74, .13), transparent 62%),
    radial-gradient(820px 640px at -12% 16%, rgba(47, 93, 74, .10), transparent 66%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.15rem; line-height: 1.45; }
h4 { font-size: 1rem; line-height: 1.5; }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

::selection { background: rgba(201, 162, 74, .34); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-lit);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.site-header :focus-visible,
.site-footer :focus-visible { outline-color: var(--gold-lit); }

/* ---------- 4. 通用工具 ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.main-inset { padding-top: calc(var(--header-h) + clamp(28px, 5vw, 64px)); }

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.col-main { grid-column: 1 / span 8; min-width: 0; }
.col-side { grid-column: 9 / span 4; min-width: 0; }

.rail-sticky {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.prose { max-width: 70ch; }
.prose h2 { margin: 2.2em 0 .8em; }
.prose h3 { margin: 1.8em 0 .6em; }

/* ---------- 5. 排版组件 ---------- */
.mono { font-family: var(--font-mono); letter-spacing: .02em; }

.meta-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--stone);
}

.mono-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  line-height: 1.5;
  padding: 3px 8px;
  color: var(--forest);
  background: rgba(47, 93, 74, .08);
  border: 1px solid rgba(47, 93, 74, .22);
  border-radius: var(--radius);
  white-space: nowrap;
}

.mono-tag--dark {
  color: var(--gold-lit);
  background: rgba(230, 200, 120, .10);
  border-color: rgba(230, 200, 120, .40);
}

.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.78;
  color: var(--moss);
  max-width: 62ch;
}

.chapter-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

.chapter-head {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 2vw, 24px);
  padding-bottom: 14px;
  margin-bottom: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--line-ink);
}

.rule {
  height: 1px;
  border: 0;
  margin: clamp(24px, 4vw, 40px) 0;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 74, 0));
}

.path-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--moss);
  background: rgba(47, 93, 74, .07);
  border: 1px solid rgba(47, 93, 74, .18);
  border-radius: var(--radius);
  padding: 6px 10px;
  margin: 0 0 .8em;
}

.path-line code { font-family: inherit; color: inherit; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  letter-spacing: .06em;
  padding: 4px 11px;
  border-radius: 999px;
  color: var(--stone);
  background: var(--paper);
  border: 1px solid var(--line-ink);
}

.pill--coral {
  color: var(--coral-ink);
  background: rgba(224, 138, 123, .14);
  border-color: rgba(224, 138, 123, .55);
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: .95rem;
  line-height: 1.4;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.btn--gold {
  background: var(--gold-lit);
  color: var(--ink);
  font-weight: 600;
  border-color: rgba(201, 162, 74, .8);
}

.btn--gold:hover { background: var(--gold); }

.btn--ghost {
  color: var(--gold-lit);
  border-color: rgba(201, 162, 74, .6);
  background: transparent;
}

.btn--ghost:hover {
  background: rgba(230, 200, 120, .12);
  color: var(--gold-lit);
}

.btn--ink {
  color: var(--ink);
  border-color: rgba(11, 15, 14, .28);
  background: transparent;
}

.btn--ink:hover {
  background: rgba(47, 93, 74, .08);
  border-color: var(--forest);
}

.btn--quiet {
  padding: 6px 0;
  color: var(--forest);
  border-bottom: 1px solid rgba(201, 162, 74, .7);
  border-radius: 0;
}

.btn--quiet:hover { color: var(--gold); }

.btn:active { transform: translateY(1px); }

/* ---------- 7. 纸张卡片 ---------- */
.paper-card {
  position: relative;
  padding: clamp(22px, 2.6vw, 36px);
  background: var(--paper);
  border: 1px solid var(--line-ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-paper);
}

.paper-card--fold::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 28px;
  height: 28px;
  background: linear-gradient(to bottom left, var(--porcelain) 48%, rgba(201, 162, 74, .34) 50%);
  border-bottom: 1px solid var(--line-ink);
  border-left: 1px solid var(--line-ink);
}

.paper-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: .5em;
}

.paper-card__meta {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .07em;
  color: var(--stone);
}

/* ---------- 8. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--stone);
  margin-bottom: clamp(20px, 3vw, 32px);
}

.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs__sep { color: var(--pencil); }
.breadcrumbs [aria-current="page"] { color: var(--ink); }

/* ---------- 9. 图片容器基础规则 ---------- */
.frame-media {
  position: relative;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line-ink);
  border-radius: var(--radius);
}

.frame-media__inner {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(47, 93, 74, .16), rgba(201, 162, 74, .14) 60%, rgba(224, 138, 123, .10));
}

.frame-media__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame-media--hero .frame-media__inner { aspect-ratio: 16 / 9; }
.frame-media--wide .frame-media__inner { aspect-ratio: 21 / 9; }
.frame-media--square .frame-media__inner { aspect-ratio: 1 / 1; }
.frame-media--portrait .frame-media__inner { aspect-ratio: 3 / 4; }

.frame-media__caption {
  margin-top: 10px;
  font-size: .8rem;
  line-height: 1.6;
  color: var(--stone);
  letter-spacing: .02em;
}

/* ---------- 10. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 140;
  padding: 10px 16px;
  font-size: .9rem;
  color: var(--ink);
  background: var(--gold-lit);
  border-radius: var(--radius);
  transition: top .2s ease;
}

.skip-link:focus { top: 12px; }

/* ---------- 11. 页头 ---------- */
.site-header {
  --header-fg: var(--porcelain);
  --header-fg-dim: rgba(245, 242, 234, .74);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--header-h);
  color: var(--header-fg);
  background-color: transparent;
  background-image: linear-gradient(180deg, rgba(11, 15, 14, .62), rgba(11, 15, 14, 0));
  border-bottom: 1px solid transparent;
  transition: background-color .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.site-header[data-scrolled="true"] {
  background-color: var(--night);
  background-image: none;
  border-bottom-color: var(--gold);
  box-shadow: 0 14px 34px -30px rgba(11, 15, 14, .95);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--gold-lit);
  border: 1px solid rgba(201, 162, 74, .65);
  border-radius: var(--radius);
}

.brand__text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: .02em;
  white-space: nowrap;
}

.brand__version {
  color: var(--gold-lit);
  background: rgba(230, 200, 120, .10);
  border-color: rgba(230, 200, 120, .45);
}

.primary-nav { flex: 1 1 auto; display: flex; justify-content: center; }

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.7vw, 26px);
}

.primary-nav__item { display: block; }

.primary-nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 2px;
  font-size: .94rem;
  color: var(--header-fg-dim);
  transition: color .2s ease, opacity .2s ease;
}

.primary-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s ease;
}

.primary-nav__link:hover { color: var(--porcelain); }
.primary-nav__link:hover::after { transform: scaleX(1); }

.primary-nav__link[aria-current="page"] { color: var(--gold-lit); }
.primary-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-action {
  font-size: .88rem;
  line-height: 1.4;
  padding: 8px 13px;
  color: var(--header-fg);
  border: 1px solid rgba(245, 242, 234, .28);
  border-radius: var(--radius);
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.header-action:hover {
  color: var(--gold-lit);
  border-color: rgba(201, 162, 74, .75);
  background: rgba(230, 200, 120, .12);
}

.header-action--notice::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--coral);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 12px;
  font-size: .85rem;
  color: var(--header-fg);
  border: 1px solid rgba(245, 242, 234, .28);
  border-radius: var(--radius);
}

.nav-toggle:hover { border-color: rgba(201, 162, 74, .75); color: var(--gold-lit); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lit));
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: opacity .2s ease;
}

.site-header[data-scrolled="true"] .scroll-progress { opacity: 1; }

/* ---------- 12. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 112px);
  padding: clamp(48px, 7vw, 84px) 0 clamp(26px, 4vw, 40px);
  color: rgba(245, 242, 234, .78);
  background-color: var(--night);
  border-top: 1px solid rgba(201, 162, 74, .38);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(230, 200, 120, .07), rgba(230, 200, 120, 0) 42%);
}

.site-footer .container { position: relative; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.25fr;
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line-paper);
}

.footer-col { min-width: 0; }

.footer-col__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--porcelain);
  letter-spacing: .04em;
  margin-bottom: 1em;
}

.footer-col__title::after {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin-top: 10px;
  background: var(--gold);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: .9em;
}

.footer-brand__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-family: var(--font-display);
  font-size: .9rem;
  color: var(--gold-lit);
  border: 1px solid rgba(201, 162, 74, .6);
  border-radius: var(--radius);
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--porcelain);
  letter-spacing: .02em;
}

.footer-brand__desc {
  font-size: .92rem;
  line-height: 1.8;
  color: rgba(245, 242, 234, .72);
  margin-bottom: 1em;
  max-width: 30ch;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

.footer-link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  font-size: .94rem;
  color: rgba(245, 242, 234, .82);
  transition: color .2s ease;
}

.footer-link:hover { color: var(--gold-lit); }

.footer-link__route {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .02em;
  color: rgba(245, 242, 234, .38);
}

.footer-contact { display: grid; gap: 18px; }

.footer-contact__item { display: grid; gap: 3px; }

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gold-lit);
}

.footer-contact__value {
  font-family: var(--font-mono);
  font-size: .88rem;
  color: var(--porcelain);
  word-break: break-word;
}

.footer-contact__hint {
  font-size: .84rem;
  line-height: 1.7;
  color: rgba(245, 242, 234, .6);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
  padding: clamp(20px, 3vw, 30px) 0;
  border-bottom: 1px solid var(--line-paper);
}

.footer-meta__row {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-size: .85rem;
}

.footer-meta__key { color: rgba(245, 242, 234, .55); }
.footer-meta__val { color: var(--porcelain); font-size: .84rem; }

.footer-meta__note {
  flex: 1 1 320px;
  margin: 0;
  font-size: .85rem;
  line-height: 1.7;
  color: rgba(245, 242, 234, .62);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-top: clamp(20px, 3vw, 30px);
  padding-right: clamp(56px, 8vw, 76px);
  font-size: .85rem;
  color: rgba(245, 242, 234, .62);
}

.footer-bottom__copy { margin: 0; }

.footer-bottom__links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.footer-bottom__links a:hover { color: var(--gold-lit); }
.footer-bottom__sep { color: rgba(245, 242, 234, .3); }

.footer-bookmark {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(18px, 3vw, 30px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 54px;
  color: var(--night);
  background: var(--gold-lit);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
  transition: background-color .2s ease, transform .2s ease;
}

.footer-bookmark::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background: linear-gradient(to bottom left, rgba(253, 251, 246, .9) 48%, rgba(201, 162, 74, .9) 50%);
}

.footer-bookmark:hover { background: var(--gold); transform: translateY(-2px); }

.footer-bookmark__arrow { font-size: 1rem; line-height: 1; }

/* ---------- 13. 渐显 ---------- */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .28s ease, transform .28s ease;
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .col-main { grid-column: 1 / -1; }
  .col-side { grid-column: 1 / -1; }
  .rail-sticky { position: static; top: auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; }
  .footer-brand__desc { max-width: 46ch; }
}

@media (max-width: 900px) {
  :root { --header-h: 60px; }

  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: block;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 12px var(--gutter) 26px;
    background-color: var(--night);
    background-image: linear-gradient(180deg, rgba(22, 56, 46, .9), rgba(14, 42, 34, 1));
    border-bottom: 1px solid var(--gold);
    box-shadow: 0 26px 44px -34px rgba(11, 15, 14, .95);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s linear;
  }

  .primary-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav__link {
    display: block;
    padding: 14px 2px;
    font-size: 1rem;
    color: rgba(245, 242, 234, .84);
    border-bottom: 1px solid var(--line-paper);
  }

  .primary-nav__link::after { display: none; }

  .primary-nav__link[aria-current="page"] {
    padding-left: 14px;
    color: var(--gold-lit);
    border-left: 2px solid var(--gold);
  }

  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-actions + .nav-toggle,
  .nav-toggle { margin-left: 0; }
}

@media (max-width: 620px) {
  .brand__mark,
  .brand__version { display: none; }
  .brand__name { font-size: .82rem; letter-spacing: 0; }

  .header-action { padding: 7px 9px; font-size: .78rem; }
  .header-action--notice::before { display: none; }
  .nav-toggle { padding: 8px 10px; font-size: .78rem; }
  .nav-toggle__label { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand__desc { max-width: none; }
  .footer-bottom { padding-right: 0; }
  .footer-bookmark { right: var(--gutter); bottom: auto; }
}

/* ---------- 15. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .js-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .footer-bookmark:hover { transform: none; }
  .btn:active { transform: none; }
}
