/* ============================================================
   华体育会主站 · 共享样式 /assets/site.css
   夜间球场底色 + 纸张叠层索引 + 荧光青数据强调
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

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

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

button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #06110E;
  --panel: #0C2620;
  --panel-deep: #0A1B16;
  --carbon: #0A1512;
  --cyan: #22E8C8;
  --cyan-soft: #7FF3E0;
  --orange: #FF8A3D;
  --orange-deep: #C05A1E;
  --paper: #F1F6EC;
  --paper-ink: #0C2620;
  --text: #D7E6DE;
  --muted: #93AFA5;
  --line: #2A4740;

  --font-display: "Barlow Condensed", "Oswald", "Roboto Condensed", "Arial Narrow", sans-serif;
  --font-head: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell: 1240px;
  --gutter: 20px;
  --radius-pill: 999px;
  --radius-card: 18px;
  --shadow-paper: 0 20px 44px -30px rgba(0, 0, 0, .95);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
}

/* ---------- 3. 基础排印 ---------- */
body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    radial-gradient(900px 520px at 84% -10%, rgba(34, 232, 200, .13), transparent 62%),
    radial-gradient(680px 420px at 4% 6%, rgba(255, 138, 61, .07), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--paper);
}

h1 { font-size: clamp(30px, 4.6vw, 48px); }
h2 { font-size: clamp(24px, 3.2vw, 36px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); }

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

strong { color: var(--paper); }

code, kbd, samp { font-family: var(--font-mono); font-size: .92em; }

hr { border: 0; }

[id] { scroll-margin-top: 108px; }

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

::selection {
  background: rgba(34, 232, 200, .3);
  color: var(--paper);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--cyan);
  color: #04120F;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top .18s var(--ease);
}

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

/* ---------- 4. 布局容器 ---------- */
.shell {
  width: min(var(--shell), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section {
  padding: clamp(48px, 7vw, 96px) 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  margin-bottom: clamp(20px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.section-head__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--cyan) 0 64px, var(--line) 64px 100%);
  margin: clamp(24px, 4vw, 44px) 0;
}

/* ---------- 5. 文本零件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--cyan);
  flex: none;
}

.lede {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.7;
  color: #C9E7DC;
  max-width: 40em;
}

.prose {
  max-width: 40em;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}

.prose h2 {
  margin: 2.2em 0 .6em;
  font-size: clamp(24px, 3vw, 34px);
}

.prose h3 {
  margin: 1.8em 0 .5em;
  font-size: clamp(19px, 2.2vw, 23px);
  color: var(--cyan-soft);
}

.prose p { margin-bottom: 1.2em; }

.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.35em;
}

.prose li { margin-bottom: .4em; }

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose a:hover { color: var(--cyan-soft); }

.prose blockquote {
  margin: 1.6em 0;
  padding-left: 18px;
  border-left: 2px solid var(--cyan);
  color: var(--muted);
}

.link {
  position: relative;
  display: inline-block;
  color: var(--cyan);
  text-decoration: none;
  padding-bottom: 2px;
}

.link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s var(--ease);
}

.link:hover::after,
.link:focus-visible::after { transform: scaleX(1); }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .18s var(--ease);
}

.btn--solid {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04120F;
}

.btn--solid:hover {
  background: var(--cyan-soft);
  border-color: var(--cyan-soft);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(34, 232, 200, .06);
  border-color: rgba(34, 232, 200, .38);
  color: var(--cyan-soft);
}

.btn--ghost:hover {
  background: rgba(34, 232, 200, .14);
  border-color: var(--cyan);
  color: var(--paper);
  transform: translateY(-2px);
}

/* ---------- 7. 卡片与标签 ---------- */
.card {
  position: relative;
  display: block;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  transition: transform .18s var(--ease), border-color .18s var(--ease),
              background-color .18s var(--ease), box-shadow .18s var(--ease);
}

.card--panel {
  background: var(--panel);
  color: var(--text);
}

.card--paper {
  background: var(--paper);
  color: var(--paper-ink);
  border-color: #CFE0D5;
  box-shadow: var(--shadow-paper);
}

.card--paper::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(12, 38, 32, .14);
  border-radius: 12px;
  pointer-events: none;
}

.card--panel:hover,
.card--paper:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
}

a.card { text-decoration: none; }

.card--paper h2,
.card--paper h3,
.card--paper h4 { color: var(--paper-ink); }

.stamp {
  position: absolute;
  top: -10px;
  left: 16px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--cyan);
  color: #04120F;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  z-index: 2;
}

.stamp--orange {
  background: var(--orange);
  color: #211004;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(34, 232, 200, .06);
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  line-height: 1.6;
}

.tag--orange {
  border-color: rgba(255, 138, 61, .5);
  background: rgba(255, 138, 61, .12);
  color: var(--orange);
}

.tag--paper {
  border-color: rgba(12, 38, 32, .24);
  background: rgba(12, 38, 32, .05);
  color: var(--paper-ink);
}

.data-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.data-row:last-child { border-bottom: 0; }

.data-row__key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
}

.data-row__value {
  color: var(--paper);
  font-weight: 600;
  text-align: right;
}

/* ---------- 8. 数字与状态 ---------- */
.stat { display: block; }

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 132px);
  line-height: .9;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
}

.stat__label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 138, 61, .16);
  flex: none;
}

