/* ============================================================
   18新利主站 · 共享样式表 /assets/site.css
   框架式导航 + 海报式分层构图
   ============================================================ */

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

body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 变量 ---------- */
:root {
  --green-900: #083A2C;
  --green: #0B6B4F;
  --green-500: #15916A;
  --gold: #E8A33D;
  --gold-soft: #F7D79B;
  --blue: #2C7FB8;
  --ink: #12181A;
  --paper: #F5F2EA;
  --white: #FFFFFF;
  --haze: #6B7C7A;
  --alert: #C6452C;

  --rail-w: 200px;
  --top-h: 72px;
  --shell-x: clamp(16px, 4vw, 56px);
  --content-max: 1240px;

  --font-title: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-mono: ui-monospace, 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Courier New', monospace;

  --line: rgba(18, 24, 26, .12);
  --line-strong: rgba(18, 24, 26, .26);
  --r-card: 26px 20px 28px 18px;
  --r-soft: 14px 10px 14px 10px;

  --shadow-1: 0 1px 0 rgba(18, 24, 26, .05), 0 16px 30px -26px rgba(18, 24, 26, .60);
  --shadow-2: 0 2px 0 rgba(18, 24, 26, .06), 0 30px 48px -30px rgba(18, 24, 26, .62);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 基础排版 ---------- */
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--top-h) + 24px);
}

body {
  padding-top: var(--top-h);
  padding-left: var(--rail-w);
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(38px, 6vw, 72px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 24px; }

strong { font-weight: 700; }

::selection { background: var(--gold-soft); color: var(--ink); }

/* ---------- 4. 焦点 ---------- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 11px 20px;
  background: var(--ink);
  color: var(--white);
  border-radius: 10px;
  font: 500 14px/1 var(--font-mono);
  letter-spacing: .06em;
  transform: translateY(-220%);
  transition: transform .18s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 5. 框架式页头 ---------- */
.site-header {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 90;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }

/* 5.1 顶部导轨 */
.header-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--top-h);
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  padding: 0 clamp(14px, 2vw, 26px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

/* 5.2 品牌署名 */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--green);
  color: var(--gold);
  border-radius: 15px 10px 15px 10px;
  font: 700 21px/1 var(--font-mono);
  letter-spacing: -.03em;
}
.brand__meta { display: block; }
.brand__name {
  display: block;
  font: 900 19px/1.15 var(--font-title);
  letter-spacing: -.02em;
}
.brand__tag {
  display: block;
  margin-top: 3px;
  font: 500 11px/1.3 var(--font-mono);
  letter-spacing: .1em;
  color: var(--haze);
}

