/* ============================================================
   B体育娱乐 · 共享基础样式 /assets/site.css
   夜间赛场战术板：蓝图网格 + 框景刻度 + 悬浮胶囊
   ============================================================ */

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

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

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

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

a { color: inherit; text-decoration: none; }

table { border-collapse: collapse; }

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

/* ---------- tokens ---------- */
:root {
  --bg: #071A16;
  --panel: #0E2B24;
  --raise: #123B31;
  --cyan: #00F0C8;
  --orange: #FF6A2B;
  --gold: #D9B36C;
  --silver: #C7D3D8;
  --violet: #7A5CFF;
  --ink: #EAF4F0;
  --ink-soft: #B9CCC5;
  --muted: #8FA69E;
  --line: #2F5A4E;
  --paper: #F4F7F5;

  --max: 1280px;
  --gutter: clamp(16px, 4.2vw, 44px);
  --reading: 68ch;

  --r-xl: 26px;
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;

  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system,
          "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular,
          Menlo, Consolas, "Courier New", monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-deep: 0 26px 64px -36px rgba(0, 0, 0, 0.92);
}

/* ---------- 中文排版基线 ---------- */
body {
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  letter-spacing: 0.01em;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 620px at 78% -8%, rgba(0, 240, 200, 0.10), transparent 62%),
    radial-gradient(720px 520px at 4% 14%, rgba(122, 92, 255, 0.10), transparent 60%),
    radial-gradient(640px 420px at 52% 108%, rgba(255, 106, 43, 0.06), transparent 66%),
    linear-gradient(rgba(47, 90, 78, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 90, 78, 0.16) 1px, transparent 1px);
  background-size: auto, auto, auto, 24px 24px, 24px 24px;
  background-attachment: fixed, fixed, fixed, fixed, fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-wrap: balance;
}

p { text-wrap: pretty; }

strong { font-weight: 800; }

#main-content { display: block; }
#main-content:focus { outline: none; }

/* ---------- 通用工具 ---------- */
.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

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

