/* ===========================================================
   YABOSPORTS 中文站 — 共享样式表 /assets/site.css
   头部 · 页脚 · 通用组件 · 排版 · 响应式
   =========================================================== */

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

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

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

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

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

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

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

[hidden] { display: none !important; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  /* 色彩 */
  --night: #051318;
  --cabin: #0B2831;
  --panel: #123A44;
  --neon: #25F5C2;
  --heat: #FF6B2C;
  --amber: #FFC24B;
  --mist: #E9F5F3;
  --slate: #8FA9AE;
  --indigo: #3B2C6E;
  --wine: #7C2140;

  --line: rgba(37, 245, 194, .20);
  --line-soft: rgba(143, 169, 174, .24);
  --line-faint: rgba(143, 169, 174, .12);

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

  /* 尺度 */
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --cut: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 页面基底 ---------- */
body {
  min-height: 100vh;
  background-color: var(--night);
  background-image:
    radial-gradient(120% 82% at 100% 0%, rgba(59, 44, 110, .50) 0%, rgba(59, 44, 110, 0) 56%),
    radial-gradient(92% 62% at 0% 100%, rgba(37, 245, 194, .07) 0%, rgba(37, 245, 194, 0) 60%),
    linear-gradient(180deg, #051318 0%, #041115 58%, #051318 100%);
  background-attachment: fixed;
  color: var(--mist);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.85;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: var(--panel); border: 2px solid var(--night); }

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

::selection { background: rgba(37, 245, 194, .3); color: var(--mist); }

#main-content { display: block; }

/* ---------- 4. 排版 ---------- */
h1, h2, h3, h4 {
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--mist);
  text-wrap: balance;
}

h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.05; }
h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; }
h3 { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.3; font-weight: 800; }
h4 { font-size: 18px; line-height: 1.4; font-weight: 800; }

p { font-size: 17px; line-height: 1.85; }

.prose > * + * { margin-top: 1.4em; }
.prose p { max-width: 34em; color: var(--mist); }
.prose--wide p { max-width: 46em; }
.prose strong { color: var(--neon); font-weight: 700; }
.prose a { color: var(--neon); border-bottom: 1px solid rgba(37, 245, 194, .45); }
.prose a:hover { border-bottom-color: var(--neon); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 14px;
}

.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.8;
  color: var(--slate);
  max-width: 34em;
}

.muted { color: var(--slate); }
.accent { color: var(--neon); }
.hot { color: var(--heat); }

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

.wrap--narrow { max-width: 860px; }

.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tight { padding: clamp(32px, 4.5vw, 60px) 0; }

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

.section-head__aside {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--slate);
}

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

.hairline {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, var(--line), rgba(37, 245, 194, 0));
}

.stack > * + * { margin-top: 22px; }
.stack-sm > * + * { margin-top: 10px; }

/* ---------- 6. 栅格 ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

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

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

/* ---------- 7. 切角面板 ---------- */
.panel {
  position: relative;
  background: var(--cabin);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  clip-path: polygon(
    var(--cut) 0, 100% 0,
    100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%,
    0 100%, 0 var(--cut)
  );
  padding: clamp(20px, 3vw, 32px);
}

.panel--tint { background: var(--panel); }
.panel--flush { padding: 0; }

.panel--outline {
  background: rgba(11, 40, 49, .55);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  padding: 13px 24px;
  min-height: 46px;
  clip-path: polygon(
    11px 0, 100% 0,
    100% calc(100% - 11px), calc(100% - 11px) 100%,
    0 100%, 0 11px
  );
  transition: background-color .18s var(--ease), color .18s var(--ease),
    box-shadow .18s var(--ease), transform .18s var(--ease);
}

