/* ============================================================
   /assets/site.css — 万博CN 共享外壳与通用组件
   星图轨道体系：深空蓝底 / 银河紫分区 / 信号橙坐标
   ============================================================ */

:root {
  --wb-deep: #0A1230;
  --wb-violet: #452A78;
  --wb-orange: #FF7A29;
  --wb-silver: #C7CEDB;
  --wb-ink: #131A2E;
  --wb-paper: #F6F7FA;
  --wb-star: #FFFFFF;
  --wb-teal: #2E8B84;
  --wb-ash: #6F6889;
  --wb-lilac: #A99BD6;

  --wb-line: rgba(199, 206, 219, 0.28);
  --wb-line-strong: rgba(199, 206, 219, 0.5);
  --wb-ink-line: rgba(19, 26, 46, 0.12);
  --wb-shadow: 0 4px 24px rgba(10, 18, 48, 0.18);
  --wb-radius: 2px;

  --wb-max: 1240px;
  --wb-header-h: 76px;

  --wb-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, "Courier New", monospace;
  --wb-sans: "Noto Sans SC", "Source Han Sans CN", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --wb-geo: "HarmonyOS Sans SC", "Source Han Sans CN", "Noto Sans SC", "PingFang SC", system-ui, sans-serif;

  --wb-ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--wb-header-h) + 18px);
}

body {
  margin: 0;
  font-family: var(--wb-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--wb-ink);
  background: var(--wb-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--wb-geo);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

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

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

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

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

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

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

.wb-lock { overflow: hidden; }

/* ---------- 跳转链接 ---------- */
.wb-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--wb-orange);
  color: var(--wb-deep);
  font-family: var(--wb-geo);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--wb-radius);
  transform: translateY(-220%);
  transition: transform 160ms var(--wb-ease);
}
.wb-skip:focus { transform: translateY(0); }

/* ============================================================
   头部：悬浮轨道
   ============================================================ */
.wb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  color: var(--wb-star);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 180ms linear, border-color 180ms linear, box-shadow 180ms linear;
}

.wb-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 18, 48, 0.66), rgba(10, 18, 48, 0));
  opacity: 1;
  transition: opacity 180ms linear;
}

.wb-header[data-scrolled] {
  background: rgba(10, 18, 48, 0.96);
  border-bottom-color: var(--wb-line);
  box-shadow: var(--wb-shadow);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.wb-header[data-scrolled]::before { opacity: 0; }

.wb-header__inner {
  position: relative;
  z-index: 1;
  max-width: var(--wb-max);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 48px);
  min-height: var(--wb-header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
  transition: min-height 180ms linear;
}
.wb-header[data-scrolled] .wb-header__inner { min-height: 62px; }

/* 阅读进度线 */
.wb-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.wb-progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--wb-teal), var(--wb-orange));
  transform: scaleX(var(--wb-progress, 0));
  transform-origin: left center;
  transition: transform 120ms linear;
}

/* 品牌：轨道环 + 星核 */
.wb-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
}
.wb-brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--wb-line-strong);
  display: grid;
  place-items: center;
}
.wb-brand__mark::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(169, 155, 214, 0.55);
  transform: rotate(-24deg) scaleX(0.5);
}
.wb-brand__core {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wb-orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 41, 0.18);
}
.wb-brand__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wb-brand__name {
  font-family: var(--wb-geo);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: var(--wb-star);
  white-space: nowrap;
}
.wb-brand__tag {
  font-family: var(--wb-mono);
  font-size: 10.5px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: rgba(199, 206, 219, 0.72);
  white-space: nowrap;
}

