/* =========================================================
   诺亚赛场 · 共享样式表  /assets/site.css
   夜间赛场指挥中心 · 深海蓝 / 荧光青 / 熔岩橙 · 精密网格
   ========================================================= */

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

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

body {
  margin: 0;
  min-height: 100vh;
}

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

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

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

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

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

address { font-style: normal; }

table { border-collapse: collapse; }

:focus-visible {
  outline: 2px solid #22D3EE;
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 2. Tokens ---------- */
:root {
  /* 矿物转译色 */
  --ns-abyss: #061427;
  --ns-panel: #0B1F3A;
  --ns-rock: #153356;
  --ns-cyan: #22D3EE;
  --ns-lava: #FF6B35;
  --ns-salt: #F4EFE2;
  --ns-gray: #8FA3B8;
  --ns-moss: #86A17A;
  --ns-clay: #C96A4A;
  --ns-mist: #B8D8DD;

  /* 线条 */
  --ns-line: rgba(143, 163, 184, 0.16);
  --ns-line-cyan: rgba(34, 211, 238, 0.24);
  --ns-line-strong: rgba(34, 211, 238, 0.5);

  /* 字体 */
  --ns-font-display: "Source Han Sans Heavy", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --ns-font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --ns-font-num: "Barlow Condensed", "DIN Condensed", "Oswald", "Archivo Narrow", "Arial Narrow", system-ui, sans-serif;
  --ns-font-mono: "IBM Plex Mono", "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;

  /* 尺度 */
  --ns-shell: 1360px;
  --ns-header-h: 68px;
  --ns-radius: 2px;
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--ns-font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ns-salt);
  background-color: var(--ns-abyss);
  background-image:
    radial-gradient(120% 78% at 82% -12%, rgba(34, 211, 238, 0.10), transparent 62%),
    radial-gradient(90% 60% at 4% 4%, rgba(11, 31, 58, 0.92), transparent 74%),
    radial-gradient(70% 50% at 50% 110%, rgba(255, 107, 53, 0.06), transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(34, 211, 238, 0.3);
  color: var(--ns-salt);
}

/* ---------- 4. 通用版心与章节 ---------- */
.ns-container {
  width: 100%;
  max-width: var(--ns-shell);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

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

/* ---------- 5. 通用排版组件 ---------- */
.ns-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ns-font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ns-cyan);
}

.ns-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ns-cyan);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.8);
}

.ns-h2 {
  font-family: var(--ns-font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ns-salt);
}

.ns-h3 {
  font-family: var(--ns-font-display);
  font-weight: 700;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ns-salt);
}

.ns-lede {
  max-width: 62ch;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.75;
  color: var(--ns-mist);
}

.ns-num {
  font-family: var(--ns-font-num);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--ns-salt);
}

.ns-rule {
  height: 1px;
  border: 0;
  margin-block: clamp(20px, 3vw, 32px);
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.5), rgba(143, 163, 184, 0.12) 62%, transparent);
}

.ns-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 面包屑 */
.ns-breadcrumb {
  font-family: var(--ns-font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--ns-gray);
}

.ns-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ns-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ns-breadcrumb li + li::before {
  content: "/";
  color: rgba(143, 163, 184, 0.45);
}

.ns-breadcrumb a { color: var(--ns-mist); }
.ns-breadcrumb a:hover { color: var(--ns-cyan); }
.ns-breadcrumb [aria-current="page"] { color: var(--ns-cyan); }

/* ---------- 6. 网格与面板 ---------- */
.ns-grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

.ns-grid--split { grid-template-columns: minmax(0, 1fr); }

@media (min-width: 900px) {
  .ns-grid--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    align-items: start;
  }
}

.ns-grid--thirds {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.ns-panel {
  position: relative;
  padding: clamp(18px, 2.6vw, 28px);
  background: linear-gradient(160deg, rgba(11, 31, 58, 0.94), rgba(6, 20, 39, 0.94));
  border: 1px solid var(--ns-line);
  border-left: 2px solid var(--ns-line-strong);
  border-radius: var(--ns-radius);
  transition: border-left-color 0.2s ease, background 0.2s ease;
}

.ns-panel:hover {
  border-left-color: var(--ns-cyan);
  background: linear-gradient(160deg, rgba(21, 51, 86, 0.96), rgba(8, 25, 46, 0.96));
}

/* 档案标签 */
.ns-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  font-family: var(--ns-font-mono);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  color: var(--ns-mist);
  background: rgba(21, 51, 86, 0.55);
  border: 1px solid rgba(143, 163, 184, 0.35);
  border-radius: var(--ns-radius);
}