.btn--primary { background: var(--neon); color: #04211C; }
.btn--primary:hover { background: var(--amber); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--mist);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.btn--ghost:hover { color: var(--neon); box-shadow: inset 0 0 0 1px var(--neon); }

.btn--heat { background: var(--heat); color: #200A02; }
.btn--heat:hover { background: var(--amber); transform: translateY(-2px); }

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

/* ---------- 9. 数据字与标签 ---------- */
.data {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -.01em;
}

.data--sm { font-size: 13px; letter-spacing: .06em; }
.data--lg { font-size: clamp(30px, 4.4vw, 44px); line-height: 1; }
.data--xl { font-size: clamp(40px, 7vw, 64px); line-height: 1; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.6;
  padding: 3px 9px;
  color: var(--slate);
  background: rgba(18, 58, 68, .5);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  clip-path: polygon(
    6px 0, 100% 0,
    100% calc(100% - 6px), calc(100% - 6px) 100%,
    0 100%, 0 6px
  );
}

.tag--live {
  color: var(--heat);
  background: rgba(255, 107, 44, .12);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 44, .5);
}

.tag--out {
  color: #FFD5E2;
  background: rgba(124, 33, 64, .55);
  box-shadow: inset 0 0 0 1px rgba(124, 33, 64, .95);
}

.tag--doubt {
  color: var(--amber);
  background: rgba(255, 194, 75, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 194, 75, .5);
}

.tag--ok {
  color: var(--neon);
  background: rgba(37, 245, 194, .09);
  box-shadow: inset 0 0 0 1px rgba(37, 245, 194, .45);
}

/* ---------- 10. 图片容器 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--cabin);
  background-image:
    linear-gradient(140deg, rgba(18, 58, 68, .95) 0%, rgba(11, 40, 49, .65) 100%),
    repeating-linear-gradient(45deg, rgba(37, 245, 194, .07) 0 1px, transparent 1px 13px);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  clip-path: polygon(
    20px 0, 100% 0,
    100% calc(100% - 20px), calc(100% - 20px) 100%,
    0 100%, 0 20px
  );
}

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

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

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mist);
  background: linear-gradient(0deg, rgba(5, 19, 24, .94) 0%, rgba(5, 19, 24, 0) 100%);
}

/* ---------- 11. 面包屑 ---------- */
.breadcrumb {
  padding: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--slate);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }

.breadcrumb li::after {
  content: "/";
  color: rgba(143, 169, 174, .45);
}

.breadcrumb li:last-child::after { content: ""; }

.breadcrumb a:hover { color: var(--neon); }

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

/* ---------- 12. 交互组件 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 8px 15px;
  min-height: 38px;
  color: var(--slate);
  background: rgba(18, 58, 68, .45);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  clip-path: polygon(
    8px 0, 100% 0,
    100% calc(100% - 8px), calc(100% - 8px) 100%,
    0 100%, 0 8px
  );
  transition: color .16s var(--ease), background-color .16s var(--ease),
    box-shadow .16s var(--ease);
}

.filter-chip:hover {
  color: var(--mist);
  box-shadow: inset 0 0 0 1px var(--neon);
}

.filter-chip[aria-pressed="true"] {
  color: #04211C;
  background: var(--neon);
  box-shadow: inset 0 0 0 1px var(--neon);
}

.expand-panel {
  margin-top: 12px;
  padding: 14px 16px;
  background: rgba(11, 40, 49, .8);
  border-left: 2px solid var(--neon);
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate);
}

.expand-panel strong { color: var(--mist); }

.stamp {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--heat);
  border-bottom: 1px dashed rgba(255, 107, 44, .6);
  transition: color .16s var(--ease);
}

.stamp:hover { color: var(--amber); }

.stamp-note {
  margin-top: 10px;
  padding-left: 12px;
  border-left: 2px solid var(--amber);
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
  font-family: var(--font-sans);
}

/* ---------- 13. 顶部导航 ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -70px;
  z-index: 120;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #04211C;
  background: var(--neon);
  clip-path: polygon(
    8px 0, 100% 0,
    100% calc(100% - 8px), calc(100% - 8px) 100%,
    0 100%, 0 8px
  );
  transition: top .18s var(--ease);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(5, 19, 24, .93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(37, 245, 194, 0) 0%, rgba(37, 245, 194, .5) 50%, rgba(37, 245, 194, 0) 100%);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--neon);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .12s linear;
  pointer-events: none;
}

.header-rail {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 12px var(--pad);
  min-height: 74px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.brand__mark {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--mist);
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--neon);
  padding: 2px 7px;
  box-shadow: inset 0 0 0 1px rgba(37, 245, 194, .45);
  clip-path: polygon(
    5px 0, 100% 0,
    100% calc(100% - 5px), calc(100% - 5px) 100%,
    0 100%, 0 5px
  );
}

/* 比赛日刻度带 */
.header-ticker {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 26px);
  min-width: 0;
  height: 42px;
  padding: 0 clamp(12px, 2vw, 22px);
  border-left: 1px solid var(--line-faint);
  border-right: 1px solid var(--line-faint);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.header-ticker::-webkit-scrollbar { display: none; }

.tick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--slate);
}

.tick__dot {
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--neon);
  transform: rotate(45deg);
}

.tick__time { color: var(--mist); }

.tick--live .tick__dot {
  background: var(--heat);
  box-shadow: 0 0 0 3px rgba(255, 107, 44, .18);
}

.tick--live .tick__time { color: var(--heat); }

