/* =========================================================================
   《21 羽 · APEC 2026 深圳峰会数据长卷》 — assets/css/style.css
   结构：
   01 设计令牌（CSS 自定义属性）
   02 基础重置与排版
   03 通用组件（wrap / sec / reveal / 按钮 / 来源行）
   04 顶部导航与阅读进度环
   05 S0 首屏（Canvas 鲲鹏 / 倒计时 / 成员卡片）
   06 S1 成员网格与详情抽屉
   07 S2 双轨时间轴
   08 S3 场馆示意与热点
   09 S4 会议周与城市节点网络
   10 S5 三大优先领域翻转卡
   11 S6 数说（Tab / 环形 / 条形 / 数据卡）
   12 数据卡（S6 面板内）
   13 S8 声音生成与折叠卡 / 页脚
   14 响应式断点（320 / 768 / 1280 / 1920）
   15 无障碍与减弱动态效果
   ========================================================================= */

/* ---------------------------------------------------------------- 01 令牌 */
:root {
  /* 色板（深色为主） */
  --bg:        #08131F;
  --bg-2:      #0B1928;
  --panel:     #0E2033;
  --card:      #122A42;
  --card-2:    #17334E;
  --line:      #1E3B57;
  --line-soft: #16293D;

  --teal:      #3FD0C9;
  --teal-dim:  #2A9A96;
  --teal-glow: rgba(63, 208, 201, .28);
  --gold:      #F2B75C;
  --gold-dim:  #B98A42;
  --gold-glow: rgba(242, 183, 92, .26);
  --red:       #E2585B;

  --fg:        #EAF2F8;
  --fg-2:      #8FA8BF;
  --fg-3:      #839BB0;   /* 在 #08131F / #0E2033 / #122A42 / #17334E 上对比度均 ≥ 4.5:1 */

  --shadow:    0 18px 48px rgba(0, 0, 0, .45);
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, .32);

  /* 首屏 Canvas 配色（由 JS 读取，保证两套主题下都看得清） */
  --hero-1:      #0F2438;
  --hero-vig-1:  rgba(3, 9, 16, .55);
  --hero-vig-2:  rgba(8, 19, 31, .70);
  --star:        #EAF2F8;
  --feather:      rgba(234, 242, 248, .55);
  --feather-dim:  rgba(143, 168, 191, .50);
  --feather-fill: rgba(234, 242, 248, .06);

  /* 排版与间距 */
  --wrap:  1200px;
  --gap-1: 8px;
  --gap-2: 16px;
  --gap-3: 24px;
  --gap-4: 40px;
  --gap-5: 64px;
  --gap-6: 104px;
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  22px;
  --r-full: 999px;

  /* 动效节奏：全站只使用这 5 档与一条缓动曲线，禁止在组件里写死时长 */
  --ease:      cubic-bezier(.22, .61, .36, 1);
  --t-fast:    200ms;   /* 悬停 / 焦点 / 颜色反馈 */
  --t-mid:     400ms;   /* 卡片翻面、面板滑入、展开详情 */
  --t-slow:    700ms;   /* 入场、场景切换（昼夜）、长距离位移 */
  --t-xslow:   1200ms;  /* 图表生长：环形进度、条形、关税箭头 */
  --t-ambient: 3200ms;  /* 常驻呼吸/浮动循环 */
  --t-stagger: 70ms;    /* 列表错落步长 */

  --font: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --nav-h: 64px;
}

/* 浅底模式已移除：本数据长卷统一为深空蓝，不响应 prefers-color-scheme: light */

/* ---------------------------------------------------- 02 基础重置与排版 */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  overflow-x: hidden;               /* 杜绝横向滚动条 */
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; max-width: 100%; }
b, strong { font-weight: 700; }

/* 数字统一等宽，跳动时不抖 */
.cd__num, .tl__year, .toolbar__count, .rt-value, .dc__num,
.ring__num, .bar__val, .voice__count, .perf b {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

::selection { background: var(--teal-glow); color: var(--fg); }

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

/* 可见焦点描边（键盘导航） */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: fixed;
  /* 用 transform 收起而不是动画 top：top 会触发逐帧重排 */
  top: 0; left: 16px;
  transform: translateY(-140%);
  z-index: 999;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--bg);          /* 深色主题为深字、浅色主题为浅字，两套都 ≥ 4.5:1 */
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* 仅供屏幕阅读器：让「可见文字」成为可访问名的一部分，
   避免 label-content-name-mismatch（可访问名必须包含可见标签文字） */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------ 03 通用组件 */
.sec {
  position: relative;
  padding-block: var(--gap-6);
  border-top: 1px solid var(--line-soft);
}
.sec--last { border-bottom: 0; }

.sec__head { position: relative; max-width: 780px; margin-bottom: var(--gap-5); }

.sec__no {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .28em;
  color: var(--teal);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  padding: 3px 12px;
  margin-bottom: var(--gap-2);
}

.sec__title {
  font-size: clamp(24px, 2.6vw, 40px);
  letter-spacing: -.01em;
  margin-bottom: var(--gap-2);
}
.sec__title::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  margin-top: 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
}

.sec__lead { color: var(--fg-2); font-size: 16px; }

.sub {
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--fg);
  margin-bottom: var(--gap-3);
  padding-left: 12px;
  border-left: 3px solid var(--gold);
}
.sub--gap { margin-top: var(--gap-5); }

.note {
  margin-top: var(--gap-3);
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--fg-2);
  background: var(--panel);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.note--approach {
  background: var(--card);
  border-left-color: var(--gold);
  color: var(--fg);
}

.src {
  margin-top: var(--gap-3);
  font-size: 12.5px;
  color: var(--fg-3);
  letter-spacing: .01em;
}

.empty {
  padding: var(--gap-4) var(--gap-3);
  text-align: center;
  color: var(--fg-2);
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
}

/* 配图区块：本地图片 + 图注（宽高由 img 的 width/height 属性预留，避免布局抖动） */
.shot { margin: 0 0 var(--gap-3); }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: var(--panel);
}
.shot figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--fg-3);
}
.shot--banner { margin-bottom: var(--gap-3); }

.btn {
  padding: 11px 22px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--fg);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
@media (any-hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:hover:not(:disabled) { border-color: var(--teal); transform: translateY(-2px); }
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--primary {
  background: linear-gradient(120deg, var(--teal), #58E3DA);
  color: #04222B;
  border-color: transparent;
  font-weight: 700;
}
@media (prefers-color-scheme: light) {
  .btn--primary { background: linear-gradient(120deg, #0A6E6A, #10938D); color: #FFFFFF; }
}

/* 入场动效：上浮 24px + 淡入，时长统一取 --t-slow；
   触发只靠 IntersectionObserver 加 .is-in，且加完立即 unobserve（只播一次） */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------- 04 导航与进度环 */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); }

/* 首屏上方：导航浮在深空舞台上（透明 + 浅字），滚动离屏后变回主题实心条 */
.nav.is-over-hero {
  --bg:    #08131F;
  --panel: #0E2033;
  --line:  #1E3B57;
  --fg:    #EAF2F8;
  --fg-2:  #8FA8BF;
  --fg-3:  #839BB0;
  --teal:  #3FD0C9;
  --gold:  #F2B75C;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav__inner {
  height: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  gap: var(--gap-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  white-space: nowrap;
}
.brand__mark { width: 26px; height: 26px; flex: none; }
/* 品牌位三级命名：≥1201px 全称 / 480—1200px 简称 / ≤479px 极简，避免与语言键、汉堡按钮相撞。
   注意：不要写 `.brand__text > span { display:none }` 再让 `.brand__full` 覆盖——
   元素选择器与类选择器的特异性会算错，导致三段文字全被隐藏。逐类声明最稳。 */
.brand__short, .brand__mini { display: none; }
.brand__full { display: inline; }
html[data-lang="en"] .brand__full { display: none; }
html[data-lang="en"] .brand__short { display: inline; }
@media (max-width: 1200px) {
  .brand__full { display: none; }
  .brand__short { display: inline; }
}
@media (max-width: 479px) {
  .brand__full, .brand__short,
  html[data-lang="en"] .brand__full, html[data-lang="en"] .brand__short { display: none; }
  .brand__mini, html[data-lang="en"] .brand__mini { display: inline; }
}
.brand__mark path { fill: none; stroke-linecap: round; }
.brand__mark .bm1 { stroke: var(--teal);    stroke-width: 2.4; }
.brand__mark .bm2 { stroke: var(--teal);    stroke-width: 1.8; opacity: .75; }
.brand__mark .bm3 { stroke: var(--gold);    stroke-width: 1.8; opacity: .9; }

.brand__text {
  display: inline-block;
  max-width: 42vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav__links a {
  position: relative;
  display: block;
  padding: 8px 16px;
  color: var(--fg-2);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: .08em;
  border-radius: var(--r-full);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav__links a:hover { color: var(--fg); background: var(--panel); }
.nav__links a.is-active { color: var(--bg); background: var(--teal); font-weight: 700; }
.nav__sub { display: none; font-size: 10px; color: var(--fg-3); letter-spacing: 0; text-align: center; line-height: 1.1; }

.nav__right { display: flex; align-items: center; gap: 8px; }

.lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--fg-2);
  transition: border-color var(--t-fast) var(--ease);
}
.lang:hover { border-color: var(--teal); }
.lang__opt.is-on { color: var(--gold); font-weight: 700; }
.lang__sep { opacity: .4; }

.burger { display: none; width: 40px; height: 40px; padding: 9px 8px; }
.burger span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--fg);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 阅读进度环 */
.ring {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 190;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; }
.ring__bg { stroke: var(--line); }
.ring__fg {
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-dasharray: 113.1;
  stroke-dashoffset: 113.1;
}
.ring__num {
  position: relative;
  font-size: 11px;
  color: var(--fg-2);
  letter-spacing: .02em;
}

/* ------------------------------------------------------------ 05 首屏 */
.hero {
  /* 首屏恒为「深空舞台」：不受 prefers-color-scheme 影响，
     与规格书「全屏 + 深空背景 + 极淡星点」一致；内容区才跟随系统主题。
     Canvas 配色由 JS 从本元素读取，因此这里的作用域是必要的。 */
  --bg:         #08131F;
  --bg-2:       #0B1928;
  --panel:      #0E2033;
  --card:       #122A42;
  --card-2:     #17334E;
  --line:       #1E3B57;
  --line-soft:  #16293D;
  --fg:         #EAF2F8;
  --fg-2:       #8FA8BF;
  --fg-3:       #839BB0;
  --teal:       #3FD0C9;
  --gold:       #F2B75C;
  --hero-1:     #0F2438;
  --hero-vig-1: rgba(3, 9, 16, .55);
  --hero-vig-2: rgba(8, 19, 31, .70);
  --star:        #EAF2F8;
  --feather:      rgba(234, 242, 248, .55);
  --feather-dim:  rgba(143, 168, 191, .50);
  --feather-fill: rgba(234, 242, 248, .06);

  color: var(--fg);
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 80% at 50% 8%, var(--hero-1) 0%, var(--bg) 62%),
    var(--bg);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(70% 55% at 50% 46%, transparent 40%, var(--hero-vig-1) 100%),
    linear-gradient(180deg, var(--hero-vig-2) 0%, transparent 22%, transparent 64%, var(--bg) 100%);
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 900px;
  padding: calc(var(--nav-h) + 32px) 20px 108px;
  text-align: center;
  pointer-events: none;         /* 让鼠标事件落到 Canvas，仅交互元素可点 */
}
.hero__inner > * { pointer-events: auto; }

.hero__kicker {
  font-size: 12.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--gap-2);
}

