/* ============================================================
   LM赛场 · 共享样式 /assets/site.css
   深夜赛场指挥台：深墨蓝底 + 荧光青绿数据 + 琥珀橙差异标记
   ============================================================ */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ol, ul, pre { margin: 0; }
ol, ul { padding: 0; }
ul[class], ol[class] { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

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

/* ---------- 2. 变量 ---------- */
:root {
  color-scheme: dark;

  --ink-900: #0A1624;
  --ink-850: #0D1B2B;
  --ink-800: #122538;
  --ink-700: #17324A;
  --line: #1E3A4F;
  --mist: #9DB0C2;
  --paper: #F2EFE6;
  --neon: #2FE3A8;
  --neon-soft: #7BF2CE;
  --amber: #F2A13B;
  --clay: #C2704F;
  --moss: #6E8B5A;

  --rail-w: 272px;
  --gutter: clamp(18px, 4.2vw, 46px);
  --wrap-max: 1240px;

  --r-xl: 34px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-pill: 999px;

  --font-title: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-text: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-num: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 180ms;
  --dur-slow: 550ms;
}

/* ---------- 3. 中文排版与基础 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1200px 640px at 88% -12%, rgba(47, 227, 168, .10), transparent 62%),
    radial-gradient(880px 520px at -6% 106%, rgba(242, 161, 59, .07), transparent 60%),
    linear-gradient(180deg, #0A1624 0%, #0A1624 48%, #0B1A29 100%);
  background-repeat: no-repeat;
  color: var(--paper);
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: .008em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--paper);
  text-wrap: balance;
}
h1 { font-size: clamp(30px, 5vw, 40px); }
h2 { font-size: clamp(24px, 3.6vw, 32px); }
h3 { font-size: clamp(20px, 2.6vw, 26px); }
h4 { font-size: 21px; font-weight: 700; letter-spacing: -.012em; }
h5 { font-size: 17px; font-weight: 700; letter-spacing: -.006em; }

strong, b { font-weight: 700; }

.num,
.metric-value,
[data-count],
.rail-idx,
.pill,
.eyebrow,
.rail-meta,
.foot-legal-inner b {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}

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

#main-content { display: block; scroll-margin-block-start: 96px; }

/* ---------- 4. 布局容器与网格 ---------- */
.wrap {
  width: min(calc(100% - var(--gutter) * 2), var(--wrap-max));
  margin-inline: auto;
}
.wrap--narrow { width: min(calc(100% - var(--gutter) * 2), 880px); margin-inline: auto; }

.band { padding-block: clamp(44px, 6.4vw, 88px); }
.band--tight { padding-block: clamp(26px, 4vw, 52px); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 26px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 262px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 196px), 1fr)); }

.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  inset-block-start: -160px;
  inset-inline-start: 14px;
  z-index: 999;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  background: var(--neon);
  color: #05231A;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  transition: inset-block-start var(--dur) var(--ease);
}
.skip-link:focus { inset-block-start: 14px; }