.ns-tag--cyan { color: #04121f; background: var(--ns-cyan); border-color: var(--ns-cyan); }
.ns-tag--lava { color: #1a0a03; background: var(--ns-lava); border-color: var(--ns-lava); }
.ns-tag--moss { color: #0b1a10; background: var(--ns-moss); border-color: var(--ns-moss); }
.ns-tag--clay { color: var(--ns-salt); background: rgba(201, 106, 74, 0.18); border-color: rgba(201, 106, 74, 0.7); }

/* 等宽数据列表 */
.ns-list-mono {
  display: grid;
  gap: 8px;
  font-family: var(--ns-font-mono);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--ns-mist);
}

.ns-list-mono li {
  display: flex;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(143, 163, 184, 0.2);
}

.ns-list-mono li::before {
  content: "›";
  color: var(--ns-cyan);
  flex: 0 0 auto;
}

/* ---------- 7. 图片容器基础规则（页面阶段放置占位） ---------- */
.ns-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--ns-radius);
  border: 1px solid var(--ns-line-cyan);
  background-color: var(--ns-panel);
  background-image:
    linear-gradient(135deg, rgba(21, 51, 86, 0.92), rgba(6, 20, 39, 0.96)),
    repeating-linear-gradient(90deg, rgba(34, 211, 238, 0.12) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(34, 211, 238, 0.08) 0 1px, transparent 1px 46px);
}

.ns-media img,
.ns-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ns-media--wide { aspect-ratio: 21 / 9; }
.ns-media--tall { aspect-ratio: 3 / 4; }
.ns-media--square { aspect-ratio: 1 / 1; }

.ns-media__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  font-family: var(--ns-font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--ns-mist);
  background: linear-gradient(180deg, transparent, rgba(6, 20, 39, 0.94));
}

/* ---------- 8. 按钮 ---------- */
.ns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  font-family: var(--ns-font-body);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--ns-radius);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.ns-btn--primary {
  color: #1a0a03;
  background: var(--ns-lava);
  border-color: rgba(255, 107, 53, 0.55);
  box-shadow: 0 10px 24px -14px rgba(255, 107, 53, 0.95);
}

.ns-btn--primary:hover {
  background: #FF8257;
  transform: translateY(-1px);
}

.ns-btn--ghost {
  color: var(--ns-cyan);
  background: rgba(34, 211, 238, 0.06);
  border-color: rgba(34, 211, 238, 0.45);
}

.ns-btn--ghost:hover {
  background: rgba(34, 211, 238, 0.15);
  border-color: var(--ns-cyan);
}

.ns-btn--quiet {
  color: var(--ns-salt);
  background: transparent;
  border-color: rgba(143, 163, 184, 0.35);
}

.ns-btn--quiet:hover {
  background: rgba(184, 216, 221, 0.08);
  border-color: var(--ns-mist);
}

/* ---------- 9. 跳至主内容 ---------- */
.ns-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 11px 16px;
  font-family: var(--ns-font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #04121f;
  background: var(--ns-cyan);
  border-radius: var(--ns-radius);
  box-shadow: 0 12px 30px -14px rgba(34, 211, 238, 0.9);
  transform: translateY(-180%);
  transition: transform 0.18s ease;
}

.ns-skip:focus {
  transform: translateY(0);
}

/* ---------- 10. 头部命令栏 ---------- */
.ns-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--ns-salt);
  background: linear-gradient(180deg, rgba(6, 20, 39, 0.98), rgba(8, 25, 46, 0.92));
  border-bottom: 1px solid var(--ns-line-cyan);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.ns-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(34, 211, 238, 0.06) 0 1px, transparent 1px 64px);
  opacity: 0.7;
}

.ns-header[data-stuck] {
  background: linear-gradient(180deg, rgba(5, 17, 33, 0.99), rgba(7, 22, 41, 0.96));
  box-shadow: 0 22px 48px -30px rgba(0, 0, 0, 0.95);
}

