/* =========================================================
   中欧体育主站 — 共享样式表 /assets/site.css
   夜场墨绿 / 蓝图网格 / 荧光青绿比分 / 暖橙关键事件
   ========================================================= */

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

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

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

ul, ol { list-style: none; }

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

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

a { color: inherit; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink-900: #07140F;
  --ink-800: #0C2018;
  --ink-700: #143126;
  --paper: #E9E1CF;
  --paper-ink: #0C2018;
  --mint: #6FFFB0;
  --mint-soft: #8BFFC4;
  --orange: #FF8A3D;
  --amber: #FFC46B;
  --mist: #9BB8AE;
  --line: #2A4A3D;
  --white: #F5F8F4;

  --font-serif: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'Roboto Mono', 'SFMono-Regular', monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --header-h: 64px;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--white);
  overflow-wrap: break-word;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(120% 90% at 50% -20%, rgba(111, 255, 176, 0.06), transparent 55%),
    radial-gradient(90% 70% at 100% 0%, rgba(255, 138, 61, 0.05), transparent 60%),
    linear-gradient(to right, rgba(42, 74, 61, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 74, 61, 0.35) 1px, transparent 1px);
  background-size: auto, auto, 88px 88px, 88px 88px;
  background-attachment: scroll, scroll, fixed, fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--white);
}

h1 { font-size: clamp(28px, 4.2vw, 46px); }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: clamp(18px, 2.2vw, 22px); }
h4 { font-size: clamp(16px, 1.8vw, 18px); }

p { margin-bottom: 0; }

::selection {
  background: var(--mint);
  color: var(--ink-900);
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

#main-content:focus { outline: none; }

[data-section],
[id] { scroll-margin-top: 96px; }

/* ---------- 4. 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.rule {
  height: 1px;
  border: 0;
  background: var(--line);
  margin-block: clamp(20px, 3vw, 36px);
}

.blueprint {
  background-image:
    linear-gradient(to right, rgba(42, 74, 61, 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 74, 61, 0.45) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ---------- 5. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 20, 15, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 9px 18px;
  background: var(--mint);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

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

.header-rail {
  background: var(--ink-800);
  border-bottom: 1px solid rgba(42, 74, 61, 0.7);
}

.header-rail__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 6px;
  min-height: 26px;
}

.rail-status,
.rail-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--mist);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rail-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
  flex: 0 0 auto;
}

.rail-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(111, 255, 176, 0.7);
}

.rail-index {
  color: var(--mist);
  text-align: right;
}

.header-bar { position: relative; }

.header-bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 32px);
  min-height: var(--header-h);
  padding-block: 10px;
}

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

.brand__mark {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  width: 32px;
  height: 32px;
  padding: 4px;
  border: 1px solid var(--line);
  background: var(--ink-800);
  border-radius: var(--radius);
}

.brand__mark span { background: var(--ink-700); }
.brand__mark span:nth-child(1) { background: var(--mint); }
.brand__mark span:nth-child(4) { background: var(--orange); }

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

.brand__name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
  line-height: 1.2;
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 20px);
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.8vw, 8px);
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 10px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--mist);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.site-nav__link:hover {
  color: var(--white);
  background: var(--ink-800);
  border-color: var(--line);
}

.site-nav__link[aria-current="page"] {
  color: var(--mint);
}

.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  background: var(--mint);
}

.site-nav__cta {
  font-size: 12px;
  padding: 9px 14px;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

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

.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: opacity 0.18s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn--primary {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--ink-900);
}

.btn--primary:hover {
  background: var(--mint-soft);
  border-color: var(--mint-soft);
  box-shadow: 0 0 0 3px rgba(111, 255, 176, 0.18);
}

.btn--ghost {
  border-color: rgba(111, 255, 176, 0.45);
  color: var(--mint);
}

.btn--ghost:hover {
  background: rgba(111, 255, 176, 0.1);
  border-color: var(--mint);
}

.btn--paper {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink-800);
}

.btn--paper:hover {
  background: #F2ECDE;
  border-color: #F2ECDE;
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 80px);
  background: var(--ink-800);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(280px, 40%);
  height: 2px;
  background: linear-gradient(90deg, var(--mint), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 0.85fr 1.3fr;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(36px, 5vw, 68px);
}

.footer-brand { display: flex; flex-direction: column; gap: 14px; }

.brand--footer .brand__name { font-size: 16px; }

.footer-line {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.6;
  color: var(--white);
}

.footer-summary {
  font-size: 13px;
  line-height: 1.85;
  color: var(--mist);
  max-width: 34ch;
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-heading__no {
  font-style: italic;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--mint);
}

.footer-list { display: flex; flex-direction: column; gap: 5px; }

.footer-link {
  display: inline-block;
  font-size: 13px;
  line-height: 1.9;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-link:hover {
  color: var(--mint);
  border-bottom-color: rgba(111, 255, 176, 0.4);
}

.footer-list--plain li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--mist);
  word-break: break-word;
}

.footer-note {
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--mist);
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
}

.footer-meta__item {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

/* ---------- 8. 通用组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--mint);
  flex: 0 0 auto;
}

.panel {
  position: relative;
  padding: clamp(16px, 2.6vw, 28px);
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.panel--glass {
  background: rgba(20, 49, 38, 0.42);
  border-color: rgba(111, 255, 176, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.panel--glass:hover {
  border-color: rgba(111, 255, 176, 0.34);
  background: rgba(20, 49, 38, 0.55);
}

.index-tag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 2px 8px;
  background: var(--mint);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-style: italic;
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.1em;
  border-bottom-left-radius: var(--radius);
}

.index-tag--muted {
  background: var(--ink-700);
  color: var(--mist);
}

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

.score {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
}

.score--event { color: var(--orange); }

.tag {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.tag--live {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--ink-900);
  font-weight: 700;
}

.tag--alert {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink-900);
  font-weight: 700;
}

.tag--amber {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink-900);
  font-weight: 700;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.legend li { display: inline-flex; align-items: center; gap: 7px; }

.legend__swatch {
  width: 10px;
  height: 10px;
  background: var(--mint);
  border: 1px solid rgba(245, 248, 244, 0.3);
  flex: 0 0 auto;
}

.legend__swatch--orange { background: var(--orange); }
.legend__swatch--mist { background: var(--mist); }
.legend__swatch--amber { background: var(--amber); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease;
}

.link-arrow::after {
  content: "\2192";
  transition: transform 0.18s ease;
}

.link-arrow:hover { border-bottom-color: var(--mint); }
.link-arrow:hover::after { transform: translateX(3px); }

/* 面包屑 */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.crumbs li { display: inline-flex; align-items: center; }

.crumbs li + li::before {
  content: "/";
  margin: 0 9px;
  color: var(--line);
}

.crumbs a {
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s ease;
}

.crumbs a:hover { color: var(--mint); }

.crumbs [aria-current="page"] { color: var(--white); }

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

.span-3 { grid-column: span 3; }
.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-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

/* 正文 */
.prose {
  max-width: 70ch;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(245, 248, 244, 0.88);
}

.prose h2,
.prose h3,
.prose h4 {
  margin: 1.8em 0 0.6em;
  color: var(--white);
}

.prose h2:first-child,
.prose h3:first-child { margin-top: 0; }

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

.prose a {
  color: var(--mint);
  text-underline-offset: 3px;
}

.prose ul,
.prose ol {
  margin-bottom: 1em;
  padding-left: 1.4em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li { margin: 0.35em 0; }

.prose--paper {
  max-width: none;
  padding: clamp(20px, 4vw, 44px);
  background: var(--paper);
  border: 1px solid rgba(12, 32, 24, 0.16);
  border-radius: var(--radius);
  color: var(--paper-ink);
}

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

.prose--paper a { color: #0E6B47; }

.prose--paper .eyebrow { color: rgba(12, 32, 24, 0.65); }

/* 图片容器基础规则 */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--ink-700);
  background-image:
    linear-gradient(to right, rgba(42, 74, 61, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 74, 61, 0.55) 1px, transparent 1px),
    radial-gradient(80% 70% at 70% 20%, rgba(255, 138, 61, 0.16), transparent 70%),
    radial-gradient(90% 80% at 20% 90%, rgba(111, 255, 176, 0.1), transparent 70%);
  background-size: 40px 40px, 40px 40px, auto, auto;
}

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

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

.media-frame__label {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 4px 10px;
  background: rgba(7, 20, 15, 0.86);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  border-top-right-radius: var(--radius);
}

/* 目录跟随 */
[data-toc-link] {
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s ease;
}

[data-toc-link]:hover { color: var(--white); }

[data-toc-link][aria-current="true"] {
  color: var(--mint);
}

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

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

/* 滚动进度条（脚本注入） */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  background: rgba(42, 74, 61, 0.55);
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--mint) 0%, var(--amber) 62%, var(--orange) 100%);
}

