/* ==========================================================================
   半岛体育 · 共享外壳样式 /assets/site.css
   契约：移动端 body 预留 --bar-h 顶部空间，≥1024px 改为预留 --rail-w 左侧轨道空间
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 18px);
}

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

ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
summary { cursor: pointer; }

:root {
  --abyss: #030B14;
  --night: #071A2B;
  --panel: #0E2A42;
  --line: #1B3F5C;
  --line-soft: rgba(27, 63, 92, 0.62);
  --cyan: #2FE3D2;
  --mist: #B6F4EC;
  --violet: #4B2E83;
  --pulse: #FF7A33;
  --white: #E7EEF6;
  --muted: #93A9BE;
  --ink: #02221F;

  --rail-w: 84px;
  --bar-h: 56px;
  --maxw: 1200px;
  --gut: clamp(18px, 4vw, 54px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --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", "DIN Alternate", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shadow-card: 0 1px 0 rgba(47, 227, 210, 0.05), 0 22px 46px -34px rgba(0, 0, 0, 0.95);
  --progress: 0;
}

@media (min-width: 1024px) {
  html { scroll-padding-top: 24px; }
}

body {
  min-height: 100%;
  padding-top: var(--bar-h);
  background-color: var(--abyss);
  background-image:
    radial-gradient(90% 60% at 78% -10%, rgba(47, 227, 210, 0.07), transparent 62%),
    radial-gradient(70% 50% at 0% 100%, rgba(75, 46, 131, 0.22), transparent 66%);
  background-attachment: fixed;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 1024px) {
  body {
    padding-top: 0;
    padding-left: var(--rail-w);
    font-size: 16px;
  }
}

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

:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* ---------------------------------- 排版 --------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--white);
}

h1 { font-size: clamp(30px, 5.6vw, 58px); }
h2 { font-size: clamp(23px, 3.2vw, 36px); }
h3 { font-size: clamp(17px, 2vw, 22px); font-weight: 800; letter-spacing: 0.01em; }
h4 { font-size: 15px; font-weight: 800; letter-spacing: 0.06em; }

p { line-height: 1.8; }

.prose > p { max-width: 38em; color: var(--white); }
.prose > p + p { margin-top: 0.9em; }
.prose a { color: var(--cyan); border-bottom: 1px solid rgba(47, 227, 210, 0.42); }
.prose a:hover { border-bottom-color: var(--cyan); }

.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.85;
  color: var(--mist);
  max-width: 34em;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--cyan);
  text-transform: uppercase;
}

.num,
[data-num] {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.annotation {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mist);
}
.annotation--vert { writing-mode: vertical-rl; letter-spacing: 0.22em; }
.annotation--muted { color: var(--muted); }

/* --------------------------------- 布局 ---------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.grid { display: grid; gap: clamp(16px, 2.4vw, 34px); }
.grid--7-5, .grid--8-4, .grid--5-3, .grid--trio { grid-template-columns: 1fr; }

@media (min-width: 860px) {
  .grid--7-5 { grid-template-columns: 7fr 5fr; }
  .grid--8-4 { grid-template-columns: 8fr 4fr; }
  .grid--5-3 { grid-template-columns: 5fr 3fr; }
}
@media (min-width: 780px) {
  .grid--trio { grid-template-columns: repeat(3, 1fr); }
}

.rule {
  height: 1px;
  border: 0;
  margin-block: clamp(28px, 4vw, 56px);
  background: linear-gradient(90deg, var(--line), rgba(27, 63, 92, 0) 82%);
}

.band {
  position: relative;
  background: linear-gradient(120deg, var(--night), rgba(14, 42, 66, 0.55));
  clip-path: polygon(0 18px, 100% 0, 100% calc(100% - 18px), 0 100%);
  padding-block: clamp(34px, 5vw, 64px);
}

/* -------------------------------- 编号章节 -------------------------------- */

.sec { position: relative; padding-block: clamp(30px, 5vw, 62px); }
.sec--flush { padding-block: 0; }

