/* ===========================================================
   开元体育主站 · 共享样式 /assets/site.css
   夜间赛场数据指挥中心：深海蓝底 + 竞技橙 + 荧光青绿
   =========================================================== */

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

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

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

:root {
  /* 色彩 */
  --abyss: #04101C;
  --deep: #0A2036;
  --indigo: #1B2C5E;
  --wine: #4A1730;
  --orange: #FF6A1F;
  --orange-soft: #FFA23A;
  --aqua: #2BE8C4;
  --pearl: #F3F7FB;
  --mist: #8FA6BC;

  --grad-accent: linear-gradient(112deg, #FF6A1F 0%, #FFA23A 100%);
  --glass: rgba(10, 32, 54, 0.72);
  --stroke: rgba(143, 166, 188, 0.22);
  --stroke-strong: rgba(243, 247, 251, 0.16);

  /* 形状 */
  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --radius-pill: 999px;

  /* 度量 */
  --w-max: 1440px;
  --w-prose: 720px;
  --header-offset: clamp(86px, 9vw, 108px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* 字体 */
  --font-display: "HarmonyOS Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
}

/* ---------- 基础排版 ---------- */
body {
  min-height: 100vh;
  padding-top: var(--header-offset);
  background-color: var(--deep);
  background-image:
    radial-gradient(820px 520px at 92% -8%, rgba(43, 232, 196, 0.1), transparent 68%),
    radial-gradient(720px 540px at 2% 0%, rgba(74, 23, 48, 0.42), transparent 66%);
  background-repeat: no-repeat;
  color: var(--pearl);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(255, 106, 31, 0.35); color: #fff; }

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

#main-content { outline: none; }
#main-content:focus-visible { outline: none; }

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

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--grad-accent);
  color: var(--abyss);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 16px 34px -18px rgba(255, 106, 31, 0.95);
  transform: translateY(-180%);
  transition: transform 0.22s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 头部 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: clamp(12px, 1.6vw, 20px) clamp(14px, 3vw, 34px);
  transition: padding 0.3s var(--ease);
}

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 20px);
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-pill);
  background: rgba(6, 22, 40, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    0 24px 54px -34px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(243, 247, 251, 0.07);
  transition: max-width 0.3s var(--ease), padding 0.3s var(--ease), background 0.3s var(--ease);
}

.brand-island {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding-right: clamp(10px, 1.4vw, 18px);
  border-right: 1px solid var(--stroke);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 26px; height: 26px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: var(--grad-accent);
  transform: skewX(-8deg);
  box-shadow: 0 8px 20px -10px rgba(255, 106, 31, 0.95);
  transition: box-shadow 0.25s var(--ease);
}
.brand-mark::after {
  content: "";
  position: absolute;
  top: 6px; right: 6px;
  width: 7px; height: 14px;
  border-radius: 2px;
  background: rgba(4, 16, 28, 0.88);
}
.brand-island:hover .brand-mark { box-shadow: 0 10px 26px -8px rgba(255, 106, 31, 1); }

.brand-text { display: inline-flex; align-items: baseline; gap: 7px; }

.brand-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--pearl);
  white-space: nowrap;
}

.brand-region {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--aqua);
  padding: 1px 6px;
  border: 1px solid rgba(43, 232, 196, 0.35);
  border-radius: 6px;
  line-height: 1.5;
}

.nav-capsule { display: flex; align-items: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: block;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--mist);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-link:hover {
  color: var(--pearl);
  background: rgba(243, 247, 251, 0.07);
}
.nav-link[aria-current="page"] {
  color: var(--pearl);
  border-color: rgba(43, 232, 196, 0.55);
  background: rgba(43, 232, 196, 0.1);
  box-shadow: inset 0 0 14px -6px rgba(43, 232, 196, 0.9);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  margin-left: auto;
  flex: 0 0 auto;
}