.ns-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  width: 100%;
  max-width: var(--ns-shell);
  margin-inline: auto;
  padding-inline: clamp(14px, 3vw, 32px);
  min-height: var(--ns-header-h);
}

/* 品牌锁定块 */
.ns-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
}

.ns-brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  font-family: var(--ns-font-num);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  color: #04121f;
  background: linear-gradient(150deg, #22D3EE 8%, #153356 92%);
  border: 1px solid rgba(34, 211, 238, 0.55);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 72% 100%, 0 100%);
  box-shadow: 0 0 22px -8px rgba(34, 211, 238, 0.9);
}

.ns-brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.ns-brand__name {
  font-family: var(--ns-font-display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--ns-salt);
}

.ns-brand__desc {
  font-family: var(--ns-font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: var(--ns-gray);
  white-space: nowrap;
}

/* 导航轨道 */
.ns-nav {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.ns-nav__list {
  display: flex;
  align-items: stretch;
  gap: clamp(0px, 0.6vw, 8px);
  overflow-x: auto;
  scrollbar-width: none;
}

.ns-nav__list::-webkit-scrollbar { display: none; }

.ns-nav__item { flex: 0 0 auto; }

.ns-nav__link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 11px 9px;
  border-left: 1px solid var(--ns-line);
  color: var(--ns-gray);
  transition: color 0.18s ease, background 0.18s ease;
}

.ns-nav__idx {
  font-family: var(--ns-font-mono);
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  color: rgba(34, 211, 238, 0.5);
  transition: color 0.18s ease;
}

.ns-nav__label {
  font-family: var(--ns-font-body);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.ns-nav__link::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 0;
  height: 2px;
  background: transparent;
  transition: background 0.18s ease;
}

.ns-nav__link:hover {
  color: var(--ns-salt);
  background: rgba(34, 211, 238, 0.07);
}

.ns-nav__link:hover .ns-nav__idx { color: var(--ns-cyan); }
.ns-nav__link:hover::after { background: rgba(34, 211, 238, 0.42); }

.ns-nav__link[aria-current="page"] {
  color: var(--ns-salt);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.16), rgba(34, 211, 238, 0));
}

.ns-nav__link[aria-current="page"] .ns-nav__idx { color: var(--ns-cyan); }

.ns-nav__link[aria-current="page"]::after {
  background: var(--ns-cyan);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.85);
}

/* 动作区 */
.ns-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
}

/* 移动导航按钮 */
.ns-navtoggle {
  display: none;
  place-content: center;
  gap: 4px;
  width: 44px;
  height: 38px;
  background: rgba(21, 51, 86, 0.65);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: var(--ns-radius);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.ns-navtoggle:hover {
  background: rgba(34, 211, 238, 0.14);
  border-color: var(--ns-cyan);
}

.ns-navtoggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ns-cyan);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ns-header[data-open] .ns-navtoggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ns-header[data-open] .ns-navtoggle__bar:nth-child(2) { opacity: 0; }
.ns-header[data-open] .ns-navtoggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 滚动进度 */
.ns-progress {
  position: relative;
  height: 2px;
  background: rgba(143, 163, 184, 0.14);
}

.ns-progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #22D3EE, #7FE7F5 55%, #FF6B35);
}

/* ---------- 11. 页脚 ---------- */
.ns-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  overflow: hidden;
  color: var(--ns-salt);
  background: linear-gradient(180deg, #08192e 0%, #050f1c 72%, #040c17 100%);
  border-top: 1px solid var(--ns-line-cyan);
}

.ns-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(34, 211, 238, 0.05) 0 1px, transparent 1px 72px);
  opacity: 0.8;
}

.ns-footer__glow {
  position: absolute;
  right: -12%;
  bottom: -58%;
  width: min(780px, 90vw);
  height: 380px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.18), rgba(34, 211, 238, 0) 72%);
  filter: blur(6px);
}

.ns-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) 2fr;
  gap: clamp(28px, 5vw, 64px);
  width: 100%;
  max-width: var(--ns-shell);
  margin-inline: auto;
  padding: clamp(36px, 6vw, 72px) clamp(16px, 3vw, 32px) clamp(28px, 4vw, 44px);
}

