/* ==========================================================================
   开元棋牌电玩 · 共享站点样式 /assets/site.css
   档案册视觉：墨黑 × 宣纸米白 × 朱砂 × 铜金
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body, h1, h2, h3, h4, h5, p, figure, blockquote, ol, ul, dl, dd, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg, picture, video { max-width: 100%; }
img { display: block; height: auto; }
table { border-collapse: collapse; }
button { font: inherit; color: inherit; }
a { color: inherit; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink-900: #14100E;
  --ink-700: #2A2320;
  --rice-050: #F7F2E7;
  --rice-100: #EFE7D6;
  --cinnabar-600: #B33127;
  --cinnabar-700: #93261E;
  --copper-500: #B8873B;
  --celadon-500: #6F7F7C;
  --amber-400: #E08A3C;
  --jade-800: #0F3B36;
  --wine-800: #5B1F2A;
  --line-200: #D9CFBC;

  --rail-w: 96px;
  --header-h: 68px;
  --content-max: 1180px;
  --measure: 38em;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --font-display: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", "Noto Serif SC", SimSun, serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --ease-spring: cubic-bezier(.2, .8, .2, 1);
  --dur: 320ms;
  --shadow-card: 0 24px 48px -40px rgba(20, 16, 14, .75);
}

@media (min-width: 1024px) {
  :root { --header-h: 76px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- 3. 基础与中文排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-900);
  background-color: var(--rice-050);
  background-image:
    radial-gradient(circle at 14% 8%, rgba(184, 135, 59, .10), transparent 44%),
    radial-gradient(circle at 88% 82%, rgba(15, 59, 54, .08), transparent 48%);
  min-height: 100vh;
  text-underline-offset: .22em;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
  color: var(--ink-900);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { max-width: var(--measure); }
strong, b { font-weight: 700; }

:focus-visible {
  outline: 2px solid var(--cinnabar-600);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--cinnabar-600); color: #fff; }

main:focus { outline: none; }

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

.skip-link {
  position: fixed;
  top: .6rem; left: .6rem;
  z-index: 200;
  transform: translateY(-180%);
  padding: .7rem 1.15rem;
  border-radius: var(--radius-pill);
  background: var(--ink-900);
  color: var(--rice-050);
  font-size: .875rem;
  text-decoration: none;
  transition: transform .2s var(--ease-spring);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
  background: transparent;
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--cinnabar-600);
  transition: width .08s linear;
}

/* ---------- 5. 容器、分区与栅格 ---------- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 3rem);
}

.section { padding-block: clamp(2.75rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(1.75rem, 4vw, 3rem); }

.section--rice { background: var(--rice-100); }
.section--jade { background: var(--jade-800); color: var(--rice-050); }
.section--wine { background: var(--wine-800); color: var(--rice-050); }
.section--ink { background: var(--ink-900); color: var(--rice-050); }
.section--jade h1, .section--jade h2, .section--jade h3,
.section--wine h1, .section--wine h2, .section--wine h3,
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--rice-050); }
.section--jade .eyebrow, .section--wine .eyebrow, .section--ink .eyebrow { color: rgba(247, 242, 231, .68); }
.section--jade .note, .section--wine .note, .section--ink .note { color: rgba(247, 242, 231, .68); }

.grid { display: grid; gap: clamp(1rem, 2.4vw, 2rem); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

@media (min-width: 700px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.grid--editorial { grid-template-columns: 1fr; }

@media (min-width: 1024px) {
  .grid--editorial { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .span-4 { grid-column: span 4; }
  .span-5 { grid-column: span 5; }
  .span-6 { grid-column: span 6; }
  .span-7 { grid-column: span 7; }
  .span-8 { grid-column: span 8; }
  .span-12 { grid-column: span 12; }
  .grid--editorial > .span-4 { align-self: start; }
}

/* ---------- 6. 文本组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--celadon-500);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--copper-500);
  flex: 0 0 auto;
}

.mono {
  font-family: var(--font-mono);
  font-size: .95em;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.8;
  color: var(--ink-700);
  max-width: 34em;
}
.section--jade .lede, .section--wine .lede, .section--ink .lede { color: rgba(247, 242, 231, .84); }

.note {
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--celadon-500);
  max-width: 26em;
}

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.05em; }
.prose h2, .prose h3 { margin-top: 1.8em; }
.prose strong {
  background: linear-gradient(transparent 62%, rgba(184, 135, 59, .32) 62%);
  padding-bottom: .05em;
}
.prose a {
  color: var(--cinnabar-600);
  text-decoration: none;
  border-bottom: 1px solid rgba(179, 49, 39, .38);
}
.prose a:hover { border-bottom-color: var(--copper-500); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--cinnabar-600);
  text-decoration: none;
  border-bottom: 1px solid rgba(179, 49, 39, .35);
  padding-bottom: .15rem;
  transition: color .16s, border-color .16s;
}
.link-more:hover { color: var(--ink-900); border-bottom-color: var(--copper-500); }

/* ---------- 7. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .05em;
  color: var(--celadon-500);
}
.breadcrumb a {
  color: var(--celadon-500);
  text-decoration: none;
  border-bottom: 1px solid var(--line-200);
}
.breadcrumb a:hover { color: var(--cinnabar-600); border-bottom-color: var(--copper-500); }
.breadcrumb__sep { color: var(--copper-500); }

/* ---------- 8. 按钮 ---------- */
.btn {
  --btn-bg: var(--ink-900);
  --btn-fg: var(--rice-050);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .62rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s var(--ease-spring), color .18s, transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--cinnabar { --btn-bg: var(--cinnabar-600); --btn-fg: #FFFFFF; }
.btn--cinnabar:hover { --btn-bg: var(--cinnabar-700); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-900);
  border-color: var(--line-200);
}
.btn--ghost:hover { --btn-bg: var(--rice-100); }

.cta-version { padding: .55rem .95rem; }
.cta-version__icon { font-size: .95em; line-height: 1; }

/* ---------- 9. 卡片与胶囊 ---------- */
.card {
  background: var(--rice-050);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.15rem, 2.6vw, 1.9rem);
}
.card--raised { box-shadow: var(--shadow-card); }
.card--jade { background: var(--jade-800); color: var(--rice-050); border-color: transparent; }
.card--jade h2, .card--jade h3 { color: var(--rice-050); }
.card--wine { background: var(--wine-800); color: var(--rice-050); border-color: transparent; }
.card--wine h2, .card--wine h3 { color: var(--rice-050); }
.card--jade .note, .card--wine .note { color: rgba(247, 242, 231, .72); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .85rem;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-pill);
  background: var(--rice-050);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--ink-700);
  cursor: pointer;
  transition: background .16s, color .16s, border-color .16s;
}
.chip:hover { border-color: var(--copper-500); }
.chip[aria-pressed="true"] {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--rice-050);
}

