/* ==========================================================================
   88新博体育 · Site Kit
   夜间球场指挥中心 / 数据仪表盘
   ========================================================================== */

/* ---------- 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, p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}

ul, ol { padding: 0; }

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

img { height: auto; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

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

a { color: inherit; }

/* ---------- 2. 变量 ---------- */
:root {
  /* 品牌色 */
  --blue-900: #060B16;
  --blue-800: #0C1528;
  --blue-700: #16234A;
  --cyan-400: #3BF0E4;
  --cyan-600: #0F8F92;
  --orange: #FF6B2C;
  --yellow: #FFD447;
  --moss: #6E8F6A;
  --clay: #B96B4A;
  --stone: #8E96A8;
  --paper: #F1ECE1;

  /* 线条与层级 */
  --line: rgba(142, 150, 168, 0.18);
  --line-strong: rgba(142, 150, 168, 0.34);
  --line-cyan: rgba(59, 240, 228, 0.42);

  /* 尺度 */
  --maxw: 1320px;
  --gutter: clamp(18px, 4vw, 28px);
  --radius: 3px;

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

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--paper);
  background-color: var(--blue-900);
  background-image:
    radial-gradient(1100px 660px at 84% -10%, rgba(59, 240, 228, 0.13), transparent 60%),
    radial-gradient(820px 560px at 4% 2%, rgba(255, 107, 44, 0.09), transparent 58%),
    repeating-linear-gradient(0deg, rgba(241, 236, 225, 0.024) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #081020 0%, #060B16 46%, #05080F 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

p { max-width: 72ch; }

strong { color: var(--paper); font-weight: 700; }

::selection {
  background: var(--cyan-400);
  color: #04121A;
}

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

#main-content:focus,
#main-content:focus-visible {
  outline: 2px solid var(--line-cyan);
  outline-offset: -2px;
}

/* ---------- 4. 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(34px, 5vw, 74px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 26px;
  margin-bottom: clamp(18px, 2.4vw, 30px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.grid {
  display: grid;
  gap: clamp(14px, 1.7vw, 24px);
}

.grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

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

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

/* ---------- 5. 文字组件 ---------- */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--paper);
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.title {
  font-family: var(--font-cn);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.subtitle {
  font-weight: 500;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.6;
  color: var(--paper);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-400);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.lede {
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.8;
  color: var(--stone);
  max-width: 64ch;
}

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

/* ---------- 6. 面板 / 数据 / 标签 ---------- */
.panel {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(18px, 2vw, 26px);
  background: var(--blue-800);
}

.panel--solid {
  background: linear-gradient(170deg, #0D1729, var(--blue-800) 70%);
  box-shadow: inset 0 1px 0 rgba(241, 236, 225, 0.05);
}

.panel--glass {
  background: linear-gradient(160deg, rgba(22, 35, 74, 0.62), rgba(12, 21, 40, 0.34));
  border-color: rgba(59, 240, 228, 0.18);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(241, 236, 225, 0.07), 0 28px 60px -42px rgba(0, 0, 0, 0.95);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cyan-400);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--stone);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.tag--live {
  background: var(--cyan-400);
  color: #04121A;
}

.tag--update {
  background: var(--yellow);
  color: #1A1200;
}

.tag--stable {
  background: rgba(110, 143, 106, 0.3);
  border-color: rgba(110, 143, 106, 0.72);
  color: #E7F1E4;
}

.tag--stage {
  background: rgba(185, 107, 74, 0.26);
  border-color: rgba(185, 107, 74, 0.66);
  color: #F6E3D8;
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-cn);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.2s ease,
    border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:active { transform: translateY(1px); }

.btn--signal {
  background: var(--orange);
  border-color: #FF8A57;
  color: #140701;
  box-shadow: 0 14px 30px -18px rgba(255, 107, 44, 0.95);
}

.btn--signal:hover {
  background: #FF8347;
  box-shadow: 0 16px 34px -16px rgba(255, 107, 44, 0.95);
}

.btn--primary {
  background: var(--cyan-400);
  border-color: #7DF7EF;
  color: #04121A;
  box-shadow: 0 14px 30px -18px rgba(59, 240, 228, 0.9);
}

.btn--primary:hover { background: #63F5EA; }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--cyan-400);
  color: var(--cyan-400);
  background: rgba(59, 240, 228, 0.07);
}

/* ---------- 8. 面包屑 ---------- */
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--stone);
  padding-block: 14px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.breadcrumbs a {
  color: var(--stone);
  text-decoration: none;
  transition: color 0.16s ease;
}