.skip-link {
  position: fixed;
  left: clamp(12px, 3vw, 26px);
  top: -88px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  background: var(--cyan);
  color: #04140F;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 18px 40px -22px rgba(0, 240, 200, 0.9);
  transition: top 0.22s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- 区块节奏 ---------- */
.section {
  position: relative;
  padding-block: clamp(56px, 7vw, 104px);
}

.section--paper {
  background:
    linear-gradient(rgba(14, 43, 36, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 43, 36, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 24px 24px, 24px 24px, auto;
  color: #0B2620;
  border-block: 1px solid rgba(47, 90, 78, 0.5);
}
.section--paper .section-title,
.section--paper .page-title { color: #08211B; }
.section--paper .lede { color: #3C544C; }

.page-head {
  position: relative;
  padding-block: clamp(30px, 5vw, 64px) clamp(18px, 3vw, 32px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: currentColor;
  box-shadow: 0 0 10px rgba(0, 240, 200, 0.7);
}

.section-title {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: 0.04em;
}

.page-title {
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.12;
  letter-spacing: 0.045em;
}

.lede {
  max-width: var(--reading);
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.78;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
              border-color 0.18s var(--ease), color 0.18s var(--ease),
              box-shadow 0.18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--cyan);
  color: #04140F;
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(0, 240, 200, 0.28), 0 14px 30px -18px rgba(0, 240, 200, 0.95);
}
.btn--primary:hover { background: #4BFFDD; color: #04140F; }

.btn--ghost {
  background: rgba(18, 59, 49, 0.55);
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn--orange {
  background: var(--orange);
  border-color: var(--orange);
  color: #1A0A02;
  box-shadow: 0 14px 30px -18px rgba(255, 106, 43, 0.9);
}
.btn--orange:hover { background: #FF8150; color: #1A0A02; }

.btn--quiet {
  padding: 8px 12px;
  color: var(--muted);
  font-weight: 500;
}
.btn--quiet:hover { color: var(--cyan); background: rgba(0, 240, 200, 0.08); }

/* ---------- 面板 / 框景 / 标签 ---------- */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-deep);
}

.framed {
  position: relative;
  border: 1px solid rgba(47, 90, 78, 0.95);
  border-radius: var(--r-xl);
  background-color: rgba(14, 43, 36, 0.6);
  background-image:
    linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(var(--cyan), var(--cyan));
  background-repeat: no-repeat;
  background-size:
    15px 1.5px, 1.5px 15px,
    15px 1.5px, 1.5px 15px,
    15px 1.5px, 1.5px 15px,
    15px 1.5px, 1.5px 15px;
  background-position:
    left 11px top 11px, left 11px top 11px,
    right 11px top 11px, right 11px top 11px,
    left 11px bottom 11px, left 11px bottom 11px,
    right 11px bottom 11px, right 11px bottom 11px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.tag--cyan {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04140F;
}
.tag--orange {
  background: var(--orange);
  border-color: var(--orange);
  color: #1A0A02;
}
.tag--gold {
  background: rgba(217, 179, 108, 0.12);
  border-color: rgba(217, 179, 108, 0.55);
  color: var(--gold);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-block: 18px 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before {
  content: "/";
  margin-inline: 9px;
  color: var(--line);
}
.breadcrumb a { transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* ---------- 正文容器 ---------- */
.prose {
  max-width: 760px;
  color: #D6E5DF;
  font-size: 16.5px;
  line-height: 1.8;
}
.prose > * + * { margin-top: 18px; }
.prose h2 {
  margin-top: 38px;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--ink);
}
.prose h3 {
  margin-top: 28px;
  font-size: 19px;
  color: var(--ink);
}
.prose strong { color: var(--ink); }
.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(0, 240, 200, 0.4);
}
.prose a:hover { border-bottom-color: var(--cyan); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--cyan); }

/* ---------- 分栏网格 ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

@media (min-width: 980px) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--8-4 { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .split--reverse > :first-child { order: 2; }
}

.stack-note {
  max-width: 34ch;
  padding: 2px 0 2px 15px;
  border-left: 2px solid rgba(0, 240, 200, 0.6);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

/* ---------- 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  display: grid;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(47, 90, 78, 0.9);
  border-radius: var(--r-lg);
  background-image:
    radial-gradient(120% 90% at 18% 8%, rgba(0, 240, 200, 0.14), transparent 60%),
    radial-gradient(100% 80% at 88% 92%, rgba(122, 92, 255, 0.18), transparent 62%),
    linear-gradient(160deg, #123B31, #071A16);
}
.media-frame > img,
.media-frame > picture,
.media-frame > video,
.media-frame > svg {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 21 / 9; }

.media-frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  grid-area: 1 / 1;
  align-self: end;
  padding: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  background: linear-gradient(0deg, rgba(7, 26, 22, 0.94), transparent);
}

/* ---------- 表格基础 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(14, 43, 36, 0.55);
}
.data-table {
  width: 100%;
  min-width: 560px;
  font-size: 14px;
}
.data-table th {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
  white-space: nowrap;
}
.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(47, 90, 78, 0.45);
  color: var(--ink-soft);
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr { transition: background-color 0.2s var(--ease); }
.data-table tbody tr:hover { background: rgba(0, 240, 200, 0.06); }
.data-table tbody tr:hover td { color: var(--ink); }

/* ---------- 浮动目录 ---------- */
.toc {
  position: sticky;
  top: 112px;
  font-size: 13px;
}
.toc__title {
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.toc__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 15px;
  border-left: 1px solid var(--line);
}
.toc__link {
  position: relative;
  display: block;
  padding: 7px 0;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.toc__link:hover { color: var(--ink); }
.toc__link[aria-current] { color: var(--cyan); }
.toc__link[aria-current]::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 2px;
  height: 16px;
  background: var(--cyan);
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(0, 240, 200, 0.85);
}

/* ---------- 显现协议 ---------- */
html[data-js="true"] [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
html[data-js="true"] [data-reveal][data-inview="true"] {
  opacity: 1;
  transform: none;
}

/* ============================================================
   头部
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding-block: 14px 12px;
  transition: padding-block 0.3s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(180deg, rgba(7, 26, 22, 0.94), rgba(7, 26, 22, 0.6) 64%, rgba(7, 26, 22, 0));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: opacity 0.3s var(--ease);
}
.site-header[data-scrolled="true"] { padding-block: 8px 8px; }
.site-header[data-scrolled="true"]::before { opacity: 1; }

.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  opacity: 0.92;
  pointer-events: none;
}

.header-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 14px;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* 品牌浮岛 */
.brand-island {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 11px;
  border: 1px solid rgba(47, 90, 78, 0.92);
  border-radius: 999px;
  background: rgba(14, 43, 36, 0.88);
  box-shadow: var(--shadow-deep);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.brand-island:hover { border-color: rgba(0, 240, 200, 0.6); background: rgba(18, 59, 49, 0.95); }

.brand-mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  width: 22px;
  height: 20px;
  flex: none;
}
.brand-mark span {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: var(--cyan);
}
.brand-mark span:nth-child(1) { height: 11px; opacity: 0.55; }
.brand-mark span:nth-child(2) { height: 18px; }
.brand-mark span:nth-child(3) { height: 14px; background: var(--orange); }

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--ink);
}
.brand-latin {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

/* 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(14, 43, 36, 0.92);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.12em;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-toggle:hover { border-color: rgba(0, 240, 200, 0.6); }
.nav-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.nav-toggle-icon span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform 0.25s var(--ease), background-color 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] { border-color: rgba(255, 106, 43, 0.7); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span { background: var(--orange); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:last-child { transform: translateY(-3px) rotate(-45deg); }
.nav-toggle-text { font-family: var(--mono); font-size: 11px; }

/* 胶囊导航 */
.nav-capsule {
  justify-self: center;
  max-width: 100%;
  padding: 5px;
  border: 1px solid rgba(47, 90, 78, 0.85);
  border-radius: 999px;
  background: rgba(18, 59, 49, 0.64);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-deep);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  position: relative;
  display: block;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: translateX(-50%);
  transition: width 0.24s var(--ease), box-shadow 0.24s var(--ease);
}
.nav-link:hover { color: var(--ink); background: rgba(0, 240, 200, 0.08); }
.nav-link:hover::after { width: 18px; }
.nav-link[aria-current="page"] {
  color: var(--ink);
  background: rgba(0, 240, 200, 0.12);
}
.nav-link[aria-current="page"]::after {
  width: 22px;
  box-shadow: 0 0 10px rgba(0, 240, 200, 0.9);
}

/* 右侧动作 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-self: end;
}
.header-cta { padding: 10px 18px; font-size: 13px; }
.header-link {
  padding: 9px 10px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.header-link:hover { color: var(--cyan); background: rgba(0, 240, 200, 0.08); }

/* 头部响应式 */
@media (max-width: 1180px) {
  .nav-link { padding: 8px 10px; font-size: 12.5px; }
  .header-cta { padding: 9px 15px; }
}

@media (max-width: 980px) {
  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggle"
      "nav nav"
      "actions actions";
    gap: 10px;
    padding-inline: clamp(14px, 4vw, 24px);
  }
  .brand-island { grid-area: brand; justify-self: start; }
  .nav-toggle { grid-area: toggle; display: inline-flex; justify-self: end; }

  .nav-capsule {
    grid-area: nav;
    display: none;
    justify-self: stretch;
    padding: 8px;
    border-radius: var(--r-lg);
    background: rgba(14, 43, 36, 0.97);
    box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.95);
  }
  .nav-capsule[data-open="true"] { display: block; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link {
    padding: 12px 14px;
    border-radius: var(--r-sm);
    font-size: 14.5px;
    white-space: normal;
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--cyan); }

  .header-actions {
    grid-area: actions;
    display: none;
    justify-self: stretch;
    flex-wrap: wrap;
    gap: 10px;
  }
  .site-header[data-nav-open="true"] .header-actions { display: flex; }
  .header-cta { flex: 1 1 auto; justify-content: center; }
  .header-link {
    flex: 0 0 auto;
    padding: 10px 16px;
    border: 1px solid var(--line);
    text-align: center;
  }
}

@media (max-width: 520px) {
  .brand-latin { display: none; }
  .brand-island { padding: 7px 14px 7px 10px; }
  .nav-toggle-text { display: none; }
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  border-top: 1px solid var(--line);
  background-color: #05130F;
  background-image:
    radial-gradient(720px 380px at 10% 0%, rgba(0, 240, 200, 0.09), transparent 66%),
    radial-gradient(560px 320px at 88% 8%, rgba(217, 179, 108, 0.08), transparent 64%),
    linear-gradient(rgba(47, 90, 78, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 90, 78, 0.18) 1px, transparent 1px);
  background-size: auto, auto, 24px 24px, 24px 24px;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 200, 0.65), rgba(255, 106, 43, 0.4), transparent);
}

.footer-shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 74px) var(--gutter) 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 42px);
}

