/* ============================================================
   九游看台 — 共享样式 /assets/site.css
   夜间看台 · 刊头导览 · 斜切分隔 · 等宽索引
   ============================================================ */

:root {
  /* 看台夜墨与轨道层 */
  --ink: #06110F;
  --rail: #0B1F1B;
  --panel: #12312A;

  /* 强调序列 */
  --cyan: #00E5C0;
  --cyan-hi: #3DF5D0;
  --amber: #F2A63B;
  --amber-hi: #FFBC5E;
  --violet: #7A5CFF;
  --coral: #FF6B85;

  /* 文本 */
  --text: #E8F3EF;
  --muted: #8FA8A1;

  /* 边界与玻璃 */
  --line: rgba(0, 229, 192, 0.16);
  --line-soft: rgba(143, 168, 161, 0.2);
  --glass: rgba(11, 31, 27, 0.66);
  --tip-bg: #0D241F;

  /* 字体 */
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;

  /* 尺度 */
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 44px);
  --radius: 16px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --reveal-delay: 0ms;
  --scroll-progress: 0;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--ink);
  background-image:
    radial-gradient(80% 55% at 82% -8%, rgba(0, 229, 192, 0.13), transparent 62%),
    radial-gradient(62% 46% at 4% 2%, rgba(122, 92, 255, 0.11), transparent 66%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

main { display: block; }

#main-content { scroll-margin-top: 120px; }
:target { scroll-margin-top: 120px; }

/* ---------- 中文排版 ---------- */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-stretch: 94%;
}
h1 { font-size: clamp(30px, 4.6vw, 52px); }
h2 { font-size: clamp(24px, 3.2vw, 34px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
h4 { font-size: 17px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--cyan); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--cyan-hi); }

strong { font-weight: 700; }
small { font-size: 13px; color: var(--muted); }

::selection { background: rgba(0, 229, 192, 0.28); color: #ffffff; }

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

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

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

.rail-layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 46px);
  align-items: start;
}

.rail {
  align-self: start;
  position: sticky;
  top: clamp(104px, 14vh, 148px);
  display: grid;
  gap: 14px;
}

/* ---------- 跳过链接 ---------- */
.skip-link {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(-50%, -180%);
  z-index: 300;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--amber);
  color: #191002;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.22s var(--ease);
}
.skip-link:hover { color: #191002; }
.skip-link:focus,
.skip-link:focus-visible { transform: translate(-50%, 0); color: #191002; }

/* ============================================================
   头部：刊头导航
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  transform: scaleX(var(--scroll-progress));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  pointer-events: none;
}

.header-top__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  padding-block: clamp(10px, 1.5vw, 16px) clamp(8px, 1.1vw, 13px);
}

/* 我的关注入口 */
.follow-entry {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(18, 49, 42, 0.5);
  color: var(--text);
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.follow-entry:hover {
  color: var(--text);
  border-color: rgba(0, 229, 192, 0.52);
  background: rgba(0, 229, 192, 0.1);
  transform: translateY(-1px);
}
.follow-entry__dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 9px rgba(0, 229, 192, 0.85);
}
.follow-entry__label { font-weight: 600; letter-spacing: 0.02em; }
.follow-entry__count {
  padding-left: 9px;
  border-left: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* 刊头 */
.masthead {
  justify-self: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: var(--text);
  text-align: center;
}
.masthead:hover { color: var(--text); }

.masthead__name {
  font-size: clamp(29px, 4.6vw, 56px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--text);
  background: linear-gradient(178deg, #ffffff 0%, var(--text) 52%, #9FE9D8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.masthead__meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.masthead__line {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.version-badge {
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(0, 229, 192, 0.32);
  background: rgba(0, 229, 192, 0.08);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* 右侧功能件 */
.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 14px);
}

.header-help {
  padding: 8px 4px;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.header-help:hover { color: var(--cyan); border-bottom-color: var(--cyan); }

/* 实时状态徽标（玻璃层） */
.status-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 192, 0.26);
  background: rgba(6, 17, 15, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: help;
}
.status-badge__dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: status-pulse 2.6s var(--ease) infinite;
}
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 192, 0.55); }
  50% { box-shadow: 0 0 0 6px rgba(0, 229, 192, 0); }
}
.status-badge__text { font-variant-numeric: tabular-nums; }

