/* ============================================================
   火狐体育赛场 · 中文专区 — 共享样式 /assets/site.css
   夜赛指挥台：夜炭底 · 橙红脉冲 · 荧光青绿状态 · 等宽坐标索引
   ============================================================ */

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

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

body { margin: 0; }

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

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

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

table { width: 100%; border-collapse: collapse; }

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

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

/* ---------- 1. 变量 ---------- */
:root {
  /* 矿物色 */
  --ink-900: #101214;
  --ink-850: #15181A;
  --ink-800: #17191C;
  --ink-700: #24272B;
  --ink-600: #2E3237;
  --cool: #7F8891;
  --fog: #A9B7C2;
  --paper: #F4EFE4;
  --paper-2: #E7E0D1;
  --pulse: #F04A1D;
  --ember: #A62E10;
  --signal: #3CF2B0;
  --moss: #5F6F55;
  --clay: #B96445;

  /* 文本 */
  --text-strong: #F4EFE4;
  --text-body: #D6D0C3;
  --text-muted: #8F959B;
  --text-ink: #17191C;
  --text-ink-soft: #4C5257;

  /* 线条 */
  --line: rgba(169, 183, 194, 0.18);
  --line-soft: rgba(169, 183, 194, 0.10);
  --line-ink: rgba(23, 25, 28, 0.14);

  /* 字体 */
  --font-display: "Barlow Condensed", "Oswald", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  /* 尺度 */
  --shell: 1280px;
  --gutter: clamp(18px, 4vw, 44px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.72, 0.28, 1);
  --shadow-panel: 0 16px 38px rgba(0, 0, 0, 0.30);
}

/* ---------- 2. 基础排版 ---------- */
body {
  background-color: var(--ink-900);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (min-width: 1200px) {
  body { font-size: 17px; }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--text-strong);
}

h1 { font-size: clamp(2.4rem, 6.4vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.25; }

p { max-width: 72ch; }

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

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

::selection {
  background: var(--pulse);
  color: #140A06;
}

/* ---------- 3. 通用工具 ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.rule {
  height: 1px;
  border: 0;
  background: var(--line);
}

.tick-scale {
  height: 10px;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cool);
}

.lede {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.85;
  color: var(--text-body);
  max-width: 62ch;
}

/* ---------- 4. 跳转链接 / 进度条 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--pulse);
  color: #140A06;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 250;
  pointer-events: none;
  background: rgba(169, 183, 194, 0.10);
}

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

/* ---------- 5. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(16, 18, 20, 0.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
}

.signal-bar {
  display: none;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(240, 74, 29, 0.12), rgba(16, 18, 20, 0) 48%);
}

.signal-bar__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: 30px;
}

.signal-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  max-width: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cool);
  white-space: nowrap;
}

.signal-bar__item--end {
  margin-left: auto;
  color: rgba(127, 136, 145, 0.78);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(240, 74, 29, 0.62);
  color: var(--pulse);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  position: relative;
  background: rgba(240, 74, 29, 0.07);
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease);
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(240, 74, 29, 0.20);
  pointer-events: none;
}

.brand:hover .brand__mark {
  background: rgba(240, 74, 29, 0.16);
  border-color: var(--pulse);
}

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

.brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.05em;
  color: var(--text-strong);
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cool);
}

.header-nav {
  margin-left: auto;
}

.header-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.1vw, 16px);
}

.header-nav__item { flex: none; }

.header-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 6px;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--fog);
  transition: color 0.18s var(--ease);
}

.header-nav__link::before {
  content: attr(data-index);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0;
  color: rgba(127, 136, 145, 0.8);
  transition: color 0.18s var(--ease);
}

.header-nav__link::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 3px;
  height: 2px;
  background: var(--pulse);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s var(--ease);
}

.header-nav__link:hover { color: var(--paper); }
.header-nav__link:hover::after { transform: scaleX(1); }

.header-nav__link[aria-current="page"] { color: var(--paper); }
.header-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.header-nav__link[aria-current="page"]::before { color: var(--pulse); }

.header-actions {
  display: none;
  align-items: center;
  gap: 10px;
  flex: none;
}

/* 移动导航按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0 11px;
  border: 1px solid rgba(169, 183, 194, 0.30);
  flex: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-toggle:hover { border-color: rgba(240, 74, 29, 0.6); }

.nav-toggle[aria-expanded="true"] {
  border-color: var(--pulse);
  background: rgba(240, 74, 29, 0.10);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 100%;
}

.nav-toggle__bar {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--paper);
  transform-origin: center;
  transition: transform 0.24s var(--ease), opacity 0.18s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; transform: scaleX(0.3); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* 移动端导航面板 */
@media (max-width: 1023px) {
  .header-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 190;
    margin-left: 0;
    background: var(--ink-850);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-panel);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  .header-nav[data-open] {
    max-height: min(76vh, 560px);
    overflow-y: auto;
    visibility: visible;
  }

  .header-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 14px;
  }

  .header-nav__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px var(--gutter);
    font-size: 16px;
    color: var(--text-body);
    border-bottom: 1px solid var(--line-soft);
  }

  .header-nav__link::before { font-size: 11px; }
  .header-nav__link::after { display: none; }

  .header-nav__item:last-child .header-nav__link { border-bottom: 0; }

  .header-nav__link[aria-current="page"] {
    color: var(--text-strong);
    background: rgba(240, 74, 29, 0.10);
    box-shadow: inset 3px 0 0 var(--pulse);
  }

  .header-nav__link[aria-current="page"]::before { color: var(--pulse); }
}

