/* ==========================================================================
   非凡赛事 · 共享样式 /assets/site.css
   夜间赛场指挥中心：深墨蓝底 + 荧光青数据高亮 + 电光橙行动高亮
   ========================================================================== */

:root {
  --ink: #06101d;
  --panel: #0b1c2e;
  --carbon: #111820;
  --line: #2a3a49;
  --muted: #8b9aab;
  --paper: #e8f0f6;
  --cyan: #3bf0d2;
  --orange: #ff7a33;
  --amber: #ffc247;
  --teal: #124a48;

  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --font-display: "Arial Narrow", "Helvetica Neue Condensed", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", "Cascadia Mono", Menlo, Consolas, "PingFang SC", monospace;

  --ease: ease-out;
  --dur: 200ms;
}

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

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

body,
h1, h2, h3, h4, h5,
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; }

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

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

input, select, textarea { font: inherit; }

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

/* ---------- 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(115deg, rgba(59, 240, 210, 0.035) 0 1px, transparent 1px 96px),
    radial-gradient(circle at 10% -12%, rgba(18, 74, 72, 0.55), transparent 55%),
    radial-gradient(circle at 92% -4%, rgba(255, 122, 51, 0.12), transparent 46%);
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--paper);
}

p { text-wrap: pretty; }

::selection { background: rgba(59, 240, 210, 0.28); color: #ffffff; }

/* ---------- 外壳与容器 ---------- */
.shell,
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.75rem);
}

#main-content { display: block; }

.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--tight { padding-block: clamp(1.5rem, 4vw, 2.5rem); }

.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  letter-spacing: 0.01em;
}

.section-lede {
  margin-top: 0.75rem;
  max-width: 62ch;
  font-size: 16.5px;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

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

/* ---------- 网格工具 ---------- */
.grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

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

@media (max-width: 900px) {
  .grid--2,
  .grid--3,
  .grid--7-5,
  .grid--8-4,
  .grid--5-7 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 正文容器 ---------- */
.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.75;
  color: #cbd8e4;
}

.prose p + p { margin-top: 1rem; }

.prose h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.prose h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  color: var(--paper);
}

.prose ul,
.prose ol {
  margin-top: 0.85rem;
  padding-left: 1.35rem;
  display: grid;
  gap: 0.45rem;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--cyan); }

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

.prose strong { color: var(--paper); }

/* ---------- 按钮 ---------- */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.btn--primary {
  background: var(--orange);
  color: #0a0f16;
  box-shadow: 0 10px 24px -14px rgba(255, 122, 51, 0.9);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--amber);
  box-shadow: 0 12px 26px -12px rgba(255, 194, 71, 0.85);
}

.btn--ghost {
  border-color: var(--line);
  background: rgba(11, 28, 46, 0.6);
  color: var(--paper);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: rgba(59, 240, 210, 0.6);
  background: rgba(18, 74, 72, 0.45);
  color: var(--cyan);
}

.btn--quiet {
  color: var(--cyan);
  padding-inline: 0.25rem;
  min-height: 44px;
}

.btn--quiet:hover,
.btn--quiet:focus-visible { color: var(--amber); }

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(11, 28, 46, 0.65);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  color: var(--muted);
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.tag:hover {
  border-color: rgba(59, 240, 210, 0.55);
  background: rgba(18, 74, 72, 0.45);
  color: var(--cyan);
}

.tag--cyan { color: var(--cyan); border-color: rgba(59, 240, 210, 0.45); }
.tag--orange { color: var(--orange); border-color: rgba(255, 122, 51, 0.45); }
.tag--amber { color: var(--amber); border-color: rgba(255, 194, 71, 0.45); }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.breadcrumb a { color: var(--muted); transition: color var(--dur) var(--ease); }
.breadcrumb a:hover,
.breadcrumb a:focus-visible { color: var(--cyan); }

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.45rem;
  color: rgba(139, 154, 171, 0.5);
}

/* ---------- 图片容器基础 ---------- */
.figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.figure__media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-image:
    radial-gradient(circle at 28% 18%, rgba(59, 240, 210, 0.18), transparent 60%),
    radial-gradient(circle at 82% 88%, rgba(255, 122, 51, 0.16), transparent 55%),
    linear-gradient(140deg, #0b1c2e, #060f1a);
}

