/* =========================================================
   博王官网 · 共享样式表 /assets/site.css
   深空轨道控制台：深空夜基底 + 电光紫主色 + 霓虹青强调
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #060A1C;
}

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

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

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

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

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

table { border-collapse: collapse; }

hr { border: 0; border-top: 1px solid var(--line); }

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #060A1C;
  --panel: #0D1430;
  --line: #1E2A5C;
  --violet: #7B5CFF;
  --cyan: #22E1FF;
  --orange: #FF7A34;
  --mint: #2CE6A8;
  --coral: #FF5C7A;
  --gold: #FFC24D;
  --white: #EAEFFF;
  --muted: #98A3CE;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shell: 1320px;
  --gut: clamp(18px, 4vw, 56px);
  --header-h: 84px;

  --shadow-soft: 0 20px 48px -34px rgba(6, 10, 28, 0.96);
  --glow-violet: 0 0 26px -8px rgba(123, 92, 255, 0.85);
  --glow-cyan: 0 0 22px -8px rgba(34, 225, 255, 0.85);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

/* ---------- 3. 基底与星图网格 ---------- */
body {
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--white);
  background: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: -12% -8%;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(58% 46% at 12% 6%, rgba(123, 92, 255, 0.22), transparent 72%),
    radial-gradient(46% 38% at 90% 2%, rgba(34, 225, 255, 0.14), transparent 72%),
    radial-gradient(40% 40% at 60% 100%, rgba(255, 122, 52, 0.08), transparent 70%),
    linear-gradient(rgba(30, 42, 92, 0.38) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 42, 92, 0.38) 1px, transparent 1px);
  background-size: auto, auto, auto, 68px 68px, 68px 68px;
  animation: grid-drift 800ms var(--ease) both;
}

@keyframes grid-drift {
  from { transform: translate3d(0, -22px, 0); opacity: 0; }
  to   { transform: translate3d(0, 0, 0); opacity: 1; }
}

/* ---------- 4. 中文排版 ---------- */
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.24;
  color: var(--white);
}

h1 { font-size: clamp(34px, 5.6vw, 68px); letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: clamp(19px, 2vw, 23px); }
h4 { font-size: 17px; }

p { max-width: 34em; }

.lede {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--muted);
  line-height: 1.85;
  max-width: 32em;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.86em;
  letter-spacing: 0.06em;
}

.muted { color: var(--muted); }

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

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.rot-note {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  user-select: none;
}

/* ---------- 5. 布局工具 ---------- */
.site-main {
  padding-top: calc(var(--header-h) + 16px);
  display: block;
}

.wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}

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

.section__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(24px, 3vw, 44px);
}

.section__title { max-width: 22em; }

.stack { display: flex; flex-direction: column; gap: 18px; }

.stack--tight { gap: 10px; }

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.center { text-align: center; }

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

.split--57 > :first-child { order: 2; }

@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--57 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--57 > :first-child { order: 0; }
}

/* ---------- 6. 跳过链接 ---------- */
.skip-link {
  position: fixed;
  left: 50%;
  top: -120px;
  transform: translateX(-50%);
  z-index: 200;
  padding: 12px 24px;
  border-radius: var(--pill);
  background: var(--cyan);
  color: #04121A;
  font-weight: 700;
  font-size: 14px;
  transition: top 0.3s var(--ease);
}

.skip-link:focus {
  top: 14px;
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* ---------- 7. 头部 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 14px var(--gut) 0;
  pointer-events: none;
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: rgba(30, 42, 92, 0.55);
}

.scroll-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  box-shadow: 0 0 12px rgba(34, 225, 255, 0.6);
  transition: width 0.12s linear;
}

.nav-capsule {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 24px);
  max-width: var(--shell);
  margin-inline: auto;
  padding: 9px 12px 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: linear-gradient(180deg, rgba(13, 20, 48, 0.92), rgba(6, 10, 28, 0.88));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
  transition: max-width 0.55s var(--ease), background 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav-capsule.is-condensed {
  max-width: 880px;
  background: linear-gradient(180deg, rgba(13, 20, 48, 0.97), rgba(6, 10, 28, 0.95));
  border-color: rgba(123, 92, 255, 0.45);
  box-shadow: var(--shadow-soft), var(--glow-violet);
}

.nav-capsule.is-condensed:hover,
.nav-capsule.is-condensed:focus-within { max-width: var(--shell); }

.nav-capsule.is-nav-open {
  border-color: var(--cyan);
  box-shadow: var(--shadow-soft), var(--glow-cyan);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 4px 6px;
  border-radius: var(--pill);
}