/* 返回顶部（脚本注入） */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 32, 24, 0.94);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.to-top[data-visible="true"] {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  border-color: var(--mint);
  background: rgba(20, 49, 38, 0.96);
}

/* ---------- 9. 响应式 ---------- */
@media (max-width: 1080px) {
  .site-nav__link { font-size: 12px; padding: 8px 7px; }
  .site-nav__cta { font-size: 11.5px; padding: 8px 11px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-col--contact { grid-column: span 3; }
}

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

  .rail-index { display: none; }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 70;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-left: 0;
    padding: 14px var(--gutter) 22px;
    background: var(--ink-800);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.45);
  }

  .site-nav[data-open] { display: flex; }

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

  .site-nav__list li + li { border-top: 1px solid rgba(42, 74, 61, 0.6); }

  .site-nav__link {
    display: block;
    padding: 13px 4px;
    font-size: 14px;
    border: 0;
    border-radius: 0;
  }

  .site-nav__link:hover { background: transparent; border-color: transparent; color: var(--mint); }

  .site-nav__link[aria-current="page"]::after { left: 4px; right: auto; width: 22px; bottom: 8px; }

  .site-nav__cta {
    margin-top: 12px;
    width: 100%;
    padding: 13px 16px;
    font-size: 13px;
  }

  .grid-12 > [class*="span-"] { grid-column: span 12; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col--contact { grid-column: span 2; }
  .footer-summary { max-width: none; }

  .scroll-progress { height: 2px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }

  .brand__mark { width: 28px; height: 28px; }
  .brand__name { font-size: 15px; }
  .brand__sub { font-size: 8px; letter-spacing: 0.16em; }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer-col--contact { grid-column: span 1; }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .to-top { padding: 9px 12px; font-size: 10px; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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

  .to-top { transition: none; }
}
