/* ============================================================
   博万体育 · 共享外壳 /assets/site.css
   设计母题：夜间赛场控制台 · 左侧轨道 · 蓝图网格 · 珠宝色分区
   ============================================================ */

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

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

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

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

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

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

a { color: inherit; }

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

/* ---------- 2. Tokens ---------- */
:root {
  /* 色彩 */
  --navy-900: #061424;
  --navy-800: #0A1F33;
  --navy-700: #102B44;
  --teal-deep: #0E4F4A;
  --indigo-deep: #2A2350;
  --wine-deep: #4A1730;
  --cyan: #3BF2E2;
  --orange: #FF7A2F;
  --paper: #F4EFE6;
  --mist: #AFC3CF;
  --hairline: #24445A;
  --mint: #4CE0A6;

  --cyan-a08: rgba(59, 242, 226, 0.08);
  --cyan-a30: rgba(59, 242, 226, 0.30);
  --cyan-a45: rgba(59, 242, 226, 0.45);
  --paper-a12: rgba(244, 239, 230, 0.12);

  /* 字体 */
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", ui-monospace,
    "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  /* 尺度 */
  --rail-w: 196px;
  --header-h: 64px;
  --content-max: 1200px;
  --gutter: clamp(18px, 4vw, 56px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 1440px) {
  :root { --rail-w: 216px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- 3. 中文排版基底 ---------- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: var(--paper);
  background-color: var(--navy-900);
  background-image:
    radial-gradient(110% 55% at 82% -8%, rgba(14, 79, 74, 0.55), transparent 62%),
    radial-gradient(90% 48% at 6% 2%, rgba(59, 242, 226, 0.10), transparent 68%),
    linear-gradient(to right, rgba(36, 68, 90, 0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(36, 68, 90, 0.22) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 64px 64px, 64px 64px;
  background-attachment: fixed;
  min-height: 100vh;
  padding-left: var(--rail-w);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.7vw, 2.15rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }

p { text-wrap: pretty; }

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

::selection {
  background: var(--cyan);
  color: #04141c;
}

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

/* ---------- 4. 布局容器 / 网格 ---------- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1440px; }
.container--narrow { max-width: 780px; }

.section { padding-block: clamp(40px, 6vw, 78px); }
.section--tight { padding-block: clamp(26px, 4vw, 46px); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: clamp(22px, 3vw, 36px);
}

.section__title { color: var(--paper); }

.section__note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.blueprint {
  position: relative;
  background-image:
    linear-gradient(to right, rgba(36, 68, 90, 0.42) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(36, 68, 90, 0.42) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hairline {
  height: 0;
  border: 0;
  border-top: 1px solid var(--hairline);
  margin-block: clamp(20px, 3vw, 32px);
}

/* ---------- 5. 文本原子组件 ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  line-height: 1.4;
}
.kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

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

.ts {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(175, 195, 207, 0.88);
  line-height: 1.4;
}

.data-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--mist);
  background: rgba(16, 43, 68, 0.55);
  border: 1px solid rgba(36, 68, 90, 0.95);
  border-radius: 999px;
  white-space: nowrap;
}
.tag--signal { color: var(--cyan); border-color: var(--cyan-a45); }
.tag--live { color: var(--mint); border-color: rgba(76, 224, 166, 0.45); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease), gap 0.2s var(--ease);
}
.link-arrow::after { content: "→"; }
.link-arrow:hover { border-bottom-color: var(--cyan); gap: 12px; }

/* ---------- 6. 面板 / 按钮 ---------- */
.panel {
  position: relative;
  background:
    linear-gradient(158deg, rgba(16, 43, 68, 0.92), rgba(10, 31, 51, 0.94));
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: 0 20px 44px -38px #000;
}

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-bd: var(--hairline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--signal {
  --btn-bg: var(--orange);
  --btn-fg: #1B0A02;
  --btn-bd: var(--orange);
  box-shadow: 0 8px 20px -12px rgba(255, 122, 47, 0.95);
}
.btn--signal:hover { box-shadow: 0 12px 26px -12px rgba(255, 122, 47, 1); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-bd: var(--cyan-a30);
}
.btn--ghost:hover {
  --btn-fg: var(--cyan);
  --btn-bd: var(--cyan);
  background: var(--cyan-a08);
}

.btn--cyan {
  --btn-bg: var(--cyan);
  --btn-fg: #04141c;
  --btn-bd: var(--cyan);
}
.btn--cyan:hover { box-shadow: 0 12px 26px -14px rgba(59, 242, 226, 0.9); }

.btn--block { width: 100%; }
.btn--sm { min-height: 36px; padding: 7px 13px; font-size: 12px; }

/* ---------- 7. 面包屑 ---------- */
.crumbs {
  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(--mist);
}
.crumbs a {
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.crumbs a:hover { color: var(--cyan); }
.crumbs__sep { color: rgba(175, 195, 207, 0.42); }
.crumbs [aria-current="page"] { color: var(--paper); }

/* ---------- 8. 图片容器基础 ---------- */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(59, 242, 226, 0.10), transparent 46%),
    linear-gradient(200deg, rgba(42, 35, 80, 0.55), transparent 60%),
    var(--navy-800);
}
.media-frame > img,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06) brightness(0.92);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(59, 242, 226, 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 242, 226, 0.16) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
  mix-blend-mode: screen;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame__stamp {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 4px 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(4, 16, 28, 0.82);
  border: 1px solid var(--cyan-a45);
}
.media-frame__cap {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

/* ---------- 9. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  transform: translateY(-180%);
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #04141c;
  background: var(--cyan);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.22s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 10. Header · 左侧轨道 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: var(--rail-w);
  padding: 24px 16px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    linear-gradient(184deg, rgba(59, 242, 226, 0.09), transparent 32%),
    linear-gradient(180deg, #08192B, #061424 58%, #040F1B);
  border-right: 1px solid var(--hairline);
  box-shadow: inset -1px 0 0 rgba(59, 242, 226, 0.07), 14px 0 44px -40px #000;
}

.rail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* 品牌 */
.brand {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 11px;
  row-gap: 1px;
  text-decoration: none;
  color: var(--paper);
}
.brand__mark {
  grid-row: span 2;
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cyan);
  border: 1px solid var(--cyan-a45);
  background: linear-gradient(140deg, rgba(59, 242, 226, 0.18), rgba(59, 242, 226, 0));
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.brand__mark::before,
.brand__mark::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border: 1px solid var(--orange);
  opacity: 0.85;
}
.brand__mark::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.brand__mark::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.brand:hover .brand__mark { border-color: var(--cyan); color: var(--paper); }

.brand__name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.15;
}
.brand__tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(175, 195, 207, 0.8);
  line-height: 1.4;
}

/* 轨道辅助文字 */
.rail-note {
  padding-left: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
  border-left: 2px solid var(--cyan-a45);
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-a08);
  border: 1px solid var(--cyan-a30);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.nav-toggle:hover { background: rgba(59, 242, 226, 0.14); border-color: var(--cyan); }
.nav-toggle__bars {
  position: relative;
  width: 16px;
  height: 9px;
  display: block;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 7.5px; }
.site-header[data-open="true"] .nav-toggle__bars::before { top: 3.75px; transform: rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bars::after { top: 3.75px; transform: rotate(-45deg); }
.nav-toggle__text { line-height: 1; }

/* 导航 */
.site-nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}
.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.site-nav__item { min-width: 0; }

.site-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px 9px 9px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--mist);
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: color 0.18s var(--ease), background 0.18s var(--ease),
    border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.site-nav__link:hover {
  color: var(--paper);
  background: var(--cyan-a08);
  border-left-color: var(--cyan-a45);
  transform: translateX(2px);
}
.site-nav__link[aria-current="page"] {
  color: #04141c;
  font-weight: 700;
  background: linear-gradient(90deg, var(--cyan), rgba(59, 242, 226, 0.16));
  border-left-color: var(--orange);
}