.brand__mark {
  position: relative;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  background: linear-gradient(140deg, var(--violet), var(--cyan));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  filter: drop-shadow(0 0 9px rgba(123, 92, 255, 0.7));
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--ink);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.brand__text { display: flex; flex-direction: column; line-height: 1; }

.brand__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
}

.brand__latin {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.34em;
  color: var(--muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse-dot 2.4s var(--ease) infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(44, 230, 168, 0.6); }
  50%      { box-shadow: 0 0 0 7px rgba(44, 230, 168, 0); }
}

.brand__state {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand--footer { padding: 0; }
.brand--footer .brand__name { font-size: 22px; }
.brand--footer .brand__mark { width: 32px; height: 32px; }
.brand--footer .brand__mark::after { inset: 4px; }

/* 导航 */
.nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

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

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: var(--pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav__link:hover {
  color: var(--white);
  background: rgba(123, 92, 255, 0.16);
}

.nav__link[aria-current="page"] {
  color: var(--white);
  background: rgba(123, 92, 255, 0.2);
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 16px;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(34, 225, 255, 0.9);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}

/* 桌面收窄态：只留字标 + 当前栏目 + 行动按钮 */
@media (min-width: 961px) {
  .nav-capsule.is-condensed:not(:hover):not(:focus-within) .nav__item:not(.is-current) { display: none; }
  .nav-capsule.is-condensed:not(:hover):not(:focus-within) .brand__state { display: none; }
  .nav-capsule.is-condensed:not(:hover):not(:focus-within) .brand__latin { opacity: 0.6; }
}

/* 菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-size: 13.5px;
  color: var(--white);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

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

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.nav-toggle__bars span {
  height: 1.5px;
  width: 100%;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

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

/* 移动端头部 */
@media (max-width: 960px) {
  :root { --header-h: 76px; }

  .site-header { padding: 10px 14px 0; }

  .nav-capsule {
    flex-wrap: wrap;
    padding: 8px 10px 8px 14px;
    border-radius: 24px;
  }

  .brand__state { display: none; }

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

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    flex: 1 0 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0.3s var(--ease);
  }

  .nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(13, 20, 48, 0.98), rgba(6, 10, 28, 0.98));
    box-shadow: var(--shadow-soft);
  }

  .nav__link {
    padding: 12px 16px 12px 22px;
    font-size: 15.5px;
    border-radius: 14px;
  }

  .nav__link[aria-current="page"]::after {
    left: 8px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    height: auto;
    transform: none;
    box-shadow: 0 0 12px rgba(34, 225, 255, 0.8);
  }

  .header__actions { gap: 6px; }
}

@media (max-width: 520px) {
  .brand__latin { display: none; }
  .nav-toggle__label { display: none; }
  .btn--cta { padding: 10px 14px; font-size: 13px; }
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.btn--cta {
  background: linear-gradient(135deg, var(--orange), #FFA163);
  color: #1B0A02;
  box-shadow: 0 12px 26px -16px rgba(255, 122, 52, 0.95);
}

.btn--cta:hover { box-shadow: 0 18px 34px -16px rgba(255, 122, 52, 1); }

.btn--primary {
  background: linear-gradient(135deg, var(--violet), #9E86FF);
  color: #07091C;
  box-shadow: var(--glow-violet);
}

.btn--ghost {
  border-color: var(--line);
  background: rgba(13, 20, 48, 0.6);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

/* ---------- 9. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 128px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(6, 10, 28, 0.35), rgba(6, 10, 28, 0.98));
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(30, 42, 92, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 42, 92, 0.5) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 78%);
}

.footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1.3fr 1fr;
  gap: clamp(22px, 3.6vw, 56px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 76px) var(--gut) 28px;
}

.footer__zone { display: flex; flex-direction: column; gap: 14px; }

.footer__zone--brand { gap: 16px; }

.footer__tagline {
  font-size: 14.5px;
  color: var(--white);
  max-width: 20em;
}

.footer__meta { color: var(--cyan); font-size: 12.5px; }

.footer__zone--nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.footer__col { display: flex; flex-direction: column; gap: 12px; }

.footer__title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.footer__list a {
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
  display: inline-block;
}

.footer__list a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer__contact,
.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__contact li,
.footer__legal li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

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

.footer__val {
  font-size: 14px;
  color: var(--white);
  word-break: break-word;
}

.footer__val.mono { font-size: 13px; color: var(--white); }

.footer__note {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 26em;
  border-left: 1px solid var(--line);
  padding-left: 12px;
}

.footer__copy {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__zone--legal { grid-column: 1 / -1; }
  .footer__legal { flex-direction: row; flex-wrap: wrap; gap: 12px 28px; }
}

@media (max-width: 640px) {
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .footer__zone--legal { grid-column: auto; }
  .footer__legal { flex-direction: column; gap: 10px; }
  .footer__zone--nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }

.breadcrumb li + li::before {
  content: "/";
  color: var(--line);
}

.breadcrumb a:hover { color: var(--cyan); }

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

/* ---------- 11. 面板 / 卡片 ---------- */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: linear-gradient(170deg, rgba(13, 20, 48, 0.78), rgba(6, 10, 28, 0.86));
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow-soft);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(165deg, rgba(13, 20, 48, 0.62), rgba(6, 10, 28, 0.72));
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 225, 255, 0.55);
  box-shadow: 0 22px 46px -30px rgba(34, 225, 255, 0.7);
}

.card__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.card__title { font-size: 18px; font-weight: 700; }

.card__text { font-size: 14.5px; line-height: 1.75; color: var(--muted); }

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 14px;
  border-left: 2px solid var(--violet);
}

