/* ============================================================
   星游主场 STAR — /assets/site.css
   共享外壳样式：reset / tokens / header / footer / 通用组件
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --ink-deep: #070B18;
  --indigo: #101A33;
  --rail-cyan: #35D6E0;
  --cyan-bright: #7FE7EE;
  --star-gold: #E8B44A;
  --gold-soft: #F6D992;
  --paper: #F3EDE2;
  --paper-dim: #D9D0BF;
  --ink-text: #14181F;
  --nebula: #6B7791;
  --alert: #D9563F;

  --line-soft: rgba(53, 214, 224, 0.18);
  --line-mid: rgba(53, 214, 224, 0.38);
  --line-strong: rgba(127, 231, 238, 0.72);
  --gold-line: rgba(232, 180, 74, 0.5);

  --font-display: "FZQingKeBenYueSong", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Space Grotesk", "Inter Tight", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "Space Grotesk", "Inter Tight", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --head-desktop: 90px;
  --head-mobile: 64px;
  --cut: 18px;
  --stack-gap: 24px;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--paper);
  background-color: var(--ink-deep);
  background-image:
    radial-gradient(1200px 720px at 78% -12%, rgba(53, 214, 224, 0.10), transparent 70%),
    radial-gradient(900px 620px at 6% 14%, rgba(232, 180, 74, 0.055), transparent 72%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

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

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

main { display: block; }

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

/* ---------- 3. 中文排版与字阶 ---------- */
h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: var(--paper);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); }

.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.85;
  color: var(--paper-dim);
  max-width: 46ch;
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rail-cyan);
}

.meta,
time,
.num,
.tick-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.meta {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nebula);
}

.link-inline {
  color: var(--rail-cyan);
  border-bottom: 1px solid rgba(53, 214, 224, 0.35);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.link-inline:hover {
  color: var(--cyan-bright);
  border-color: var(--cyan-bright);
}

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

.section { padding-block: clamp(48px, 7vw, 96px); }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, rgba(53, 214, 224, 0.55), rgba(53, 214, 224, 0));
}

.stack > * + * { margin-top: var(--stack-gap); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}
.col-main { grid-column: 1 / span 7; }
.col-side { grid-column: 9 / span 4; }

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nebula);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: rgba(53, 214, 224, 0.45);
}
.breadcrumb a { transition: color 0.3s var(--ease); }
.breadcrumb a:hover { color: var(--cyan-bright); }

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 50%;
  z-index: 200;
  padding: 10px 20px;
  transform: translate(-50%, -180%);
  background: var(--star-gold);
  color: #14100a;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 11, 24, 0.95);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease);
}
.site-header[data-scrolled="true"] {
  background: rgba(7, 11, 24, 0.99);
  border-bottom-color: var(--line-mid);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
  min-height: var(--head-desktop);
  padding-block: 10px;
  transition: min-height 0.45s var(--ease);
}
.site-header[data-scrolled="true"] .header-inner { min-height: 62px; }

.header-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--rail-cyan), var(--star-gold));
  pointer-events: none;
}

/* 品牌簇 */
.brand-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: inline-flex;
  color: var(--rail-cyan);
  transition: color 0.45s var(--ease);
}
.brand-lockup:hover .brand-mark { color: var(--cyan-bright); }
.brand-words { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  letter-spacing: 0.05em;
  color: var(--paper);
  white-space: nowrap;
}
.brand-sub {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nebula);
  white-space: nowrap;
}

.version-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border: 1px solid var(--gold-line);
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.version-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--star-gold);
  box-shadow: 0 0 8px rgba(232, 180, 74, 0.75);
  transition: box-shadow 0.5s var(--ease);
}
.version-chip:hover {
  color: var(--paper);
  border-color: var(--star-gold);
}
.version-chip:hover::before { box-shadow: 0 0 16px rgba(246, 217, 146, 1); }

/* 刻度带 */
.header-scale {
  flex: 1 1 auto;
  min-width: 60px;
  height: 15px;
  align-self: center;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(53, 214, 224, 0.42) 0 1px,
    transparent 1px 14px
  );
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  opacity: 0.75;
  transition: opacity 0.45s var(--ease);
}
.site-header[data-scrolled="true"] .header-scale { opacity: 0.25; }

/* 导航簇 */
.nav-cluster {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 24px);
  flex: 0 0 auto;
}