/* 5.3 主导航 */
.site-nav { margin-left: auto; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-nav__link {
  display: block;
  padding: 9px 14px;
  border-radius: 9px 9px 0 0;
  border-bottom: 3px solid transparent;
  font: 600 15px/1.4 var(--font-body);
  color: var(--ink);
  transition: color .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
}
.site-nav__link:hover { color: var(--green); background: rgba(11, 107, 79, .08); }
.site-nav__link[aria-current="page"] {
  background: var(--green);
  color: var(--white);
  border-bottom-color: var(--gold);
}

/* 5.4 工具入口 */
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.ghost-link {
  font: 500 13px/1 var(--font-mono);
  letter-spacing: .08em;
  color: var(--haze);
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.ghost-link:hover { color: var(--green); border-bottom-color: var(--gold); }

/* 5.5 按钮族 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 600 15px/1.1 var(--font-body);
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-500); transform: translateY(-2px); }
.btn--line { border-color: var(--green); color: var(--green); }
.btn--line:hover { background: var(--green); color: var(--white); }
.btn--sm { padding: 9px 16px; font-size: 14px; }

/* 5.6 移动端导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 2px solid var(--green);
  border-radius: 999px;
  color: var(--green);
  font: 600 14px/1 var(--font-body);
}
.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle__text { letter-spacing: .04em; }

/* 5.7 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transition: none;
}

/* 5.8 左侧比分类标签导轨 */
.site-rail {
  position: absolute;
  top: var(--top-h);
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 14px 22px;
  background: var(--green);
  overflow-y: auto;
  scrollbar-width: thin;
}
.rail__label {
  font: 500 11px/1.4 var(--font-mono);
  letter-spacing: .16em;
  color: var(--gold-soft);
}
.rail__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rail__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 13px 8px 13px 8px;
  border-left: 3px solid transparent;
  color: rgba(255, 255, 255, .86);
  font: 500 14px/1.3 var(--font-body);
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.rail__tag-code {
  font: 700 11px/1 var(--font-mono);
  letter-spacing: .06em;
  color: var(--gold);
}
.rail__tag:hover,
.rail__tag.is-hot {
  background: rgba(255, 255, 255, .12);
  border-left-color: var(--gold);
  color: var(--white);
  transform: translateX(3px);
}
.rail__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.rail__hint {
  font: 500 12px/1.6 var(--font-mono);
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .68);
}
.site-rail .btn--line {
  border-color: rgba(255, 255, 255, .5);
  color: var(--white);
  background: rgba(255, 255, 255, .08);
}
.site-rail .btn--line:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* ---------- 6. 页面通用结构 ---------- */
.shell {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding: clamp(26px, 4vw, 54px) var(--shell-x) clamp(48px, 6vw, 92px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font: 500 12px/1.5 var(--font-mono);
  letter-spacing: .08em;
  color: var(--haze);
}
.breadcrumb a {
  color: var(--green);
  border-bottom: 1px solid transparent;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.breadcrumb a:hover { border-bottom-color: var(--gold); }
.breadcrumb__sep { color: var(--gold); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  margin-top: clamp(40px, 5vw, 68px);
  padding-top: 18px;
  border-top: 2px solid var(--gold);
}
.section-head__num {
  font: 700 13px/1.6 var(--font-mono);
  letter-spacing: .18em;
  color: var(--green);
}
.section-head__title {
  font: 900 clamp(26px, 3vw, 38px)/1.15 var(--font-title);
  letter-spacing: -.02em;
}
.section-head__note {
  margin-left: auto;
  max-width: 36ch;
  font: 400 14px/1.65 var(--font-body);
  color: var(--haze);
}

/* ---------- 7. 正文排版 ---------- */
.prose { max-width: 72ch; }
.prose p { margin-bottom: 1.1em; max-width: 68ch; }
.prose h2 {
  font: 900 clamp(24px, 2.8vw, 34px)/1.25 var(--font-title);
  letter-spacing: -.02em;
  margin: 2.2em 0 .7em;
}
.prose h3 {
  font: 900 21px/1.35 var(--font-title);
  margin: 1.8em 0 .55em;
}
.prose a {
  color: var(--blue);
  border-bottom: 1px solid rgba(44, 127, 184, .38);
  transition: border-color .18s var(--ease);
}
.prose a:hover { border-bottom-color: var(--blue); }
.prose ul { margin: 0 0 1.2em; }
.prose ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: .55em;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 3px 1px 3px 1px;
}
.prose blockquote {
  margin: 1.6em 0;
  padding: 18px 22px;
  background: var(--gold-soft);
  border-left: 6px solid var(--gold);
  border-radius: 14px 14px 14px 4px;
  font-size: 16px;
  color: var(--ink);
}

/* ---------- 8. 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--asym { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }

/* ---------- 9. 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-1);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  background: var(--gold-soft);
}
.card--flat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  background: var(--white);
}
.card__title {
  font: 900 24px/1.25 var(--font-title);
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.card__meta {
  font: 500 12px/1.5 var(--font-mono);
  letter-spacing: .08em;
  color: var(--haze);
}

/* ---------- 10. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid rgba(21, 145, 106, .26);
  border-radius: 999px;
  background: rgba(21, 145, 106, .12);
  color: var(--green);
  font: 500 12px/1.4 var(--font-mono);
  letter-spacing: .08em;
}
.tag--gold {
  background: rgba(232, 163, 61, .2);
  border-color: rgba(232, 163, 61, .48);
  color: #8A5A0C;
}
.tag--blue {
  background: rgba(44, 127, 184, .12);
  border-color: rgba(44, 127, 184, .3);
  color: var(--blue);
}
.tag--alert {
  background: rgba(198, 69, 44, .12);
  border-color: rgba(198, 69, 44, .34);
  color: var(--alert);
}

/* ---------- 11. 记分数字 ---------- */
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__num {
  font: 700 clamp(34px, 5vw, 56px)/1 var(--font-mono);
  letter-spacing: -.03em;
  color: var(--ink);
}
.stat__label {
  font: 500 12px/1.4 var(--font-mono);
  letter-spacing: .1em;
  color: var(--haze);
}
.stat--up .stat__num { color: var(--green); }
.stat--down .stat__num { color: var(--alert); }

/* ---------- 12. 提醒条 ---------- */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--gold-soft);
  border-left: 6px solid var(--gold);
  border-radius: 14px 14px 14px 4px;
  font-size: 15px;
  color: var(--ink);
}
.notice--alert {
  background: rgba(198, 69, 44, .1);
  border-left-color: var(--alert);
}

