/* =========================================================
   a8棋牌 — /assets/site.css
   全站共享：reset / 变量 / 中文排版 / 画框页头 / 页脚 / 通用组件
   ========================================================= */

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

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

body, h1, h2, h3, h4, h5, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { list-style: none; padding: 0; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #0B1F1A;
  --char: #14161A;
  --deep-a: #0E302A;
  --deep-b: #07110F;
  --cyan: #35E0C8;
  --amber: #FFB347;
  --rose: #FF4D7E;
  --mist: #EAF2EF;
  --sage: #8FA9A2;
  --edge: #2A4A44;
  --ivory: #F5F7F6;
  --ivory-ink: #1B2A26;

  --frame-top: 56px;
  --frame-rail: 72px;
  --pad-x: clamp(20px, 4vw, 64px);

  --shadow: 0 2px 12px rgba(0, 0, 0, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);

  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

/* ---------- 3. 中文排版与页面底 ---------- */
body {
  min-height: 100vh;
  padding-top: var(--frame-top);
  background: var(--ink);
  color: var(--mist);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 84% -10%, rgba(53, 224, 200, .13), transparent 62%),
    radial-gradient(46vw 44vh at 4% 32%, rgba(255, 77, 126, .07), transparent 66%),
    radial-gradient(52vw 46vh at 62% 106%, rgba(255, 179, 71, .08), transparent 68%);
}

body.nav-open { overflow: hidden; }

#main-content {
  position: relative;
  z-index: 1;
  display: block;
}

h1, h2, h3, h4 { line-height: 1.18; font-weight: 700; }
p { text-wrap: pretty; }

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

::selection { background: rgba(53, 224, 200, .3); color: #fff; }

/* ---------- 4. 画框：顶部细条 ---------- */
.site-frame { position: relative; }

.skip-link {
  position: absolute;
  left: var(--pad-x);
  top: 8px;
  z-index: 120;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--cyan);
  color: #04140F;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .24s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.frame-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: var(--frame-top);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--pad-x);
  background: rgba(11, 31, 26, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--edge);
}

.scroll-progress {
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  box-shadow: 0 0 12px rgba(53, 224, 200, .5);
}

/* ---------- 5. 品牌 ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--mist);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--cyan);
  border-radius: 9px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--cyan);
  box-shadow: inset 0 0 18px rgba(53, 224, 200, .22), 0 0 0 1px rgba(53, 224, 200, .1);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.brand-tagline {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--sage);
}

/* ---------- 6. 导航（移动抽屉 / 桌面横排） ---------- */
.frame-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  max-height: 78vh;
  overflow-y: auto;
  padding: 22px clamp(18px, 5vw, 32px) calc(30px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, var(--deep-a) 0%, var(--deep-b) 100%);
  border-top: 1px solid var(--edge);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -20px 52px rgba(0, 0, 0, .6);
  transform: translateY(104%);
  opacity: 0;
  visibility: hidden;
  transition: transform .38s var(--ease), opacity .3s var(--ease), visibility .3s linear;
}
.frame-nav[data-open] { transform: translateY(0); opacity: 1; visibility: visible; }

.nav-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  color: var(--cyan);
}

.nav-list { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }

.nav-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: var(--mist);
  transition: background-color .24s var(--ease), color .24s var(--ease);
}
.nav-list a:hover { background: rgba(53, 224, 200, .08); color: var(--cyan); }

.nav-idx {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .06em;
  color: rgba(143, 169, 162, .55);
}

.nav-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--edge);
  font-size: 12px;
  color: var(--sage);
}

/* 当前页标记（页面阶段给对应链接加 aria-current="page"） */
.nav-list a[aria-current="page"] {
  color: var(--cyan);
  background: rgba(53, 224, 200, .1);
  box-shadow: inset 0 0 0 1px rgba(53, 224, 200, .4);
}

/* 操作区 */
.frame-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: transparent;
  color: var(--mist);
  cursor: pointer;
  transition: border-color .24s var(--ease), color .24s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.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); }

/* ---------- 7. 画框：左侧竖栏 ---------- */
.frame-rail { display: none; }

