/* ============================================================
   /assets/site.css — 优发国CN品质服务中心 共享外壳
   深空蓝底 / 霓虹青索引 / 暖橙更新标记 / 极细边界
   ============================================================ */

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

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

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

ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink-0: #050B16;
  --ink-1: #081A2B;
  --panel: #0D2438;
  --panel-soft: rgba(13, 36, 56, 0.66);

  --cyan: #31F4E4;
  --mist: #8CF7EF;
  --orange: #FF9A3C;
  --amber: #FFC46B;
  --green: #4BE38B;

  --text: #EAF7FF;
  --muted: #A8BFD2;
  --line: #1E4159;

  --shell-w: 1280px;
  --gap: 24px;
  --radius: 18px;
  --radius-sm: 12px;

  --font-display: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --shadow-card: inset 0 1px 0 rgba(140, 247, 239, 0.06), 0 22px 48px -30px rgba(0, 0, 0, 0.95);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 3. 中文排版基座 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.02vw, 17px);
  line-height: 1.75;
  color: var(--text);
  background-color: var(--ink-0);
  background-image:
    radial-gradient(1200px 700px at 82% -10%, rgba(49, 244, 228, 0.11), transparent 62%),
    radial-gradient(900px 540px at 4% 2%, rgba(255, 154, 60, 0.07), transparent 60%),
    linear-gradient(180deg, #050B16 0%, #050B16 58%, #04101C 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1 { font-size: clamp(48px, 6vw, 76px); line-height: 1.08; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
h4 { font-size: clamp(17px, 1.6vw, 19px); }

small { font-size: 12px; }
strong { font-weight: 700; }

::selection { background: rgba(49, 244, 228, 0.28); color: #ffffff; }

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- 4. 通用骨架 ---------- */
.shell {
  width: min(100% - 40px, var(--shell-w));
  margin-inline: auto;
}

@media (max-width: 600px) {
  .shell { width: min(100% - 28px, var(--shell-w)); }
}

.section { padding-block: clamp(44px, 6.5vw, 92px) 0; }
.section--tight { padding-block: clamp(28px, 4vw, 52px) 0; }

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

.mono { font-family: var(--font-mono); letter-spacing: 0.08em; }

/* 跳转链接 */
.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 120;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--cyan);
  background: var(--ink-1);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: top 0.2s var(--ease);
}

.skip-link:focus-visible,
.skip-link:focus { top: 12px; }

/* 阅读进度 */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 110;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.scroll-progress[data-active="true"] { opacity: 1; }

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--mist) 55%, var(--amber));
}

/* ---------- 5. 刊头 ---------- */
.masthead {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 26, 43, 0.97), rgba(5, 11, 22, 0.94));
  box-shadow: 0 22px 44px -40px rgba(49, 244, 228, 0.5);
}

.masthead__rail {
  border-bottom: 1px solid var(--line);
  background: rgba(5, 11, 22, 0.62);
}

.masthead__rail-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.masthead__issue { color: var(--mist); }
.masthead__time { color: var(--muted); }

.masthead__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 154, 60, 0.18);
  animation: statusPulse 4s var(--ease) infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.masthead__main {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: clamp(16px, 2.6vw, 30px) 0 clamp(10px, 1.8vw, 18px);
}

.masthead__brand {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}

.masthead__brand-line {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(104deg, #EAF7FF 20%, #8CF7EF 66%, #31F4E4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: filter 0.2s var(--ease);
}

.masthead__brand:hover .masthead__brand-line { filter: brightness(1.12); }

.masthead__brand-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.masthead__aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.masthead__aside--left { justify-self: start; }
.masthead__aside--right { justify-self: end; }

/* 快捷胶囊 */
.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 36, 56, 0.55);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.chip-link::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--cyan);
  opacity: 0.75;
}

.chip-link:hover,
.chip-link:focus-visible {
  color: var(--text);
  border-color: rgba(49, 244, 228, 0.5);
  background: rgba(49, 244, 228, 0.09);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), filter 0.2s var(--ease);
}

.btn--primary {
  background: linear-gradient(118deg, var(--orange), var(--amber));
  color: #1A0F04;
  border-color: transparent;
  box-shadow: 0 12px 28px -16px rgba(255, 154, 60, 0.85);
}

