/* ==========================================================================
   浩瀚体育 CN V4 · 共享站点皮肤 /assets/site.css
   夜间赛场指挥中心：深空蓝底 + 电子橙焦点 + 数据青交互 + 荧光绿状态
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

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

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

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

a { color: inherit; }

/* 2. Tokens ---------------------------------------------------------------- */
:root {
  /* 色板 */
  --space: #0B1F3A;
  --ink: #071426;
  --steel: #1E3A5F;
  --paper: #F4EBDD;
  --orange: #FF6B1A;
  --orange-soft: #FF8340;
  --cyan: #00E5C7;
  --violet: #3D1F5C;
  --violet-deep: #22113A;
  --lime: #B6FF3C;
  --mist: #9FB0C8;
  --white: #F7FAFF;

  /* 字体 */
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-head: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 结构 */
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --border-hard: 2px solid var(--steel);
  --shadow-panel: 10px 10px 0 rgba(7, 20, 38, 0.55);
  --shadow-lift: 14px 14px 0 rgba(7, 20, 38, 0.6), 0 26px 48px rgba(2, 7, 16, 0.55);
  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);
}

/* 3. 基础排版 --------------------------------------------------------------- */
body {
  min-height: 100vh;
  background-color: var(--space);
  background-image:
    radial-gradient(circle at 10% -8%, rgba(61, 31, 92, 0.6), transparent 55%),
    radial-gradient(circle at 92% 2%, rgba(255, 107, 26, 0.12), transparent 46%),
    repeating-linear-gradient(0deg, rgba(159, 176, 200, 0.055) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(159, 176, 200, 0.055) 0 1px, transparent 1px 64px);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--white);
}

h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.1;
  letter-spacing: 0.005em;
}

h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: clamp(18px, 2vw, 20px); }
h4 { font-size: 16px; }

p { max-width: 72ch; }

small { font-size: 12.5px; }

code, kbd, samp, time, .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

::selection { background: var(--orange); color: var(--ink); }

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

/* 4. 工具类 ----------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  top: -80px;
  left: 12px;
  z-index: 999;
  display: inline-block;
  padding: 12px 18px;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 12px; }

/* 5. 按钮 ------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 2px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.btn-primary {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--steel);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--orange-soft);
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--steel);
}

.btn-ghost {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 4px 4px 0 rgba(0, 229, 199, 0.16);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(0, 229, 199, 0.12);
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(0, 229, 199, 0.24);
}

.btn-paper {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--orange);
}
.btn-paper:hover,
.btn-paper:focus-visible {
  background: #FFF8EE;
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--orange);
}

/* 6. 面包屑 ----------------------------------------------------------------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb-list > li + li::before {
  content: "›";
  color: var(--steel);
  margin-right: 8px;
}
.breadcrumb-list a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.breadcrumb-list a:hover,
.breadcrumb-list a:focus-visible { border-bottom-color: var(--cyan); }
.breadcrumb-list [aria-current="page"] { color: var(--white); }

/* 7. 正文窄栏 --------------------------------------------------------------- */
.prose {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(247, 250, 255, 0.88);
}
.prose > * + * { margin-top: 1.1em; }
.prose h2,
.prose h3 { color: var(--white); margin-top: 1.6em; }
.prose a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 199, 0.5);
}
.prose a:hover { border-bottom-color: var(--cyan); }
.prose ul,
.prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.5em; }
.prose strong { color: var(--white); }
.prose blockquote {
  border-left: 3px solid var(--orange);
  padding-left: 18px;
  color: rgba(247, 250, 255, 0.76);
  font-family: var(--font-display);
}

/* 8. 网格 / 区块 / 面板 ------------------------------------------------------ */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}

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

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange);
}

.lede {
  max-width: 62ch;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: rgba(247, 250, 255, 0.82);
}

.divider {
  height: 0;
  border: 0;
  border-top: 1px solid var(--steel);
  margin-block: clamp(24px, 4vw, 44px);
}

.panel {
  position: relative;
  background: linear-gradient(160deg, rgba(30, 58, 95, 0.6), rgba(11, 31, 58, 0.94));
  border: var(--border-hard);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: var(--shadow-panel);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
              border-color 0.22s var(--ease);
}
.panel:hover,
.panel:focus-within {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lift);
  border-color: var(--cyan);
}

.panel--paper {
  background: var(--paper);
  color: #16233B;
  border-color: var(--ink);
  box-shadow: 10px 10px 0 var(--violet);
}
.panel--paper h2,
.panel--paper h3,
.panel--paper h4 { color: #16233B; }

.panel--violet {
  background: linear-gradient(150deg, var(--violet), var(--violet-deep));
  border-color: #5B2F86;
}

.panel--live { border-color: rgba(182, 255, 60, 0.55); }

.stat { display: grid; gap: 6px; }

.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(0, 229, 199, 0.45), 0 0 1px rgba(0, 229, 199, 0.9);
}

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

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--steel);
  background: rgba(11, 31, 58, 0.65);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mist);
  white-space: nowrap;
}
.tag--live { color: var(--lime); border-color: rgba(182, 255, 60, 0.45); }
.tag--data { color: var(--cyan); border-color: rgba(0, 229, 199, 0.42); }
.tag--brand { color: var(--orange); border-color: rgba(255, 107, 26, 0.48); }