/* ---------- 10. 表格与横向滑动 ---------- */
.table-scroll {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  background: var(--rice-050);
  border: 1px solid var(--line-200);
}
.table-scroll:focus-visible { outline-offset: 2px; }

.data-table {
  width: 100%;
  min-width: 520px;
  font-size: .9rem;
}
.data-table caption {
  padding: .85rem 1rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  color: var(--celadon-500);
}
.data-table th {
  background: var(--ink-700);
  color: var(--rice-050);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-align: left;
  padding: .7rem .95rem;
  white-space: nowrap;
}
.data-table td {
  padding: .7rem .95rem;
  border-bottom: 1px solid var(--line-200);
  vertical-align: top;
  scroll-snap-align: start;
}
.data-table tbody tr:nth-child(even) { background: var(--rice-100); }
.data-table tbody tr:hover { background: rgba(184, 135, 59, .18); }
.data-table td:first-child {
  font-family: var(--font-mono);
  font-size: .84rem;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* ---------- 11. 图像容器基础 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-200);
  aspect-ratio: 4 / 3;
  background-color: var(--rice-100);
  background-image:
    repeating-linear-gradient(135deg, rgba(20, 16, 14, .05) 0 2px, transparent 2px 11px),
    linear-gradient(160deg, var(--rice-100), #E4DAC6);
}
.media-frame img,
.media-frame picture,
.media-frame picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: .75rem 1rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--rice-050);
  background: linear-gradient(transparent, rgba(20, 16, 14, .78));
}

/* ---------- 12. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: .55rem clamp(.9rem, 3vw, 1.6rem);
  background: var(--rice-050);
  border-bottom: 1px solid var(--line-200);
  transition: box-shadow .22s ease, padding .22s ease;
}
.site-header[data-condensed] { box-shadow: 0 12px 32px -26px rgba(20, 16, 14, .9); }

.lockup {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  text-decoration: none;
  color: var(--ink-900);
}
.lockup__seal {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cinnabar-600);
  color: var(--rice-050);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 0 0 2px rgba(247, 242, 231, .32);
}
.lockup__text { display: grid; gap: .08rem; min-width: 0; }
.lockup__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.2;
  white-space: nowrap;
}
.lockup__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.2;
  color: var(--celadon-500);
  white-space: nowrap;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .8rem;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-pill);
  background: transparent;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .1em;
  color: var(--ink-900);
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
.nav-toggle:hover { background: var(--rice-100); border-color: var(--copper-500); }
.nav-toggle__bars { display: grid; gap: 4px; width: 16px; }
.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: var(--ink-900);
  transition: transform .24s var(--ease-spring), opacity .24s;
}
.site-header[data-open] .nav-toggle__bars span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* 移动端抽屉 */
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 79;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: .75rem clamp(.9rem, 3vw, 1.6rem) 1.25rem;
  background: var(--rice-100);
  border-bottom: 1px solid var(--line-200);
  box-shadow: 0 24px 48px -30px rgba(20, 16, 14, .8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .22s ease, transform .28s var(--ease-spring), visibility .22s;
}
.site-header[data-open] .site-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rail { display: flex; flex-direction: column; gap: .15rem; }
.rail__item { width: 100%; }
.rail__link {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem .85rem;
  border-radius: 14px;
  color: var(--ink-900);
  font-size: .95rem;
  text-decoration: none;
  transition: background .16s, color .16s;
}
.rail__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--celadon-500);
  transition: color .16s;
}
.rail__label { line-height: 1.3; }
.rail__link:hover { background: rgba(184, 135, 59, .18); }
.rail__link[aria-current="page"] {
  background: var(--cinnabar-600);
  color: #FFFFFF;
}
.rail__link[aria-current="page"] .rail__idx { color: rgba(247, 242, 231, .82); }