.site-nav { display: flex; }
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
}
.nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  white-space: nowrap;
  transition: color 0.35s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--star-gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.45s var(--ease), background 0.35s var(--ease);
}
.nav-link:hover { color: var(--cyan-bright); }
.nav-link:hover::after { transform: scaleX(1); background: var(--cyan-bright); }
.nav-link[aria-current="page"] { color: var(--gold-soft); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); background: var(--star-gold); }

/* 语言开关 */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-mid);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.lang-btn {
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nebula);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.lang-btn:hover { color: var(--cyan-bright); }
.lang-btn[aria-pressed="true"] {
  background: rgba(53, 214, 224, 0.16);
  color: var(--cyan-bright);
}

/* 联系快捷入口 */
.header-shortcut {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border: 1px solid var(--gold-line);
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  white-space: nowrap;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.header-shortcut:hover { background: var(--star-gold); color: #14100a; }

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line-mid);
  color: var(--cyan-bright);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-toggle-bar {
  position: relative;
  width: 16px;
  height: 9px;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: top 0.35s var(--ease), transform 0.35s var(--ease);
}
.nav-toggle-bar::before { top: 0; }
.nav-toggle-bar::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 4px; transform: rotate(-45deg); }

/* 移动端导航面板 */
@media (max-width: 1023px) {
  .header-inner { min-height: var(--head-mobile); }
  .site-header[data-scrolled="true"] .header-inner { min-height: var(--head-mobile); }
  .header-scale { display: none; }
  .brand-sub { display: none; }
  .header-shortcut { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: var(--head-mobile);
    left: 0;
    right: 0;
    display: block;
    max-height: calc(100vh - var(--head-mobile));
    overflow-y: auto;
    padding: 10px var(--gutter) 26px;
    background: var(--indigo);
    border-bottom: 1px solid var(--line-mid);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s var(--ease);
  }
  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-link {
    display: block;
    padding: 15px 0;
    font-size: 1rem;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--line-soft);
    color: var(--paper);
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--gold-soft); }

  html.star-nav-open { overflow: hidden; }
}

@media (max-width: 639px) {
  .version-chip { display: none; }
  .lang-btn { padding: 5px 8px; }
}

/* ---------- 7. Footer ---------- */
.site-footer {
  margin-top: clamp(56px, 8vw, 120px);
  background: var(--ink-deep);
  background-image: linear-gradient(180deg, rgba(16, 26, 51, 0.55), rgba(7, 11, 24, 0));
  border-top: 1px solid var(--line-soft);
  color: var(--paper-dim);
}

.footer-rail {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px var(--gutter);
  text-align: left;
  color: var(--nebula);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.rail-label { flex: 0 0 auto; transition: color 0.35s var(--ease); }
.rail-line {
  position: relative;
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(53, 214, 224, 0.12), rgba(53, 214, 224, 0.65));
}
.rail-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rail-cyan);
  opacity: 0.75;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.footer-rail:hover .rail-label { color: var(--cyan-bright); }
.footer-rail:hover .rail-line::after {
  background: var(--gold-soft);
  box-shadow: 0 0 14px rgba(232, 180, 74, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.7fr 1fr 1fr;
  gap: clamp(26px, 3vw, 52px);
  padding-block: clamp(40px, 5vw, 68px);
}

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

.footer-brand {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--paper);
}

.footer-heading {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rail-cyan);
}

.footer-note {
  margin: 0 0 14px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--nebula);
  max-width: 40ch;
}
.footer-note--small { font-size: 0.8125rem; margin-bottom: 0; }

.footer-version { margin: 0; }

.footer-list {
  display: grid;
  gap: 10px;
  font-size: 0.875rem;
}
.footer-list--links { gap: 8px; }

.footer-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nebula);
}

.footer-value {
  display: block;
  color: var(--paper);
  font-size: 0.9375rem;
  line-height: 1.7;
  word-break: break-word;
}
.footer-value--mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
}

.footer-contact-row,
.footer-meta-row {
  display: grid;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.copy-btn {
  justify-self: start;
  margin-top: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line-mid);
  color: var(--rail-cyan);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.copy-btn:hover {
  background: rgba(53, 214, 224, 0.14);
  color: var(--cyan-bright);
}
.copy-btn[data-copied="true"] {
  border-color: var(--star-gold);
  color: var(--gold-soft);
  background: rgba(232, 180, 74, 0.12);
}

.footer-link {
  color: var(--paper-dim);
  font-size: 0.875rem;
  transition: color 0.3s var(--ease);
}
.footer-link:hover { color: var(--cyan-bright); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--nebula);
}
.footer-copy--en { text-transform: uppercase; }