/* 移动导航按钮 */
.wb-navtoggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid var(--wb-line);
  border-radius: var(--wb-radius);
  color: var(--wb-star);
  font-family: var(--wb-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  transition: border-color 150ms linear, background-color 150ms linear;
}
.wb-navtoggle:hover { border-color: var(--wb-line-strong); background: rgba(199, 206, 219, 0.08); }
.wb-navtoggle__bars { display: block; width: 18px; }
.wb-navtoggle__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
  transition: transform 180ms var(--wb-ease);
}
.wb-navtoggle__bars span + span { margin-top: 5px; }
.wb-navtoggle[aria-expanded="true"] .wb-navtoggle__bars span:first-child { transform: translateY(3.25px) rotate(45deg); }
.wb-navtoggle[aria-expanded="true"] .wb-navtoggle__bars span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* 桌面导航图例 */
.wb-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}
.wb-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 26px);
}
.wb-nav__item { display: block; }
.wb-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 2px;
  font-size: 14.5px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  transition: color 150ms linear;
}
.wb-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: var(--wb-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms var(--wb-ease);
}
.wb-nav__link:hover { color: var(--wb-star); }
.wb-nav__link:hover::after { transform: scaleX(0.55); }
.wb-nav__link[aria-current="page"] { color: var(--wb-star); }
.wb-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.wb-nav__link[aria-current="page"] .wb-nav__num { color: var(--wb-orange); opacity: 1; }
.wb-nav__num {
  font-family: var(--wb-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--wb-lilac);
  opacity: 0.8;
}
.wb-nav__eyebrow { display: none; }
.wb-nav__cta { display: none; }

/* 头部 CTA */
.wb-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: var(--wb-radius);
  background: var(--wb-orange);
  color: var(--wb-deep);
  font-family: var(--wb-geo);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color 150ms linear, transform 150ms var(--wb-ease);
}
.wb-cta:hover { background: #FF8C48; transform: translateY(-1px); }
.wb-cta__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--wb-deep);
}

