/* ===================================================
   摩斯国际 · 共享 Site Kit
   设计语汇：深墨蓝核对台 / 信号刻度 / 切角面板 / 摩斯点划
   =================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

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

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

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

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

/* ---------- Tokens ---------- */
:root {
  --ink: #0B1F3A;
  --night: #061426;
  --blueprint: #122B4E;
  --steel: #1E3A63;
  --signal: #FF6B35;
  --verified: #2EC4B6;
  --pending: #FFD166;
  --alert: #E63946;
  --paper: #F4F7FB;
  --mist: #9FB3C8;

  --header-h: 100px;
  --gutter: clamp(18px, 4vw, 48px);
  --maxw: 1280px;
  --cut: 14px;

  --font-display: "Oswald", "DIN Condensed", "Bebas Neue", "HarmonyOS Sans SC",
    "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", "Roboto Mono", ui-monospace,
    SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
}

/* ---------- 中文排版基座 ---------- */
body {
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

p { text-wrap: pretty; }

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

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

#main-content:focus { outline: none; }
#main-content { scroll-margin-top: calc(var(--header-h) + 12px); }

body.nav-open { overflow: hidden; }

/* ---------- 工具类 ---------- */
.sr-only {
  position: absolute;
  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;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-top { padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px)); }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--signal);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--paper);
  outline-offset: 2px;
}

/* ===================================================
   头部
   =================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background:
    linear-gradient(180deg,
      rgba(6, 20, 38, 0.94) 0%,
      rgba(6, 20, 38, 0.62) 58%,
      rgba(6, 20, 38, 0) 100%);
  transition: background-color 0.28s ease, box-shadow 0.28s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to right,
    rgba(30, 58, 99, 0.42) 0 1px,
    transparent 1px 104px
  );
  opacity: 0.55;
}

.site-header.is-scrolled {
  background-color: rgba(6, 20, 38, 0.97);
  box-shadow: 0 1px 0 var(--steel), 0 22px 44px -34px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.site-header.is-scrolled::before { opacity: 0.85; }

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

.header-rule {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg, var(--signal) 0%, var(--verified) 58%, rgba(46, 196, 182, 0) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.32s ease;
}

.site-header.is-scrolled .header-rule { transform: scaleX(1); }

/* 频道条 */
.header-channel {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 7px var(--gutter);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
  border-bottom: 1px solid rgba(30, 58, 99, 0.55);
}

.channel-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--paper);
  white-space: nowrap;
}

.channel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--verified);
  animation: channel-pulse 2.4s ease-in-out infinite;
}

@keyframes channel-pulse {
  0%, 100% { opacity: 0.55; box-shadow: 0 0 0 0 rgba(46, 196, 182, 0.42); }
  50%      { opacity: 1;    box-shadow: 0 0 0 5px rgba(46, 196, 182, 0); }
}

.channel-rule {
  flex: 1 1 auto;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    var(--steel) 0 5px,
    transparent 5px 11px
  );
}

.channel-meta {
  margin-left: auto;
  white-space: nowrap;
  letter-spacing: 0.12em;
}

/* 主行 */
.header-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 36px);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--paper);
}

.brand-morse {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 22px;
  flex: 0 0 auto;
}

.brand-morse i {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: var(--signal);
}

.brand-morse i:nth-child(1) { width: 22px; }
.brand-morse i:nth-child(2) { width: 8px; }
.brand-morse i:nth-child(3) { width: 22px; }
.brand-morse i:nth-child(4) { width: 14px; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.14;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(15px, 1.5vw, 18px);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.brand-tag {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--mist);
  text-transform: uppercase;
  white-space: nowrap;
}

/* 导航 */
.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1vw, 16px);
  margin: 0;
  padding: 0;
}

.nav-item { list-style: none; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mist);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 2px;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.26s ease;
}

.nav-link:hover { color: var(--paper); }
.nav-link:hover::after { transform: scaleX(0.55); }

.nav-idx {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--steel);
  transition: color 0.2s ease;
}

.nav-link:hover .nav-idx { color: var(--signal); }