/* ---------- 13. 图片容器 ---------- */
.figure {
  position: relative;
  overflow: hidden;
  background: var(--green-900);
  border-radius: var(--r-card);
}
.figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.figure--16x9 { aspect-ratio: 16 / 9; }
.figure--4x3 { aspect-ratio: 4 / 3; }
.figure--1x1 { aspect-ratio: 1 / 1; }
.figure--tall { aspect-ratio: 3 / 4; }
.figure__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  color: var(--gold-soft);
  font: 500 12px/1.7 var(--font-mono);
  letter-spacing: .12em;
  background-color: var(--green);
  background-image:
    linear-gradient(135deg, rgba(11, 107, 79, .96), rgba(8, 58, 44, .96)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .06) 0 14px, transparent 14px 28px);
}
.figure__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 18px 14px;
  color: var(--white);
  font: 500 12px/1.6 var(--font-mono);
  letter-spacing: .06em;
  background: linear-gradient(180deg, transparent, rgba(8, 20, 17, .82));
}

/* ---------- 14. 颗粒层 ---------- */
.grain { position: relative; }
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(rgba(255, 255, 255, .55) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px;
  background-position: 0 0, 4px 5px;
}

/* ---------- 15. 数据表 ---------- */
.data-table {
  width: 100%;
  background: var(--white);
  border-radius: var(--r-soft);
  overflow: hidden;
}
.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.data-table th {
  background: var(--paper);
  color: var(--haze);
  font: 500 12px/1.5 var(--font-mono);
  letter-spacing: .08em;
}
.data-table tbody tr { transition: background-color .18s var(--ease); }
.data-table tbody tr:hover { background: var(--gold-soft); }
.data-table .num {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: -.01em;
}

