/* ==========================================================================
   华体赛场 · 共享样式 /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, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }

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

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

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

button { background: none; border: 0; padding: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 色彩 */
  --ink: #0A1128;
  --ink-2: #111B3A;
  --card: #16224A;
  --lime: #C6FF3D;
  --orange: #FF7A1A;
  --cyan: #39E6D0;
  --paper: #F4F7FB;
  --muted: #9AA7C7;
  --teal: #1E5A5A;

  --line: rgba(154, 167, 199, 0.18);
  --line-strong: rgba(154, 167, 199, 0.34);
  --lime-soft: rgba(198, 255, 61, 0.08);
  --lime-line: rgba(198, 255, 61, 0.42);

  /* 形状 */
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;

  /* 度量 */
  --shell: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  /* 字体 */
  --font-display: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "Roboto Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

/* ---------- 3. 基础与中文排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.75;
  letter-spacing: 0.012em;
  color: var(--paper);
  background-color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 10% -8%, rgba(198, 255, 61, 0.10), transparent 62%),
    radial-gradient(760px 460px at 94% 4%, rgba(255, 122, 26, 0.10), transparent 60%),
    radial-gradient(1100px 720px at 50% 112%, rgba(57, 230, 208, 0.07), transparent 66%);
}

h1, h2, h3, h4,
.display-1, .display-2, .display-3 {
  font-family: var(--font-display);
  font-weight: 250;
  font-stretch: 88%;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--paper);
}

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

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

#main-content { scroll-margin-top: 104px; }

/* ---------- 4. 布局工具 ---------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}
.container--wide {
  width: min(100% - (var(--gutter) * 2), 1440px);
}
.container--narrow {
  width: min(100% - (var(--gutter) * 2), 780px);
}

.section {
  position: relative;
  padding: clamp(56px, 8vw, 112px) 0;
}
.section--tight { padding: clamp(32px, 5vw, 60px) 0; }
.section--deep {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}
.section--curve {
  background: var(--ink-2);
  border-radius: var(--radius-xl);
  margin: 0 clamp(6px, 2vw, 24px);
}

.split {
  display: grid;
  gap: clamp(20px, 3vw, 46px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .split--reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}

.grid {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
@media (min-width: 760px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 28px;
  margin-bottom: clamp(20px, 3vw, 38px);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 250;
  font-stretch: 88%;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--line-strong), rgba(154, 167, 199, 0.02));
}

/* ---------- 5. 文字层级 ---------- */
.display-1 { font-size: clamp(42px, 9vw, 108px); line-height: 0.98; letter-spacing: -0.035em; }
.display-2 { font-size: clamp(30px, 5.2vw, 62px); }
.display-3 { font-size: clamp(23px, 3.2vw, 36px); }

.lede {
  font-size: clamp(16.5px, 1.6vw, 19px);
  line-height: 1.8;
  color: rgba(244, 247, 251, 0.82);
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(198, 255, 61, 0.7);
}

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

/* ---------- 6. 正文块 ---------- */
.prose {
  max-width: 72ch;
  color: rgba(244, 247, 251, 0.86);
}
.prose > * + * { margin-top: 1.05em; }
.prose h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-top: 1.7em;
}
.prose h3 {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 400;
  margin-top: 1.5em;
}
.prose ul { display: grid; gap: 0.5em; }
.prose li {
  position: relative;
  padding-left: 20px;
}
.prose li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.76em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(57, 230, 208, 0.38);
}
.prose a:hover { border-bottom-color: var(--cyan); }

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease,
              background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.btn--lime {
  background: var(--lime);
  color: var(--ink);
}
.btn--lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(198, 255, 61, 0.22);
}
.btn--orange {
  background: var(--orange);
  color: #1B0C01;
}
.btn--orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 122, 26, 0.26);
}
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--paper);
}
.btn--ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
  transform: translateY(-2px);
}