/* 遮罩 */
.wb-scrim {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(6, 10, 26, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms linear;
}
.wb-scrim[data-open] { opacity: 1; pointer-events: auto; }

/* ============================================================
   页脚：星图收尾
   ============================================================ */
.wb-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(44px, 6vw, 76px);
  color: var(--wb-silver);
  background:
    radial-gradient(120% 90% at 84% 6%, #2A1B4D 0%, rgba(42, 27, 77, 0) 58%),
    radial-gradient(70% 60% at 6% 94%, rgba(46, 139, 132, 0.22) 0%, rgba(46, 139, 132, 0) 62%),
    var(--wb-deep);
}

.wb-footer__stars {
  position: absolute;
  right: 0;
  top: 0;
  width: min(560px, 62%);
  height: 100%;
  pointer-events: none;
  opacity: 0.62;
  background-image:
    radial-gradient(circle at 12% 18%, #FFFFFF 0 1px, transparent 1.5px),
    radial-gradient(circle at 34% 42%, #FFFFFF 0 1.2px, transparent 1.7px),
    radial-gradient(circle at 58% 14%, #A99BD6 0 1.1px, transparent 1.6px),
    radial-gradient(circle at 76% 56%, #FFFFFF 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 30%, #A99BD6 0 1.4px, transparent 1.9px),
    radial-gradient(circle at 46% 76%, #FFFFFF 0 1px, transparent 1.5px),
    radial-gradient(circle at 22% 88%, #A99BD6 0 1.2px, transparent 1.7px),
    radial-gradient(circle at 68% 88%, #FFFFFF 0 1px, transparent 1.5px);
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0, #000 45%);
}

.wb-footer__inner {
  position: relative;
  max-width: var(--wb-max);
  margin-inline: auto;
  padding: 0 clamp(20px, 5vw, 56px) clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 0.9fr 1.15fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.wb-footer__col { min-width: 0; }
.wb-footer__col--brand { max-width: 34ch; }

.wb-brand--footer .wb-brand__name { font-size: 18px; }
.wb-brand--footer .wb-brand__mark { width: 38px; height: 38px; }

.wb-footer__line {
  margin: 18px 0 14px;
  max-width: 26ch;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(199, 206, 219, 0.8);
}
.wb-footer__icp {
  font-family: var(--wb-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(199, 206, 219, 0.62);
}

.wb-footer__title {
  margin-bottom: 18px;
  font-family: var(--wb-mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wb-lilac);
}

.wb-footer__list { display: grid; gap: 11px; }

.wb-footer__link {
  position: relative;
  display: inline-block;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(199, 206, 219, 0.9);
  transition: color 150ms linear, transform 160ms var(--wb-ease);
}
.wb-footer__link::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  margin-right: 0;
  vertical-align: middle;
  background: var(--wb-orange);
  transition: width 160ms var(--wb-ease), margin-right 160ms var(--wb-ease);
}
.wb-footer__link:hover { color: var(--wb-star); transform: translateX(2px); }
.wb-footer__link:hover::before { width: 10px; margin-right: 7px; }

.wb-footer__signal .wb-footer__meta + .wb-footer__meta { margin-top: 9px; }

.wb-footer__meta {
  margin: 0;
  font-family: var(--wb-mono);
  font-size: 12.5px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: rgba(199, 206, 219, 0.72);
}

.wb-footer__base {
  position: relative;
  max-width: var(--wb-max);
  margin-inline: auto;
  padding: 18px clamp(20px, 5vw, 56px) 26px;
  border-top: 1px solid var(--wb-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.wb-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--wb-line-strong);
  border-radius: var(--wb-radius);
  font-family: var(--wb-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--wb-star);
  transition: background-color 150ms linear, border-color 150ms linear, color 150ms linear;
}
.wb-top::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wb-orange);
  transition: background-color 150ms linear;
}
.wb-top:hover {
  background: var(--wb-orange);
  border-color: var(--wb-orange);
  color: var(--wb-deep);
}
.wb-top:hover::before { background: var(--wb-deep); }

/* ============================================================
   布局与文字层级
   ============================================================ */
.wb-container {
  width: 100%;
  max-width: var(--wb-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

.wb-section { padding-block: clamp(52px, 7.5vw, 112px); }
.wb-section--paper { background: var(--wb-paper); }
.wb-section--dark { background: var(--wb-deep); color: var(--wb-silver); }
.wb-section--violet {
  background: linear-gradient(158deg, #131A2E 0%, #2A1B4D 48%, #452A78 100%);
  color: var(--wb-silver);
}

.wb-page-top { padding-top: calc(var(--wb-header-h) + 34px); }

.wb-display {
  font-family: var(--wb-geo);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--wb-ink);
}
.wb-display--star { color: var(--wb-star); }
.wb-section--dark .wb-display,
.wb-section--violet .wb-display { color: var(--wb-star); }

.wb-lede {
  max-width: 34em;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.72;
  color: var(--wb-ash);
}
.wb-section--dark .wb-lede,
.wb-section--violet .wb-lede { color: rgba(199, 206, 219, 0.86); }

.wb-body {
  max-width: 34em;
  font-size: 17px;
  line-height: 1.78;
  color: var(--wb-ink);
}
.wb-section--dark .wb-body,
.wb-section--violet .wb-body { color: rgba(199, 206, 219, 0.86); }

.wb-caption {
  font-family: var(--wb-mono);
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: var(--wb-ash);
}
.wb-section--dark .wb-caption,
.wb-section--violet .wb-caption { color: rgba(199, 206, 219, 0.7); }

.wb-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--wb-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wb-teal);
}
.wb-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}
.wb-section--dark .wb-eyebrow,
.wb-section--violet .wb-eyebrow { color: var(--wb-lilac); }

.wb-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(169, 155, 214, 0.5);
  border-radius: var(--wb-radius);
  font-family: var(--wb-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--wb-lilac);
}

.wb-divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--wb-ink-line);
}
.wb-divider--dark { background: var(--wb-line); }

/* ---------- 栅格 ---------- */
.wb-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.wb-col-4 { grid-column: span 4; }
.wb-col-5 { grid-column: span 5; }
.wb-col-6 { grid-column: span 6; }
.wb-col-7 { grid-column: span 7; }
.wb-col-8 { grid-column: span 8; }
.wb-col-12 { grid-column: span 12; }

.wb-stack { display: grid; gap: clamp(14px, 2vw, 22px); }
.wb-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- 按钮 ---------- */
.wb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--wb-radius);
  font-family: var(--wb-geo);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background-color 160ms linear, color 160ms linear, border-color 160ms linear, transform 160ms var(--wb-ease);
}
.wb-button:hover { transform: translateY(-1px); }
.wb-button--primary { background: var(--wb-orange); color: var(--wb-deep); }
.wb-button--primary:hover { background: #FF8C48; }
.wb-button--line { border-color: var(--wb-line-strong); color: var(--wb-star); background: transparent; }
.wb-button--line:hover { border-color: var(--wb-orange); color: var(--wb-orange); }
.wb-button--ink { border-color: rgba(19, 26, 46, 0.24); background: #FFFFFF; color: var(--wb-ink); }
.wb-button--ink:hover { border-color: var(--wb-orange); color: #B14A0B; }

/* ---------- 面包屑 ---------- */
.wb-breadcrumb {
  font-family: var(--wb-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--wb-ash);
}
.wb-breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wb-breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }
.wb-breadcrumb__item + .wb-breadcrumb__item::before { content: "/"; opacity: 0.55; }
.wb-breadcrumb__item a { color: inherit; transition: color 150ms linear; }
.wb-breadcrumb__item a:hover { color: var(--wb-orange); }
.wb-breadcrumb__item[aria-current="page"] { color: var(--wb-ink); }
.wb-section--dark .wb-breadcrumb__item[aria-current="page"],
.wb-section--violet .wb-breadcrumb__item[aria-current="page"] { color: var(--wb-star); }

/* ---------- 卡片 ---------- */
.wb-card {
  position: relative;
  padding: clamp(20px, 2.4vw, 30px);
  background: #FFFFFF;
  border: 1px solid var(--wb-ink-line);
  border-radius: var(--wb-radius);
  box-shadow: 0 1px 0 rgba(10, 18, 48, 0.04);
  transition: transform 200ms var(--wb-ease), box-shadow 200ms var(--wb-ease), border-color 200ms linear;
}
.wb-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--wb-shadow);
  border-color: rgba(255, 122, 41, 0.42);
}
.wb-card--dark {
  background: linear-gradient(168deg, #131A2E 0%, #1D1540 100%);
  border-color: var(--wb-line);
  color: var(--wb-silver);
}
.wb-card--dark:hover { border-color: rgba(255, 122, 41, 0.5); }
.wb-card__index {
  font-family: var(--wb-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--wb-orange);
}
.wb-card__title {
  margin: 12px 0 8px;
  font-family: var(--wb-geo);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.3;
  color: var(--wb-ink);
}
.wb-card--dark .wb-card__title { color: var(--wb-star); }
.wb-card__text { margin: 0; font-size: 15px; line-height: 1.72; color: var(--wb-ash); }
.wb-card--dark .wb-card__text { color: rgba(199, 206, 219, 0.8); }

/* ---------- 轨道与节点 ---------- */
.wb-rail {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 40px);
  padding-top: 26px;
}
.wb-rail::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--wb-orange), rgba(199, 206, 219, 0.4) 45%, rgba(199, 206, 219, 0.12));
}
.wb-node {
  position: relative;
  flex: 1 1 190px;
  min-width: 0;
}
.wb-node::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wb-deep);
  border: 1.5px solid var(--wb-orange);
}