.breadcrumbs a:hover { color: var(--cyan-400); }

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(142, 150, 168, 0.45);
}

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

/* ---------- 9. 数据带与章节索引 ---------- */
.data-strip {
  display: flex;
  overflow-x: auto;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(12, 21, 40, 0.72);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.data-strip > * {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--stone);
  white-space: nowrap;
}

.data-strip > *:last-child { border-right: 0; }

.data-strip strong { color: var(--cyan-400); }

.index-rail {
  display: grid;
  gap: 2px;
  list-style: none;
  border-left: 1px solid var(--line);
}

.index-rail a {
  display: block;
  margin-left: -1px;
  padding: 8px 0 8px 14px;
  border-left: 2px solid transparent;
  font-size: 13px;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.index-rail a:hover {
  color: var(--paper);
  background: rgba(59, 240, 228, 0.05);
}

.index-rail a[aria-current="true"] {
  color: var(--cyan-400);
  border-left-color: var(--cyan-400);
}

/* ---------- 10. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
  background-color: var(--blue-800);
  background-image:
    linear-gradient(150deg, rgba(22, 35, 74, 0.92), rgba(6, 11, 22, 0.96)),
    repeating-linear-gradient(115deg, rgba(59, 240, 228, 0.1) 0 2px, transparent 2px 14px);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 54%;
  background: linear-gradient(180deg, transparent, rgba(6, 11, 22, 0.86));
  pointer-events: none;
}

.media-frame--plain::after { content: none; }

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

/* ---------- 11. 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: -72px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 2px;
  background: var(--cyan-400);
  color: #04121A;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 14px;
  outline: 2px solid var(--paper);
  outline-offset: 2px;
}

/* ---------- 12. 头部：框架梁 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(6, 11, 22, 0.94), rgba(6, 11, 22, 0.8));
  border-bottom: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.site-header[data-stuck="true"] {
  background: linear-gradient(180deg, rgba(8, 14, 28, 0.99), rgba(6, 11, 22, 0.93));
  border-bottom-color: var(--line-cyan);
  box-shadow: 0 22px 46px -30px rgba(0, 0, 0, 0.98);
}

.frame-bar { border-bottom: 1px solid var(--line); }

.frame-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  transition: min-height 0.22s ease;
}

.site-header[data-stuck="true"] .frame-inner { min-height: 56px; }

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  padding-block: 8px;
  text-decoration: none;
  color: var(--paper);
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--cyan-400), #12B7B0 72%);
  color: #04121A;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.04em;
  box-shadow: 0 0 0 1px rgba(59, 240, 228, 0.38),
    0 12px 26px -14px rgba(59, 240, 228, 0.9);
  transition: width 0.22s ease, height 0.22s ease;
}

.site-header[data-stuck="true"] .brand-mark {
  width: 36px;
  height: 36px;
  font-size: 16px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--paper);
  white-space: nowrap;
}

.brand-season {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--stone);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 8px rgba(110, 143, 106, 0.9);
}

/* 快捷入口 */
.quick-lanes {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lane {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: rgba(22, 35, 74, 0.44);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.18s ease, background 0.18s ease,
    color 0.18s ease, transform 0.16s ease;
}

.lane::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 10px rgba(59, 240, 228, 0.9);
}

.lane--rank::before { background: var(--cyan-400); }
.lane--feed::before { background: var(--orange); box-shadow: 0 0 10px rgba(255, 107, 44, 0.9); }
.lane--save::before { background: var(--yellow); box-shadow: 0 0 10px rgba(255, 212, 71, 0.85); }

.lane:hover {
  border-color: var(--cyan-400);
  background: rgba(59, 240, 228, 0.09);
  transform: translateY(-1px);
}

.lane:active { transform: translateY(1px); }

/* 移动端抽屉按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: rgba(22, 35, 74, 0.5);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.nav-toggle:hover {
  border-color: var(--cyan-400);
  color: var(--cyan-400);
}

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
}

.nav-toggle-bars span {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.18s ease, width 0.22s ease;
}

.nav-toggle-bars span:nth-child(2) { width: 12px; }

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

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

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

/* 导航 */
.frame-nav {
  background: rgba(12, 21, 40, 0.6);
}

.frame-nav-list {
  display: flex;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  list-style: none;
}

.frame-nav-list li {
  flex: 1 1 0;
  min-width: 0;
}

.frame-nav-list a {
  position: relative;
  display: block;
  padding: 13px 6px;
  border-right: 1px solid var(--line);
  color: var(--stone);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.frame-nav-list li:first-child a { border-left: 1px solid var(--line); }

.frame-nav-list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--cyan-400);
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--cyan-400);
  transition: width 0.22s ease;
}

