/* ==========================================================================
   小鸟体育 · 夜场速写本 Site Kit
   共享外壳与基础组件 /assets/site.css
   ========================================================================== */

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

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

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

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

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

img {
  height: auto;
  display: block;
}

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

a {
  color: inherit;
}

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #071C15;
  --ink-2: #0C2A20;
  --ink-3: #123528;
  --pitch: #1F7A4D;
  --pitch-lift: #258C58;
  --lime: #C8F04B;
  --red: #E2453C;
  --red-soft: #FF8A82;
  --amber: #FF9A3D;
  --mist: #F1F7EF;
  --sage: #9DB8A9;
  --glass: rgba(241, 247, 239, 0.08);
  --glass-strong: rgba(241, 247, 239, 0.14);
  --line: rgba(157, 184, 169, 0.24);
  --line-strong: rgba(157, 184, 169, 0.44);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Roboto Mono", Menlo, Consolas, "Courier New", monospace;

  --shell: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --header-h: 64px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 220ms;

  --shadow-lift: 0 12px 30px -18px rgba(0, 0, 0, 0.95);
}

/* ---------- 3. 基础与中文排版 ---------- */
body {
  position: relative;
  min-height: 100vh;
  background-color: var(--ink);
  color: var(--mist);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(900px 520px at 84% -10%, rgba(31, 122, 77, 0.42), transparent 62%),
    radial-gradient(680px 460px at 4% 4%, rgba(200, 240, 75, 0.1), transparent 60%),
    repeating-linear-gradient(90deg, rgba(157, 184, 169, 0.045) 0 1px, transparent 1px 108px);
}

p {
  text-wrap: pretty;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mist);
  text-wrap: balance;
}

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

#main-content {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(200, 240, 75, 0.55);
}

/* ---------- 4. 跳转链 ---------- */
.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease);
}

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

/* ---------- 5. 页头：命令栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 28, 21, 0.9);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  backdrop-filter: blur(14px) saturate(1.25);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.site-header[data-scrolled] {
  background: rgba(7, 28, 21, 0.98);
  box-shadow: 0 18px 40px -34px #000;
}

.header-inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
}

/* 品牌锁定 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--mist);
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  border-radius: 10px 3px 10px 3px;
  transform: skewX(-6deg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.brand:hover .brand-mark {
  transform: skewX(-6deg) translateY(-2px);
  box-shadow: 0 8px 18px -12px var(--lime);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.12;
}

.brand-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-version {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--lime);
  transform: rotate(-1.4deg);
  transform-origin: left center;
}

/* 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--glass);
  color: var(--mist);
  font-size: 13px;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}

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

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: background var(--dur) var(--ease);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), top var(--dur) var(--ease);
}

.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.site-header[data-open] .nav-toggle-bars { background: transparent; }
.site-header[data-open] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.site-header[data-open] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.nav-toggle-label {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 24px);
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  flex: 0 0 auto;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--sage);
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(157, 184, 169, 0.62);
  transition: color var(--dur) var(--ease);
}

.nav-link:hover {
  color: var(--mist);
  background: var(--glass);
}

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

.nav-link[aria-current="page"] {
  color: var(--mist);
  background: rgba(200, 240, 75, 0.07);
}

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

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(200, 240, 75, 0.85);
}

.nav-archive {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--lime);
  white-space: nowrap;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.nav-archive::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 9px var(--lime);
}

.nav-archive:hover {
  background: rgba(200, 240, 75, 0.12);
  border-color: var(--lime);
  transform: translateY(-1px);
}

/* ---------- 6. 页脚：档案柜 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 110px);
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  color: var(--sage);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pitch) 0%, var(--lime) 38%, var(--amber) 72%, var(--red) 100%);
  opacity: 0.92;
}

.footer-inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(38px, 6vw, 66px) var(--gutter) 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.9fr);
  gap: clamp(26px, 4vw, 58px);
}

.footer-brand-line {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: -0.01em;
  color: var(--mist);
  max-width: 22ch;
}

.footer-tag {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--lime);
  display: inline-block;
  transform: rotate(-1.2deg);
  transform-origin: left center;
}

.footer-note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(157, 184, 169, 0.88);
  max-width: 32ch;
}

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

.footer-group-title {
  margin-bottom: 13px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--lime);
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-link {
  width: -moz-fit-content;
  width: fit-content;
  font-size: 14.5px;
  color: var(--sage);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer-link:hover {
  color: var(--mist);
  border-bottom-color: var(--lime);
}

.footer-archive {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: clamp(28px, 4vw, 46px);
  padding: 15px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--glass);
}

.footer-archive-tag {
  padding: 2px 9px;
  border-radius: 4px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-archive-text {
  flex: 1 1 260px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--sage);
}

.footer-archive-link {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 240, 75, 0.4);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.footer-archive-link:hover {
  color: var(--mist);
  border-bottom-color: var(--mist);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  margin-top: clamp(24px, 3.5vw, 38px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  color: var(--sage);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal a {
  color: var(--sage);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer-legal a:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(157, 184, 169, 0.72);
}

.footer-copy-sep {
  color: rgba(157, 184, 169, 0.5);
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}

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

.btn--lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -14px rgba(200, 240, 75, 0.95);
}

.btn--pitch {
  background: var(--pitch);
  color: var(--mist);
}

.btn--pitch:hover {
  background: var(--pitch-lift);
  transform: translateY(-2px);
}

.btn--ghost {
  background: var(--glass);
  border-color: var(--line-strong);
  color: var(--mist);
}

.btn--ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 13.5px;
}

/* ---------- 8. 标签与状态 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--sage);
  white-space: nowrap;
  text-transform: uppercase;
}

.badge--lime {
  background: rgba(200, 240, 75, 0.14);
  border-color: rgba(200, 240, 75, 0.5);
  color: var(--lime);
}

.badge--red {
  background: rgba(226, 69, 60, 0.16);
  border-color: rgba(226, 69, 60, 0.55);
  color: var(--red-soft);
}

.badge--amber {
  background: rgba(255, 154, 61, 0.14);
  border-color: rgba(255, 154, 61, 0.5);
  color: var(--amber);
}

.badge--solid {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  font-weight: 700;
}

/* ---------- 9. 容器与标题 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--narrow {
  max-width: 860px;
}

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

.section--tight {
  padding-block: clamp(26px, 4vw, 46px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 30px;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.eyebrow {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
}

.section-title {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--mist);
}

.section-title em {
  font-style: normal;
  color: var(--lime);
}

.section-sub {
  margin-top: 10px;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--sage);
}

.prose {
  max-width: 38em;
  font-size: 17px;
  line-height: 1.78;
  color: rgba(241, 247, 239, 0.9);
}

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

.prose h2 {
  font-size: clamp(21px, 2.6vw, 27px);
  color: var(--mist);
}

.prose h3 {
  font-size: clamp(18px, 2.1vw, 21px);
  color: var(--mist);
}

.prose ul {
  padding-left: 1.1em;
  list-style: none;
}

.prose ul li {
  position: relative;
  padding-left: 0.2em;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: -1em;
  top: 0.78em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.prose a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 240, 75, 0.42);
}

.prose a:hover {
  border-bottom-color: var(--lime);
}

/* ---------- 10. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(157, 184, 169, 0.78);
}

.crumbs a {
  color: var(--sage);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.crumbs a:hover {
  color: var(--lime);
}

.crumb-sep {
  color: rgba(157, 184, 169, 0.42);
}

.crumbs [aria-current="page"] {
  color: var(--mist);
}

/* ---------- 11. 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ---------- 12. 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  overflow: hidden;
}

.card--glass {
  background: var(--glass);
  border-color: var(--line-strong);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.card--lift {
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
              background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.card--lift:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 240, 75, 0.45);
  background: var(--ink-3);
  box-shadow: var(--shadow-lift);
}

.card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.card-title {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--mist);
}

.card-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--sage);
}

/* ---------- 13. 数字与统计 ---------- */
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stat-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lime);
}

