/* =========================================================
   6688体育 · 共享样式表 /assets/site.css
   结构：变量 → 重置 → 排版 → 通用组件 → 页头轨道 → 页脚
   ========================================================= */

:root {
  /* 品牌色 */
  --ink: #0B1F1A;
  --panel: #111412;
  --paper: #F2EAD7;
  --text: #F7F3E8;
  --muted: #8A9690;
  --structure: #38524A;
  --lime: #C6FF4A;
  --orange: #FF6A2A;
  --brown: #241C16;
  --glass: rgba(56, 82, 74, 0.28);

  /* 结构 */
  --rail-w: 268px;
  --rail-w-min: 88px;
  --bar-h: 64px;
  --gap: clamp(18px, 3vw, 44px);
  --r-sm: 2px;
  --r-md: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);

  /* 字体 */
  --font-display: "Noto Sans SC", "HarmonyOS Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-body: "Noto Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

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

ul, ol { list-style: none; }

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

button { font: inherit; color: inherit; }

a { color: inherit; }

[hidden] { display: none !important; }

/* ---------- 页面骨架 ---------- */
body {
  min-height: 100dvh;
  padding-left: var(--rail-w);
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, rgba(56, 82, 74, 0.22) 1px, transparent 1px),
    radial-gradient(120% 70% at 88% -12%, rgba(56, 82, 74, 0.5), transparent 62%);
  background-size: 96px 100%, 100% 100%;
  background-repeat: repeat, no-repeat;
  background-attachment: fixed, fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: padding-left 0.34s var(--ease);
}

/* ---------- 排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.12; }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.32; letter-spacing: -0.01em; }
h4 { font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.4; }

p { max-width: 68ch; }
p + p { margin-top: 0.9em; }

strong, b { font-weight: 700; color: var(--text); }

small { font-size: 0.82rem; }

.num,
.stat-num,
.ledger-val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}

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

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

/* ---------- 容器与章节 ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(18px, 3.4vw, 48px);
}

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

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 32px;
  margin-bottom: clamp(24px, 3.4vw, 44px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.rule {
  height: 1px;
  border: 0;
  margin-block: clamp(24px, 4vw, 48px);
  background: var(--structure);
  opacity: 0.65;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.35rem;
  border: 1px solid var(--structure);
  border-radius: var(--r-sm);
  background: var(--glass);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn:hover { border-color: var(--lime); color: var(--lime); }
.btn:active { transform: translateY(1px); }

.btn-cta {
  background: var(--orange);
  border-color: var(--orange);
  color: #17100B;
}

.btn-cta:hover {
  background: #FF8147;
  border-color: #FF8147;
  color: #17100B;
}

.btn-lime {
  background: var(--lime);
  border-color: var(--lime);
  color: #0B1F1A;
}

.btn-lime:hover {
  background: #D6FF7C;
  border-color: #D6FF7C;
  color: #0B1F1A;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(138, 150, 144, 0.5);
  color: var(--text);
}

/* ---------- 标签与卡片 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(138, 150, 144, 0.42);
  border-radius: var(--r-sm);
  background: rgba(56, 82, 74, 0.22);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.tag--lime {
  color: var(--lime);
  border-color: rgba(198, 255, 74, 0.5);
  background: rgba(198, 255, 74, 0.1);
}

.tag--orange {
  color: var(--orange);
  border-color: rgba(255, 106, 42, 0.5);
  background: rgba(255, 106, 42, 0.12);
}

.card {
  position: relative;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid var(--structure);
  border-radius: var(--r-md);
  background: var(--panel);
  overflow: hidden;
}

.card--glass {
  background: var(--glass);
  border-color: rgba(56, 82, 74, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.card--paper {
  background: var(--paper);
  border-color: rgba(36, 28, 22, 0.16);
  color: var(--brown);
}

.card-title {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.card--paper .card-title { color: var(--brown); }

.card-meta {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.card--paper .card-meta { color: #7A6A58; }

/* ---------- 网格 ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid--ledger { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }

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

@media (max-width: 900px) {
  .grid--split { grid-template-columns: 1fr; }
}

/* ---------- 数据组件 ---------- */
.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-num {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.ledger {
  display: grid;
  border-top: 1px solid var(--structure);
}

.ledger-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(56, 82, 74, 0.55);
}

