/* ==========================================================================
   乐鱼体育 · 升降级观察站
   /assets/site.css — 全站共享样式
   ========================================================================== */

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

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

body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, figcaption, blockquote, dl, dd { margin: 0; }

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

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

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

/* ---------- 设计变量 ---------- */
:root {
  --ink: #0A1B2E;
  --ink-deep: #071322;
  --ink-2: #0E3340;
  --coral: #FF6B4A;
  --cyan: #2FE6C8;
  --yellow: #FFD24A;
  --wine: #7A2436;
  --indigo: #3B2F73;
  --mist: #EFF4F8;
  --steel: #8A9BAA;

  --rule-cyan: rgba(47, 230, 200, 0.20);
  --rule-soft: rgba(138, 155, 170, 0.22);
  --rule-coral: rgba(255, 107, 74, 0.42);

  --rail-w: 288px;
  --pad: clamp(18px, 4.2vw, 56px);
  --radius: 2px;

  --font-display: "Archivo Expanded", "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: "Roboto Mono", "Source Han Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.72, 0.28, 1);
}

/* ---------- 页面基调 ---------- */
body {
  min-height: 100vh;
  background: var(--ink);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.02vw, 17.5px);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(680px 420px at 88% -8%, rgba(255, 107, 74, 0.16), transparent 70%),
    radial-gradient(560px 460px at 2% 106%, rgba(47, 230, 200, 0.12), transparent 72%),
    linear-gradient(180deg, rgba(14, 51, 64, 0.55), transparent 40%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(138, 155, 170, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 155, 170, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

#main-content,
.site-footer { position: relative; z-index: 1; }

/* ---------- 标题与文字 ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--mist);
}

h1 { font-size: clamp(34px, 7.2vw, 92px); }
h2 { font-size: clamp(28px, 4.6vw, 56px); }
h3 { font-size: clamp(19px, 2.1vw, 26px); }

p { color: #D6E1EA; }

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 2px; }

strong { color: var(--cyan); font-weight: 600; }

::selection { background: var(--coral); color: #160C09; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ---------- 通用工具 ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  transform: translateY(-160%);
  background: var(--yellow);
  color: #14100A;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 12px 20px;
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 rgba(255, 107, 74, 0.55);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus { transform: translateY(0); text-decoration: none; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan);
}

.rule {
  height: 2px;
  border: 0;
  margin-block: clamp(26px, 4vw, 52px);
  background: linear-gradient(90deg, var(--coral), rgba(47, 230, 200, 0.35) 45%, rgba(47, 230, 200, 0));
}

/* ---------- 容器 ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.container--tight { max-width: 880px; }
.container--wide { max-width: 1560px; }

/* ---------- 章节 ---------- */
.section { padding-block: clamp(40px, 7vw, 96px); }
.section--tight { padding-block: clamp(24px, 4vw, 52px); }

.section--panel {
  background: linear-gradient(180deg, rgba(14, 51, 64, 0.62), rgba(10, 27, 46, 0.9));
  border-block: 2px solid var(--rule-cyan);
}

.section--wine {
  background: linear-gradient(180deg, rgba(122, 36, 54, 0.52), rgba(122, 36, 54, 0.12));
  border-block: 2px solid rgba(255, 107, 74, 0.32);
}

.section--indigo {
  background: linear-gradient(180deg, rgba(59, 47, 115, 0.52), rgba(59, 47, 115, 0.12));
  border-block: 2px solid rgba(47, 230, 200, 0.26);
}

.section__head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(22px, 3.4vw, 44px);
}

.section__index {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section__title { font-size: clamp(30px, 5.6vw, 76px); letter-spacing: -0.04em; line-height: 0.98; }

.section__lead {
  color: var(--steel);
  font-size: clamp(15px, 1.06vw, 16.5px);
  max-width: 62ch;
}

@media (min-width: 900px) {
  .section__head--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 40ch);
    column-gap: clamp(24px, 4vw, 64px);
    align-items: end;
  }
  .section__head--split .section__lead { text-align: right; }
}

