/* ============================================================
   EMC赛场 · 共享外壳样式 /assets/site.css
   夜间赛场指挥中心：近单色墨绿阶 + 荧光青焦点 + 赛程橙红动作
   ============================================================ */

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

:root {
  --ink: #050F0C;
  --panel: #0A1C17;
  --line: #16332C;
  --paper: #EAF2EE;
  --muted: #9FB6AD;
  --cyan: #35F0CF;
  --orange: #FF5A2B;
  --orange-soft: #FF8A6B;
  --amber: #F5C451;
  --teal: #0E8F7C;

  --max: 1360px;
  --gutter: 48px;
  --radius: 14px;
  --bar-h: 56px;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --t-fast: 120ms;
  --t-mid: 200ms;
  --t-slow: 320ms;

  --font-display: "Barlow Condensed", "Oswald", "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", Georgia, "Songti SC", serif;
  --font-body: "Noto Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(1200px 620px at 82% -240px, rgba(53, 240, 207, .075), transparent 70%),
    radial-gradient(900px 520px at -140px 40px, rgba(255, 90, 43, .05), transparent 72%);
  background-repeat: no-repeat;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(53, 240, 207, .28);
  color: #04120E;
}

#main-content {
  display: block;
  scroll-margin-top: 112px;
}

h1, h2, h3, h4, .display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
  color: var(--paper);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

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

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

button { font-family: inherit; }

.mono, .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: .02em;
}

/* ---------- 无障碍焦点 ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--cyan);
  color: #04120E;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform var(--t-mid) var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline-offset: 2px;
}

/* ---------- 容器与网格 ---------- */
.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 72px; }
.section-sm { padding-block: 48px; }

.grid { display: grid; gap: 16px; }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, rgba(22, 51, 44, 1), rgba(22, 51, 44, 0));
}

/* ---------- 基础组件 ---------- */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.panel-flat {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: .65;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 28, 23, .8);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  white-space: nowrap;
}
.tag--live { border-color: rgba(255, 90, 43, .5); color: var(--orange-soft); }
.tag--data { border-color: rgba(53, 240, 207, .45); color: var(--cyan); }
.tag--note { border-color: rgba(245, 196, 81, .45); color: var(--amber); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--t-mid) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              box-shadow var(--t-mid) var(--ease);
}

.btn-primary {
  background: var(--cyan);
  color: #04120E;
  box-shadow: 0 0 0 1px rgba(53, 240, 207, .35), 0 10px 26px -14px rgba(53, 240, 207, .85);
}
.btn-primary:hover { background: #5CF7DC; }
.btn-primary:active { background: var(--teal); color: var(--paper); }

.btn-alert {
  background: var(--orange);
  color: #150601;
  box-shadow: 0 0 0 1px rgba(255, 90, 43, .4), 0 10px 26px -14px rgba(255, 90, 43, .85);
}
.btn-alert:hover { background: #FF7448; }
.btn-alert:active { background: #D9461C; color: var(--paper); }

.btn-ghost {
  background: rgba(53, 240, 207, .07);
  border-color: rgba(53, 240, 207, .35);
  color: var(--cyan);
}
.btn-ghost:hover { background: rgba(53, 240, 207, .15); }

.btn-line {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}
.btn-line:hover { border-color: rgba(53, 240, 207, .45); color: var(--paper); }

.btn-sm { padding: 7px 13px; font-size: 12.5px; border-radius: 8px; }
.btn-block { width: 100%; }

/* ---------- 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--muted);
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs [aria-current="page"] { color: var(--paper); }
.crumb-sep { color: rgba(159, 182, 173, .38); }

/* ---------- 正文阅读栏 ---------- */
.prose {
  max-width: 72ch;
  font-size: 16.5px;
  line-height: 1.8;
  color: #D3E2DC;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 30px;
  margin: 40px 0 12px;
  color: var(--paper);
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 28px 0 10px;
  color: var(--paper);
}
.prose p { margin: 0 0 18px; }
.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose strong { color: var(--paper); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 18px; }
.prose li { margin-bottom: 6px; }
.prose blockquote {
  margin: 26px 0;
  padding: 16px 22px;
  border-left: 2px solid var(--cyan);
  background: rgba(53, 240, 207, .05);
  border-radius: 0 10px 10px 0;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--paper);
}
.prose code {
  font-family: var(--font-mono);
  font-size: .88em;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(53, 240, 207, .1);
  color: var(--cyan);
}

/* ---------- 图片容器（页面阶段放 img 使用） ---------- */
.figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.figure > img,
.figure > picture > img,
.figure > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.figure-16x9 { aspect-ratio: 16 / 9; }
.figure-4x3 { aspect-ratio: 4 / 3; }
.figure-1x1 { aspect-ratio: 1 / 1; }
.figure-3x4 { aspect-ratio: 3 / 4; }
.figure-21x9 { aspect-ratio: 21 / 9; }

.figure-caption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
}

.figure-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 120px;
  color: rgba(159, 182, 173, .5);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: repeating-linear-gradient(135deg,
    rgba(22, 51, 44, .5) 0 12px,
    rgba(10, 28, 23, .55) 12px 24px);
}