.nav-link[aria-current="page"] { color: var(--paper); }
.nav-link[aria-current="page"] .nav-idx { color: var(--signal); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-foot { display: none; }
.nav-foot p { margin: 0; }

/* 动作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.2s ease;
}

.btn:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--paper);
}

.btn-signal {
  background: var(--signal);
  color: var(--ink);
}

.btn-signal:hover {
  background: #FF8459;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -14px rgba(255, 107, 53, 0.9);
}

.btn-ghost {
  border-color: var(--steel);
  color: var(--paper);
}

.btn-ghost:hover {
  border-color: var(--signal);
  color: var(--signal);
}

.btn-compact {
  padding: 10px 16px;
  font-size: 13px;
}

/* 移动开关 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 1px solid var(--steel);
  color: var(--paper);
  cursor: pointer;
  clip-path: polygon(
    0 0,
    calc(100% - 9px) 0,
    100% 9px,
    100% 100%,
    9px 100%,
    0 calc(100% - 9px)
  );
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--signal);
  color: var(--signal);
}

.nav-toggle:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--signal);
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.nav-toggle-bars i {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease, width 0.22s ease;
}

.nav-toggle-bars i:nth-child(2) { width: 68%; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) {
  opacity: 0;
  width: 100%;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 100%;
}

/* ===================================================
   页脚
   =================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  background-color: var(--night);
  color: var(--paper);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--signal) 0%, var(--verified) 46%, rgba(46, 196, 182, 0) 100%);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, rgba(30, 58, 99, 0.55) 0 1px, transparent 1px 128px),
    repeating-linear-gradient(to bottom, rgba(30, 58, 99, 0.32) 0 1px, transparent 1px 128px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 72%);
  opacity: 0.6;
}

.footer-top {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 88px) var(--gutter) clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 64px);
}

.footer-lead { min-width: 0; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
}

.footer-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.05em;
}

.footer-line {
  margin-top: 18px;
  max-width: 24ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--verified);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
  min-width: 0;
}

.footer-col { min-width: 0; }

.footer-col-title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  line-height: 1.4;
}

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

.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--mist);
  transition: color 0.2s ease;
}

.footer-list a::before {
  content: "";
  width: 5px;
  height: 1px;
  background: var(--steel);
  transition: width 0.22s ease, background-color 0.22s ease;
}

.footer-list a:hover { color: var(--paper); }
.footer-list a:hover::before { width: 13px; background: var(--signal); }

.footer-contact { min-width: 0; }

.contact-list {
  display: grid;
  gap: 15px;
  margin: 0;
}

.contact-row {
  display: grid;
  gap: 4px;
  padding-bottom: 13px;
  border-bottom: 1px dashed rgba(30, 58, 99, 0.95);
}

.contact-row:last-child { border-bottom: 0; padding-bottom: 0; }

.contact-row dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}

.contact-row dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.contact-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--paper);
  word-break: break-all;
}

.contact-value--text {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--mist);
  word-break: break-word;
}

.copy-btn {
  padding: 3px 8px;
  background: transparent;
  border: 1px solid var(--steel);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease,
    background-color 0.18s ease;
}

.copy-btn:hover {
  color: var(--paper);
  border-color: var(--mist);
}

.copy-btn.is-copied {
  background: var(--verified);
  border-color: var(--verified);
  color: var(--ink);
}

.footer-base {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 20px var(--gutter) 30px;
  border-top: 1px solid rgba(30, 58, 99, 0.95);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  color: var(--mist);
}

.footer-route {
  margin-left: auto;
  color: var(--steel);
  letter-spacing: 0.12em;
}

/* ===================================================
   通用内容组件
   =================================================== */

/* 面包屑 */
.breadcrumbs {
  margin-bottom: clamp(20px, 3vw, 34px);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.breadcrumbs li + li::before {
  content: "··";
  color: var(--steel);
  letter-spacing: -0.06em;
}

.breadcrumbs a {
  color: var(--mist);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover { color: var(--signal); }
.breadcrumbs [aria-current="page"] { color: var(--paper); }

/* 网格 */
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

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

/* 切角面板 */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  background: var(--blueprint);
  box-shadow: inset 0 0 0 1px var(--steel);
  clip-path: polygon(
    0 0,
    calc(100% - var(--cut)) 0,
    100% var(--cut),
    100% 100%,
    var(--cut) 100%,
    0 calc(100% - var(--cut))
  );
}

.panel--ink {
  background: rgba(11, 31, 58, 0.72);
  box-shadow: inset 0 0 0 1px rgba(30, 58, 99, 0.9);
}

.panel--signal {
  background: rgba(255, 107, 53, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 53, 0.42);
}

/* 状态点 */
.status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--mist);
}

.status-dot.is-changed { background: var(--signal); box-shadow: none; }
.status-dot.is-verified { background: var(--verified); box-shadow: 0 0 10px rgba(46, 196, 182, 0.5); }
.status-dot.is-pending { background: var(--pending); box-shadow: none; }
.status-dot.is-alert { background: var(--alert); box-shadow: none; }

