/* ==========================================================================
   博狗网中文站 · V3.1 · 共享站点样式 /assets/site.css
   深靛蓝基底 · 电光青索引 · 暖橙行动 · 霓虹紫局部 · 大圆角与斜向光带
   ========================================================================== */

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

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

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

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

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

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

input { font: inherit; color: inherit; }

[hidden] { display: none !important; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink-950: #070B1C;
  --ink-900: #0A1028;
  --ink-800: #101A3A;
  --ink-700: #16224A;
  --ink-600: #1D2C5C;

  --paper: #F3EFE6;
  --paper-dim: rgba(243, 239, 230, 0.74);
  --rock: #6B7280;
  --mist: #A9B6D6;

  --cyan: #22D3EE;
  --orange: #FF7A45;
  --violet: #8B5CF6;
  --moss: #5B7F5A;
  --clay: #C46A4A;

  --line: rgba(169, 182, 214, 0.16);
  --line-strong: rgba(169, 182, 214, 0.34);

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-sm: 14px;
  --pill: 999px;

  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1320px;
  --header-h: 72px;

  --font-display: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: -apple-system, "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, "Courier New", monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础排版与背景 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.75;
  color: var(--paper);
  background-color: var(--ink-800);
  background-image:
    radial-gradient(1100px 560px at 8% -12%, rgba(139, 92, 246, 0.20), transparent 62%),
    radial-gradient(900px 520px at 98% 4%, rgba(34, 211, 238, 0.14), transparent 60%),
    linear-gradient(180deg, var(--ink-800) 0%, var(--ink-900) 68%, var(--ink-950) 100%);
  -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 500; }
h2 { font-size: clamp(28px, 3.2vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
h4 { font-size: clamp(17px, 1.4vw, 20px); }

p { max-width: 68ch; }

.display-xl {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 128px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--cyan);
}

.text-mist { color: var(--mist); }
.mono { font-family: var(--font-mono); }

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

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

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

.section { padding-block: clamp(44px, 6.5vw, 92px); }

.hairline {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.split--wide {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.split--index {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.split-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
}

.split-main { min-width: 0; }

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 260;
  padding: 10px 20px;
  border-radius: var(--pill);
  background: var(--paper);
  color: var(--ink-900);
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform 0.22s var(--ease);
}

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

/* ---------- 6. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(10, 16, 40, 0.98), rgba(10, 16, 40, 0.88));
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 36px);
  width: 100%;
  max-width: var(--maxw);
  min-height: var(--header-h);
  margin-inline: auto;
  padding: 10px var(--gutter);
}

/* 品牌区 */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper);
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--mist);
}

.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--pill);
  border: 1px solid rgba(34, 211, 238, 0.42);
  background: rgba(34, 211, 238, 0.10);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.version-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 9px var(--cyan);
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.nav-link {
  position: relative;
  display: block;
  padding: 9px 14px;
  border-radius: var(--pill);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: rgba(243, 239, 230, 0.70);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease);
}

.nav-link:hover {
  color: var(--paper);
  background: rgba(169, 182, 214, 0.12);
}

.nav-link[aria-current="page"] {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.10);
}

.nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* 检索入口 */
.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  padding: 8px 16px 8px 13px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.search-trigger:hover,
.search-trigger:focus-visible {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.55);
  background: rgba(34, 211, 238, 0.08);
}

.search-icon {
  position: relative;
  flex: none;
  width: 13px;
  height: 13px;
  border: 1.6px solid currentColor;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 6px;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

/* 阅读进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
}

.scroll-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 62%, var(--orange));
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.55);
  transition: width 0.12s linear;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(169, 182, 214, 0.08);
}

.nav-toggle-bar {
  display: block;
  height: 1.6px;
  border-radius: 2px;
  background: var(--paper);
  transition: transform 0.26s var(--ease), opacity 0.2s var(--ease);
}

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

/* ---------- 7. 全屏检索层 ---------- */
.search-layer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 7vh, 88px) var(--gutter);
  background: rgba(7, 11, 28, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  overflow-y: auto;
}