.link-ghost {
  color: var(--mist);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px dashed rgba(143, 166, 188, 0.55);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.link-ghost:hover { color: var(--aqua); border-color: rgba(43, 232, 196, 0.8); }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px; height: 42px;
  padding: 0;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: rgba(243, 247, 251, 0.05);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-toggle:hover { background: rgba(243, 247, 251, 0.1); }

.nav-toggle__bar {
  display: block;
  width: 17px; height: 2px;
  border-radius: 2px;
  background: var(--pearl);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.site-header[data-open] .nav-toggle {
  border-color: rgba(43, 232, 196, 0.55);
  background: rgba(43, 232, 196, 0.12);
}
.site-header[data-open] .nav-toggle__bar:first-child { transform: translateY(3px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bar:last-child { transform: translateY(-3px) rotate(-45deg); }

.scroll-meter {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(4, 16, 28, 0.45);
  pointer-events: none;
}
.scroll-meter__fill {
  display: block;
  height: 100%;
  background: var(--grad-accent);
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  transition: transform 0.12s linear;
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn--accent {
  background: var(--grad-accent);
  color: var(--abyss);
  box-shadow: 0 14px 30px -16px rgba(255, 106, 31, 0.95);
}
.btn--accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px -14px rgba(255, 162, 58, 1);
}
.btn--ghost {
  border-color: rgba(243, 247, 251, 0.28);
  color: var(--pearl);
  background: rgba(243, 247, 251, 0.04);
}
.btn--ghost:hover {
  border-color: rgba(43, 232, 196, 0.6);
  color: var(--aqua);
  background: rgba(43, 232, 196, 0.08);
}
.btn--quiet {
  color: var(--mist);
  background: transparent;
}
.btn--quiet:hover { color: var(--pearl); background: rgba(243, 247, 251, 0.07); }
.btn--block { display: flex; width: 100%; }

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}
.container--narrow { max-width: 880px; }
.container--prose { max-width: calc(var(--w-prose) + 2 * clamp(20px, 4vw, 56px)); }

.section { padding-block: clamp(40px, 6vw, 88px); }

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

.flow > * + * { margin-top: var(--flow, 1.1em); }

.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(143, 166, 188, 0.35), transparent);
}

.cut-band {
  height: clamp(40px, 6vw, 84px);
  background: linear-gradient(100deg, rgba(27, 44, 94, 0.85), rgba(4, 16, 28, 0.2));
  clip-path: polygon(0 74%, 100% 18%, 100% 100%, 0 100%);
  pointer-events: none;
}

.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--split { grid-template-columns: 1fr; gap: clamp(24px, 4vw, 56px); }
@media (min-width: 900px) {
  .grid--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
}
.bento__cell { grid-column: span var(--span, 12); }
@media (min-width: 860px) {
  .bento__cell { grid-column: span var(--span-md, 6); }
}
@media (min-width: 1200px) {
  .bento__cell { grid-column: span var(--span-lg, 4); }
}

/* ---------- 标题与文本 ---------- */
.display-title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(2.75rem, 8.2vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: var(--pearl);
  text-wrap: balance;
}

.heading-lg {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.heading-md {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.lede {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.75;
  color: #C3D3E2;
  max-width: var(--w-prose);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aqua);
}
.eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

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

.text-muted { color: var(--mist); }

.is-slant { display: inline-block; transform: skewX(-6deg); }

/* ---------- 面包屑 ---------- */
.breadcrumb { padding-block: clamp(16px, 2.4vw, 28px); }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--mist);
}
.breadcrumb__item { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumb__item:not(:last-child)::after {
  content: "›";
  color: rgba(143, 166, 188, 0.55);
}
.breadcrumb__link {
  color: var(--mist);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.breadcrumb__link:hover { color: var(--aqua); }
.breadcrumb__current { color: var(--pearl); }

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.2vw, 30px);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  background: linear-gradient(158deg, rgba(27, 44, 94, 0.62), rgba(10, 32, 54, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(243, 247, 251, 0.07),
    0 26px 54px -42px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}
.card--indigo { background: linear-gradient(158deg, rgba(27, 44, 94, 0.92), rgba(10, 32, 54, 0.92)); }
.card--wine {
  background: linear-gradient(158deg, rgba(74, 23, 48, 0.85), rgba(10, 32, 54, 0.92));
  border-color: rgba(255, 106, 31, 0.28);
}

.card__index {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--orange-soft);
}

/* ---------- 图片容器（页面阶段放占位） ---------- */
.media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, var(--indigo), var(--abyss));
}
.media__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(43, 232, 196, 0.16), transparent 58%),
    linear-gradient(200deg, rgba(4, 16, 28, 0), rgba(4, 16, 28, 0.72));
}
.media--wide { aspect-ratio: 16 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 3 / 4; }
.media--tall { aspect-ratio: 4 / 5; }