.footer-brand { max-width: 30ch; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s var(--ease);
}
.footer-logo:hover { opacity: 0.86; }
.footer-logo .brand-name { font-size: 17px; }

.footer-slogan {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}
.footer-note {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.footer-title {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-list a {
  display: inline-block;
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-list a:hover { color: var(--cyan); transform: translateX(2px); }

.footer-contact li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.footer-contact .mono {
  font-size: 13.5px;
  color: var(--ink);
  word-break: break-all;
}
.footer-contact span:not(.footer-label):not(.mono) {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.footer-btn {
  margin-top: 18px;
  font-size: 13px;
  padding: 9px 16px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 26px;
  margin-top: clamp(30px, 5vw, 54px);
  padding-top: 20px;
  border-top: 1px solid rgba(47, 90, 78, 0.75);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.footer-address { max-width: 52ch; line-height: 1.6; }
.footer-legal { color: var(--muted); }
.footer-legal .mono { color: var(--ink-soft); }

@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: 44ch; }
}
@media (min-width: 1080px) {
  .footer-grid { grid-template-columns: 1.5fr 0.95fr 0.9fr 1.15fr; }
  .footer-brand { grid-column: auto; }
}

/* 返回顶部 */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 30px);
  bottom: clamp(14px, 3vw, 30px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px 11px 14px;
  border: 1px solid rgba(0, 240, 200, 0.45);
  border-radius: 999px;
  background: rgba(18, 59, 49, 0.95);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 22px 44px -28px rgba(0, 0, 0, 0.95);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), border-color 0.2s var(--ease);
}
.to-top[data-visible="true"] {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.to-top:hover { border-color: var(--cyan); }
.to-top-icon {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid var(--cyan);
}
.to-top-text { line-height: 1; }

/* ============================================================
   动效降级
   ============================================================ */
@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;
  }
  html[data-js="true"] [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .btn:hover,
  .footer-list a:hover { transform: none; }
}
