/* =========================================================
   site.css — 19体育平台 共享层
   夜间赛场指挥中心 / 刊头式导航 / 连续画布
   ========================================================= */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --ink: #0B1F1A;
  --panel: #121A18;
  --moss: #1E3A32;
  --orange: #FF6A1A;
  --orange-2: #FF8A3D;
  --orange-deep: #5C2410;
  --cyan: #2FE3C8;
  --mist: #9BE8DD;
  --white: #F4EFE6;
  --gray: #A8B5AE;

  --line: rgba(47, 227, 200, .16);
  --line-strong: rgba(47, 227, 200, .34);
  --line-soft: rgba(244, 239, 230, .09);

  --font-display: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif CJK SC", "SimSun", serif;
  --font-sans: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-narrow: "Arial Narrow", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;

  --wrap: 1220px;
  --pad: clamp(16px, 4vw, 32px);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --ease: cubic-bezier(.2, .7, .3, 1);
  --shadow-card: 0 26px 52px -30px rgba(0, 0, 0, .95);
  --shadow-float: 0 30px 60px -26px rgba(0, 0, 0, .85);
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--white);
  background-color: var(--ink);
  background-image:
    radial-gradient(1200px 640px at 8% -10%, rgba(47, 227, 200, .10), transparent 62%),
    radial-gradient(900px 520px at 96% 2%, rgba(255, 106, 26, .09), transparent 60%),
    radial-gradient(820px 700px at 50% 112%, rgba(30, 58, 50, .85), transparent 72%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul, ol { margin: 0; padding: 0; }

button { font: inherit; color: inherit; }

a { color: var(--mist); }

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

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

/* ---------- 3. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 300;
  padding: 12px 22px;
  border-radius: 0 0 16px 16px;
  background: var(--orange);
  color: #0B1F1A;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  transition: top .22s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- 4. 容器与章节 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

#main-content { display: block; padding-block: clamp(18px, 2.6vw, 36px) 0; }

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

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 28px;
  margin-bottom: clamp(20px, 3vw, 38px);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.16;
  letter-spacing: -.01em;
  color: var(--white);
}

.section-note {
  font-size: 14px;
  color: var(--gray);
  max-width: 46ch;
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, var(--line-strong), rgba(47, 227, 200, .02));
}

/* ---------- 5. 排版工具 ---------- */
.display {
  font-family: var(--font-display);
  font-size: clamp(46px, 11vw, 116px);
  line-height: .94;
  letter-spacing: -.02em;
  color: var(--white);
  font-weight: 600;
}

.lede {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.8;
  color: var(--gray);
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-narrow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cyan);
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -.01em;
}

.prose {
  max-width: 72ch;
  color: var(--gray);
}
.prose > * + * { margin-top: 1.05em; }
.prose h2,
.prose h3 {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.28;
  letter-spacing: -.005em;
}
.prose h2 { font-size: clamp(22px, 2.4vw, 30px); }
.prose h3 { font-size: clamp(18px, 1.8vw, 21px); }
.prose strong { color: var(--white); }
.prose a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .4em; }

/* ---------- 6. 按钮 / 胶囊 / 标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .24s var(--ease), background-color .24s var(--ease),
              border-color .24s var(--ease), color .24s var(--ease), box-shadow .24s var(--ease);
}

.btn--primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #0B1F1A;
  box-shadow: 0 14px 30px -16px rgba(255, 106, 26, .95);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px -16px rgba(255, 106, 26, 1);
}

.btn--ghost {
  background: rgba(47, 227, 200, .07);
  border-color: var(--line-strong);
  color: var(--mist);
}
.btn--ghost:hover {
  background: rgba(47, 227, 200, .16);
  border-color: var(--cyan);
  color: var(--white);
}

.btn--quiet {
  padding-inline: 12px;
  color: var(--gray);
  background: transparent;
}
.btn--quiet:hover { color: var(--white); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(30, 58, 50, .62);
  color: var(--gray);
  font-size: 13.5px;
  letter-spacing: .06em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .24s var(--ease), border-color .24s var(--ease),
              color .24s var(--ease), box-shadow .24s var(--ease);
}
.pill:hover { color: var(--white); border-color: var(--line-strong); }
.pill[aria-pressed="true"],
.pill.is-active {
  color: var(--mist);
  border-color: var(--cyan);
  background: rgba(47, 227, 200, .13);
  box-shadow: 0 0 0 1px rgba(47, 227, 200, .22), 0 14px 30px -22px rgba(47, 227, 200, .95);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(47, 227, 200, .26);
  background: rgba(47, 227, 200, .12);
  color: var(--mist);
  font-family: var(--font-narrow);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.6;
}
.tag--hot {
  border-color: rgba(255, 106, 26, .42);
  background: rgba(255, 106, 26, .16);
  color: var(--orange-2);
}

/* ---------- 7. 卡片 / 网格 ---------- */
.card {
  position: relative;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, rgba(30, 58, 50, .78), rgba(18, 26, 24, .95) 72%);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 227, 200, .32);
  box-shadow: var(--shadow-card);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

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

