/* ==========================================================================
   KAIYUN V4 — /assets/site.css
   共享外壳：重置 / 变量 / 中文排版 / 页头 / 页脚 / 通用组件
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: clamp(110px, 15vh, 170px);
}

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

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

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

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

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

table { border-collapse: collapse; }

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

/* ---------- 2. 变量 ---------- */
:root {
  --indigo-950: #0A1130;
  --indigo-900: #131C46;
  --indigo-800: #1C2A5E;
  --line: #2E3C78;
  --gold-500: #F2B23E;
  --gold-300: #FFD98A;
  --vermilion: #E2453C;
  --turquoise: #2FB59A;
  --paper: #F4F1E8;
  --ink: #0A0E1F;
  --muted: #8A93B8;
  --sky: #1E8FD5;

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;

  --shell-max: 1440px;
  --gutter: clamp(20px, 4vw, 72px);
  --gap: 24px;
  --radius: 4px;
  --border: 1px solid var(--line);
  --shadow-stack: 4px 4px 0 rgba(46, 60, 120, 0.55);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --flag-gradient: linear-gradient(90deg,
    var(--sky) 0 20%,
    var(--paper) 20% 40%,
    var(--vermilion) 40% 60%,
    var(--turquoise) 60% 80%,
    var(--gold-500) 80% 100%);
}

/* ---------- 3. 中文排版基座 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
  color: var(--paper);
  background-color: var(--indigo-950);
  background-image:
    linear-gradient(rgba(46, 60, 120, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 60, 120, 0.22) 1px, transparent 1px);
  background-size: 24px 24px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 {
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.01em; }

h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }

p { font-size: 17px; line-height: 1.8; }

strong { font-weight: 700; color: var(--gold-300); }

small { font-size: 12px; }

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

/* ---------- 4. 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 880px; }

.page-main { display: block; }

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

.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: clamp(24px, 4vw, 44px); }

.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.rule-line { display: block; width: 40px; height: 3px; background: var(--gold-500); border-radius: 2px; }

/* ---------- 5. 跳过导航 ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 300;
  transform: translate(-50%, -140%);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--gold-500);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  transition: transform 0.24s var(--ease);
}

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

/* ---------- 6. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 17, 48, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.flagline {
  height: 4px;
  width: 100%;
  background: var(--flag-gradient);
}

.header-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: 14px var(--gutter) 8px;
}

/* 状态灯组 */
.header-status {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.status-list {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.status-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  line-height: 1;
}

.status-light__dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  flex: 0 0 auto;
}

.status-light--ok .status-light__dot {
  background: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(47, 181, 154, 0.18);
  animation: ky-breathe 2.4s ease-in-out infinite;
}

.status-light--ok .status-light__text { color: var(--paper); }

.status-light--down .status-light__dot {
  background: var(--vermilion);
  box-shadow: 0 0 0 3px rgba(226, 69, 60, 0.16);
  animation: none;
}

.status-light--down .status-light__text { color: var(--muted); }

.status-clock {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  padding-left: 12px;
  border-left: 1px solid var(--line);
  line-height: 1.2;
}

@keyframes ky-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* 刊头 */
.masthead {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 2px 6px;
  color: var(--paper);
  transition: color 0.2s var(--ease);
}

.masthead:hover { color: var(--gold-300); }

.masthead__word {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: clamp(1.4rem, 2.7vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.masthead__version {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold-500);
  border: 1px solid var(--gold-500);
  border-radius: 2px;
  padding: 3px 5px;
  line-height: 1;
  transform: translateY(-2px);
}

.masthead__cn {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--muted);
  text-indent: 0.32em;
  line-height: 1.2;
}

/* 轮次徽标 */
.round-meta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.round-meta__label { color: var(--muted); }

.round-meta__value {
  color: var(--gold-300);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 3px 8px;
}

.round-meta__state { color: var(--turquoise); }

/* 导航行 */
.header-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: 8px var(--gutter) 12px;
  border-top: 1px solid rgba(46, 60, 120, 0.6);
}

.header-nav__meta {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--indigo-900);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-toggle:hover { border-color: var(--gold-500); color: var(--gold-300); }

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 14px;
  flex: 0 0 auto;
}

.nav-toggle__bars i {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold-500);
  border-radius: 1px;
  transition: transform 0.24s var(--ease), opacity 0.2s var(--ease);
}

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

.site-nav { display: flex; justify-content: center; }

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 28px);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 0 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(244, 241, 232, 0.78);
  transition: color 0.2s var(--ease);
}

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

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transform: translateX(-50%);
  transition: width 0.26s var(--ease);
}

.nav-link:hover::after { width: 18px; }

.nav-link[aria-current="page"] { color: var(--gold-300); }
.nav-link[aria-current="page"]::after { width: 26px; }

.header-actions {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- 7. 按钮与状态组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-align: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn--primary { background: var(--gold-500); border-color: var(--gold-500); color: var(--ink); }
.btn--primary:hover { background: var(--gold-300); border-color: var(--gold-300); }
.btn--primary:active { transform: translateY(1px); }

.btn--ghost { background: transparent; border-color: var(--line); color: var(--paper); }
.btn--ghost:hover { border-color: var(--gold-500); color: var(--gold-300); }

.btn--sm { padding: 8px 13px; font-size: 12.5px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--indigo-900);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: var(--muted);
}

.tag--ok { color: var(--turquoise); border-color: rgba(47, 181, 154, 0.45); }
.tag--warn { color: var(--vermilion); border-color: rgba(226, 69, 60, 0.45); }
.tag--info { color: var(--gold-500); border-color: rgba(242, 178, 62, 0.45); }