.media__tag {
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 2;
  padding: 5px 12px;
  border: 1px solid rgba(43, 232, 196, 0.45);
  border-radius: var(--radius-pill);
  background: rgba(4, 16, 28, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--aqua);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media__caption {
  margin-top: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--mist);
}

/* ---------- 标签与状态点 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 5px 12px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-pill);
  background: rgba(10, 32, 54, 0.6);
  color: var(--mist);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.chip--aqua {
  color: var(--aqua);
  border-color: rgba(43, 232, 196, 0.45);
  background: rgba(43, 232, 196, 0.1);
}
.chip--orange {
  color: var(--orange-soft);
  border-color: rgba(255, 106, 31, 0.45);
  background: rgba(255, 106, 31, 0.12);
}

.dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 4px rgba(43, 232, 196, 0.16);
}
.dot--orange {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 31, 0.18);
}

/* ---------- 分段切换（标签页） ---------- */
.tabs { display: block; }

.tablist {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-pill);
  background: rgba(10, 32, 54, 0.7);
}

.tab {
  appearance: none;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--mist);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tab:hover { color: var(--pearl); background: rgba(243, 247, 251, 0.06); }
.tab[aria-selected="true"] {
  color: var(--pearl);
  border-color: rgba(43, 232, 196, 0.55);
  background: linear-gradient(120deg, rgba(43, 232, 196, 0.18), rgba(27, 44, 94, 0.65));
  box-shadow: inset 0 0 0 1px rgba(43, 232, 196, 0.18);
}

.tabpanel { margin-top: clamp(18px, 2.4vw, 28px); }
.tabpanel[hidden] { display: none; }

/* ---------- 折叠面板 ---------- */
.fold {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  background: rgba(10, 32, 54, 0.55);
  overflow: hidden;
}
.fold + .fold { margin-top: 12px; }

.fold__summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px clamp(16px, 2vw, 24px);
  color: var(--pearl);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s var(--ease);
}
.fold__summary::-webkit-details-marker { display: none; }
.fold__summary:hover { background: rgba(43, 232, 196, 0.07); }
.fold__summary::after {
  content: "";
  margin-left: auto;
  width: 9px; height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid var(--aqua);
  border-bottom: 2px solid var(--aqua);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.fold[open] > .fold__summary::after { transform: rotate(-135deg); }

.fold__body {
  padding: 0 clamp(16px, 2vw, 24px) 22px;
  color: #C3D3E2;
  font-size: 0.96rem;
  line-height: 1.8;
}

/* ---------- 横向卡片轨道 ---------- */
.scroll-track {
  display: flex;
  gap: clamp(12px, 1.6vw, 20px);
  overflow-x: auto;
  padding: 4px 2px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(143, 166, 188, 0.4) transparent;
}
.scroll-track > * {
  flex: 0 0 clamp(240px, 26vw, 320px);
  scroll-snap-align: start;
}
.scroll-track::-webkit-scrollbar { height: 8px; }
.scroll-track::-webkit-scrollbar-track { background: rgba(10, 32, 54, 0.6); border-radius: var(--radius-pill); }
.scroll-track::-webkit-scrollbar-thumb { background: rgba(143, 166, 188, 0.35); border-radius: var(--radius-pill); }

/* ---------- 进入视口显现 ---------- */
[data-reveal] {
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  background: var(--abyss);
  border-top: 1px solid var(--stroke);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 280px;
  pointer-events: none;
  background: radial-gradient(62% 100% at 50% 100%, rgba(27, 44, 94, 0.72), transparent 70%);
}
.footer-cut {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: clamp(26px, 4vw, 54px);
  pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 106, 31, 0.28), rgba(43, 232, 196, 0.16) 58%, transparent 88%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 40%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(52px, 6vw, 88px) clamp(24px, 3vw, 38px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 60px);
}
@media (min-width: 820px) {
  .footer-top { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr) minmax(0, 1.1fr); }
}

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

.footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--pearl);
  text-decoration: none;
}
.footer-wordmark__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 5px rgba(43, 232, 196, 0.14);
}

.footer-tagline {
  max-width: 26ch;
  color: #C3D3E2;
  font-size: 0.98rem;
  line-height: 1.7;
}

.footer-coords {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(143, 166, 188, 0.75);
}

.footer-col { display: flex; flex-direction: column; gap: 16px; }

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}
.footer-col__title::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--orange);
  transform: skewX(-8deg);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link {
  display: inline-block;
  color: #C6D6E5;
  font-size: 0.92rem;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 0.2s var(--ease);
}
.footer-link:hover {
  color: var(--aqua);
  text-decoration: underline;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-meta__item { display: flex; flex-direction: column; gap: 2px; }
.footer-meta__label {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(143, 166, 188, 0.9);
}
.footer-meta__value {
  color: #DAE6F1;
  font-size: 0.9rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px clamp(16px, 2.4vw, 32px);
  margin-top: clamp(34px, 4.6vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--stroke);
}

.footer-legal {
  color: var(--mist);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-legal-links .footer-link { font-size: 0.78rem; }

.footer-version {
  margin-left: auto;
  color: var(--mist);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}
.footer-version .mono { color: var(--orange-soft); }

.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-pill);
  color: var(--mist);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.footer-top-link::after { content: "↑"; color: var(--aqua); }
.footer-top-link:hover {
  color: var(--pearl);
  border-color: rgba(43, 232, 196, 0.55);
  background: rgba(43, 232, 196, 0.08);
}

/* ---------- 平板与手机 ---------- */
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }

  .nav-capsule {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    display: none;
    padding: 12px;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    background: rgba(5, 19, 34, 0.97);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    backdrop-filter: blur(22px) saturate(150%);
    box-shadow: 0 34px 70px -40px rgba(0, 0, 0, 1);
  }
  .site-header[data-open] .nav-capsule { display: block; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .link-ghost { display: none; }
}

@media (min-width: 1024px) {
  .site-header[data-compact] { padding-block: 8px; }
  .site-header[data-compact] .header-shell {
    max-width: 1040px;
    padding: 6px 8px 6px 12px;
    background: rgba(4, 16, 28, 0.86);
  }
  .site-header[data-compact] .brand-region { display: none; }
  .site-header[data-compact] .link-ghost { display: none; }
  .site-header[data-compact] .nav-link { padding: 7px 12px; font-size: 0.8rem; }
  .site-header[data-compact] .btn--accent { padding: 9px 17px; font-size: 0.8rem; }
}

@media (max-width: 560px) {
  .header-shell { padding: 7px 8px 7px 12px; }
  .brand-name { font-size: 0.88rem; }
  .btn--accent { padding: 10px 15px; font-size: 0.8rem; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-version { margin-left: 0; }
  .footer-bottom { gap: 12px; }
  .scroll-track > * { flex-basis: min(78vw, 300px); }
}

/* ---------- 动效降级 ---------- */
@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;
  }
  .js [data-reveal],
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .scroll-meter__fill { transition: none; }
}