.hero__title {
  font-size: clamp(34px, 6.4vw, 82px);
  letter-spacing: .02em;
  text-shadow: 0 8px 40px rgba(0, 0, 0, .5);
}

.hero__slogan {
  margin-top: 12px;
  font-size: clamp(15px, 1.9vw, 22px);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold);
}

.hero__sub {
  margin-top: 8px;
  font-size: clamp(11.5px, 1.3vw, 15px);
  letter-spacing: .18em;
  color: var(--fg-2);
}

.hero__lead {
  max-width: 660px;
  margin: var(--gap-3) auto 0;
  font-size: clamp(13.5px, 1.3vw, 16px);
  color: var(--fg-2);
  text-wrap: pretty;
}

/* 倒计时 */
.cd {
  display: inline-flex;
  gap: 4px;
  margin-top: var(--gap-4);
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cd li {
  min-width: 74px;
  padding: 8px 10px 6px;
  border-radius: var(--r-sm);
  text-align: center;
}
.cd li + li { border-left: 1px solid var(--line-soft); }
.cd__num { display: block; font-size: 26px; font-weight: 700; color: var(--fg); line-height: 1.1; }
.cd li span { font-size: 11px; letter-spacing: .16em; color: var(--fg-3); }

.hero__hint {
  margin-top: var(--gap-3);
  font-size: 12.5px;
  color: var(--fg-3);
  letter-spacing: .04em;
}

/* 成员经济体卡片（首屏） */
.mcard {
  position: absolute;
  z-index: 6;
  right: 28px;
  top: 50%;
  width: 320px;
  transform: translate(28px, -50%);
  opacity: 0;
  padding: var(--gap-3);
  background: color-mix(in srgb, var(--card) 94%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--t-mid) var(--ease), opacity var(--t-mid) var(--ease);
}
.mcard.is-on { transform: translate(0, -50%); opacity: 1; }
.mcard__close {
  position: absolute; top: 10px; right: 12px;
  width: 30px; height: 30px;
  font-size: 20px; line-height: 1;
  color: var(--fg-2);
  border-radius: var(--r-full);
}
.mcard__close:hover { color: var(--fg); background: var(--panel); }
.mcard__dot {
  display: block;
  width: 14px; height: 14px;
  margin-bottom: 12px;
  border-radius: var(--r-full);
  box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 22%, transparent);
}
/* 名字改为可点击按钮（p → button 后重置 UA 默认样式） */
.mcard__zh, .mcard__en {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.mcard__zh { font-size: 21px; }
.mcard__en { font-size: 12.5px; letter-spacing: .06em; color: var(--fg-3); margin-top: 2px; }
@media (any-hover: hover) {
  .mcard__zh:hover, .mcard__en:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
}
.mcard__zh:focus-visible, .mcard__en:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
.mcard__drillhint {
  font-size: 11px;
  color: var(--fg-3);
  margin: 10px 0 0;
  letter-spacing: .04em;
}
.mcard__meta { display: flex; gap: var(--gap-3); margin: var(--gap-2) 0 0; }
.mcard__meta dt { font-size: 11px; color: var(--fg-3); letter-spacing: .1em; }
.mcard__meta dd { margin: 2px 0 0; font-size: 14px; color: var(--gold); font-weight: 700; }
.mcard__hub {
  margin-top: var(--gap-2);
  padding-top: var(--gap-2);
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--fg-2);
}

.scroll-hint {
  position: absolute;
  z-index: 4;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 2px;
  color: var(--fg-3);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-decoration: none;
  animation: floaty var(--t-ambient) var(--ease) infinite;
}
.scroll-hint svg { width: 20px; height: 20px; }
.scroll-hint path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.scroll-hint:hover { color: var(--teal); }
@keyframes floaty {
  0%, 100% { transform: translate(-50%, 0); opacity: .75; }
  50%      { transform: translate(-50%, -8px); opacity: 1; }
}

/* ------------------------------------------- 06 S1 成员网格与详情抽屉 */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-2);
  margin-bottom: var(--gap-3);
}
.field {
  position: relative;
  flex: 1 1 300px;
  max-width: 420px;
}
.field svg {
  position: absolute;
  left: 14px; top: 50%;
  width: 17px; height: 17px;
  transform: translateY(-50%);
  pointer-events: none;
}
.field svg circle, .field svg path { fill: none; stroke: var(--fg-3); stroke-width: 1.7; stroke-linecap: round; }
.field input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  font: inherit;
  font-size: 14px;
  color: var(--fg);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  transition: border-color var(--t-fast) var(--ease);
}
.field input::placeholder { color: var(--fg-3); }
.field input:hover, .field input:focus { border-color: var(--teal); }

.sorts { display: flex; gap: 6px; padding: 4px; background: var(--panel); border-radius: var(--r-full); }
.sorts__btn {
  padding: 7px 16px;
  font-size: 13px;
  color: var(--fg-2);
  border-radius: var(--r-full);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.sorts__btn:hover { color: var(--fg); }
.sorts__btn.is-on { background: var(--card-2); color: var(--teal); font-weight: 700; }

.toolbar__count { margin-left: auto; font-size: 13px; color: var(--fg-3); }

.grid { display: grid; gap: var(--gap-2); }
.grid--members { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.mem {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: var(--gap-2) var(--gap-2) 14px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.mem::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid) var(--ease);
}
/* .mem 悬停/聚焦：唯一一处定义（阴影与位移随 RM 降级；勿在别处重复定义） */
.mem:focus-visible { transform: translateY(-4px); border-color: var(--teal); background: var(--card-2); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
.mem:focus-visible::after { transform: scaleX(1); }
@media (any-hover: hover) and (prefers-reduced-motion: no-preference) {
  .mem:hover { transform: translateY(-4px); border-color: var(--teal); background: var(--card-2); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
  .mem:hover::after { transform: scaleX(1); }
}
@media (any-hover: hover) and (prefers-reduced-motion: reduce) {
  .mem:hover, .mem:focus-visible { border-color: var(--teal); background: var(--card-2); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); }
}
.mem__dot {
  width: 12px; height: 12px;
  border-radius: var(--r-full);
  background: currentColor;
  box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 18%, transparent);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 200ms var(--ease-soft);
}
.mem__zh { font-size: 16px; font-weight: 700; color: var(--fg); }
.mem__en { font-size: 11.5px; color: var(--fg-3); letter-spacing: .04em; }
.mem__year { margin-top: auto; font-size: 11.5px; color: var(--fg-2); }
.mem__year b { color: var(--gold); }

/* 详情抽屉 */
.drawer {
  position: fixed;
  z-index: 300;
  right: 0; top: 0; bottom: 0;
  width: min(440px, 92vw);
  padding: calc(var(--nav-h) + 20px) var(--gap-3) var(--gap-3);
  overflow-y: auto;
  background: var(--panel);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform var(--t-mid) var(--ease);
}
.drawer.is-on { transform: none; }
.drawer__close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px;
  font-size: 22px;
  color: var(--fg-2);
  border-radius: var(--r-full);
}
.drawer__close:hover { background: var(--card); color: var(--fg); }
.drawer__top { display: flex; align-items: center; gap: 10px; }
.drawer__dot { width: 13px; height: 13px; border-radius: var(--r-full); background: currentColor; }
.drawer__zh { font-size: 22px; }
.drawer__en { font-size: 12.5px; color: var(--fg-3); letter-spacing: .05em; }
.drawer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-2);
  margin: var(--gap-3) 0;
}
.drawer__cell { padding: 12px 14px; background: var(--card); border-radius: var(--r-sm); }
.drawer__cell dt { font-size: 11px; color: var(--fg-3); letter-spacing: .1em; }
.drawer__cell dd { margin: 4px 0 0; font-size: 15px; color: var(--gold); font-weight: 700; }
.drawer__h {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--teal);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.rel { display: grid; gap: 12px; }
.rel li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: 13.5px;
  color: var(--fg-2);
}
.rel li::before {
  content: "";
  width: 8px; height: 8px;
  margin-top: 9px;
  border-radius: var(--r-full);
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-glow);
}
.rel__src { display: block; font-size: 11.5px; color: var(--fg-3); margin-top: 2px; }

