/* ==========================================================================
   电玩走兽飞禽 — 共享样式表 /assets/site.css
   深墨底 · 暖金锚点 · 青蓝状态 · 锐利直角与精密网格
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --ink: #0A0C11;
  --panel: #151922;
  --panel-2: #1C2230;

  --gold: #E8B15A;
  --gold-lt: #F8DCA4;
  --cyan: #52C7DB;
  --cyan-dk: #2C6E80;
  --violet: #6E52A8;
  --neon: #86E39B;
  --amber: #D9793C;
  --bone: #EDE9E0;

  --muted: rgba(237, 233, 224, .62);
  --line: rgba(232, 177, 90, .18);
  --line-soft: rgba(237, 233, 224, .09);
  --line-cyan: rgba(82, 199, 219, .28);

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

  --shell: 1440px;
  --shell-wide: 1700px;
  --gutter: clamp(18px, 4vw, 48px);
  --header-h: 78px;
  --header-h-compact: 62px;
}

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

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

body {
  margin: 0;
  min-height: 100%;
  color: var(--bone);
  background-color: var(--ink);
  background-image:
    radial-gradient(1180px 620px at 84% -10%, rgba(110, 82, 168, .22), transparent 62%),
    radial-gradient(920px 540px at 4% 14%, rgba(44, 110, 128, .20), transparent 60%);
  background-repeat: no-repeat;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .01em;
  overflow-x: hidden;
}

/* 精密网格层 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(232, 177, 90, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232, 177, 90, .055) 1px, transparent 1px);
  background-size: 96px 96px;
}

body > * { position: relative; z-index: 1; }

h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, pre { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--cyan); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-lt); }

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

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

strong, b { color: var(--gold-lt); font-weight: 700; }

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

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

body.is-nav-locked { overflow: hidden; }

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

#main-content { display: block; }

/* ---------- 3. 中文排版与工具 ---------- */
.mono, .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}

.num { font-weight: 600; color: var(--gold-lt); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: -90px;
  z-index: 300;
  padding: 11px 20px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--gold-lt);
  transition: top .22s ease;
}
.skip-link:focus { top: 14px; color: var(--ink); }

.container {
  width: min(var(--shell), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.container--wide {
  width: min(var(--shell-wide), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* ---------- 4. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: linear-gradient(180deg, #0B0E16 0%, #0A0C11 100%);
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled { box-shadow: 0 18px 40px -30px rgba(0, 0, 0, .95); }

.header-inner {
  width: min(var(--shell-wide), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  transition: min-height .28s ease;
}

.site-header.is-scrolled .header-inner { min-height: var(--header-h-compact); }

/* 品牌 · 兽瞳图腾 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: var(--bone);
  text-decoration: none;
  transition: transform .28s ease;
}
.brand:hover { color: var(--bone); }
.site-header.is-scrolled .brand { transform: scale(.94); transform-origin: left center; }

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid rgba(232, 177, 90, .58);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, rgba(232, 177, 90, .22), transparent 64%);
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(82, 199, 219, .34);
  border-radius: 50%;
}
.brand-mark__pupil {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--gold-lt), var(--amber));
  box-shadow: 0 0 10px rgba(232, 177, 90, .8);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.16; }
.brand-text__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: .1em;
}
.brand-text__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .26em;
  color: var(--cyan);
  text-transform: uppercase;
  transition: opacity .24s ease;
}
.site-header.is-scrolled .brand-text__sub { opacity: .55; }

/* 移动抽屉按钮 */
.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--line-cyan);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  transition: border-color .2s ease, background .2s ease;
}
.nav-toggle:hover { border-color: var(--gold); background: rgba(232, 177, 90, .08); }
.nav-toggle__bars { display: flex; flex-direction: column; gap: 4px; width: 18px; }
.nav-toggle__bars i {
  display: block;
  height: 1px;
  background: var(--gold);
  transition: transform .26s ease, opacity .26s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.nav-toggle__label { line-height: 1; }

/* 主导航 */
.site-nav { margin-left: auto; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav__list a {
  position: relative;
  display: block;
  padding: 10px 15px;
  font-size: 14.5px;
  letter-spacing: .06em;
  color: rgba(237, 233, 224, .74);
  border: 1px solid transparent;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 5px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s ease;
}
.site-nav__list a:hover {
  color: var(--gold-lt);
  background: rgba(232, 177, 90, .07);
  border-color: rgba(232, 177, 90, .3);
}
.site-nav__list a:hover::after { transform: scaleX(1); }

.site-nav__list a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(232, 177, 90, .25), 0 12px 30px -20px rgba(232, 177, 90, .95);
}
.site-nav__list a[aria-current="page"]::after { transform: scaleX(0); }

.nav-drawer-foot { display: none; }

/* 周三更新指示 */
.update-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  margin-left: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(110, 82, 168, .58);
  background: linear-gradient(135deg, rgba(110, 82, 168, .26), rgba(110, 82, 168, .06));
  color: var(--bone);
  font-size: 12.5px;
  letter-spacing: .08em;
  white-space: nowrap;
  transition: padding .28s ease, background .28s ease, border-color .28s ease;
}
.update-chip__dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 9px var(--neon);
  animation: chipPulse 2.6s ease-in-out infinite;
}
.update-chip__text { line-height: 1; }
.update-chip__count { font-family: var(--font-mono); font-weight: 600; color: var(--gold); line-height: 1; }
.update-chip__count::before { content: "+"; color: var(--cyan); margin-right: 2px; }

.update-chip.is-mini { padding: 9px; gap: 0; border-color: rgba(134, 227, 155, .5); }
.update-chip.is-mini .update-chip__text,
.update-chip.is-mini .update-chip__count { display: none; }
.update-chip.is-mini:hover,
.update-chip.is-mini:focus-visible { padding: 8px 14px; gap: 9px; border-color: var(--violet); }
.update-chip.is-mini:hover .update-chip__text,
.update-chip.is-mini:hover .update-chip__count,
.update-chip.is-mini:focus-visible .update-chip__text,
.update-chip.is-mini:focus-visible .update-chip__count { display: inline; }

@keyframes chipPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(82, 199, 219, .12);
  overflow: hidden;
}
.scroll-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-dk), var(--cyan) 55%, var(--gold) 100%);
  transition: width .12s linear;
}