.figure__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure--tall .figure__media { aspect-ratio: 3 / 4; }
.figure--square .figure__media { aspect-ratio: 1 / 1; }
.figure--wide .figure__media { aspect-ratio: 21 / 9; }
.figure--band .figure__media { aspect-ratio: auto; min-height: clamp(160px, 26vw, 260px); }

.figure__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  padding: 0.7rem 1rem;
  border-top: 1px solid rgba(42, 58, 73, 0.7);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.figure__tag { color: var(--cyan); }

/* ---------- 折叠条目 ---------- */
.disclosure {
  border-bottom: 1px solid rgba(42, 58, 73, 0.8);
}

.disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding-block: 0.8rem;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--paper);
  cursor: pointer;
  list-style: none;
}

.disclosure summary::-webkit-details-marker { display: none; }

.disclosure summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--cyan);
  transition: transform var(--dur) var(--ease);
}

.disclosure[open] summary::after { content: "–"; }

.disclosure__body {
  padding-bottom: 1rem;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- 数据块 ---------- */
.stat {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(11, 28, 46, 0.7);
}

.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cyan);
}

.stat__label {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- 轻显现 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}

html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

/* ==========================================================================
   页头
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 40;
  background: linear-gradient(180deg, #08131f 0%, var(--ink) 100%);
  border-bottom: 1px solid rgba(42, 58, 73, 0.9);
}

.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 90;
  padding: 0.65rem 1.25rem;
  border-radius: 0 0 14px 14px;
  background: var(--cyan);
  color: #04121a;
  font-size: 14px;
  font-weight: 700;
  transform: translate(-50%, -130%);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible { transform: translate(-50%, 0); }

/* 状态栏 */
.header-bar {
  border-bottom: 1px solid rgba(42, 58, 73, 0.75);
  background: linear-gradient(90deg, rgba(18, 74, 72, 0.38), rgba(6, 16, 29, 0) 58%);
}

.header-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
  padding-block: 0.55rem;
}

.header-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.13em;
  color: var(--muted);
}

.header-kicker__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(59, 240, 210, 0.16);
  animation: ff-pulse 2.4s ease-in-out infinite;
}

@keyframes ff-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(59, 240, 210, 0.16); }
  50% { opacity: 0.55; box-shadow: 0 0 0 6px rgba(59, 240, 210, 0.06); }
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.2rem 0.72rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.quick-link:hover,
.quick-link:focus-visible {
  color: var(--paper);
  border-color: rgba(59, 240, 210, 0.5);
  background: rgba(18, 74, 72, 0.45);
}

.quick-link--alert {
  color: var(--amber);
  border-color: rgba(255, 194, 71, 0.38);
}

.quick-link--alert:hover,
.quick-link--alert:focus-visible {
  color: #0a0f16;
  background: var(--amber);
  border-color: var(--amber);
}

/* 刊头 */
.masthead__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding-block: clamp(0.9rem, 2vw, 1.3rem);
}

.nav-toggle {
  grid-column: 1;
  justify-self: start;
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(11, 28, 46, 0.7);
  font-size: 13px;
  font-weight: 600;
  color: var(--paper);
  transition: border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(59, 240, 210, 0.6);
  color: var(--cyan);
  background: rgba(18, 74, 72, 0.4);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
  flex: none;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-toggle__label { letter-spacing: 0.08em; }

.brand {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand__mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(59, 240, 210, 0.45);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(59, 240, 210, 0.18), rgba(255, 122, 51, 0.1));
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.brand__mark i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.brand__mark i:last-child { color: var(--orange); }

.brand:hover .brand__mark,
.brand:focus-visible .brand__mark {
  border-color: rgba(59, 240, 210, 0.95);
  box-shadow: 0 0 0 4px rgba(59, 240, 210, 0.09);
}

.brand__text {
  display: grid;
  gap: 0.1rem;
  text-align: left;
}

.brand__name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.08em;
  color: var(--paper);
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(139, 154, 171, 0.85);
}