@media (min-width: 1024px) {
  body { padding-left: var(--frame-rail); }

  .frame-rail {
    position: fixed;
    top: var(--frame-top);
    left: 0;
    bottom: 0;
    z-index: 70;
    width: var(--frame-rail);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 0 24px;
    background: linear-gradient(180deg, var(--deep-a) 0%, var(--deep-b) 100%);
    border-right: 1px solid var(--edge);
  }

  .rail-label {
    writing-mode: vertical-rl;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .3em;
    color: rgba(143, 169, 162, .6);
  }

  .rail-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
  }

  .rail-list a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color .24s var(--ease);
  }
  .rail-list a:hover { background: rgba(53, 224, 200, .08); }

  .rail-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--edge);
    transition: background-color .24s var(--ease), box-shadow .24s var(--ease), transform .24s var(--ease);
  }
  .rail-list a:hover .rail-dot { background: var(--cyan); transform: scale(1.25); }
  .rail-list a[aria-current="page"] .rail-dot {
    background: var(--cyan);
    box-shadow: 0 0 0 6px rgba(53, 224, 200, .12), 0 0 14px rgba(53, 224, 200, .65);
  }

  .rail-mark {
    margin-top: auto;
    writing-mode: vertical-rl;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .28em;
    color: var(--sage);
  }

  /* 桌面端导航还原为横排 */
  .frame-nav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    max-height: none;
    overflow: visible;
    padding: 0;
    margin: 0 auto;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .nav-eyebrow,
  .nav-foot { display: none; }

  .nav-list { flex-direction: row; align-items: center; gap: 2px; margin-top: 0; }
  .nav-list a { padding: 8px 12px; border-radius: 999px; font-size: 13px; gap: 6px; }
  .nav-list a[aria-current="page"] { box-shadow: inset 0 0 0 1px rgba(53, 224, 200, 0.45); }

  .nav-toggle { display: none; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .frame-actions .btn--ghost { display: none; }
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .24s var(--ease), color .24s var(--ease),
              border-color .24s var(--ease), box-shadow .24s var(--ease), transform .24s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--cyan);
  color: #04140F;
  box-shadow: 0 0 22px rgba(53, 224, 200, .28);
}
.btn--primary:hover { background: #5CF0DC; box-shadow: 0 0 30px rgba(53, 224, 200, .44); }

.btn--ghost {
  background: rgba(53, 224, 200, .04);
  border-color: var(--edge);
  color: var(--mist);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn--amber { background: var(--amber); color: #22160A; }
.btn--amber:hover { background: #FFC56B; }

.btn--block { width: 100%; }

.anchor-ring {
  position: relative;
  box-shadow: 0 0 0 1px var(--cyan), 0 0 24px rgba(53, 224, 200, .22);
}

@media (prefers-reduced-motion: no-preference) {
  .anchor-ring { animation: ringPulse 3.2s var(--ease) infinite; }
  @keyframes ringPulse {
    0%, 100% { box-shadow: 0 0 0 1px var(--cyan), 0 0 20px rgba(53, 224, 200, .18); }
    50% { box-shadow: 0 0 0 1px var(--cyan), 0 0 36px rgba(53, 224, 200, .42); }
  }
}

/* ---------- 9. 版式、容器、网格 ---------- */
.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: clamp(56px, 9vw, 120px); }
.section--tight { padding-block: clamp(36px, 5vw, 72px); }

.grid { display: grid; gap: clamp(18px, 2.6vw, 36px); }
.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

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

.index-label,
.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--cyan);
}

.section-title {
  font-size: clamp(28px, 4.6vw, 52px);
  font-weight: 200;
  letter-spacing: -.02em;
  line-height: 1.12;
  color: var(--mist);
}
.section-title strong { font-weight: 800; letter-spacing: -.04em; color: #FFFFFF; }

.display-title {
  font-size: clamp(44px, 8vw, 120px);
  font-weight: 200;
  letter-spacing: -.02em;
  line-height: 1.02;
  color: var(--mist);
}
.display-title strong { font-weight: 800; letter-spacing: -.04em; color: #FFFFFF; }

.lede {
  max-width: 62ch;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.8;
  color: var(--sage);
}

.text-cyan { color: var(--cyan); }
.text-amber { color: var(--amber); }
.text-rose { color: var(--rose); }
.mono { font-family: var(--mono); font-weight: 500; }

/* ---------- 10. 卡片与标签 ---------- */
.surface {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--char);
  border: 1px solid var(--edge);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.surface--cut {
  border-radius: 16px 16px 0 16px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: rgba(53, 224, 200, .04);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--sage);
}
.tag--cyan { color: var(--cyan); border-color: rgba(53, 224, 200, .5); background: rgba(53, 224, 200, .09); }
.tag--amber { color: var(--amber); border-color: rgba(255, 179, 71, .45); background: rgba(255, 179, 71, .09); }
.tag--rose { color: var(--rose); border-color: rgba(255, 77, 126, .5); background: rgba(255, 77, 126, .1); }

.stars {
  display: inline-flex;
  gap: 3px;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--amber);
}

/* ---------- 11. 数据卡 / 表格 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(14, 48, 42, .55), rgba(20, 22, 26, .92));
}
.stat-value {
  font-family: var(--mono);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--cyan);
}
.stat-label { font-size: 12px; letter-spacing: .12em; color: var(--sage); }

.data-table { width: 100%; font-size: 14px; }
.data-table th,
.data-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--edge); }
.data-table th {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--cyan);
}
.data-table td { color: var(--mist); }
.data-table tbody tr { transition: background-color .2s var(--ease); }
.data-table tbody tr:hover { background: rgba(53, 224, 200, .04); }

/* ---------- 12. 图片容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--deep-a), var(--deep-b));
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(155deg, rgba(53, 224, 200, .12), transparent 46%, rgba(255, 179, 71, .08)),
    radial-gradient(80% 60% at 88% 4%, rgba(53, 224, 200, .16), transparent 60%);
}
.media--tall { aspect-ratio: 3 / 4; }
.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }

.media-caption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--sage);
}

/* ---------- 13. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--sage);
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--edge); }
.breadcrumb a { color: var(--sage); text-decoration: none; transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--mist); }

/* ---------- 14. 手风琴 ---------- */
.accordion {
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: var(--char);
}
.accordion-item + .accordion-item { border-top: 1px solid var(--edge); }

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  color: var(--mist);
  cursor: pointer;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.accordion-trigger:hover { color: var(--cyan); background: rgba(53, 224, 200, .04); }
.accordion-trigger::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--cyan);
}
.accordion-trigger[aria-expanded="true"]::after { content: "–"; }