/* 遮罩 */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(6, 8, 12, .74);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }

/* ---------- 5. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 118px);
  background: linear-gradient(180deg, #0C1017 0%, #090B10 100%);
  border-top: 1px solid var(--line);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--violet) 42%, var(--cyan-dk) 76%, transparent);
}

.footer-inner {
  width: min(var(--shell-wide), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding: clamp(40px, 5vw, 74px) 0 clamp(28px, 3.4vw, 44px);
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) minmax(160px, .8fr) minmax(290px, 1.4fr);
  gap: clamp(28px, 4vw, 68px);
}

.brand--footer .brand-text__name { font-size: 17px; letter-spacing: .12em; }

.footer-brand__line {
  margin: 20px 0 14px;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}
.footer-brand__meta {
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--cyan);
}

.footer-col__title {
  margin: 0 0 18px;
  padding-left: 10px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .24em;
  color: var(--cyan);
}

.footer-nav__list a {
  display: block;
  padding: 8px 0;
  font-size: 15px;
  color: rgba(237, 233, 224, .78);
  border-bottom: 1px solid rgba(237, 233, 224, .07);
  transition: color .2s ease, padding-left .22s ease, border-color .22s ease;
}
.footer-nav__list a:hover {
  color: var(--gold-lt);
  padding-left: 9px;
  border-bottom-color: rgba(232, 177, 90, .4);
}

.footer-contact__list {
  display: grid;
  gap: 13px;
  margin-bottom: 22px;
}
.footer-contact__list dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--muted);
}
.footer-contact__list dd {
  margin: 3px 0 0;
  font-size: 14.5px;
  color: var(--bone);
  word-break: break-word;
}

.footer-legal__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 18px;
  margin-bottom: 16px;
  border-top: 1px solid var(--line);
}
.footer-legal__list a {
  font-size: 13.5px;
  color: var(--cyan);
  border-bottom: 1px solid rgba(82, 199, 219, .35);
  padding-bottom: 1px;
}
.footer-legal__list a:hover { color: var(--gold-lt); border-bottom-color: var(--gold); }

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  width: min(var(--shell-wide), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(237, 233, 224, .08);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}
.footer-bottom__brand { color: var(--gold); font-weight: 600; letter-spacing: .2em; }
.footer-bottom__note { color: var(--muted); }
.footer-bottom__year { margin-left: auto; color: var(--cyan); }

/* ---------- 6. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.btn:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(248, 220, 164, .55), 0 14px 30px -16px rgba(232, 177, 90, .95);
}
.btn--ghost {
  background: transparent;
  color: var(--gold-lt);
  border-color: rgba(232, 177, 90, .5);
}
.btn--ghost:hover { background: rgba(232, 177, 90, .1); color: var(--gold-lt); }
.btn--cyan {
  background: transparent;
  border-color: rgba(82, 199, 219, .55);
  color: var(--cyan);
}
.btn--cyan:hover {
  background: rgba(82, 199, 219, .12);
  color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(82, 199, 219, .5);
}
.btn--sm { padding: 9px 17px; font-size: 13px; }

/* ---------- 7. 面包屑与章节骨架 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
}
.breadcrumb a { color: var(--cyan); }
.breadcrumb__sep { color: var(--cyan-dk); }
.breadcrumb [aria-current="page"] { color: var(--gold-lt); }

.hero {
  position: relative;
  padding: clamp(52px, 8vw, 128px) 0 clamp(36px, 6vw, 88px);
  overflow: hidden;
}
.hero__title {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(42px, 8.4vw, 104px);
  line-height: .99;
  letter-spacing: -.02em;
}
.hero__title em { font-style: normal; color: var(--gold); }
.hero__lede {
  max-width: 56ch;
  margin-top: 24px;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.section { position: relative; padding: clamp(44px, 6.5vw, 108px) 0; }

.section__head {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px 26px;
  align-items: start;
  margin-bottom: clamp(24px, 3vw, 44px);
}
.section-no {
  padding-top: 10px;
  border-top: 1px solid var(--gold);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gold);
}
.section__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: -.012em;
}
.section__lede {
  max-width: 62ch;
  margin-top: 16px;
  font-size: 15.5px;
  color: var(--muted);
}

.band {
  position: relative;
  padding: clamp(26px, 4vw, 54px) 0;
  background: linear-gradient(100deg, rgba(110, 82, 168, .24), rgba(44, 110, 128, .16) 58%, rgba(10, 12, 17, 0) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-dk) 30%, var(--gold) 68%, transparent);
}
.band--skew { clip-path: polygon(0 3.2%, 100% 0, 100% 100%, 0 100%); }

/* ---------- 8. 网格与卡片 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--aside { grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); align-items: start; }

.card {
  position: relative;
  padding: clamp(18px, 2vw, 28px);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  transition: border-color .26s ease, transform .26s ease, background .26s ease;
}
.card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 22px;
  height: 22px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  opacity: .75;
}
.card:hover {
  border-color: rgba(232, 177, 90, .42);
  background: var(--panel-2);
  transform: translateY(-3px);
}
.card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--cyan);
}
.card__title {
  margin: 11px 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.32;
}
.card__text { font-size: 14.5px; color: var(--muted); }
.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(237, 233, 224, .08);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--gold);
}

.stat { display: flex; flex-direction: column; gap: 3px; }
.stat__value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: .02em;
  color: var(--gold-lt);
}
.stat__unit {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .16em;
  color: var(--cyan);
}
.stat__label { font-size: 13px; color: var(--muted); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(82, 199, 219, .4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--cyan);
}
.tag--gold { border-color: rgba(232, 177, 90, .48); color: var(--gold); }
.tag--violet { border-color: rgba(110, 82, 168, .62); color: #B4A0E0; }
.tag--hot { border-color: rgba(217, 121, 60, .62); color: var(--amber); }

.note {
  padding: 15px 18px;
  border-left: 2px solid var(--gold);
  background: rgba(232, 177, 90, .06);
  font-size: 13px;
  line-height: 1.85;
  color: rgba(237, 233, 224, .82);
}
.note__label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--gold);
}

/* ---------- 9. 筛选 / 表格 / 折叠 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(18px, 2.4vw, 28px);
}
.filter-btn {
  padding: 8px 17px;
  border: 1px solid rgba(237, 233, 224, .16);
  background: transparent;
  color: rgba(237, 233, 224, .72);
  font-size: 13px;
  letter-spacing: .06em;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-lt); background: rgba(232, 177, 90, .08); }
.filter-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 700;
}
.filter-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--cyan);
}
[data-filter-item].is-filtered-out { display: none; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table caption {
  padding-bottom: 12px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--cyan);
}
.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(237, 233, 224, .08);
  vertical-align: top;
}
.data-table thead th {
  background: rgba(232, 177, 90, .06);
  border-bottom: 1px solid rgba(232, 177, 90, .32);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gold);
}
.data-table tbody tr:hover { background: rgba(82, 199, 219, .05); }
.data-table .num { color: var(--gold-lt); }
.data-table--scroll { display: block; overflow-x: auto; }

details.fold {
  background: var(--panel);
  border: 1px solid var(--line-soft);
}
details.fold > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--bone);
  cursor: pointer;
  list-style: none;
}
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::before {
  content: "+";
  width: 14px;
  flex: none;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--gold);
}
details.fold[open] > summary { border-bottom: 1px solid var(--line-soft); }
details.fold[open] > summary::before { content: "\2212"; color: var(--cyan); }
.fold__body {
  padding: 18px 20px 22px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- 10. 图片容器（供页面阶段放置图片） ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(110, 82, 168, .22), rgba(44, 110, 128, .2));
  border: 1px solid var(--line-soft);
}
.media > img,
.media > picture,
.media > picture > img,
.media > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }
.media--portrait { aspect-ratio: 2 / 3; }
.media__badge {
  position: absolute;
  left: 0;
  top: 0;
  padding: 6px 13px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
}
.media__caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.media-stack { display: grid; gap: 18px; }

/* ---------- 11. 动效 ---------- */
html.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .62s ease, transform .62s ease;
}
html.js-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-section-link] { transition: color .2s ease, border-color .2s ease; }
[data-section-link].is-active { color: var(--gold-lt); border-color: var(--gold); }

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1180px) {
  .site-nav__list a { padding: 10px 11px; font-size: 13.5px; }
}

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

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 115;
    display: flex;
    flex-direction: column;
    width: min(86vw, 344px);
    margin-left: 0;
    padding: 100px 24px 32px;
    background: linear-gradient(160deg, var(--panel) 0%, #0F121A 100%);
    border-right: 1px solid var(--line);
    box-shadow: 30px 0 70px rgba(0, 0, 0, .6);
    overflow-y: auto;
    transform: translateX(-104%);
    transition: transform .34s cubic-bezier(.22, .61, .36, 1);
  }
  .site-nav[data-open] { transform: translateX(0); }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav__list a {
    padding: 15px 16px;
    font-size: 16px;
    border: 0;
    border-left: 2px solid transparent;
    border-bottom: 1px solid rgba(237, 233, 224, .07);
    background: transparent;
    color: rgba(237, 233, 224, .8);
  }
  .site-nav__list a::after { display: none; }
  .site-nav__list a:hover { background: rgba(232, 177, 90, .08); border-left-color: rgba(232, 177, 90, .5); color: var(--gold-lt); }
  .site-nav__list a[aria-current="page"] {
    background: rgba(232, 177, 90, .13);
    border-left-color: var(--gold);
    color: var(--gold-lt);
    font-weight: 700;
    box-shadow: none;
  }

  .nav-drawer-foot {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--muted);
  }
  .nav-drawer-foot__dot {
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: var(--neon);
    box-shadow: 0 0 8px var(--neon);
  }
  .nav-drawer-foot__ver { margin-left: auto; color: var(--cyan); }

  .update-chip.is-mini { padding: 8px 14px; gap: 9px; border-color: rgba(110, 82, 168, .58); }
  .update-chip.is-mini .update-chip__text { display: inline; }
  .update-chip.is-mini .update-chip__count { display: none; }
}

@media (max-width: 1023px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--aside { grid-template-columns: minmax(0, 1fr); }

  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .header-inner { min-height: 66px; }
  .brand-text__sub { display: none; }
  .update-chip { padding: 8px 11px; }
  .update-chip__count { display: none; }

  .section__head { grid-template-columns: 1fr; gap: 10px; }
  .section-no { padding-top: 0; border-top: 0; border-left: 2px solid var(--gold); padding-left: 10px; }

  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-contact { grid-column: auto; }
  .footer-bottom__year { margin-left: 0; }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .filter-status { margin-left: 0; width: 100%; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- 13. 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }
  html.js-enabled [data-reveal] { opacity: 1; transform: none; }
  .scroll-progress__bar { transition: none; }
}
