/* =========================================================
   万搏体育主站 · 共享样式 /assets/site.css
   北境主场数字看台：深空黑 + 冰蓝光带 + 炽橙行动 + 荧光绿数据
   ========================================================= */

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

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

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

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

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #070B12;
  --ink-2: #0B1220;
  --panel: #0C1420;
  --steel: #1B3A57;
  --ice: #38D6FF;
  --ember: #FF5A1F;
  --lime: #B8FF3D;
  --rock: #6E7681;
  --rock-lt: #9AA3AF;
  --moss: #4F6B57;
  --clay: #B86B4B;
  --cream: #F2EDE4;

  --line: rgba(154, 163, 175, 0.22);
  --line-ice: rgba(56, 214, 255, 0.26);
  --line-ember: rgba(255, 90, 31, 0.34);

  --font-display: "Barlow Condensed", "Noto Sans SC", "Source Han Sans SC",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Roboto Mono", ui-monospace, SFMono-Regular,
    Menlo, Consolas, "Courier New", monospace;
  --font-serif: "Noto Serif SC", "Songti SC", "Source Han Serif SC", Georgia,
    "Times New Roman", serif;

  --r-lg: 34px;
  --r-md: 22px;
  --r-sm: 14px;
  --r-pill: 999px;

  --shell: 1240px;
  --pad: clamp(18px, 4vw, 48px);
  --header-h: 74px;
}

/* ---------- 3. 主内容与容器 ---------- */
main {
  display: block;
  padding-top: var(--header-h);
}

#main-content { scroll-margin-top: calc(var(--header-h) + 12px); }

.shell {
  width: min(100% - (var(--pad) * 2), var(--shell));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(44px, 7vw, 96px);
}

.section--panel {
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(56, 214, 255, 0.08), transparent 58%),
    linear-gradient(170deg, rgba(27, 58, 87, 0.42), rgba(12, 20, 32, 0.92));
  border: 1px solid var(--line-ice);
  border-radius: clamp(24px, 4vw, 40px);
  padding-inline: clamp(18px, 4vw, 52px);
  overflow: hidden;
}

.section--cream {
  background: var(--cream);
  color: #14171B;
  border-radius: clamp(20px, 3.4vw, 36px);
}

.bleed-top { margin-top: calc(-1 * var(--header-h)); }

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

.visually-hidden {
  position: absolute !important;
  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;
}

/* ---------- 4. 排版 ---------- */
.h1, .h2, .h3, .display {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.96;
  color: var(--cream);
}

.h1 { font-size: clamp(44px, 7vw, 96px); letter-spacing: -0.015em; }
.h2 { font-size: clamp(28px, 4vw, 48px); letter-spacing: -0.01em; }
.h3 { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: 0; line-height: 1.12; }
.display { font-size: clamp(36px, 6vw, 82px); }

.section--cream .h1,
.section--cream .h2,
.section--cream .h3 { color: #10151B; }

.lede {
  font-size: clamp(16.5px, 1.9vw, 20px);
  line-height: 1.72;
  color: rgba(242, 237, 228, 0.86);
  max-width: 54ch;
}

.body-copy {
  font-size: clamp(16px, 1.6vw, 17px);
  line-height: 1.78;
  color: rgba(242, 237, 228, 0.8);
  max-width: 66ch;
}

.section--cream .body-copy { color: #333A42; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ice);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--ember);
}

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

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

.stat-num {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rock-lt);
}

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 220;
  padding: 12px 22px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  background: var(--ice);
  color: #04121A;
  font-weight: 700;
  font-size: 14px;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 0; }