.sec__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 20px;
  margin-bottom: clamp(20px, 3vw, 38px);
}

.sec__idx {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 0.78;
  letter-spacing: -0.03em;
  color: rgba(47, 227, 210, 0.18);
}

.sec__title { font-size: clamp(22px, 3.4vw, 38px); }

.sec__note {
  flex: 1 1 210px;
  min-width: 160px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* -------------------------------- 基础组件 -------------------------------- */

.card {
  position: relative;
  padding: clamp(16px, 2vw, 26px);
  border: 1px solid var(--line);
  background: linear-gradient(168deg, var(--panel), #0A2135 68%, #081B2D);
  box-shadow: var(--shadow-card);
}

.card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.card__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.24s var(--ease), color 0.24s var(--ease),
              border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

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

.btn--primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
}
.btn--primary:hover { background: var(--mist); border-color: var(--mist); color: var(--ink); }

.btn--ghost { color: var(--muted); }
.btn--ghost:hover { color: var(--cyan); border-color: var(--cyan); }

.btn--pulse {
  border-color: rgba(255, 122, 51, 0.5);
  color: var(--pulse);
  background: rgba(255, 122, 51, 0.07);
}
.btn--pulse:hover { border-color: var(--pulse); color: var(--pulse); background: rgba(255, 122, 51, 0.14); }

.btn--micro {
  min-height: 28px;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  background: rgba(75, 46, 131, 0.32);
  color: var(--mist);
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.6;
}
.tag--cyan { border-color: rgba(47, 227, 210, 0.42); background: rgba(47, 227, 210, 0.08); color: var(--cyan); }
.tag--pulse { border-color: rgba(255, 122, 51, 0.46); background: rgba(255, 122, 51, 0.09); color: var(--pulse); }

.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--cyan);
}
.stat__value--pulse { color: var(--pulse); }
.stat__label { font-size: 12px; letter-spacing: 0.16em; color: var(--muted); }

.table {
  width: 100%;
  border: 1px solid var(--line);
  font-size: 14px;
  background: rgba(7, 26, 43, 0.5);
}
.table th {
  padding: 10px 12px;
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--mist);
  background: rgba(14, 42, 66, 0.92);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  font-variant-numeric: tabular-nums;
}
.table tbody tr:nth-child(even) { background: rgba(7, 26, 43, 0.72); }
.table tbody tr:hover { background: rgba(47, 227, 210, 0.05); }
.table .num { color: var(--cyan); }

.crumbs { font-size: 12px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--line); }
.crumbs a:hover { color: var(--cyan); }
.crumbs [aria-current="page"] { color: var(--mist); }

/* --------------------------------- 图片容器 -------------------------------- */

.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 90% at 12% 8%, rgba(47, 227, 210, 0.16), transparent 60%),
    radial-gradient(90% 80% at 88% 96%, rgba(75, 46, 131, 0.5), transparent 62%),
    linear-gradient(160deg, #0B2338, #030B14);
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(27, 63, 92, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 63, 92, 0.35) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.55;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.92);
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media__cap {
  margin-top: 8px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* --------------------------------- 滚动显现 -------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.42s var(--ease), transform 0.5s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ================================ 跳过链接 ================================ */

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 120;
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transform: translateY(-220%);
  transition: transform 0.22s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ================================== 头部 ================================= */

.site-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: rgba(4, 13, 23, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
}

.rail-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--bar-h);
  padding: 8px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(47, 227, 210, 0.18), rgba(75, 46, 131, 0.42));
  color: var(--mist);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}
.mark__pulse {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 6px;
  height: 6px;
  background: var(--pulse);
  animation: markPulse 2.6s var(--ease) infinite;
}
@keyframes markPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 122, 51, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(255, 122, 51, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 51, 0); }
}