/* ---------- 筛选 chips ---------- */
.wb-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.wb-chip {
  padding: 8px 14px;
  border: 1px solid rgba(19, 26, 46, 0.16);
  border-radius: var(--wb-radius);
  background: #FFFFFF;
  font-family: var(--wb-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--wb-ash);
  transition: background-color 150ms linear, border-color 150ms linear, color 150ms linear;
}
.wb-chip:hover { border-color: var(--wb-orange); color: var(--wb-ink); }
.wb-chip[aria-pressed="true"] {
  background: var(--wb-deep);
  border-color: var(--wb-deep);
  color: var(--wb-star);
}

/* ---------- 章节跟随目录 ---------- */
.wb-toc {
  position: sticky;
  top: calc(var(--wb-header-h) + 26px);
  align-self: start;
}
.wb-toc__title {
  margin-bottom: 14px;
  font-family: var(--wb-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wb-ash);
}
.wb-toc__list {
  display: grid;
  gap: 2px;
  border-left: 1px solid var(--wb-ink-line);
}
.wb-toc__link {
  display: block;
  padding: 8px 0 8px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-family: var(--wb-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--wb-ash);
  transition: color 150ms linear, border-color 150ms linear;
}
.wb-toc__link:hover { color: var(--wb-ink); }
.wb-toc__link[aria-current="true"] {
  color: var(--wb-ink);
  border-left-color: var(--wb-orange);
}