/* ============================================================
   头部
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(5, 15, 12, .975);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(53, 240, 207, .5), transparent);
}

.scroll-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  pointer-events: none;
  z-index: 2;
}

/* 顶部状态条 */
.utility-strip {
  overflow: hidden;
  max-height: 36px;
  background: #04100D;
  border-bottom: 1px solid rgba(22, 51, 44, .7);
  opacity: 1;
  transition: max-height var(--t-slow) var(--ease), opacity var(--t-mid) var(--ease);
}
.site-header[data-condensed="true"] .utility-strip {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 36px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
}

.utility-lead {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: rgba(159, 182, 173, .92);
  white-space: nowrap;
}
.utility-pulse {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(53, 240, 207, .16);
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.utility-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .06em;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.utility-link:hover { color: var(--cyan); background: rgba(53, 240, 207, .09); }
.utility-link--alert { color: var(--amber); }
.utility-link--alert:hover { color: var(--amber); background: rgba(245, 196, 81, .12); }

.utility-sep {
  width: 1px;
  height: 12px;
  flex: none;
  background: var(--line);
}

.version-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 28, 23, .85);
}
.version-pill {
  appearance: none;
  border: 0;
  background: none;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.version-pill:hover { color: var(--paper); }
.version-pill[aria-pressed="true"] {
  background: rgba(53, 240, 207, .15);
  color: var(--cyan);
}

/* 命令栏 */
.command-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--bar-h);
  transition: height var(--t-slow) var(--ease);
}
.site-header[data-condensed="true"] .command-bar { height: 46px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  text-decoration: none;
  color: var(--paper);
}
.brand-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid rgba(53, 240, 207, .42);
  border-radius: 9px;
  background: rgba(53, 240, 207, .09);
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
}
.brand-badge::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(53, 240, 207, .16);
  border-radius: 6px;
  pointer-events: none;
}
.brand-words { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .03em;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--muted);
}

.primary-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item { list-style: none; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav-idx {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .04em;
  color: rgba(159, 182, 173, .45);
  transition: color var(--t-fast) var(--ease);
}
.nav-link:hover { color: var(--paper); background: rgba(53, 240, 207, .07); }
.nav-link:hover .nav-idx { color: rgba(53, 240, 207, .85); }

.nav-link[aria-current="page"] {
  color: var(--cyan);
  background: rgba(53, 240, 207, .1);
}
.nav-link[aria-current="page"] .nav-idx { color: var(--cyan); }
.nav-link[aria-current="page"]::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.nav-foot { display: none; }

.bar-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  margin-left: auto;
}

.kbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px 7px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 28, 23, .8);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.kbar-btn:hover {
  color: var(--paper);
  border-color: rgba(53, 240, 207, .45);
  background: rgba(53, 240, 207, .09);
}
.kbar-key {
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(53, 240, 207, .13);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .04em;
}
.kbar-text { letter-spacing: .02em; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 28, 23, .85);
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.nav-toggle:hover { color: var(--cyan); border-color: rgba(53, 240, 207, .45); }

.nav-toggle-bars { display: flex; flex-direction: column; gap: 3px; width: 14px; }
.nav-toggle-bars span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t-mid) var(--ease), opacity var(--t-fast) var(--ease);
}
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

/* 快速索引面板 */
.command-palette {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: start center;
  padding-top: 12vh;
}
.command-palette[hidden] { display: none; }