/* ------------------------------------------------------ 07 双轨时间轴 */
.tl {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: var(--gap-3);
}
.tl__scroll { overflow: visible; scrollbar-width: none; }
.tl__scroll::-webkit-scrollbar { display: none; }
.tl__scroll svg { width: 100%; height: auto; }

/* SVG 时间轴样式（通过 CSS 变量适配明暗） */
.tl-axis      { stroke: var(--line); stroke-width: 1; }
.tl-rail      { stroke: var(--line); stroke-width: 2; fill: none; }
.tl-rail-hot  { stroke-width: 6; stroke-linecap: round; fill: none; opacity: .95; }
.tl-rail--a .tl-rail-hot { stroke: var(--teal); }
.tl-rail--b .tl-rail-hot { stroke: var(--gold); }
.tl-tick      { stroke: var(--line-soft); stroke-width: 1; }
.tl-ticklabel { fill: var(--fg-3); font-size: 12px; font-family: var(--font); }
.tl-side-label{ font-size: 13px; font-family: var(--font); font-weight: 700; letter-spacing: .08em; }
.tl-side-label--a { fill: var(--teal); }
.tl-side-label--b { fill: var(--gold); }
.tl-stem      { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }
.tl-node      { cursor: pointer; }
.tl-node circle.core { fill: var(--panel); stroke-width: 2.5; }
.tl-node circle.halo { fill: currentColor; opacity: .14; }
.tl-node--a circle.core { stroke: var(--teal); }
.tl-node--a circle.halo { fill: var(--teal); }
.tl-node--b circle.core { stroke: var(--gold); }
.tl-node--b circle.halo { fill: var(--gold); }
.tl-node.active circle.core { fill: var(--gold); stroke: var(--gold); }
.tl-node.active .tl-node-label { fill: var(--fg); font-weight: 700; }
.tl-node:focus-visible circle.core { stroke-width: 4; }
.tl-node-label { fill: var(--fg-2); font-size: 12px; font-family: var(--font); }
.tl-node-year  { fill: var(--fg); font-size: 12px; font-family: var(--font); font-weight: 700; }
.tl-cursor     { stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 4 5; opacity: .5; }

.tl__ctrl { margin-top: var(--gap-3); }
.tl__label { display: block; font-size: 12.5px; color: var(--fg-2); margin-bottom: 10px; }
.tl__row { display: flex; align-items: center; gap: var(--gap-2); }
.tl__year { min-width: 64px; font-size: 22px; font-weight: 700; color: var(--gold); text-align: right; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 6px;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--teal) 0 var(--p, 50%), var(--line) var(--p, 50%) 100%);
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: var(--r-full);
  background: var(--gold);
  border: 3px solid var(--panel);
  box-shadow: 0 0 0 1px var(--gold), 0 4px 14px rgba(0, 0, 0, .35);
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: var(--r-full);
  background: var(--gold);
  border: 3px solid var(--panel);
}

.tl__card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-2);
  margin-top: var(--gap-3);
}
.tl__side {
  padding: var(--gap-2);
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}
.tl__side h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--fg-2);
  margin-bottom: 10px;
}
.tl__side--a { border-top: 2px solid var(--teal); }
.tl__side--b { border-top: 2px solid var(--gold); }
.tl__side li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--fg);
  border-bottom: 1px dashed var(--line-soft);
}
.tl__side li:last-child { border-bottom: 0; }
.tl__side li b { color: var(--gold); font-weight: 700; }
.tl__side li.is-future { color: var(--fg-3); }
.tl__side li.is-future b { color: var(--fg-3); }
.tl__side .none { color: var(--fg-3); font-size: 13px; padding: 7px 0; }

.tl__outro {
  margin-top: var(--gap-3);
  padding: var(--gap-2) var(--gap-3);
  font-size: clamp(15px, 1.7vw, 20px);
  font-weight: 700;
  color: var(--fg);
  background: linear-gradient(100deg, var(--gold-glow), transparent 70%);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.dot { width: 9px; height: 9px; border-radius: var(--r-full); flex: none; }
.dot--teal { background: var(--teal); }
.dot--gold { background: var(--gold); }

/* --------------------------------------------------- 08 S3 屋顶轮廓意象图 */
/* 只有墨色与天光两组变量：白天浅天深墨线，夜景深夜浅墨线 */
.venue {
  --ink:    #E4F0F8;
  --ink-2:  rgba(228, 240, 248, .50);
  --ink-3:  rgba(228, 240, 248, .20);
  --sky-1:  #08131F;
  --sky-2:  #0C2439;
  --roof-1: rgba(228, 240, 248, .07);
  --roof-2: rgba(228, 240, 248, .02);
  --lamp:   #3FD0C9;
  --lamp-op: 0;
}
.venue[data-mode="night"] {
  --sky-1:  #061626;
  --sky-2:  #0C2439;
  --lamp:   #FFD98A;
  --lamp-op: .9;
}
.venue__stage {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--sky-1);
}
.venue__stage svg { width: 100%; height: auto; }
.venue__stage .v-trans { transition: fill var(--t-slow) var(--ease), stroke var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease), stop-color var(--t-slow) var(--ease); }
.venue__cap { margin-top: 10px; font-size: 12px; color: var(--fg-3); }

.venue__hotspots { position: absolute; inset: 0; }
/* 注意选择器要限定在热点容器内：`.hot` 是会场热点的类，
   不可写成全局 `.hot`，否则会命中图表里同名类（曾把 SVG 条形压成 26×26） */
.venue__hotspots .hot {
  position: absolute;
  width: 26px; height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: var(--r-full);
  background: color-mix(in srgb, var(--gold) 22%, transparent);
  border: 1.5px solid var(--gold);
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
/* 视觉保持 26px 圆点，另加 44px 不可见命中区（WCAG 2.5.8 目标尺寸） */
.venue__hotspots .hot::before {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: var(--r-full);
}
.venue__hotspots .hot::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: var(--r-full);
  background: var(--gold);
}
.venue__hotspots .hot:hover,
.venue__hotspots .hot:focus-visible,
.venue__hotspots .hot.is-on { background: var(--gold); transform: scale(1.18); }
.venue__hotspots .hot:hover::after,
.venue__hotspots .hot:focus-visible::after,
.venue__hotspots .hot.is-on::after { background: var(--bg); }

.venue__tip {
  position: absolute;
  z-index: 5;
  max-width: 280px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg);
  background: color-mix(in srgb, var(--card) 96%, transparent);
  border: 1px solid var(--gold);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  transform: translate(-50%, calc(-100% - 18px));
  pointer-events: none;
}
.venue__tip.is-below { transform: translate(-50%, 18px); }
.venue__tip b { display: block; color: var(--gold); font-size: 12px; letter-spacing: .06em; margin-bottom: 3px; }

.venue__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-2);
  margin-top: var(--gap-2);
}
.venue__tipnote { font-size: 12.5px; color: var(--fg-3); margin-left: auto; }

.switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 13px;
  color: var(--fg-2);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  transition: border-color var(--t-fast) var(--ease);
}
.switch:hover { border-color: var(--teal); }
.switch__knob {
  width: 30px; height: 16px;
  border-radius: var(--r-full);
  background: var(--line);
  position: relative;
  transition: background var(--t-fast) var(--ease);
}
.switch__knob::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 12px; height: 12px;
  border-radius: var(--r-full);
  background: var(--gold);
  transition: transform var(--t-mid) var(--ease);
}
.switch[aria-pressed="true"] .switch__knob { background: var(--teal-dim); }
.switch[aria-pressed="true"] .switch__knob::after { transform: translateX(14px); }
.switch__sep { opacity: .4; }