/* ---------- 8. 标签 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(154, 167, 199, 0.06);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}
.chip--lime {
  color: var(--lime);
  border-color: var(--lime-line);
  background: var(--lime-soft);
}
.chip--orange {
  color: var(--orange);
  border-color: rgba(255, 122, 26, 0.42);
  background: rgba(255, 122, 26, 0.09);
}
.chip--cyan {
  color: var(--cyan);
  border-color: rgba(57, 230, 208, 0.4);
  background: rgba(57, 230, 208, 0.08);
}

/* ---------- 9. 卡片 ---------- */
.card {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 30px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform 0.26s ease, border-color 0.26s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.card--flat { background: var(--ink-2); }
.card--accent { border-left: 3px solid var(--orange); }

/* ---------- 10. 数据块 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 500;
  line-height: 1;
  color: var(--lime);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

/* ---------- 11. 编辑部目录索引 ---------- */
.index-list { border-top: 1px solid var(--line); }
.index-list li { border-bottom: 1px solid var(--line); }
.index-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 14px;
  padding: 17px 6px;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}
.index-item:hover {
  background: var(--lime-soft);
  padding-left: 14px;
}
.index-no {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--teal);
  color: rgba(57, 230, 208, 0.7);
  letter-spacing: 0.06em;
}
.index-title {
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 400;
  color: var(--paper);
}
.index-meta {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ---------- 12. 横向滑动轨道 ---------- */
.rail {
  display: flex;
  gap: clamp(12px, 2vw, 20px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.rail > * {
  flex: 0 0 min(86%, 340px);
  scroll-snap-align: start;
}
@media (min-width: 980px) {
  .rail > * { flex: 0 0 clamp(260px, 25vw, 340px); }
}

/* ---------- 13. 标签页 ---------- */
.tablist {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(22, 34, 74, 0.9);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.tablist::-webkit-scrollbar { display: none; }
.tab {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
  transition: background-color 0.22s ease, color 0.22s ease;
}
.tab:hover { color: var(--paper); }
.tab[aria-selected="true"] {
  background: var(--lime);
  color: var(--ink);
  font-weight: 600;
}
.tabpanel[hidden] { display: none; }
.tabpanel { padding-top: clamp(18px, 3vw, 30px); }

/* ---------- 14. 折叠面板 ---------- */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  overflow: hidden;
}
.panel + .panel { margin-top: 12px; }
.panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 20px;
  font-size: 15.5px;
  color: var(--paper);
  list-style: none;
  cursor: pointer;
}
.panel summary::-webkit-details-marker { display: none; }
.panel summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--lime);
  line-height: 1;
}
.panel[open] summary::after { content: "\2013"; }
.panel-body {
  padding: 0 20px 20px;
  font-size: 15px;
  color: rgba(244, 247, 251, 0.76);
}

/* ---------- 15. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before {
  content: "/";
  color: var(--teal);
}
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs [aria-current="page"] { color: var(--paper); }

/* ---------- 16. 图片容器基座 ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(198, 255, 61, 0.10), transparent 58%),
    linear-gradient(150deg, var(--ink-2) 0%, var(--card) 55%, #0c1730 100%);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }
.media--wide { aspect-ratio: 21 / 9; }
.media-caption {
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- 17. 阅读进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--lime), var(--cyan) 55%, var(--orange));
  transition: width 0.12s linear;
}

/* ---------- 18. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- 19. 页头：悬浮胶囊导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 12px var(--gutter) 0;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: -24px 0 -14px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(10, 17, 40, 0.96) 0%,
    rgba(10, 17, 40, 0.72) 58%,
    rgba(10, 17, 40, 0) 100%);
}

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 20px);
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding: 9px 12px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(17, 27, 58, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
  transition: background-color 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.header-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg,
    transparent,
    rgba(198, 255, 61, 0.55) 28%,
    rgba(57, 230, 208, 0.4) 62%,
    transparent);
}
.site-header[data-scrolled] .header-shell {
  background: rgba(17, 27, 58, 0.94);
  border-color: var(--line-strong);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.52);
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px 4px 4px;
  border-radius: var(--radius-pill);
  flex: 0 0 auto;
}
.brand-mark {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2.5px;
  width: 32px;
  height: 32px;
  padding-bottom: 8px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--lime), var(--cyan));
}
.brand-mark i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--ink);
}
.brand-mark i:nth-child(1) { height: 7px; }
.brand-mark i:nth-child(2) { height: 13px; }
.brand-mark i:nth-child(3) { height: 10px; }
.brand-mark::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: ht-pulse 2.4s ease-out infinite;
}
@keyframes ht-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(255, 122, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0); }
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--paper);
}
.brand-tagline {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* 主导航 */
.site-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  display: block;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.nav-link:hover {
  color: var(--paper);
  background: rgba(154, 167, 199, 0.1);
}
.nav-link[aria-current="page"] {
  color: var(--lime);
  background: var(--lime-soft);
  box-shadow: inset 0 0 0 1px var(--lime-line);
}