.btn--primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(49, 244, 228, 0.42);
  color: var(--mist);
}

.btn--ghost:hover {
  background: rgba(49, 244, 228, 0.1);
  color: var(--text);
}

.btn--small {
  padding: 8px 15px;
  font-size: 13px;
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 36, 56, 0.75);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 14px;
  height: 10px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: top 0.22s var(--ease), transform 0.22s var(--ease);
}

.nav-toggle__bars::before { top: 1px; }
.nav-toggle__bars::after { top: 7px; }

.nav-toggle[aria-expanded="true"] {
  color: var(--text);
  border-color: rgba(49, 244, 228, 0.55);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 4px; transform: rotate(-45deg); }

/* 栏目行 */
.nav {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 36, 56, 0.5), rgba(5, 11, 22, 0));
}

.nav__inner { display: flex; justify-content: center; }

.nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(2px, 1.2vw, 18px);
}

.nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 13px 6px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(140, 247, 239, 0.5);
}

.nav__link:hover,
.nav__link:focus-visible { color: var(--text); }

.nav__link[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--cyan);
}

.nav__link[aria-current="page"] .nav__num { color: var(--orange); }

/* ---------- 6. 页脚 ---------- */
.site-foot {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #081A2B 0%, #061320 46%, #050B16 100%);
  overflow: hidden;
}

.site-foot::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 340px at 18% 0%, rgba(49, 244, 228, 0.12), transparent 66%),
    radial-gradient(560px 300px at 92% 12%, rgba(255, 154, 60, 0.08), transparent 70%);
}

.site-foot .shell {
  position: relative;
  z-index: 1;
  padding-top: clamp(38px, 5.6vw, 72px);
}

.site-foot__top {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 1.15fr;
  gap: clamp(26px, 4vw, 56px);
}

.site-foot__logo {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.2s var(--ease);
}

.site-foot__logo:hover { color: var(--mist); }

.site-foot__name {
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.site-foot__summary {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.site-foot__note {
  margin-top: 10px;
  max-width: 38ch;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(168, 191, 210, 0.74);
}

.foot-col__title {
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.foot-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.foot-link {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.foot-link::before {
  content: "›";
  font-family: var(--font-mono);
  color: var(--cyan);
  opacity: 0.8;
}

.foot-link:hover,
.foot-link:focus-visible { color: var(--text); }

.contact-list { display: block; }

.contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(30, 65, 89, 0.55);
}

.contact-item__label {
  flex: 0 0 42px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.contact-item__value {
  font-size: 14px;
  color: var(--text);
  overflow-wrap: anywhere;
}

a.contact-item__value:hover,
a.contact-item__value:focus-visible {
  color: var(--mist);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-item--text .contact-item__value { color: var(--muted); }

.copy-btn {
  margin-left: auto;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.copy-btn:hover,
.copy-btn:focus-visible {
  color: var(--cyan);
  border-color: rgba(49, 244, 228, 0.5);
  background: rgba(49, 244, 228, 0.08);
}

.copy-hint {
  min-height: 20px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--green);
}

.site-foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: clamp(28px, 4vw, 48px);
  padding: 18px 0 6px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.site-foot__watermark {
  padding-bottom: 14px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(26px, 7vw, 82px);
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(49, 244, 228, 0.18), rgba(49, 244, 228, 0));
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}

/* ---------- 7. 栅格 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

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

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

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

/* ---------- 8. 基础组件 ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  padding-bottom: 14px;
  margin-bottom: var(--gap);
  border-bottom: 1px solid var(--line);
}

.section-head__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-head__note {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--mist);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.card {
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(13, 36, 56, 0.92), rgba(8, 26, 43, 0.72));
  box-shadow: var(--shadow-card);
}

.card--focus {
  border-color: rgba(49, 244, 228, 0.45);
  box-shadow: 0 0 0 1px rgba(49, 244, 228, 0.12), 0 34px 66px -38px rgba(49, 244, 228, 0.5);
}

.card__title {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.3;
}

.card__meta {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.tag--update {
  color: var(--amber);
  border-color: rgba(255, 154, 60, 0.5);
  background: rgba(255, 154, 60, 0.1);
}

.tag--live {
  color: var(--green);
  border-color: rgba(75, 227, 139, 0.45);
  background: rgba(75, 227, 139, 0.08);
}

/* 图片容器（页面阶段放 img / 内联 SVG） */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(120% 120% at 82% 0%, rgba(49, 244, 228, 0.18), transparent 60%),
    linear-gradient(150deg, #0D2438, #050B16);
}

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

.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }

.media__caption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(5, 11, 22, 0.72);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

/* 长文 */
.prose {
  max-width: 68ch;
  color: var(--text);
}

.prose > * + * { margin-top: 1.1em; }

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  margin-top: 1.7em;
}

.prose h2 { font-size: clamp(24px, 2.6vw, 30px); }
.prose h3 { font-size: clamp(19px, 2vw, 22px); }

.prose p,
.prose li { color: var(--text); }

.prose a {
  color: var(--mist);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.prose li {
  position: relative;
  padding-left: 20px;
}

.prose li + li { margin-top: 0.5em; }

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--cyan);
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin-block: 1.8em;
}

/* 面包屑 */
.breadcrumb {
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

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

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--line);
}