/* 核对清单行 */
.check-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(30, 58, 99, 0.95);
}

.check-row:last-child { border-bottom: 0; }

.check-idx {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--signal);
}

.check-body {
  min-width: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--paper);
}

.check-note {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.check-state {
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}

/* 图片容器基础规则（页面阶段放入 <img>） */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--blueprint);
  box-shadow: inset 0 0 0 1px var(--steel);
  clip-path: polygon(
    0 0,
    calc(100% - 18px) 0,
    100% 18px,
    100% 100%,
    18px 100%,
    0 calc(100% - 18px)
  );
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, rgba(159, 179, 200, 0.16) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(to bottom, rgba(159, 179, 200, 0.16) 0 1px, transparent 1px 42px);
  opacity: 0.5;
}

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

/* 正文 */
.prose {
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(244, 247, 251, 0.88);
}

.prose p { margin-bottom: 1.1em; }
.prose p:last-child { margin-bottom: 0; }

.prose h2 {
  margin: 1.8em 0 0.7em;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--paper);
}

.prose h3 {
  margin: 1.6em 0 0.6em;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--paper);
}

.prose a {
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose ul, .prose ol {
  margin-bottom: 1.1em;
  padding-left: 1.2em;
}

.prose ul li { list-style: none; position: relative; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: -1.05em;
  top: 0.78em;
  width: 6px;
  height: 1.5px;
  background: var(--signal);
}

.prose ol { list-style: decimal; }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  letter-spacing: 0.04em;
  color: var(--verified);
}

/* 显现 */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ===================================================
   响应式
   =================================================== */
@media (max-width: 1180px) {
  .nav-link { padding: 10px 4px; font-size: 13.5px; }
  .nav-list { gap: 2px; }
  .brand-tag { display: none; }
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-lead { grid-column: 1 / -1; }
  .footer-line { max-width: 46ch; }
}

@media (max-width: 960px) {
  :root { --header-h: 84px; }

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

  .header-channel {
    padding: 6px var(--gutter);
    font-size: 10px;
    letter-spacing: 0.14em;
  }
  .channel-rule, .channel-meta { display: none; }

  .header-inner { min-height: 60px; }

  .brand-mark { font-size: 14px; }
  .brand-morse { width: 18px; }
  .brand-morse i:nth-child(1) { width: 18px; }
  .brand-morse i:nth-child(3) { width: 18px; }
  .brand-morse i:nth-child(4) { width: 11px; }

  .btn-compact { padding: 9px 13px; font-size: 12.5px; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: block;
    margin-left: 0;
    padding: clamp(18px, 5vw, 32px) var(--gutter) 40px;
    background-color: var(--night);
    border-top: 1px solid var(--steel);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s;
  }

  .main-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
      repeating-linear-gradient(to right, rgba(30, 58, 99, 0.5) 0 1px, transparent 1px 72px),
      repeating-linear-gradient(to bottom, rgba(30, 58, 99, 0.3) 0 1px, transparent 1px 72px);
    opacity: 0.7;
  }

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

  .nav-list {
    position: relative;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-item { border-bottom: 1px dashed rgba(30, 58, 99, 0.95); }

  .nav-link {
    width: 100%;
    padding: 17px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--paper);
  }

  .nav-link::after { display: none; }
  .nav-link:hover { color: var(--signal); }

  .nav-link[aria-current="page"] { color: var(--signal); }
  .nav-link[aria-current="page"] .nav-idx { color: var(--signal); }

  .nav-idx { font-size: 12px; color: var(--signal); }

  .nav-foot {
    position: relative;
    display: grid;
    gap: 6px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(30, 58, 99, 0.95);
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.1em;
    color: var(--mist);
  }
}

@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }

  .check-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 12px;
  }
  .check-state {
    grid-column: 2;
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-base { font-size: 11px; letter-spacing: 0.06em; }
  .footer-route { margin-left: 0; }
}

@media (max-width: 620px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 420px) {
  .footer-nav { grid-template-columns: minmax(0, 1fr); }
  .header-actions .btn-compact { padding: 9px 11px; font-size: 12px; }
  .brand-text { max-width: 118px; }
  .brand-mark { white-space: normal; line-height: 1.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;
  }

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

  .channel-dot { animation: none; opacity: 1; }
  .header-progress { transition: none; }
}