.card {
  padding: clamp(16px, 2.4vw, 24px);
  border: var(--border);
  border-radius: var(--radius);
  background: var(--indigo-900);
}

.card--paper {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-stack);
}

.card--paper h2,
.card--paper h3 { color: var(--ink); }

/* ---------- 8. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.breadcrumbs a { color: var(--muted); transition: color 0.2s var(--ease); }
.breadcrumbs a:hover { color: var(--gold-300); }
.breadcrumbs__sep { color: var(--line); }
.breadcrumbs [aria-current="page"] { color: var(--paper); }

/* ---------- 9. 图片容器基础规则 ---------- */
.figure {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--indigo-900);
  box-shadow: var(--shadow-stack);
}

.figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 241, 232, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 232, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}

.figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure--16x9 { aspect-ratio: 16 / 9; }
.figure--4x3 { aspect-ratio: 4 / 3; }
.figure--1x1 { aspect-ratio: 1 / 1; }

.figure__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 140px;
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-align: center;
}

.figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(10, 17, 48, 0) 0%, rgba(10, 17, 48, 0.88) 100%);
}

/* ---------- 10. 表格 / 条带 / 正文 ---------- */
.table {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.table caption {
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-align: left;
}

.table th,
.table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.table thead th {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.table tbody tr:nth-child(even) { background: rgba(28, 42, 94, 0.72); }

.band {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 16px;
  scrollbar-width: thin;
}

.band::-webkit-scrollbar { height: 6px; }
.band::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.band::-webkit-scrollbar-track { background: transparent; }

.band__item { flex: 0 0 auto; scroll-snap-align: start; }

.prose {
  max-width: 68ch;
  font-size: 17.5px;
  line-height: 1.9;
}

.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.5em; }
.prose ul,
.prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-top: 0.4em; }

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

.prose--paper {
  padding: clamp(20px, 4vw, 40px);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-stack);
}

.prose--paper a { color: #8A5A00; }
.prose--paper strong { color: var(--ink); }

.prose--paper ol > li::marker { color: #7A5A18; font-family: var(--font-mono); }

/* ---------- 11. 显现与滚动条 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s var(--ease) var(--reveal-delay, 0ms),
    transform 0.55s var(--ease) var(--reveal-delay, 0ms);
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: rgba(10, 17, 48, 0.4);
}

.scroll-progress > i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--turquoise), var(--gold-500));
  transition: width 0.1s linear;
}

.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(19, 28, 70, 0.94);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease), border-color 0.2s var(--ease);
}

.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--gold-500); color: var(--gold-300); }

/* ---------- 12. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  border-top: 1px solid var(--line);
  background: var(--indigo-950);
  color: var(--muted);
}

.footer-flag {
  height: 4px;
  width: 100%;
  background: var(--flag-gradient);
  opacity: 0.85;
}

.footer-inner {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 60px) var(--gutter) 28px;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
  padding-bottom: clamp(20px, 3vw, 28px);
  margin-bottom: clamp(24px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
}

.footer-brand__mark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--paper);
  transition: color 0.2s var(--ease);
}

.footer-brand__mark:hover { color: var(--gold-300); }

.footer-brand__version {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold-500);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 3px 6px;
}

.footer-brand__note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  line-height: 1.6;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: clamp(20px, 4vw, 48px);
}

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  line-height: 1.4;
}

.footer-col__title::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--gold-500);
  flex: 0 0 auto;
}

.footer-list { display: flex; flex-direction: column; gap: 2px; }

.footer-link {
  display: inline-block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.footer-link:hover { color: var(--gold-300); padding-left: 4px; }

.footer-list--info { gap: 4px; }

.footer-info {
  padding: 4px 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  line-height: 1.85;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.footer-legal { margin: 0; max-width: 62ch; color: var(--muted); line-height: 1.7; }

.footer-tag {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1200px) {
  .header-nav__meta { font-size: 10px; }
  .nav-link { font-size: 14px; }
}

@media (max-width: 1040px) {
  .header-top {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    row-gap: 8px;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .masthead { order: 1; }
  .header-status { order: 2; justify-content: center; }
  .round-meta { order: 3; justify-self: center; justify-content: center; text-align: center; }

  .header-nav {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 12px;
    padding-top: 10px;
    padding-bottom: 12px;
  }

  .header-nav__meta { display: none; }
  .nav-toggle { display: inline-flex; order: 1; }
  .header-actions { position: static; transform: none; order: 2; gap: 6px; }
  .header-actions .btn--ghost { display: none; }

  .site-nav {
    order: 3;
    flex: 0 0 100%;
    display: none;
    margin-top: 10px;
    padding-top: 6px;
    border-top: 1px solid var(--line);
  }

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

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

  .nav-link {
    padding: 13px 2px;
    font-size: 16px;
    border-bottom: 1px solid rgba(46, 60, 120, 0.55);
  }

  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--gold-300); }
}

@media (max-width: 960px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-col--wide { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  body { font-size: 16px; background-attachment: scroll; }
  p { font-size: 16px; }
  .prose { font-size: 16.5px; }
  .status-list { gap: 10px; }
  .status-clock { padding-left: 8px; }
  .table { font-size: 12.5px; }
  .table th, .table td { padding: 8px 9px; }
}

@media (max-width: 600px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-col--wide { grid-column: auto; }
  .masthead__cn { letter-spacing: 0.24em; }
  .round-meta { font-size: 10px; }
  .to-top { padding: 9px 12px; }
}

/* ---------- 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;
  }

  .status-light--ok .status-light__dot { animation: none; }

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

  .scroll-progress > i { transition: none; }
}