/* 右侧区 */
.header-side {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.util-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.util-link {
  display: block;
  padding: 7px 9px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.util-link:hover { color: var(--cyan); }

.cta-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.cta-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(198, 255, 61, 0.24);
}

/* 折叠按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.nav-toggle-bars {
  display: grid;
  gap: 4px;
  width: 16px;
}
.nav-toggle-bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] {
  border-color: var(--lime-line);
  color: var(--lime);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:first-child {
  transform: translateY(3px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* 平板：收起工具链接 */
@media (max-width: 1199px) {
  .util-links { display: none; }
}

/* 手机 / 竖屏：折叠为纵向面板 */
@media (max-width: 959px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 22px;
    border: 1px solid var(--line-strong);
    background: rgba(17, 27, 58, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.55);
  }
  .site-nav[data-open] { display: flex; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    overflow-x: visible;
  }
  .nav-link {
    padding: 13px 15px;
    border-radius: 14px;
    font-size: 15px;
  }
  .nav-link[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--lime);
  }
}

@media (max-width: 479px) {
  .brand-tagline { display: none; }
  .brand-name { font-size: 14.5px; letter-spacing: 0.05em; }
  .nav-toggle-label { display: none; }
  .cta-pill { padding: 9px 14px; font-size: 12.5px; }
  .header-shell { gap: 8px; padding: 8px 10px; }
}

/* ---------- 20. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(48px, 7vw, 100px);
  padding: clamp(44px, 6vw, 80px) 0 clamp(20px, 3vw, 34px);
  border-top: 1px solid var(--line);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: linear-gradient(180deg, var(--ink-2) 0%, #0c142e 58%, var(--ink) 100%);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(198, 255, 61, 0.6) 30%,
    rgba(57, 230, 208, 0.42) 68%,
    transparent);
}

.footer-shell {
  position: relative;
  z-index: 2;
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.footer-top {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .footer-top { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); }
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 300;
  font-stretch: 88%;
  letter-spacing: 0.06em;
  color: var(--paper);
}
.footer-logo::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px rgba(198, 255, 61, 0.75);
}
.footer-desc {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}
.footer-note {
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: rgba(57, 230, 208, 0.72);
}

.footer-cols {
  display: grid;
  gap: clamp(22px, 3vw, 38px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}
.footer-col { min-width: 0; }
.footer-col-title {
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-links {
  display: grid;
  gap: 9px;
}
.footer-links a {
  display: inline-block;
  font-size: 14.5px;
  color: rgba(244, 247, 251, 0.78);
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-links a:hover {
  color: var(--lime);
  transform: translateX(4px);
}
.footer-links a[aria-current="page"] { color: var(--lime); }

.footer-contact {
  display: grid;
  gap: 13px;
}
.footer-contact li {
  display: grid;
  gap: 3px;
}
.contact-key {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.contact-val {
  font-size: 14.5px;
  color: var(--paper);
  word-break: break-word;
}
.contact-val--mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(30px, 4vw, 50px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.footer-legal {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.footer-copy {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.footer-year {
  font-family: var(--font-mono);
  color: var(--lime);
}

.footer-watermark {
  position: absolute;
  right: -1%;
  bottom: -4%;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 200;
  font-stretch: 85%;
  font-size: clamp(80px, 17vw, 210px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  white-space: nowrap;
  color: rgba(198, 255, 61, 0.045);
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

/* ---------- 21. 滚动显现 ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.8, 0.28, 1);
}
.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 22. 无障碍与减弱动效 ---------- */
@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;
  }
  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .brand-mark::after { animation: none; }
}