@media (max-width: 559px) {
  .cta-version {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
  }
  .cta-version__label {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
@media (max-width: 359px) {
  .lockup__meta { display: none; }
}

/* ---------- 13. 桌面书脊轨道 ---------- */
@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }

  .site-header { padding-inline: clamp(1.5rem, 3vw, 2.5rem); }

  .nav-toggle { display: none; }

  .site-header[data-condensed] .cta-version {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
  }
  .site-header[data-condensed] .cta-version__label {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .site-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: var(--rail-w);
    z-index: 70;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-height: none;
    overflow-y: auto;
    padding: 1.5rem 0;
    background: linear-gradient(180deg, var(--rice-100), var(--rice-050) 62%);
    border-bottom: 0;
    border-right: 1px solid var(--line-200);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav::before {
    content: "";
    position: absolute;
    top: 2rem;
    bottom: 2rem;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, transparent, var(--line-200) 12%, var(--line-200) 88%, transparent);
  }

  .rail {
    position: relative;
    margin-block: auto;
    gap: .5rem;
  }
  .rail__item { width: auto; }
  .rail__link {
    flex-direction: column;
    gap: .35rem;
    width: 58px;
    margin-inline: auto;
    padding: .75rem .2rem;
    border-radius: var(--radius-pill);
    background: var(--rice-050);
    box-shadow: 0 0 0 1px var(--line-200);
    justify-content: center;
  }
  .rail__link:hover {
    background: var(--rice-100);
    box-shadow: 0 0 0 1px var(--copper-500);
  }
  .rail__label {
    writing-mode: vertical-rl;
    letter-spacing: .14em;
    font-size: .8rem;
    line-height: 1.1;
  }
  .rail__idx { font-size: 10px; letter-spacing: .04em; }
  .rail__link[aria-current="page"] {
    box-shadow: 0 10px 24px -16px rgba(179, 49, 39, .95);
  }
}

/* ---------- 14. 页脚 ---------- */
.site-footer {
  background: var(--ink-900);
  color: var(--rice-050);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.15rem, 4vw, 3rem) 1.5rem;
}
.site-footer__inner {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  max-width: var(--content-max);
  margin-inline: auto;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .site-footer__inner {
    grid-template-columns: 1.3fr .8fr .8fr .8fr 1.15fr;
    align-items: start;
  }
  .site-footer__col:nth-child(2) { margin-top: 1.35rem; }
  .site-footer__col:nth-child(3) { margin-top: .45rem; }
  .site-footer__col:nth-child(4) { margin-top: 1.85rem; }
  .site-footer__contact { margin-top: 1rem; }
}

.lockup--footer { color: var(--rice-050); }
.lockup--footer .lockup__seal {
  background: transparent;
  color: var(--copper-500);
  box-shadow: inset 0 0 0 1.5px var(--copper-500);
}
.lockup--footer .lockup__name { color: var(--rice-050); }
.lockup--footer .lockup__meta { color: rgba(247, 242, 231, .52); }

.site-footer__tagline {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(247, 242, 231, .74);
  max-width: 18em;
}

.site-footer__title {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .9rem;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--rice-100);
}
.site-footer__title::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--copper-500);
  flex: 0 0 auto;
}

.site-footer__list { display: grid; gap: .5rem; }

.site-footer__link {
  display: inline-block;
  color: rgba(247, 242, 231, .72);
  font-size: .92rem;
  text-decoration: none;
  transition: color .16s, transform .16s;
}
.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: var(--amber-400);
  transform: translateX(3px);
}

.site-footer__contact {
  font-size: .875rem;
  line-height: 1.85;
  color: rgba(247, 242, 231, .76);
}
.site-footer__contact-line {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem;
}
.site-footer__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--celadon-500);
  flex: 0 0 2.2em;
}
.site-footer__contact-note {
  margin-top: .8rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(217, 207, 188, .2);
  max-width: 26em;
  font-size: .8rem;
  line-height: 1.7;
  color: rgba(247, 242, 231, .58);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  max-width: var(--content-max);
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(217, 207, 188, .22);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(247, 242, 231, .55);
}
.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.1rem;
}
.site-footer__legal .site-footer__link { font-size: 12px; }
.site-footer :focus-visible { outline-color: var(--amber-400); }

/* ---------- 15. 进入动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .32s ease, transform .32s var(--ease-spring);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 16. 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-progress__bar,
  .site-nav,
  .btn,
  .nav-toggle__bars span,
  .site-footer__link,
  .skip-link,
  .site-header {
    transition-duration: .001ms !important;
  }
  .btn:hover,
  .site-footer__link:hover { transform: none; }
}
