/* =========================================================
   星空体育官网 · 共享样式表  /assets/site.css
   夜空底色 · 记分牌数据 · 纸面叠层 · 侧边导览轨道
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { max-width: 100%; display: block; }
button { font: inherit; }
a { color: inherit; }
table { border-collapse: collapse; }

/* ---------- 2. 变量 ---------- */
:root {
  --c-ink: #081226;
  --c-ink-deep: #040b18;
  --c-violet: #1B1035;
  --c-indigo: #2A1B4D;
  --c-gold: #D9A441;
  --c-grass: #2F8F5B;
  --c-cyan: #2CE0D6;
  --c-orange: #FF7A3D;
  --c-wine: #7A2438;
  --c-paper: #F4F1E8;
  --c-slate: #9FB0C9;

  --line-1: rgba(159, 176, 201, .16);
  --line-2: rgba(159, 176, 201, .32);
  --line-3: rgba(159, 176, 201, .5);

  --rail: 220px;
  --shell: 1400px;
  --gutter: clamp(18px, 3.4vw, 56px);
  --radius: 2px;

  --f-sans: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --f-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur-fast: .18s;
  --dur: .3s;
  --dur-slow: .6s;
}

/* ---------- 3. 中文排版与页面底色 ---------- */
body {
  min-height: 100%;
  background-color: var(--c-ink);
  background-image:
    radial-gradient(1.2px 1.2px at 18% 22%, rgba(244, 241, 232, .55) 0, rgba(244, 241, 232, 0) 100%),
    radial-gradient(1px 1px at 62% 71%, rgba(44, 224, 214, .45) 0, rgba(44, 224, 214, 0) 100%),
    radial-gradient(1.4px 1.4px at 82% 12%, rgba(217, 164, 65, .5) 0, rgba(217, 164, 65, 0) 100%),
    radial-gradient(1px 1px at 35% 84%, rgba(244, 241, 232, .35) 0, rgba(244, 241, 232, 0) 100%),
    radial-gradient(1200px 780px at 78% -12%, rgba(42, 27, 77, .9) 0, rgba(42, 27, 77, 0) 70%),
    radial-gradient(900px 620px at 2% 6%, rgba(27, 16, 53, .92) 0, rgba(27, 16, 53, 0) 72%);
  background-repeat: repeat, repeat, repeat, repeat, no-repeat, no-repeat;
  background-size: 520px 520px, 640px 640px, 760px 760px, 420px 420px, 100% 100%, 100% 100%;
  color: var(--c-paper);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html { scrollbar-color: rgba(44, 224, 214, .45) rgba(8, 18, 38, 1); }

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

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

[id] { scroll-margin-top: 110px; }

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: 18px;
  z-index: 999;
  padding: 11px 20px;
  background: var(--c-cyan);
  color: #04121a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- 5. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.site-header[data-scrolled] {
  background-color: rgba(8, 18, 38, .93);
  border-bottom-color: var(--line-2);
  box-shadow: 0 18px 40px rgba(3, 7, 16, .55);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}

.header-inner {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 15px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
}

.header-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-gold) 68%, var(--c-orange));
  will-change: transform;
}

/* 品牌锁定 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--c-paper);
  text-decoration: none;
}
.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 164, 65, .55);
  background: linear-gradient(155deg, var(--c-indigo) 0%, var(--c-violet) 55%, var(--c-ink-deep) 100%);
}
.brand-mark::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-paper);
  box-shadow:
    13px -12px 0 -1px var(--c-cyan),
    -13px -7px 0 -2px var(--c-gold),
    11px 11px 0 -1.5px var(--c-cyan),
    -10px 10px 0 -2px rgba(244, 241, 232, .75);
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}
.brand-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
  white-space: nowrap;
}
.brand-line {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .09em;
  line-height: 1.3;
  color: var(--c-slate);
  white-space: nowrap;
}

/* 主导航 */
.site-nav { display: block; justify-self: center; }
.nav-list { display: flex; align-items: center; gap: clamp(4px, 1.3vw, 20px); }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 6px;
  color: var(--c-slate);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .03em;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.nav-index {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(217, 164, 65, .8);
}
.nav-text { white-space: nowrap; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 2px;
  height: 2px;
  background: var(--c-cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-link:hover { color: var(--c-paper); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--c-paper); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); background: var(--c-gold); }

/* 右侧状态与移动按钮 */
.header-utility {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--c-slate);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  white-space: nowrap;
}
.status-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-grass);
  animation: beacon 2.6s var(--ease) infinite;
}
@keyframes beacon {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 143, 91, .55); }
  70% { box-shadow: 0 0 0 8px rgba(47, 143, 91, 0); }
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: transparent;
  color: var(--c-paper);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav-toggle:hover { border-color: var(--c-cyan); color: var(--c-cyan); }