/* ---------- 图文容器 ---------- */
.wb-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--wb-line);
  border-radius: var(--wb-radius);
  background: linear-gradient(150deg, #131A2E 0%, #2A1B4D 55%, #452A78 100%);
  box-shadow: var(--wb-shadow);
}
.wb-media > img,
.wb-media > svg,
.wb-media > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wb-media--wide { aspect-ratio: 16 / 9; }
.wb-media--tall { aspect-ratio: 3 / 4; }
.wb-media--square { aspect-ratio: 1 / 1; }
.wb-media--auto { aspect-ratio: auto; }

.wb-media__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--wb-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(199, 206, 219, 0.62);
  background-image:
    linear-gradient(rgba(199, 206, 219, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 206, 219, 0.14) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center;
}
.wb-media__tag {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 9px;
  border: 1px solid var(--wb-line);
  border-radius: var(--wb-radius);
  background: rgba(10, 18, 48, 0.72);
  font-family: var(--wb-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--wb-silver);
}
.wb-media__caption {
  margin-top: 10px;
  font-family: var(--wb-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--wb-ash);
}

/* 设备取景框 */
.wb-frame {
  padding: 10px;
  border: 1px solid var(--wb-line-strong);
  border-radius: var(--wb-radius);
  background: rgba(10, 18, 48, 0.35);
}
.wb-frame__bar { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.wb-frame__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(199, 206, 219, 0.4);
}

/* ---------- 进入视口显现 ---------- */
.wb-motion [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 260ms var(--wb-ease), transform 260ms var(--wb-ease);
}
.wb-motion [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .wb-nav__list { gap: 10px; }
  .wb-nav__link { font-size: 13.5px; }
  .wb-cta { padding: 10px 14px; font-size: 13.5px; }
}

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

  .wb-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 64px;
    gap: 12px;
  }
  .wb-header[data-scrolled] .wb-header__inner { min-height: 58px; }

  .wb-navtoggle { display: inline-flex; justify-self: end; }
  .wb-cta { display: none; }

  .wb-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: min(86vw, 350px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: calc(var(--wb-header-h) + 22px) 22px 28px;
    overflow-y: auto;
    background: linear-gradient(165deg, #131A2E 0%, #0A1230 52%, #2B1C4E 100%);
    border-left: 1px solid var(--wb-line);
    box-shadow: -20px 0 50px rgba(4, 8, 22, 0.55);
    transform: translateX(101%);
    transition: transform 260ms var(--wb-ease);
  }
  .wb-nav[data-open] { transform: translateX(0); }

  .wb-nav__eyebrow {
    display: block;
    margin-bottom: 18px;
    font-family: var(--wb-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--wb-lilac);
  }
  .wb-nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .wb-nav__link {
    width: 100%;
    padding: 15px 0 15px 12px;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(199, 206, 219, 0.16);
  }
  .wb-nav__link::after { display: none; }
  .wb-nav__link[aria-current="page"] {
    color: var(--wb-star);
    box-shadow: inset 2px 0 0 var(--wb-orange);
  }
  .wb-nav__num { font-size: 11px; }

  .wb-nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    padding: 14px 18px;
    border-radius: var(--wb-radius);
    background: var(--wb-orange);
    color: var(--wb-deep);
    font-family: var(--wb-geo);
    font-size: 15px;
    font-weight: 700;
    transition: background-color 150ms linear;
  }
  .wb-nav__cta:hover { background: #FF8C48; }

  .wb-col-4, .wb-col-5, .wb-col-6, .wb-col-7, .wb-col-8 { grid-column: 1 / -1; }
}

@media (max-width: 1000px) {
  .wb-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .wb-footer__col--brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 620px) {
  .wb-footer__inner { grid-template-columns: 1fr; }
  .wb-footer__base { flex-direction: column; align-items: flex-start; }
  .wb-brand__tag { display: none; }
  .wb-brand__mark { width: 30px; height: 30px; }
  .wb-brand__name { font-size: 15px; }
  .wb-display { font-size: clamp(2.1rem, 9vw, 3rem); }
}

@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;
  }
  .wb-motion [data-reveal] { transform: none; transition: opacity 260ms linear; }
  .wb-skip { transform: none; opacity: 0; }
  .wb-skip:focus { opacity: 1; }
  .wb-nav { transition: none; }
  .wb-progress__fill { transition: none; }
}