@media (min-width: 1024px) {
  .signal-bar { display: block; }
  .site-header__inner { height: 68px; }
  .header-actions { display: flex; }
  .nav-toggle { display: none; }
}

/* 吸底入口条 */
.mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 180;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(169, 183, 194, 0.20);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-dock__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 6px 8px;
  background: var(--ink-900);
  color: var(--text-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.mobile-dock__link:hover { color: var(--paper); }

.mobile-dock__link--primary {
  background: var(--pulse);
  color: #140A06;
}

.mobile-dock__index {
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0.7;
}

@media (max-width: 1023px) {
  body { padding-bottom: 56px; }
  html { scroll-padding-top: 78px; }
}

@media (min-width: 1024px) {
  .mobile-dock { display: none; }
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.btn--primary {
  background: var(--pulse);
  color: #140A06;
  box-shadow: 0 0 0 0 rgba(240, 74, 29, 0.42);
}

.btn--primary:hover {
  background: #FF5A2B;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(169, 183, 194, 0.34);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--pulse);
  color: var(--paper);
  background: rgba(240, 74, 29, 0.10);
}

.btn--block { width: 100%; }

.btn__arrow {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}

.btn:hover .btn__arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pulse);
}

.link-arrow::after {
  content: "→";
  font-family: var(--font-mono);
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 7. 章节与布局 ---------- */
.section { padding-block: clamp(52px, 7vw, 104px); }
.section--tight { padding-block: clamp(32px, 4vw, 60px); }
.section--deep { background: var(--ink-900); }
.section--panel { background: var(--ink-700); }

.section--paper {
  background: var(--paper);
  color: var(--text-ink);
  background-image: radial-gradient(rgba(23, 25, 28, 0.045) 1px, transparent 1px);
  background-size: 22px 22px;
}

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

.section--paper p { color: var(--text-ink-soft); }

.section--paper .section-head__index { color: #6A7278; }
.section--paper .section-head__note { color: var(--text-ink-soft); }
.section--paper .rule { background: var(--line-ink); }
.section--paper .tick-scale {
  background-image: repeating-linear-gradient(90deg, rgba(23, 25, 28, 0.22) 0 1px, transparent 1px 12px);
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 70ch;
}

.section-head__index {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cool);
}

.section-head__index::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--pulse);
  flex: none;
}

.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
}

.section-head__note {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 62ch;
}

.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 32px);
}

.grid--2 { grid-template-columns: 1fr; }

.grid--split,
.grid--aside { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .grid--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .grid--aside { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
}

.surface {
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-panel);
}

/* ---------- 8. 正文 ---------- */
.prose {
  max-width: 68ch;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.9;
}

.prose > * + * { margin-top: 1.05em; }

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.3;
  margin-top: 1.8em;
  color: var(--text-strong);
}

.prose ul { list-style: none; }
.prose ol { list-style: none; counter-reset: prose-counter; }

.prose li {
  position: relative;
  padding-left: 22px;
}

.prose li + li { margin-top: 0.5em; }

.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 9px;
  height: 1px;
  background: var(--pulse);
}

.prose ol > li { counter-increment: prose-counter; }

.prose ol > li::before {
  content: counter(prose-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--pulse);
}

.section--paper .prose li::before { background: var(--ember); }
.section--paper .prose ol > li::before { color: var(--ember); }

/* ---------- 9. 面包屑 ---------- */
.breadcrumbs {
  border-bottom: 1px solid var(--line-soft);
  padding-block: 16px;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cool);
}

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

.breadcrumbs__link { color: var(--cool); transition: color 0.18s var(--ease); }
.breadcrumbs__link:hover { color: var(--paper); }

