/* ============================================
   黑料直击 / site.css
   共享样式 · BATCH 04 · 全节点覆盖
   ============================================ */

/* ---------- 01. 变量 ---------- */
:root {
  --bg-deep: #0B0E12;
  --bg-rail: #1A1338;
  --bg-smoke: #2B3036;
  --paper: #F4EBD9;
  --rock: #8A9199;
  --acid: #B7F04B;
  --acid-bright: #E2FF70;
  --purple: #9B5CFF;
  --alert: #D7263D;
  --clay: #B0655A;

  --border-dim: rgba(244, 235, 217, 0.10);
  --border-mid: rgba(244, 235, 217, 0.18);
  --border-bright: rgba(183, 240, 75, 0.40);

  --font-display: Impact, "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Cascadia Code", Consolas, monospace;

  --header-h: 76px;
  --container-w: 1280px;
  --gap: clamp(20px, 4vw, 48px);
  --radius-sm: 2px;
  --radius-md: 4px;

  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-float: 0 16px 40px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast: 0.2s var(--ease);
  --t-mid: 0.35s var(--ease);
}

/* ---------- 02. reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.7;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(155, 92, 255, 0.10), transparent 70%),
    repeating-linear-gradient(
      to bottom,
      rgba(244, 235, 217, 0.012) 0,
      rgba(244, 235, 217, 0.012) 1px,
      transparent 1px,
      transparent 4px
    ),
    var(--bg-deep);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--acid); color: var(--bg-deep); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: var(--bg-smoke);
  border: 2px solid var(--bg-deep);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

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

/* ---------- 03. 排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--paper);
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(24px, 3.2vw, 40px); }
h3 { font-size: 20px; }

p { margin: 0 0 16px; }

a {
  color: var(--acid-bright);
  text-decoration-color: rgba(226, 255, 112, 0.35);
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}
a:hover { color: var(--acid); }

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

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

/* ---------- 04. skip link ---------- */
.skip-link {
  position: fixed;
  top: -48px;
  left: 16px;
  z-index: 200;
  background: var(--acid);
  color: var(--bg-deep);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  text-decoration: none;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- 05. header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(
    90deg,
    var(--bg-rail) 0%,
    rgba(20, 15, 42, 0.92) 280px,
    rgba(11, 14, 18, 0.92) 100%
  );
  border-bottom: 1px solid var(--border-mid);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--purple), var(--acid));
  z-index: 1;
}

.header-inner {
  width: min(100% - 32px, var(--container-w));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
}

/* brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  margin-right: 28px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-box {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--acid);
  color: var(--bg-deep);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 0 12px rgba(183, 240, 75, 0.3);
  border-radius: var(--radius-sm);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--paper);
  line-height: 1;
  white-space: nowrap;
}

/* ---------- 06. nav ---------- */
.site-nav { height: 100%; }

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

.nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  height: var(--header-h);
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--rock);
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover { color: var(--paper); }

.nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex: 0 0 5px;
  background: var(--bg-smoke);
  border: 1px solid rgba(244, 235, 217, 0.35);
  transition: background var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.nav-link:hover .nav-dot {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 0 6px rgba(155, 92, 255, 0.5);
}

.nav-link[aria-current="page"] {
  color: var(--paper);
  background: rgba(183, 240, 75, 0.03);
}
.nav-link[aria-current="page"] .nav-dot {
  background: var(--acid);
  border-color: var(--acid);
  box-shadow: 0 0 8px rgba(183, 240, 75, 0.45);
}
.nav-link[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--acid);
  box-shadow: 0 0 8px rgba(183, 240, 75, 0.4);
}

/* ---------- 07. header meta ---------- */
.header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  padding-left: 22px;
  border-left: 1px solid var(--border-dim);
  height: var(--header-h);
  flex-shrink: 0;
}
.batch-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1px solid var(--border-bright);
  background: rgba(183, 240, 75, 0.06);
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--radius-sm);
}
.batch-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(183, 240, 75, 0.45); }
  50% { opacity: 0.7; box-shadow: 0 0 8px 2px rgba(183, 240, 75, 0.2); }
}
.update-state {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--rock);
  white-space: nowrap;
}

/* ---------- 08. nav toggle ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: 12px;
  background: transparent;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--paper);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle:hover .nav-toggle-bar { background: var(--acid); }
.nav-toggle.is-active .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 09. scroll progress ---------- */
.scan-progress {
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--acid), var(--acid-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.08s linear;
  z-index: 2;
  pointer-events: none;
}