/* ---------- 6. 侧边轨道导航 ---------- */
.rail-head {
  position: sticky;
  inset-block-start: 0;
  z-index: 90;
  background: rgba(10, 22, 36, .93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-block-end: 1px solid var(--line);
}

.rail-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-pulse {
  inline-size: 12px;
  block-size: 12px;
  flex: none;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(47, 227, 168, .16), 0 0 16px rgba(47, 227, 168, .75);
  animation: lmPulse 2.6s var(--ease) infinite;
}
@keyframes lmPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--paper);
}
.brand-sub {
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--mist);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rail-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(18, 37, 56, .8);
  color: var(--mist);
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.rail-toggle:hover { border-color: var(--neon); color: var(--paper); }
.rail-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  inline-size: 16px;
  block-size: 11px;
}
.rail-toggle-bars i {
  display: block;
  block-size: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.rail-head[data-open] .rail-toggle-bars i:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.rail-head[data-open] .rail-toggle-bars i:nth-child(2) { opacity: 0; }
.rail-head[data-open] .rail-toggle-bars i:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

/* 移动端：抽屉 */
.rail-nav {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 100%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: min(74vh, 620px);
  overflow-y: auto;
  padding: 14px var(--gutter) 26px;
  background: rgba(13, 27, 43, .985);
  border-block-end: 1px solid var(--line);
  box-shadow: 0 26px 54px rgba(0, 0, 0, .52);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.rail-head[data-open] .rail-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

.rail-link {
  position: relative;
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  color: var(--mist);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .012em;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.rail-tick {
  justify-self: start;
  inline-size: 4px;
  block-size: 6px;
  border-radius: 4px;
  background: var(--line);
  transition: block-size var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.rail-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rail-idx {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(157, 176, 194, .5);
}
.rail-link:hover { color: var(--paper); background: rgba(157, 176, 194, .07); }
.rail-link:hover .rail-tick { block-size: 14px; background: var(--mist); }
.rail-link[aria-current="page"] {
  color: var(--paper);
  background: rgba(47, 227, 168, .10);
}
.rail-link[aria-current="page"] .rail-tick {
  block-size: 22px;
  background: var(--neon);
  box-shadow: 0 0 14px rgba(47, 227, 168, .75);
}
.rail-link[aria-current="page"] .rail-idx { color: var(--neon-soft); }

.rail-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(18, 37, 56, .72);
  color: var(--mist);
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.quick-chip::before {
  content: "";
  inline-size: 6px;
  block-size: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--amber);
}
.quick-chip:hover {
  border-color: var(--neon);
  color: var(--paper);
  background: rgba(47, 227, 168, .08);
}

.rail-actions { display: flex; }
.rail-cta { width: 100%; }

.rail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block-start: 16px;
  border-block-start: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--mist);
}
.rail-meta b { color: var(--paper); }

/* 桌面端：固定轨道 */
@media (min-width: 1024px) {
  body { padding-inline-start: var(--rail-w); }

  .rail-head {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    inline-size: var(--rail-w);
    display: flex;
    border-block-end: 0;
    border-inline-end: 1px solid var(--line);
    background: rgba(10, 22, 36, .97);
  }
  .rail-inner {
    flex: 1;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 30px 0 0;
  }
  .brand { padding: 0 30px; }
  .brand-name { font-size: 22px; }
  .rail-toggle { display: none; }

  .rail-nav {
    position: static;
    flex: 1;
    min-height: 0;
    max-height: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    border-block-end: 0;
    background: transparent;
    padding: 32px 0 26px;
    gap: 22px;
  }
  .rail-list { padding-inline: 16px; }
  .rail-quick { padding-inline: 30px; flex-direction: column; align-items: stretch; }
  .quick-chip { justify-content: space-between; }
  .rail-actions { padding-inline: 30px; }
  .rail-meta {
    margin-block-start: auto;
    padding: 18px 30px 0;
  }
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.25;
  text-align: center;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--neon);
  color: #05231A;
  box-shadow: 0 10px 26px rgba(47, 227, 168, .22);
}
.btn--primary:hover { background: var(--neon-soft); box-shadow: 0 14px 32px rgba(47, 227, 168, .32); }

.btn--ghost {
  border-color: var(--line);
  background: rgba(18, 37, 56, .7);
  color: var(--paper);
}
.btn--ghost:hover { border-color: var(--neon); background: rgba(47, 227, 168, .10); }

.btn--amber {
  background: rgba(242, 161, 59, .16);
  border-color: rgba(242, 161, 59, .45);
  color: var(--amber);
}
.btn--amber:hover { background: rgba(242, 161, 59, .26); border-color: var(--amber); }

.btn--sm { padding: 9px 17px; font-size: 13.5px; }