.frame-nav-list a:hover {
  color: var(--paper);
  background: rgba(59, 240, 228, 0.06);
}

.frame-nav-list a:hover::after { width: 52%; }

.frame-nav-list a[aria-current="page"] {
  color: var(--cyan-400);
  background: rgba(59, 240, 228, 0.1);
}

.frame-nav-list a[aria-current="page"]::after { width: 100%; }

/* ---------- 13. 移动端导航抽屉 ---------- */
@media (max-width: 899px) {
  .frame-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    border-bottom: 1px solid var(--line-strong);
    background: rgba(8, 14, 28, 0.98);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transition: max-height 0.3s ease, opacity 0.22s ease,
      visibility 0s linear 0.3s;
  }

  .frame-nav[data-open="true"] {
    max-height: 78vh;
    overflow-y: auto;
    visibility: visible;
    opacity: 1;
    transition: max-height 0.3s ease, opacity 0.22s ease,
      visibility 0s linear 0s;
  }

  .frame-nav-list {
    flex-direction: column;
  }

  .frame-nav-list li {
    flex: 0 0 auto;
    border-bottom: 1px solid var(--line);
  }

  .frame-nav-list a {
    padding: 15px var(--gutter);
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-align: left;
  }

  .frame-nav-list li:first-child a { border-left: 0; }

  .frame-nav-list a::after {
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    height: 100%;
    transform: none;
  }

  .frame-nav-list a:hover::after { width: 2px; }
  .frame-nav-list a[aria-current="page"]::after { width: 2px; }
}

@media (min-width: 860px) {
  .quick-lanes { display: flex; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
}

/* 桌面框架感：细边外框 */
@media (min-width: 1024px) {
  .site-header {
    margin-inline: clamp(0px, 1.4vw, 22px);
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
}

/* ---------- 14. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(54px, 8vw, 110px);
  border-top: 1px solid var(--line-strong);
  background:
    radial-gradient(760px 380px at 90% 0%, rgba(59, 240, 228, 0.1), transparent 62%),
    radial-gradient(560px 340px at 4% 100%, rgba(185, 107, 74, 0.14), transparent 66%),
    linear-gradient(180deg, rgba(12, 21, 40, 0.97), rgba(5, 8, 15, 0.99));
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 240, 228, 0.72), transparent);
}

.footer-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(32px, 4.4vw, 60px) var(--gutter) 0;
}

.footer-brandbar {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
  align-items: center;
  padding-bottom: clamp(24px, 3vw, 38px);
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brandtext {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.footer-brandname {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.footer-brandsub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--stone);
}

.footer-note {
  font-size: 14px;
  line-height: 1.8;
  color: var(--stone);
  max-width: 62ch;
}

.footer-grid {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  padding-block: clamp(26px, 3vw, 42px);
}

.footer-col {
  min-width: 0;
}

.footer-col-title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--cyan-400);
}

.footer-list {
  display: grid;
  gap: 9px;
  list-style: none;
}

.footer-list a {
  display: inline-block;
  font-size: 14px;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.16s ease, text-underline-offset 0.16s ease;
}

.footer-list a:hover {
  color: var(--cyan-400);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-service {
  display: grid;
  gap: 12px;
}

.footer-service-row {
  display: grid;
  gap: 2px;
}

.footer-service-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(142, 150, 168, 0.85);
}

.footer-service-value {
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper);
  word-break: break-word;
}

.footer-service-value--mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.footer-icp {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--stone);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  margin-top: clamp(16px, 2vw, 26px);
  padding-block: 18px 30px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(142, 150, 168, 0.9);
}

.footer-bottom-note {
  color: rgba(142, 150, 168, 0.72);
}

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

@media (min-width: 900px) {
  .footer-brandbar {
    grid-template-columns: minmax(200px, 1fr) minmax(0, 1.7fr) auto;
  }
}

@media (min-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1.3fr 1fr;
  }
}

/* ---------- 15. 滚动进度与返回顶部（由 JS 注入） ---------- */
.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-600), var(--cyan-400) 55%, var(--yellow));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(59, 240, 228, 0.75);
}

.back-to-top {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(59, 240, 228, 0.4);
  border-radius: 2px;
  background: rgba(12, 21, 40, 0.94);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.2s ease,
    color 0.2s ease;
}

.back-to-top[data-visible="true"] {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.back-to-top:hover {
  border-color: var(--cyan-400);
  color: var(--cyan-400);
}

/* ---------- 16. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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