.site-nav__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(175, 195, 207, 0.62);
  transition: color 0.18s var(--ease);
}
.site-nav__link:hover .site-nav__idx { color: var(--cyan); }
.site-nav__link[aria-current="page"] .site-nav__idx { color: rgba(4, 20, 28, 0.72); }

.rail-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(36, 68, 90, 0.85);
}

.rail-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(36, 68, 90, 0.85);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(175, 195, 207, 0.82);
  line-height: 1.6;
}
.rail-meta__dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(76, 224, 166, 0.16);
}

/* 阅读进度光带 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  z-index: 90;
  height: 2px;
  pointer-events: none;
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan) 55%, var(--orange) 100%);
  opacity: 0.92;
}

/* ---------- 11. Header · 平板与手机 ---------- */
@media (max-width: 1023px) {
  body {
    padding-left: 0;
    padding-top: var(--header-h);
  }

  body.nav-open { overflow: hidden; }

  .site-header {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: var(--header-h);
    padding: 0 16px;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
    background:
      linear-gradient(180deg, rgba(10, 31, 51, 0.96), rgba(6, 20, 36, 0.97));
    box-shadow: 0 1px 0 rgba(59, 242, 226, 0.08), 0 18px 40px -32px #000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .rail-top { flex: none; }

  .site-header .brand__mark { width: 36px; height: 36px; font-size: 12.5px; }
  .site-header .brand__name { font-size: 16.5px; }
  .site-header .brand__tag { display: none; }

  .rail-note { display: none; }

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

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 75;
    flex: none;
    margin: 0;
    padding: 24px 20px 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      radial-gradient(100% 60% at 100% 0%, rgba(42, 35, 80, 0.62), transparent 62%),
      linear-gradient(180deg, #08192B, #04101C);
    border-top: 1px solid var(--hairline);
    transform: translateX(-102%);
    visibility: hidden;
    opacity: 0;
    transition: transform 0.32s var(--ease), opacity 0.28s var(--ease),
      visibility 0.32s var(--ease);
  }

  .site-header[data-open="true"] .site-nav {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
  }

  .site-nav__list { gap: 2px; }
  .site-nav__link { font-size: 17px; padding: 13px 12px; }
  .site-nav__idx { font-size: 11px; }

  .rail-actions { margin-top: 6px; padding-top: 18px; }
  .rail-actions .btn { min-height: 48px; font-size: 15px; }

  .rail-meta { font-size: 10px; }

  .scroll-progress { left: 0; top: var(--header-h); }
}

@media (max-width: 420px) {
  .site-header { padding: 0 12px; gap: 8px; }
  .nav-toggle__text { display: none; }
}

/* ---------- 12. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 10vw, 120px);
  padding-block: clamp(40px, 6vw, 64px) 26px;
  color: var(--mist);
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(42, 35, 80, 0.52), transparent 56%),
    radial-gradient(90% 70% at 92% 8%, rgba(74, 23, 48, 0.4), transparent 60%),
    linear-gradient(180deg, #071726, #04101C);
  border-top: 1px solid var(--hairline);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan) 0%, rgba(59, 242, 226, 0.06) 46%, rgba(255, 122, 47, 0.7) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.35fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.brand--footer .brand__mark { width: 38px; height: 38px; font-size: 13px; }
.brand--footer .brand__name { font-size: 19px; }

.footer-statement {
  max-width: 32ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--paper);
}

.footer-col { min-width: 0; }

.footer-col__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  border-bottom: 1px solid rgba(36, 68, 90, 0.9);
}
.footer-col__title::after {
  content: "◆";
  font-size: 8px;
  color: var(--cyan);
  line-height: 1;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}
.footer-links a::before {
  content: "";
  flex: none;
  width: 6px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
  transition: width 0.18s var(--ease);
}
.footer-links a:hover { color: var(--cyan); transform: translateX(2px); }
.footer-links a:hover::before { width: 13px; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-style: normal;
  font-size: 14px;
}
.footer-contact__row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(175, 195, 207, 0.68);
  line-height: 1.4;
}
.footer-contact a {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--paper);
  text-decoration: none;
  word-break: break-word;
  border-bottom: 1px solid rgba(59, 242, 226, 0.26);
  padding-bottom: 1px;
  align-self: flex-start;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.footer-contact a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.footer-contact__address { color: var(--mist); line-height: 1.7; }
.footer-contact__note {
  margin-top: 2px;
  padding-left: 10px;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(175, 195, 207, 0.78);
  border-left: 2px solid rgba(59, 242, 226, 0.34);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 18px;
  border-top: 1px solid rgba(36, 68, 90, 0.85);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(175, 195, 207, 0.72);
}
.footer-base__icp { color: rgba(175, 195, 207, 0.86); }
.footer-base__copy { color: rgba(175, 195, 207, 0.6); }

.footer-base__aux {
  display: flex;
  gap: 18px;
  margin-left: auto;
}
.footer-base__aux a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.footer-base__aux a:hover { color: var(--cyan); }

@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .footer-base__aux { margin-left: 0; }
}

/* ---------- 13. 进入动效 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js-ready [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
    will-change: opacity, transform;
  }
  .js-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover,
  .site-nav__link:hover,
  .footer-links a:hover { transform: none; }
}