.accordion-panel {
  padding: 0 18px 18px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--sage);
}

/* ---------- 15. 主题筛选（只筛当前页条目） ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 20px;
}
.filter-btn {
  padding: 7px 15px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--sage);
  cursor: pointer;
  transition: color .24s var(--ease), border-color .24s var(--ease),
              background-color .24s var(--ease), box-shadow .24s var(--ease);
}
.filter-btn:hover { color: var(--mist); border-color: rgba(53, 224, 200, .5); }
.filter-btn[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04140F;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(53, 224, 200, .3);
}
.filter-count { font-family: var(--mono); font-size: 12px; color: var(--sage); }

/* ---------- 16. 象牙浅色长文区 ---------- */
.reading {
  padding: clamp(22px, 4vw, 52px);
  border-radius: 18px;
  background: var(--ivory);
  color: var(--ivory-ink);
}
.reading h2,
.reading h3 { color: var(--ivory-ink); }
.reading p { margin-top: 14px; font-size: 16px; line-height: 1.9; color: #33443F; }
.reading a { color: #0B6B5C; }

/* ---------- 17. 分段显现 ---------- */
html.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .42s var(--ease), transform .42s var(--ease);
}
html.has-js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 18. 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(64px, 10vw, 140px);
  border-top: 1px solid var(--edge);
  background: linear-gradient(180deg, var(--deep-a) 0%, var(--deep-b) 58%, #050B09 100%);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 100% at 88% 0%, rgba(53, 224, 200, .1), transparent 62%);
}

.footer-inner {
  position: relative;
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: 1fr;
  max-width: 1320px;
  margin-inline: auto;
  padding: clamp(48px, 7vw, 88px) var(--pad-x) clamp(32px, 4vw, 56px);
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: minmax(230px, 1fr) minmax(0, 2fr); }
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-brand .brand-mark { width: 40px; height: 40px; font-size: 14px; }
.footer-name { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.footer-line { max-width: 34ch; font-size: 14px; line-height: 1.85; color: var(--sage); }

.footer-cols {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--cyan);
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a {
  font-size: 14px;
  text-decoration: none;
  color: var(--mist);
  opacity: .8;
  transition: opacity .2s var(--ease), color .2s var(--ease);
}
.footer-col a:hover { opacity: 1; color: var(--cyan); }
.footer-col p { font-size: 13.5px; line-height: 1.9; color: var(--sage); overflow-wrap: break-word; }
.footer-col--contact p + p { margin-top: 6px; }

.footer-base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  max-width: 1320px;
  margin-inline: auto;
  padding: 18px var(--pad-x) calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--edge);
}
.footer-legal { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--sage); }
.footer-note { font-size: 12.5px; color: rgba(143, 169, 162, .78); }

/* ---------- 19. 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.has-js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .anchor-ring { animation: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