.masthead__cta {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.15rem;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: #0a0f16;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 22px -14px rgba(255, 122, 51, 0.95);
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.masthead__cta:hover,
.masthead__cta:focus-visible {
  background: var(--amber);
  color: #0a0f16;
  box-shadow: 0 12px 26px -12px rgba(255, 194, 71, 0.85);
}

/* 主导航 */
.primary-nav {
  border-top: 1px solid rgba(42, 58, 73, 0.65);
  background: linear-gradient(180deg, rgba(11, 28, 46, 0.75), rgba(6, 16, 29, 0));
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  padding-block: 0.5rem 0.8rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #cfdae5;
  transition: color var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--cyan);
  border-color: rgba(59, 240, 210, 0.45);
  background: rgba(18, 74, 72, 0.35);
}

.nav-link[aria-current="page"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04121a;
  font-weight: 700;
}

/* 阅读进度条 */
.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 95;
  height: 3px;
  background: rgba(42, 58, 73, 0.28);
  pointer-events: none;
}

.scroll-meter__bar {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transition: width 120ms linear;
}

/* 移动端导航 */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    border-top-color: transparent;
    transition: max-height 260ms var(--ease),
                opacity 200ms var(--ease),
                visibility 0s linear 260ms;
  }

  .primary-nav[data-open] {
    max-height: 34rem;
    opacity: 1;
    visibility: visible;
    border-top-color: rgba(42, 58, 73, 0.65);
    transition: max-height 300ms var(--ease), opacity 220ms var(--ease);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    padding-block: 0.75rem 1rem;
  }

  .nav-link {
    justify-content: flex-start;
    border-radius: 14px;
    padding-inline: 0.95rem;
    border-color: rgba(42, 58, 73, 0.7);
    background: rgba(17, 24, 32, 0.62);
    font-size: 16px;
  }

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

@media (max-width: 640px) {
  .masthead__cta { display: none; }
}

@media (max-width: 480px) {
  .nav-toggle { width: 44px; padding: 0.5rem; justify-content: center; }
  .nav-toggle__label { display: none; }
  .brand__mark { width: 38px; height: 38px; border-radius: 12px; }
  .brand__mark i { font-size: 12px; }
  .header-kicker { font-size: 11px; letter-spacing: 0.08em; }
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 7vw, 5.5rem);
  padding-block: clamp(2.25rem, 5vw, 3.75rem) 1.5rem;
  overflow: hidden;
  border-top: 1px solid rgba(42, 58, 73, 0.9);
  background: linear-gradient(180deg, #0b1521 0%, #050b13 68%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  opacity: 0.55;
  background: repeating-linear-gradient(90deg, rgba(59, 240, 210, 0.6) 0 24px, transparent 24px 64px);
}

.footer-masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(42, 58, 73, 0.7);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.1em;
  color: var(--paper);
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.85rem;
  border: 1px solid rgba(59, 240, 210, 0.35);
  border-radius: var(--radius-pill);
  background: rgba(18, 74, 72, 0.35);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.footer-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: ff-pulse 2.4s ease-in-out infinite;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
}

.footer-col--about {
  display: grid;
  gap: 0.25rem;
  align-content: start;
}

.footer-col--contact {
  display: grid;
  gap: 0.25rem;
  align-content: start;
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-heading::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--cyan);
}

.footer-note {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.footer-note--mono {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(139, 154, 171, 0.7);
}

.footer-note--small {
  margin-top: 0.85rem;
  max-width: 36ch;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(139, 154, 171, 0.85);
}

.footer-links {
  display: grid;
  gap: 0.1rem;
  align-content: start;
}

.footer-links--contact { gap: 0.6rem; }

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-size: 14.5px;
  color: #c3cfdb;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: color var(--dur) var(--ease), background-size var(--dur) var(--ease);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--cyan);
  background-size: 100% 1px;
}

.footer-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: rgba(139, 154, 171, 0.7);
}

.footer-text {
  display: block;
  font-size: 14.5px;
  color: #c3cfdb;
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(42, 58, 73, 0.7);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-copy { color: rgba(139, 154, 171, 0.85); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.footer-legal__link {
  color: #a8b6c4;
  transition: color var(--dur) var(--ease);
}

.footer-legal__link:hover,
.footer-legal__link:focus-visible { color: var(--cyan); }

.footer-icp { color: rgba(139, 154, 171, 0.8); }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
}

/* ==========================================================================
   响应式与动效降级
   ========================================================================== */
@media (max-width: 640px) {
  body {
    background-attachment: scroll;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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

  .scroll-meter__bar { transition: none; }
}