.ledger-key { color: var(--muted); font-size: 0.9rem; }

.ledger-val { color: var(--text); font-size: 0.98rem; font-weight: 600; }

/* ---------- 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--structure);
  border-radius: var(--r-md);
  background:
    linear-gradient(135deg, rgba(56, 82, 74, 0.55), rgba(11, 31, 26, 0.92)),
    var(--panel);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(138, 150, 144, 0.16) 0 1px,
    transparent 1px 44px
  );
}

.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--square { aspect-ratio: 1 / 1; }

.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- 面包屑 ---------- */
.breadcrumbs {
  padding-block: 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.breadcrumbs > ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

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

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

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

.breadcrumbs a:hover { color: var(--lime); }

/* ---------- 纸白阅读区 ---------- */
.paper-band {
  background: var(--paper);
  color: #3A322A;
  border-block: 1px solid rgba(36, 28, 22, 0.16);
}

.paper-band h1, .paper-band h2, .paper-band h3, .paper-band h4 { color: var(--brown); }
.paper-band p, .paper-band li, .paper-band dd, .paper-band dt { color: #3A322A; }
.paper-band .eyebrow { color: #9B4A1D; }
.paper-band a { color: #8A3F13; }
.paper-band .card { background: #FBF6EA; border-color: rgba(36, 28, 22, 0.18); }

/* ---------- 主题筛选条 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--structure);
  border-radius: var(--r-md);
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.filter-btn {
  appearance: none;
  -webkit-appearance: none;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.filter-btn:hover {
  color: var(--text);
  background: rgba(56, 82, 74, 0.45);
}

.filter-btn[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: #0B1F1A;
}

/* ---------- 显现 ---------- */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

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

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 220;
  padding: 0.62rem 1.05rem;
  border-radius: var(--r-sm);
  background: var(--lime);
  color: #0B1F1A;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible {
  transform: none;
  outline-offset: 2px;
}

/* =========================================================
   页头：固定左轨道
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  width: var(--rail-w);
  background: var(--panel);
  border-right: 1px solid var(--structure);
  transition: width 0.34s var(--ease);
}

.rail-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 16px 14px 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--lime);
  border-radius: var(--r-sm);
  background: rgba(198, 255, 74, 0.08);
}

.brand-mark-dot {
  width: 12px;
  height: 12px;
  border-radius: 1px;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(198, 255, 74, 0.16);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 900;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.brand-tag {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--structure);
  border-radius: var(--r-sm);
  background: rgba(56, 82, 74, 0.25);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.site-header[data-open="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.rail-panel {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  padding: 6px 16px 20px 18px;
  overflow-y: auto;
  overflow-x: hidden;
}

.rail-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--structure);
}

.rail-hint {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--muted);
}

.rail-hint-key {
  padding: 1px 6px;
  border: 1px solid rgba(138, 150, 144, 0.45);
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}

.rail-hint-val {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.rail-sync {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lime);
  text-decoration: none;
}

.rail-sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(198, 255, 74, 0.15);
}

.rail-sync:hover .rail-sync-text { text-decoration: underline; }

.rail-nav {
  flex: 1 1 auto;
  min-height: 0;
}

.rail-nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rail-nav-link {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 10px;
  border-left: 2px solid transparent;
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease);
}

.rail-nav-link:hover {
  background: rgba(56, 82, 74, 0.4);
  color: var(--lime);
}

.rail-nav-link[aria-current="page"] {
  background: rgba(198, 255, 74, 0.1);
  border-left-color: var(--lime);
  color: var(--lime);
  font-weight: 700;
}

.rail-nav-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.92;
}

.rail-nav-label {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rail-nav-idx {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.rail-nav-link[aria-current="page"] .rail-nav-idx { color: var(--lime); }

.rail-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--structure);
}

.rail-cta {
  width: 100%;
  padding-inline: 0.6rem;
}

.rail-cta-glyph {
  display: none;
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1;
}

.rail-secondary {
  align-self: center;
  padding-bottom: 2px;
  border-bottom: 1px dashed rgba(138, 150, 144, 0.45);
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.rail-secondary:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

.rail-grip {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 8px;
  overflow: hidden;
  pointer-events: none;
}

.rail-ticks {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(138, 150, 144, 0.5) 0 1px,
    transparent 1px 14px
  );
  opacity: 0.4;
}

.rail-progress {
  position: absolute;
  top: 0;
  left: 3px;
  width: 2px;
  height: 0;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(198, 255, 74, 0.65);
  transition: height 0.12s linear;
}

/* ---------- 桌面折叠态 ---------- */
@media (min-width: 1024px) {
  html[data-rail="collapsed"] { --rail-w: var(--rail-w-min); }

  html[data-rail="collapsed"] .brand-text,
  html[data-rail="collapsed"] .rail-meta,
  html[data-rail="collapsed"] .rail-nav-label,
  html[data-rail="collapsed"] .rail-nav-idx,
  html[data-rail="collapsed"] .rail-secondary,
  html[data-rail="collapsed"] .rail-cta-text {
    display: none;
  }

  html[data-rail="collapsed"] .rail-cta-glyph { display: block; }

  html[data-rail="collapsed"] .rail-bar {
    justify-content: center;
    padding-inline: 10px;
  }

  html[data-rail="collapsed"] .rail-panel {
    align-items: center;
    padding-inline: 10px;
  }

  html[data-rail="collapsed"] .rail-nav,
  html[data-rail="collapsed"] .rail-foot,
  html[data-rail="collapsed"] .rail-nav-list {
    width: 100%;
    align-items: center;
  }

  html[data-rail="collapsed"] .rail-nav-link {
    grid-template-columns: 20px;
    justify-content: center;
    gap: 0;
    padding: 12px 0;
    width: 100%;
  }

  html[data-rail="collapsed"] .rail-cta {
    width: 44px;
    height: 44px;
    padding: 0;
  }
}

/* ---------- 移动 / 平板 ---------- */
@media (max-width: 1023px) {
  body {
    padding-left: 0;
    padding-top: var(--bar-h);
    background-image:
      linear-gradient(90deg, rgba(56, 82, 74, 0.18) 1px, transparent 1px),
      radial-gradient(120% 60% at 80% -10%, rgba(56, 82, 74, 0.45), transparent 65%);
    background-attachment: scroll, scroll;
  }

  .site-header {
    bottom: auto;
    right: 0;
    width: 100%;
    height: var(--bar-h);
    background: rgba(11, 20, 18, 0.96);
    border-right: 0;
    border-bottom: 1px solid var(--structure);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .rail-bar {
    width: 100%;
    height: var(--bar-h);
    padding: 0 16px 0 18px;
  }

  .nav-toggle { display: flex; }

  .rail-panel {
    position: fixed;
    top: var(--bar-h);
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100dvh - var(--bar-h));
    padding: 18px 18px 26px;
    background: var(--panel);
    border-bottom: 1px solid var(--structure);
    box-shadow: 0 40px 60px -30px #000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.22s var(--ease), transform 0.26s var(--ease),
                visibility 0.22s var(--ease);
  }

  .site-header[data-open="true"] .rail-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .rail-nav { flex: 0 0 auto; }

  .rail-grip { display: none; }
}

@media (max-width: 560px) {
  .brand-tag { display: none; }
  .rail-nav-link { font-size: 1rem; padding: 13px 10px; }
}

/* =========================================================
   页脚
   ========================================================= */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  padding: clamp(40px, 5vw, 72px) clamp(18px, 3.4vw, 48px) 0;
  background: var(--panel);
  border-top: 1px solid var(--structure);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 56px);
  max-width: 1280px;
  margin-inline: auto;
  padding-bottom: clamp(28px, 4vw, 48px);
}

.footer-brand-line {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--text);
}

.footer-tag {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
}

.footer-note {
  margin-top: 14px;
  max-width: 40ch;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
}

.footer-head {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
}

.footer-links a {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  color: var(--text);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-links a:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.footer-contact-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(56, 82, 74, 0.5);
}

.footer-key {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.footer-val {
  color: var(--text);
  font-size: 0.88rem;
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  max-width: 1280px;
  margin-inline: auto;
  padding: 20px 0 28px;
  border-top: 1px solid var(--structure);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal a {
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.footer-legal a:hover { color: var(--lime); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-legal { gap: 14px; }
}

/* ---------- 减弱动效 ---------- */
@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-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