/* ---------- 8. 标签、胶囊、眉标 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  background: rgba(157, 176, 194, .12);
  color: var(--mist);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .05em;
  white-space: nowrap;
}
.tag--live { background: rgba(47, 227, 168, .14); color: var(--neon-soft); }
.tag--diff { background: rgba(242, 161, 59, .16); color: var(--amber); }
.tag--done { background: rgba(110, 139, 90, .22); color: #A9C48F; }
.tag--cat  { background: rgba(194, 112, 79, .22); color: #E0A184; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--mist);
  white-space: nowrap;
}
.pill b { color: var(--paper); font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--neon);
}
.eyebrow::before {
  content: "";
  inline-size: 22px;
  block-size: 2px;
  border-radius: 2px;
  background: var(--neon);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 28px;
  margin-block-end: clamp(20px, 3vw, 34px);
}
.section-head > * { min-width: 0; }

.lead {
  font-size: 18px;
  line-height: 1.8;
  color: var(--mist);
  max-width: 62ch;
}

/* ---------- 9. 面板 / 指标 / 内容块 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, rgba(18, 37, 56, .92), rgba(13, 27, 43, .76));
  overflow: hidden;
}
.panel--quiet { background: rgba(13, 27, 43, .62); }
.panel--ticked::after {
  content: "";
  position: absolute;
  inset-block-start: 24px;
  inset-inline-start: 0;
  inline-size: 3px;
  block-size: 36px;
  border-start-end-radius: 3px;
  border-end-end-radius: 3px;
  background: var(--neon);
  box-shadow: 0 0 16px rgba(47, 227, 168, .6);
}

.metric { display: flex; flex-direction: column; gap: 4px; }
.metric-value {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--neon);
}
.metric-value--amber { color: var(--amber); }
.metric-value--paper { color: var(--paper); }
.metric-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--mist);
}

.prose { max-width: 72ch; }
.prose > * + * { margin-block-start: 1.05em; }
.prose h2 { margin-block-start: 1.9em; }
.prose h3 { margin-block-start: 1.6em; }
.prose ul, .prose ol { padding-inline-start: 1.25em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-block-start: .4em; }

/* ---------- 10. 筛选 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(13, 27, 43, .74);
}
.filter-btn {
  padding: 9px 18px;
  border-radius: var(--r-pill);
  color: var(--mist);
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.filter-btn:hover { color: var(--paper); background: rgba(157, 176, 194, .10); }
.filter-btn[aria-pressed="true"] { background: var(--neon); color: #05231A; }
.filter-count {
  align-self: center;
  margin-inline-start: auto;
  padding-inline: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--mist);
}

[data-filter-item] { animation: lmFilterIn var(--dur) var(--ease) both; }
@keyframes lmFilterIn {
  from { opacity: .2; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
[data-filter-item][hidden] { display: none !important; }

/* ---------- 11. 面包屑 / 时间轴 / 数据网格 ---------- */
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--mist);
}
.crumb a {
  color: var(--mist);
  border-block-end: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.crumb a:hover { color: var(--paper); border-block-end-color: var(--neon); }
.crumb-sep { color: var(--line); }
.crumb-now { color: var(--paper); font-weight: 700; }

.timeline { position: relative; padding-inline-start: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  inset-block: 8px;
  inset-inline-start: 7px;
  inline-size: 1px;
  background: linear-gradient(180deg, var(--neon), var(--line) 42%, var(--line));
}
.timeline-item { position: relative; padding-block: 2px 26px; }
.timeline-item::before {
  content: "";
  position: absolute;
  inset-inline-start: -30px;
  inset-block-start: 9px;
  inline-size: 15px;
  block-size: 15px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 2px solid var(--line);
}
.timeline-item--now::before {
  border-color: var(--neon);
  box-shadow: 0 0 0 4px rgba(47, 227, 168, .14);
}

.data-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--line);
  overflow: hidden;
}
.data-grid > * {
  background: var(--ink-850);
  padding: 14px 18px;
}