.brand__text { display: block; min-width: 0; }
.brand__name {
  display: block;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--white);
}
.brand__sub {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: var(--mist);
  font-size: 12px;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: border-color 0.22s var(--ease), color 0.22s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle__bars { display: grid; gap: 4px; width: 16px; }
.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.site-rail[data-open] .nav-toggle__bars span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.site-rail[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-rail[data-open] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.rail-scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(2, 7, 13, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.site-rail[data-open] .rail-scrim { opacity: 1; pointer-events: auto; }

.rail-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: min(84vw, 330px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 76px 20px 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: linear-gradient(165deg, #0A2033, var(--abyss) 74%);
  border-right: 1px solid var(--line);
  box-shadow: 30px 0 70px -46px #000;
  transform: translateX(-101%);
  visibility: hidden;
  transition: transform 0.38s var(--ease), visibility 0.38s linear;
}
.site-rail[data-open] .rail-drawer { transform: none; visibility: visible; }

.rail-nav__title {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-bottom: 10px;
}

.rail-nav__list { border-top: 1px solid var(--line); }
.rail-nav__list li { border-bottom: 1px solid var(--line-soft); }

.rail-nav a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 6px;
  font-size: 15px;
  color: var(--white);
  transition: color 0.22s var(--ease), background-color 0.22s var(--ease);
}
.rail-nav__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.22s var(--ease);
}
.rail-nav__label { transition: color 0.22s var(--ease); }

.rail-nav a:hover { color: var(--cyan); background: rgba(47, 227, 210, 0.06); }
.rail-nav a:hover .rail-nav__idx { color: var(--cyan); }

.rail-nav a[aria-current="page"] {
  color: var(--cyan);
  background: linear-gradient(90deg, rgba(47, 227, 210, 0.14), rgba(47, 227, 210, 0));
}
.rail-nav a[aria-current="page"] .rail-nav__idx { color: var(--pulse); }
.rail-nav a[aria-current="page"] .rail-nav__label { color: var(--cyan); }

.rail-foot { display: flex; flex-direction: column; gap: 14px; }

.rail-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.rail-status__dot {
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  animation: statusBlink 2.6s var(--ease) infinite;
}
@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.32; }
}
.rail-status__text { color: var(--mist); }
.rail-status__meta {
  flex-basis: 100%;
  padding-left: 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(147, 169, 190, 0.78);
}

.rail-cta { display: flex; flex-direction: column; gap: 8px; }

.rail-help {
  align-self: flex-start;
  padding-bottom: 3px;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
  color: var(--muted);
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.rail-help:hover { color: var(--cyan); border-bottom-color: var(--cyan); }

.rail-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  background: rgba(27, 63, 92, 0.5);
}
.rail-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform: scaleX(var(--progress));
  transform-origin: left center;
  transition: transform 0.14s linear;
}

/* --------------------------- 桌面端：左侧轨道导航 --------------------------- */