/* ---------- 6. 头部 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  color: var(--cream);
  background-image: linear-gradient(
    180deg,
    rgba(7, 11, 18, 0.94) 0%,
    rgba(7, 11, 18, 0.62) 62%,
    rgba(7, 11, 18, 0) 100%
  );
  border-bottom: 1px solid transparent;
  transition: background-color 0.24s ease, border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.site-header[data-scrolled] {
  background-color: rgba(27, 58, 87, 0.95);
  background-image: none;
  border-bottom-color: rgba(56, 214, 255, 0.24);
  box-shadow: 0 22px 44px -34px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
}

.header-shell {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 30px);
  width: min(100% - (var(--pad) * 2), var(--shell));
  margin-inline: auto;
  min-height: var(--header-h);
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding-block: 10px;
  min-width: 0;
}

.brand-shard {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  background: linear-gradient(142deg, var(--ice) 0%, #8FE3FF 34%, var(--steel) 100%);
  clip-path: polygon(50% 0%, 100% 62%, 50% 100%, 0% 62%);
  box-shadow: 0 0 24px rgba(56, 214, 255, 0.55);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.brand-shard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(255, 90, 31, 0.9) 46%, rgba(255, 90, 31, 0.9) 54%, transparent 54%);
  opacity: 0.55;
}

.brand:hover .brand-shard {
  transform: rotate(90deg) scale(1.06);
  box-shadow: 0 0 32px rgba(56, 214, 255, 0.8);
}

.brand-type { display: block; min-width: 0; }

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(17px, 1.9vw, 21px);
  letter-spacing: 0.03em;
  line-height: 1.06;
  color: var(--cream);
  white-space: nowrap;
}

.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ice);
  opacity: 0.82;
  white-space: nowrap;
  margin-top: 3px;
}

/* 主导航 */
.site-nav { margin-inline: auto; min-width: 0; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.3vw, 20px);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 2px 12px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(242, 237, 228, 0.82);
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--ice);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease, background-color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible { color: var(--ice); }

.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] { color: var(--ice); }

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--ice);
  box-shadow: 0 0 12px rgba(56, 214, 255, 0.8);
}

/* 头部右侧 */
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* 汉堡 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(56, 214, 255, 0.42);
  background: rgba(56, 214, 255, 0.08);
  color: var(--cream);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.nav-toggle:hover {
  border-color: var(--ice);
  background: rgba(56, 214, 255, 0.16);
}

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--ice);
  transition: transform 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}

.nav-toggle-icon::before { top: 0; }
.nav-toggle-icon::after { bottom: 0; }

.site-header[data-open] .nav-toggle-icon::before {
  top: 5px;
  transform: rotate(45deg);
}

.site-header[data-open] .nav-toggle-icon::after {
  bottom: 5px;
  transform: rotate(-45deg);
}

/* 滚动进度 */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
  overflow: hidden;
  pointer-events: none;
}

.scroll-meter-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--ice) 0%, var(--ice) 62%, var(--ember) 100%);
  box-shadow: 0 0 14px rgba(56, 214, 255, 0.7);
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.18s ease,
    color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

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

.btn-ember {
  background: var(--ember);
  color: #0A0F16;
  box-shadow: 0 12px 30px -16px rgba(255, 90, 31, 0.95);
}

.btn-ember:hover {
  background: #FF7440;
  box-shadow: 0 16px 34px -14px rgba(255, 90, 31, 1);
}

.btn-ice {
  background: var(--ice);
  color: #04121A;
  box-shadow: 0 12px 30px -16px rgba(56, 214, 255, 0.95);
}

.btn-ice:hover { background: #66E1FF; }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(242, 237, 228, 0.36);
}

.btn-ghost:hover {
  color: var(--ice);
  border-color: var(--ice);
  background: rgba(56, 214, 255, 0.08);
}

.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-lg { padding: 16px 32px; font-size: 16.5px; }

/* ---------- 8. 标签 / 卡片 / 胶囊 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(56, 214, 255, 0.32);
  background: rgba(56, 214, 255, 0.12);
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}

.tag--ember {
  background: rgba(255, 90, 31, 0.14);
  border-color: rgba(255, 90, 31, 0.38);
  color: #FF8A5B;
}

.tag--lime {
  background: rgba(184, 255, 61, 0.12);
  border-color: rgba(184, 255, 61, 0.36);
  color: var(--lime);
}

.tag--clay {
  background: rgba(184, 107, 75, 0.16);
  border-color: rgba(184, 107, 75, 0.42);
  color: #DA9C7D;
}

.card {
  position: relative;
  border-radius: var(--r-md);
  padding: clamp(18px, 2.4vw, 26px);
  background:
    linear-gradient(168deg, rgba(27, 58, 87, 0.55), rgba(12, 20, 32, 0.92));
  border: 1px solid rgba(56, 214, 255, 0.16);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.card:focus-within {
  border-color: rgba(56, 214, 255, 0.46);
  transform: translateY(-3px);
  box-shadow: 0 26px 46px -36px rgba(56, 214, 255, 0.9);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(154, 163, 175, 0.36);
  background: rgba(242, 237, 228, 0.03);
  color: rgba(242, 237, 228, 0.8);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.16s ease;
}

.pill:hover {
  color: var(--ice);
  border-color: var(--ice);
  transform: translateY(-1px);
}

.pill[aria-pressed="true"] {
  background: var(--ice);
  border-color: var(--ice);
  color: #04121A;
  box-shadow: 0 12px 26px -16px rgba(56, 214, 255, 0.95);
}

.pill-count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  opacity: 0.78;
}

[data-filter-item] {
  transition: opacity 0.24s ease, transform 0.24s ease;
}

[data-filter-item].is-out {
  opacity: 0;
  transform: translateY(10px);
}

[data-filter-item][hidden] { display: none !important; }

/* ---------- 9. 面包屑 ---------- */
.crumb {
  padding-block: clamp(18px, 3vw, 30px) 0;
}

.crumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rock-lt);
}

.crumb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.crumb-list li + li::before {
  content: "/";
  color: rgba(154, 163, 175, 0.5);
}

.crumb-list a {
  color: var(--rock-lt);
  transition: color 0.16s ease;
}

.crumb-list a:hover { color: var(--ice); }

.crumb-list [aria-current="page"] { color: var(--ice); }

/* ---------- 10. 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

.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)); }

.split-7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split-5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

/* ---------- 11. 图片容器基础 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-ice);
  background:
    radial-gradient(120% 92% at 82% 0%, rgba(56, 214, 255, 0.18), transparent 62%),
    linear-gradient(158deg, #0F1D2B 0%, #0A121C 72%, #0C1622 100%);
  box-shadow: inset 0 0 70px rgba(56, 214, 255, 0.07);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    116deg,
    transparent 40%,
    rgba(56, 214, 255, 0.16) 49%,
    rgba(255, 90, 31, 0.1) 54%,
    transparent 62%
  );
}

.media-frame[data-ratio="16x9"] { aspect-ratio: 16 / 9; }
.media-frame[data-ratio="4x5"] { aspect-ratio: 4 / 5; }
.media-frame[data-ratio="3x4"] { aspect-ratio: 3 / 4; }
.media-frame[data-ratio="1x1"] { aspect-ratio: 1 / 1; }
.media-frame[data-ratio="21x9"] { aspect-ratio: 21 / 9; }

.media-frame--device {
  border-radius: 40px;
  padding: 10px;
  border: 1px solid rgba(56, 214, 255, 0.42);
  box-shadow: 0 30px 60px -40px rgba(56, 214, 255, 0.9),
    inset 0 0 40px rgba(56, 214, 255, 0.1);
}

/* ---------- 12. 横向数据带 ---------- */
.pano-band {
  display: flex;
  gap: clamp(12px, 2vw, 22px);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 214, 255, 0.5) transparent;
}

.pano-band::-webkit-scrollbar { height: 6px; }

.pano-band::-webkit-scrollbar-track { background: rgba(154, 163, 175, 0.14); border-radius: 99px; }

.pano-band::-webkit-scrollbar-thumb {
  background: rgba(56, 214, 255, 0.55);
  border-radius: 99px;
}

.pano-band > * {
  flex: 0 0 clamp(240px, 32vw, 340px);
  scroll-snap-align: start;
}

.pano-band[data-scroller] { cursor: grab; }

.pano-band[data-grabbing] {
  cursor: grabbing;
  user-select: none;
  -webkit-user-select: none;
}

/* ---------- 13. 折叠面板 ---------- */
.accordion { border-top: 1px solid var(--line); }

.accordion-item { border-bottom: 1px solid var(--line); }

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--cream);
  transition: color 0.18s ease;
}

.accordion-trigger:hover,
.accordion-trigger:focus-visible { color: var(--ice); }