/* ---------- 10. footer ---------- */
.site-footer {
  position: relative;
  margin-top: 80px;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.28) 0%, transparent 50%),
    repeating-linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.10) 0,
      rgba(0, 0, 0, 0.10) 1px,
      transparent 1px,
      transparent 4px
    ),
    var(--alert);
  color: var(--paper);
  clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%);
  padding-top: 52px;
}
.site-footer a { color: var(--paper); }

.footer-inner {
  width: min(100% - 32px, var(--container-w));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 1fr;
  gap: 48px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.brand-box--light {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 0 12px rgba(183, 240, 75, 0.25);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--paper);
  line-height: 1;
}
.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(244, 235, 217, 0.75);
  margin: 0;
  letter-spacing: 0.04em;
}

.footer-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 235, 217, 0.9);
  margin: 0 0 14px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-link {
  font-size: 14px;
  color: rgba(244, 235, 217, 0.85);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(244, 235, 217, 0.35);
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}
.footer-link:hover {
  color: var(--acid-bright);
  text-decoration-color: var(--acid-bright);
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(244, 235, 217, 0.85);
}
.footer-contact-list li {
  padding-left: 14px;
  position: relative;
}
.footer-contact-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: rgba(183, 240, 75, 0.8);
}

.footer-bottom {
  margin-top: 44px;
  background: rgba(0, 0, 0, 0.30);
  border-top: 1px solid rgba(244, 235, 217, 0.15);
  padding: 16px 0;
}
.footer-bottom-inner {
  width: min(100% - 32px, var(--container-w));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(244, 235, 217, 0.75);
}
.footer-easter {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--bg-deep);
  background: var(--acid);
  padding: 4px 14px 4px 18px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  line-height: 1.4;
}

/* ---------- 11. buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
}
.btn-acid {
  background: var(--acid);
  color: var(--bg-deep);
}
.btn-acid:hover {
  background: var(--acid-bright);
  color: var(--bg-deep);
  box-shadow: 0 0 16px rgba(183, 240, 75, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--border-mid);
}
.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple);
  box-shadow: inset 0 0 0 1px var(--purple);
}
.btn-alert {
  background: var(--alert);
  color: var(--paper);
  box-shadow: 0 0 0 1px rgba(215, 38, 61, 0.3);
}
.btn-alert:hover {
  background: #e53d51;
  box-shadow: 0 0 16px rgba(215, 38, 61, 0.35);
}

/* ---------- 12. breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--rock);
}
.crumb { display: inline-flex; align-items: center; }
.crumb + .crumb::before {
  content: '▶';
  margin: 0 10px;
  font-size: 8px;
  color: var(--purple);
}
.crumb a {
  color: var(--rock);
  text-decoration: none;
}
.crumb a:hover { color: var(--paper); }
.crumb-current { color: var(--acid); }

/* ---------- 13. containers ---------- */
.page-wrap {
  display: block;
  width: 100%;
  min-height: 60vh;
  padding-top: var(--header-h);
}
.content-container {
  width: min(100% - 2 * var(--gap), var(--container-w));
  margin-inline: auto;
}
.content-narrow {
  width: min(100% - 2 * var(--gap), 760px);
  margin-inline: auto;
}
.content-wide { width: 100%; }
.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: var(--gap);
  align-items: start;
}

/* ---------- 14. grids ---------- */
.grid {
  display: grid;
  gap: var(--gap);
}
.grid-half { grid-template-columns: 1fr 1fr; }
.grid-tri { grid-template-columns: repeat(3, 1fr); }

/* ---------- 15. section headers ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 6px;
}
.section-label::before {
  content: '//';
  color: var(--acid);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.2;
  color: var(--paper);
  letter-spacing: 0.02em;
  margin: 8px 0 16px;
}
.section-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--rock);
  max-width: 60ch;
}

/* ---------- 16. data card ---------- */
.data-card {
  position: relative;
  background: var(--bg-smoke);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px;
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.data-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(155, 92, 255, 0.06), transparent 45%);
  opacity: 0;
  transition: opacity var(--t-fast);
  pointer-events: none;
}
.data-card:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-float);
}
.data-card:hover::after { opacity: 1; }
.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.3;
  color: var(--paper);
  margin: 0;
}
.card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--rock);
  text-transform: uppercase;
  white-space: nowrap;
}
.card-body {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.7;
  color: var(--rock);
}
.card-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-dim);
  position: relative;
  z-index: 1;
}

/* ---------- 17. tags ---------- */
.data-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border: 1px solid var(--border-mid);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rock);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.data-tag--acid {
  border-color: var(--border-bright);
  color: var(--acid);
  background: rgba(183, 240, 75, 0.05);
}
.data-tag--purple {
  border-color: rgba(155, 92, 255, 0.45);
  color: var(--purple);
}
.data-tag--alert {
  border-color: rgba(215, 38, 61, 0.5);
  color: var(--alert);
  background: rgba(215, 38, 61, 0.05);
}
.data-tag--clay {
  border-color: rgba(176, 101, 90, 0.5);
  color: var(--clay);
}