.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* ---------- 12. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  white-space: nowrap;
}

.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.tag--cyan { color: var(--cyan); border-color: rgba(34, 225, 255, 0.4); }
.tag--mint { color: var(--mint); border-color: rgba(44, 230, 168, 0.4); }
.tag--coral { color: var(--coral); border-color: rgba(255, 92, 122, 0.4); }
.tag--gold { color: var(--gold); border-color: rgba(255, 194, 77, 0.4); }

/* ---------- 13. 信息图形 ---------- */
.index-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--line);
  overflow: hidden;
}

.index-list__link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: var(--ink);
  transition: background 0.32s var(--ease);
}

.index-list__link:hover {
  background: linear-gradient(165deg, rgba(123, 92, 255, 0.2), rgba(6, 10, 28, 0.95));
}

.index-list__no {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.index-list__title { font-size: 17px; font-weight: 700; }

.index-list__desc { font-size: 13.5px; line-height: 1.7; color: var(--muted); }

.hex-list { display: grid; gap: 2px; }

.hex-list__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  transition: background 0.3s var(--ease), border-radius 0.3s var(--ease);
}

.hex-list__item:first-child { border-top-color: transparent; }

.hex-list__item:hover {
  border-radius: 14px;
  background: rgba(123, 92, 255, 0.12);
}

.hex-list__num {
  flex: 0 0 auto;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 0.12em;
}

.timeline {
  position: relative;
  padding-left: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--violet), var(--cyan), transparent);
}

.timeline__item { position: relative; padding-bottom: 26px; }

.timeline__item:last-child { padding-bottom: 0; }

.timeline__item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 8px;
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 3px rgba(34, 225, 255, 0.14);
}

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

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: rgba(13, 20, 48, 0.5);
}

.compare {
  width: 100%;
  min-width: 520px;
  font-size: 14.5px;
}

.compare th,
.compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare thead th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }

.compare tbody tr:hover { background: rgba(123, 92, 255, 0.1); }

/* ---------- 14. 图片容器 ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background:
    radial-gradient(70% 70% at 30% 20%, rgba(123, 92, 255, 0.22), transparent 70%),
    linear-gradient(150deg, rgba(13, 20, 48, 0.95), rgba(6, 10, 28, 0.95));
}

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

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

.media--shade::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgba(6, 10, 28, 0.78));
}

.media__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- 15. 折叠内容组 ---------- */
.disclosure {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: rgba(13, 20, 48, 0.55);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.disclosure + .disclosure { margin-top: 10px; }

.disclosure[data-open="true"] {
  border-color: rgba(34, 225, 255, 0.42);
  background: rgba(13, 20, 48, 0.78);
}

.disclosure__trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  text-align: left;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--white);
  transition: background 0.28s var(--ease);
}

.disclosure__trigger:hover { background: rgba(123, 92, 255, 0.12); }

.disclosure__index {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.disclosure__arrow {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-left: auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
}

.disclosure__arrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--cyan);
  border-bottom: 1.5px solid var(--cyan);
  transform: rotate(45deg) translate(-1px, -1px);
}

.disclosure__trigger[aria-expanded="true"] .disclosure__arrow {
  transform: rotate(180deg);
  border-color: var(--cyan);
}

.disclosure__panel {
  height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: height 0.42s var(--ease), opacity 0.3s var(--ease), visibility 0.42s var(--ease);
}

.disclosure[data-open="true"] .disclosure__panel {
  height: auto;
  opacity: 1;
  visibility: visible;
}

.disclosure__body {
  padding: 0 20px 22px 54px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.disclosure__body p { max-width: 46em; }

@media (max-width: 640px) {
  .disclosure__body { padding: 0 18px 20px 18px; }
}

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

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

/* ---------- 17. 焦点与可访问性 ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

[aria-current="page"] { text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  body::before { animation: none; opacity: 1; }

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