/* ---------- Bento 栅格 ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

.bento__cell { grid-column: span 12; min-width: 0; }

@media (min-width: 720px) {
  .bento__cell--half { grid-column: span 6; }
  .bento__cell--third { grid-column: span 4; }
  .bento__cell--two-thirds { grid-column: span 8; }
}

@media (min-width: 1080px) {
  .bento__cell--quarter { grid-column: span 3; }
  .bento__cell--drop { margin-top: clamp(20px, 3vw, 52px); }
}

/* ---------- 卡片 ---------- */
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: clamp(18px, 2.2vw, 30px);
  background: linear-gradient(160deg, rgba(14, 51, 64, 0.92), rgba(10, 27, 46, 0.94));
  border: 2px solid var(--rule-soft);
  border-radius: var(--radius);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 230, 200, 0.6);
  box-shadow: 8px 8px 0 rgba(47, 230, 200, 0.16);
}

.card--coral { border-color: rgba(255, 107, 74, 0.5); }
.card--coral:hover { box-shadow: 8px 8px 0 rgba(255, 107, 74, 0.32); }

.card--wine {
  background: linear-gradient(160deg, rgba(122, 36, 54, 0.85), rgba(10, 27, 46, 0.94));
  border-color: rgba(255, 107, 74, 0.34);
}

.card--indigo {
  background: linear-gradient(160deg, rgba(59, 47, 115, 0.82), rgba(10, 27, 46, 0.94));
  border-color: rgba(47, 230, 200, 0.3);
}

.card--mist {
  background: var(--mist);
  border-color: #0A1B2E;
  color: #0A1B2E;
}

.card--mist .card__title { color: #0A1B2E; }
.card--mist .card__lead { color: #41586B; }
.card--mist .card__eyebrow { color: #0E3340; }

.card__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.card__title { font-size: clamp(19px, 2vw, 26px); }
.card__lead { color: var(--steel); font-size: 14.5px; line-height: 1.7; }

/* ---------- 徽标 / 状态 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  border: 2px solid currentColor;
  border-radius: var(--radius);
  white-space: nowrap;
}

.badge--up { color: var(--cyan); }
.badge--down { color: var(--coral); }
.badge--warn { color: var(--yellow); }
.badge--solid-up { background: var(--cyan); color: #062024; border-color: var(--cyan); }
.badge--solid-down { background: var(--coral); color: #180C08; border-color: var(--coral); }

/* ---------- 数据块 ---------- */
.stat { display: flex; flex-direction: column; gap: 4px; }

.stat__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}

.stat--coral .stat__value { color: var(--coral); }
.stat--yellow .stat__value { color: var(--yellow); }

/* ---------- 标签过滤 ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 9px; }

.tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  padding: 7px 13px;
  background: transparent;
  color: var(--steel);
  border: 2px solid rgba(138, 155, 170, 0.3);
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.tag:hover { color: var(--cyan); border-color: var(--cyan); }

.tag.is-active,
.tag[aria-pressed="true"] {
  background: var(--coral);
  border-color: var(--coral);
  color: #180C08;
}

/* ---------- 表格 ---------- */
.data-table__wrap {
  overflow-x: auto;
  border: 2px solid var(--rule-soft);
  border-radius: var(--radius);
  background: rgba(7, 19, 34, 0.6);
}

.data-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }

.data-table caption {
  text-align: left;
  padding: 12px 14px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}

.data-table th,
.data-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1.5px solid rgba(138, 155, 170, 0.2);
  vertical-align: baseline;
}

.data-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  border-bottom: 2px solid rgba(47, 230, 200, 0.35);
  white-space: nowrap;
}

.data-table tbody tr:nth-child(odd) { background: rgba(239, 244, 248, 0.035); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table .num { font-family: var(--font-mono); text-align: right; color: var(--cyan); }

/* ---------- 长文 ---------- */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(24px, 3vw, 40px); margin-top: 1.9em; }
.prose h3 { font-size: clamp(19px, 2vw, 24px); margin-top: 1.6em; }
.prose p, .prose li { color: #D6E1EA; }
.prose ul { display: grid; gap: 0.6em; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 11px;
  height: 2px;
  background: var(--coral);
}
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 0.2em; }