/* 9. 图片容器 --------------------------------------------------------------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: var(--border-hard);
  box-shadow: 8px 8px 0 rgba(7, 20, 38, 0.5);
}
.media-frame img,
.media-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06) brightness(0.82);
}
.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 31, 58, 0.12), rgba(7, 20, 38, 0.68)),
    repeating-linear-gradient(0deg, rgba(0, 229, 199, 0.07) 0 1px, transparent 1px 5px);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(159, 176, 200, 0.07) 0 1px, transparent 1px 48px);
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame__scan {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 199, 0.85), transparent);
  animation: scan-sweep 7s linear infinite;
}

.media-frame__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 14px 16px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--white);
  background: linear-gradient(0deg, rgba(7, 20, 38, 0.92), rgba(7, 20, 38, 0));
}

/* 10. 标签页 ---------------------------------------------------------------- */
.tabs { display: block; }

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 2px solid var(--steel);
}

.tab {
  appearance: none;
  background: transparent;
  border: 2px solid var(--steel);
  border-bottom: none;
  border-radius: 2px 2px 0 0;
  padding: 10px 16px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--mist);
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
              background-color 0.18s var(--ease);
}
.tab:hover { color: var(--white); border-color: var(--cyan); }
.tab[aria-selected="true"] {
  background: var(--violet);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: inset 0 -3px 0 var(--orange);
}

.tab-panel { padding-top: 20px; }
.tab-panel[hidden] { display: none; }
.tab-panel.is-revealed { animation: none; }

/* 11. 动效 ------------------------------------------------------------------ */
@keyframes led-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scan-sweep {
  0% { top: 0; opacity: 0; }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

[data-reveal].is-revealed {
  animation: rise 0.55s var(--ease) both;
}

/* 12. 头部 ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--space);
  border-bottom: 2px solid var(--steel);
  box-shadow: 0 10px 30px rgba(2, 7, 16, 0.55);
}

/* 12.1 上层品牌说明带 */
.header-console {
  background: linear-gradient(100deg, var(--violet) 0%, #14162F 46%, var(--ink) 100%);
  border-bottom: 1px solid rgba(159, 176, 200, 0.22);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.console-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 20px;
  min-height: 34px;
  padding-block: 6px;
}
.console-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  max-width: none;
  color: var(--cyan);
  font-weight: 700;
}
.console-led {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(182, 255, 60, 0.16), 0 0 10px var(--lime);
  animation: led-pulse 2.8s ease-in-out infinite;
}
.console-status {
  margin: 0;
  max-width: none;
  color: var(--mist);
  transition: color 0.3s var(--ease);
}
.console-status.is-refreshed { color: var(--lime); }
.console-time {
  color: var(--lime);
  font-weight: 700;
  padding: 0 1px;
  text-shadow: 0 0 10px rgba(182, 255, 60, 0.55);
}
.console-utility {
  display: none;
  margin: 0;
  max-width: none;
  color: rgba(159, 176, 200, 0.85);
}

/* 12.2 下层主栏 */
.header-main { background: var(--space); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--steel);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--steel);
}
.brand-text { display: grid; gap: 2px; }
.brand-name {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  line-height: 1.2;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  background: transparent;
  border: 2px solid var(--steel);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: background-color 0.2s var(--ease);
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease);
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle-label { line-height: 1; }

/* 移动端展开态 */
.site-header[data-open] .nav-toggle {
  border-color: var(--orange);
  color: var(--orange);
}
.site-header[data-open] .nav-toggle-bars { background: transparent; }
.site-header[data-open] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav-wrap {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 70;
  background: var(--ink);
  border-bottom: 2px solid var(--orange);
  padding: 14px var(--gutter) 22px;
  box-shadow: 0 28px 48px rgba(2, 7, 16, 0.7);
  max-height: calc(100vh - 96px);
  overflow-y: auto;
}
.site-header[data-open] .nav-wrap {
  display: block;
  animation: nav-drop 0.22s var(--ease) both;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-item { display: block; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(159, 176, 200, 0.16);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
              background-color 0.18s var(--ease);
}
.nav-link::before {
  content: attr(data-index);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--mist);
  transition: color 0.18s var(--ease);
}
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--cyan);
  border-bottom-color: rgba(0, 229, 199, 0.55);
}
.nav-link:hover::before,
.nav-link:focus-visible::before { color: var(--cyan); }