.breadcrumbs__sep {
  color: rgba(127, 136, 145, 0.5);
}

.breadcrumbs__current { color: var(--text-strong); }

/* ---------- 10. 状态点与标签 ---------- */
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(60, 242, 176, 0.16);
}

.status-dot--pulse {
  background: var(--pulse);
  box-shadow: 0 0 0 3px rgba(240, 74, 29, 0.18);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fog);
  border: 1px solid var(--line);
  background: rgba(169, 183, 194, 0.06);
  border-radius: var(--radius);
}

.tag--moss {
  color: #A6B995;
  border-color: rgba(95, 111, 85, 0.55);
  background: rgba(95, 111, 85, 0.18);
}

.tag--clay {
  color: #DCA189;
  border-color: rgba(185, 100, 69, 0.55);
  background: rgba(185, 100, 69, 0.16);
}

.tag--signal {
  color: var(--signal);
  border-color: rgba(60, 242, 176, 0.42);
  background: rgba(60, 242, 176, 0.10);
}

.tag--pulse {
  color: #FF9470;
  border-color: rgba(240, 74, 29, 0.52);
  background: rgba(240, 74, 29, 0.14);
}

/* ---------- 11. 图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
}

.media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--ink-600), var(--ink-800));
}

.media-frame--wide .media-frame__img { aspect-ratio: 16 / 9; }
.media-frame--tall .media-frame__img { aspect-ratio: 3 / 4; }
.media-frame--square .media-frame__img { aspect-ratio: 1 / 1; }

.media-frame--clip {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
}

.media-frame__caption {
  display: block;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cool);
  background: var(--ink-850);
  border-top: 1px solid var(--line-soft);
}

.media-frame__body {
  padding: clamp(16px, 2.4vw, 24px);
}

@media (min-width: 900px) {
  .media-frame--tall .media-frame__img { aspect-ratio: 2 / 3; }
}

/* ---------- 12. 滚动显现 ---------- */
html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--ink-900);
  border-top: 1px solid var(--line);
  color: var(--text-body);
  padding-top: clamp(48px, 6vw, 84px);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pulse), rgba(240, 74, 29, 0.12) 46%, var(--signal));
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -84px;
  top: -84px;
  width: 300px;
  height: 300px;
  border: 1px solid var(--line-soft);
  transform: rotate(45deg);
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(32px, 4vw, 48px);
}

.footer-brand { display: grid; gap: 14px; }

.footer-brand__kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cool);
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--paper);
  max-width: none;
}

.footer-brand__sub {
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
}

.footer-scale {
  height: 12px;
  max-width: 360px;
  background-image: repeating-linear-gradient(90deg, rgba(169, 183, 194, 0.45) 0 1px, transparent 1px 13px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.15) 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.15) 100%);
}

.footer-contact {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-left: 2px solid var(--pulse);
  border-radius: var(--radius);
}

.footer-contact__heading {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cool);
}

.footer-contact__list { display: grid; gap: 10px; }

.footer-contact__item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}

.footer-contact__item:first-child { border-top: 0; padding-top: 0; }

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(127, 136, 145, 0.9);
}

.footer-contact__value {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--text-strong);
  word-break: break-word;
}

.footer-note {
  max-width: 46ch;
  font-size: 12px;
  line-height: 1.75;
  color: var(--text-muted);
  padding-left: 12px;
  border-left: 1px solid rgba(185, 100, 69, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding-block: clamp(28px, 3.4vw, 40px);
  border-top: 1px solid var(--line);
}

.footer-col { display: grid; gap: 12px; align-content: start; }

.footer-col__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fog);
}

.footer-col__heading::before {
  content: "";
  width: 12px;
  height: 1px;
  background: var(--pulse);
  flex: none;
}

.footer-list { display: grid; gap: 2px; }

.footer-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-body);
  background-image: linear-gradient(var(--pulse), var(--pulse));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: color 0.2s var(--ease), background-size 0.24s var(--ease);
}

.footer-link:hover {
  color: var(--paper);
  background-size: 100% 1px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  padding-block: 22px 26px;
  border-top: 1px solid var(--line);
}

.footer-bottom__meta,
.footer-bottom__icp,
.footer-bottom__coord {
  max-width: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.7;
  color: var(--cool);
}

.footer-bottom__icp { color: var(--fog); }

.footer-bottom__coord {
  margin-left: auto;
  color: rgba(127, 136, 145, 0.75);
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  .footer-top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

@media (max-width: 639px) {
  .footer-bottom__coord { margin-left: 0; }
}

/* ---------- 14. 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  html.reveal-ready [data-reveal],
  html.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

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

  .btn--primary:hover { transform: none; }
}