.ns-footer__brand { min-width: 0; }

.ns-footer__lockup {
  font-family: var(--ns-font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ns-salt);
}

.ns-footer__note {
  max-width: 34ch;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ns-mist);
}

.ns-footer__stamp {
  display: inline-flex;
  margin-top: 16px;
  padding: 6px 10px;
  font-family: var(--ns-font-mono);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.18em;
  color: rgba(34, 211, 238, 0.8);
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: var(--ns-radius);
}

.ns-footer__contact {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--ns-line);
}

.ns-contact-list__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.ns-contact-list__key {
  font-family: var(--ns-font-mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.14em;
  color: var(--ns-gray);
}

.ns-contact-list__val {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ns-salt);
  word-break: break-word;
}

.ns-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.ns-footer__col { min-width: 0; }

.ns-footer__heading {
  padding-bottom: 12px;
  font-family: var(--ns-font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.18em;
  color: var(--ns-cyan);
  border-bottom: 1px solid rgba(34, 211, 238, 0.22);
}

.ns-footer__links {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.ns-footer__link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ns-mist);
  transition: color 0.16s ease;
}

.ns-footer__link::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 1px;
  background: rgba(143, 163, 184, 0.55);
  transition: width 0.16s ease, background 0.16s ease;
}

.ns-footer__link:hover { color: var(--ns-salt); }

.ns-footer__link:hover::before {
  width: 20px;
  background: var(--ns-cyan);
}

.ns-footer__base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  width: 100%;
  max-width: var(--ns-shell);
  margin-inline: auto;
  padding: 16px clamp(16px, 3vw, 32px) 26px;
  font-family: var(--ns-font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--ns-gray);
  border-top: 1px solid var(--ns-line);
}

.ns-footer__legal,
.ns-footer__year { margin: 0; }

/* ---------- 12. 返回顶部 ---------- */
.ns-totop {
  position: fixed;
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  font-family: var(--ns-font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;
  color: var(--ns-cyan);
  background: rgba(11, 31, 58, 0.94);
  border: 1px solid rgba(34, 211, 238, 0.45);
  border-radius: var(--ns-radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.2s ease;
}

.ns-totop[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ns-totop:hover {
  background: rgba(34, 211, 238, 0.16);
  color: var(--ns-salt);
}

.ns-totop__arrow { font-size: 13px; line-height: 1; }
.ns-totop__text { line-height: 1; }

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1024px) {
  .ns-header { --ns-header-h: 62px; }

  .ns-brand__desc { display: none; }

  .ns-navtoggle { display: grid; }

  .ns-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - 62px);
    overflow-y: auto;
    background: #08192e;
    border-bottom: 1px solid rgba(34, 211, 238, 0.28);
    box-shadow: 0 34px 64px -32px rgba(0, 0, 0, 0.95);
  }

  .ns-header[data-open] .ns-nav { display: block; }

  .ns-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 14px;
    overflow-x: visible;
  }

  .ns-nav__link {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    padding: 15px clamp(16px, 4vw, 28px);
    border-left: 0;
    border-top: 1px solid rgba(143, 163, 184, 0.12);
  }

  .ns-nav__label { font-size: 15px; }

  .ns-nav__link::after {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
  }

  .ns-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .ns-footer__cols { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}

@media (max-width: 720px) {
  .ns-header__actions .ns-btn--primary {
    padding: 10px 13px;
    font-size: 12.5px;
  }

  .ns-brand__name { font-size: 15.5px; }
  .ns-brand__mark { width: 32px; height: 32px; font-size: 15px; }

  .ns-footer__base {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .ns-totop { padding: 10px 12px; }
}

@media (max-width: 420px) {
  .ns-header__actions .ns-btn--primary { padding: 9px 11px; font-size: 12px; }
  .ns-navtoggle { width: 40px; height: 36px; }
}

/* ---------- 14. 降低动效 ---------- */
@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;
  }

  .ns-skip { transition: none; }
  .ns-progress__fill { transition: none; }
  .ns-totop { transition: opacity 0.001ms linear, visibility 0.001ms linear; transform: none; }
  .ns-totop[data-visible="true"] { transform: none; }
  .ns-btn--primary:hover { transform: none; }
}