.search-panel {
  display: flex;
  flex-direction: column;
  width: min(780px, 100%);
  max-height: 82vh;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: linear-gradient(160deg, rgba(22, 34, 74, 0.97), rgba(10, 16, 40, 0.99));
  box-shadow: 0 40px 90px rgba(3, 6, 18, 0.72);
}

.search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(18px, 3vw, 30px) 12px;
}

.search-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
}

.search-close {
  padding: 6px 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.search-close:hover {
  color: var(--paper);
  border-color: rgba(255, 122, 69, 0.6);
}

.search-field { padding: 0 clamp(18px, 3vw, 30px) 14px; }

.search-hint {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--rock);
}

.search-input {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  background: rgba(7, 11, 28, 0.72);
  color: var(--paper);
  font-size: 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.search-input::placeholder { color: var(--rock); }

.search-input:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.7);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16);
}

.search-results {
  overflow-y: auto;
  padding: 0 clamp(12px, 2vw, 20px) 10px;
}

.search-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.search-item:last-of-type { border-bottom: 0; }

.search-item:hover,
.search-item:focus-visible {
  background: rgba(34, 211, 238, 0.10);
}

.search-item-label {
  font-size: 15px;
  color: var(--paper);
}

.search-item-path {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--rock);
}

.search-item:hover .search-item-path { color: var(--cyan); }

.search-empty {
  padding: 6px clamp(18px, 3vw, 30px) 26px;
  font-size: 14px;
  color: var(--mist);
}

body.is-locked { overflow: hidden; }

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--orange), #FF9A5E 60%, var(--orange));
  color: var(--ink-950);
  box-shadow: 0 12px 28px rgba(255, 122, 69, 0.26);
}

.btn--primary:hover { box-shadow: 0 16px 34px rgba(255, 122, 69, 0.36); }

.btn--ghost {
  border-color: rgba(34, 211, 238, 0.48);
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.06);
}

.btn--ghost:hover {
  border-color: rgba(34, 211, 238, 0.85);
  background: rgba(34, 211, 238, 0.14);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 13px;
}

/* ---------- 9. 面包屑 ---------- */
.breadcrumb { padding-block: 18px 0; }

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

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--rock);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: rgba(169, 182, 214, 0.4);
}

.breadcrumb-link { color: var(--mist); transition: color 0.2s var(--ease); }
.breadcrumb-link:hover { color: var(--cyan); }

.breadcrumb-item[aria-current="page"] .breadcrumb-link,
.breadcrumb-link[aria-current="page"] { color: var(--paper); }

/* ---------- 10. 卡片 / 标签 / 指标 ---------- */
.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(169, 182, 214, 0.20);
  background: linear-gradient(158deg, rgba(22, 34, 74, 0.82), rgba(10, 16, 40, 0.74));
  transition: transform 0.26s var(--ease), border-color 0.26s var(--ease), box-shadow 0.26s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.42);
  box-shadow: 0 22px 44px rgba(4, 7, 20, 0.5);
}