.accordion-icon {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(56, 214, 255, 0.5);
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 2px;
  background: var(--ice);
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.accordion-icon::before { width: 10px; height: 2px; }
.accordion-icon::after { width: 2px; height: 10px; }

.accordion-trigger[aria-expanded="true"] .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.accordion-panel {
  padding: 0 4px 24px;
  font-size: 15.5px;
  line-height: 1.78;
  color: rgba(242, 237, 228, 0.8);
  max-width: 68ch;
}

.accordion-panel[hidden] { display: none; }

/* ---------- 14. 米白阅读面板 ---------- */
.panel-cream {
  background: var(--cream);
  color: #14171B;
  border-radius: clamp(20px, 3.2vw, 34px);
  padding: clamp(22px, 3.4vw, 48px);
}

.panel-cream .h2,
.panel-cream .h3 { color: #10151B; }

.panel-cream a {
  color: #0E3A4D;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.panel-cream a:hover { color: var(--clay); }

/* ---------- 15. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 96px);
  padding: clamp(46px, 7vw, 92px) 0 30px;
  background:
    radial-gradient(90% 120% at 12% 0%, rgba(56, 214, 255, 0.12), transparent 58%),
    radial-gradient(70% 110% at 92% 8%, rgba(255, 90, 31, 0.1), transparent 62%),
    var(--ink);
  color: var(--cream);
  border-top: 1px solid rgba(56, 214, 255, 0.18);
  overflow: hidden;
}

.footer-bevel {
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--ice) 0%,
    var(--ice) 22%,
    var(--steel) 52%,
    var(--clay) 78%,
    var(--ember) 100%
  );
  clip-path: polygon(0 0, 100% 0, 100% 42%, 0 100%);
  opacity: 0.95;
}

.footer-shell {
  position: relative;
  width: min(100% - (var(--pad) * 2), var(--shell));
  margin-inline: auto;
}

.footer-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: clamp(22px, 3.6vw, 38px);
  border-bottom: 1px solid var(--line);
}

.brand-footer { padding-block: 0; }

.brand-footer .brand-name { font-size: clamp(20px, 3vw, 26px); }

.footer-lead-text { max-width: 44ch; }

.footer-line {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: rgba(242, 237, 228, 0.88);
}

.footer-line-sm {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: rgba(154, 163, 175, 0.92);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3.2vw, 44px);
  padding-block: clamp(28px, 4vw, 46px);
}

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

.footer-head {
  margin-bottom: 15px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice);
}

.footer-list li + li { margin-top: 9px; }

.footer-list a {
  display: inline-block;
  font-size: 14.5px;
  color: rgba(242, 237, 228, 0.78);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--ice);
  border-bottom-color: var(--ice);
}

.footer-list-plain li {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: rgba(242, 237, 228, 0.82);
  word-break: break-word;
}

.footer-note {
  margin-top: 14px;
  max-width: 32ch;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--rock-lt);
}

.footer-timeline {
  position: relative;
  padding-left: 20px;
}

.footer-timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--clay) 0%, rgba(184, 107, 75, 0.05) 100%);
}

.footer-timeline li {
  position: relative;
  padding-bottom: 13px;
  font-size: 13.5px;
  line-height: 1.62;
  color: rgba(242, 237, 228, 0.76);
}

.footer-timeline .dot {
  position: absolute;
  left: -20px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 3px rgba(184, 107, 75, 0.18);
}

.footer-timeline li:first-child .dot {
  background: var(--ember);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.22);
}

.footer-link-more {
  display: inline-block;
  margin-top: 4px;
  padding-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--ice);
  border-bottom: 1px solid rgba(56, 214, 255, 0.5);
  transition: color 0.16s ease, border-color 0.16s ease;
}

.footer-link-more:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--rock-lt);
}

.footer-copy,
.footer-icp {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.footer-icp { color: rgba(154, 163, 175, 0.86); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal a {
  color: rgba(154, 163, 175, 0.9);
  transition: color 0.16s ease;
}

.footer-legal a:hover { color: var(--ice); }

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    margin: 0;
    padding: 14px var(--pad) calc(16px + env(safe-area-inset-bottom, 0px));
    background: rgba(7, 11, 18, 0.98);
    border-top: 1px solid rgba(56, 214, 255, 0.3);
    box-shadow: 0 -24px 50px -34px rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transform: translateY(112%);
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.22, 0.8, 0.3, 1), visibility 0.3s;
  }

  .site-header[data-open] .site-nav {
    transform: translateY(0);
    visibility: visible;
  }

  .nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(56, 214, 255, 0.22);
    background: rgba(56, 214, 255, 0.08);
    font-size: 14px;
    text-align: center;
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] {
    background: var(--ice);
    border-color: var(--ice);
    color: #04121A;
  }

  .nav-toggle { display: inline-flex; }

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

@media (max-width: 900px) {
  :root { --header-h: 66px; }

  .grid-2,
  .grid-3,
  .split-7-5,
  .split-5-7 { grid-template-columns: minmax(0, 1fr); }

  .footer-lead { align-items: flex-start; }
}

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

  .header-tools .btn-sm { display: none; }

  .nav-toggle { padding: 9px 14px; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }

  .footer-base { justify-content: flex-start; }

  .media-frame { border-radius: clamp(18px, 5vw, 26px); }

  .media-frame--device { border-radius: 30px; padding: 7px; }
}

@media (max-width: 400px) {
  .brand-sub { display: none; }
  .nav-list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 17. 动效偏好 ---------- */
@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;
    scroll-behavior: auto !important;
  }

  .card:hover,
  .pill:hover,
  .btn:active { transform: none; }
}