.venue__mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  margin-top: var(--gap-2);
  counter-reset: vm;
}
.venue__mini li {
  position: relative;
  padding: 14px 16px 14px 46px;
  font-size: 13px;
  color: var(--fg-2);
  background: var(--panel);
  border-radius: var(--r-sm);
}
.venue__mini li::before {
  counter-increment: vm;
  content: counter(vm);
  position: absolute;
  left: 14px; top: 14px;
  width: 20px; height: 20px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--bg);
  background: var(--gold);
  border-radius: var(--r-full);
}
.venue__mini li b { display: block; color: var(--fg); font-size: 13.5px; }

/* ------------------------------------ 09 S4 会场体系 / 迎客准备 / 会议周 / 网络 */
.vsys { display: grid; gap: var(--gap-3); }
.vsys__h {
  font-size: 13.5px;
  letter-spacing: .1em;
  color: var(--teal);
  margin-bottom: 10px;
}
.vsys__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-2); }
.vsys__group--main .vsys__cards { grid-template-columns: minmax(0, 1fr); }
.vscard {
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}
.vscard--main {
  border-color: var(--gold);
  background: linear-gradient(100deg, var(--gold-glow), var(--card) 55%);
}
.vscard__tag {
  display: inline-block;
  margin-bottom: 9px;
  padding: 3px 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--bg);
  background: var(--gold);
  border-radius: var(--r-full);
}
.vscard__name { font-size: 15.5px; }
.vscard__meta { margin-top: 6px; font-size: 13px; line-height: 1.65; color: var(--fg-2); }
.vsys__items-note {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--fg-2);
}
.vsys__note {
  margin-top: 8px;
  padding-left: 10px;
  font-size: 12px;
  color: var(--fg-3);
  border-left: 2px solid var(--line);
}
.prep {
  margin-top: var(--gap-3);
  padding: var(--gap-3);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
}
.prep .vsys__h { margin-bottom: var(--gap-2); }
.prep__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.prep__list li {
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--fg-2);
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-sm);
}

.week { display: grid; gap: 10px; margin-bottom: var(--gap-5); }
.wk {
  display: grid;
  grid-template-columns: 168px 1fr auto;
  align-items: center;
  gap: var(--gap-2);
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--teal);
  border-radius: var(--r-md);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
@media (any-hover: hover) and (prefers-reduced-motion: no-preference) {
  .wk:hover { transform: translateX(4px); }
}
.wk__date { font-size: 13px; color: var(--teal); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.wk__name { font-size: 15px; font-weight: 700; }
.wk__meta { font-size: 12.5px; color: var(--fg-3); }
.wk--main {
  border-left-color: var(--gold);
  background: linear-gradient(100deg, var(--gold-glow), var(--card) 55%);
}
.wk--main .wk__date { color: var(--gold); }
.wk__tag {
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--bg);
  background: var(--gold);
  border-radius: var(--r-full);
  white-space: nowrap;
}

.net { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: var(--gap-3); }
.net__stage {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.net__stage svg { width: 100%; height: auto; }
.net-link { fill: none; stroke: var(--line); stroke-width: 1.2; transition: stroke var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease); }
.net-link.is-on { stroke: var(--teal); stroke-width: 2; }
.net-node { cursor: pointer; }
/* 透明命中圈：只扩大可点范围，不影响视觉半径 */
.net-node circle.hit { fill: transparent; stroke: none; }
.net-node circle.body { fill: var(--card-2); stroke: var(--teal); stroke-width: 1.6; transition: fill var(--t-fast) var(--ease); }
.net-node circle.pulse { fill: none; stroke: var(--teal); opacity: .3; }
.net-node text { font-family: var(--font); font-size: 14px; fill: var(--fg-2); }
.net-node text.count { font-size: 11px; fill: var(--fg-3); }
.net-node.is-on circle.body { fill: var(--gold); stroke: var(--gold); }
.net-node.is-on text { fill: var(--fg); font-weight: 700; }
.net-node:focus-visible circle.body { stroke-width: 3.5; }

.net__detail {
  padding: var(--gap-3);
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  align-self: start;
}
.net__detail h4 { font-size: 16px; margin-bottom: 4px; }
.net__detail .en { font-size: 12px; color: var(--fg-3); letter-spacing: .05em; margin-bottom: 12px; }
.net__detail li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 10px;
  padding: 9px 0;
  font-size: 13.5px;
  border-bottom: 1px dashed var(--line-soft);
}
.net__detail li:last-child { border-bottom: 0; }
.net__detail li b { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }
.net__detail .hint { font-size: 12.5px; color: var(--fg-3); }

/* ------------------------------------------------ 10 S5 翻转卡片 */
.flips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-2); }
/* 高度交给 front 内容撑起；back 绝对定位并跟随 inner 高度，溢出可滚动 */
.flip { perspective: 1400px; height: auto; }
.flip__inner {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform var(--t-slow) var(--ease);
}
.flip.is-back .flip__inner { transform: rotateY(180deg); }
.flip__face {
  display: flex;
  flex-direction: column;
  padding: var(--gap-3);
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.flip__face--front { position: relative; cursor: pointer; }
.flip__face--back { position: absolute; inset: 0; transform: rotateY(180deg); background: var(--card-2); border-color: var(--line); justify-content: space-between; }
.flip__idx { font-size: 11px; letter-spacing: .26em; color: var(--teal); }
.flip__name { font-size: 26px; margin: 10px 0 6px; }
.flip__en { font-size: 12px; letter-spacing: .14em; color: var(--fg-3); }
.flip__desc { margin-top: auto; font-size: 13.5px; color: var(--fg-2); }
.flip__hint {
  margin-top: var(--gap-2);
  font-size: 12px;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.flip__hint svg { width: 15px; height: 15px; }
.flip__hint path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flip__src {
  position: absolute;
  right: var(--gap-3);
  bottom: var(--gap-3);
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.flip__src:hover, .flip__src:focus-visible {
  border-color: var(--gold);
  background: color-mix(in srgb, var(--gold) 14%, transparent);
}
.flip__pts li {
  padding: 10px 12px;
  background: var(--panel);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--teal);
}
.flip__pts .p-v { display: block; font-size: 13.5px; line-height: 1.6; color: var(--fg); }
.flip__pts .p-v b { color: var(--gold); font-size: 15.5px; }
.flip__pts .p-s { display: block; margin-top: 5px; font-size: 11.5px; color: var(--fg-3); }
.flip__pts .p-y, .flip__pts .p-src { font-style: normal; }
.flip__pts .p-y::after { content: " · "; }

/* 来源详情：长按卡片（或 Tab 到「来源详情」按钮后 Enter）展开，
   年份与来源分行、加标签，字号与对比度提升到可细读 */
.flip__more {
  align-self: flex-start;
  margin-top: var(--gap-2);
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.flip__more:hover, .flip__more:focus-visible {
  border-color: var(--gold);
  background: color-mix(in srgb, var(--gold) 14%, transparent);
}
.flip__srcnote { display: none; margin-top: 10px; font-size: 11.5px; line-height: 1.6; color: var(--fg-3); }
.flip__face--back.is-src .p-s { font-size: 12.5px; color: var(--fg-2); }
.flip__face--back.is-src .p-y,
.flip__face--back.is-src .p-src { display: block; }
.flip__face--back.is-src .p-y { margin-bottom: 3px; }
.flip__face--back.is-src .p-y::after { content: ""; }
.flip__face--back.is-src .p-y::before,
.flip__face--back.is-src .p-src::before { content: attr(data-lbl); color: var(--fg-3); }
.flip__face--back.is-src .flip__srcnote { display: block; }

/* --------------------------------------------------- 11 S6 数说 */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  margin-bottom: var(--gap-3);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-full);
  width: fit-content;
  max-width: 100%;
}
.tabs__btn {
  padding: 9px 24px;
  font-size: 14px;
  color: var(--fg-2);
  border-radius: var(--r-full);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.tabs__btn:hover { color: var(--fg); }
.tabs__btn[aria-selected="true"] { background: var(--card-2); color: var(--teal); font-weight: 700; }

/* 面板入场同样交给 IntersectionObserver（Tab 切到才可见、可见才播一次） */
.js .panel {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}
.panel.is-in { opacity: 1; transform: none; }
.panel[hidden] { display: none; }

.rt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-2); }
.rt {
  position: relative;
  padding: var(--gap-3) var(--gap-2);
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
}
.rt svg { width: 132px; height: 132px; margin: 0 auto 10px; }
.rt .rt-track { fill: none; stroke: var(--line); stroke-width: 8; }
.rt .rt-fill {
  fill: none;
  stroke: var(--teal);
  stroke-width: 8;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset var(--t-xslow) var(--ease);
}
.rt:nth-child(2) .rt-fill { stroke: var(--gold); }
.rt:nth-child(4) .rt-fill { stroke: var(--red); }
.rt-value {
  position: absolute;
  left: 50%;
  top: var(--gap-3);
  height: 132px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  font-size: 24px;
  font-weight: 700;
  color: var(--fg);
  pointer-events: none;
}
.rt-name { font-size: 13.5px; color: var(--fg); }
.rt-sub { font-size: 11.5px; color: var(--fg-3); margin-top: 2px; }
.rt:hover { border-color: var(--line); }