@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-note { max-width: none; }
}

/* ---------- 8. 通用组件 ---------- */
/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn--gold {
  background: var(--star-gold);
  color: #14100a;
}
.btn--gold:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
}
.btn--ghost {
  border-color: var(--line-mid);
  color: var(--rail-cyan);
}
.btn--ghost:hover {
  background: rgba(53, 214, 224, 0.13);
  color: var(--cyan-bright);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

/* 面板 */
.panel {
  border: 1px solid var(--line-soft);
  background: var(--indigo);
  padding: clamp(20px, 3vw, 34px);
}
.panel--paper {
  background: var(--paper);
  color: var(--ink-text);
  border: 0;
  padding: clamp(24px, 3.4vw, 44px);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.panel--paper h2,
.panel--paper h3,
.panel--paper h4 { color: var(--ink-text); }
.panel--paper .meta { color: #5c6577; }
.panel--paper .link-inline { color: #0d6d75; border-bottom-color: rgba(13, 109, 117, 0.4); }
.panel--paper .link-inline:hover { color: #0a5158; border-color: #0a5158; }

.panel--alt {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

/* 筛选 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.filter-btn {
  padding: 8px 16px;
  border: 1px solid var(--line-mid);
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.filter-btn:hover {
  color: var(--cyan-bright);
  border-color: var(--line-strong);
}
.filter-btn[aria-pressed="true"] {
  background: var(--star-gold);
  border-color: var(--star-gold);
  color: #14100a;
}
.filter-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--nebula);
}

/* 横向时间轴 */
.timeline {
  position: relative;
  display: flex;
  gap: clamp(18px, 3vw, 44px);
  padding: 38px 4px 18px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 214, 224, 0.5) 12%, rgba(53, 214, 224, 0.5) 88%, transparent);
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  min-width: 152px;
  padding-top: 26px;
  text-align: left;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink-deep);
  box-shadow: 0 0 0 1px rgba(53, 214, 224, 0.6);
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.timeline-node:hover::before,
.timeline-node[aria-selected="true"]::before,
.timeline-node.is-active::before {
  background: var(--gold-soft);
  box-shadow: 0 0 0 1px var(--star-gold), 0 0 14px rgba(232, 180, 74, 0.65);
}
.node-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--rail-cyan);
}
.node-label {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--paper);
}
.node-note {
  display: block;
  margin-top: 2px;
  font-size: 0.8125rem;
  color: var(--nebula);
}

/* 手风琴 */
.accordion { border-top: 1px solid var(--line-soft); }
.acc-item { border-bottom: 1px solid var(--line-soft); }
.acc-trigger {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--paper);
  transition: color 0.35s var(--ease);
}
.acc-trigger::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--rail-cyan);
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}
.acc-trigger:hover { color: var(--cyan-bright); }
.acc-item[data-open="true"] .acc-trigger::after {
  content: "–";
  color: var(--star-gold);
}
.acc-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease);
}
.acc-item[data-open="true"] .acc-panel {
  max-height: 640px;
  opacity: 1;
}
.acc-panel-inner {
  padding: 0 0 22px;
  color: var(--paper-dim);
  font-size: 0.9375rem;
}

/* 锚点侧栏 */
.anchor-nav {
  position: sticky;
  top: calc(62px + 24px);
  display: grid;
  gap: 2px;
  font-size: 0.875rem;
}
.anchor-nav a {
  display: block;
  padding: 8px 0 8px 14px;
  border-left: 1px solid var(--line-soft);
  color: var(--nebula);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.anchor-nav a:hover { color: var(--cyan-bright); }
.anchor-nav a[aria-current="true"] {
  color: var(--gold-soft);
  border-left-color: var(--star-gold);
}

/* 刻度列表 */
.tick-list { display: grid; gap: 0; }
.tick {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 0.8125rem;
  color: var(--nebula);
}
.tick .tick-value {
  color: var(--gold-soft);
  font-size: 0.8125rem;
}

.dot-gold {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--star-gold);
  box-shadow: 0 0 8px rgba(232, 180, 74, 0.7);
  vertical-align: middle;
}

/* 图片占位容器 */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, #0d1730, #070b18);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) brightness(0.78);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 72% 8%, rgba(53, 214, 224, 0.18), transparent 62%);
  mix-blend-mode: screen;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

/* 显现 */
html.star-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
html.star-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 9. 无障碍降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
  }
  html.star-js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