.stat-label {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--sage);
}

/* ---------- 14. 图片容器 ---------- */
.media {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink-3) 0%, var(--ink-2) 55%, #14402F 100%);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(241, 247, 239, 0.045) 0 1px, transparent 1px 18px);
}

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

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

.media--diagonal {
  clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%);
  border-radius: var(--radius) var(--radius) 0 0;
}

.media-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(7, 28, 21, 0) 42%, rgba(7, 28, 21, 0.8) 100%);
}

/* ---------- 15. 数据表 ---------- */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.data-table caption {
  padding: 12px 14px 0;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.data-table th {
  padding: 11px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  white-space: nowrap;
  border-bottom: 1px solid var(--line-strong);
}

.data-table td {
  padding: 12px 14px;
  color: var(--mist);
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}

.data-table tbody tr {
  transition: background var(--dur) var(--ease);
}

.data-table tbody tr:hover {
  background: rgba(200, 240, 75, 0.07);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table .is-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* ---------- 16. 手写批注 ---------- */
.hand {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--sage);
}

.hand--lime { color: var(--lime); }
.hand--amber { color: var(--amber); }

.hand--tilt {
  display: inline-block;
  transform: rotate(-1.6deg);
  transform-origin: left center;
}

/* ---------- 17. 阅读进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 0;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--pitch) 0%, var(--lime) 100%);
  box-shadow: 0 0 12px rgba(200, 240, 75, 0.7);
  transition: width 90ms linear;
}

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

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

/* ---------- 19. 响应式 ---------- */
@media (max-width: 1100px) {
  .nav-link {
    padding: 8px;
    font-size: 13.5px;
  }
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    padding: 0 var(--gutter);
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    background: rgba(7, 28, 21, 0.985);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 48px -32px #000;
    transition: max-height 0.3s var(--ease), opacity 0.2s var(--ease),
                padding 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  .site-header[data-open] .site-nav {
    max-height: 80vh;
    padding: 12px var(--gutter) 22px;
    overflow-y: auto;
    visibility: visible;
    opacity: 1;
  }

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

  .nav-link {
    padding: 13px 10px;
    font-size: 16px;
    border-radius: var(--radius-sm);
  }

  .nav-link[aria-current="page"]::after {
    left: 10px;
    right: auto;
    width: 26px;
    bottom: 6px;
  }

  .nav-archive {
    align-self: flex-start;
    margin-top: 16px;
  }

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

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

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

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

@media (max-width: 720px) {
  body {
    font-size: 16.5px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .brand-name {
    font-size: 14px;
    white-space: normal;
  }

  .nav-toggle-label {
    display: none;
  }

  .nav-toggle {
    padding: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .data-table {
    font-size: 13.5px;
  }

  .data-table th,
  .data-table td {
    padding: 10px 11px;
  }
}

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

  .footer-archive {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 20. 减少动态 ---------- */
@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;
    scroll-behavior: auto !important;
  }

  .btn:hover,
  .card--lift:hover,
  .brand:hover .brand-mark,
  .nav-archive:hover {
    transform: none;
  }

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

  .scroll-progress {
    transition: none;
  }
}