.note {
  padding: 14px 18px;
  border-left: 4px solid var(--yellow);
  background: rgba(255, 210, 74, 0.08);
  font-size: 14.5px;
  color: #D6E1EA;
}

.note__label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
}

/* ---------- 图片容器 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--rule-soft);
  border-radius: var(--radius);
  background: #061120;
}

.media-frame img,
.media-frame__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
}

.media-frame--square img,
.media-frame--square .media-frame__img { aspect-ratio: 1 / 1; }

.media-frame--tall img,
.media-frame--tall .media-frame__img { aspect-ratio: 4 / 5; }

.media-frame--wide img,
.media-frame--wide .media-frame__img { aspect-ratio: 21 / 9; }

.media-frame--fill { height: 100%; }
.media-frame--fill img,
.media-frame--fill .media-frame__img { height: 100%; aspect-ratio: auto; }

.media-frame__caption {
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--steel);
  background: rgba(7, 19, 34, 0.9);
  border-top: 2px solid rgba(138, 155, 170, 0.2);
}

.media-frame__tag { position: absolute; top: 12px; left: 12px; }

.media-frame__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(138, 155, 170, 0.75);
  background:
    repeating-linear-gradient(135deg, rgba(47, 230, 200, 0.07) 0 12px, transparent 12px 24px),
    #061120;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  border: 2px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover { transform: translate(-2px, -2px); text-decoration: none; }

.btn--coral {
  background: var(--coral);
  border-color: var(--coral);
  color: #180C08;
  box-shadow: 5px 5px 0 rgba(47, 230, 200, 0.55);
}
.btn--coral:hover { box-shadow: 8px 8px 0 rgba(47, 230, 200, 0.75); }

.btn--cyan {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #062024;
  box-shadow: 5px 5px 0 rgba(255, 107, 74, 0.5);
}
.btn--cyan:hover { box-shadow: 8px 8px 0 rgba(255, 107, 74, 0.7); }

.btn--ghost { color: var(--mist); border-color: rgba(239, 244, 248, 0.32); }
.btn--ghost:hover { color: var(--cyan); border-color: var(--cyan); box-shadow: 5px 5px 0 rgba(47, 230, 200, 0.28); }

/* ---------- 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 18px 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.breadcrumbs__link { color: var(--steel); }
.breadcrumbs__link:hover { color: var(--cyan); text-decoration: none; }
.breadcrumbs__sep { color: rgba(138, 155, 170, 0.55); }
.breadcrumbs__current { color: var(--coral); }

/* ==========================================================================
   头部外壳
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, #0E3340 0%, #081624 100%);
  border-bottom: 2px solid var(--rule-coral);
}

.site-header__bar {
  position: relative;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px var(--pad);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--mist);
}

.brand-mark:hover { text-decoration: none; }

.brand-mark__glyph {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  background: var(--coral);
  color: #180C08;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(47, 230, 200, 0.85);
}

.brand-mark__text { display: flex; flex-direction: column; line-height: 1.12; }

.brand-mark__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand-mark__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  background: transparent;
  color: var(--mist);
  border: 2px solid rgba(47, 230, 200, 0.42);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-toggle:hover { color: var(--coral); border-color: var(--coral); background: rgba(255, 107, 74, 0.08); }

.nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle__bars span { display: block; height: 2px; background: currentColor; }

.site-header[data-open] .nav-toggle__bars span:first-child { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars span:last-child { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle__bars span { transition: transform 0.2s var(--ease), opacity 0.2s var(--ease); }

/* ---------- 轨道导航（移动端为抽屉） ---------- */
.rail-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  width: min(86vw, 360px);
  padding: 18px 0 26px;
  overflow-y: auto;
  background: linear-gradient(180deg, #0E3340 0%, #071322 100%);
  border-left: 2px solid var(--coral);
  box-shadow: -20px 0 52px rgba(0, 0, 0, 0.6);
  transform: translateX(102%);
  transition: transform 0.32s var(--ease);
}

.rail-nav[data-open] { transform: translateX(0); }

.rail-nav__head {
  padding: 0 22px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel);
  border-bottom: 2px solid var(--rule-cyan);
  margin-bottom: 8px;
}