.status-badge__tip {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 6;
  width: max-content;
  max-width: min(280px, 72vw);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--tip-bg);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0;
  white-space: normal;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.status-badge:hover .status-badge__tip,
.status-badge:focus-visible .status-badge__tip,
.status-badge:focus-within .status-badge__tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 192, 0.3);
  background: var(--panel);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle[aria-expanded="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04120F;
}
.nav-toggle__bars {
  width: 16px;
  height: 12px;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  transition: transform 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { transform: scaleX(0.7) rotate(90deg); }
.nav-toggle__label { line-height: 1; }

/* 索引式栏目导航 */
.site-nav {
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(11, 31, 27, 0.55), rgba(6, 17, 15, 0));
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 32px);
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1.1vw, 18px);
  min-width: 0;
}
.site-nav__item { flex: none; }

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  padding: 0 6px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.site-nav__link:hover { color: var(--text); border-bottom-color: rgba(0, 229, 192, 0.45); }
.site-nav__link[aria-current="page"] { color: var(--text); border-bottom-color: var(--cyan); }

.site-nav__index {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(143, 168, 161, 0.62);
  font-variant-numeric: tabular-nums;
  transition: color 0.22s var(--ease);
}
.site-nav__link:hover .site-nav__index,
.site-nav__link[aria-current="page"] .site-nav__index { color: var(--cyan); }

.site-nav__label { line-height: 1; }
.site-nav__cta { flex: none; }

/* ============================================================
   页脚：斜切带 + 轨道深绿
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(70px, 10vw, 128px);
  padding-top: clamp(44px, 6vw, 78px);
  padding-bottom: clamp(22px, 3vw, 34px);
  background: var(--rail);
  color: var(--text);
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: clamp(26px, 5vw, 84px);
  background: var(--rail);
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.85fr));
  gap: clamp(26px, 3.4vw, 52px);
  padding-bottom: clamp(30px, 4vw, 52px);
  border-bottom: 1px solid var(--line-soft);
}

.footer-brand__name {
  display: inline-block;
  color: var(--text);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.footer-brand__name:hover { color: var(--cyan); }

.footer-brand__line {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.footer-brand__closing {
  margin: 18px 0 0;
  max-width: 22em;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.footer-col__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--cyan);
}
.footer-col__list { display: grid; gap: 10px; }
.footer-col__list a {
  display: inline-block;
  padding-block: 2px;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-col__list a:hover { color: var(--text); border-bottom-color: rgba(0, 229, 192, 0.5); }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  padding-block: clamp(20px, 2.6vw, 30px);
  border-bottom: 1px solid var(--line-soft);
}
.footer-contact__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}
.footer-contact__item {
  margin: 0;
  font-size: 13.5px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: clamp(16px, 2.4vw, 24px);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.footer-legal__copy,
.footer-legal__icp { margin: 0; font-variant-numeric: tabular-nums; }

/* ============================================================
   通用组件
   ============================================================ */
.section { margin-block: clamp(48px, 7vw, 92px); }

.section__head {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: clamp(14px, 2vw, 28px);
  margin-bottom: clamp(20px, 3vw, 34px);
}