/* ---------- 18. timeline ---------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, var(--purple), var(--acid), transparent);
}
.timeline-item {
  position: relative;
  padding-left: 38px;
  margin-bottom: 28px;
}
.timeline-dot {
  position: absolute;
  left: 6px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--purple);
  border: 2px solid var(--bg-deep);
  box-shadow: 0 0 6px rgba(155, 92, 255, 0.5);
}
.timeline-date {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--acid);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.timeline-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--paper);
}

/* ---------- 19. terminal ---------- */
.terminal-window {
  background: var(--bg-deep);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  font-family: var(--font-mono);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--bg-smoke);
  border-bottom: 1px solid var(--border-dim);
}
.terminal-dots { display: flex; gap: 6px; margin-right: 10px; }
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot:nth-child(1) { background: var(--alert); }
.terminal-dot:nth-child(2) { background: var(--clay); }
.terminal-dot:nth-child(3) { background: var(--acid); }
.terminal-title {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--rock);
}
.terminal-content {
  padding: 20px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--rock);
}
.terminal-line { display: block; }
.terminal-line .prompt { color: var(--acid); margin-right: 8px; }
.terminal-line .cmd { color: var(--paper); }
.terminal-line .out { color: var(--rock); }

/* ---------- 20. callout ---------- */
.callout {
  padding: 20px 22px;
  border-left: 3px solid var(--purple);
  background: rgba(155, 92, 255, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--rock);
}
.callout--alert {
  border-left-color: var(--alert);
  background: rgba(215, 38, 61, 0.07);
  color: #c77a84;
}
.callout p { margin: 0 0 6px; }
.callout p:last-child { margin: 0; }

/* ---------- 21. data list ---------- */
.data-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.data-list li {
  position: relative;
  padding: 12px 16px 12px 26px;
  border-bottom: 1px dashed var(--border-dim);
  font-size: 14px;
  line-height: 1.6;
  color: var(--rock);
  transition: background var(--t-fast), color var(--t-fast);
}
.data-list li::before {
  content: '▸';
  position: absolute;
  left: 4px;
  color: var(--purple);
}
.data-list li:hover {
  background: rgba(155, 92, 255, 0.04);
  color: var(--paper);
}
.data-list li:last-child { border-bottom: none; }

/* ---------- 22. image frame ---------- */
.img-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(155, 92, 255, 0.08) 0%, transparent 55%),
    var(--bg-smoke);
  border: 1px solid var(--border-mid);
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.img-frame::before {
  content: 'IMG//ARCHIVE';
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--rock);
  background: rgba(11, 14, 18, 0.75);
  padding: 3px 8px;
  z-index: 1;
}
.img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(244, 235, 217, 0.04) 0,
    rgba(244, 235, 217, 0.04) 1px,
    transparent 1px,
    transparent 6px
  );
}
.img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 23. utilities ---------- */
.text-acid { color: var(--acid); }
.text-purple { color: var(--purple); }
.text-alert { color: var(--alert); }
.text-rock { color: var(--rock); }
.text-paper { color: var(--paper); }
.mono-sm {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.uid-index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--rock);
  letter-spacing: 0.1em;
}

/* ---------- 24. responsive ---------- */
@media (max-width: 1024px) {
  :root { --header-h: 60px; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    background: linear-gradient(180deg, var(--bg-rail) 0%, var(--bg-deep) 100%);
    border-bottom: 1px solid var(--border-dim);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease), border-color 0.35s var(--ease);
    box-shadow: 0 28px 36px rgba(0, 0, 0, 0.45);
  }
  .site-nav[data-open] {
    max-height: 440px;
    border-bottom-color: var(--border-bright);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 0;
    padding: 8px 0;
  }
  .nav-item { border-bottom: 1px solid var(--border-dim); }
  .nav-item:last-child { border-bottom: none; }
  .nav-link {
    height: 48px;
    padding: 0 var(--gap);
  }
  .nav-text { flex: 1; }
  .nav-link[aria-current="page"]::after { display: none; }
  .nav-link[aria-current="page"] {
    background: rgba(183, 240, 75, 0.05);
  }

  .header-meta {
    padding-left: 14px;
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .content-split,
  .grid-half,
  .grid-tri { grid-template-columns: 1fr; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-col-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .update-state { display: none; }
  .header-meta { border-left: none; padding-left: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-easter { margin-left: 0; }
}

/* ---------- 25. reduced motion ---------- */
@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;
  }
  .scan-progress { transition: none; }
}