.nav-link[aria-current="page"] {
  color: var(--orange);
  border-bottom-color: var(--orange);
  background: rgba(255, 107, 26, 0.07);
}
.nav-link[aria-current="page"]::before { color: var(--orange); }

.header-cta {
  width: 100%;
  margin-top: 18px;
}

/* 12.3 阅读进度 */
.header-progress {
  height: 3px;
  background: rgba(159, 176, 200, 0.16);
  overflow: hidden;
}
.header-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  box-shadow: 0 0 12px rgba(0, 229, 199, 0.6);
  transition: width 0.12s linear;
}

/* 13. 页脚 ------------------------------------------------------------------ */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 7vw, 80px);
  background: var(--ink);
  background-image:
    radial-gradient(circle at 88% 6%, rgba(61, 31, 92, 0.6), transparent 52%),
    repeating-linear-gradient(90deg, rgba(159, 176, 200, 0.06) 0 1px, transparent 1px 56px);
  border-top: 3px solid var(--orange);
  color: var(--mist);
  font-size: 14px;
}

.footer-inner { padding-block: clamp(36px, 6vw, 68px) 24px; }

.footer-ledger {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 3.4vw, 40px);
}

.footer-brand { display: grid; gap: 12px; align-content: start; }

.footer-wordmark {
  margin: 0;
  max-width: none;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--white);
}
.footer-wordmark span {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 8px;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  vertical-align: middle;
  border: 2px solid var(--ink);
}

.footer-tagline {
  margin: 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(159, 176, 200, 0.92);
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  max-width: none;
  padding: 6px 11px;
  border: 1px solid var(--steel);
  background: rgba(11, 31, 58, 0.7);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--lime);
  justify-self: start;
}
.status-led {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(182, 255, 60, 0.16), 0 0 10px var(--lime);
  animation: led-pulse 2.8s ease-in-out infinite;
}

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

.footer-col { display: grid; gap: 14px; align-content: start; }

.footer-col-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
}

.footer-link {
  display: inline-block;
  color: rgba(247, 250, 255, 0.86);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.footer-contact {
  padding: clamp(18px, 2.4vw, 24px);
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--violet);
  color: #16233B;
}
.footer-contact .footer-col-title {
  color: var(--violet);
  margin-bottom: 14px;
  letter-spacing: 0.14em;
}

.contact-list { display: grid; gap: 12px; margin: 0; }
.contact-line { display: grid; gap: 2px; }
.contact-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(22, 35, 59, 0.62);
}
.contact-value {
  font-size: 14px;
  line-height: 1.5;
  color: #16233B;
  overflow-wrap: anywhere;
}

.footer-note {
  margin-top: clamp(24px, 3.4vw, 36px);
  max-width: 66ch;
  padding-left: 14px;
  border-left: 3px solid var(--steel);
  font-size: 13px;
  line-height: 1.75;
  color: rgba(159, 176, 200, 0.92);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(24px, 3.4vw, 40px);
  padding-top: 20px;
  border-top: 1px solid var(--steel);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(159, 176, 200, 0.88);
}
.legal { margin: 0; max-width: none; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  max-width: none;
}

/* 14. 响应式 ---------------------------------------------------------------- */
@media (min-width: 560px) {
  .header-cta { width: auto; margin-top: 0; }
  .console-utility { display: block; }
}

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

@media (min-width: 960px) {
  .container { padding-inline: clamp(24px, 4vw, 40px); }

  .header-inner { padding-block: 14px; }

  .nav-toggle { display: none; }

  .nav-wrap,
  .site-header[data-open] .nav-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    position: static;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
    animation: none;
  }

  .nav-list { flex-direction: row; gap: 2px; }

  .nav-link {
    padding: 9px 11px;
    border-bottom: 0;
    font-size: 14px;
    box-shadow: inset 0 -2px 0 transparent;
  }
  .nav-link:hover,
  .nav-link:focus-visible {
    box-shadow: inset 0 -2px 0 var(--cyan);
    border-bottom-color: transparent;
  }
  .nav-link[aria-current="page"] {
    background: transparent;
    box-shadow: inset 0 -3px 0 var(--orange);
    border-bottom-color: transparent;
  }

  .header-cta { margin-left: 14px; }
}

@media (min-width: 1040px) {
  .footer-ledger {
    grid-template-columns: 1.1fr 1.15fr 0.95fr;
    align-items: start;
  }
  .footer-brand { grid-column: auto; }
}

@media (min-width: 1200px) {
  .nav-link { padding: 10px 14px; font-size: 14.5px; }
}

/* 15. 偏好与降级 ------------------------------------------------------------ */
@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;
  }
  [data-reveal].is-revealed { animation: none; }
  .media-frame__scan { display: none; }
  .console-led,
  .status-led { animation: none; }
}

@media print {
  .site-header,
  .site-footer,
  .header-progress,
  .skip-link { display: none; }
  body { background: #fff; color: #111; }
}