/* ---------- 16. 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  color: rgba(245, 242, 234, .82);
}
.footer-rule { height: 4px; background: var(--green); }
.footer-rule--gold { height: 2px; background: var(--gold); }

.footer-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 64px) var(--shell-x) clamp(24px, 3vw, 36px);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(26px, 4vw, 60px);
}
.footer-brand__name {
  font: 900 26px/1.2 var(--font-title);
  letter-spacing: -.02em;
  color: var(--white);
}
.footer-brand__note {
  margin-top: 10px;
  max-width: 34ch;
  font: 400 14px/1.7 var(--font-body);
  color: rgba(245, 242, 234, .66);
}
.footer-col__title {
  font: 500 12px/1.5 var(--font-mono);
  letter-spacing: .16em;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-col__list { display: grid; gap: 9px; }
.footer-col__list a {
  font-size: 14px;
  color: rgba(245, 242, 234, .8);
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.footer-col__list a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.footer-col__list--plain li {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 242, 234, .8);
}
.footer-key {
  flex: 0 0 auto;
  font: 500 11px/1.9 var(--font-mono);
  letter-spacing: .12em;
  color: var(--gold);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(30px, 4vw, 52px);
  padding-top: 20px;
  border-top: 1px solid rgba(245, 242, 234, .16);
}
.footer-legal,
.footer-links {
  font: 500 12px/1.7 var(--font-mono);
  letter-spacing: .06em;
  color: rgba(245, 242, 234, .58);
}
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.footer-links a { color: rgba(245, 242, 234, .82); }
.footer-links a:hover { color: var(--gold); }

/* ---------- 17. 滚入显现 ---------- */
[data-reveal] { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.has-js [data-reveal] { opacity: 0; transform: translateY(12px); }
.has-js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- 18. 平板 ---------- */
@media (max-width: 1120px) {
  .site-nav__link { padding: 9px 10px; font-size: 14px; }
  .ghost-link { display: none; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 19. 移动端 ---------- */
@media (max-width: 960px) {
  :root { --top-h: 64px; --rail-w: 0px; }

  body {
    padding-top: 0;
    padding-left: 0;
    font-size: 16px;
  }

  .site-header {
    position: static;
    pointer-events: auto;
    display: block;
  }

  /* 顶部导轨改为两行：品牌 + 工具 / 展开式导航 */
  .header-top {
    position: sticky;
    top: 0;
    z-index: 80;
    height: auto;
    min-height: var(--top-h);
    flex-wrap: wrap;
    row-gap: 8px;
    padding: 10px var(--shell-x);
  }
  .brand__mark { width: 38px; height: 38px; font-size: 18px; border-radius: 12px 9px 12px 9px; }
  .brand__name { font-size: 17px; }
  .brand__tag { display: none; }

  .header-tools { order: 2; margin-left: auto; }
  .header-tools .btn--gold { padding: 8px 14px; font-size: 13px; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
    display: none;
    padding-top: 6px;
    border-top: 1px solid var(--line);
  }
  .site-nav[data-open] { display: block; }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-top: 8px;
  }
  .site-nav__link {
    padding: 13px 14px;
    border-radius: 12px;
    border-bottom: 0;
    border-left: 3px solid transparent;
    font-size: 15px;
  }
  .site-nav__link[aria-current="page"] {
    border-bottom: 0;
    border-left-color: var(--gold);
  }

  /* 左侧导轨折叠为横向可滑动条带 */
  .site-rail {
    position: sticky;
    top: var(--top-h);
    z-index: 70;
    bottom: auto;
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 9px var(--shell-x);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
  }
  .site-rail::-webkit-scrollbar { display: none; }
  .rail__label { display: none; }
  .rail__list {
    flex: 0 0 auto;
    flex-direction: row;
    gap: 6px;
  }
  .rail__tag {
    white-space: nowrap;
    padding: 9px 12px;
    font-size: 13px;
    border-left: 0;
    border-bottom: 3px solid transparent;
    border-radius: 11px;
  }
  .rail__tag:hover,
  .rail__tag.is-hot {
    transform: none;
    border-left-color: transparent;
    border-bottom-color: var(--gold);
    background: rgba(255, 255, 255, .12);
  }
  .rail__foot {
    margin: 0 0 0 auto;
    flex-direction: row;
    align-items: center;
    flex: 0 0 auto;
    padding: 0;
    border-top: 0;
  }
  .rail__hint { display: none; }

  .grid--2,
  .grid--3,
  .grid--asym { grid-template-columns: minmax(0, 1fr); }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head__note { margin-left: 0; max-width: none; }
}

@media (max-width: 560px) {
  .header-tools .btn--gold { padding: 8px 12px; font-size: 12px; }
  .nav-toggle__text { display: none; }
  .nav-toggle { padding: 9px 12px; }
  .stat__num { font-size: 34px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

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

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

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

  .card:hover,
  .btn:hover,
  .rail__tag:hover { transform: none; }
}