/* ---------- 8. 面包屑 ---------- */
.breadcrumb {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: clamp(14px, 2vw, 24px);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(168, 181, 174, .45);
}
.breadcrumb a {
  color: var(--mist);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current="page"] { color: var(--white); }

/* ---------- 9. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(47, 227, 200, .20), transparent 62%),
    linear-gradient(158deg, var(--moss), var(--panel) 74%);
}
.media-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.04);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(47, 227, 200, .10) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(47, 227, 200, .10) 0 1px, transparent 1px 64px),
    linear-gradient(180deg, rgba(11, 31, 26, 0) 42%, rgba(11, 31, 26, .74) 100%);
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame__caption {
  position: absolute;
  left: clamp(14px, 2vw, 22px);
  bottom: clamp(12px, 1.8vw, 20px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(11, 31, 26, .78);
  border: 1px solid var(--line);
  color: var(--mist);
  font-family: var(--font-narrow);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ---------- 10. 刊头 Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(11, 31, 26, .97) 0%, rgba(11, 31, 26, .86) 100%);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  transition: background-color .3s var(--ease);
}

.header-inner {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding-block: 16px 8px;
  transition: padding .3s var(--ease);
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: start;
  font-size: 12.5px;
  letter-spacing: .14em;
  color: var(--gray);
  white-space: nowrap;
}

.header-status__led {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(47, 227, 200, .14);
  animation: ledPulse 3.4s ease-in-out infinite;
}

@keyframes ledPulse {
  0%, 100% { opacity: .45; }
  50%      { opacity: 1; }
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  justify-self: center;
  text-decoration: none;
  color: var(--white);
  line-height: 1;
  transition: opacity .24s var(--ease);
}
.brand:hover { opacity: .86; }

.brand__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  letter-spacing: -.07em;
  background: linear-gradient(135deg, var(--white) 18%, var(--orange) 94%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand__num { color: var(--orange); -webkit-text-fill-color: var(--orange); }
}

.brand__word {
  font-family: var(--font-narrow);
  font-size: clamp(10px, 1.05vw, 12px);
  font-weight: 700;
  letter-spacing: .34em;
  color: var(--gray);
  padding-bottom: 3px;
}

.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.console-toggle,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(47, 227, 200, .24);
  background: rgba(30, 58, 50, .70);
  color: var(--mist);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.console-toggle:hover,
.nav-toggle:hover {
  background: rgba(47, 227, 200, .15);
  border-color: var(--cyan);
  color: var(--white);
}
.console-toggle[aria-expanded="true"] {
  background: rgba(255, 106, 26, .17);
  border-color: var(--orange);
  color: var(--white);
}

.console-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}
.console-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.console-toggle__bars i:nth-child(2) { width: 72%; }
.console-toggle__bars i:nth-child(3) { width: 44%; }

.nav-toggle__box {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
}
.nav-toggle__box i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .24s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__box i:first-child {
  transform: translateY(3px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__box i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* 导航 */
.site-nav { display: none; }

.site-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-nav__list a {
  position: relative;
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--gray);
  font-size: 15.5px;
  letter-spacing: .1em;
  text-decoration: none;
  transition: color .22s var(--ease), background-color .22s var(--ease);
}
.site-nav__list a:hover { color: var(--white); }
.site-nav__list a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 106, 26, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 26, .42);
}

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    left: var(--pad);
    right: var(--pad);
    top: calc(100% - 2px);
    z-index: 40;
    padding: 10px;
    border-radius: 24px;
    border: 1px solid rgba(47, 227, 200, .24);
    background: rgba(18, 26, 24, .98);
    box-shadow: 0 30px 64px -24px rgba(0, 0, 0, .92);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }
  .site-nav[data-open="true"] { display: block; }
}

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

  .site-nav {
    display: flex;
    justify-content: center;
    padding-block: 2px 16px;
  }
  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: clamp(10px, 2.2vw, 32px);
  }
  .site-nav__list a {
    padding: 8px 2px;
    font-size: 14.5px;
    letter-spacing: .14em;
  }
  .site-nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--cyan);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .28s var(--ease), background-color .28s var(--ease);
  }
  .site-nav__list a:hover::after,
  .site-nav__list a:focus-visible::after { transform: scaleX(1); }
  .site-nav__list a[aria-current="page"] {
    background: none;
    box-shadow: none;
  }
  .site-nav__list a[aria-current="page"]::after {
    transform: scaleX(1);
    background: var(--orange);
  }
}