.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur) var(--ease);
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-4.25px) rotate(-45deg); }
.nav-toggle-text { font-size: 13px; font-weight: 600; letter-spacing: .14em; line-height: 1; }

/* ---------- 6. 内容骨架 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.rail-layout {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}

.rail {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 22px 20px;
  border: 1px solid var(--line-1);
  background: linear-gradient(180deg, rgba(42, 27, 77, .72) 0%, rgba(27, 16, 53, .5) 100%);
  border-radius: var(--radius);
}
.rail-label {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--c-gold);
  text-transform: uppercase;
}
.rail-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--c-paper);
}
.rail-nav { display: flex; flex-direction: column; gap: 2px; }
.rail-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-left: 2px solid transparent;
  color: var(--c-slate);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    color var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}
.rail-link:hover { color: var(--c-paper); background: rgba(44, 224, 214, .06); }
.rail-link[aria-current] {
  color: var(--c-paper);
  border-left-color: var(--c-cyan);
  background: rgba(44, 224, 214, .09);
}
.rail-index {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--c-gold);
}
.rail-meter {
  height: 4px;
  margin-top: 4px;
  background: rgba(159, 176, 201, .18);
  overflow: hidden;
}
.rail-meter span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-gold));
  transition: width .2s linear;
}

/* ---------- 7. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--c-slate);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: rgba(159, 176, 201, .5); }
.breadcrumb a { color: var(--c-slate); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
.breadcrumb a:hover { color: var(--c-cyan); }
.breadcrumb [aria-current="page"] { color: var(--c-paper); font-weight: 600; }

/* ---------- 8. 排版 ---------- */
.display {
  font-size: clamp(38px, 6.2vw, 84px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.012em;
  color: var(--c-paper);
}
.h2 {
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.005em;
  color: var(--c-paper);
}
.h3 {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-paper);
}
.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.8;
  color: #cfd8e6;
}
.muted { color: var(--c-slate); }
.num {
  font-family: var(--f-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.85;
  color: #d7dfeb;
}
.prose p + p { margin-top: 1.1em; }
.prose h2 {
  margin: 2.2em 0 .6em;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--c-paper);
}
.prose h3 {
  margin: 1.8em 0 .5em;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  color: var(--c-paper);
}
.prose ul,
.prose ol { margin: 1em 0; padding-left: 1.15em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--c-gold); }
.prose a {
  color: var(--c-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose strong { color: var(--c-paper); font-weight: 700; }

/* ---------- 9. 按钮与标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease);
}
.btn--primary { background: var(--c-cyan); border-color: var(--c-cyan); color: #04121a; }
.btn--primary:hover { background: var(--c-paper); border-color: var(--c-paper); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--line-3); color: var(--c-paper); }
.btn--ghost:hover { border-color: var(--c-cyan); color: var(--c-cyan); transform: translateY(-2px); }
.btn--gold { background: var(--c-gold); border-color: var(--c-gold); color: #1a1004; }
.btn--gold:hover { background: #eebc5e; border-color: #eebc5e; transform: translateY(-2px); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--c-slate);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  white-space: nowrap;
}
.tag--gold { color: var(--c-gold); border-color: rgba(217, 164, 65, .45); }
.tag--cyan { color: var(--c-cyan); border-color: rgba(44, 224, 214, .4); }
.tag--grass { color: #6fd39b; border-color: rgba(47, 143, 91, .5); }
.tag--orange { color: var(--c-orange); border-color: rgba(255, 122, 61, .45); }
.tag--wine { color: #d78a9c; border-color: rgba(122, 36, 56, .85); background: rgba(122, 36, 56, .16); }

/* ---------- 10. 记分牌面板 ---------- */
.board {
  position: relative;
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(42, 27, 77, .9) 0%, rgba(8, 18, 38, .94) 78%);
  overflow: hidden;
}
.board::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--c-gold);
}
.board::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .7;
  background-image:
    radial-gradient(1px 1px at 24% 30%, rgba(244, 241, 232, .6) 0, rgba(244, 241, 232, 0) 100%),
    radial-gradient(1px 1px at 74% 64%, rgba(44, 224, 214, .5) 0, rgba(44, 224, 214, 0) 100%);
  background-size: 180px 180px, 240px 240px;
}
.board-value {
  font-family: var(--f-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--c-paper);
}
.board-label {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--c-slate);
}