.card--paper {
  background: linear-gradient(160deg, var(--paper), #E7E1D4);
  border-color: rgba(107, 114, 128, 0.3);
  color: var(--ink-900);
}

.card--stack { box-shadow: 0 26px 60px rgba(4, 7, 20, 0.55); }
.card--stack:hover { transform: translateY(-6px); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  background: rgba(169, 182, 214, 0.08);
  color: var(--mist);
}

.tag--cyan { color: var(--cyan); background: rgba(34, 211, 238, 0.10); border-color: rgba(34, 211, 238, 0.45); }
.tag--moss { color: #A8C9A6; background: rgba(91, 127, 90, 0.24); border-color: rgba(91, 127, 90, 0.7); }
.tag--clay { color: #E7A88F; background: rgba(196, 106, 74, 0.20); border-color: rgba(196, 106, 74, 0.65); }
.tag--violet { color: #C9B6FF; background: rgba(139, 92, 246, 0.18); border-color: rgba(139, 92, 246, 0.6); }

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--paper);
}

.metric-value em {
  font-style: normal;
  font-size: 0.44em;
  letter-spacing: 0.1em;
  color: var(--mist);
  margin-left: 4px;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rock);
}

/* ---------- 11. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(169, 182, 214, 0.22);
  background-color: var(--ink-700);
  background-image:
    linear-gradient(115deg, rgba(34, 211, 238, 0.18), transparent 46%, rgba(139, 92, 246, 0.22) 78%, rgba(255, 122, 69, 0.14)),
    repeating-linear-gradient(90deg, rgba(169, 182, 214, 0.10) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, rgba(169, 182, 214, 0.08) 0 1px, transparent 1px 42px);
}

.media-frame > img,
.media-frame > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }

.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--rock);
}

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

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

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  background: var(--ink-950);
  color: var(--paper-dim);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.75), rgba(139, 92, 246, 0.55), transparent);
}

.footer-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 0.9fr 1.3fr;
  gap: clamp(24px, 3.4vw, 56px);
  padding-bottom: clamp(30px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--paper);
}

.footer-version {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--cyan);
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
  max-width: 34ch;
}

.footer-updated {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: var(--pill);
  border: 1px solid rgba(91, 127, 90, 0.7);
  background: rgba(91, 127, 90, 0.20);
  color: #A8C9A6;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
}

.footer-updated::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8FB98C;
}

.footer-cta { margin-top: 4px; }

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

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rock);
}

.footer-col-title::before {
  content: "";
  width: 12px;
  height: 1px;
  background: var(--cyan);
}

.footer-list {
  display: grid;
  gap: 10px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--paper-dim);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-link::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(169, 182, 214, 0.4);
  transition: background 0.2s var(--ease);
}

.footer-link:hover { color: var(--cyan); transform: translateX(3px); }
.footer-link:hover::before { background: var(--cyan); }

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

.footer-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rock);
}

.footer-value {
  font-size: 14px;
  line-height: 1.65;
  color: var(--paper-dim);
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 20px 0 28px;
}

.footer-legal,
.footer-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--rock);
}

/* 固定反馈入口 */
.feedback-dock {
  position: fixed;
  right: clamp(12px, 2vw, 28px);
  bottom: clamp(12px, 2vw, 26px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--pill);
  border: 1px solid rgba(34, 211, 238, 0.5);
  background: rgba(10, 16, 40, 0.92);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.42);
  animation: dockGlow 3.4s ease-in-out infinite;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.feedback-dock::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}

.feedback-dock:hover {
  color: var(--paper);
  border-color: rgba(255, 122, 69, 0.75);
  transform: translateY(-2px);
}

@keyframes dockGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.36); }
  50% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1080px) {
  .version-badge { display: none; }
  .nav-link { padding: 8px 11px; font-size: 12.5px; }
  .nav-link::after { left: 11px; right: 11px; }
  .search-trigger { padding: 8px 13px 8px 11px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .site-header[data-sticky-hidden="true"] { transform: translateY(-104%); }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px var(--gutter) 22px;
    background: rgba(10, 16, 40, 0.99);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 44px rgba(4, 7, 20, 0.6);
  }

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

  .nav-list {
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(34, 211, 238, 0.4) transparent;
  }

  .nav-list::-webkit-scrollbar { height: 4px; }
  .nav-list::-webkit-scrollbar-thumb { background: rgba(34, 211, 238, 0.4); border-radius: 2px; }

  .nav-link {
    padding: 9px 15px;
    font-size: 13px;
    border: 1px solid var(--line-strong);
    background: rgba(169, 182, 214, 0.06);
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] {
    border-color: rgba(34, 211, 238, 0.6);
    background: rgba(34, 211, 238, 0.14);
  }

  .search-trigger {
    justify-content: center;
    margin-left: 0;
    padding: 10px 18px;
  }

  .split,
  .split--wide,
  .split--index {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(20px, 4vw, 36px);
  }

  .split-aside {
    position: static;
    top: auto;
  }

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

  .footer-brand { grid-column: 1 / -1; }

  .feedback-dock {
    padding: 9px 15px;
    font-size: 12px;
  }
}

@media (max-width: 560px) {
  body { font-size: 15px; line-height: 1.72; }

  .brand-sub { display: none; }

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

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

  .search-layer { padding: 12px; }

  .search-panel { max-height: 88vh; border-radius: var(--radius-lg); }
}

/* ---------- 15. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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

  .feedback-dock { animation: none; box-shadow: none; }

  .card:hover,
  .search-trigger:hover,
  .btn:hover { transform: none; }
}