.breadcrumb a { color: var(--muted); transition: color 0.2s var(--ease); }
.breadcrumb a:hover,
.breadcrumb a:focus-visible { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* 手风琴 */
.acc {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(13, 36, 56, 0.62);
  overflow: hidden;
}

.acc + .acc { margin-top: 10px; }

.acc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.acc__summary::-webkit-details-marker { display: none; }

.acc__summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--cyan);
}

.acc[open] .acc__summary::after { content: "–"; }
.acc[open] .acc__summary { border-bottom: 1px solid var(--line); }

.acc__body {
  padding: 14px 18px 18px;
  font-size: 15px;
  color: var(--muted);
}

/* 标签页 */
.tabs { width: 100%; }

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 36, 56, 0.6);
}

.tabs__tab {
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.tabs__tab:hover { color: var(--text); }

.tabs__tab[aria-selected="true"] {
  color: var(--text);
  border-color: rgba(49, 244, 228, 0.5);
  background: rgba(49, 244, 228, 0.14);
}

.tabs__panel {
  margin-top: 18px;
  animation: tabsIn 220ms var(--ease);
}

@keyframes tabsIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: none; }
}

/* 显现动效协议 */
.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}

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

/* ---------- 9. 响应式外壳 ---------- */
@media (max-width: 1080px) {
  .masthead__aside--left .chip-link:last-child { display: none; }
}

@media (max-width: 980px) {
  .site-foot__top { grid-template-columns: 1fr 1fr; }
  .site-foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .masthead__main {
    grid-template-columns: 1fr;
    padding: clamp(16px, 4vw, 24px) 0 16px;
  }

  .masthead__aside { display: none; }
  .masthead__brand { justify-self: center; }

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

  .nav { display: none; }

  .nav[data-open] {
    display: block;
    background: rgba(8, 26, 43, 0.98);
  }

  .nav__inner { display: block; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 18px;
  }

  .nav__item { width: 100%; }

  .nav__link {
    width: 100%;
    padding: 14px 4px;
    font-size: 16px;
    border-bottom: 1px solid rgba(30, 65, 89, 0.6);
  }

  .nav__link[aria-current="page"] {
    border-bottom-color: rgba(30, 65, 89, 0.6);
    color: var(--cyan);
    background: rgba(49, 244, 228, 0.07);
  }

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

@media (max-width: 720px) {
  .masthead__status { display: none; }
  .masthead__rail-inner { min-height: 34px; font-size: 10.5px; letter-spacing: 0.1em; }
}

@media (max-width: 640px) {
  .site-foot__top { grid-template-columns: 1fr; }
  .foot-links { grid-template-columns: 1fr; }
  .site-foot__legal { font-size: 11px; gap: 6px 16px; }
  .section-head__note { margin-left: 0; width: 100%; }
}

/* ---------- 10. 可访问性 / 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .has-reveal [data-reveal] { opacity: 1; transform: none; }
  .status-dot { animation: none; opacity: 1; }
  .tabs__panel { animation: none; }
}