.chart-block { margin-top: var(--gap-4); }
.chart-block h4 { font-size: 14px; letter-spacing: .06em; color: var(--fg-2); margin-bottom: var(--gap-2); }
.chart-box {
  padding: var(--gap-3) var(--gap-2);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
}
.chart-box svg { width: 100%; height: auto; }

.tf-bar { fill: var(--line); outline: none; transition: fill 200ms var(--ease-soft), filter 200ms var(--ease-soft), opacity 200ms var(--ease-soft); }
.tf-bar--on { fill: var(--teal); }
.tf-label { fill: var(--fg-2); font-family: var(--font); font-size: 13px; }
.tf-value { fill: var(--fg); font-family: var(--font); font-size: 15px; font-weight: 700; }
.tf-axis { stroke: var(--line); stroke-width: 1; }
.tf-note { fill: var(--fg-3); font-family: var(--font); font-size: 12px; }
.tf-tag { fill: var(--gold); font-family: var(--font); font-size: 13px; font-weight: 700; }
.tf-arrow { stroke: var(--gold); stroke-width: 2; fill: none; }
.tf-grow {
  transform-box: fill-box;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform var(--t-xslow) var(--ease);
}
.tf-grow.is-in { transform: scaleX(1); }
/* 竖向条形：从底部向上生长 */
.tf-grow--y {
  transform-box: fill-box;
  transform-origin: center bottom;
  transform: scaleY(0);
}
.tf-grow--y.is-in { transform: scaleY(1); }

.dc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-2); }
.dc { perspective: 1200px; height: auto; }
.dc__inner {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform var(--t-mid) var(--ease);
}
.dc.is-back .dc__inner { transform: rotateY(180deg); }
.dc__face {
  position: relative;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--gap-2);
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease);
}
.dc__face:hover { border-color: var(--teal); }
.dc:focus-visible .dc__face { outline: 2px solid var(--gold); outline-offset: 3px; }
.dc__face--back {
  position: absolute;
  transform: rotateY(180deg);
  background: var(--card-2);
  border-color: var(--line);
  justify-content: center;
  gap: 8px;
}
.dc__num { font-size: 27px; font-weight: 700; color: var(--gold); line-height: 1.1; word-break: break-all; }
.dc__num em { font-style: normal; font-size: 14px; color: var(--fg-2); margin-left: 3px; }
.dc__label { font-size: 12.5px; color: var(--fg-2); line-height: 1.55; }
.dc__flip { font-size: 11px; color: var(--fg-3); letter-spacing: .08em; }
.dc__back-h { font-size: 12px; color: var(--teal); letter-spacing: .1em; }
.dc__back-t { font-size: 13px; color: var(--fg); }
.dc__back-s { font-size: 11.5px; color: var(--fg-3); }

.tip {
  position: fixed;
  z-index: 400;
  max-width: 250px;
  padding: 7px 12px;
  font-size: 12.5px;
  color: var(--fg);
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  transform: translate(-50%, -140%);
  pointer-events: none;
}

/* --------------------------------------------------- 11b S6 → S7 桥 */
.bridge {
  margin-block: var(--gap-5);
  padding: var(--gap-4) var(--gap-3);
  background: #0E2033;
  border-left: 4px solid #F2B75C;
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
.bridge__title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: #EAF2F8;
  margin-bottom: 10px;
}
.bridge__body {
  font-size: 15px;
  line-height: 1.7;
  color: #8FA8BF;
  max-width: 880px;
}

/* --------------------------------------------------- 12 数据卡（S6 面板内，原 S7 样式） */
.faces__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-2); }
.faces__list[hidden] { display: none; }
.faces__list > .shot { grid-column: 1 / -1; }   /* 顶部横幅图横跨整行 */
/* 入场由 IntersectionObserver 加 .is-in 触发一次（观察后立即 unobserve），
   不用 CSS animation：animation 会在每次重建 DOM（切语言 / 切 Tab）时重播 */
.js .face {
  padding: var(--gap-2);
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  opacity: 0;
  transform: translateY(18px) scale(.985);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  transition-delay: calc(var(--i, 0) * var(--t-stagger));
}
.face { padding: var(--gap-2); background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-md); }
.face.is-in { opacity: 1; transform: none; }
.face__btn {
  display: block;
  width: 100%;
  text-align: left;
}
/* 名称 / 标签 / 展开提示各自独立成行（行内元素上的 margin 不生效） */
.face__btn > span { display: block; }
.face__name { font-size: 15.5px; font-weight: 700; }
.face__tag { margin-top: 4px; font-size: 11.5px; color: var(--teal); letter-spacing: .08em; }
.face__story { display: none; margin-top: 12px; padding-top: 12px; font-size: 13px; color: var(--fg-2); border-top: 1px dashed var(--line-soft); }
.face.is-open .face__story { display: block; animation: panelIn var(--t-fast) var(--ease) both; }
.face__more { margin-top: 10px; font-size: 12px; color: var(--gold); }
.face__claim {
  margin: 0 0 var(--gap-3) 0;
  padding: var(--gap-2) var(--gap-3);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--fg);
  border-left: 3px solid var(--gold);
}

/* --------------------------------------------------- 13 S8 声音 */
.voice {
  padding: var(--gap-4) var(--gap-3);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
}
.voice__label { display: block; font-size: 15px; color: var(--fg); margin-bottom: 10px; }
.voice__field { position: relative; }
.voice__field textarea {
  width: 100%;
  min-height: 92px;
  padding: 14px 86px 14px 16px;
  font: inherit;
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  resize: vertical;
}
.voice__field textarea::placeholder { color: var(--fg-3); }
.voice__field textarea:hover, .voice__field textarea:focus { border-color: var(--teal); }
.voice__count {
  position: absolute;
  right: 14px; bottom: 12px;
  font-size: 12px;
  color: var(--fg-3);
}
.voice__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--gap-2); }
.tagbtn {
  padding: 8px 20px;
  font-size: 13.5px;
  color: var(--fg-2);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.tagbtn:hover { color: var(--fg); border-color: var(--teal); }
.tagbtn[aria-checked="true"] { background: var(--teal); color: var(--bg); border-color: transparent; font-weight: 700; }
@media (prefers-color-scheme: light) {
  .tagbtn[aria-checked="true"] { color: #FFFFFF; }
}
.voice__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--gap-3); }
.voice__msg { margin-top: 12px; font-size: 13px; color: var(--gold); min-height: 20px; }
.voice__preview {
  margin-top: var(--gap-3);
  display: flex;
  justify-content: center;
}
.voice__preview canvas {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.acc {
  margin-top: var(--gap-3);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}
.acc summary {
  padding: 16px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background var(--t-fast) var(--ease);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  flex: none;
  font-size: 16px;
  color: var(--teal);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  transition: transform var(--t-fast) var(--ease);
}
.acc[open] summary::before { content: "−"; transform: rotate(180deg); }
.acc summary:hover { background: var(--card); }
.acc__body {
  padding: 4px 20px 22px;
  font-size: 13.5px;
  color: var(--fg-2);
}
.acc__body h3 { font-size: 13px; letter-spacing: .12em; color: var(--teal); margin: var(--gap-2) 0 8px; }
.acc__body ul, .acc__body ol { display: grid; gap: 7px; }
.acc__body ul li, .acc__body ol li { padding-left: 16px; position: relative; }
.acc__body ul li::before {
  content: ""; position: absolute; left: 2px; top: 10px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--teal);
}
.acc__body ol { counter-reset: o; }
.acc__body ol li::before {
  counter-increment: o; content: counter(o);
  position: absolute; left: 0; top: 2px;
  font-size: 11px; color: var(--gold); font-weight: 700;
}
.srcitem {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  border-bottom: 1px solid var(--line-soft);
}
.srcitem:nth-child(odd) { background: color-mix(in srgb, var(--card) 55%, transparent); }
.srcitem .nm { color: var(--fg); font-weight: 700; }
.srcitem .yr { color: var(--gold); font-weight: 700; white-space: nowrap; }
.srcitem span { font-size: 12.5px; }
.perf li { display: grid; grid-template-columns: 200px 1fr; gap: 12px; }
.perf b { color: var(--gold); }