/* 折叠控制台 */
.header-console {
  position: absolute;
  right: var(--pad);
  top: calc(100% - 12px);
  z-index: 60;
  width: min(286px, calc(100vw - 32px));
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(47, 227, 200, .24);
  background: rgba(18, 26, 24, .98);
  box-shadow: 0 30px 64px -24px rgba(0, 0, 0, .92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s linear;
}
.header-console[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.header-console__eyebrow {
  font-family: var(--font-narrow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 0 12px 10px;
}

.header-console__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.header-console__list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--white);
  font-size: 14.5px;
  text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.header-console__list a:hover {
  background: rgba(47, 227, 200, .13);
  color: var(--mist);
}
.header-console__list .num {
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: .1em;
}

/* 滚动进度 */
.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transition: transform .1s linear;
}

/* 收窄态 */
.site-header.is-condensed .header-top { padding-block: 10px 4px; }
.site-header.is-condensed .header-status { opacity: .55; }
.site-header.is-condensed .brand__num { font-size: clamp(22px, 2.6vw, 28px); }

/* ---------- 11. 页脚 Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 128px);
  padding-top: clamp(44px, 6vw, 78px);
  color: var(--gray);
  background-color: var(--panel);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -34px;
  height: 34px;
  background: var(--panel);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 280px at 10% 0%, rgba(255, 106, 26, .11), transparent 72%),
    radial-gradient(640px 260px at 88% 6%, rgba(47, 227, 200, .09), transparent 72%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

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

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

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

.brand--footer {
  justify-self: start;
  align-items: baseline;
  gap: 8px;
}
.brand--footer .brand__num { font-size: 30px; }
.brand--footer .brand__word { font-size: 10.5px; letter-spacing: .3em; }

.footer-tagline {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.5;
  color: var(--white);
  letter-spacing: .01em;
  max-width: 22ch;
}

.footer-note {
  font-size: 13px;
  line-height: 1.8;
  color: var(--gray);
  max-width: 34ch;
}

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-narrow);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cyan);
}
.footer-col__title::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 26, .16);
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.footer-links a {
  display: inline-block;
  min-height: 36px;
  padding: 6px 0;
  color: var(--gray);
  font-size: 14.5px;
  text-decoration: none;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.footer-links a:hover {
  color: var(--mist);
  transform: translateX(3px);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-top: clamp(32px, 4vw, 54px);
  padding-top: clamp(20px, 2.6vw, 28px);
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--gray);
}

.footer-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .01em;
  color: var(--white);
  word-break: break-word;
}
.footer-contact__key {
  font-family: var(--font-narrow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(18px, 2.4vw, 26px);
  padding-block: 18px 30px;
  font-size: 13px;
  color: rgba(168, 181, 174, .86);
}

.footer-meta__legal { margin: 0; }

.footer-record {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--gray);
  letter-spacing: .02em;
}

/* ---------- 12. 滚动显现协议 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .52s var(--ease) var(--reveal-delay, 0ms),
    transform .52s var(--ease) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ---------- 13. 响应式微调 ---------- */
@media (max-width: 719px) {
  .header-top {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding-block: 12px 6px;
  }
  .header-status { display: none; }
  .brand { justify-self: start; }
  .header-tools { justify-self: end; }
}

@media (max-width: 419px) {
  .console-toggle { padding-inline: 12px; }
  .console-toggle__label { display: none; }
  .nav-toggle { padding-inline: 12px; }
  .nav-toggle__label { display: none; }
}

@media (min-width: 900px) {
  .site-header.is-condensed .site-nav { padding-block: 0 10px; }
}

/* ---------- 14. 动效退让 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

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

  .header-status__led { animation: none; opacity: 1; }

  .card:hover,
  .btn--primary:hover,
  .footer-links a:hover { transform: none; }
}