.cp-scrim {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 6, .74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cp-panel {
  position: relative;
  width: min(560px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(53, 240, 207, .25);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 44px 90px -34px rgba(0, 0, 0, .95);
  animation: cpIn var(--t-mid) var(--ease) both;
}
@keyframes cpIn {
  from { opacity: 0; transform: translateY(-10px) scale(.985); }
  to { opacity: 1; transform: none; }
}

.cp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.cp-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}
.cp-close {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  padding: 3px 8px;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.cp-close:hover { color: var(--cyan); border-color: rgba(53, 240, 207, .5); }

.cp-list {
  list-style: none;
  margin: 0;
  padding: 6px;
  max-height: 52vh;
  overflow-y: auto;
}
.cp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--paper);
  font-size: 14.5px;
  text-decoration: none;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.cp-item:hover,
.cp-item:focus-visible { background: rgba(53, 240, 207, .11); color: var(--cyan); }
.cp-idx {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(159, 182, 173, .55);
}
.cp-label { letter-spacing: .01em; }
.cp-hint {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(159, 182, 173, .55);
}
.cp-foot {
  margin: 0;
  padding: 10px 16px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
}

/* 移动端常驻反馈条 */
.mobile-feedback {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid rgba(245, 196, 81, .45);
  border-radius: 999px;
  background: rgba(10, 28, 23, .96);
  color: var(--amber);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  box-shadow: 0 14px 34px -16px #000;
}
.mobile-feedback::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: 72px;
  background: linear-gradient(180deg, #071512 0%, var(--ink) 62%);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(53, 240, 207, .5), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) 2fr minmax(250px, 1.15fr);
  gap: 48px;
  padding-block: 56px 40px;
}

.footer-lockup {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .03em;
  color: var(--paper);
}
.footer-sub {
  margin: 5px 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .32em;
  color: rgba(53, 240, 207, .72);
}
.footer-line {
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}
.footer-line--dim {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: rgba(159, 182, 173, .6);
}

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

.footer-col-title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(159, 182, 173, .58);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #C7D8D1;
  font-size: 14px;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.footer-link::before {
  content: "";
  width: 5px;
  height: 1px;
  flex: none;
  background: rgba(53, 240, 207, .45);
  transition: width var(--t-mid) var(--ease), background var(--t-mid) var(--ease);
}
.footer-link:hover { color: var(--cyan); }
.footer-link:hover::before { width: 13px; background: var(--cyan); }

.contact-list { gap: 12px; }
.contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.contact-key {
  flex: none;
  padding: 1px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: rgba(159, 182, 173, .7);
}
.contact-value {
  color: var(--paper);
  font-size: 13.5px;
  text-decoration: none;
  word-break: break-all;
  transition: color var(--t-fast) var(--ease);
}
a.contact-value:hover { color: var(--cyan); }

.copy-btn {
  flex: none;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.copy-btn:hover { color: var(--cyan); border-color: rgba(53, 240, 207, .5); }
.copy-btn[data-copied="true"] { color: var(--cyan); border-color: var(--cyan); }

.contact-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(22, 51, 44, .8);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(159, 182, 173, .72);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding-block: 18px;
  border-top: 1px solid rgba(22, 51, 44, .8);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .07em;
  color: rgba(159, 182, 173, .7);
}
.footer-base-item { margin: 0; }
.footer-base-item--dim { color: rgba(159, 182, 173, .42); letter-spacing: .24em; }
.dot {
  width: 3px;
  height: 3px;
  flex: none;
  border-radius: 50%;
  background: rgba(159, 182, 173, .45);
}

/* ============================================================
   滚动显现
   ============================================================ */
[data-reveal] { opacity: 1; }

html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  will-change: opacity, transform;
}
html.js-reveal [data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: none;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1120px) {
  :root { --gutter: 32px; }

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

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 10px var(--gutter) 20px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    background: rgba(5, 15, 12, .995);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--t-mid) var(--ease),
                transform var(--t-mid) var(--ease),
                visibility var(--t-mid) var(--ease);
  }
  .site-header[data-open="true"] .primary-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }
  .nav-link {
    justify-content: flex-start;
    width: 100%;
    padding: 13px 12px;
    border-radius: 10px;
    font-size: 15px;
  }

  .nav-foot {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }

  .mobile-feedback {
    display: inline-flex;
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 90;
  }

  .site-footer { padding-bottom: 68px; }

  .footer-top {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
    gap: 36px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .grid-12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col-3, .col-4, .col-6, .col-8, .col-12 { grid-column: span 2; }
  .col-2 { grid-column: span 1; }

  .section { padding-block: 56px; }
}

@media (max-width: 760px) {
  :root { --gutter: 24px; }

  body { font-size: 15.5px; }

  .utility-strip { display: none; }

  .brand-sub { display: none; }
  .brand-name { font-size: 17.5px; }
  .brand-badge { width: 30px; height: 30px; font-size: 12px; border-radius: 8px; }

  .command-bar,
  .site-header[data-condensed="true"] .command-bar { height: 54px; gap: 12px; }

  .kbar-text { display: none; }
  .kbar-btn { padding: 7px 9px; }
  .cta-desktop { display: none; }

  .nav-toggle-label { display: none; }

  .cp-head, .cp-list, .cp-foot { padding-inline: 14px; }
  .cp-item { padding: 11px 10px; font-size: 14px; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 44px 32px;
  }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
  .footer-lockup { font-size: 22px; }
}

@media (max-width: 560px) {
  .grid-12 { grid-template-columns: 1fr; }
  .col-2, .col-3, .col-4, .col-6, .col-8, .col-12 { grid-column: 1 / -1; }

  .footer-nav { grid-template-columns: 1fr; }
  .footer-base { font-size: 10.5px; gap: 6px 12px; }

  .utility-inner { font-size: 10.5px; }
}

/* ============================================================
   减少动效
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

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

  .cp-panel { animation: none !important; }
  .skip-link { transform: none; }
  .skip-link:not(:focus):not(:focus-visible) { opacity: 0; pointer-events: none; }
}