.outro {
  margin-top: var(--gap-4);
  padding: var(--gap-3);
  text-align: center;
  font-size: clamp(15px, 1.8vw, 21px);
  font-weight: 700;
  color: var(--fg);
  background: linear-gradient(120deg, var(--teal-glow), transparent 55%, var(--gold-glow));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.foot {
  margin-top: var(--gap-6);
  padding-block: var(--gap-3) var(--gap-4);
  border-top: 1px solid var(--line-soft);
  background: var(--bg-2);
}
.foot p { font-size: 12.5px; color: var(--fg-3); text-align: center; }
.foot__work { color: var(--fg); font-weight: 700; margin-bottom: 10px; }
.foot p + p { margin-top: 5px; }

/* --------------------------------------------------- 14 响应式 */
@media (max-width: 1279px) {
  .grid--members { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rt-grid, .dc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .net { grid-template-columns: 1fr; }
}

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

@media (max-width: 767px) {
  :root { --nav-h: 58px; --gap-5: 48px; --gap-6: 64px; }

  /* 移动端导航折叠为抽屉 */
  .burger { display: block; }
  .nav__right { margin-left: auto; }   /* 导航项已脱离文档流，需把右侧键组推到右边缘 */
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px 16px 18px;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--t-mid) var(--ease), opacity var(--t-mid) var(--ease);
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 13px 16px; font-size: 16px; border-radius: var(--r-sm); display: flex; align-items: center; gap: 10px; }
  .nav__sub { display: inline-block; font-size: 12px; color: var(--fg-3); }

  .hero__inner { padding-top: calc(var(--nav-h) + 18px); padding-bottom: 150px; }
  .cd li { min-width: 62px; padding: 6px 6px 4px; }
  .cd__num { font-size: 21px; }

  /* 首屏成员卡片改为底部滑出 */
  .mcard {
    left: 12px; right: 12px;
    top: auto; bottom: 78px;
    width: auto;
    max-height: 46vh;
    overflow-y: auto;
    transform: translateY(24px);
  }
  .mcard.is-on { transform: none; }

  .ring { right: 14px; bottom: 14px; width: 46px; height: 46px; }

  .grid--members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vsys__cards, .prep__list { grid-template-columns: minmax(0, 1fr); }
  .faces__list { grid-template-columns: 1fr; }
  .tl__card { grid-template-columns: 1fr; }
  .venue__mini { grid-template-columns: 1fr; }
  .wk { grid-template-columns: 1fr; gap: 8px; }
  .wk__tag { justify-self: start; }
  .toolbar__count { margin-left: 0; }
  .tabs { width: 100%; }
  .tabs__btn { flex: 1; padding: 9px 10px; font-size: 13px; }
  .venue__tipnote { margin-left: 0; }
  .field { max-width: none; }
  .srcitem { grid-template-columns: 1fr; gap: 2px; }
  .perf li { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 479px) {
  .wrap { padding-inline: 16px; }
  .sec { padding-block: 56px; }
  .grid--members { grid-template-columns: 1fr; }
  .rt-grid, .dc-grid { grid-template-columns: 1fr; }
  .cd { width: 100%; gap: 0; }
  .cd li { flex: 1; min-width: 0; }
  .cd__num { font-size: 19px; }
  .drawer { width: 100%; }
  .drawer__grid { grid-template-columns: 1fr; }
  .net__detail li { grid-template-columns: 1fr; gap: 2px; }
  .brand__text { font-size: 13.5px; }
}

@media (min-width: 1921px) {
  :root { --wrap: 1440px; --gap-6: 130px; }
  body { font-size: 17px; }
  .sec__lead { font-size: 17px; }
  .hero__lead { font-size: 17px; }
  .grid--members { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ------------------------------------------ 15 无障碍与减动效 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .reveal, .face, .panel { opacity: 1; transform: none; }
  .flip__inner, .dc__inner { transition: none; }
  .tf-grow { transform: scaleX(1); }
  .tf-grow--y { transform: scaleY(1); }
  .rt .rt-fill { transition: none; }
  .scroll-hint { animation: none; }
}

@media (prefers-contrast: more) {
  :root { --fg-2: var(--fg); --fg-3: var(--fg-2); --line: var(--fg-3); }
}

@media print {
  .nav, .ring, .scroll-hint, .hero__canvas, .voice__preview { display: none; }
  .reveal, .panel, .face { opacity: 1 !important; transform: none !important; }
  body { background: #fff; color: #000; }
}

/* ============================================================
   第十轮微调（2026-09-22）
   ============================================================ */

/* S2 · 窄屏（≤640px）时间轴：
   ① 节点标签换用两行版（年份一行、事件名一行），不再左右互撞；
   ② 年份刻度只留整十年份与 2026（--minor 隐藏），避免重影。
   时间轴本身仍是横向滑动，不改换行。 */
.tl-node-label--stack { display: none; }
@media (max-width: 1024px) {
  .tl-tick--minor, .tl-ticklabel--minor { display: none; }
}
@media (max-width: 560px) {
  .tl-node .tl-node-label,
  .tl-ticklabel { display: none; }
  .tl-node[data-year="1979"] .tl-node-label--stack,
  .tl-node[data-year="1989"] .tl-node-label--stack,
  .tl-node[data-year="1993"] .tl-node-label--stack,
  .tl-node[data-year="2001"] .tl-node-label--stack,
  .tl-node[data-year="2014"] .tl-node-label--stack,
  .tl-node[data-year="2020"] .tl-node-label--stack,
  .tl-node[data-year="2025"] .tl-node-label--stack,
  .tl-node[data-year="2026"] .tl-node-label--stack,
  .tl-ticklabel[data-y="1980"],
  .tl-ticklabel[data-y="1989"],
  .tl-ticklabel[data-y="2001"] { display: inline; }
  .tl-ticklabel { font-size: 11px; }
  .tl-node-label { font-size: 10.5px; }
}
@media (max-width: 768px) {
  .tl-node-label--line { display: none; }
  .tl-node-label--stack { display: inline; }
  .tl-tick--minor, .tl-ticklabel--minor { display: none; }
}

/* S6 · 中国层条形图：说明与来源移到图下方做图例（SVG 内文字移动端会缩得过小） */
.chart-legend {
  margin: 10px 0 0;
  padding: 0 0 0 20px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--fg-3);
}
.chart-legend .rel__src { white-space: nowrap; }

/* S7 · 窄屏 Tab：不换行断字，横向滑动（配合已缩短的「创新 · 数字化」等短标签） */
@media (max-width: 767px) {
  .tabs { width: auto; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs__btn { flex: 0 0 auto; white-space: nowrap; padding: 9px 14px; font-size: 13px; }
}

/* S3 · 首屏右下角的原创声明（防被误认成 APEC 官方会标） */
.hero__origin {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--fg-2);
  opacity: .6;
  text-align: right;
}

/* S3 主会场与 S7 配图：统一 16:9 + cover（原图即 16:9，cover 不会裁掉左上角「AI 生成」标识） */
.venue__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: filter var(--t-slow) var(--ease);
}
.venue[data-mode="night"] .venue__photo { filter: brightness(.72) saturate(1.08); }
.shot img { aspect-ratio: 16 / 9; object-fit: cover; }

/* ============================================================
   第 1 批新增（2026-10-08）：筛选芯片 / 互动百科面板 / 日程进度 / 版本与更新
   全部为附加样式，不改动既有规则。
   ============================================================ */

/* --- S1 · 筛选芯片 --- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--gap-2);
}
.chips--region { padding-left: 0.5em; }
.chip {
  padding: 7px 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--fg-2);
  font-size: 13px;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.chip:hover { color: var(--fg); }
.chip.is-on { background: var(--card-2, var(--card)); border-color: var(--gold); color: var(--gold); font-weight: 700; }
.chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* 空态提示 */
.empty--hint { color: var(--fg-2); margin-top: -0.6em; }
.empty--hint::before { content: "→ "; color: var(--gold); }

/* --- 互动百科全屏面板 --- */
.ency { position: fixed; inset: 0; z-index: 60; }
@media (max-width: 640px) {
}
.ency[hidden] { display: none; }
.ency__backdrop { position: absolute; inset: 0; background: rgba(4, 10, 18, 0.82); }
.ency__sheet {
  position: absolute;
  top: 64px;
  bottom: auto;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 860px;
  max-height: calc(100vh - 64px - 24px);
  background: var(--panel, #0E2033);
  border-left: 1px solid var(--line, #1E3A55);
  border-right: 1px solid var(--line, #1E3A55);
  overflow-y: auto;
  padding: clamp(16px, 4vw, 40px) clamp(16px, 5vw, 48px) 48px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}
.ency.is-on .ency__sheet { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ency__sheet { transition: none; transform: none; opacity: 1; }
}
.ency__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  border: 1px solid var(--line, #1E3A55);
  background: var(--card, #122A42);
  color: var(--fg, #EAF2F8);
  font-size: 22px;
  line-height: 1;
}
.ency__close:focus-visible { color: var(--gold, #F2B75C); border-color: var(--gold, #F2B75C); outline: 2px solid var(--gold, #F2B75C); outline-offset: 2px; }
@media (any-hover: hover) {
  .ency__close:hover { color: var(--gold, #F2B75C); border-color: var(--gold, #F2B75C); }
}
.ency__head { display: flex; align-items: flex-start; gap: 14px; margin: 8px 0 20px; flex-wrap: wrap; }
.ency__dot { width: 16px; height: 16px; border-radius: var(--r-full); margin-top: 10px; flex: none; background: currentColor; }
.ency__titlebox { flex: 1 1 auto; }
.ency__zh { font-size: clamp(22px, 3.4vw, 30px); font-weight: 700; color: var(--fg, #EAF2F8); line-height: 1.25; }
.ency__en { color: var(--fg-3, #8FA8BF); font-size: 14px; margin-top: 2px; }
.ency__meta { display: flex; gap: 22px; margin-left: auto; }
.ency__cell dt { font-size: 12px; color: var(--fg-3, #8FA8BF); }
.ency__cell dd { font-size: 16px; font-weight: 700; color: var(--fg, #EAF2F8); margin-top: 2px; }

.ency__tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  margin-bottom: 18px;
  background: var(--card, #122A42);
  border: 1px solid var(--line, #1E3A55);
  border-radius: var(--r-full);
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
}
.ency__tab {
  padding: 8px 18px;
  border-radius: var(--r-full);
  color: var(--fg-2, #8FA8BF);
  font-size: 13.5px;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
@media (any-hover: hover) {
  .ency__tab:hover { color: var(--fg, #EAF2F8); }
}
.ency__tab.is-on { background: var(--gold, #F2B75C); color: #08131F; font-weight: 700; }
.ency__tab:focus-visible { outline: 2px solid var(--gold, #F2B75C); outline-offset: 2px; }

.ency__body { min-height: 160px; }
.ency__body p { font-size: 15px; line-height: 1.9; color: var(--fg, #EAF2F8); text-align: justify; }
.ency__body .rel__src { display: block; margin-top: 6px; font-size: 12px; color: var(--fg-3, #8FA8BF); }
.ency__body ul.rel { list-style: none; padding: 0; }
.ency__body ul.rel li { padding: 10px 0; border-bottom: 1px dashed var(--line, #1E3A55); font-size: 14.5px; line-height: 1.8; color: var(--fg, #EAF2F8); text-align: justify; }
.ency__foot { margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--line, #1E3A55); font-size: 12px; color: var(--fg-3, #8FA8BF); }

/* --- S4+ 日程进度 --- */
.sched { list-style: none; padding: 0; margin: 0 0 var(--gap-2); position: relative; }
.sched::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line, #1E3A55); }
.sched__item { position: relative; padding: 0 0 18px 40px; }
.sched__mark {
  position: absolute; left: 2px; top: 2px;
  width: 20px; height: 20px; border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; line-height: 1;
  border: 1.5px solid var(--line, #1E3A55);
  background: var(--panel, #0E2033);
  color: var(--fg-3, #8FA8BF);
}
.sched__item.is-done .sched__mark { border-color: var(--teal, #3FD0C9); color: var(--teal, #3FD0C9); }
.sched__item.is-now .sched__mark { border-color: var(--gold, #F2B75C); color: var(--gold, #F2B75C); box-shadow: 0 0 0 4px rgba(242, 183, 92, 0.15); }
.sched__item:focus-visible { outline: 2px solid var(--gold, #F2B75C); outline-offset: 2px; border-radius: var(--r-sm); }
.sched__when { font-size: 12.5px; color: var(--fg-3, #8FA8BF); letter-spacing: 0.04em; }
.sched__name { font-size: 16px; font-weight: 700; color: var(--fg, #EAF2F8); margin: 2px 0; }
.sched__city { font-size: 13.5px; color: var(--fg-2, #8FA8BF); }
.sched__item.is-done .sched__name { color: var(--fg, #EAF2F8); }
.sched__item.is-todo .sched__name { color: var(--fg-2, #8FA8BF); font-weight: 400; }
.sched__item.is-todo { opacity: 0.82; }
.sched__item.is-now .sched__when { color: var(--gold, #F2B75C); font-weight: 700; }

/* --- 页脚版本与更新日志 --- */
.foot__ver { font-size: 12.5px; color: var(--fg-3, #8FA8BF); margin-top: 6px; }
.foot__log { margin-top: 10px; font-size: 12.5px; color: var(--fg-3, #8FA8BF); }
.foot__log summary { cursor: pointer; color: var(--fg-2, #8FA8BF); }
.foot__log summary:focus-visible { outline: 2px solid var(--gold, #F2B75C); outline-offset: 2px; }
.foot__log ul { list-style: none; padding: 8px 0 0; }
.foot__log li { padding: 3px 0; }
.foot__log .log-v { color: var(--gold, #F2B75C); font-weight: 700; margin-right: 8px; }
.foot__log .log-future { opacity: 0.65; }

/* --- 顶部更新提示条（fixed，不参与文档流，无 CLS） --- */
@media (any-hover: hover) {
}

/* hidden 属性优先：防止上方 display 规则把带 hidden 的条/行顶出来（LH contrast 曾被常驻金色条拉爆） */
.chips[hidden] { display: none; }

/* ============================================================
   第 2 批新增（2026-10-08）：点亮羽翼 / 我的议程 / 服务端校时 / 分享
   全部为附加样式。注意：新增带自定义 display 的组件一律补 [hidden] 规则。
   ============================================================ */

/* --- S1 卡片：卡片 + 点亮按钮 的纵向组合 --- */
.memwrap { display: flex; flex-direction: column; min-width: 0; }
.spark {
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  border: 1px dashed var(--line);
  background: transparent;
  color: var(--fg-2);
  font-size: 12px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.spark:focus-visible { color: var(--gold); border-color: var(--gold); outline: 2px solid var(--gold); outline-offset: 2px; }
@media (any-hover: hover) {
  .spark:hover:not(:disabled) { color: var(--gold); border-color: var(--gold); }
}
.spark.is-on { border-style: solid; border-color: var(--teal); color: var(--teal); background: rgba(63, 208, 201, 0.08); }

/* --- 首屏 11px 小字（点亮总数 / 服务器时间）与分享按钮 --- */
.hero__cnote { font-size: 11px; color: var(--fg-3); opacity: 0.75; margin-top: 4px; min-height: 1.5em; visibility: hidden; }
.hero__cnote[hidden] { display: none; }
.hero__share {
  margin-top: 14px;
  padding: 8px 18px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg-2);
  font-size: 13px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.hero__share:focus-visible { color: var(--gold); border-color: var(--gold); outline: 2px solid var(--gold); outline-offset: 2px; }
@media (any-hover: hover) {
  .hero__share:hover { color: var(--gold); border-color: var(--gold); }
}

/* --- 百科面板分享钮（与关闭钮并排） --- */
.ency__share {
  position: absolute;
  top: 16px; right: 68px;
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--fg-2);
  font-size: 18px;
}
.ency__share:focus-visible { color: var(--gold); border-color: var(--gold); outline: 2px solid var(--gold); outline-offset: 2px; }
@media (any-hover: hover) {
  .ency__share:hover { color: var(--gold); border-color: var(--gold); }
}

/* --- S5 我的议程 --- */
.agenda { margin-top: var(--gap-2); }
.agenda__tip { font-size: 13px; color: var(--fg-3); margin-bottom: 10px; }
.agenda__submit { margin-bottom: 12px; }
.agenda__say { font-size: clamp(16px, 2vw, 20px); font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.agenda__say[hidden] { display: none; }
.agenda__dist { margin-bottom: 12px; }
.agenda__dist[hidden] { display: none; }
.agenda__note { font-size: 13.5px; color: var(--fg-2); margin-bottom: 10px; }
.agenda__bars { width: 100%; max-width: 560px; border-collapse: collapse; }
.agenda__bars th {
  text-align: left; font-size: 13px; font-weight: 400; color: var(--fg-2);
  padding: 4px 10px 4px 0; white-space: nowrap;
}
.agenda__bars td { padding: 4px 0; }
.agenda__track {
  display: block; width: 100%; min-width: 160px; height: 12px;
  border-radius: var(--r-full);
  background: var(--panel); border: 1px solid var(--line-soft);
  overflow: hidden;
}
.agenda__fill { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--gold)); }
.agenda__pct { font-size: 12.5px; color: var(--fg-2); padding-left: 8px; white-space: nowrap; }
.agenda__share {
  padding: 7px 16px; border-radius: var(--r-full);
  border: 1px solid var(--line); background: transparent;
  color: var(--fg-2); font-size: 13px;
}
.agenda__share:focus-visible { color: var(--gold); border-color: var(--gold); outline: 2px solid var(--gold); outline-offset: 2px; }
@media (any-hover: hover) {
  .agenda__share:hover { color: var(--gold); border-color: var(--gold); }
}
.agenda__share[hidden] { display: none; }
.flip.is-dragging { opacity: 0.5; }
.flip[draggable="true"] { cursor: grab; }
.flip.is-dragging { cursor: grabbing; }
#tlRange { cursor: grab; }
#tlRange:active { cursor: grabbing; }

/* --- 分享降级弹层 --- */
.sharedlg { position: fixed; inset: 0; z-index: 90; }
.sharedlg[hidden] { display: none; }
.sharedlg__backdrop { position: absolute; inset: 0; background: rgba(4, 10, 18, 0.82); }
.sharedlg__box {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 32px));
  background: var(--panel); border: 1px solid var(--gold);
  border-radius: var(--r-md);
  padding: 24px;
}
.sharedlg__title { font-size: 14px; color: var(--fg); margin-bottom: 12px; }
.sharedlg__input {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--card); color: var(--fg);
  font-size: 13px;
}
.sharedlg__close {
  position: absolute; top: 8px; right: 8px;
  width: 36px; height: 36px;
  border-radius: var(--r-full);
  border: 1px solid var(--line); background: var(--card); color: var(--fg-2);
  font-size: 18px;
}
.sharedlg__close:focus-visible { color: var(--gold); border-color: var(--gold); outline: 2px solid var(--gold); outline-offset: 2px; }
@media (any-hover: hover) {
  .sharedlg__close:hover { color: var(--gold); border-color: var(--gold); }
}
.sharedlg__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.sharedlg__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--fg-2);
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}
.sharedlg__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (any-hover: hover) {
  .sharedlg__btn:hover { border-color: var(--gold); color: var(--fg); }
}

/* 点亮/校时小字：常驻占位（防 CLS），用 visibility 切换显示 */
.hero__cnote.is-shown { visibility: visible; }

/* ============================================================
   第 3 批新增（2026-10-09）：鼠标悬停交互特效
   规范：@media (hover:hover) 包住全部悬停规则；位移类另要求
   (prefers-reduced-motion: no-preference)；过渡 ≤200ms；
   只过渡 transform/opacity/box-shadow/border-color/color/background-color；
   :focus-visible 与 :hover 同样式。
   ============================================================ */

:root { --ease-soft: cubic-bezier(.2, .7, .3, 1); }

/* ---------- P0 · 链接下划线从左到右展开（background-size，不动 width） ---------- */
.nav__links a,
.toc-list a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 100%;
  transition: background-size 200ms var(--ease-soft), color 200ms var(--ease-soft), background-color 200ms var(--ease-soft);
}
@media (any-hover: hover) {
  .nav__links a:hover,
  .nav__links a:focus-visible,
  .toc-list a:hover,
  .toc-list a:focus-visible { background-size: 100% 1px; }
}

/* ---------- P0 · 可点击卡片统一「三件套」：抬起 2px + accent 边框 + 阴影 ---------- */
.flip, .vscard, .face {
  transition: transform 200ms var(--ease-soft), border-color 200ms var(--ease-soft),
              box-shadow 200ms var(--ease-soft), background-color 200ms var(--ease-soft);
}
@media (any-hover: hover) and (prefers-reduced-motion: no-preference) {
  .flip:hover, .flip:focus-visible,
  .vscard:hover, .vscard:focus-visible,
  .face:hover, .face:focus-visible {
    transform: translateY(-3px);
    border-color: var(--teal);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  }
}
@media (any-hover: hover) and (prefers-reduced-motion: reduce) {
  /* reduced-motion：只留颜色 / 边框 / 阴影，不做位移 */
  .flip:hover, .flip:focus-visible,
  .vscard:hover, .vscard:focus-visible,
  .face:hover, .face:focus-visible {
    border-color: var(--teal);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  }
}

/* ---------- P0 · 经济体抽象色系点：轻微放大 1.15× ---------- */
@media (any-hover: hover) and (prefers-reduced-motion: no-preference) {
  .mem:hover .mem__dot, .mem:focus-visible .mem__dot { transform: scale(1.15); }
}

/* ---------- P1 · 双轨时间轴节点：圆点放大 1.4× + 光环增强 + 标签浮出 + 连线加亮 ---------- */
.tl-node:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.tl-node .tl-stem { opacity: 0.55; }
.tl-node .tl-node-label { opacity: 0.82; }
.tl-node .core,
.tl-node .halo,
.tl-node .tl-stem,
.tl-node .tl-node-label {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 200ms var(--ease-soft), opacity 200ms var(--ease-soft), fill 200ms var(--ease-soft), stroke 200ms var(--ease-soft);
}
@media (any-hover: hover) {
  .tl-node:hover .core, .tl-node:focus-visible .core { transform: scale(1.4); }
  .tl-node:hover .halo, .tl-node:focus-visible .halo { opacity: 0.9; transform: scale(1.12); }
  .tl-node:hover .tl-stem, .tl-node:focus-visible .tl-stem { opacity: 1; }
  .tl-node:hover .tl-node-label, .tl-node:focus-visible .tl-node-label { opacity: 1; fill: var(--fg); }
}
@media (any-hover: hover) and (prefers-reduced-motion: reduce) {
  .tl-node:hover .core, .tl-node:focus-visible .core,
  .tl-node:hover .halo, .tl-node:focus-visible .halo { transform: none; }
}

/* ---------- P1 · 日程节点：悬停 / 聚焦浮出「状态 · 城市 · 日期」小浮层（content:attr，零布局位移） ---------- */
.sched__item::after {
  content: attr(data-tip);
  position: absolute;
  left: 46px;
  top: -4px;
  padding: 5px 12px;
  border-radius: var(--r-sm);
  background: var(--card);
  border: 1px solid var(--gold);
  color: var(--fg);
  font-size: 12.5px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 200ms var(--ease-soft), transform 200ms var(--ease-soft);
  pointer-events: none;
  z-index: 5;
}
@media (any-hover: hover) {
  .sched__item:hover::after, .sched__item:focus::after { opacity: 1; transform: none; }
}
.sched__item:focus::after { opacity: 1; transform: none; }

/* ---------- P1 · 图表柱体：加亮 + 顶部高光 + 浮层显示数值与来源 ---------- */
.tf-bar:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (any-hover: hover) {
  .tf-bar:hover, .tf-bar:focus-visible { fill: var(--teal); filter: brightness(1.15); }
}
.chart-tip {
  position: fixed;
  transform: translate(-50%, -100%);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  background: var(--card);
  border: 1px solid var(--gold);
  color: var(--fg);
  font-size: 12.5px;
  line-height: 1.5;
  max-width: 340px;
  text-align: left;
  pointer-events: none;
  z-index: 70;
  opacity: 1;
  transition: opacity 150ms var(--ease-soft);
}
.chart-tip[hidden] { display: none; }

/* ---------- P2 · 筛选芯片：底色填充 + 抬起 1px ---------- */
@media (any-hover: hover) and (prefers-reduced-motion: no-preference) {
  .chip:hover, .chip:focus-visible { transform: translateY(-1px); }
}

/* ---------- P2 · 页脚更新日志条目：左侧 accent 竖条 scaleX 滑入 ---------- */
.foot__log li { position: relative; padding-left: 14px; }
.foot__log li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 3px; height: 1.1em;
  border-radius: 2px;
  background: var(--gold);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  transition: transform 200ms var(--ease-soft);
}
@media (any-hover: hover) {
  .foot__log li:hover::before, .foot__log li:focus-within::before { transform: translateY(-50%) scaleX(1); }
}

/* ============================================================
   第 4 批新增（2026-10-10）：深圳声音墙 / 交互徽标 / 首次引导
   ============================================================ */

/* --- 交互徽标（7 处；aria-hidden，桌面与移动端均显示） --- */
.hint-badge {
  position: absolute;
  top: 6px; right: 0;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--fg-3);
  pointer-events: none;
}
.hero__badge { top: auto; bottom: 8px; right: 8px; }

/* --- 第 6 批 · 首屏交互导览条（「这里可以玩」） --- */
.playnav { margin-top: 10px; }
.playnav__title { font-size: 13px; color: var(--fg-3); margin-bottom: 8px; }
.playnav__grid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.playnav__btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--fg-2);
  font-size: 13px;
  cursor: pointer;
}
.playnav__ico { color: var(--gold); font-size: 14px; }
.playnav__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (any-hover: hover) {
  .playnav__btn:hover { border-color: var(--gold); color: var(--fg); }
}
@media (max-width: 560px) {
  .playnav__grid { display: grid; grid-template-columns: 1fr 1fr; }
  .playnav__btn { justify-content: flex-start; }
}

/* --- 演示目标 / 降级脉冲高亮（JS 加 .is-pulse，2s 后移除） --- */
.is-pulse {
  animation: pulseRing var(--t-ambient) var(--ease) 1;
  border-color: var(--gold) !important;
}
@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 183, 92, 0); }
  40% { box-shadow: 0 0 0 6px rgba(242, 183, 92, 0.28); }
}
@media (prefers-reduced-motion: reduce) {
  .is-pulse { animation: none; }
}

/* --- 深圳声音墙：示范卡展示区 --- */
.voice__show { margin-bottom: 18px; }
.voice__shownote { font-size: 13px; color: var(--fg-2); margin-bottom: 10px; }
.voice__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.vcard {
  margin: 0;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}
.vcard__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.vcard__tag { font-size: 12px; font-weight: 700; color: var(--teal); }
.vcard__demo {
  font-size: 11px;
  color: var(--fg-3);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  padding: 1px 8px;
  opacity: 0.85;
}
.vcard__text { margin: 0; font-size: 14px; line-height: 1.7; color: var(--fg); }
.voice__another { margin-bottom: 6px; }

/* --- 点词成句芯片 --- */
.voice__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.chipchip {
  padding: 6px 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg-2);
  font-size: 13px;
  transition: color 150ms var(--ease-soft), border-color 150ms var(--ease-soft), background-color 150ms var(--ease-soft);
}
.chipchip:hover, .chipchip:focus-visible { color: var(--gold); border-color: var(--gold); }
.chipchip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* --- 声音计数 / 隐私 / 议题提示 / 分享 --- */
.voice__countline { font-size: 12px; color: var(--fg-2); margin-top: 8px; }
.voice__countline[hidden] { display: none; }
.voice__vhint { font-size: 14px; font-weight: 700; color: var(--gold); margin-top: 8px; }
.voice__vhint[hidden] { display: none; }
.voice__privacy { font-size: 12px; color: var(--fg-3); }