@media (min-width: 1024px) {
  .site-rail {
    right: auto;
    bottom: 0;
    width: var(--rail-w);
    display: flex;
    flex-direction: column;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    background: linear-gradient(180deg, #061523, var(--abyss));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .rail-bar {
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    min-height: 0;
    padding: 16px 8px 10px;
  }

  .nav-toggle { display: none; }

  .brand { flex-direction: column; gap: 9px; }
  .brand__text {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
  }
  .brand__name {
    writing-mode: vertical-rl;
    font-size: 14px;
    letter-spacing: 0.2em;
    line-height: 1.1;
  }
  .brand__sub {
    writing-mode: vertical-rl;
    font-size: 10px;
    letter-spacing: 0.28em;
    line-height: 1.1;
    margin-top: 4px;
  }

  .rail-drawer {
    position: static;
    z-index: auto;
    width: auto;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 6px 14px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: auto;
    background: none;
    border: 0;
    box-shadow: none;
    transform: none;
    visibility: visible;
    transition: none;
    scrollbar-width: none;
  }
  .rail-drawer::-webkit-scrollbar { width: 0; height: 0; }

  .rail-scrim { display: none; }

  .rail-nav { flex: 0 0 auto; }
  .rail-nav__title { display: none; }
  .rail-nav__list {
    border-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
  .rail-nav__list li { width: 100%; border-bottom: 0; }
  .rail-nav a {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 9px 2px;
    font-size: 12.5px;
    text-align: center;
  }
  .rail-nav__label {
    writing-mode: vertical-rl;
    letter-spacing: 0.14em;
    line-height: 1.15;
  }
  .rail-nav__idx { font-size: 10px; letter-spacing: 0.06em; }
  .rail-nav a[aria-current="page"] {
    background: linear-gradient(180deg, rgba(47, 227, 210, 0.16), rgba(47, 227, 210, 0));
    box-shadow: inset 0 0 0 1px rgba(47, 227, 210, 0.28);
  }

  .rail-foot {
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .rail-status {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: center;
    text-align: center;
  }
  .rail-status__text {
    writing-mode: vertical-rl;
    font-size: 11px;
    letter-spacing: 0.22em;
    line-height: 1.2;
  }
  .rail-status__meta { display: none; }
  .rail-status__dot { margin-inline: auto; }

  .rail-help { display: none; }

  .rail-cta { flex-direction: row; justify-content: center; gap: 6px; }
  .rail-cta .btn {
    writing-mode: vertical-rl;
    min-height: 0;
    min-width: 0;
    padding: 13px 8px;
    font-size: 11.5px;
    letter-spacing: 0.16em;
    line-height: 1;
    white-space: nowrap;
  }

  .rail-progress {
    left: auto;
    right: -1px;
    bottom: 0;
    top: 0;
    width: 2px;
    height: auto;
    background: rgba(27, 63, 92, 0.5);
  }
  .rail-progress__bar {
    background: linear-gradient(180deg, var(--cyan), var(--violet));
    transform: scaleY(var(--progress));
    transform-origin: top center;
  }
}

/* ================================== 页脚 ================================= */

.site-foot {
  position: relative;
  margin-top: clamp(56px, 9vw, 130px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--abyss), #050F1B 42%, #02080F);
  color: var(--muted);
}
.site-foot::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.45;
}

.foot-wrap { padding-block: clamp(40px, 6vw, 76px) 26px; }

.foot-top { display: grid; gap: clamp(26px, 4vw, 50px); grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .foot-top { grid-template-columns: 4fr 8fr; align-items: start; }
}

.foot-brand__name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--white);
}
.foot-brand__line {
  margin-top: 5px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--cyan);
}
.foot-brand__note {
  margin-top: 14px;
  max-width: 32ch;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--muted);
}

.foot-cols { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .foot-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .foot-cols { grid-template-columns: repeat(3, 1fr); } }

.foot-col__title {
  padding-bottom: 9px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--mist);
}
.foot-list li + li { margin-top: 9px; }
.foot-list a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.foot-list a:hover { color: var(--cyan); }

.foot-contact {
  display: grid;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 46px);
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--line);
}
@media (min-width: 820px) { .foot-contact { grid-template-columns: 5fr 4fr 4fr; } }

.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: 13px;
}
.contact-row__k {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.contact-row__v {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--white);
  word-break: break-all;
}
.contact-row__v--text { font-family: var(--font-sans); letter-spacing: 0.03em; }

.foot-copy-status {
  min-height: 20px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--cyan);
}

.foot-region {
  max-width: 66ch;
  margin-top: clamp(20px, 3vw, 32px);
  padding: 14px 16px;
  border-left: 2px solid var(--violet);
  background: linear-gradient(90deg, rgba(75, 46, 131, 0.3), rgba(75, 46, 131, 0) 76%);
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--muted);
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  margin-top: clamp(24px, 4vw, 38px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: rgba(147, 169, 190, 0.88);
}
.foot-base a {
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.foot-base a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.foot-legal { display: flex; align-items: center; gap: 9px; }
.foot-legal span { color: var(--line); }
.foot-icp { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; }
.foot-copy { font-size: 11.5px; letter-spacing: 0.04em; }

/* ============================== 动效偏好兼容 ============================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .rail-progress__bar { transition: none !important; }
}