.rail-nav__list { display: flex; flex-direction: column; }

.rail-nav__link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 13px 22px;
  border-left: 4px solid transparent;
  color: var(--steel);
  font-size: 14.5px;
  line-height: 1.4;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.rail-nav__link:hover {
  color: var(--mist);
  border-left-color: rgba(47, 230, 200, 0.55);
  background: rgba(47, 230, 200, 0.06);
  text-decoration: none;
}

.rail-nav__link[aria-current="page"] {
  color: var(--mist);
  border-left-color: var(--coral);
  background: linear-gradient(90deg, rgba(255, 107, 74, 0.2), rgba(255, 107, 74, 0));
}

.rail-nav__index {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

.rail-nav__link[aria-current="page"] .rail-nav__index { color: var(--coral); }

.rail-nav__label { min-width: 0; }

.rail-nav__foot { margin-top: auto; padding: 22px 22px 0; }

.rail-nav__ticker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(138, 155, 170, 0.75);
}

.rail-progress {
  margin-top: 10px;
  height: 3px;
  background: rgba(138, 155, 170, 0.22);
  overflow: hidden;
}

.rail-progress__fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--coral));
  transition: width 0.12s linear;
}

/* ---------- 遮罩 ---------- */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: block;
  opacity: 0;
  visibility: hidden;
  background: rgba(4, 9, 16, 0.74);
  transition: opacity 0.26s var(--ease), visibility 0.26s var(--ease);
}

.site-header[data-open] .nav-scrim { opacity: 1; visibility: visible; }

@media (max-width: 1079px) {
  body[data-nav-open="true"] { overflow: hidden; }
}

/* ---------- 桌面端：固定侧边轨道 ---------- */
@media (min-width: 1080px) {
  body { padding-left: var(--rail-w); }

  .site-header {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    width: var(--rail-w);
    overflow-y: auto;
    border-bottom: 0;
    border-right: 2px solid var(--rule-coral);
    background: linear-gradient(170deg, #0E3340 0%, #081624 58%, #071322 100%);
  }

  .site-header__bar {
    padding: 22px 20px 20px;
    border-bottom: 2px solid var(--rule-cyan);
  }

  .nav-toggle { display: none; }

  .rail-nav {
    position: static;
    width: auto;
    flex: 1;
    z-index: auto;
    padding: 14px 0 0;
    overflow: visible;
    background: transparent;
    border-left: 0;
    box-shadow: none;
    transform: none;
    transition: none;
  }

  .rail-nav__head { border-bottom: 0; padding-bottom: 6px; }
  .rail-nav__foot { padding-bottom: 22px; }
  .nav-scrim { display: none; }
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  margin-top: clamp(56px, 9vw, 120px);
  background: linear-gradient(180deg, #0E3340 0%, #071322 76%);
  border-top: 2px solid var(--rule-coral);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 48px);
  padding-block: clamp(38px, 6vw, 72px) clamp(24px, 4vw, 44px);
}

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

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

.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--mist);
}

.footer-brand__desc {
  margin-top: 12px;
  max-width: 34ch;
  font-size: 14.5px;
  color: var(--steel);
}

.footer-stamp {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 12px;
  border: 2px solid rgba(47, 230, 200, 0.42);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cyan);
}

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

.footer-list { display: flex; flex-direction: column; gap: 9px; }

.footer-link {
  color: var(--steel);
  font-size: 14.5px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-link:hover { color: var(--cyan); border-bottom-color: var(--cyan); text-decoration: none; }

.footer-text { color: var(--steel); font-size: 13.5px; line-height: 1.7; }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
  padding-block: 18px;
  border-top: 2px solid var(--rule-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

.footer-meta .footer-text { font-size: 11.5px; letter-spacing: 0.08em; }

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

.footer-legal__link {
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  transition: color 0.2s var(--ease);
}

.footer-legal__link:hover { color: var(--cyan); text-decoration: none; }

/* ==========================================================================
   动效与显现
   ========================================================================== */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@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.js [data-reveal] { opacity: 1; transform: none; }
  .card:hover, .btn:hover { transform: none; }
}