/* ---------- 11. 格栅与分隔 ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.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--asym { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }

.rule {
  height: 1px;
  margin: 0;
  border: 0;
  background: linear-gradient(90deg, var(--line-2), transparent);
}

/* ---------- 12. 响应式图像容器 ---------- */
.figure {
  position: relative;
  display: block;
  margin: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background-color: var(--c-indigo);
  background-image: linear-gradient(150deg, rgba(44, 224, 214, .12), rgba(217, 164, 65, .08));
  overflow: hidden;
}
.figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.86) contrast(1.04) brightness(.94);
}
.figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 18, 38, 0) 42%, rgba(8, 18, 38, .78) 100%);
}
.figure--16x9 { aspect-ratio: 16 / 9; }
.figure--4x3 { aspect-ratio: 4 / 3; }
.figure--3x2 { aspect-ratio: 3 / 2; }
.figure--1x1 { aspect-ratio: 1 / 1; }
.figure--portrait { aspect-ratio: 3 / 4; }
.figure--wide { aspect-ratio: 21 / 9; }
.figure-caption {
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--c-slate);
}

/* ---------- 13. 入场显现协议 ---------- */
[data-reveal-state="pending"] {
  opacity: 0;
  transform: translateY(18px);
}
[data-reveal-state="shown"] {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

/* ---------- 14. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(72px, 10vw, 150px);
  border-top: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--c-violet) 0%, var(--c-ink-deep) 82%);
  color: var(--c-slate);
  font-size: 14.5px;
  line-height: 1.75;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(320px, 46%);
  height: 2px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-cyan) 55%, transparent);
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .75;
  background-image:
    radial-gradient(1px 1px at 14% 34%, rgba(244, 241, 232, .5) 0, rgba(244, 241, 232, 0) 100%),
    radial-gradient(1.2px 1.2px at 68% 18%, rgba(44, 224, 214, .45) 0, rgba(44, 224, 214, 0) 100%),
    radial-gradient(1px 1px at 86% 72%, rgba(217, 164, 65, .5) 0, rgba(217, 164, 65, 0) 100%);
  background-size: 420px 420px, 560px 560px, 640px 640px;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 80px) var(--gutter) clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr);
  gap: clamp(32px, 4vw, 72px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.footer-brand .brand-mark { width: 38px; height: 38px; }
.footer-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--c-paper);
}
.footer-tagline {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-slate);
}
.footer-contact { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; }
.footer-contact li { display: flex; gap: 12px; align-items: baseline; }
.contact-key {
  flex: 0 0 auto;
  min-width: 40px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--c-gold);
}
.contact-value {
  color: #c3cfe0;
  overflow-wrap: anywhere;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line-1);
}
.footer-col-title { font-size: 15px; font-weight: 700; letter-spacing: .04em; line-height: 1.4; }
.footer-col-title a {
  color: var(--c-paper);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.footer-col-title a:hover { color: var(--c-cyan); }
.footer-col-note { font-size: 12.5px; line-height: 1.7; color: var(--c-slate); }

.footer-legal {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px var(--gutter) 34px;
  border-top: 1px solid var(--line-1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 12.5px;
  color: var(--c-slate);
}
.footer-legal a { color: var(--c-slate); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
.footer-legal a:hover { color: var(--c-cyan); }
.icp {
  margin-left: auto;
  font-family: var(--f-mono);
  letter-spacing: .04em;
  color: rgba(159, 176, 201, .85);
}

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1180px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .brand-line { display: none; }
}

@media (max-width: 1024px) {
  .rail-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .rail {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
  }
  .rail-title { font-size: 18px; }
  .rail-nav { flex-direction: row; flex-wrap: wrap; width: 100%; gap: 4px; }
  .rail-link {
    padding: 7px 10px;
    border-left: 0;
    border-bottom: 2px solid transparent;
  }
  .rail-link[aria-current] {
    border-left-color: transparent;
    border-bottom-color: var(--c-cyan);
  }
  .rail-meter { width: 100%; }
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-top: 13px;
    padding-bottom: 13px;
  }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    justify-self: stretch;
    padding: 6px var(--gutter) 20px;
    background-color: rgba(8, 18, 38, .985);
    border-top: 1px solid var(--line-1);
    border-bottom: 1px solid var(--line-2);
    box-shadow: 0 26px 50px rgba(3, 7, 16, .65);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
  .site-nav[data-open] { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 15px 2px;
    border-bottom: 1px solid var(--line-1);
    font-size: 16px;
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--c-cyan); }
}

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

@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.78; }
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 8px; }
  .icp { margin-left: 0; }
  .status-chip { display: none; }
  .brand-name { font-size: 16.5px; }
}

@media (max-width: 400px) {
  .brand-mark { width: 36px; height: 36px; }
  .nav-toggle-text { display: none; }
}

/* ---------- 16. 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal-state="pending"] { opacity: 1; transform: none; }
  .header-progress { transition: none !important; }
}