/* 导航 */
.site-nav { min-width: 0; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 22px);
}

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--slate);
  white-space: nowrap;
  transition: color .18s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--neon);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s var(--ease);
}

.nav-list a:hover { color: var(--mist); }

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-list a[aria-current="page"] { color: var(--neon); }

/* 右端动作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  color: #04211C;
  background: var(--neon);
  clip-path: polygon(
    10px 0, 100% 0,
    100% calc(100% - 10px), calc(100% - 10px) 100%,
    0 100%, 0 10px
  );
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}

.header-cta:hover { background: var(--amber); transform: translateY(-1px); }

/* 移动端折叠按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--neon);
  background: rgba(18, 58, 68, .55);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(
    8px 0, 100% 0,
    100% calc(100% - 8px), calc(100% - 8px) 100%,
    0 100%, 0 8px
  );
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 16px;
  height: 14px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: var(--neon);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

[data-nav-toggle][aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

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

[data-nav-toggle][aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- 14. 移动端导航状态 ---------- */
@media (max-width: 1180px) {
  .nav-list a { font-size: 14px; }
  .header-cta { padding: 10px 16px; font-size: 13.5px; }
}

@media (max-width: 1024px) {
  .header-rail {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "ticker ticker"
      "nav nav";
    gap: 0;
    padding: 10px var(--pad) 0;
    min-height: 0;
  }

  .brand { grid-area: brand; }
  .header-actions { grid-area: actions; }
  .nav-toggle { display: inline-flex; }

  .header-ticker {
    grid-area: ticker;
    width: 100%;
    height: 40px;
    padding: 0;
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--line-faint);
    margin-top: 8px;
  }

  .site-nav {
    grid-area: nav;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s var(--ease);
  }

  .site-nav[data-open] {
    max-height: min(74vh, 560px);
    overflow-y: auto;
    background: rgba(8, 32, 39, .98);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 20px;
  }

  .nav-list li { border-bottom: 1px solid var(--line-faint); }

  .nav-list a {
    display: block;
    padding: 14px 2px;
    font-size: 16px;
  }

  .nav-list a::after { left: 0; right: auto; width: 28px; bottom: 8px; }
}

@media (max-width: 560px) {
  .brand__mark { font-size: 16px; letter-spacing: -.01em; }
  .nav-toggle__label { display: none; }
  .nav-toggle { padding: 10px 12px; }
  .header-cta { padding: 10px 14px; font-size: 13px; }
}

/* ---------- 15. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  border-top: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(11, 40, 49, .72) 0%, rgba(5, 19, 24, 0) 46%),
    var(--night);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(115deg, rgba(59, 44, 110, .30) 0 1px, transparent 1px 118px),
    radial-gradient(80% 130% at 100% 0%, rgba(37, 245, 194, .07) 0%, rgba(37, 245, 194, 0) 60%);
}

.footer-rail {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 76px) var(--pad) clamp(28px, 3.5vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 48px);
}

.footer-brand__mark {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--mist);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.footer-brand__mark span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--neon);
  padding: 2px 7px;
  box-shadow: inset 0 0 0 1px rgba(37, 245, 194, .45);
  clip-path: polygon(
    5px 0, 100% 0,
    100% calc(100% - 5px), calc(100% - 5px) 100%,
    0 100%, 0 5px
  );
}

.footer-brand__text {
  margin-top: 16px;
  max-width: 30em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate);
}

.footer-pulse {
  display: inline-flex;
  gap: 7px;
  margin-top: 20px;
}

.footer-pulse span {
  width: 9px;
  height: 9px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  transform: rotate(45deg);
}

.footer-pulse span:nth-child(2) { background: var(--neon); box-shadow: none; }
.footer-pulse span:nth-child(3) { background: var(--indigo); box-shadow: none; }

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 18px;
}

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

.footer-list a {
  font-size: 15px;
  color: var(--slate);
  transition: color .16s var(--ease);
}

.footer-list a:hover { color: var(--neon); }

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

.footer-contact__item { display: flex; flex-direction: column; gap: 3px; }

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(143, 169, 174, .8);
}

.footer-contact__value {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--mist);
  word-break: break-word;
}

.footer-note {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(143, 169, 174, .85);
  max-width: 30em;
}

.footer-base {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 20px var(--pad) clamp(30px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(143, 169, 174, .85);
}

.footer-base__left,
.footer-base__right { margin: 0; }

@media (max-width: 1040px) {
  .footer-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .footer-rail { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ---------- 16. 辅助 ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* ---------- 17. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .reveal { opacity: 1; transform: none; }
  .scroll-progress { transition: none; }
}