.sec-index {
  flex: none;
  font-family: var(--font-mono);
  font-size: clamp(46px, 7.5vw, 92px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.section__title { margin: 0; }
.section__desc {
  margin: 6px 0 0;
  max-width: 46ch;
  font-size: 15px;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--cyan);
}

.lede {
  max-width: 34em;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.8;
  color: var(--muted);
}

.prose { max-width: 62ch; }
.prose p { margin-bottom: 1.1em; }

.hint {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* 面板 */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid rgba(0, 229, 192, 0.14);
  border-radius: var(--radius);
  background: var(--panel);
}
.panel--glass {
  background: rgba(11, 31, 27, 0.62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-color: rgba(0, 229, 192, 0.2);
}
.panel--cut { border-radius: 0 var(--radius) var(--radius) var(--radius); }

/* 斜切分隔带 */
.slant-band {
  height: clamp(24px, 4vw, 54px);
  margin-block: clamp(36px, 6vw, 80px);
  background: linear-gradient(90deg, rgba(0, 229, 192, 0.18), rgba(122, 92, 255, 0.16));
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn--primary { background: var(--amber); color: #191002; }
.btn--primary:hover {
  background: var(--amber-hi);
  color: #191002;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(242, 166, 59, 0.24);
}
.btn--ghost {
  background: transparent;
  border-color: rgba(0, 229, 192, 0.45);
  color: var(--cyan);
}
.btn--ghost:hover {
  background: rgba(0, 229, 192, 0.09);
  border-color: var(--cyan-hi);
  color: var(--cyan-hi);
}
.btn--sm { min-height: 38px; padding: 0 15px; font-size: 13.5px; border-radius: 8px; }

/* 标签与状态点 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(143, 168, 161, 0.3);
  border-radius: 999px;
  background: rgba(6, 17, 15, 0.5);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.tag--accent { border-color: rgba(0, 229, 192, 0.4); color: var(--cyan); }
.tag--amber { border-color: rgba(242, 166, 59, 0.45); color: var(--amber); }
.tag--coral { border-color: rgba(255, 107, 133, 0.45); color: var(--coral); }

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}
.dot--amber { background: var(--amber); }
.dot--violet { background: var(--violet); }
.dot--coral { background: var(--coral); }

/* 面包屑 */
.breadcrumb { margin-bottom: clamp(16px, 2vw, 26px); }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.breadcrumb__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb__list li + li::before {
  content: "/";
  color: rgba(143, 168, 161, 0.45);
}
.breadcrumb__link { color: var(--muted); }
.breadcrumb__link:hover { color: var(--cyan); }
.breadcrumb__current { color: var(--text); }

/* 图片容器（页面阶段放入实际图像） */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  border: 1px solid rgba(0, 229, 192, 0.12);
  background:
    radial-gradient(70% 60% at 78% 14%, rgba(0, 229, 192, 0.2), transparent 62%),
    linear-gradient(160deg, #0F2B24 0%, #071715 62%, #0B1F1B 100%);
}
.media > img,
.media > picture > img,
.media > svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--square { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 4 / 5; }

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px 12px;
  background: linear-gradient(0deg, rgba(6, 17, 15, 0.94), rgba(6, 17, 15, 0));
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--muted);
}

/* ---------- 滚动显现 ---------- */
[data-reveal] {
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
}
.reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1180px) {
  .site-nav__list { gap: 4px; }
  .site-nav__link { font-size: 13.5px; padding: 0 4px; }
  .grid--7-5 { grid-template-columns: minmax(0, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .rail-layout { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; order: -1; }
}

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .header-top__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "mast mast"
      "follow actions";
    row-gap: 10px;
  }
  .masthead { grid-area: mast; justify-self: center; }
  .follow-entry { grid-area: follow; justify-self: start; }
  .header-actions { grid-area: actions; justify-self: end; }

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

  .site-nav { display: none; }
  .site-nav[data-open="true"] {
    display: block;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    border-top: 1px solid var(--line);
  }
  .site-nav__inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 8px;
  }
  .site-nav__link {
    width: 100%;
    justify-content: space-between;
    min-height: 52px;
    padding-inline: 4px;
    border-bottom: 1px solid rgba(0, 229, 192, 0.1);
    font-size: 15px;
  }
  .site-nav__link[aria-current="page"] {
    border-bottom-color: rgba(0, 229, 192, 0.5);
    background: rgba(0, 229, 192, 0.06);
  }
  .site-nav__index { font-size: 11px; }
  .site-nav__cta { margin: 14px 0 20px; align-self: flex-start; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .header-help { display: none; }
  .footer-contact { gap: 6px 16px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-legal { justify-content: flex-start; }
  .masthead__line { letter-spacing: 0.1em; font-size: 10.5px; }
  .status-badge { padding: 6px 10px; font-size: 11px; }
  .status-badge__text-long { display: none; }
  .follow-entry__count { display: none; }
  .section__head { gap: 12px; }
  .sec-index { font-size: clamp(40px, 13vw, 62px); }
}

@media (max-width: 400px) {
  .nav-toggle__label { display: none; }
  .nav-toggle { padding: 0 12px; }
}

/* ============================================================
   动效偏好
   ============================================================ */
@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;
    transition-delay: 0ms !important;
  }

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

  .status-badge__tip { transition: none; }
  .site-header::after { transition: none; }
}