/* ---------- 12. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(30, 58, 79, .72), rgba(13, 27, 43, .94));
  isolation: isolate;
}
.media-frame > img,
.media-frame > svg {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  display: block;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(47, 227, 168, .06) 0 1px, transparent 1px 58px),
    linear-gradient(180deg, transparent 54%, rgba(10, 22, 36, .62));
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--3x2 { aspect-ratio: 3 / 2; }
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }
.media-frame--3x4 { aspect-ratio: 3 / 4; }
.media-frame--placeholder {
  display: grid;
  place-items: center;
  min-block-size: 180px;
  color: var(--mist);
  font-family: var(--font-num);
  font-size: 12.5px;
  letter-spacing: .14em;
}

/* ---------- 13. 页脚 ---------- */
.site-foot {
  margin-block-start: clamp(60px, 9vw, 118px);
  border-block-start: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 37, 56, .55) 0%, rgba(10, 22, 36, .97) 100%);
  padding-block-start: clamp(42px, 6vw, 74px);
}

.foot-shell { display: grid; gap: clamp(30px, 4vw, 54px); }

.foot-brand { display: flex; align-items: center; gap: 11px; margin-block-end: 16px; }
.foot-dot {
  inline-size: 10px;
  block-size: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 14px rgba(242, 161, 59, .7);
}
.foot-name {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--paper);
}
.foot-intro {
  max-width: 36ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}
.foot-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 18px; }

.foot-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 28px 30px;
}

.foot-col-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block-end: 16px;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--paper);
}
.foot-col-title::after {
  content: "";
  flex: 1;
  block-size: 1px;
  background: var(--line);
}

.foot-links { display: flex; flex-direction: column; gap: 11px; }
.foot-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--mist);
  transition: color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.foot-links a::before {
  content: "";
  inline-size: 5px;
  block-size: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--line);
  transition: background-color var(--dur) var(--ease);
}
.foot-links a:hover { color: var(--paper); gap: 13px; }
.foot-links a:hover::before { background: var(--neon); }

.foot-contact-list { display: flex; flex-direction: column; gap: 14px; }
.foot-contact-list li { display: flex; flex-direction: column; gap: 3px; }
.foot-key {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(157, 176, 194, .72);
}
.foot-val { font-size: 14.5px; line-height: 1.7; color: var(--paper); overflow-wrap: anywhere; }
.foot-note {
  margin-block-start: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--mist);
}

.foot-legal {
  margin-block-start: clamp(34px, 5vw, 62px);
  border-block-start: 1px solid var(--line);
  background: rgba(10, 22, 36, .62);
  padding-block: 20px 30px;
}
.foot-legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mist);
}
.foot-legal-inner b { color: var(--paper); font-weight: 700; }

/* ---------- 14. 滚动进度与显现 ---------- */
.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 120;
  inline-size: 100%;
  block-size: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--neon), var(--neon-soft) 44%, var(--amber));
  pointer-events: none;
  will-change: transform;
}

.has-js .reveal {
  opacity: 0;
  translate: 0 14px;
  transition: opacity var(--dur-slow) var(--ease), translate var(--dur-slow) var(--ease);
}
.has-js .reveal.is-visible { opacity: 1; translate: 0 0; }

/* ---------- 15. 平板与桌面补充 ---------- */
@media (min-width: 640px) {
  .rail-nav { padding: 18px var(--gutter) 28px; }
}

@media (min-width: 900px) {
  .foot-shell { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) minmax(0, 1.1fr); }
}

@media (min-width: 1024px) {
  .scroll-progress {
    inset-inline-start: var(--rail-w);
    inline-size: calc(100% - var(--rail-w));
  }
}

/* ---------- 16. 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .has-js .reveal { opacity: 1 !important; translate: none !important; }
  .btn:hover { transform: none; }
}