/* ---------- 9. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(34, 232, 200, .22), transparent 58%),
    linear-gradient(150deg, var(--panel) 0%, var(--panel-deep) 58%, var(--carbon) 100%);
}

.media > img,
.media > picture,
.media > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }

.media__caption {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}

/* ---------- 10. 面包屑与目录 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
}

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

.breadcrumb li + li::before {
  content: "/";
  color: var(--line);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--cyan); }

.breadcrumb [aria-current="page"] { color: var(--cyan-soft); }

.toc {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
}

.toc__link {
  display: block;
  padding: 9px 12px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color .18s var(--ease), border-color .18s var(--ease),
              background-color .18s var(--ease);
}

.toc__link:hover {
  color: var(--cyan-soft);
  border-left-color: rgba(34, 232, 200, .55);
  background: rgba(34, 232, 200, .05);
}

.toc__link[aria-current="true"] {
  color: var(--cyan);
  border-left-color: var(--orange);
  background: rgba(34, 232, 200, .09);
}

.anchor-rail {
  position: sticky;
  top: 120px;
  align-self: start;
  padding-right: 6px;
}

/* ---------- 11. 悬浮零件 ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(12, 38, 32, .94);
  color: var(--cyan);
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s var(--ease), transform .18s var(--ease),
              visibility .18s, border-color .18s var(--ease), color .18s var(--ease);
}

.to-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  border-color: var(--cyan);
  color: var(--cyan-soft);
}

.feedback-capsule {
  position: fixed;
  right: 20px;
  bottom: 26px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 138, 61, .5);
  border-radius: var(--radius-pill);
  background: rgba(10, 27, 22, .95);
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 30px -20px rgba(0, 0, 0, .9);
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease);
}

.feedback-capsule:hover {
  background: var(--orange-deep);
  border-color: var(--orange);
  color: #1C0D03;
}

/* ---------- 12. Header ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 16px 0 0;
  transition: padding .22s var(--ease);
}

.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(6, 17, 14, .96) 0%,
    rgba(6, 17, 14, .74) 56%,
    rgba(6, 17, 14, 0) 100%);
  pointer-events: none;
}

.masthead.is-condensed { padding-top: 8px; }

.masthead__inner {
  position: relative;
  width: min(var(--shell), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  padding: 9px 18px 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(12, 38, 32, .88);
  text-decoration: none;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}

.brand:hover {
  border-color: var(--cyan);
  background: rgba(12, 38, 32, 1);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, var(--cyan) 0%, #0E8E7B 72%);
  color: #04120F;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transition: width .22s var(--ease), height .22s var(--ease), font-size .22s var(--ease);
}

.masthead.is-condensed .brand__mark {
  width: 28px;
  height: 28px;
  font-size: 14px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--paper);
  letter-spacing: .01em;
}

.brand__tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  line-height: 1.4;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  flex: none;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(12, 38, 32, .9);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}

.nav-toggle:hover { border-color: var(--cyan); }

.nav-toggle__bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
  transition: background-color .18s var(--ease), box-shadow .18s var(--ease);
}

.nav-toggle[aria-expanded="true"] { color: var(--cyan); border-color: var(--cyan); }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: var(--cyan);
  box-shadow: 0 6px 0 var(--cyan), 0 -6px 0 var(--cyan);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(12, 38, 32, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease);
}

.site-nav__list a:hover {
  background: rgba(34, 232, 200, .12);
  color: var(--cyan-soft);
}

.site-nav__list a[aria-current="page"] {
  background: rgba(34, 232, 200, .14);
  border-color: rgba(34, 232, 200, .5);
  color: var(--cyan);
}

.site-nav__list a[aria-current="page"]::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 232, 200, .18);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.site-nav__actions .btn { padding: 9px 15px; }

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(42, 71, 64, .34);
  overflow: hidden;
}

.scroll-meter__fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-soft) 62%, var(--orange) 100%);
}

/* ---------- 13. Footer ---------- */
.site-foot {
  margin-top: clamp(56px, 9vw, 120px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg,
    rgba(10, 21, 18, .25) 0%,
    var(--carbon) 32%,
    #040A08 100%);
}

.site-foot__inner {
  width: min(var(--shell), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) 0 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 56px);
}

.site-foot__brandline {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--paper);
  margin-bottom: 10px;
}

.site-foot__service {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
}

.site-foot__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.site-foot__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.site-foot__col a {
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
  transition: color .18s var(--ease);
}

.site-foot__col a:hover { color: var(--cyan); }

.site-foot__head {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--cyan);
  text-transform: uppercase;
}

.site-foot__contact-item {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 10px;
  word-break: break-word;
}

.site-foot__note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.site-foot__legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(12px, 2vw, 24px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.site-foot__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
  margin: 0;
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: auto;
    width: min(380px, 100%);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(9, 26, 22, .98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-nav__list a {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 16px;
  }

  .site-nav__actions {
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .site-nav__actions .btn { padding: 12px 16px; }

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

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

  .anchor-rail {
    position: static;
    top: auto;
    margin-bottom: 24px;
  }
}

@media (max-width: 980px) {
  .site-foot__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-foot__brand { grid-column: 1 / -1; }
  .site-foot__contact { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .brand__tagline { display: none; }
  .grid--2 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

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

  .masthead { padding-top: 10px; }

  .feedback-capsule {
    right: 14px;
    bottom: 18px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .to-top {
    right: 14px;
    bottom: 74px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 640px) {
  .site-foot__inner { grid-template-columns: minmax(0, 1fr); }

  .site-foot__nav { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }

  .site-foot__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .data-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .data-row__value { text-align: left; }
}

/* ---------- 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;
    transition-delay: 0ms !important;
  }

  .card--panel:hover,
  .card--paper:hover,
  .btn:hover,
  .to-top { transform: none !important; }

  .site-nav {
    transform: none !important;
  }

  .link::after { transform: none; opacity: 0; transition: opacity .001ms; }
  .link:hover::after,
  .link:focus-visible::after { opacity: 1; }
}
