:root {
  color-scheme: dark;
  --bg: #030706;
  --panel-solid: #06100d;
  --panel-solid-strong: #081712;
  --body-bg:
    radial-gradient(circle at 50% 12%, rgba(0, 229, 255, 0.08), transparent 34rem),
    linear-gradient(135deg, #030706 0%, #07110e 48%, #050708 100%);
  --panel-bg:
    linear-gradient(135deg, rgba(10, 20, 16, 0.92), rgba(5, 12, 9, 0.88)),
    var(--panel-solid);
  --control-bg: rgba(0, 0, 0, 0.22);
  --control-active-ink: #00120c;
  --glass: rgba(10, 20, 16, 0.62);
  --glass-strong: rgba(13, 28, 23, 0.82);
  --line: rgba(0, 250, 154, 0.18);
  --line-cyan: rgba(0, 229, 255, 0.28);
  --green: #00fa9a;
  --cyan: #00e5ff;
  --amber: #ffd166;
  --coral: #ff6b6b;
  --ink: #e8fff7;
  --muted: rgba(232, 255, 247, 0.62);
  --faint: rgba(232, 255, 247, 0.34);
  --mono: "Fira Code", "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --left-panel-width: 220px;
  --right-panel-width: 280px;
  /* ── 全站布局 tokens（唯一来源）：页面版心 / 栏宽 / 安全边距 ────────────
     改版心只改这里；各页面容器统一引用，不再各自写死 px。 */
  --page-max: 1920px;          /* 控制台主壳（xishi.html） */
  --page-max-wide: 1760px;     /* 列表 / 表格型页面 */
  --page-max-mid: 1440px;      /* 内容 / 支持 / 留言型页面 */
  --page-max-reading: 1280px;  /* 阅读型页面（单篇报告、关于页） */
  --page-gutter: 32px;         /* 桌面左右安全边距（≤820px 收成 20px，见文件末尾断点） */
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f6fbf8;
  --panel-solid: #ffffff;
  --panel-solid-strong: #eef8f3;
  --body-bg:
    radial-gradient(circle at 42% 8%, rgba(0, 229, 255, 0.13), transparent 30rem),
    linear-gradient(135deg, #f7fff9 0%, #eef8f5 54%, #f3f6ff 100%);
  --panel-bg:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 248, 243, 0.9)),
    var(--panel-solid);
  --control-bg: rgba(255, 255, 255, 0.74);
  --control-active-ink: #002017;
  --glass: rgba(255, 255, 255, 0.68);
  --glass-strong: rgba(255, 255, 255, 0.88);
  --line: rgba(0, 128, 96, 0.22);
  --line-cyan: rgba(0, 126, 150, 0.26);
  --green: #00a86b;
  --cyan: #007d93;
  --amber: #9a6400;
  --coral: #c83636;
  --ink: #07231c;
  --muted: rgba(7, 35, 28, 0.68);
  --faint: rgba(7, 35, 28, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  background-color: var(--bg);
}

body {
  margin: 0;
  overflow-x: hidden;
  isolation: isolate;
  background-color: var(--bg);
  background: var(--body-bg) !important;
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

button {
  font: inherit;
}

.score-debug-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin-top: 6px;
  padding: 3px 6px;
  border: 1px solid var(--line-cyan);
  background: rgba(0, 0, 0, 0.25);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.score-debug-badge em,
.score-debug-badge i {
  font-style: normal;
}

.score-debug-badge em {
  color: var(--cyan);
}

.score-debug-badge i {
  color: var(--faint);
}

.score-debug-badge strong {
  color: var(--green);
  font-weight: 700;
}

#topicField {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.42;
  pointer-events: none;
}

.scanline {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 4px;
  mix-blend-mode: screen;
  opacity: 0.16;
}

.shell {
  position: relative;
  z-index: 2;
  width: min(var(--page-max), calc(100vw - var(--page-gutter)));
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 0;
}

.topbar,
.panel {
  border: 1px solid var(--line);
  background-color: var(--panel-solid);
  background: var(--panel-bg) !important;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.04), 0 26px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(22px);
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 180px;
  align-items: center;
  gap: 18px;
  min-height: 82px;
  padding: 14px 18px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.brand-mark {
  width: 120px;
  height: 54px;
  flex: 0 0 auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0, 250, 154, 0.42));
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-mark path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chaos-line {
  stroke: rgba(0, 229, 255, 0.72);
  stroke-width: 2.4;
}

.arc-line {
  stroke: var(--cyan);
  stroke-width: 4;
}

.arc-line.muted {
  stroke: rgba(0, 229, 255, 0.32);
  stroke-width: 2.8;
}

.stem {
  stroke: var(--green);
  stroke-width: 4.2;
}

.facet {
  stroke: #37ff62;
  stroke-width: 3.4;
}

.leaf-line {
  stroke-width: 2;
}

.leaf-eye {
  fill: var(--green);
  stroke: rgba(232, 255, 247, 0.92);
  stroke-width: 0.9;
}

.kicker,
.metric-label,
.clock,
.section-title,
.focus-meta,
.source-list,
.keywords,
.source-links {
  font-family: var(--mono);
}

.kicker {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 11px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 650;
  line-height: 1;
}

.brand-titleline {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  min-width: 0;
}

.brand-slogan {
  position: relative;
  margin: 0 0 6px;
  padding: 0;
  max-width: min(36vw, 420px);
  color: rgba(219, 246, 239, 0.82);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: normal;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.62),
    0 0 14px rgba(0, 250, 154, 0.18),
    0 0 24px rgba(0, 229, 255, 0.1);
  animation: slogan-soft-jitter 5.6s steps(2, end) infinite;
}

.brand-slogan::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: -8px;
  height: 22px;
  background:
    radial-gradient(ellipse at 22% 55%, rgba(210, 245, 238, 0.18), transparent 58%),
    radial-gradient(ellipse at 72% 35%, rgba(0, 229, 255, 0.12), transparent 62%);
  filter: blur(7px);
  opacity: 0.48;
  pointer-events: none;
  animation: slogan-smoke-drift 8s ease-in-out infinite;
}

@keyframes slogan-soft-jitter {
  0%, 84%, 100% {
    transform: translate3d(0, 0, 0);
  }
  86% {
    transform: translate3d(0.25px, -0.15px, 0);
  }
  88% {
    transform: translate3d(-0.2px, 0.12px, 0);
  }
  90% {
    transform: translate3d(0.12px, 0, 0);
  }
}

@keyframes slogan-smoke-drift {
  0%, 100% {
    opacity: 0.34;
    transform: translate3d(-2px, 0, 0) scaleX(0.96);
  }
  50% {
    opacity: 0.55;
    transform: translate3d(3px, -1px, 0) scaleX(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-slogan,
  .brand-slogan::before {
    animation: none;
  }
}

.mode-switch {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(64px, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: var(--control-bg);
}

.mode-btn,
.icon-btn,
.theme-toggle {
  min-height: 38px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.mode-btn {
  padding: 0 14px;
  font-family: var(--mono);
  font-size: 12px;
}

.mode-btn.active {
  color: var(--control-active-ink);
  background: var(--green);
  box-shadow: 0 0 20px rgba(0, 250, 154, 0.32);
}

.theme-toggle {
  min-width: 58px;
  padding: 0 12px;
  border: 1px solid var(--line-cyan);
  background: var(--control-bg);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
}

.theme-toggle[aria-pressed="true"] {
  border-color: var(--green);
  color: var(--control-active-ink);
  background: var(--green);
}

.clock {
  justify-self: end;
  text-align: right;
}

.clock span {
  display: block;
  color: var(--cyan);
  font-size: 21px;
}

.clock small {
  color: var(--faint);
  font-size: 10px;
}

.dashboard {
  display: grid;
  /* 三栏：左导航稳定 / 中间自适应 / 右辅助固定。
     ≥1600px 完全跟随用户拖拽的栏宽；≤1599px 由下方断点压缩左右栏（先缩右栏）。 */
  grid-template-columns: var(--left-panel-width) minmax(0, 1fr) var(--right-panel-width);
  align-items: start;
  gap: 16px;
  margin-top: 16px;
  transition: grid-template-columns 220ms ease;
}

/* 1181–1599px：三栏保留但压缩左右栏，把空间让给中间内容
   （min() 只封顶、不改写用户拖拽的较小值，也避免与 inline token 冲突） */
@media (max-width: 1599px) {
  .dashboard {
    grid-template-columns: min(var(--left-panel-width), 220px) minmax(0, 1fr) min(var(--right-panel-width), 280px);
  }
}

/* 1181–1300px：再压一档，避免中间内容列被两侧栏挤到 700px 以下 */
@media (max-width: 1300px) {
  .dashboard {
    grid-template-columns: min(var(--left-panel-width), 200px) minmax(0, 1fr) min(var(--right-panel-width), 260px);
  }
}

.user-chip {
  --tier-main: var(--green);
  --tier-dark: #059669;
  --tier-rgb: 16, 185, 129;
  display: grid;
  grid-template-columns: minmax(168px, 1fr) auto auto auto;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 5px 7px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: rgba(0, 0, 0, 0.24);
  font-family: var(--mono);
  box-shadow:
    inset 0 0 0 1px rgba(var(--tier-rgb), 0.08),
    0 0 18px rgba(var(--tier-rgb), 0.1);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.tier-green,
.tier-emerald {
  --tier-main: #10b981;
  --tier-dark: #047857;
  --tier-rgb: 16, 185, 129;
}

.tier-blue {
  --tier-main: #3b82f6;
  --tier-dark: #1d4ed8;
  --tier-rgb: 59, 130, 246;
}

.tier-yellow,
.tier-purple {
  --tier-main: #facc15;
  --tier-dark: #ca8a04;
  --tier-rgb: 250, 204, 21;
}

.tier-orange,
.tier-amber {
  --tier-main: #f97316;
  --tier-dark: #c2410c;
  --tier-rgb: 249, 115, 22;
}

.tier-red {
  --tier-main: #ef4444;
  --tier-dark: #b91c1c;
  --tier-rgb: 239, 68, 68;
}

.user-chip.tier-green,
.user-chip.tier-emerald,
.user-chip.tier-blue,
.user-chip.tier-yellow,
.user-chip.tier-purple,
.user-chip.tier-orange,
.user-chip.tier-amber,
.user-chip.tier-red {
  border-color: rgba(var(--tier-rgb), 0.38);
  box-shadow:
    inset 0 0 0 1px rgba(var(--tier-rgb), 0.12),
    0 0 18px rgba(var(--tier-rgb), 0.18);
}

.user-profile-trigger {
  display: grid;
  grid-template-columns: 34px minmax(150px, 230px);
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.user-profile-trigger:hover .user-avatar,
.user-profile-trigger:focus-visible .user-avatar {
  box-shadow:
    0 0 0 2px rgba(0, 229, 255, 0.82),
    0 0 18px rgba(0, 229, 255, 0.42);
}

.user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #00120c;
  background: var(--green);
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(0, 229, 255, 0.66);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.18),
    0 0 12px rgba(0, 229, 255, 0.28);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.user-avatar.tier-green,
.user-avatar.tier-emerald {
  --tier-main: #10b981;
  --tier-dark: #047857;
  --tier-rgb: 16, 185, 129;
}

.user-avatar.tier-blue {
  --tier-main: #3b82f6;
  --tier-dark: #1d4ed8;
  --tier-rgb: 59, 130, 246;
}

.user-avatar.tier-yellow,
.user-avatar.tier-purple {
  --tier-main: #facc15;
  --tier-dark: #ca8a04;
  --tier-rgb: 250, 204, 21;
}

.user-avatar.tier-orange,
.user-avatar.tier-amber {
  --tier-main: #f97316;
  --tier-dark: #c2410c;
  --tier-rgb: 249, 115, 22;
}

.user-avatar.tier-red {
  --tier-main: #ef4444;
  --tier-dark: #b91c1c;
  --tier-rgb: 239, 68, 68;
}

.data-reservoir {
  --tier-main: #10b981;
  --tier-dark: #047857;
  --tier-rgb: 16, 185, 129;
  position: relative;
  width: 13px;
  height: 30px;
  border: 1px solid rgba(30, 41, 59, 0.95);
  border-radius: 6px;
  background: rgba(2, 6, 23, 0.8);
  overflow: hidden;
  box-shadow:
    inset 0 0 8px rgba(0, 0, 0, 0.72),
    0 0 8px rgba(var(--tier-rgb), 0.18);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.data-reservoir.tier-green,
.data-reservoir.tier-emerald,
.data-reservoir.tier-blue,
.data-reservoir.tier-yellow,
.data-reservoir.tier-purple,
.data-reservoir.tier-orange,
.data-reservoir.tier-amber,
.data-reservoir.tier-red {
  border-color: rgba(var(--tier-rgb), 0.46);
}

.data-reservoir span {
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 2px;
  height: 0%;
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), var(--tier-main) 24%, var(--tier-dark));
  box-shadow:
    0 0 10px rgba(var(--tier-rgb), 0.72),
    inset 0 1px 3px rgba(255, 255, 255, 0.36);
  transition: height 500ms cubic-bezier(0.2, 1.2, 0.32, 1);
}

.user-level-panel {
  --tier-main: #10b981;
  --tier-dark: #047857;
  --tier-rgb: 16, 185, 129;
  border-color: rgba(var(--tier-rgb), 0.3);
  box-shadow: 0 0 10px rgba(var(--tier-rgb), 0.18);
}

.user-level-panel.tier-blue {
  --tier-main: #3b82f6;
  --tier-dark: #1d4ed8;
  --tier-rgb: 59, 130, 246;
}

.user-level-panel.tier-yellow,
.user-level-panel.tier-purple {
  --tier-main: #facc15;
  --tier-dark: #ca8a04;
  --tier-rgb: 250, 204, 21;
}

.user-level-panel.tier-orange,
.user-level-panel.tier-amber {
  --tier-main: #f97316;
  --tier-dark: #c2410c;
  --tier-rgb: 249, 115, 22;
}

.user-level-panel.tier-red {
  --tier-main: #ef4444;
  --tier-dark: #b91c1c;
  --tier-rgb: 239, 68, 68;
}

.user-level-panel.tier-green,
.user-level-panel.tier-emerald,
.user-level-panel.tier-blue,
.user-level-panel.tier-yellow,
.user-level-panel.tier-purple,
.user-level-panel.tier-orange,
.user-level-panel.tier-amber,
.user-level-panel.tier-red {
  border-color: rgba(var(--tier-rgb), 0.3);
  box-shadow: 0 0 10px rgba(var(--tier-rgb), 0.24);
}

.user-level-title {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 800;
}

.user-exp-meter {
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(30, 41, 59, 0.96);
  background: rgba(2, 6, 23, 0.78);
}

.user-exp-meter span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--tier-dark), var(--tier-main));
  box-shadow: 0 0 12px rgba(var(--tier-rgb), 0.62);
  transition: width 500ms cubic-bezier(0.2, 1.2, 0.32, 1);
}

.user-main {
  min-width: 0;
  color: var(--cyan);
  text-decoration: none;
}

.user-main strong,
.user-main small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-main strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.25;
}

.user-main small {
  margin-top: 4px;
  color: rgba(148, 163, 184, 0.86);
  font-size: 10px;
  letter-spacing: 0;
}

.user-logout {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 107, 107, 0.28);
  color: var(--coral);
  background: transparent;
  cursor: pointer;
}

.wallet-chip {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 9px 0 7px;
  border: 1px solid rgba(255, 43, 113, 0.54);
  background:
    linear-gradient(90deg, rgba(255, 43, 113, 0.22), transparent 38%, rgba(0, 229, 255, 0.12)),
    radial-gradient(circle at 24% 50%, rgba(255, 43, 113, 0.46), transparent 42%),
    rgba(5, 0, 8, 0.82);
  color: #ffe8f1;
  font-family: var(--mono);
  font-size: 11px;
  text-decoration: none;
  box-shadow:
    0 0 18px rgba(255, 43, 113, 0.18),
    inset 0 0 18px rgba(0, 229, 255, 0.08);
  cursor: pointer;
  overflow: hidden;
}

.wallet-chip::before,
.wallet-chip::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.wallet-chip::before {
  inset: -1px;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(255, 255, 255, 0.32) 20%, transparent 24% 54%, rgba(0, 229, 255, 0.28) 56%, transparent 62%),
    repeating-linear-gradient(90deg, transparent 0 11px, rgba(255, 43, 113, 0.16) 12px 13px);
  opacity: 0.72;
  animation: walletGlitchSweep 2.6s linear infinite;
}

.wallet-chip::after {
  left: 13px;
  top: 4px;
  width: 34px;
  height: 24px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 209, 102, 0.95) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(0, 229, 255, 0.9) 0 1px, transparent 2px);
  background-size: 17px 12px, 23px 15px, 13px 14px;
  opacity: 0.78;
  mix-blend-mode: screen;
  animation: walletSparkDrift 1.15s steps(2, end) infinite;
}

.wallet-chip:hover,
.wallet-chip:focus-visible {
  border-color: rgba(255, 209, 102, 0.88);
  box-shadow:
    0 0 22px rgba(255, 43, 113, 0.44),
    0 0 34px rgba(0, 229, 255, 0.22),
    inset 0 0 20px rgba(255, 43, 113, 0.16);
  outline: none;
}

.wallet-crystal {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 25px;
  display: inline-block;
  flex: 0 0 auto;
  clip-path: polygon(50% 0, 92% 23%, 78% 82%, 50% 100%, 22% 82%, 8% 23%);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.94) 0 9%, transparent 10% 22%, rgba(255, 196, 219, 0.92) 23% 33%, transparent 34%),
    linear-gradient(145deg, #fff1f7 0 12%, #ff2b71 13% 46%, #9a00ff 47% 68%, #00e5ff 69% 100%);
  box-shadow:
    0 0 10px rgba(255, 43, 113, 0.9),
    0 0 22px rgba(255, 43, 113, 0.45),
    0 0 30px rgba(0, 229, 255, 0.24);
  animation: walletCrystalPulse 1.45s ease-in-out infinite;
}

.wallet-crystal::after {
  content: "";
  position: absolute;
  left: 8px;
  top: -3px;
  width: 15px;
  height: 30px;
  background: linear-gradient(180deg, rgba(255, 209, 102, 0), rgba(255, 209, 102, 0.95) 24%, rgba(0, 229, 255, 0.85) 48%, rgba(255, 209, 102, 0));
  clip-path: polygon(35% 0, 100% 0, 58% 37%, 100% 37%, 18% 100%, 42% 52%, 0 52%);
  filter: drop-shadow(0 0 6px rgba(255, 209, 102, 0.9));
  opacity: 0.92;
  animation: walletLightning 0.82s steps(2, end) infinite;
}

.wallet-chip strong {
  position: relative;
  z-index: 1;
  color: #fff0f6;
  font-size: 15px;
  text-shadow: 0 0 9px rgba(255, 43, 113, 0.88);
}

@keyframes walletCrystalPulse {
  50% {
    filter: brightness(1.65) saturate(1.35);
    transform: translateY(-1px);
  }
}

@keyframes walletLightning {
  0%,
  100% {
    transform: translateX(0) scaleY(0.82);
    opacity: 0.34;
  }
  44% {
    transform: translateX(-2px) scaleY(1.08);
    opacity: 1;
  }
}

@keyframes walletGlitchSweep {
  from {
    transform: translateX(-38%);
  }
  to {
    transform: translateX(38%);
  }
}

@keyframes walletSparkDrift {
  50% {
    transform: translate(4px, -1px);
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════
   REWARD INBOX — pending rewards / check-in
   ═══════════════════════════════════════════ */

.reward-inbox {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 10px 4px 8px;
  border: 1px solid rgba(0, 250, 154, 0.38);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 250, 154, 0.06) 0%, rgba(0, 229, 255, 0.04) 100%);
  cursor: pointer;
  font-family: var(--mono, 'Fira Code', monospace);
  transition: all 0.25s ease;
  overflow: hidden;
  flex-shrink: 0;
}

.reward-inbox:hover,
.reward-inbox:focus-visible {
  border-color: rgba(0, 250, 154, 0.7);
  background: linear-gradient(135deg, rgba(0, 250, 154, 0.12) 0%, rgba(0, 229, 255, 0.08) 100%);
  box-shadow: 0 0 14px rgba(0, 250, 154, 0.2), inset 0 0 10px rgba(0, 250, 154, 0.06);
  outline: none;
}

.reward-inbox:active {
  transform: scale(0.97);
}

/* Glow pulse behind the icon */
.reward-inbox-glow {
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 250, 154, 0.15), transparent 70%);
  animation: rewardGlowPulse 2.4s ease-in-out infinite;
  pointer-events: none;
}

/* Star icon */
.reward-inbox-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #00fa9a;
  filter: drop-shadow(0 0 4px rgba(0, 250, 154, 0.6));
}

.reward-inbox-icon svg {
  width: 16px;
  height: 16px;
  fill: rgba(0, 250, 154, 0.15);
  stroke: #00fa9a;
}

/* Text content */
.reward-inbox-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  min-width: 0;
}

.reward-inbox-label {
  font-size: 10px;
  font-weight: 600;
  color: #00fa9a;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.reward-inbox-detail {
  font-size: 9px;
  color: rgba(0, 229, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

/* Count badge */
.reward-inbox-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff2b71, #ff6b9d);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  box-shadow: 0 0 8px rgba(255, 43, 113, 0.5);
  flex-shrink: 0;
}

/* Claimed state (after clicking) — fade out then hide */
.reward-inbox.claimed {
  border-color: rgba(0, 250, 154, 0.2);
  opacity: 0;
  cursor: default;
  pointer-events: none;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.5s ease;
}

.reward-inbox.claimed .reward-inbox-glow {
  animation: none;
  opacity: 0;
}

/* Animations */
@keyframes rewardGlowPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes rewardClaimFlash {
  0% { box-shadow: 0 0 0 0 rgba(0, 250, 154, 0.6); }
  50% { box-shadow: 0 0 20px 4px rgba(0, 250, 154, 0.3); }
  100% { box-shadow: 0 0 0 0 rgba(0, 250, 154, 0); }
}

.reward-inbox.claiming {
  animation: rewardClaimFlash 0.6s ease-out;
  border-color: #00fa9a;
  pointer-events: none;
  opacity: 0.7;
}

.admin-entry {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 209, 102, 0.42);
  color: var(--amber);
  background: rgba(255, 209, 102, 0.08);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
  box-shadow: 0 0 18px rgba(255, 209, 102, 0.12);
}

.admin-entry:hover,
.admin-entry:focus-visible {
  color: #170f00;
  background: var(--amber);
  outline: none;
}

.admin-entry.hidden {
  display: none;
}

.account-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 92;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.64);
}

.account-modal-backdrop.open {
  display: grid;
}

.account-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: min(780px, calc(100vh - 40px));
  overflow-y: auto;
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(0, 229, 255, 0.28);
  background: rgba(3, 10, 10, 0.96);
  box-shadow: 0 0 0 1px rgba(0, 250, 154, 0.08), 0 28px 90px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(22px);
}

.account-modal h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  font-weight: 560;
}

.settings-block {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  background: rgba(0, 0, 0, 0.2);
}

.settings-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.settings-block-head strong {
  color: var(--green);
}

.settings-field {
  display: grid;
  gap: 6px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.settings-field input {
  min-height: 38px;
  width: 100%;
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: rgba(0, 0, 0, 0.28);
  color: var(--ink);
  padding: 0 10px;
  font: inherit;
  outline: none;
}

.settings-field input:focus {
  border-color: rgba(0, 250, 154, 0.7);
  box-shadow: 0 0 0 3px rgba(0, 250, 154, 0.12);
}

.settings-field input[readonly] {
  color: var(--muted);
}

.settings-segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.settings-segmented label {
  display: block;
  min-width: 0;
}

.settings-segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.settings-segmented span {
  display: grid;
  place-items: center;
  min-height: 36px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: rgba(0, 0, 0, 0.22);
  color: var(--muted);
  cursor: pointer;
}

.settings-segmented input:checked + span {
  border-color: rgba(0, 250, 154, 0.7);
  color: var(--green);
  background: rgba(0, 250, 154, 0.08);
  box-shadow: 0 0 14px rgba(0, 250, 154, 0.12);
}

.settings-segmented input:focus-visible + span {
  outline: 2px solid rgba(0, 250, 154, 0.52);
  outline-offset: 2px;
}

.settings-action {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: rgba(0, 0, 0, 0.22);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
}

.settings-action:hover,
.settings-action:focus-visible {
  border-color: rgba(0, 250, 154, 0.64);
  color: var(--green);
  outline: none;
}

.settings-action.danger {
  border-color: rgba(255, 107, 107, 0.32);
  color: var(--coral);
}

.settings-theme-toggle {
  width: 100%;
}

.settings-message {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.support-entry-button {
  display: inline-grid;
  place-items: center;
  width: 100%;
  min-height: 46px;
  margin-top: 8px;
  border: 1px solid rgba(0, 250, 154, 0.48);
  background:
    linear-gradient(110deg, rgba(0, 250, 154, 0.22), rgba(0, 229, 255, 0.12), rgba(255, 43, 214, 0.06)),
    rgba(0, 0, 0, 0.24);
  color: var(--green);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  text-decoration: none;
  text-shadow: 0 0 12px rgba(0, 250, 154, 0.4), 0 0 24px rgba(0, 229, 255, 0.2);
  box-shadow:
    0 0 0 1px rgba(0, 250, 154, 0.08),
    0 0 18px rgba(0, 250, 154, 0.18),
    inset 0 0 20px rgba(0, 229, 255, 0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.support-entry-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.support-entry-button:hover::before,
.support-entry-button:focus-visible::before {
  transform: translateX(120%);
}

.support-entry-button:hover,
.support-entry-button:focus-visible {
  border-color: rgba(0, 250, 154, 0.82);
  color: #00120c;
  background: linear-gradient(110deg, var(--green), var(--cyan));
  text-shadow: none;
  box-shadow:
    0 0 28px rgba(0, 250, 154, 0.36),
    0 0 60px rgba(0, 229, 255, 0.18);
  outline: none;
}

.detail-modal-backdrop.wallet-mode .detail-modal {
  width: min(640px, 100%);
  border-color: rgba(255, 43, 113, 0.42);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 43, 113, 0.22), transparent 18rem),
    radial-gradient(circle at 84% 12%, rgba(0, 229, 255, 0.16), transparent 14rem),
    linear-gradient(145deg, rgba(18, 3, 14, 0.98), rgba(2, 11, 13, 0.96));
  box-shadow:
    0 0 0 1px rgba(255, 209, 102, 0.08),
    0 0 46px rgba(255, 43, 113, 0.22),
    0 30px 100px rgba(0, 0, 0, 0.7);
}

.detail-modal-backdrop.wallet-mode .detail-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 14px, rgba(255, 43, 113, 0.05) 15px 16px),
    linear-gradient(120deg, transparent 0 44%, rgba(255, 255, 255, 0.08) 48%, transparent 52%);
  mix-blend-mode: screen;
  opacity: 0.82;
}

.detail-modal-backdrop.wallet-mode #modalMeta,
.detail-modal-backdrop.wallet-mode #modalTitle,
.detail-modal-backdrop.wallet-mode #modalSummary,
.detail-modal-backdrop.wallet-mode #modalFacts,
.detail-modal-backdrop.wallet-mode #modalKeywords,
.detail-modal-backdrop.wallet-mode #modalReferences,
.detail-modal-backdrop.wallet-mode .modal-close {
  position: relative;
  z-index: 1;
}

.detail-modal-backdrop.wallet-mode #modalMeta {
  color: #ffcf33;
}

.detail-modal-backdrop.wallet-mode #modalTitle {
  color: #fff4f8;
  text-shadow: 0 0 18px rgba(255, 43, 113, 0.56);
}

.wallet-reactor {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 190px;
  margin: 8px 0 18px;
  padding: 18px;
  border: 1px solid rgba(255, 43, 113, 0.28);
  background:
    linear-gradient(90deg, rgba(255, 43, 113, 0.12), transparent),
    rgba(0, 0, 0, 0.24);
}

.wallet-reactor-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 170px;
  aspect-ratio: 1;
}

.reactor-orbit {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(0, 229, 255, 0.46);
  border-radius: 50%;
  box-shadow: inset 0 0 18px rgba(0, 229, 255, 0.08), 0 0 16px rgba(0, 229, 255, 0.12);
}

.reactor-orbit.orbit-a {
  transform: rotateX(64deg) rotateZ(-18deg);
  animation: reactorOrbitA 3.8s linear infinite;
}

.reactor-orbit.orbit-b {
  inset: 34px;
  border-color: rgba(255, 209, 102, 0.46);
  transform: rotateX(62deg) rotateY(44deg);
  animation: reactorOrbitB 2.9s linear infinite;
}

.reactor-crystal {
  width: 62px;
  height: 102px;
  clip-path: polygon(50% 0, 86% 18%, 72% 82%, 50% 100%, 28% 82%, 14% 18%);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.96) 0 8%, transparent 9% 24%, rgba(255, 216, 231, 0.86) 25% 32%, transparent 33%),
    linear-gradient(145deg, #fff4f8 0 11%, #ff2b71 12% 48%, #8d19ff 49% 72%, #00e5ff 73% 100%);
  filter: drop-shadow(0 0 18px rgba(255, 43, 113, 0.72)) drop-shadow(0 0 28px rgba(0, 229, 255, 0.22));
  animation: reactorCrystalFloat 1.8s ease-in-out infinite;
}

.reactor-crystal::after {
  content: "";
}

.reactor-spark {
  position: absolute;
  width: 28px;
  height: 42px;
  background: linear-gradient(180deg, transparent, #ffd166 28%, #00e5ff 52%, transparent);
  clip-path: polygon(38% 0, 100% 0, 58% 36%, 100% 36%, 14% 100%, 42% 52%, 0 52%);
  filter: drop-shadow(0 0 8px rgba(255, 209, 102, 0.88));
  animation: reactorSpark 0.9s steps(2, end) infinite;
}

.spark-a {
  right: 16px;
  top: 28px;
}

.spark-b {
  left: 24px;
  bottom: 20px;
  transform: scale(0.76) rotate(18deg);
  animation-delay: 0.22s;
}

.spark-c {
  right: 46px;
  bottom: 8px;
  transform: scale(0.58) rotate(-16deg);
  animation-delay: 0.42s;
}

.wallet-reactor-readout {
  display: grid;
  gap: 4px;
  font-family: var(--mono);
}

.wallet-reactor-readout span {
  color: rgba(255, 209, 102, 0.86);
  font-size: 11px;
}

.wallet-reactor-readout strong {
  color: #fff4f8;
  font-size: clamp(58px, 9vw, 86px);
  line-height: 0.95;
  text-shadow:
    0 0 12px rgba(255, 43, 113, 0.72),
    0 0 28px rgba(0, 229, 255, 0.22);
}

.wallet-reactor-readout small {
  color: var(--muted);
  font-size: 12px;
}

.detail-modal-backdrop.wallet-mode .modal-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wallet-stat {
  border-color: rgba(255, 43, 113, 0.26) !important;
  background:
    linear-gradient(135deg, rgba(255, 43, 113, 0.14), rgba(0, 229, 255, 0.08)),
    rgba(0, 0, 0, 0.26) !important;
}

.wallet-stat span {
  color: rgba(255, 216, 231, 0.62) !important;
}

.wallet-stat strong {
  color: #ffd166 !important;
}

.wallet-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wallet-charge-button {
  border-color: rgba(255, 43, 113, 0.38) !important;
  color: #ff8db1 !important;
}

@keyframes reactorOrbitA {
  to {
    transform: rotateX(64deg) rotateZ(342deg);
  }
}

@keyframes reactorOrbitB {
  to {
    transform: rotateX(62deg) rotateY(44deg) rotateZ(-360deg);
  }
}

@keyframes reactorCrystalFloat {
  50% {
    transform: translateY(-6px) scale(1.03);
    filter: drop-shadow(0 0 25px rgba(255, 43, 113, 0.92)) drop-shadow(0 0 36px rgba(0, 229, 255, 0.3));
  }
}

@keyframes reactorSpark {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}

html[data-theme="light"] .scanline {
  opacity: 0.06;
  mix-blend-mode: multiply;
}

html[data-theme="light"] #topicField {
  opacity: 0.18;
}

html[data-theme="light"] .user-chip,
html[data-theme="light"] .wallet-chip,
html[data-theme="light"] .feed-row,
html[data-theme="light"] .interaction-banner,
html[data-theme="light"] .feed-empty,
html[data-theme="light"] .filter-row,
html[data-theme="light"] .entity-token,
html[data-theme="light"] .entity-chip,
html[data-theme="light"] .company-filter button,
html[data-theme="light"] .modal-card,
html[data-theme="light"] .detail-modal,
html[data-theme="light"] .fragment-dialog-panel,
html[data-theme="light"] .topic-card,
html[data-theme="light"] .topic-detail-panel {
  background-color: rgba(255, 255, 255, 0.74);
}

html[data-theme="light"] .user-avatar,
html[data-theme="light"] .mode-btn.active,
html[data-theme="light"] .company-filter button.active,
html[data-theme="light"] .company-filter button:hover {
  color: var(--control-active-ink);
}

html[data-theme="light"] .feed-row.active,
html[data-theme="light"] body:not(.keyboard-nav) .feed-row:hover,
html[data-theme="light"] .entity-token.active,
html[data-theme="light"] .entity-chip.active {
  background: rgba(0, 168, 107, 0.12);
}

html[data-theme="light"] .feed-row {
  background:
    linear-gradient(90deg, rgba(0, 168, 107, 0.04), transparent 42%),
    rgba(255, 255, 255, 0.78);
}

html[data-theme="light"] .feed-row.active,
html[data-theme="light"] body:not(.keyboard-nav) .feed-row:hover {
  background:
    linear-gradient(90deg, rgba(0, 168, 107, 0.15), rgba(0, 126, 150, 0.06) 48%, transparent),
    rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 26px rgba(0, 168, 107, 0.06), 0 0 18px rgba(0, 126, 150, 0.08);
}

html[data-theme="light"] .feed-summary {
  color: rgba(7, 35, 28, 0.74);
}

body.left-collapsed {
  --left-panel-width: 0px;
}

body.right-collapsed {
  --right-panel-width: 0px;
}

.panel {
  min-height: calc(100vh - 122px);
  padding: 18px;
}

.rail,
.insight {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gear-panel {
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background-color: var(--panel-solid-strong);
  padding-left: 16px;
}

.insight {
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* ── 控制台三栏：不绘制滚动条 ──────────────────────────────────────
   系统滚动条的灰轨与上下箭头在玻璃面板上很突兀，还占掉 17px 内容宽度。
   三栏仍可正常上下滚动（滚轮 / 触控板 / 键盘 / 拖拽），只是不再显示滚动条。 */
.gear-panel,
.stage,
.insight {
  scrollbar-width: none;
}

.gear-panel::-webkit-scrollbar,
.stage::-webkit-scrollbar,
.insight::-webkit-scrollbar {
  display: none;
}

.interaction-banner {
  position: relative;
  display: grid;
  grid-template-columns: 52px auto minmax(0, 1fr) auto 52px;
  gap: 9px;
  align-items: center;
  min-height: 48px;
  margin: 0 0 6px;
  padding: 8px 11px;
  border: 1px solid rgba(0, 229, 255, 0.34);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(0, 11, 13, 0.96), rgba(0, 24, 24, 0.86)),
    linear-gradient(90deg, rgba(0, 250, 154, 0.1), rgba(0, 229, 255, 0.08), rgba(0, 250, 154, 0.06)),
    rgba(0, 0, 0, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(0, 250, 154, 0.1),
    inset 0 0 26px rgba(0, 229, 255, 0.06),
    0 0 22px rgba(0, 229, 255, 0.12);
  overflow: hidden;
  max-height: 72px;
  opacity: 1;
  transform: translateY(0);
  transition: max-height 220ms ease, opacity 180ms ease, transform 220ms ease, margin 220ms ease, padding 220ms ease, border-color 220ms ease;
}

.interaction-banner::before {
  content: "";
  position: absolute;
  inset: 5px 6px;
  pointer-events: none;
  border: 1px solid rgba(0, 250, 154, 0.18);
  border-radius: 3px;
  background:
    linear-gradient(90deg, transparent 0 12px, rgba(0, 229, 255, 0.12) 12px 13px, transparent 13px 26px),
    linear-gradient(180deg, rgba(0, 229, 255, 0.08), transparent 32%, rgba(0, 250, 154, 0.05));
  box-shadow:
    inset 0 0 12px rgba(0, 229, 255, 0.08),
    inset 0 0 0 1px rgba(0, 0, 0, 0.42);
  opacity: 0.92;
}

.interaction-banner::after {
  content: "";
  position: absolute;
  inset: 9px 10px;
  pointer-events: none;
  border-radius: 4px;
  background:
    repeating-linear-gradient(90deg, rgba(0, 229, 255, 0.07) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(180deg, rgba(0, 250, 154, 0.05) 0 1px, transparent 1px 6px);
  opacity: 0.5;
  mix-blend-mode: screen;
}

.interaction-banner.completed {
  max-height: 0;
  min-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  pointer-events: none;
}

.interaction-banner-core,
.interaction-action,
.interaction-dismiss,
.swipe-demo {
  position: relative;
  z-index: 2;
}

.interaction-banner-core {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
}

.interaction-banner-core strong,
.interaction-action,
.interaction-dismiss {
  display: block;
  font-family: var(--mono);
}

.interaction-banner-core strong {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 3px 8px;
  color: transparent;
  background:
    linear-gradient(90deg, rgba(222, 255, 246, 0.9) 0 32%, #00f59a 43%, #00e5ff 50%, rgba(222, 255, 246, 0.9) 62% 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.22;
  text-align: center;
  letter-spacing: 0;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.24);
  animation: interactionTextSweep 2.6s linear infinite;
}

.interaction-banner-core strong::after {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: -28%;
  width: 24%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(0, 250, 154, 0.42), transparent);
  filter: blur(1px);
  transform: skewX(-18deg);
  animation: interactionTextScan 2.6s linear infinite;
}

.interaction-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 0 0 auto;
  min-width: 58px;
  padding: 5px 9px;
  border: 1px solid rgba(0, 250, 154, 0.62);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(0, 250, 154, 0.13), rgba(0, 250, 154, 0.04)),
    rgba(0, 0, 0, 0.36);
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  box-shadow:
    inset 0 0 12px rgba(0, 250, 154, 0.1),
    0 0 12px rgba(0, 250, 154, 0.12);
  cursor: pointer;
  text-shadow: 0 0 8px rgba(0, 250, 154, 0.28);
}

.interaction-dismiss:hover {
  border-color: rgba(0, 250, 154, 0.86);
  background:
    linear-gradient(180deg, rgba(0, 250, 154, 0.2), rgba(0, 250, 154, 0.08)),
    rgba(0, 0, 0, 0.42);
  box-shadow:
    inset 0 0 14px rgba(0, 250, 154, 0.14),
    0 0 18px rgba(0, 250, 154, 0.2);
}

.interaction-action {
  min-width: 64px;
  padding: 5px 10px;
  border: 1px solid rgba(0, 229, 255, 0.24);
  border-radius: 2px;
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  text-align: center;
  box-shadow:
    inset 0 0 12px rgba(0, 229, 255, 0.06),
    0 0 10px rgba(0, 250, 154, 0.06);
  text-shadow: none;
}

.interaction-action-archive {
  color: #ff6f91;
  border-color: rgba(255, 77, 109, 0.32);
  background: rgba(255, 77, 109, 0.08);
}

.interaction-action-deep {
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
}

.swipe-demo {
  height: 28px;
  border: 1px solid rgba(0, 229, 255, 0.24);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(0, 229, 255, 0.08), transparent 45%),
    rgba(0, 0, 0, 0.38);
  box-shadow:
    inset 0 0 14px rgba(0, 229, 255, 0.05),
    0 0 10px rgba(0, 229, 255, 0.08);
  overflow: hidden;
}

.swipe-demo i {
  position: absolute;
  top: 5px;
  left: 18px;
  color: var(--green);
  font-size: 15px;
  font-style: normal;
  line-height: 1;
  text-shadow: 0 0 10px rgba(0, 250, 154, 0.42);
  animation: swipeHandLeft 1.35s ease-in-out infinite;
}

.swipe-demo-right i {
  animation-name: swipeHandRight;
}

.swipe-demo span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.62), transparent);
}

.swipe-demo-left span::before,
.swipe-demo-right span::before {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid rgba(0, 250, 154, 0.72);
  border-left: 1px solid rgba(0, 250, 154, 0.72);
}

.swipe-demo-left span::before {
  left: 0;
  transform: rotate(-45deg);
}

.swipe-demo-right span::before {
  right: 0;
  transform: rotate(135deg);
}

@keyframes swipeHandLeft {
  0%,
  100% {
    transform: translateX(12px) rotate(-8deg);
  }
  50% {
    transform: translateX(-16px) rotate(-16deg);
  }
}

@keyframes swipeHandRight {
  0%,
  100% {
    transform: translateX(-12px) rotate(8deg);
  }
  50% {
    transform: translateX(16px) rotate(16deg);
  }
}

@keyframes interactionTextSweep {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

@keyframes interactionTextScan {
  0% {
    left: -28%;
    opacity: 0;
  }
  18%,
  72% {
    opacity: 1;
  }
  100% {
    left: 104%;
    opacity: 0;
  }
}

.gear-panel > * {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

body.left-collapsed .gear-panel,
body.right-collapsed .insight {
  min-width: 0;
  padding: 0;
  border-width: 0;
  opacity: 0;
  pointer-events: none;
}

body.left-collapsed .gear-panel > *,
body.right-collapsed .insight > * {
  display: none;
}

.panel-toggle,
.edge-toggle {
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 229, 255, 0.24);
  background: rgba(3, 7, 6, 0.86);
  color: var(--cyan);
  font-family: var(--mono);
  cursor: pointer;
  z-index: 10;
}

.panel-toggle {
  position: absolute;
  top: 12px;
  width: 30px;
  height: 30px;
}

.panel-toggle-left {
  left: 12px;
  right: auto;
}

.panel-toggle-right {
  right: 12px;
  left: auto;
}

.edge-toggle {
  position: fixed;
  top: 50%;
  width: 34px;
  height: 74px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 160ms ease, transform 160ms ease;
}

.edge-toggle-left {
  left: 0;
  border-left: 0;
}

.edge-toggle-right {
  right: 0;
  border-right: 0;
}

body.left-collapsed .edge-toggle-left,
body.right-collapsed .edge-toggle-right {
  opacity: 0.28;
  pointer-events: auto;
}

body.left-collapsed .edge-toggle-left:hover,
body.right-collapsed .edge-toggle-right:hover {
  opacity: 1;
}

.panel-resizer {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8px;
  cursor: col-resize;
  z-index: 9;
}

.left-resizer {
  right: -4px;
}

.right-resizer {
  left: -4px;
}

.panel-resizer::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 3px;
  width: 1px;
  background: rgba(0, 250, 154, 0.22);
}

.panel-resizer:hover::before,
body.resizing-panels .panel-resizer::before {
  background: rgba(0, 250, 154, 0.72);
  box-shadow: 0 0 16px rgba(0, 250, 154, 0.4);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.section-title strong {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
}

.gear-panel .section-title {
  padding-left: 42px;
}

.insight .section-title {
  padding-right: 42px;
}

/* ========== DIAL / WHEEL ========== */

.dial-dock {
  --dial-size: 360px;
  --dial-offset: -210px;
  --active-angle: -25deg;
  --dial-menu-left: 248px;
  --dial-menu-width: 164px;
  position: relative;
  z-index: 24;
  height: 326px;
  min-height: 326px;
  margin: 8px -18px auto -18px;
  overflow: visible;
  background:
    radial-gradient(circle at 0% 50%, rgba(0, 250, 154, 0.16), transparent 17rem),
    linear-gradient(90deg, #020806 0%, #050d0a 56%, #06100d 100%);
}

.module-dial {
  position: absolute;
  left: var(--dial-offset);
  top: 4px;
  width: var(--dial-size);
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: #020806;
  background:
    radial-gradient(circle, rgba(0, 250, 154, 0.12) 0 16%, rgba(0, 0, 0, 0.48) 16% 38%, rgba(2, 8, 6, 0.92) 38%),
    radial-gradient(circle at 62% 38%, rgba(0, 229, 255, 0.08), transparent 55%),
    #020806;
  box-shadow:
    inset 0 0 72px rgba(0, 0, 0, 0.52),
    0 0 48px rgba(0, 250, 154, 0.1),
    0 0 2px rgba(0, 250, 154, 0.25);
}

/* Outer border ring */
.dial-outer-ring {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 2px solid rgba(0, 250, 154, 0.28);
  box-shadow: inset 0 0 20px rgba(0, 250, 154, 0.06), 0 0 14px rgba(0, 250, 154, 0.1);
  pointer-events: none;
  z-index: 1;
}

/* Tick mark ring — continuously rotates */
.dial-tick-ring {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(0, 229, 255, 0.5) 0deg 1.2deg,
    transparent 1.2deg 7.2deg
  );
  mask: radial-gradient(circle, transparent 0 40%, #000 41% 43%, transparent 44%);
  animation: tickSpin 28s linear infinite;
  pointer-events: none;
  z-index: 1;
}

/* Middle decorative ring */
.dial-mid-ring {
  position: absolute;
  inset: 50px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 229, 255, 0.18);
  pointer-events: none;
  z-index: 1;
}

.dial-items-layer {
  position: absolute;
  left: var(--dial-menu-left);
  top: 30px;
  z-index: 36;
  display: grid;
  gap: 7px;
  width: var(--dial-menu-width);
  min-width: 0;
}

.dial-item {
  position: relative;
  display: grid;
  gap: 2px;
  width: 100%;
  min-height: 45px;
  padding: 8px 10px 8px 12px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  background-color: #06100d;
  background:
    linear-gradient(135deg, rgba(6, 16, 13, 0.96), rgba(3, 7, 6, 0.9)),
    #06100d;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    background 200ms ease,
    transform 200ms ease;
  backface-visibility: hidden;
}

body.module-switching .dial-item {
  pointer-events: auto;
}

.dial-item span,
.dial-item small,
.dial-core {
  font-family: var(--mono);
}

.dial-item span {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
  transition: color 200ms ease;
}

.dial-item small {
  color: var(--faint);
  font-size: 11px;
  line-height: 1.35;
  transition: color 200ms ease;
}

.dial-item.active {
  opacity: 1;
  border-color: rgba(0, 250, 154, 0.9);
  /* 底层垫实色：避免刻度环/指针透过半透明高亮底印在条目文字上 */
  background:
    linear-gradient(0deg, rgba(0, 250, 154, 0.12), rgba(0, 250, 154, 0.12)),
    rgba(3, 7, 6, 0.94);
  box-shadow:
    0 0 22px rgba(0, 250, 154, 0.32),
    inset 0 0 18px rgba(0, 250, 154, 0.06);
  z-index: 2;
  transform: translateX(6px);
}

.dial-item.active span {
  color: #fff;
}

.dial-item:hover {
  border-color: rgba(0, 250, 154, 0.7);
  background: rgba(0, 250, 154, 0.08);
  box-shadow: 0 0 20px rgba(0, 250, 154, 0.2);
}

.dial-item.muted {
  opacity: 0.48;
}

.dial-item.muted:hover {
  opacity: 0.72;
}

.global-qa-rail {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  margin: 12px 0 10px;
  padding: 8px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(0, 250, 154, 0.05)),
    rgba(3, 7, 6, 0.72);
  box-shadow: inset 0 0 18px rgba(0, 229, 255, 0.035);
}

.global-qa-rail.active {
  border-color: rgba(255, 209, 102, 0.56);
  box-shadow: inset 0 0 18px rgba(255, 209, 102, 0.055), 0 0 18px rgba(0, 229, 255, 0.12);
}

.global-qa-icon {
  position: relative;
  min-height: 38px;
  border: 1px solid rgba(0, 250, 154, 0.48);
  background: rgba(0, 250, 154, 0.08);
  cursor: pointer;
}

.global-qa-icon::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 10px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 250, 154, 0.42);
}

.global-qa-icon::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 24px;
  width: 11px;
  height: 2px;
  background: var(--cyan);
  transform: rotate(45deg);
  transform-origin: left center;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.55);
}

.global-qa-icon:hover {
  border-color: var(--amber);
  background: rgba(255, 209, 102, 0.12);
}

.global-qa-rail input {
  min-width: 0;
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: rgba(0, 0, 0, 0.28);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  outline: none;
  padding: 0 11px;
}

.global-qa-rail input:focus {
  border-color: rgba(0, 250, 154, 0.7);
  box-shadow: inset 0 0 14px rgba(0, 250, 154, 0.08);
}

html[data-theme="light"] .interaction-banner {
  background:
    linear-gradient(180deg, rgba(0, 11, 13, 0.96), rgba(0, 24, 24, 0.86)),
    linear-gradient(90deg, rgba(0, 250, 154, 0.1), rgba(0, 229, 255, 0.08), rgba(0, 250, 154, 0.06)),
    rgba(0, 0, 0, 0.92);
}

.report-hud {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "kicker type"
    "title title"
    "meta meta";
  gap: 6px 10px;
  width: 100%;
  min-height: 116px;
  margin: 0 0 18px;
  padding: 13px 12px 18px;
  border: 1px solid rgba(0, 255, 102, 0.38);
  background:
    linear-gradient(90deg, rgba(0, 255, 102, 0.09), rgba(0, 229, 255, 0.035)),
    rgba(2, 8, 6, 0.78);
  color: var(--ink);
  text-align: left;
  box-shadow: inset 3px 0 0 rgba(0, 255, 102, 0.52), 0 0 18px rgba(0, 255, 102, 0.08);
  cursor: pointer;
  contain: layout;
  overflow: hidden;
}

.report-hud::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 28%, rgba(0, 229, 255, 0.18) 42%, rgba(0, 255, 102, 0.16) 50%, transparent 64% 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-120%);
}

.report-hud::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(0, 255, 102, 0.08);
  pointer-events: none;
}

.report-hud-kicker,
.report-hud small {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0;
}

.report-hud-kicker {
  grid-area: kicker;
  align-self: center;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.report-hud-type {
  grid-area: type;
  position: relative;
  z-index: 1;
  justify-self: end;
  align-self: center;
  min-width: 52px;
  padding: 2px 7px;
  border: 1px solid rgba(0, 229, 255, 0.44);
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.08);
}

.report-hud strong {
  grid-area: title;
  position: relative;
  z-index: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--green);
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.2);
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.report-hud small {
  grid-area: meta;
  position: relative;
  z-index: 1;
  min-width: 0;
  display: block;
  padding-bottom: 2px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-hud.active {
  border-color: rgba(0, 229, 255, 0.62);
  background:
    linear-gradient(90deg, rgba(0, 255, 102, 0.14), rgba(0, 229, 255, 0.1)),
    rgba(2, 8, 6, 0.86);
  animation: reportHudPulse 2.6s ease-in-out infinite;
}

.report-hud.active strong {
  color: #eafff7;
}

.report-hud.active small {
  color: rgba(232, 255, 247, 0.72);
}

.report-hud.active .report-hud-type {
  border-color: rgba(0, 255, 102, 0.72);
  color: #02110c;
  background: linear-gradient(180deg, rgba(0, 255, 154, 1), rgba(0, 229, 255, 0.88));
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.25);
}

.report-hud.flash {
  border-color: rgba(255, 77, 109, 0.72);
  box-shadow: inset 3px 0 0 rgba(255, 77, 109, 0.74), 0 0 24px rgba(255, 77, 109, 0.14);
}

.report-hud.flash .report-hud-type {
  border-color: rgba(255, 77, 109, 0.9);
  color: #fff7f9;
  background: linear-gradient(180deg, rgba(255, 77, 109, 0.96), rgba(255, 176, 0, 0.72));
}

.report-hud.fresh {
  animation: reportHudShake 520ms steps(2, end) 1, reportHudPulse 2.6s ease-in-out 520ms infinite;
}

.report-hud.fresh::before {
  animation: reportHudScan 900ms ease-out 1;
}

.generate-report-button {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255, 228, 92, 0.46);
  background:
    linear-gradient(90deg, rgba(255, 228, 92, 0.13), rgba(0, 250, 154, 0.05)),
    rgba(0, 0, 0, 0.24);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.generate-report-button span {
  color: #ffe45c;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.generate-report-button strong {
  color: var(--green);
  font-size: 15px;
}

.generate-report-button:hover,
.generate-report-button:focus-visible {
  border-color: rgba(0, 250, 154, 0.72);
  box-shadow: 0 0 18px rgba(255, 228, 92, 0.12);
}

.generate-report-button.is-loading {
  cursor: wait;
  opacity: 0.72;
}

@keyframes reportHudPulse {
  0%,
  100% {
    border-color: rgba(0, 255, 102, 0.34);
    box-shadow: inset 3px 0 0 rgba(0, 255, 102, 0.48), 0 0 14px rgba(0, 255, 102, 0.08);
  }
  50% {
    border-color: rgba(0, 255, 102, 0.78);
    box-shadow: inset 3px 0 0 rgba(0, 255, 102, 0.88), 0 0 26px rgba(0, 255, 102, 0.2);
  }
}

@keyframes reportHudShake {
  0%,
  100% {
    transform: translateX(0);
  }
  18% {
    transform: translateX(-2px);
  }
  34% {
    transform: translateX(2px);
  }
  50% {
    transform: translateX(-1px);
  }
  66% {
    transform: translateX(1px);
  }
}

@keyframes reportHudScan {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }
  22% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

.report-page {
  min-height: 100vh;
  padding: 18px;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 255, 102, 0.11), transparent 26rem),
    radial-gradient(circle at 80% 18%, rgba(0, 229, 255, 0.08), transparent 24rem),
    var(--bg);
}

.report-shell {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 14px;
  width: min(var(--page-max-wide), calc(100vw - var(--page-gutter)));
  /* 本页 body 自带 18px 内边距，容器不得越过父级内容盒（否则 auto 边距塌成 0、右侧溢出） */
  max-width: 100%;
  min-height: calc(100vh - 36px);
  margin: 0 auto;
}

.report-topbar,
.report-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(0, 250, 154, 0.2);
  background: rgba(2, 8, 6, 0.78);
  padding: 14px 16px;
}

.report-topbar h1,
.report-detail-head h1 {
  margin: 0;
  font-size: 22px;
}

.report-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.report-tab {
  border: 1px solid rgba(0, 229, 255, 0.28);
  background: rgba(0, 229, 255, 0.05);
  color: var(--muted);
  padding: 9px 11px;
  font-family: var(--mono);
  cursor: pointer;
}

.report-tab.active,
.report-tab:hover {
  border-color: rgba(0, 255, 102, 0.82);
  color: var(--green);
  box-shadow: inset 0 -2px 0 rgba(0, 255, 102, 0.52);
}

.report-table-wrap {
  overflow: auto;
  border: 1px solid rgba(0, 250, 154, 0.18);
  background: rgba(1, 6, 5, 0.78);
}

.report-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.report-table th,
.report-table td {
  border-bottom: 1px solid rgba(0, 250, 154, 0.1);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.report-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(3, 12, 9, 0.96);
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
}

.report-table td {
  color: var(--ink);
  font-size: 13px;
}

.report-table tr:hover td {
  background: rgba(0, 255, 102, 0.045);
}

.report-origin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 5px 8px;
  border: 1px solid rgba(0, 229, 255, 0.36);
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.07);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.report-origin.official {
  border-color: rgba(0, 250, 154, 0.48);
  color: var(--green);
  background: rgba(0, 250, 154, 0.08);
}

.report-origin.personal {
  border-color: rgba(250, 204, 21, 0.52);
  color: #facc15;
  background: rgba(250, 204, 21, 0.09);
}

.report-code {
  color: var(--cyan);
  font-family: var(--mono);
}

.report-access,
.report-back {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 255, 102, 0.58);
  background: rgba(0, 255, 102, 0.08);
  color: var(--green);
  padding: 7px 10px;
  font-family: var(--mono);
  text-decoration: none;
}

.report-detail {
  border: 1px solid rgba(0, 250, 154, 0.18);
  background: rgba(1, 6, 5, 0.82);
  padding: 22px;
}

.report-markdown {
  max-width: 980px;
  color: var(--ink);
  line-height: 1.8;
}

.report-markdown h2,
.report-markdown h3 {
  color: var(--green);
}

.report-markdown strong {
  color: var(--cyan);
}

.report-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 980px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 250, 154, 0.16);
}

.report-action-btn {
  min-height: 38px;
  border: 1px solid rgba(0, 229, 255, 0.34);
  background: rgba(0, 229, 255, 0.06);
  color: var(--cyan);
  padding: 0 16px;
  font-family: var(--mono);
  cursor: pointer;
}

.report-action-btn.primary {
  border-color: rgba(0, 255, 102, 0.58);
  background: rgba(0, 255, 102, 0.1);
  color: var(--green);
}

#reportActionStatus {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

/* ── 深度分析结果 ── */
.report-deep-analysis {
  display: none;
  max-width: 980px;
  margin-top: 20px;
  padding: 20px 24px;
  border: 1px solid rgba(0, 250, 154, 0.2);
  background: rgba(0, 250, 154, 0.03);
  border-radius: 4px;
}
.deep-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 250, 154, 0.16);
}
.deep-header h2 {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--green);
  margin: 0;
}
.deep-cache-badge {
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 8px;
  border: 1px solid rgba(255, 183, 0, 0.4);
  color: #ffb700;
  border-radius: 2px;
}
.deep-section {
  margin-bottom: 16px;
}
.deep-section h3 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--cyan);
  margin: 0 0 8px;
}
.deep-section ul {
  margin: 0;
  padding-left: 18px;
}
.deep-section li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 4px;
}
.deep-logic-link {
  padding: 10px 14px;
  margin-bottom: 8px;
  border-left: 2px solid rgba(0, 229, 255, 0.3);
  background: rgba(0, 0, 0, 0.15);
  border-radius: 0 3px 3px 0;
  position: relative;
}
.deep-logic-idx {
  position: absolute;
  top: 8px;
  right: 10px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
}
.deep-logic-link div {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 2px;
}
.deep-logic-link strong {
  color: var(--cyan);
  font-weight: 500;
}
.deep-entity, .deep-concept {
  padding: 8px 12px;
  margin-bottom: 6px;
  border: 1px solid rgba(0, 229, 255, 0.12);
  background: rgba(0, 0, 0, 0.12);
  border-radius: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.deep-entity strong, .deep-concept strong {
  color: var(--green);
  font-weight: 500;
}
.deep-concept em {
  color: var(--faint);
  font-style: normal;
  font-size: 12px;
}
.deep-error {
  color: #ff6b6b;
  font-family: var(--mono);
  font-size: 12px;
}
.deep-loading, .report-deep-loading {
  text-align: center;
  padding: 40px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 13px;
}

.report-empty {
  padding: 24px;
  color: var(--faint);
  font-family: var(--mono);
}

.inline-report-member-hint,
.report-member-hint {
  margin: 0;
  padding: 10px 14px;
  border: 1px dashed rgba(0, 229, 255, 0.32);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.inline-report-member-hint a,
.report-member-hint a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, 0.5);
}

.inline-report-member-hint a:hover,
.report-member-hint a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

.inline-report-cockpit {
  display: grid;
  gap: 14px;
}

.inline-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px dashed rgba(0, 229, 255, 0.28);
  background: rgba(0, 250, 154, 0.035);
}

.inline-report-generate {
  min-height: 42px;
  padding: 7px 12px;
  border: 1px solid rgba(0, 250, 154, 0.46);
  background: rgba(0, 250, 154, 0.08);
  color: var(--ink);
  font-family: var(--mono);
  cursor: pointer;
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 8px;
}

.inline-report-generate small {
  color: var(--cyan);
  font-size: 10px;
}

.inline-report-generate:hover,
.inline-report-generate:focus-visible,
.inline-report-generate.is-loading {
  border-color: var(--green);
  box-shadow: 0 0 18px rgba(0, 250, 154, 0.2);
}

.inline-report-generate:disabled {
  cursor: wait;
  opacity: 0.62;
}

.inline-report-tabs {
  margin: 0;
}

.inline-report-list {
  display: grid;
  gap: 10px;
  max-height: min(62vh, 680px);
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-color: rgba(0, 250, 154, 0.42) rgba(0, 0, 0, 0.18);
}

.inline-report-card {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(280px, 1fr) minmax(150px, 190px);
  gap: 16px;
  align-items: stretch;
  min-height: 116px;
  padding: 15px 16px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background:
    linear-gradient(90deg, rgba(0, 250, 154, 0.05), rgba(0, 229, 255, 0.025) 46%, transparent),
    rgba(3, 7, 6, 0.72);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.inline-report-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: transparent;
}

.inline-report-card:hover,
.inline-report-card:focus-within {
  border-color: rgba(0, 250, 154, 0.66);
  background:
    linear-gradient(90deg, rgba(0, 250, 154, 0.12), rgba(0, 229, 255, 0.05) 50%, transparent),
    rgba(3, 18, 15, 0.82);
  box-shadow: inset 0 0 30px rgba(0, 250, 154, 0.052), 0 0 20px rgba(0, 229, 255, 0.09);
  transform: translateX(3px);
}

.inline-report-card:hover::before,
.inline-report-card:focus-within::before {
  background: var(--green);
  box-shadow: 0 0 18px rgba(0, 250, 154, 0.62);
}

.inline-report-card-rail,
.inline-report-card-main,
.inline-report-card-side {
  min-width: 0;
}

.inline-report-card-rail {
  display: grid;
  align-content: start;
  gap: 10px;
  font-family: var(--mono);
}

.inline-report-card-rail time {
  color: var(--faint);
  font-size: 11px;
  line-height: 1.45;
}

.inline-report-card-main {
  display: grid;
  align-content: start;
  gap: 8px;
}

.inline-report-card-main strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.42;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.inline-report-card-main p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(232, 255, 247, 0.75);
  font-size: 13px;
  line-height: 1.62;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.inline-report-card-side {
  display: grid;
  align-content: space-between;
  gap: 12px;
  justify-items: end;
}

.inline-report-tickers {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.inline-report-tickers span {
  max-width: 100%;
  padding: 5px 7px;
  border: 1px solid rgba(0, 229, 255, 0.24);
  background: rgba(0, 229, 255, 0.055);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.inline-report-kind-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  padding: 7px 10px;
  border: 1px solid rgba(0, 250, 154, 0.48);
  background: rgba(0, 250, 154, 0.08);
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
}

.inline-report-kind-badge.flash {
  border-color: rgba(255, 31, 91, 0.66);
  background: rgba(255, 31, 91, 0.11);
  color: #ff6b8a;
  box-shadow: 0 0 16px rgba(255, 31, 91, 0.13);
}

.inline-report-kind-badge.daily {
  border-color: rgba(0, 229, 255, 0.52);
  background: rgba(0, 229, 255, 0.09);
  color: var(--cyan);
}

.inline-report-kind-badge.weekly,
.inline-report-kind-badge.monthly,
.inline-report-kind-badge.annual {
  border-color: rgba(250, 204, 21, 0.52);
  background: rgba(250, 204, 21, 0.09);
  color: #facc15;
}

@media (max-width: 1180px) {
  .inline-report-card {
    grid-template-columns: 1fr;
  }

  .inline-report-card-side {
    justify-items: start;
  }

  .inline-report-tickers {
    justify-content: flex-start;
  }
}

html[data-theme="light"] .gear-panel {
  background-color: var(--panel-solid);
}

html[data-theme="light"] .dial-dock {
  background:
    radial-gradient(circle at 0% 50%, rgba(0, 168, 107, 0.12), transparent 17rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(232, 248, 242, 0.88) 58%, rgba(245, 252, 249, 0.94) 100%);
}

html[data-theme="light"] .module-dial {
  background-color: #f4fbf7;
  background:
    radial-gradient(circle, rgba(0, 168, 107, 0.12) 0 16%, rgba(255, 255, 255, 0.62) 16% 38%, rgba(234, 248, 242, 0.86) 38%),
    radial-gradient(circle at 62% 38%, rgba(0, 126, 150, 0.10), transparent 55%),
    #f4fbf7;
  box-shadow:
    inset 0 0 60px rgba(0, 126, 150, 0.08),
    0 0 34px rgba(0, 168, 107, 0.12),
    0 0 2px rgba(0, 126, 150, 0.18);
}

html[data-theme="light"] .dial-item {
  background-color: rgba(255, 255, 255, 0.88);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 248, 243, 0.88)),
    #ffffff;
}

html[data-theme="light"] .dial-item.active,
html[data-theme="light"] .dial-item:hover {
  background: rgba(0, 168, 107, 0.12);
}

html[data-theme="light"] .dial-item.active span {
  color: var(--ink);
}

html[data-theme="light"] .dial-core {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.86), rgba(232, 248, 242, 0.9));
}

/* Fixed pointer at the active reading position */
.dial-pointer {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: var(--dial-pointer-length, 112px);
  height: 2px;
  margin-top: -1px;
  transform-origin: left center;
  transform: rotate(var(--active-angle)) translateX(48px);
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 250, 154, 0.5) 15%,
    var(--green) 100%
  );
  pointer-events: none;
  transition:
    width 160ms ease,
    transform 160ms ease,
    opacity 160ms ease;
  will-change: width, transform;
}

.dial-pointer::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow:
    0 0 10px var(--green),
    0 0 26px rgba(0, 250, 154, 0.7),
    0 0 48px rgba(0, 250, 154, 0.35);
}

/* Central hub */
.dial-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 94px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(0, 250, 154, 0.55);
  background: radial-gradient(circle, rgba(0, 0, 0, 0.7), rgba(0, 10, 6, 0.85));
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 28px rgba(0, 229, 255, 0.16),
    inset 0 0 14px rgba(0, 250, 154, 0.06);
}

.dial-core strong {
  color: var(--green);
  font-size: 18px;
  font-weight: 500;
  text-shadow: 0 0 10px rgba(0, 250, 154, 0.5);
}

.dial-core span {
  color: var(--faint);
  font-size: 10px;
}

/* ========== DIAL KEYFRAMES ========== */

@keyframes tickSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.metric-label {
  margin-bottom: 8px;
  color: var(--faint);
  font-size: 11px;
  text-transform: uppercase;
}

.module-readout {
  margin-top: auto;
  flex-shrink: 0;
  padding: 16px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  background: rgba(0, 0, 0, 0.2);
}

.module-readout strong {
  display: block;
  color: var(--green);
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 8px;
}

.module-readout span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.pulse-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  height: 32px;
  align-items: end;
}

.pulse-strip span {
  display: block;
  height: 28%;
  background: linear-gradient(to top, var(--green), var(--cyan));
  animation: barPulse 1.8s infinite ease-in-out;
}

.pulse-strip span:nth-child(2) {
  animation-delay: 0.18s;
}

.pulse-strip span:nth-child(3) {
  animation-delay: 0.33s;
}

.pulse-strip span:nth-child(4) {
  animation-delay: 0.48s;
}

.pulse-strip span:nth-child(5) {
  animation-delay: 0.63s;
}

.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: visible;
}

.stage-quick-dock {
  position: fixed;
  z-index: 76;
  left: 50%;
  top: auto;
  bottom: max(28px, env(safe-area-inset-bottom));
  display: flex;
  align-self: center;
  gap: 7px;
  width: max-content;
  margin-top: -48px;
  padding: 6px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 999px;
  background: rgba(1, 12, 10, 0.58);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.12), inset 0 0 12px rgba(0, 250, 154, 0.04);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0);
  transition: opacity 160ms ease, transform 160ms ease, border-color 160ms ease;
  backdrop-filter: blur(14px);
}

.stage > .stage-quick-dock {
  display: none;
}

#stageQuickDockViewport.stage-quick-dock {
  display: flex;
}

.stage-quick-dock button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 0;
  border: 1px solid rgba(0, 229, 255, 0.32);
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.06);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 0 12px rgba(0, 229, 255, 0.04);
}

body.stage-dock-visible .stage-quick-dock,
.stage:hover .stage-quick-dock,
.stage-quick-dock:focus-within {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.stage-quick-dock button::before {
  color: currentColor;
  font-size: 14px;
  line-height: 1;
}

.stage-quick-dock button[data-stage-scroll-top]::before {
  content: "↑";
}

.stage-quick-dock button[data-stage-open-deep]::before {
  content: "深";
}

.stage-quick-dock button:hover,
.stage-quick-dock button:focus-visible {
  border-color: rgba(0, 250, 154, 0.72);
  background: rgba(0, 250, 154, 0.12);
  color: var(--green);
  outline: none;
  box-shadow: 0 0 16px rgba(0, 250, 154, 0.2), inset 0 0 12px rgba(0, 250, 154, 0.08);
}

@media (min-width: 1181px) {
  body {
    overflow: hidden;
  }

  .shell {
    display: flex;
    height: 100vh;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
  }

  .dashboard {
    flex: 1 1 auto;
    min-height: 0;
    align-items: stretch;
    overflow: hidden;
  }

  .panel {
    min-height: 0;
  }

  .gear-panel,
  .insight,
  .stage {
    height: 100%;
    max-height: 100%;
    overscroll-behavior: contain;
  }

  .stage {
    overflow-x: clip;
    overflow-y: auto;
  }
}

.stage::before {
  content: none;
}

.stage-head {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}

.stage-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 560;
}

.stage-actions {
  display: flex;
  gap: 8px;
  align-self: center;
  margin-left: auto;
}

.icon-btn {
  width: 38px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  color: var(--cyan);
  background: rgba(0, 0, 0, 0.2);
  font-family: var(--mono);
  font-size: 22px;
}

.icon-btn:hover,
body:not(.keyboard-nav) .feed-row:hover,
.feed-row.active {
  border-color: rgba(0, 250, 154, 0.76);
  color: var(--ink);
  box-shadow: 0 0 26px rgba(0, 250, 154, 0.26);
}

.stage-body {
  display: none;
}

.stage-body.active {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  gap: 12px;
  padding-left: 120px;
  margin-left: -120px;
  padding-right: 120px;
  margin-right: -120px;
}

.stage-body.topic-graph-view.active {
  flex: 0 0 auto;
}

.strategic-qa-view.active {
  gap: 16px;
}

.strategic-qa-shell {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  gap: 14px;
}

.strategic-qa-hero {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.09), rgba(0, 250, 154, 0.04) 46%, rgba(255, 209, 102, 0.055)),
    rgba(3, 7, 6, 0.82);
}

.strategic-qa-hero h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4.6vw, 54px);
  line-height: 0.95;
  letter-spacing: 0;
}

.strategic-qa-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 10px;
}

.strategic-qa-form input {
  min-width: 0;
  min-height: 62px;
  border: 1px solid rgba(0, 250, 154, 0.36);
  background: rgba(0, 0, 0, 0.34);
  color: var(--ink);
  font-size: 18px;
  outline: none;
  padding: 0 18px;
}

.strategic-qa-form input:focus {
  border-color: var(--green);
  box-shadow: inset 0 0 22px rgba(0, 250, 154, 0.08), 0 0 18px rgba(0, 229, 255, 0.13);
}

.strategic-qa-form button {
  min-height: 62px;
  border: 1px solid rgba(255, 209, 102, 0.56);
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.86), rgba(0, 250, 154, 0.72));
  color: #03100b;
  font-family: var(--mono);
  font-weight: 700;
  cursor: pointer;
}

.strategic-qa-form button:disabled {
  opacity: 0.58;
  cursor: wait;
}

.strategic-qa-error {
  border-left: 2px solid #ff4d6d;
  color: #ff8ca0;
  font-family: var(--mono);
  font-size: 12px;
  padding: 8px 10px;
  background: rgba(255, 77, 109, 0.08);
}

.strategic-qa-empty,
.strategic-qa-answer {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(0, 250, 154, 0.18);
  background: rgba(3, 7, 6, 0.72);
}

.strategic-qa-empty strong {
  color: var(--ink);
}

.strategic-qa-empty span,
.strategic-qa-answer div {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.78;
}

.strategic-qa-refs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.strategic-qa-ref-card {
  display: grid;
  gap: 8px;
  min-height: 168px;
  padding: 12px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(0, 229, 255, 0.055), transparent),
    rgba(3, 7, 6, 0.72);
}

.strategic-qa-ref-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 10px;
}

.strategic-qa-ref-head em {
  color: var(--amber);
  font-style: normal;
}

.strategic-qa-ref-card strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.strategic-qa-ref-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.strategic-qa-ref-card small {
  color: var(--faint);
  font-family: var(--mono);
}

.strategic-qa-ref-card a {
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
}

.strategic-qa-history {
  display: grid;
  gap: 8px;
  min-height: 160px;
  padding: 14px;
  border: 1px solid rgba(0, 250, 154, 0.16);
  background: rgba(1, 10, 8, 0.58);
}

.strategic-qa-history-head,
.strategic-qa-history-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.strategic-qa-history-head {
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.strategic-qa-history-head small {
  color: var(--faint);
}

.strategic-qa-history-row {
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 229, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}

.strategic-qa-history-row:hover {
  border-color: rgba(0, 250, 154, 0.52);
  color: var(--ink);
}

.strategic-qa-history-row span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.strategic-qa-history-row strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.strategic-qa-history-row small {
  overflow: hidden;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.strategic-qa-history-row em {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
}

.strategic-qa-history-empty {
  display: grid;
  min-height: 120px;
  place-items: center;
  border: 1px dashed rgba(0, 250, 154, 0.22);
  color: var(--faint);
  font-size: 13px;
}

.qa-page .topic-shell {
  gap: 14px;
}

.qa-ask-panel h2 {
  margin: 6px 0 14px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
}

.qa-page-form {
  margin: 12px 0;
}

.qa-result-grid {
  align-items: start;
}

.qa-answer-card {
  min-height: 320px;
}

#qaAnswer {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.82;
}

.qa-answer-empty {
  display: grid;
  min-height: 96px;
  align-content: center;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background: rgba(0, 0, 0, 0.18);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
  padding: 14px;
}

.feed-head {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  display: grid;
  grid-template-columns: 58px minmax(210px, 0.94fr) minmax(260px, 1.46fr) 58px 58px;
  gap: 12px;
  padding: 0 12px 10px;
  border-bottom: 1px solid rgba(0, 250, 154, 0.16);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.topic-feed-head {
  top: auto;
}

.company-filter.topic-graph-filter-hidden {
  display: none;
}

.topic-graph-view .topic-feed-head {
  display: none;
}

.topic-custom-view .topic-feed-head {
  display: none;
}

.topic-futuremap-view .topic-feed-head {
  display: none;
}

/* ============================================================
   未来地图 (Future Map) 样式
   ============================================================ */

.futuremap-mode {
  overflow-y: auto;
  padding: 0;
}

.futuremap-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--faint);
  font-size: 14px;
}

.futuremap-empty-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

/* 世界树视图 */
.futuremap-tree-container {
  position: relative;
  margin: 0 auto;
}

.futuremap-tree-canvas {
  display: block;
  position: absolute;
  inset: 0;
}

.futuremap-tree-nodes {
  position: absolute;
  inset: 0;
}

.futuremap-root-node {
  position: absolute;
  transform: translate(-50%, -50%);
  min-width: 72px;
  padding: 10px 16px;
  border: 2px solid var(--cyan);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.futuremap-root-node:hover {
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.25);
  transform: translate(-50%, -50%) scale(1.06);
}

.futuremap-node-name {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.futuremap-node-count {
  font-size: 10px;
  color: var(--faint);
}

.futuremap-center-label {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(0, 229, 255, 0.4);
  letter-spacing: 0.06em;
  pointer-events: none;
}

.futuremap-tree-footer {
  text-align: center;
  padding: 12px 0 20px;
}

.futuremap-footer-hint {
  font-size: 12px;
  color: var(--muted);
}

/* 面板通用 */
.futuremap-panel {
  padding: 16px 20px 40px;
}

.futuremap-panel-header {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.futuremap-back-btn {
  padding: 4px 12px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background: transparent;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
  border-radius: 3px;
  margin-bottom: 10px;
}

.futuremap-back-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.futuremap-panel-title {
  margin: 0;
  font-size: 18px;
  color: var(--green);
  font-family: var(--mono);
}

.futuremap-panel-desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

.futuremap-section {
  margin-bottom: 24px;
}

.futuremap-section-title {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--faint);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.futuremap-count {
  font-size: 11px;
  color: var(--cyan);
  font-weight: 400;
}

/* 子分类网格 */
.futuremap-children-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.futuremap-child-btn {
  padding: 8px 16px;
  border: 1px solid rgba(0, 229, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  cursor: pointer;
  border-radius: 4px;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.futuremap-child-btn:hover {
  border-color: var(--green);
}

.futuremap-child-btn small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}

/* 驱动因子卡片 */
.futuremap-factors-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}

.futuremap-factor-card {
  padding: 12px 14px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.22);
}

.futuremap-factor-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.futuremap-factor-top strong {
  font-size: 13px;
  color: var(--ink);
  font-family: var(--mono);
}

.futuremap-factor-stars {
  font-size: 10px;
  color: var(--amber, #ffb700);
  letter-spacing: 1px;
}

.futuremap-factor-desc {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.futuremap-factor-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  font-family: var(--mono);
}

.futuremap-factor-val {
  color: var(--faint);
}

.futuremap-factor-trend {
  font-weight: 600;
}

.futuremap-factor-trend.trend-up { color: var(--green); }
.futuremap-factor-trend.trend-down { color: rgba(255, 80, 80, 0.8); }
.futuremap-factor-trend.trend-stable { color: var(--faint); }

/* 假设预览 */
.futuremap-hypotheses-preview {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.futuremap-hypothesis-preview-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 229, 255, 0.08);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
  border-radius: 3px;
  text-align: left;
  transition: border-color 0.2s;
}

.futuremap-hypothesis-preview-btn:hover {
  border-color: var(--green);
}

.hypothesis-type-badge {
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 10px;
  font-family: var(--mono);
  text-transform: uppercase;
  flex-shrink: 0;
}

.hypothesis-type-badge.baseline { border: 1px solid var(--cyan); color: var(--cyan); }
.hypothesis-type-badge.catalyst { border: 1px solid var(--green); color: var(--green); }
.hypothesis-type-badge.risk { border: 1px solid var(--amber, #ffb700); color: var(--amber, #ffb700); }
.hypothesis-type-badge.macro_breaking { border: 1px solid rgba(255, 80, 80, 0.7); color: rgba(255, 80, 80, 0.9); }

.hypothesis-text-preview {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hypothesis-confidence-preview {
  font-size: 12px;
  color: var(--green);
  font-family: var(--mono);
  flex-shrink: 0;
}

.futuremap-view-all-btn {
  padding: 8px;
  border: 1px dashed rgba(0, 229, 255, 0.14);
  background: transparent;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
  border-radius: 3px;
  margin-top: 4px;
}

.futuremap-view-all-btn:hover {
  border-color: var(--green);
  color: var(--green);
}

/* ============================================================
   未来地图吸收层 (Phase 5.4) — 话题宇宙内嵌视图
   ============================================================ */

.futuremap-loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--faint);
  font-size: 14px;
  font-family: var(--mono);
}

.futuremap-tree-section {
  padding: 16px;
  margin-bottom: 16px;
}

.futuremap-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.08);
}

.futuremap-section-header h3 {
  margin: 0;
  font-size: 15px;
  color: var(--green);
  font-family: var(--mono);
  letter-spacing: 0.03em;
}

.futuremap-section-hint {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
}

/* 面包屑导航 */
.futuremap-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 12px;
  margin-bottom: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  font-size: 12px;
  font-family: var(--mono);
}

.futuremap-bc-link {
  color: var(--cyan);
  text-decoration: none;
  cursor: pointer;
}

.futuremap-bc-link:hover {
  text-decoration: underline;
}

.futuremap-bc-current {
  color: var(--ink);
  font-weight: 600;
}

.futuremap-bc-sep {
  color: var(--muted);
  margin: 0 2px;
}

/* 节点卡片网格 */
.futuremap-nodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.futuremap-node-card {
  padding: 12px 14px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s, background 0.2s;
}

.futuremap-node-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  background: rgba(0, 0, 0, 0.35);
}

.futuremap-node-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.futuremap-node-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.futuremap-node-name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 热度徽章 */
.futuremap-heat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--mono);
  border: 1px solid;
  flex-shrink: 0;
  min-width: 28px;
  justify-content: center;
}

.futuremap-heat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.futuremap-node-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-family: var(--mono);
}

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

.futuremap-node-desc {
  margin-top: 6px;
  font-size: 11px;
  color: var(--faint);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 覆盖缺口面板 */
.futuremap-coverage-panel {
  padding: 16px;
}

.futuremap-coverage-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 720px) {
  .futuremap-coverage-columns {
    grid-template-columns: 1fr;
  }
}

.futuremap-coverage-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.futuremap-coverage-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--faint);
}

.futuremap-coverage-count {
  padding: 1px 8px;
  border-radius: 8px;
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
}

/* 缺口单项卡片 */
.futuremap-coverage-item {
  padding: 10px 12px;
  border: 1px solid rgba(0, 229, 255, 0.06);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.15);
  transition: border-color 0.2s;
}

.futuremap-coverage-item:hover {
  border-color: rgba(0, 229, 255, 0.2);
}

.futuremap-coverage-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.futuremap-coverage-type-tag {
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-family: var(--mono);
  text-transform: uppercase;
  border: 1px solid var(--cyan);
  color: var(--cyan);
}

.futuremap-coverage-tag-pred {
  border-color: var(--green);
  color: var(--green);
}

.futuremap-coverage-node {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
}

.futuremap-coverage-scenario {
  font-size: 11px;
  color: var(--amber, #ffb700);
  font-family: var(--mono);
  text-transform: uppercase;
}

.futuremap-coverage-text {
  font-size: 12px;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.futuremap-coverage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 10px;
  font-family: var(--mono);
  color: var(--faint);
}

.futuremap-coverage-topic {
  color: var(--cyan);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 140px;
}

.futuremap-coverage-empty {
  text-align: center;
  padding: 24px 12px;
  color: var(--muted);
  font-size: 13px;
  font-family: var(--mono);
}

/* 假设卡片网格 */
.futuremap-hypotheses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.futuremap-hypothesis-card {
  padding: 14px 16px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: border-color 0.2s;
}

.futuremap-hypothesis-card:hover {
  border-color: var(--green);
}

.hypothesis-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.hypothesis-year-badge {
  padding: 2px 6px;
  border: 1px solid rgba(0, 229, 255, 0.14);
  border-radius: 3px;
  font-size: 10px;
  color: var(--faint);
  font-family: var(--mono);
}

.hypothesis-card-text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

.hypothesis-card-confidence {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.confidence-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.confidence-bar.large {
  height: 10px;
}

.confidence-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 250, 154, 0.5), rgba(0, 250, 154, 0.9));
  border-radius: 3px;
  transition: width 0.4s;
}

.confidence-label {
  font-size: 12px;
  color: var(--green);
  font-family: var(--mono);
  flex-shrink: 0;
}

.confidence-label.large {
  font-size: 18px;
  font-weight: 600;
}

.hypothesis-card-meta {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: var(--faint);
  font-family: var(--mono);
}

/* 假设详情 */
.hypothesis-detail-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.hypothesis-status-badge {
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 10px;
  font-family: var(--mono);
}

.hypothesis-status-badge.active { border: 1px solid var(--green); color: var(--green); }
.hypothesis-status-badge.verified { border: 1px solid var(--cyan); color: var(--cyan); }
.hypothesis-status-badge.falsified { border: 1px solid rgba(255, 80, 80, 0.7); color: rgba(255, 80, 80, 0.9); }
.hypothesis-status-badge.expired { border: 1px solid var(--muted); color: var(--muted); }

.hypothesis-confidence-large {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.hypothesis-evidence-summary {
  display: flex;
  gap: 16px;
  font-size: 12px;
  font-family: var(--mono);
}

.evidence-summary-support { color: var(--green); }
.evidence-summary-oppose { color: rgba(255, 80, 80, 0.8); }
.evidence-summary-total { color: var(--faint); }

/* 证据列表 */
.futuremap-evidence-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.futuremap-evidence-item {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 229, 255, 0.06);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.16);
}

.futuremap-evidence-item.supporting { border-left: 3px solid var(--green); }
.futuremap-evidence-item.opposing { border-left: 3px solid rgba(255, 80, 80, 0.6); }
.futuremap-evidence-item.neutral { border-left: 3px solid var(--faint); }

.evidence-type-icon {
  font-size: 14px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.futuremap-evidence-item.supporting .evidence-type-icon { color: var(--green); }
.futuremap-evidence-item.opposing .evidence-type-icon { color: rgba(255, 80, 80, 0.8); }
.futuremap-evidence-item.neutral .evidence-type-icon { color: var(--faint); }

.evidence-content {
  flex: 1;
  min-width: 0;
}

.evidence-reasoning {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}

.evidence-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--faint);
  font-family: var(--mono);
  flex-wrap: wrap;
}

.evidence-topic-link {
  color: var(--cyan);
  text-decoration: none;
}

.evidence-topic-link:hover {
  color: var(--green);
}

/* 预测沙盘支撑（假设详情） */
.futuremap-prediction-supports-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.futuremap-prediction-support-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 229, 255, 0.06);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.16);
  border-left: 3px solid var(--cyan);
}

.prediction-support-header {
  display: flex;
  gap: 8px;
  align-items: center;
}

.prediction-support-scenario {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 2px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prediction-support-scenario.scenario-baseline {
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
}

.prediction-support-scenario.scenario-upside {
  background: rgba(0, 255, 120, 0.12);
  color: var(--green);
}

.prediction-support-scenario.scenario-risk {
  background: rgba(255, 180, 50, 0.12);
  color: #ffb432;
}

.prediction-support-scenario.scenario-macro_breaking {
  background: rgba(255, 80, 80, 0.12);
  color: rgba(255, 80, 80, 0.8);
}

.prediction-support-status {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 2px;
  font-family: var(--mono);
}

.prediction-support-status.status-draft {
  background: rgba(150, 150, 150, 0.15);
  color: var(--faint);
}

.prediction-support-status.status-pending {
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan);
}

.prediction-support-status.status-verified {
  background: rgba(0, 255, 120, 0.1);
  color: var(--green);
}

.prediction-support-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}

.prediction-support-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--faint);
  font-family: var(--mono);
  flex-wrap: wrap;
}

.prediction-support-reasoning {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--faint);
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 2px;
}

/* 时间轴图表 */
.futuremap-timeline-chart {
  border: 1px solid rgba(0, 229, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.topic-mode-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -4px 0 8px;
  padding: 0 6px 8px;
  border-bottom: 1px solid rgba(0, 250, 154, 0.12);
  flex-wrap: wrap;
}

.topic-mode-btn {
  min-height: 32px;
  padding: 6px 14px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background: transparent;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
  border-radius: 3px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.topic-mode-btn.active {
  border-color: var(--green);
  color: var(--green);
  background: rgba(0, 250, 154, 0.06);
}

.topic-mode-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: transparent;
  box-shadow: none;
}

.topic-mode-btn.active:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(0, 250, 154, 0.08);
}

a.topic-mode-link {
  border-style: solid;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
a.topic-mode-link::before {
  content: "◇";
  font-size: 10px;
  opacity: 0.6;
}
a.topic-mode-link:hover {
  border-style: solid;
  background: rgba(0, 250, 154, 0.06);
  color: var(--green);
  box-shadow: none;
}

.live-feed-head {
  flex-shrink: 0;
  grid-template-columns: 88px minmax(0, 1fr) 56px 88px;
  gap: 14px;
  padding-inline: 18px;
}

.admin-article-search {
  display: grid;
  flex-shrink: 0;
  grid-template-columns: 24px minmax(0, 1fr) auto 32px auto;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 8px 10px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: rgba(0, 18, 16, 0.74);
  box-shadow: inset 0 0 18px rgba(0, 250, 154, 0.05);
}

.admin-article-search span {
  color: var(--cyan);
  font-size: 18px;
  line-height: 1;
  text-align: center;
}

.admin-article-search input {
  min-width: 0;
  height: 32px;
  border: 1px solid rgba(0, 250, 154, 0.2);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  padding: 0 10px;
  outline: none;
}

.admin-article-search input:focus {
  border-color: var(--green);
  box-shadow: 0 0 16px rgba(0, 250, 154, 0.12);
}

.admin-article-search button {
  min-height: 32px;
  border: 1px solid rgba(0, 250, 154, 0.35);
  background: rgba(0, 250, 154, 0.08);
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
}

.admin-article-search-clear {
  width: 32px;
  padding: 0;
}

.admin-article-search small {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
}

.live-feed-head.custom {
  position: relative;
  grid-template-columns: var(--feed-tags-col, 88px) minmax(0, 1fr) 56px 88px;
}

.feed-resizer {
  position: absolute;
  top: 4px;
  bottom: 8px;
  z-index: 5;
  width: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: col-resize;
  transform: translateX(-6px);
}

.feed-resizer::before,
.feed-resizer::after {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: rgba(0, 229, 255, 0.48);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.36);
  opacity: 0.62;
  transition: opacity 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.feed-resizer::before {
  left: 5px;
}

.feed-resizer::after {
  left: 8px;
}

.feed-resizer:hover::before,
.feed-resizer:hover::after,
.resizing-feed-columns .feed-resizer::before,
.resizing-feed-columns .feed-resizer::after {
  background: var(--amber);
  box-shadow: 0 0 12px rgba(255, 209, 102, 0.52);
  opacity: 1;
}

.vault-feed-head {
  top: auto;
}

.feed-stream {
  position: relative;
  inset: auto;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: visible;
  padding: 0 8px 74px 0;
  scrollbar-color: rgba(0, 250, 154, 0.42) rgba(0, 0, 0, 0.18);
}

.feed-stream::before {
  content: "";
  flex: 0 0 1px;
  background: linear-gradient(to right, transparent, rgba(0, 250, 154, 0.35), transparent);
}

.feed-row {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(210px, 0.94fr) minmax(260px, 1.46fr) 58px 58px;
  align-items: start;
  gap: 16px;
  min-height: 76px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background:
    linear-gradient(90deg, rgba(0, 250, 154, 0.035), transparent 42%),
    rgba(3, 7, 6, 0.72);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.feed-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: transparent;
  box-shadow: none;
}

.feed-row > * {
  min-width: 0;
}

.feed-empty {
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 18px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background: rgba(3, 7, 6, 0.72);
  align-content: center;
}

.feed-empty strong {
  color: var(--ink);
  font-size: 15px;
}

.feed-empty span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
}

.feed-empty.compact {
  min-height: 78px;
  padding: 12px;
}

.feed-load-sentinel {
  width: 100%;
  min-height: 1px;
  pointer-events: none;
  opacity: 0;
}

body:not(.keyboard-nav) .feed-row:hover,
.feed-row.active {
  background:
    linear-gradient(90deg, rgba(0, 250, 154, 0.13), rgba(0, 229, 255, 0.055) 48%, transparent),
    rgba(3, 18, 15, 0.82);
  border-color: rgba(0, 250, 154, 0.72);
  box-shadow: inset 0 0 32px rgba(0, 250, 154, 0.055), 0 0 22px rgba(0, 229, 255, 0.10);
  transform: translateX(4px);
}

body:not(.keyboard-nav) .feed-row:hover::before,
.feed-row.active::before {
  background: var(--green);
  box-shadow: 0 0 18px rgba(0, 250, 154, 0.62);
}

.feed-row.gesture-dragging,
.topic-rebuild-row.gesture-dragging {
  transition: none !important;
  will-change: transform, opacity;
  touch-action: pan-y;
  cursor: grabbing;
}

.feed-row.gesture-left,
.topic-rebuild-row.gesture-left {
  border-color: rgba(255, 31, 91, 0.78);
  background:
    linear-gradient(90deg, rgba(255, 31, 91, 0.24), rgba(255, 31, 91, 0.08) 48%, transparent),
    rgba(18, 3, 8, 0.9);
  box-shadow: 0 0 28px rgba(255, 31, 91, 0.16), inset 0 0 34px rgba(255, 31, 91, 0.08);
}

.feed-row.gesture-right,
.topic-rebuild-row.gesture-right {
  border-color: rgba(0, 255, 132, 0.82);
  background:
    linear-gradient(90deg, rgba(0, 255, 132, 0.2), rgba(0, 229, 255, 0.1) 58%, transparent),
    rgba(2, 22, 14, 0.94);
  box-shadow: 0 0 32px rgba(0, 255, 132, 0.18), inset 0 0 38px rgba(0, 255, 132, 0.08);
}

/* Snap-back animation when swipe doesn't exceed threshold */
.feed-row.gesture-return,
.topic-rebuild-row.gesture-return {
  transition: transform 280ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 280ms ease !important;
}

.feed-row.swipe-archive-exit,
.topic-rebuild-row.swipe-archive-exit {
  transform: translate3d(-118%, 0, 0) scale(0.96) !important;
  opacity: 0 !important;
  border-color: rgba(255, 31, 91, 0.95);
  background: rgba(34, 0, 8, 0.92);
  transition: transform 190ms cubic-bezier(0.2, 0.75, 0.2, 1), opacity 190ms ease, background 190ms ease, border-color 190ms ease !important;
  will-change: transform, opacity;
}

.feed-row.swipe-phase2-exit,
.topic-rebuild-row.swipe-phase2-exit {
  transform: translate3d(118%, 0, 0) scale(0.96) !important;
  opacity: 0 !important;
  border-color: rgba(0, 255, 132, 0.95);
  background: rgba(2, 30, 17, 0.92);
  transition: transform 190ms cubic-bezier(0.2, 0.75, 0.2, 1), opacity 190ms ease, background 190ms ease, border-color 190ms ease !important;
  will-change: transform, opacity;
}

.feed-row.swipe-phase2-flash,
.topic-rebuild-row.swipe-phase2-flash {
  animation: quantumSwipeFlash 520ms ease-out;
}

@keyframes quantumSwipeFlash {
  0% {
    box-shadow: 0 0 0 rgba(0, 255, 132, 0), inset 0 0 0 rgba(0, 255, 132, 0);
  }
  24% {
    border-color: rgba(0, 255, 132, 1);
    box-shadow: 0 0 42px rgba(0, 255, 132, 0.36), inset 0 0 46px rgba(0, 255, 132, 0.16);
    background:
      linear-gradient(90deg, rgba(0, 255, 132, 0.28), rgba(0, 229, 255, 0.14) 58%, transparent),
      rgba(3, 28, 18, 0.96);
  }
  100% {
    box-shadow: inset 0 0 32px rgba(0, 250, 154, 0.055), 0 0 22px rgba(0, 229, 255, 0.10);
  }
}

.feed-time,
.feed-source,
.feed-score,
.feed-signal {
  font-family: var(--mono);
}

#digestStream .feed-row {
  grid-template-columns: 88px minmax(0, 1fr) 56px 88px;
  gap: 14px;
  /* 流容器在 stage 高度不足时会压缩子项；行高必须随内容撑开，禁止被 flex 压扁，
     否则卡片文字溢出行框、互相叠印（2026-09-20 实时速解「全都并在一起」根因）。 */
  flex-shrink: 0;
}

#digestStream.uniform .feed-row {
  min-height: 70px;
}

#digestStream.adaptive .feed-row {
  grid-template-columns: minmax(82px, 0.22fr) minmax(0, 1fr) 56px 88px;
  min-height: auto;
  align-items: start;
}

#digestStream.custom .feed-row {
  grid-template-columns: var(--feed-tags-col, 88px) minmax(0, 1fr) 56px 88px;
  min-height: auto;
  align-items: start;
}

.resizing-feed-columns,
.resizing-feed-columns * {
  cursor: col-resize !important;
  user-select: none;
}

.feed-time {
  color: var(--cyan);
  font-size: 12px;
}

.feed-stamp {
  display: block;
}

.feed-stamp small {
  display: grid;
  grid-auto-flow: row;
  justify-items: start;
  gap: 6px;
  color: var(--faint);
}

.feed-stamp em {
  max-width: calc(var(--feed-tags-col, 74px) - 2px);
  padding: 4px 7px;
  border: 1px solid rgba(255, 209, 102, 0.54);
  background: rgba(255, 209, 102, 0.12);
  color: var(--amber);
  font-style: normal;
  font-size: 10px;
  line-height: 1.12;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-stamp em:nth-child(2) {
  border-color: rgba(255, 107, 167, 0.56);
  background: rgba(255, 107, 167, 0.12);
  color: #ff8fc3;
}

.feed-stamp em:nth-child(3) {
  border-color: rgba(0, 229, 255, 0.52);
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan);
}

.feed-stamp em.source-label {
  border-color: rgba(0, 229, 255, 0.58);
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan);
}

.feed-stamp em.radar-tag {
  position: relative;
  border-color: rgba(0, 229, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.18), rgba(0, 250, 154, 0.07)),
    rgba(0, 0, 0, 0.26);
  color: var(--cyan);
  box-shadow: inset 3px 0 0 rgba(0, 250, 154, 0.58);
}

.feed-stamp em.radar-tag::before {
  content: "";
  position: absolute;
  right: 3px;
  top: 3px;
  width: 4px;
  height: 4px;
  background: var(--green);
  box-shadow: 0 0 8px rgba(0, 250, 154, 0.72);
}

.feed-stamp em.ai-grade {
  display: inline-grid;
  place-items: center;
  position: relative;
  width: 30px;
  min-height: 26px;
  padding: 3px 0;
  border-radius: 0;
  clip-path: polygon(18% 0, 82% 0, 100% 50%, 82% 100%, 18% 100%, 0 50%);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  overflow: visible;
  isolation: isolate;
}

.feed-stamp em.ai-grade::before,
.feed-stamp em.ai-grade::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.feed-stamp em.ai-grade::before {
  inset: 4px;
  clip-path: inherit;
  border: 1px solid currentColor;
  opacity: 0.46;
}

.feed-stamp em.ai-grade::after {
  left: 50%;
  top: -6px;
  width: 1px;
  height: 38px;
  background: currentColor;
  opacity: 0.18;
  transform: rotate(28deg);
}

.feed-stamp em.grade-s {
  border-color: rgba(255, 209, 102, 0.9);
  background:
    linear-gradient(135deg, rgba(255, 232, 163, 0.36), rgba(255, 122, 0, 0.14)),
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.24), transparent 36%);
  color: #ffe8a3;
  text-shadow: 0 0 12px rgba(255, 209, 102, 0.82);
  box-shadow: inset 0 0 14px rgba(255, 209, 102, 0.18), 0 0 18px rgba(255, 209, 102, 0.28);
}

.feed-stamp em.grade-a {
  border-color: rgba(0, 229, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(124, 77, 255, 0.1)),
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.14), transparent 38%);
  color: var(--cyan);
  box-shadow: inset 0 0 12px rgba(0, 229, 255, 0.1), 0 0 14px rgba(0, 229, 255, 0.18);
}

.feed-stamp em.grade-b {
  border-color: rgba(0, 250, 154, 0.58);
  background:
    linear-gradient(135deg, rgba(0, 250, 154, 0.16), rgba(0, 229, 255, 0.06)),
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.1), transparent 38%);
  color: var(--green);
}

.feed-stamp em.grade-c {
  border-color: rgba(232, 255, 247, 0.32);
  background:
    linear-gradient(135deg, rgba(232, 255, 247, 0.08), rgba(0, 229, 255, 0.04)),
    rgba(232, 255, 247, 0.02);
  color: var(--faint);
}

.grade-filter-group {
  flex: 1 1 100%;
}

.grade-filter {
  min-width: 46px;
}

.grade-filter span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  min-height: 22px;
  clip-path: polygon(18% 0, 82% 0, 100% 50%, 82% 100%, 18% 100%, 0 50%);
  font-weight: 900;
}

.grade-filter.grade-s span {
  color: #ffe8a3;
  background: rgba(255, 209, 102, 0.16);
  text-shadow: 0 0 10px rgba(255, 209, 102, 0.72);
}

.grade-filter.grade-a span {
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.12);
}

.grade-filter.grade-b span {
  color: var(--green);
  background: rgba(0, 250, 154, 0.1);
}

.grade-filter.grade-c span {
  color: var(--faint);
  background: rgba(232, 255, 247, 0.06);
}

.feed-source {
  color: var(--faint);
  font-size: 12px;
  text-transform: uppercase;
}

.feed-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.feed-main > strong,
.feed-row > strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 680;
  line-height: 1.42;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

#digestStream.uniform .feed-main > strong,
#digestStream.uniform .feed-row > strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.feed-summary {
  font-size: 14px;
  line-height: 1.72;
  color: rgba(232, 255, 247, 0.76);
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

#digestStream.uniform .feed-summary {
  display: block;
  overflow: visible;
}

#digestStream.adaptive .feed-summary {
  display: block;
  overflow: visible;
}

/* ── Content Intelligence V2（2026-09-19）realtime / insight 阅读节奏 ── */
.feed-summary.feed-ci {
  display: grid;
  gap: 7px;
  align-content: start;
}

.feed-ci-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: start;
  padding: 2px 10px;
  border: 1px solid rgba(0, 250, 154, 0.4);
  border-radius: 999px;
  background: rgba(0, 250, 154, 0.08);
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-family: var(--mono);
  line-height: 1.6;
}

.feed-ci-mode-insight {
  border-color: rgba(0, 229, 255, 0.36);
  background: rgba(0, 229, 255, 0.07);
  color: var(--cyan);
}

.feed-ci-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(0, 250, 154, 0.9);
  animation: feedCiPulse 1.8s ease-in-out infinite;
}

@keyframes feedCiPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.feed-ci-core {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.66;
  font-weight: 600;
  word-break: break-word;
}

.feed-ci-unit {
  display: flex;
  gap: 6px;
  align-items: baseline;
  font-size: 13px;
  line-height: 1.66;
  color: rgba(232, 255, 247, 0.7);
  word-break: break-word;
}

.feed-ci-unit i {
  font-style: normal;
  color: rgba(0, 250, 154, 0.85);
  white-space: nowrap;
}

.feed-ci-num {
  flex: none;
  min-width: 22px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.feed-ci-unit-body {
  display: grid;
  gap: 2px;
}

.feed-ci-unit-body i {
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
}

.feed-ci-more {
  justify-self: start;
  padding: 2px 0;
  border: 0;
  background: none;
  color: var(--cyan);
  font-size: 12px;
  font-family: var(--mono);
  cursor: pointer;
  letter-spacing: 0.02em;
}

.feed-ci-more:hover {
  text-decoration: underline;
}

/* insight 模式：更松的行距与留白，编号单元呼吸感 */
.feed-row[data-ci-mode="insight"] .feed-summary.feed-ci {
  gap: 10px;
}

.feed-row[data-ci-mode="insight"] .feed-main {
  padding-right: 6px;
}

html[data-theme="light"] .feed-summary.feed-ci .feed-ci-core {
  color: #06231a;
}

html[data-theme="light"] .feed-summary.feed-ci .feed-ci-unit {
  color: rgba(6, 35, 26, 0.78);
}

html[data-theme="light"] .feed-ci-mode {
  color: #00654a;
  border-color: rgba(0, 101, 74, 0.4);
  background: rgba(0, 250, 154, 0.1);
}

html[data-theme="light"] .feed-ci-mode-insight {
  color: #04586b;
  border-color: rgba(4, 88, 107, 0.36);
  background: rgba(0, 229, 255, 0.08);
}

html[data-theme="light"] .feed-ci-num {
  color: #04586b;
}

html[data-theme="light"] .feed-ci-unit-body i {
  color: #06231a;
}

html[data-theme="light"] .feed-ci-unit i {
  color: #00654a;
}

/* ── 实时速解卡片统一骨架（2026-09-20）──
   与聚合解读同一设计体系（同圆角 / 同边框 / 同字体 / 同标签 / 同底部操作），但更紧凑：
   3 列（实时状态+时间+标签 / 标题+核心速解+0~3 条要点+来源 / 收藏·喜欢·不喜欢），
   来源不再作为右上角独立框出现，正文不再是整块原文。 */
#digestStream .feed-row[data-card="realtime"],
.live-feed-head.feed-head-realtime {
  grid-template-columns: var(--feed-tags-col, 88px) minmax(0, 1fr) 56px;
}

#digestStream .feed-row[data-card="realtime"] {
  gap: 14px;
  min-height: 0;
  padding: 13px 18px;
  align-items: center;
}

#digestStream .feed-row[data-card="realtime"] .feed-main {
  gap: 6px;
}

.feed-rt-stamp small {
  display: grid;
  justify-items: start;
  gap: 4px;
}

.feed-stamp em.feed-rt-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-color: rgba(0, 229, 255, 0.5);
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
  font-family: var(--mono);
  letter-spacing: 0.06em;
}

.feed-stamp em.feed-rt-status.is-fresh {
  border-color: rgba(0, 250, 154, 0.5);
  background: rgba(0, 250, 154, 0.1);
  color: var(--green);
}

.feed-stamp em.feed-rt-time {
  border: 0;
  background: none;
  color: rgba(232, 255, 247, 0.52);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.feed-rt-title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 680;
  line-height: 1.4;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.feed-row[data-card="realtime"] .feed-summary.feed-rt-body {
  display: grid;
  gap: 5px;
}

.feed-rt-takeaway {
  display: grid;
  gap: 3px;
}

.feed-rt-takeaway > b {
  color: rgba(0, 250, 154, 0.72);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.feed-row[data-card="realtime"] .feed-ci-core {
  font-size: 13.5px;
  line-height: 1.6;
  font-weight: 600;
}

.feed-rt-unit {
  display: flex;
  gap: 7px;
  align-items: baseline;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(232, 255, 247, 0.68);
  word-break: break-word;
}

.feed-rt-num {
  flex: none;
  min-width: 18px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.feed-rt-unit-body {
  display: grid;
  gap: 1px;
}

.feed-rt-unit-body i {
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
  font-size: 12.5px;
}

#digestStream .feed-row[data-card="realtime"] .feed-source {
  margin-top: 2px;
}

.feed-dislike-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  min-height: 27px;
  padding: 0;
  justify-self: center;
  border: 0;
  background: transparent;
  color: rgba(255, 143, 195, 0.7);
  cursor: pointer;
  outline: 0;
  transition: transform 180ms ease, color 180ms ease, filter 180ms ease;
}

.feed-dislike-btn:hover {
  color: #ff8fc3;
}

.feed-dislike-btn.active {
  color: #ff6ba7;
  filter: drop-shadow(0 0 6px rgba(255, 107, 167, 0.55));
}

.feed-dislike-btn .hand-flip {
  transform: translateY(-2px) scaleY(-1);
}

.feed-dislike-btn.like-morph .hand-flip {
  animation: feedDislikeMorph 340ms ease;
}

@keyframes feedDislikeMorph {
  0% { transform: translateY(-2px) scaleY(-1) scale(1); }
  45% { transform: translateY(-2px) scaleY(-1) scale(1.22); }
  100% { transform: translateY(-2px) scaleY(-1) scale(1); }
}

.feed-head-realtime span:nth-child(4) {
  display: none;
}

html[data-theme="light"] .feed-rt-title,
html[data-theme="light"] .feed-rt-unit-body i {
  color: #06231a;
}

html[data-theme="light"] .feed-rt-unit {
  color: rgba(6, 35, 26, 0.76);
}

html[data-theme="light"] .feed-rt-takeaway > b {
  color: #00654a;
}

html[data-theme="light"] .feed-stamp em.feed-rt-status {
  color: #04586b;
}

html[data-theme="light"] .feed-stamp em.feed-rt-status.is-fresh {
  color: #00654a;
}

html[data-theme="light"] .feed-stamp em.feed-rt-time {
  color: rgba(6, 35, 26, 0.55);
}

.feed-score {
  display: grid;
  place-items: center;
  min-height: 36px;
  border: 1px solid rgba(0, 250, 154, 0.36);
  color: var(--green);
  font-size: 18px;
}

.feed-signal {
  display: grid;
  place-items: center;
  min-height: 36px;
  padding: 3px 2px;
  border: 1px solid rgba(0, 250, 154, 0.3);
  background: rgba(0, 0, 0, 0.14);
}

.feed-signal strong {
  color: var(--green);
  font-size: 15px;
  line-height: 1;
}

.feed-source-box {
  justify-items: center;
  min-width: 72px;
  max-width: 100%;
}

.feed-source-box strong {
  max-width: 100%;
  color: var(--cyan);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-signal small {
  margin-top: 3px;
  color: var(--cyan);
  font-size: 10px;
  line-height: 1.1;
}

.feed-source {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 11px;
  opacity: 0.8;
}
.feed-source em {
  color: var(--muted, #6b7280);
  font-style: normal;
  white-space: nowrap;
}
.feed-source-count {
  font-weight: 600;
  color: var(--accent, var(--cyan, #22d3ee));
}
.feed-source-link {
  margin-left: auto;
  color: var(--cyan, #22d3ee);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.feed-source-link:hover {
  opacity: 0.7;
}

/* ── Source Drawer（2026-09-19 来源证据链）── */
.feed-source-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border: 1px solid var(--line-cyan, rgba(0, 229, 255, 0.28));
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan, #22d3ee);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.feed-source-more:hover {
  background: rgba(0, 229, 255, 0.16);
  border-color: rgba(0, 229, 255, 0.5);
}

.source-drawer-host {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
}
.source-drawer-host .source-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 6, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.source-drawer-host .source-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(430px, 92vw);
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, rgba(8, 23, 18, 0.97), rgba(4, 12, 9, 0.97));
  border-left: 1px solid var(--line-cyan, rgba(0, 229, 255, 0.28));
  box-shadow: -18px 0 48px rgba(0, 0, 0, 0.5);
  transform: translateX(102%);
  transition: transform 0.24s ease;
  pointer-events: auto;
}
.source-drawer-host.open {
  pointer-events: auto;
}
.source-drawer-host.open .source-drawer-backdrop {
  opacity: 1;
}
.source-drawer-host.open .source-drawer {
  transform: translateX(0);
}
.source-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line, rgba(0, 250, 154, 0.18));
}
.source-drawer-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.source-drawer-title strong {
  color: var(--ink, #e8fff7);
  font-size: 15px;
}
.source-drawer-title em {
  color: var(--faint, rgba(232, 255, 247, 0.34));
  font-size: 9px;
  letter-spacing: 0.24em;
  font-style: normal;
}
.source-drawer-close {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line, rgba(0, 250, 154, 0.18));
  border-radius: 8px;
  background: var(--control-bg, rgba(0, 0, 0, 0.22));
  color: var(--muted, rgba(232, 255, 247, 0.62));
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.source-drawer-close:hover {
  color: var(--ink, #e8fff7);
  border-color: var(--line-cyan, rgba(0, 229, 255, 0.28));
}
.source-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px 18px 24px;
}
.source-drawer-loading {
  padding: 32px 8px;
  text-align: center;
  color: var(--muted, rgba(232, 255, 247, 0.62));
  font-size: 12px;
}
.source-drawer-error {
  color: var(--coral, #ff6b6b);
}
.source-drawer-row {
  padding: 12px 2px;
  border-bottom: 1px solid rgba(0, 250, 154, 0.1);
}
.source-drawer-row-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.source-drawer-row-head strong {
  color: var(--ink, #e8fff7);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.source-drawer-row-head small {
  margin-left: auto;
  color: var(--faint, rgba(232, 255, 247, 0.34));
  white-space: nowrap;
}
.source-drawer-type {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.04em;
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--cyan, #22d3ee);
  background: rgba(0, 229, 255, 0.08);
}
.source-drawer-type-official {
  border-color: rgba(0, 250, 154, 0.5);
  color: var(--green, #00fa9a);
  background: rgba(0, 250, 154, 0.1);
}
.source-drawer-type-data {
  border-color: rgba(255, 209, 102, 0.45);
  color: var(--amber, #ffd166);
  background: rgba(255, 209, 102, 0.08);
}
.source-drawer-type-opinion,
.source-drawer-type-prediction {
  border-color: rgba(255, 107, 107, 0.4);
  color: var(--coral, #ff6b6b);
  background: rgba(255, 107, 107, 0.08);
}
.source-drawer-row-title {
  margin: 6px 0;
  color: var(--muted, rgba(232, 255, 247, 0.62));
  font-size: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.source-drawer-row-link {
  color: var(--cyan, #22d3ee);
  font-size: 11px;
  text-decoration: none;
}
.source-drawer-row-link:hover {
  opacity: 0.7;
}

.feed-parsed-badge {
  position: absolute;
  right: 16px;
  bottom: 9px;
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  min-height: 20px;
  padding: 2px 8px;
  border: 1px solid rgba(0, 250, 154, 0.7);
  background:
    linear-gradient(90deg, rgba(0, 250, 154, 0.2), rgba(0, 229, 255, 0.1)),
    rgba(0, 0, 0, 0.28);
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 14px rgba(0, 250, 154, 0.18);
  pointer-events: none;
}

.feed-timebox {
  display: grid;
  place-items: center;
  min-height: 36px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background: rgba(0, 0, 0, 0.16);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
}

.feed-action-stack {
  display: grid;
  align-self: center;
  justify-items: center;
  align-content: center;
  gap: 4px;
  min-height: 58px;
}

.diamond-pin,
.feed-like-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  min-height: 27px;
  padding: 0 0 7px;
  justify-self: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(0, 229, 255, 0.88);
  cursor: pointer;
  outline: 0;
  transition: transform 180ms ease, color 180ms ease, filter 180ms ease;
}

.diamond-pin small,
.feed-like-btn small {
  position: absolute;
  left: 50%;
  bottom: 0;
  color: rgba(0, 229, 255, 0.58);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  transform: translateX(-50%);
}

.diamond-pin .hand-action-icon,
.feed-like-btn .hand-action-icon {
  display: block;
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  transform: translateY(-2px);
  transition: transform 180ms ease;
}

.hand-line-svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.68));
}

.hand-grab-open,
.hand-grabbed,
.hand-thumb-ready,
.hand-thumb-up {
  transform-origin: 50% 50%;
}

.hand-thumb-ready,
.hand-thumb-up {
  stroke-width: 1.85;
}

.hand-thumb-up .thumb-active-fill {
  fill: currentColor;
  opacity: 0.18;
  stroke: none;
}

.diamond-pin:hover,
.feed-like-btn:hover,
.diamond-pin:hover span,
.diamond-pin.active,
.feed-like-btn.active {
  color: var(--green);
  transform: translateY(-1px);
  filter: drop-shadow(0 0 8px rgba(0, 250, 154, 0.34));
}

.diamond-pin:focus-visible,
.feed-like-btn:focus-visible {
  color: var(--green);
  filter: drop-shadow(0 0 8px rgba(0, 250, 154, 0.5));
}

.diamond-pin:hover .hand-action-icon,
.diamond-pin.active .hand-action-icon,
.feed-like-btn:hover .hand-action-icon,
.feed-like-btn.active .hand-action-icon {
  transform: translateY(-3px) scale(1.06);
}

.diamond-pin.grab-curl .hand-line-svg {
  animation: handGrabCatch 240ms ease-out;
}

.diamond-pin.grab-release .hand-line-svg {
  animation: handGrabRelease 260ms ease-out;
}

.feed-like-btn.like-morph .hand-line-svg {
  animation: thumbLift 260ms ease-out;
}

.diamond-pin:hover small,
.diamond-pin.active small,
.feed-like-btn:hover small,
.feed-like-btn.active small {
  color: var(--green);
}

@keyframes handGrabCatch {
  0% {
    transform: scale(1.08) translateY(-1px);
  }
  55% {
    transform: scale(0.86) translateY(1px);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes handGrabRelease {
  0% {
    transform: scale(0.88) translateY(1px);
  }
  70% {
    transform: scale(1.08) translateY(-1px);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes thumbLift {
  0% {
    transform: translateY(2px) rotate(-8deg) scale(0.94);
  }
  60% {
    transform: translateY(-1px) rotate(4deg) scale(1.08);
  }
  100% {
    transform: translateY(0);
  }
}

.company-filter {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  left: auto;
  right: auto;
  top: auto;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  min-height: 58px;
  padding-right: 0;
}

.company-filter button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: rgba(0, 0, 0, 0.22);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  cursor: pointer;
}

.company-filter button.active,
.company-filter button:hover {
  border-color: var(--green);
  color: #00120c;
  background: var(--green);
}

.company-filter.entity-filter button {
  position: relative;
  min-width: 64px;
}

.company-filter.entity-filter {
  align-items: flex-start;
}

.filter-row,
.filter-toggle-row {
  flex: 1 1 100%;
  width: 100%;
}

.filter-row {
  display: flex;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 6px;
  border: 1px dashed rgba(0, 229, 255, 0.18);
  background: rgba(0, 0, 0, 0.1);
  cursor: grab;
  transition: border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.filter-row .filter-group {
  flex: 1 1 auto;
}

.filter-row.dragging {
  opacity: 0.48;
}

.filter-row.drag-over {
  border-color: var(--green);
  background: rgba(0, 250, 154, 0.08);
}

.filter-branch-line {
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) auto;
  align-items: center;
  width: 100%;
  min-height: 26px;
  gap: 10px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.filter-branch-line i {
  display: block;
  height: 1px;
  background:
    linear-gradient(90deg, rgba(0, 229, 255, 0.12), rgba(0, 250, 154, 0.78), rgba(0, 229, 255, 0.12));
  box-shadow: 0 0 12px rgba(0, 250, 154, 0.28);
}

.filter-branch-line.drag-over {
  color: var(--green);
}

.filter-branch-line.drag-over i {
  height: 2px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(0, 250, 154, 0.72);
}

.filter-drawer-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
}

.filter-drawer-toggle strong {
  color: var(--green);
  font-size: 15px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.category-group {
  width: 100%;
  gap: 6px;
  align-items: flex-start;
}

.company-filter.entity-filter .category-group button {
  min-width: auto;
  padding: 0 10px;
  font-size: 12px;
}

.category-admin-toggle {
  margin-left: auto;
  border-color: rgba(255, 201, 71, 0.45) !important;
  color: #ffd86b !important;
}

.category-admin-editor {
  display: flex;
  flex: 1 1 100%;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.category-admin-list {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 34px;
  padding: 3px;
  border: 1px solid transparent;
  transition: border-color 160ms ease, background 160ms ease;
}

.category-admin-list.drag-over {
  border-color: rgba(0, 250, 154, 0.34);
  background: rgba(0, 250, 154, 0.05);
}

.category-admin-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(0, 229, 255, 0.24);
  background: rgba(0, 229, 255, 0.08);
  color: var(--text);
  padding: 0 0 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  cursor: grab;
  user-select: none;
  transition: border-color 160ms ease, background 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.category-admin-chip::before {
  content: "⋮⋮";
  margin-right: 7px;
  color: rgba(0, 250, 154, 0.58);
  font-size: 10px;
  letter-spacing: -2px;
}

.category-admin-chip.dragging {
  opacity: 0.45;
  cursor: grabbing;
  transform: scale(0.98);
}

.category-admin-chip.drag-over {
  border-color: rgba(0, 250, 154, 0.78);
  background: rgba(0, 250, 154, 0.12);
  box-shadow: inset 0 0 14px rgba(0, 250, 154, 0.08);
}

.category-admin-chip button {
  min-height: 26px !important;
  margin-left: 6px;
  border-width: 0 0 0 1px !important;
  border-color: rgba(255, 98, 98, 0.45) !important;
  color: #ff8b8b !important;
  background: rgba(255, 98, 98, 0.08) !important;
  padding: 0 8px !important;
}

.category-admin-add {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.category-admin-add input {
  width: 120px;
  min-height: 34px;
  border: 1px solid rgba(0, 229, 255, 0.24);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  padding: 0 10px;
  font-family: var(--mono);
  font-size: 12px;
}

.category-admin-add button {
  border-color: rgba(255, 201, 71, 0.5);
  color: #ffd86b;
  min-width: 40px !important;
}

.vault-nav-group,
.vault-subnav-group {
  flex: 1 1 100%;
}

.vault-subnav-group {
  padding-left: 12px;
}

.vault-subnav-group button {
  min-height: 28px;
  font-size: 12px;
}

.entity-group {
  flex: 1 1 100%;
}

.range-group {
  flex: 1 1 100%;
  padding-right: 0;
}

.filter-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 2px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}

.settings-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.settings-row.muted {
  min-height: 34px;
  border-top: 1px solid rgba(0, 229, 255, 0.12);
  padding-top: 10px;
}

.settings-row small {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
}

.company-filter.entity-filter .entity-token {
  padding-right: 18px;
}

.entity-delete {
  position: absolute;
  right: 3px;
  bottom: 2px;
  display: grid;
  place-items: center;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255, 107, 107, 0.72);
  background: rgba(3, 7, 6, 0.9);
  color: var(--coral);
  font-size: 10px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.company-filter.entity-filter .entity-token:hover .entity-delete {
  opacity: 1;
  pointer-events: auto;
}

.company-filter.entity-filter .entity-add {
  min-width: 34px;
  padding: 0;
  color: var(--cyan);
  font-size: 18px;
}

.company-filter.entity-filter .entity-add.locked {
  color: var(--amber);
}

.company-filter.entity-filter .entity-add:hover {
  color: #00120c;
}

.entity-add-input {
  width: 118px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--green);
  background: rgba(3, 7, 6, 0.9);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  outline: 0;
  box-shadow: 0 0 20px rgba(0, 250, 154, 0.18);
}

.topic-stream {
  position: relative;
  inset: auto;
  flex: 1 1 auto;
  min-height: 420px;
}

.topic-stream.graph-mode {
  flex: 0 0 clamp(480px, calc(100vh - 156px), 720px);
  display: block;
  overflow: hidden;
  padding: 0;
  width: 100%;
  height: clamp(480px, calc(100vh - 156px), 720px);
  min-height: 0;
  max-height: calc(100vh - 132px);
  border: 1px solid rgba(0, 229, 255, 0.24);
  background:
    linear-gradient(rgba(34, 211, 238, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 50%, rgba(34, 211, 238, 0.11), transparent 14rem),
    rgba(2, 6, 23, 0.88);
  background-size: 34px 34px, 34px 34px, auto, auto;
  box-shadow:
    inset 0 0 70px rgba(34, 211, 238, 0.09),
    inset 0 0 160px rgba(0, 0, 0, 0.5);
  cursor: grab;
}

@media (max-width: 980px) {
  .topic-stream.graph-mode {
    flex-basis: clamp(460px, 68vh, 680px);
    height: clamp(460px, 68vh, 680px);
  }

  .force-node {
    min-width: 24px;
    min-height: 24px;
  }
}

.topic-stream.graph-mode:active {
  cursor: grabbing;
}

.topic-stream.graph-mode canvas {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  touch-action: none;
  user-select: none;
  transform-origin: 0 0;
  will-change: transform;
}

.force-node-layer {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  pointer-events: auto;
  transform-origin: 0 0;
  will-change: transform;
  touch-action: none;
  user-select: none;
}

.topic-stream.graph-mode.graph-panning {
  cursor: grabbing;
}

.force-node {
  --node-rgb: 0, 250, 154;
  --node-core: rgba(var(--node-rgb), 0.22);
  --node-shell: rgba(var(--node-rgb), 0.08);
  padding: 0;
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 30px;
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(var(--node-rgb), 0.5);
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.42), transparent 15%),
    radial-gradient(circle at 50% 55%, var(--node-core), var(--node-shell) 56%, rgba(var(--node-rgb), 0.03) 76%, transparent 100%);
  color: rgba(232, 255, 247, 0.94);
  font-family: var(--mono);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 10px rgba(var(--node-rgb), 0.48), 0 1px 2px rgba(0, 0, 0, 0.55);
  box-shadow:
    inset 0 0 18px rgba(var(--node-rgb), 0.12),
    0 0 18px rgba(var(--node-rgb), 0.2);
  transition: opacity 120ms ease, box-shadow 120ms ease, border-color 120ms ease, filter 120ms ease;
  will-change: transform, width, height;
  overflow: hidden;
  pointer-events: auto;
  cursor: grab;
  appearance: none;
  outline: 0;
  backdrop-filter: blur(3px);
}

.force-node:active {
  cursor: grabbing;
}

.force-node.tier-green {
  --node-rgb: 0, 250, 154;
}

.force-node.tier-blue {
  --node-rgb: 34, 211, 238;
}

.force-node.tier-yellow {
  --node-rgb: 250, 204, 21;
}

.force-node.tier-red {
  --node-rgb: 248, 113, 113;
}

.force-node.super,
.force-node.tier-red {
  box-shadow:
    inset 0 0 22px rgba(var(--node-rgb), 0.18),
    0 0 28px rgba(var(--node-rgb), 0.48),
    0 0 62px rgba(var(--node-rgb), 0.22);
  animation: force-node-pulse 1.9s ease-in-out infinite;
}

.force-node.tag {
  color: rgba(226, 240, 248, 0.88);
}

.force-node:hover,
.force-node:focus-visible {
  border-color: rgba(var(--node-rgb), 0.95);
  filter: saturate(1.35) brightness(1.16);
  box-shadow:
    inset 0 0 24px rgba(var(--node-rgb), 0.2),
    0 0 28px rgba(var(--node-rgb), 0.46),
    0 0 64px rgba(var(--node-rgb), 0.18);
}

@keyframes force-node-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(var(--node-rgb), 0.35));
  }
  50% {
    filter: drop-shadow(0 0 24px rgba(var(--node-rgb), 0.74));
  }
}

.topic-stream.graph-mode::before {
  content: "FORCE HEAT GRAPH  /  DRAG NODES  /  CLICK TO FILTER";
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 2;
  color: rgba(125, 211, 252, 0.52);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  pointer-events: none;
}

.topic-stream.rebuild-mode {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
  padding: 0 10px 12px;
  border: 1px solid rgba(0, 229, 255, 0.12);
  background: rgba(0, 0, 0, 0.08);
}

.topic-stream.custom-topic-mode {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: auto;
  padding: 16px;
  border: 1px solid rgba(0, 229, 255, 0.12);
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 229, 255, 0.18), transparent 180px),
    radial-gradient(circle at 82% 12%, rgba(0, 250, 154, 0.12), transparent 220px),
    rgba(0, 0, 0, 0.08);
}

.custom-topic-launcher {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 190px;
  border: 1px dashed rgba(0, 250, 154, 0.42);
  background:
    linear-gradient(135deg, rgba(0, 250, 154, 0.12), transparent 48%),
    rgba(0, 20, 18, 0.48);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.custom-topic-launcher:hover {
  border-color: rgba(0, 250, 154, 0.82);
  box-shadow: inset 0 0 44px rgba(0, 250, 154, 0.08), 0 0 28px rgba(0, 250, 154, 0.12);
  transform: translateY(-1px);
}

.custom-topic-launcher span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(0, 229, 255, 0.42);
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #00120c;
  font: 42px/1 var(--mono);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.24);
}

.custom-topic-launcher strong {
  color: var(--green);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.custom-topic-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(0, 250, 154, 0.28);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(0, 250, 154, 0.05)),
    rgba(2, 12, 11, 0.68);
  box-shadow: inset 0 0 28px rgba(0, 229, 255, 0.05);
}

.custom-topic-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.custom-topic-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.custom-topic-form input,
.custom-topic-form select {
  width: 100%;
  border: 1px solid rgba(0, 229, 255, 0.26);
  background: rgba(0, 0, 0, 0.36);
  color: var(--ink);
  font: 12px var(--mono);
  outline: none;
}

.custom-topic-form input,
.custom-topic-form select {
  min-height: 42px;
  padding: 0 12px;
  font-size: 13px;
}

.custom-topic-submit {
  min-width: 116px;
}

.custom-topic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.custom-topic-plan {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(255, 209, 102, 0.22);
  background: rgba(255, 209, 102, 0.05);
}

.custom-topic-plan strong {
  color: var(--amber);
  font-size: 13px;
}

.custom-topic-plan ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
}

.custom-topic-plan p {
  margin: 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
}

.custom-topic-note {
  color: var(--muted);
  font-size: 12px;
}

.custom-topic-queue {
  display: grid;
  gap: 10px;
}

.question-archive-panel {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.07), rgba(0, 250, 154, 0.035)),
    rgba(2, 12, 11, 0.58);
  padding: 12px;
}

.question-archive-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid rgba(0, 250, 154, 0.12);
  background: linear-gradient(90deg, rgba(0, 250, 154, 0.1), transparent 64%);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.question-archive-head span {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.question-archive-head strong {
  display: grid;
  place-items: center;
  min-width: 30px;
  min-height: 24px;
  border: 1px solid rgba(0, 250, 154, 0.32);
  color: var(--cyan);
}

.question-archive-table-wrap {
  overflow-x: auto;
}

.question-archive-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--muted);
  font-size: 12px;
}

.question-archive-table th,
.question-archive-table td {
  padding: 10px 8px;
  border-top: 1px solid rgba(0, 229, 255, 0.12);
  text-align: left;
  vertical-align: top;
}

.question-archive-table th {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
}

.question-archive-table td:first-child span {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  padding: 4px 6px;
  border: 1px solid rgba(0, 229, 255, 0.24);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 10px;
}

.question-archive-table strong,
.question-archive-table small {
  display: block;
}

.question-archive-table strong {
  max-width: 360px;
  color: var(--ink);
  line-height: 1.4;
}

.question-archive-table small {
  margin-top: 4px;
  max-width: 460px;
  color: var(--faint);
  line-height: 1.45;
}

.question-archive-table tr.ready td {
  border-top-color: rgba(0, 250, 154, 0.22);
}

.question-archive-table tr.failed td {
  border-top-color: rgba(255, 96, 96, 0.28);
}

.question-archive-open {
  min-width: 56px;
  min-height: 30px;
  padding: 0 10px;
}

.question-archive-empty {
  min-height: 54px;
  display: grid;
  align-content: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.custom-topic-request {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  min-height: 82px;
  padding: 12px;
  border: 1px solid rgba(0, 250, 154, 0.14);
  background: rgba(2, 12, 11, 0.56);
}

.custom-topic-request.ready {
  border-color: rgba(0, 250, 154, 0.46);
}

.custom-topic-request.failed {
  border-color: rgba(255, 96, 96, 0.42);
}

.custom-topic-request-main {
  min-width: 0;
}

.custom-topic-request-title {
  display: flex;
  gap: 10px;
  align-items: baseline;
  min-width: 0;
}

.custom-topic-request-title strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-topic-request-title span {
  flex: 0 0 auto;
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
}

.custom-topic-request p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.custom-topic-request em {
  display: block;
  margin-top: 6px;
  color: #ff9a9a;
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
}

.custom-topic-delete {
  grid-column: 2;
  justify-self: end;
  align-self: end;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 90, 90, 0.46);
  background:
    linear-gradient(110deg, rgba(255, 90, 90, 0.14), transparent 62%),
    rgba(0, 0, 0, 0.22);
  color: #ff8b8b;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  touch-action: pan-y;
  user-select: none;
}

.custom-topic-delete:hover,
.custom-topic-delete:focus-visible {
  border-color: rgba(255, 90, 90, 0.82);
  background: rgba(255, 90, 90, 0.16);
  color: #ffd7d7;
}

.custom-topic-delete:disabled {
  cursor: wait;
  opacity: 0.62;
}

.topic-rebuild-row {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: minmax(72px, max-content) minmax(0, 1fr) minmax(58px, auto) minmax(48px, auto);
  gap: 12px;
  align-items: start;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  padding: 12px;
  border: 1px solid rgba(0, 250, 154, 0.16);
  background:
    linear-gradient(90deg, rgba(0, 250, 154, 0.08), transparent 44%),
    rgba(2, 12, 11, 0.56);
  cursor: pointer;
}

.topic-rebuild-row:hover,
.topic-rebuild-row.active {
  border-color: rgba(0, 250, 154, 0.58);
  box-shadow: 0 0 24px rgba(0, 250, 154, 0.12);
}

.topic-rebuild-tags,
.topic-heat-score,
.topic-rebuild-time {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  max-width: 100%;
  font-family: var(--mono);
}

.topic-rebuild-tags {
  gap: 6px;
}

.topic-rebuild-tags span {
  width: fit-content;
  max-width: min(150px, 100%);
  padding: 4px 7px;
  border: 1px solid rgba(0, 229, 255, 0.24);
  color: var(--cyan);
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topic-rebuild-main {
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

.topic-rebuild-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.topic-rebuild-title strong {
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
}

.topic-rebuild-title em {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topic-rebuild-main p {
  margin: 8px 0 10px;
  overflow: visible;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.topic-heat-equation {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
}

.topic-heat-equation span {
  max-width: 100%;
  padding: 3px 6px;
  border: 1px solid rgba(255, 209, 102, 0.14);
  background: rgba(255, 209, 102, 0.04);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topic-heat-score {
  align-items: flex-end;
  min-width: 58px;
  overflow: visible;
}

.topic-heat-score span {
  color: var(--amber);
  font-size: 10px;
}

.topic-heat-score strong {
  color: var(--green);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.1;
}

.topic-rebuild-time {
  align-items: flex-end;
  min-width: 42px;
  overflow: visible;
  color: var(--faint);
  font-size: 11px;
  text-align: right;
  overflow-wrap: anywhere;
}

@media (max-width: 1320px) {
  .topic-rebuild-row {
    grid-template-columns: minmax(68px, max-content) minmax(0, 1fr) minmax(58px, auto);
  }

  .topic-rebuild-time {
    grid-column: 2 / -1;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 1080px) {
  .topic-rebuild-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .topic-rebuild-tags {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .topic-heat-score,
  .topic-rebuild-time {
    align-items: flex-start;
    text-align: left;
  }
}

.graph-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.vault-stream::before {
  content: none;
}

.vault-row {
  grid-template-columns: minmax(58px, 0.12fr) minmax(150px, 0.34fr) minmax(0, 1fr) 48px 62px;
  width: 100%;
  min-height: auto;
  padding: 13px 14px;
  gap: 12px;
  align-items: start;
}

.vault-row > strong,
.vault-row .feed-summary {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.vault-row > strong {
  font-size: 15px;
  line-height: 1.45;
}

.vault-row .feed-summary {
  font-size: 13px;
  line-height: 1.7;
}

.vault-row .feed-score,
.vault-row .feed-timebox {
  align-self: start;
}

.vault-empty {
  display: grid;
  align-content: center;
  min-height: 220px;
  padding: 28px;
  border: 1px dashed rgba(0, 250, 154, 0.26);
  background: rgba(0, 0, 0, 0.14);
  color: var(--muted);
  font-family: var(--mono);
}

.vault-empty strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 560;
}

.vault-empty span {
  margin-top: 10px;
  max-width: 520px;
  font-size: 12px;
  line-height: 1.6;
}

.vault-row .feed-score {
  font-size: 11px;
  letter-spacing: 0.06em;
}

.fragment-vault-row {
  display: grid;
  grid-template-columns: 74px minmax(360px, 1fr) minmax(160px, 240px) 52px;
  align-items: start;
  gap: 14px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  background: rgba(3, 7, 6, 0.54);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.fragment-vault-row:hover,
.fragment-vault-row.active {
  border-color: rgba(0, 250, 154, 0.5);
  background: rgba(0, 250, 154, 0.06);
  transform: translateX(4px);
}

.dialogue-vault-row {
  border-color: rgba(255, 74, 128, 0.2);
  background: linear-gradient(90deg, rgba(255, 74, 128, 0.08), rgba(0, 229, 255, 0.035));
}

.dialogue-vault-row:hover,
.dialogue-vault-row.active {
  border-color: rgba(255, 210, 87, 0.5);
  background: linear-gradient(90deg, rgba(255, 210, 87, 0.1), rgba(0, 250, 154, 0.045));
}

.fragment-section {
  display: inline-flex;
  width: max-content;
  max-width: 74px;
  padding: 3px 5px;
  border: 1px solid rgba(255, 209, 102, 0.54);
  background: rgba(255, 209, 102, 0.1);
  color: var(--amber);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fragment-text {
  color: rgba(232, 255, 247, 0.72);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.fragment-origin,
.fragment-time {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
}

.fragment-origin {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-modal-backdrop.dialogue-mode .detail-modal {
  max-width: min(760px, calc(100vw - 48px));
}

.detail-modal-backdrop.dialogue-mode #modalSummary {
  margin-top: 12px;
}

.dialogue-record {
  display: grid;
  gap: 14px;
  color: rgba(232, 255, 247, 0.78);
}

.dialogue-record-meta,
.dialogue-original {
  border: 1px solid rgba(0, 229, 255, 0.18);
  background: rgba(0, 229, 255, 0.035);
  padding: 10px 12px;
}

.dialogue-record-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.dialogue-record-thread {
  display: grid;
  gap: 10px;
}

.dialogue-message {
  border: 1px solid rgba(0, 250, 154, 0.18);
  background: rgba(0, 250, 154, 0.045);
  padding: 12px 14px;
}

.dialogue-message.user {
  border-color: rgba(255, 210, 87, 0.28);
  background: rgba(255, 210, 87, 0.07);
}

.dialogue-message span,
.dialogue-original span {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.dialogue-message.user span {
  color: var(--amber);
}

.dialogue-message p,
.dialogue-original p {
  margin: 0;
  color: rgba(232, 255, 247, 0.82);
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-wrap;
}

.fragment-time {
  justify-self: end;
  color: var(--cyan);
}

.archive-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background: rgba(3, 7, 6, 0.54);
}

.archive-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.archive-table th,
.archive-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0, 250, 154, 0.12);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  text-align: left;
  vertical-align: top;
}

.archive-table th {
  color: var(--faint);
  font-size: 10px;
  text-transform: uppercase;
}

.archive-table tr:hover td {
  background: rgba(0, 250, 154, 0.045);
}

.archive-table tr.archive-row-open {
  cursor: pointer;
}

.archive-table tr.archive-row-open:hover td {
  background: rgba(0, 229, 255, 0.065);
}

.archive-table strong {
  display: block;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.45;
}

.archive-table small {
  display: block;
  margin-top: 5px;
  color: rgba(232, 255, 247, 0.58);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.55;
}

.archive-type {
  display: inline-flex;
  padding: 3px 6px;
  border: 1px solid rgba(255, 31, 91, 0.52);
  background: rgba(255, 31, 91, 0.1);
  color: #ff5f8f;
  line-height: 1;
}

.archive-type.deep {
  border-color: rgba(0, 229, 255, 0.68);
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
  box-shadow: inset 0 0 10px rgba(0, 229, 255, 0.1);
}

.archive-type.running {
  border-color: rgba(255, 209, 102, 0.68);
  background: rgba(255, 209, 102, 0.12);
  color: #ffd166;
  box-shadow: inset 0 0 10px rgba(255, 209, 102, 0.1);
}

.archive-open-btn {
  min-height: 24px;
  padding: 0 8px;
  font-size: 10px;
}

.pin-btn {
  display: inline-grid;
  place-items: center;
  min-height: 24px;
  margin-left: 10px;
  padding: 0 9px;
  border: 1px solid rgba(0, 250, 154, 0.34);
  background: rgba(0, 0, 0, 0.32);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.pin-btn:hover,
.pin-btn.active {
  border-color: var(--green);
  background: rgba(0, 250, 154, 0.14);
  color: var(--green);
  box-shadow: 0 0 18px rgba(0, 250, 154, 0.24);
}

.modal-deep-btn {
  width: 100%;
  min-height: 38px;
  margin: 14px 0;
  border: 1px solid rgba(0, 250, 154, 0.42);
  background: rgba(0, 250, 154, 0.08);
  color: var(--green);
  font-family: var(--mono);
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.focus-node {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: min(38vw, 360px);
  aspect-ratio: 1;
  padding: 46px;
  transform: translate(-50%, -42%);
  text-align: center;
  display: none;
}

.focus-rings,
.focus-rings::before,
.focus-rings::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 250, 154, 0.25);
  border-radius: 50%;
  animation: breathe 4s infinite ease-in-out;
}

.focus-rings::before,
.focus-rings::after {
  content: "";
}

.focus-rings::before {
  inset: 24px;
  border-color: rgba(0, 229, 255, 0.28);
  animation-delay: 0.6s;
}

.focus-rings::after {
  inset: 58px;
  border-style: dashed;
  animation-delay: 1.2s;
}

.focus-node p,
.focus-node h3,
.focus-meta {
  position: relative;
  z-index: 2;
}

.focus-node p {
  margin-bottom: 10px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
}

.focus-node h3 {
  max-width: 260px;
  margin-bottom: 18px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 560;
  line-height: 1.16;
}

.focus-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.focus-meta span,
.keywords span {
  border: 1px solid rgba(0, 229, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
}

.focus-meta span {
  padding: 6px 8px;
}

.summary-block h2 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 560;
  line-height: 1.2;
}

.summary-block p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.index-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.index-grid div {
  min-height: 88px;
  padding: 14px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  background: rgba(0, 0, 0, 0.2);
}

.index-grid span,
.index-grid strong {
  display: block;
  font-family: var(--mono);
}

.index-grid span {
  color: var(--faint);
  font-size: 11px;
}

.index-grid strong {
  margin-top: 12px;
  color: var(--green);
  font-size: 28px;
  font-weight: 500;
}

.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keywords span {
  padding: 7px 9px;
  color: var(--cyan);
  font-size: 11px;
}

.source-links {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.source-links a,
.source-links button {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: rgba(0, 0, 0, 0.2);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
}

.source-links a:hover,
.source-links button:hover {
  color: var(--green);
}

.source-links .deep-analysis-strip {
  position: relative;
  width: 100%;
  min-height: 46px;
  margin: 6px 0 8px;
  border-color: rgba(0, 250, 154, 0.64);
  background:
    linear-gradient(90deg, rgba(0, 250, 154, 0.18), rgba(0, 229, 255, 0.08) 46%, rgba(0, 250, 154, 0.18)),
    rgba(0, 18, 16, 0.64);
  color: #eafff7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-shadow: 0 0 14px rgba(0, 250, 154, 0.72);
  box-shadow:
    inset 0 0 28px rgba(0, 250, 154, 0.08),
    0 0 18px rgba(0, 229, 255, 0.12);
  overflow: hidden;
}

.source-links .deep-analysis-strip::before,
.source-links .deep-analysis-strip::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 250, 154, 0.78));
  transform: translateY(-50%);
  pointer-events: none;
}

.source-links .deep-analysis-strip::before {
  left: 10px;
}

.source-links .deep-analysis-strip::after {
  right: 10px;
  transform: translateY(-50%) scaleX(-1);
}

.source-links .deep-analysis-strip:hover,
.source-links .deep-analysis-strip:focus-visible {
  border-color: rgba(0, 250, 154, 0.92);
  color: #00120c;
  background:
    linear-gradient(90deg, rgba(0, 250, 154, 0.95), rgba(0, 229, 255, 0.82)),
    var(--green);
  text-shadow: none;
}

.source-links .modal-deep-btn {
  margin: 0;
  border-color: rgba(0, 250, 154, 0.42);
  background: rgba(0, 250, 154, 0.08);
  color: var(--green);
}

.source-links .metric-label {
  margin: 0 0 2px;
}

.detail-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 12;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.62);
}

.detail-modal-backdrop.open {
  display: grid;
}

.detail-modal {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow-y: auto;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--glass-strong);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.04), 0 26px 80px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(22px);
  user-select: text;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  color: var(--cyan);
  font-size: 21px;
  cursor: pointer;
}

.detail-modal button,
.detail-modal .source-link-button,
.modal-close {
  user-select: none;
}

.detail-modal h2 {
  margin: 0 44px 12px 0;
  font-size: 26px;
  font-weight: 560;
  line-height: 1.25;
  user-select: text;
}

.detail-modal p {
  color: var(--muted);
  line-height: 1.75;
  user-select: text;
}

.modal-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.modal-facts div {
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  background: rgba(0, 0, 0, 0.2);
}

.modal-facts span,
.modal-facts strong {
  display: block;
  font-family: var(--mono);
}

.modal-facts span {
  color: var(--faint);
  font-size: 11px;
}

.modal-facts strong {
  margin-top: 10px;
  color: var(--green);
  font-size: 16px;
  font-weight: 500;
  word-break: break-word;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.52;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes barPulse {
  0%,
  100% {
    height: 24%;
    opacity: 0.38;
  }
  50% {
    height: 100%;
    opacity: 1;
  }
}

@media (max-width: 1180px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .shell {
    display: block;
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .dashboard {
    /* ≤1180px：右辅助栏整体下移为整行，中间内容列拿到全部余量 */
    grid-template-columns: min(var(--left-panel-width), 240px) minmax(0, 1fr);
    min-height: auto;
    overflow: visible;
  }

  /* 窄屏取消桌面端 120px 出血（负 margin + 等量 padding）：内容位置不变，
     但主体不再比所在列宽 240px，文档不再被撑宽（此前靠 body overflow-x:hidden 兜底） */
  .stage-body.active {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .insight {
    grid-column: 1 / -1;
    position: relative;
    top: auto;
    min-height: auto;
    max-height: none;
    overflow: visible;
  }

  .stage {
    min-height: 680px;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .dial-dock {
    --dial-size: 330px;
    --dial-offset: -205px;
    --dial-menu-left: 246px;
    --dial-menu-width: 162px;
    height: 540px;
  }

  .dial-item {
    min-height: 45px;
  }

  .dial-core {
    width: 96px;
  }

  .dial-pointer {
    width: var(--dial-pointer-length, 110px);
    transform: rotate(var(--active-angle)) translateX(48px);
  }
}

@media (max-width: 820px) {
  /* 窄屏把页边距收成 token 本身，所有 container（.shell / .report-shell /
     .approach-shell / 独立页 inline 样式）一起收，不再各自写死 */
  :root {
    --page-gutter: 20px;
  }

  .shell {
    padding: 10px 0;
  }

  .topbar,
  .dashboard {
    grid-template-columns: 1fr;
  }

  .brand-mark {
    width: 98px;
    height: 44px;
  }

  body.left-collapsed,
  body.right-collapsed {
    --left-panel-width: 1fr;
    --right-panel-width: 1fr;
  }

  .panel-toggle,
  .edge-toggle,
  .panel-resizer {
    display: none;
  }

  body.left-collapsed .gear-panel,
  body.right-collapsed .insight {
    padding: 18px;
    border-width: 1px;
    opacity: 1;
    pointer-events: auto;
  }

  body.left-collapsed .gear-panel > *,
  body.right-collapsed .insight > * {
    display: revert;
  }

  .clock {
    justify-self: start;
    text-align: left;
  }

  .panel,
  .stage {
    min-height: auto;
  }

  .interaction-banner {
    grid-template-columns: 1fr;
  }

  .swipe-demo {
    display: none;
  }

  .interaction-action,
  .interaction-banner-core strong {
    text-align: center;
  }

  .gear-panel {
    position: relative;
    top: auto;
    max-height: none;
    overflow: visible;
    min-height: 500px;
  }

  .dial-dock {
    --dial-size: 300px;
    --dial-offset: -170px;
    --dial-menu-left: 210px;
    --dial-menu-width: calc(100% - 96px);
    height: 520px;
    margin: 0 -18px;
  }

  .dial-items-layer {
    left: var(--dial-menu-left);
    top: 32px;
    width: var(--dial-menu-width);
    min-width: 0;
  }

  .dial-item {
    min-height: 44px;
    padding-inline: 12px;
  }

  .global-qa-rail {
    grid-template-columns: 40px minmax(0, 1fr);
    margin-top: 14px;
  }

  .dial-core {
    width: 88px;
  }

  .dial-core strong {
    font-size: 15px;
  }

  .dial-pointer {
    width: var(--dial-pointer-length, 96px);
    transform: rotate(var(--active-angle)) translateX(44px);
  }

  .stage {
    min-height: 760px;
  }

  .strategic-qa-form {
    grid-template-columns: 1fr;
  }

  .strategic-qa-form button {
    min-height: 48px;
  }

  .strategic-qa-hero h3 {
    font-size: 32px;
  }

  .feed-stream {
    position: relative;
    inset: auto;
  }

  .feed-head {
    left: auto;
    right: auto;
    top: auto;
    grid-template-columns: 28px 1fr 52px;
  }

  .feed-head span:nth-child(2),
  .feed-head span:nth-child(4) {
    display: none;
  }

  .feed-row {
    grid-template-columns: 28px 1fr 52px;
    gap: 8px;
  }

  .live-feed-head.custom,
  #digestStream.custom .feed-row {
    grid-template-columns: 28px 1fr 52px;
  }

  /* 实时速解卡片在窄屏是 2 列（标签列隐藏后主体不能被压进 28px 列） */
  #digestStream .feed-row[data-card="realtime"] {
    grid-template-columns: minmax(0, 1fr) 52px;
    padding: 12px 14px;
  }

  .live-feed-head.feed-head-realtime {
    grid-template-columns: minmax(0, 1fr) 52px;
  }

  .live-feed-head.feed-head-realtime span:nth-child(1),
  .live-feed-head.feed-head-realtime span:nth-child(4) {
    display: none;
  }

  .live-feed-head.feed-head-realtime span:nth-child(2) {
    display: block;
  }

  .admin-article-search {
    grid-template-columns: 22px minmax(0, 1fr) 32px;
  }

  .admin-article-search button[type="submit"],
  .admin-article-search small {
    display: none;
  }

  .feed-resizer {
    display: none;
  }

  .feed-stamp {
    display: none;
  }

  .feed-summary {
    grid-column: 2 / 3;
  }

  .feed-signal,
  .feed-timebox {
    grid-column: 3 / 4;
  }

  .company-filter {
    left: auto;
    right: auto;
  }

  .topic-stream {
    position: relative;
    inset: auto;
  }

  .topic-rebuild-row {
    grid-template-columns: 1fr;
  }

  .custom-topic-form,
  .custom-topic-request {
    grid-template-columns: 1fr;
  }

  .custom-topic-actions {
    justify-content: stretch;
  }

  .custom-topic-actions .topic-mode-btn {
    flex: 1 1 130px;
  }

  .topic-heat-score,
  .topic-rebuild-time {
    align-items: flex-start;
  }

  .topic-feed-head {
    top: auto;
  }

  .focus-node {
    width: min(82vw, 320px);
    padding: 38px;
  }
}

.topic-page {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

.topic-page .panel {
  min-height: auto;
}

.topic-shell {
  display: grid;
  gap: 18px;
  height: auto;
  min-height: 100vh;
  overflow: visible;
}

.topic-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topic-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cs-meter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 229, 255, 0.28);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(140, 255, 106, 0.08));
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.12);
  font-family: var(--mono);
}

.cs-meter span {
  color: var(--faint);
  font-size: 11px;
}

.cs-meter strong {
  color: var(--green);
  font-size: 15px;
}

.topic-detail-panel {
  padding: 28px;
}

.topic-detail-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
}

.topic-summary {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.topic-facts {
  max-width: 760px;
}

.topic-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
}

.topic-card {
  padding: 22px;
}

.topic-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.deep-unlock-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 77, 46, 0.52);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 229, 92, 0.22), transparent 26px),
    linear-gradient(135deg, rgba(66, 0, 12, 0.72), rgba(0, 24, 22, 0.64));
  color: #fff4bf;
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
  box-shadow:
    inset 0 0 18px rgba(255, 77, 46, 0.16),
    0 0 22px rgba(255, 51, 0, 0.16);
  text-shadow: 0 0 12px rgba(255, 210, 84, 0.55);
}

.report-translate-btn {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(0, 229, 255, 0.34);
  background: rgba(0, 229, 255, 0.07);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
}

.report-translate-btn:hover,
.report-translate-btn:focus-visible {
  border-color: rgba(0, 250, 154, 0.7);
  color: var(--green);
  background: rgba(0, 250, 154, 0.1);
  outline: none;
}

.report-translate-btn:disabled {
  cursor: wait;
  opacity: 0.66;
}

.report-translate-btn.hidden {
  display: none;
}

.unlock-hand {
  position: absolute;
  left: -46px;
  top: 50%;
  width: 34px;
  height: 24px;
  transform: translateY(-50%);
  pointer-events: none;
  animation: unlockHandPoint 1.05s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.82));
}

.unlock-hand::before {
  content: "☞";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #dffff4;
  font-family: "Segoe UI Symbol", "Microsoft YaHei", sans-serif;
  font-size: 28px;
  line-height: 1;
  text-shadow:
    0 0 10px rgba(0, 229, 255, 0.95),
    0 0 18px rgba(0, 250, 154, 0.58);
}

.unlock-hand::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(0, 229, 255, 0.72);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.62);
  animation: unlockHandPulse 1.05s ease-out infinite;
}

.deep-unlock-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.deep-unlock-btn:disabled .unlock-hand {
  display: none;
}

.cs-spend-burst {
  position: absolute;
  left: 50%;
  top: -10px;
  z-index: 3;
  padding: 3px 8px;
  border: 1px solid rgba(255, 223, 90, 0.7);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 188, 0.32), transparent 18px),
    rgba(42, 8, 0, 0.88);
  color: #ffdf5a;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  pointer-events: none;
  box-shadow:
    0 0 16px rgba(255, 102, 0, 0.36),
    inset 0 0 12px rgba(255, 223, 90, 0.14);
  text-shadow: 0 0 10px rgba(255, 223, 90, 0.78);
  transform: translate(-50%, 0);
  animation: csSpendBurst 1.1s ease-out forwards;
}

.cs-crystal {
  width: 12px;
  height: 12px;
  display: inline-block;
  background:
    linear-gradient(135deg, transparent 18%, rgba(0, 229, 255, 0.95) 18% 48%, rgba(140, 255, 106, 0.95) 48% 82%, transparent 82%);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.8);
  animation: csPulse 1.2s steps(2, end) infinite;
}

.cs-flame {
  position: relative;
  width: 16px;
  height: 20px;
  display: inline-block;
  border-radius: 70% 45% 70% 45%;
  background:
    radial-gradient(circle at 52% 74%, #fff8a8 0 18%, transparent 19%),
    radial-gradient(circle at 50% 54%, #ffb000 0 36%, transparent 37%),
    linear-gradient(160deg, #ff2d1f 8%, #ff7a00 54%, #ffe86a 100%);
  box-shadow:
    0 0 12px rgba(255, 71, 0, 0.9),
    0 0 24px rgba(255, 187, 0, 0.42);
  transform: rotate(8deg);
  animation: csFlameBurn 0.9s ease-in-out infinite;
}

.cs-flame::before,
.cs-flame::after,
.cs-flame i {
  content: "";
  position: absolute;
  display: block;
  pointer-events: none;
}

.cs-flame::before {
  width: 7px;
  height: 7px;
  left: -5px;
  top: 2px;
  border-radius: 50%;
  background: #ffdf5a;
  box-shadow: 12px -4px 0 -2px rgba(0, 229, 255, 0.9);
  animation: csSparkDrift 0.85s linear infinite;
}

.cs-flame::after {
  inset: 5px 4px 3px;
  border-radius: inherit;
  background: linear-gradient(180deg, #fff7b3, #ff7a00);
  filter: blur(0.2px);
}

.cs-flame i {
  width: 12px;
  height: 2px;
  left: 2px;
  bottom: -4px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.95), transparent);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.9);
}

.cs-burn-cost {
  padding: 3px 7px;
  border: 1px solid rgba(255, 223, 90, 0.42);
  background: rgba(255, 77, 46, 0.12);
  color: #ffdf5a;
  font-weight: 700;
  letter-spacing: 0;
}

@keyframes csFlameBurn {
  0%, 100% {
    transform: rotate(7deg) scale(1);
    filter: saturate(1.05) brightness(1);
  }
  50% {
    transform: rotate(-4deg) scale(1.08, 0.94);
    filter: saturate(1.35) brightness(1.24);
  }
}

@keyframes csSparkDrift {
  0% {
    opacity: 0;
    transform: translate(2px, 6px) scale(0.6);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-7px, -9px) scale(0.2);
  }
}

@keyframes csPulse {
  50% {
    filter: brightness(1.8);
    transform: translateY(-1px);
  }
}

@keyframes unlockHandPoint {
  0%, 100% {
    opacity: 0.72;
    transform: translate(-5px, -50%);
  }
  50% {
    opacity: 1;
    transform: translate(4px, -50%);
  }
}

@keyframes unlockHandPulse {
  0% {
    opacity: 0.72;
    transform: translateY(-50%) scale(0.64);
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) scale(1.8);
  }
}

@keyframes csSpendBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, 8px) scale(0.72);
  }
  18% {
    opacity: 1;
    transform: translate(-50%, -6px) scale(1.08);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -34px) scale(0.86);
  }
}

.deep-loading {
  position: relative;
  overflow: hidden;
  min-height: 126px;
  margin: 10px 0 14px;
  padding: 14px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: rgba(0, 0, 0, 0.24);
}

.deep-scan {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(180deg, rgba(0, 229, 255, 0.12) 0 1px, transparent 1px 9px),
    linear-gradient(90deg, transparent, rgba(140, 255, 106, 0.18), transparent);
  animation: deepScan 1.4s linear infinite;
}

@keyframes deepScan {
  from { transform: translateY(-18px); }
  to { transform: translateY(18px); }
}

.deep-log {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  font-family: var(--mono);
  color: var(--cyan);
  font-size: 12px;
}

.deep-log span::before {
  content: "> ";
  color: var(--green);
}

.cs-toast {
  position: fixed;
  z-index: 80;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(680px, calc(100vw - 28px));
  padding: 12px 16px;
  border: 1px solid rgba(140, 255, 106, 0.44);
  background: rgba(4, 12, 18, 0.92);
  color: var(--green);
  box-shadow: 0 0 34px rgba(0, 229, 255, 0.22);
  font-family: var(--mono);
  font-size: 12px;
}

.cs-toast.exp-toast {
  border-color: rgba(34, 211, 238, 0.72);
  color: #22d3ee;
  box-shadow:
    0 0 34px rgba(34, 211, 238, 0.28),
    inset 0 0 18px rgba(34, 211, 238, 0.08);
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.72);
}

.cs-toast.spend-toast {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-color: rgba(255, 56, 120, 0.72);
  box-shadow:
    0 0 34px rgba(255, 56, 120, 0.22),
    inset 0 0 18px rgba(255, 56, 120, 0.08);
}

.cs-toast .toast-exp {
  color: #22d3ee;
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.72);
}

.cs-toast .toast-cost {
  color: #ff4d8d;
  text-shadow: 0 0 16px rgba(255, 77, 141, 0.78);
}

.topic-section {
  display: grid;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid rgba(0, 229, 255, 0.14);
}

.topic-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.topic-section h3 {
  margin: 0;
  color: var(--green);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
}

.topic-section p,
.topic-lock {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.topic-node-list,
.topic-analysis-list,
.topic-related {
  display: grid;
  gap: 10px;
}

.topic-node,
.topic-analysis-list article,
.topic-related-item {
  padding: 12px;
  border: 1px solid rgba(0, 229, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
}

.topic-node strong,
.topic-analysis-list strong,
.topic-related-item strong {
  display: block;
  color: var(--ink);
  font-weight: 560;
}

.topic-node span,
.topic-related-item span {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.topic-node p,
.topic-analysis-list p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.topic-fragment-card {
  display: grid;
  gap: 10px;
}

/* ── 因果传导链（causal chain） ── */
.causal-formula {
  padding: 10px 14px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background: rgba(0, 229, 255, 0.04);
  border-radius: 4px;
}

.causal-formula p {
  margin: 0;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.causal-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.causal-node {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: rgba(0, 0, 0, 0.22);
  border-radius: 4px;
  flex: 0 0 auto;
}

.causal-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}

.causal-text {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}

.causal-arrow {
  color: var(--faint);
  font-size: 14px;
  flex-shrink: 0;
  user-select: none;
}

/* ── 投资线索（investment clues） ── */
.invest-group {
  display: grid;
  gap: 6px;
}

.invest-group + .invest-group {
  margin-top: 8px;
}

.invest-label {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.invest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.invest-tag {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid rgba(0, 250, 154, 0.22);
  background: rgba(0, 250, 154, 0.06);
  color: var(--green);
  font-size: 12px;
  border-radius: 3px;
}

.invest-tag-beneficiary {
  border-color: rgba(255, 183, 0, 0.22);
  background: rgba(255, 183, 0, 0.06);
  color: var(--amber, #ffb700);
}

/* ── 预测板块样式 ── */
.prediction-container {
  display: grid;
  gap: 12px;
}

.prediction-branch {
  padding: 14px 16px;
  border-radius: 4px;
  border-left: 3px solid;
  background: rgba(0, 0, 0, 0.22);
}

.prediction-baseline { border-left-color: var(--cyan); }
.prediction-baseline .prediction-type-label { color: var(--cyan); }
.prediction-upside { border-left-color: var(--green); }
.prediction-upside .prediction-type-label { color: var(--green); }
.prediction-risk { border-left-color: var(--amber, #ffb700); }
.prediction-risk .prediction-type-label { color: var(--amber, #ffb700); }

.prediction-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.prediction-type-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.prediction-confidence {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.prediction-trigger {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.prediction-metrics {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.prediction-metrics-label {
  font-size: 11px;
  color: var(--faint);
  font-family: var(--mono);
}

.prediction-metrics-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.prediction-metric-tag {
  padding: 4px 8px;
  border: 1px solid rgba(0, 229, 255, 0.14);
  background: rgba(0, 229, 255, 0.04);
  color: var(--faint);
  font-size: 11px;
  border-radius: 3px;
}

.prediction-timebound {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--faint);
}

/* ── 预测验证状态样式 ── */
.prediction-verified-section {
  border-top-color: rgba(0, 250, 154, 0.18);
}

.prediction-verified-list {
  display: grid;
  gap: 8px;
}

.prediction-verified-card {
  padding: 10px 14px;
  border: 1px solid rgba(0, 250, 154, 0.08);
  background: rgba(0, 0, 0, 0.16);
  border-radius: 4px;
}

.prediction-verified-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.prediction-status-badge {
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 10px;
  font-family: var(--mono);
}

.prediction-status-verified {
  border: 1px solid rgba(0, 250, 154, 0.22);
  background: rgba(0, 250, 154, 0.06);
  color: var(--green);
}

.prediction-status-partial_verified {
  border: 1px solid rgba(255, 183, 0, 0.22);
  background: rgba(255, 183, 0, 0.06);
  color: var(--amber, #ffb700);
}

.prediction-similarity {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.prediction-verified-trigger {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.prediction-lesson {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--amber, #ffb700);
  line-height: 1.4;
}

.prediction-verified-time {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--faint);
  font-family: var(--mono);
}

/* ── 知识概念卡片增强 ── */
.concept-def {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
}

.concept-mechanism {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  padding: 6px 10px;
  border-left: 2px solid rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.03);
}

.concept-impact {
  margin: 4px 0 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.fragment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.fragment-actions button {
  min-height: 28px;
  padding: 6px 9px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: rgba(0, 0, 0, 0.22);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  cursor: pointer;
}

.fragment-actions button:hover {
  border-color: rgba(0, 250, 154, 0.5);
  color: var(--green);
}

.fragment-dialog {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.62);
}

.fragment-dialog.hidden {
  display: none;
}

.fragment-dialog-panel {
  position: relative;
  width: min(720px, 100%);
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(0, 229, 255, 0.28);
  background: rgba(3, 10, 10, 0.96);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.16);
}

.fragment-dialog textarea,
.fragment-dialog pre {
  width: 100%;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background: rgba(0, 0, 0, 0.24);
  color: var(--ink);
  font-family: var(--mono);
}

.fragment-dialog textarea {
  min-height: 88px;
  padding: 10px;
  resize: vertical;
}

.fragment-selected {
  display: grid;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 209, 102, 0.26);
  background: rgba(255, 209, 102, 0.07);
}

.fragment-selected.hidden,
.fragment-quick-actions.hidden,
.fragment-dialog pre.hidden,
.fragment-dialog textarea.hidden {
  display: none;
}

.fragment-selected span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.fragment-selected p {
  max-height: 110px;
  margin: 0;
  overflow: auto;
  color: var(--ink);
  line-height: 1.7;
}

.fragment-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fragment-quick-actions button {
  min-height: 30px;
  padding: 7px 11px;
  border: 1px solid rgba(0, 229, 255, 0.28);
  background: rgba(0, 0, 0, 0.22);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
}

.fragment-quick-actions button:hover {
  border-color: rgba(0, 250, 154, 0.52);
  color: var(--green);
}

.fragment-dialog pre {
  min-height: 150px;
  max-height: 380px;
  margin: 0;
  padding: 12px;
  overflow: auto;
  white-space: pre-wrap;
  line-height: 1.7;
}

.topic-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.topic-link-row a,
.topic-link-row button {
  min-height: 32px;
  padding: 8px 10px;
  border: 1px solid rgba(0, 229, 255, 0.24);
  background: rgba(0, 0, 0, 0.2);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
}

.topic-link-row a:hover,
.topic-link-row button:hover {
  color: var(--green);
}

.topic-link-row .fragment-save-qa {
  margin-left: auto;
  border-color: rgba(255, 74, 128, 0.42);
  color: #ff8ab3;
  box-shadow: inset 0 0 18px rgba(255, 74, 128, 0.08), 0 0 12px rgba(255, 74, 128, 0.08);
}

.topic-link-row .fragment-save-qa:hover:not(:disabled) {
  border-color: rgba(255, 210, 87, 0.62);
  color: #ffd257;
  box-shadow: inset 0 0 20px rgba(255, 210, 87, 0.1), 0 0 16px rgba(255, 74, 128, 0.14);
}

.topic-link-row .fragment-save-qa:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.mind-pulse-hud {
  position: relative;
  order: 80;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  min-height: 92px;
  margin-top: 0;
  padding: 9px 10px 8px;
  border: 1px solid rgba(0, 250, 154, 0.18);
  border-left-color: rgba(0, 229, 255, 0.2);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(0, 24, 19, 0.32), rgba(0, 9, 8, 0.5)),
    rgba(2, 14, 13, 0.2);
  color: var(--muted);
  font-family: var(--mono);
  text-align: left;
  appearance: none;
  cursor: pointer;
  box-shadow: none;
  backdrop-filter: blur(3px);
}

.approach-xishi-entry {
  position: relative;
  order: 82;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 34px;
  margin-top: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(0, 229, 255, 0.34);
  background:
    linear-gradient(90deg, rgba(0, 229, 255, 0.13), rgba(0, 250, 154, 0.08)),
    rgba(2, 14, 13, 0.24);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.08);
}

.approach-xishi-entry strong {
  color: var(--green);
  font-size: 9px;
}

.approach-xishi-entry:hover,
.approach-xishi-entry:focus-visible {
  border-color: var(--green);
  color: #00120c;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  outline: none;
}

.mind-pulse-hud::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 31px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 250, 154, 0.28), transparent);
  pointer-events: none;
}

.mind-pulse-hud::after {
  content: none;
}

.mind-hud-head,
.mind-hud-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mind-hud-head strong {
  color: var(--ink);
  font-size: 11px;
}

.mind-hud-head em,
.mind-hud-foot i {
  color: rgba(190, 196, 192, 0.66);
  font-style: normal;
}

.mind-hud-screen {
  position: relative;
  z-index: 1;
  min-height: 42px;
  margin: 8px 0 6px;
  padding: 7px 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(0, 229, 255, 0.055), transparent 48%),
    rgba(0, 0, 0, 0.18);
}

.mind-hud-text {
  position: relative;
  z-index: 2;
  display: block;
  color: #8fffd1;
  font-size: 10px;
  line-height: 1.5;
  text-shadow: none;
}

.mind-hud-code {
  display: none;
}

.mind-hud-foot b {
  color: #00f0ff;
  font-weight: 700;
}

.mind-pulse-hud.mutation {
  border-color: rgba(0, 250, 154, 0.18);
  box-shadow: none;
}

.mind-pulse-hud.mutation .mind-hud-screen {
  border-color: rgba(0, 229, 255, 0.14);
}

.mind-pulse-hud.mutation .mind-hud-text {
  color: #8fffd1;
  text-shadow: none;
}

.mind-pulse-hud.threat {
  border-color: rgba(0, 250, 154, 0.18);
  animation: none;
}

.mind-pulse-hud.threat .mind-hud-text {
  color: #8fffd1;
  text-shadow: none;
}

.mind-pulse-hud.audit .mind-hud-screen {
  border-color: rgba(0, 255, 127, 0.5);
}

.mind-pulse-hud.audit .mind-hud-text {
  color: #35ff8b;
}

.mind-pulse-hud.monologue .mind-hud-text,
.mind-pulse-hud.status .mind-hud-text {
  color: #aeb9b5;
  text-shadow: none;
  animation: none;
}

.vector-twin-radar {
  order: 90;
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(0, 229, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(0, 229, 255, 0.07), rgba(0, 12, 10, 0.22)),
    rgba(0, 0, 0, 0.16);
  box-shadow: inset 0 0 18px rgba(0, 229, 255, 0.04);
}

.vector-twin-radar h3 {
  margin: 0;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.vector-twin-list {
  display: grid;
  gap: 8px;
}

.vector-twin-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 9px;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid rgba(0, 250, 154, 0.18);
  background: rgba(0, 0, 0, 0.22);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.vector-twin-row:hover {
  border-color: rgba(0, 229, 255, 0.58);
  background: rgba(0, 229, 255, 0.08);
}

.vector-twin-rank {
  grid-row: 1 / span 2;
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
}

.vector-twin-row strong {
  color: #dffdf4;
  font-size: 12px;
  line-height: 1.42;
}

.vector-twin-empty {
  min-height: 96px;
  display: grid;
  place-content: center;
  gap: 7px;
  padding: 12px;
  border: 1px dashed rgba(0, 229, 255, 0.22);
  background: rgba(0, 229, 255, 0.035);
}

.vector-twin-empty strong {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  text-align: center;
}

.vector-twin-row small,
.vector-twin-empty span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.45;
  text-align: center;
}

/* ── Deep Dissection Card ── */
.deep-dissection-card {
  order: 85;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(0, 250, 154, 0.22);
  background: linear-gradient(160deg, rgba(0, 250, 154, 0.04), transparent 60%), rgba(0, 0, 0, 0.18);
}
.dissection-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}
.dissection-head em {
  margin-left: auto;
  font-style: normal;
  font-size: 9px;
  color: var(--faint);
  letter-spacing: 0.06em;
}
.dissection-icon {
  font-size: 14px;
  line-height: 1;
}
.dissection-body {
  display: grid;
  gap: 8px;
}
.dissection-row {
  display: grid;
  gap: 3px;
}
.dissection-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.04em;
}
.dissection-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink);
}
.dissection-tickers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dissection-ticker {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(0, 229, 255, 0.28);
  background: rgba(0, 229, 255, 0.06);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}
.dissection-ticker:hover {
  border-color: rgba(0, 250, 154, 0.6);
  background: rgba(0, 250, 154, 0.1);
  color: var(--green);
}

/* ── Stock Link Badge (entity_stock_map 匹配后渲染) ── */
.dissection-stock-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid rgba(0, 250, 154, 0.32);
  background: linear-gradient(135deg, rgba(0, 250, 154, 0.08), rgba(0, 229, 255, 0.04));
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  cursor: default;
}
.stock-symbol {
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.3px;
}
.stock-name {
  color: var(--green);
  font-weight: 500;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stock-badge {
  font-size: 9px;
  font-weight: 400;
  padding: 1px 4px;
  border: 1px solid rgba(0, 250, 154, 0.22);
  border-radius: 3px;
  color: rgba(0, 250, 154, 0.65);
  letter-spacing: 0.2px;
}

/* ── Tomorrow Radar Card ── */
.tomorrow-radar-card {
  order: 86;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 209, 102, 0.28);
  background: linear-gradient(160deg, rgba(255, 209, 102, 0.04), transparent 60%), rgba(0, 0, 0, 0.18);
}
.radar-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
}
.radar-head em {
  margin-left: auto;
  font-style: normal;
  font-size: 9px;
  color: var(--faint);
  letter-spacing: 0.06em;
}
.radar-icon {
  font-size: 14px;
  line-height: 1;
}
.radar-signal {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
}

/* ── Modal Dissection Section ── */
.modal-dissection {
  display: grid;
  gap: 12px;
  padding: 16px 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 14px;
}
.modal-dissection-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.modal-dissection-label {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.04em;
  padding-top: 2px;
  white-space: nowrap;
  line-height: 1.5;
}
.modal-dissection-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}
.modal-dissection-tickers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.modal-stock-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 209, 102, 0.25);
  border-radius: 6px;
  background: rgba(255, 209, 102, 0.06);
  font-family: var(--mono);
  font-size: 12px;
  cursor: default;
  transition: background 0.15s;
}
.modal-stock-chip:hover {
  background: rgba(255, 209, 102, 0.12);
}
.modal-stock-chip .stock-symbol {
  font-weight: 700;
  color: var(--amber);
  font-size: 13px;
}
.modal-stock-chip .stock-name {
  color: var(--ink);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.modal-stock-chip .stock-badge {
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--faint);
}
.modal-ticker-tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.15s;
}
.modal-ticker-tag:hover {
  background: rgba(255, 255, 255, 0.06);
}

.approach-page {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

.approach-shell {
  position: relative;
  z-index: 2;
  width: min(var(--page-max-mid), calc(100vw - var(--page-gutter)));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.approach-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(0, 229, 255, 0.26);
  background:
    linear-gradient(110deg, rgba(0, 250, 154, 0.08), transparent 42%),
    rgba(3, 7, 6, 0.78);
  box-shadow: inset 0 0 48px rgba(0, 250, 154, 0.035);
}

.approach-hero h1 {
  margin: 4px 0 8px;
  color: var(--ink);
  font-size: clamp(36px, 6vw, 76px);
  line-height: 0.95;
}

.approach-hero p {
  margin: 0;
  max-width: 820px;
  color: var(--muted);
  line-height: 1.7;
}

.approach-hero .approach-version-note {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 9px;
  border: 1px solid rgba(0, 250, 154, 0.34);
  background: rgba(0, 250, 154, 0.07);
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.approach-hero-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.author-message-entry {
  display: grid;
  gap: 4px;
  min-width: 178px;
  padding: 11px 12px;
  border: 1px solid rgba(0, 250, 154, 0.34);
  background:
    linear-gradient(110deg, rgba(0, 250, 154, 0.12), transparent 62%),
    rgba(0, 0, 0, 0.24);
  color: var(--ink);
  text-decoration: none;
  box-shadow: inset 0 0 24px rgba(0, 250, 154, 0.05);
}

.author-message-entry span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.author-message-entry strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.author-message-entry:hover,
.author-message-entry:focus-visible {
  border-color: rgba(0, 229, 255, 0.72);
  color: var(--green);
  transform: translateY(-1px);
}

.approach-translate-btn {
  appearance: none;
  cursor: pointer;
  text-align: left;
}

.approach-translate-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.xishi-about-shell {
  display: flex;
  flex-direction: column;
  width: min(var(--page-max-reading), calc(100vw - var(--page-gutter)));
}

.xishi-about-page .xishi-about-hero {
  order: 0;
}

.xishi-about-page .xishi-hub-grid {
  order: 1;
}

.xishi-about-page #about {
  order: 2;
}

.xishi-about-hero {
  margin-bottom: 14px;
}

.xishi-hub-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.xishi-hub-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.08), transparent 48%),
    rgba(3, 7, 6, 0.74);
  color: var(--muted);
  text-decoration: none;
  box-shadow: inset 0 0 36px rgba(0, 229, 255, 0.035);
  transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease;
}

.xishi-hub-card span,
.xishi-about-principles span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.xishi-hub-card strong {
  color: var(--ink);
  font-size: 26px;
  line-height: 1.15;
}

.xishi-hub-card p,
.xishi-about-copy p,
.xishi-about-principles p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.xishi-hub-card.is-primary {
  border-color: rgba(0, 250, 154, 0.34);
  background:
    linear-gradient(135deg, rgba(0, 250, 154, 0.12), transparent 50%),
    rgba(3, 7, 6, 0.78);
}

.xishi-hub-card:hover,
.xishi-hub-card:focus-visible {
  border-color: rgba(0, 250, 154, 0.72);
  transform: translateY(-2px);
}

.xishi-about-panel {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  margin-bottom: 14px;
  padding: 22px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  background:
    linear-gradient(110deg, rgba(0, 250, 154, 0.06), transparent 45%),
    rgba(3, 7, 6, 0.78);
  box-shadow: inset 0 0 42px rgba(0, 250, 154, 0.035);
}

.xishi-about-copy {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.xishi-about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.xishi-about-principles article {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-left: 2px solid rgba(0, 250, 154, 0.42);
  background: rgba(0, 0, 0, 0.18);
}

.xishi-about-principles strong {
  color: var(--ink);
  font-size: 18px;
}

.xishi-heat-panel {
  border-color: rgba(0, 250, 154, 0.3);
  background:
    linear-gradient(120deg, rgba(0, 250, 154, 0.08), transparent 46%),
    rgba(1, 10, 8, 0.92);
  box-shadow: inset 0 0 46px rgba(0, 250, 154, 0.05);
}

.xishi-heat-panel::before {
  content: none;
}

.xishi-heat-panel .approach-panel-head h2 {
  color: var(--ink);
  text-shadow: none;
}

.xishi-heat-panel .approach-panel-head span {
  color: var(--faint);
}

.xishi-heat-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.xishi-heat-summary article {
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(0, 250, 154, 0.06), transparent),
    rgba(0, 0, 0, 0.24);
  box-shadow: inset 0 0 22px rgba(0, 229, 255, 0.035);
}

.xishi-heat-summary span,
.xishi-heat-user small,
.xishi-heat-user b,
.xishi-heat-level span,
.xishi-heat-level em,
.xishi-heat-empty {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.xishi-heat-summary strong {
  color: var(--green);
  font-family: var(--mono);
  font-size: 24px;
  text-shadow: 0 0 12px rgba(0, 250, 154, 0.22);
}

.xishi-heat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 14px;
  align-items: start;
}

.xishi-heat-rank,
.xishi-heat-distribution {
  display: grid;
  gap: 8px;
}

.xishi-heat-user {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 72px 112px;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 12px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(0, 250, 154, 0.06), transparent 62%),
    rgba(0, 0, 0, 0.24);
  box-shadow: inset 2px 0 0 rgba(0, 250, 154, 0.22);
}

.xishi-heat-user.rank-1 {
  border-color: rgba(255, 126, 126, 0.38);
  background:
    linear-gradient(90deg, rgba(255, 126, 126, 0.08), rgba(0, 250, 154, 0.05) 54%, transparent),
    rgba(0, 0, 0, 0.26);
  box-shadow: 0 0 16px rgba(255, 126, 126, 0.08), inset 3px 0 0 rgba(255, 126, 126, 0.5);
}

.xishi-heat-user.rank-2 {
  border-color: rgba(0, 229, 255, 0.34);
  background:
    linear-gradient(90deg, rgba(0, 229, 255, 0.09), transparent 58%),
    rgba(0, 0, 0, 0.24);
  box-shadow: inset 3px 0 0 rgba(0, 229, 255, 0.52);
}

.xishi-heat-user.rank-3 {
  border-color: rgba(0, 250, 154, 0.28);
  background:
    linear-gradient(90deg, rgba(0, 250, 154, 0.08), transparent 58%),
    rgba(0, 0, 0, 0.24);
  box-shadow: inset 3px 0 0 rgba(0, 250, 154, 0.42);
}

.xishi-heat-position {
  color: var(--green);
  font-family: var(--mono);
  font-size: 18px;
  text-shadow: 0 0 10px rgba(0, 250, 154, 0.28);
}

.xishi-heat-user.rank-1 .xishi-heat-position {
  color: #ff9a9a;
}

.xishi-heat-user.rank-1 .xishi-heat-position::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 10px;
  margin-left: 6px;
  border-radius: 7px 7px 7px 1px;
  background:
    radial-gradient(circle at 58% 72%, #ffe7a3 0 24%, transparent 26%),
    linear-gradient(160deg, #ffb46e 0 24%, #ff7777 62%, #ffb0b0 100%);
  box-shadow: 0 0 8px rgba(255, 126, 126, 0.32);
  transform: rotate(45deg) translateY(1px);
}

.xishi-heat-user div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.xishi-heat-user strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xishi-heat-user em {
  justify-self: start;
  padding: 5px 9px;
  border: 1px solid rgba(0, 250, 154, 0.32);
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  font-style: normal;
  background: rgba(0, 250, 154, 0.08);
}

.xishi-heat-user b {
  justify-self: end;
  color: var(--cyan);
  font-weight: 700;
  text-shadow: none;
}

.xishi-heat-level {
  display: grid;
  gap: 8px;
  padding: 11px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(0, 250, 154, 0.05), transparent 68%),
    rgba(0, 0, 0, 0.22);
}

.xishi-heat-level div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.xishi-heat-level strong {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xishi-heat-level i {
  display: block;
  width: var(--heat-width, 8%);
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  box-shadow: 0 0 14px rgba(0, 250, 154, 0.28);
}

.xishi-heat-empty {
  padding: 16px;
  border: 1px dashed rgba(0, 229, 255, 0.22);
  background: rgba(0, 0, 0, 0.2);
}

.message-shell {
  width: min(var(--page-max-mid), calc(100vw - var(--page-gutter)));
  max-width: none;
}

.message-hero {
  margin-bottom: 14px;
}

.message-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 14px;
}

.message-panel {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: rgba(3, 7, 6, 0.78);
  box-shadow: inset 0 0 36px rgba(0, 250, 154, 0.035);
}

.message-form {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.message-field {
  display: grid;
  gap: 8px;
}

.message-field label,
.message-guide span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.message-field input,
.message-field select,
.message-field textarea {
  width: 100%;
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.28);
  color: var(--ink);
  font: inherit;
  outline: none;
}

.message-field input,
.message-field select {
  min-height: 44px;
  padding: 0 12px;
}

.message-field textarea {
  min-height: 220px;
  padding: 12px;
  resize: vertical;
  line-height: 1.65;
}

.message-field input:focus,
.message-field select:focus,
.message-field textarea:focus {
  border-color: rgba(0, 250, 154, 0.74);
  box-shadow: 0 0 0 1px rgba(0, 250, 154, 0.18);
}

.message-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.message-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

#messageStatus {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

#messageStatus[data-state="success"] {
  color: var(--green);
}

#messageStatus[data-state="error"] {
  color: #ff7777;
}

.message-submit {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(0, 250, 154, 0.45);
  background: rgba(0, 250, 154, 0.1);
  color: var(--green);
  font-family: var(--mono);
  font-weight: 800;
  cursor: pointer;
}

.message-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.message-guide {
  padding: 18px;
}

.message-guide h2 {
  margin: 8px 0 12px;
  color: var(--ink);
  font-size: 22px;
}

.message-guide ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.message-guide li {
  padding-left: 12px;
  border-left: 2px solid rgba(0, 250, 154, 0.28);
  color: var(--muted);
  line-height: 1.65;
}

.message-guide strong {
  color: var(--ink);
}

.message-board-panel {
  position: relative;
  z-index: 2;
  padding: 18px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: rgba(3, 7, 6, 0.78);
}

.message-board-table {
  display: grid;
  gap: 12px;
}

.message-board-row {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(0, 250, 154, 0.07), transparent 48%),
    rgba(0, 0, 0, 0.18);
}

.message-board-row[data-open-message] {
  cursor: pointer;
}

.message-board-row[data-open-message]:hover {
  border-color: rgba(0, 250, 154, 0.62);
  box-shadow: 0 0 22px rgba(0, 250, 154, 0.12);
}

.message-detail-panel,
.message-thread-compose,
.message-comment-list {
  display: grid;
  gap: 14px;
}

.message-board-actions {
  display: flex;
  justify-content: flex-end;
}

.message-delete-action {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 90, 90, 0.46);
  background:
    linear-gradient(110deg, rgba(255, 90, 90, 0.14), transparent 60%),
    rgba(0, 0, 0, 0.22);
  color: #ff8b8b;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.message-delete-action:hover,
.message-delete-action:focus-visible {
  border-color: rgba(255, 90, 90, 0.82);
  background: rgba(255, 90, 90, 0.16);
  color: #ffd7d7;
}

.message-delete-action:disabled {
  cursor: wait;
  opacity: 0.62;
}

.message-board-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.message-board-topic {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.message-board-topic h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.message-board-topic p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.message-board-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  color: var(--muted);
  min-width: 0;
}

.message-author-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0, 250, 154, 0.36);
  background: rgba(0, 250, 154, 0.1);
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}

.message-author-name {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.message-board-meta time {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
}

.message-category-pill,
.message-status-pill,
.message-inline-action {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(0, 250, 154, 0.3);
  background: rgba(0, 250, 154, 0.07);
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  text-decoration: none;
}

.message-inline-action {
  cursor: pointer;
}

.message-inline-action.active {
  border-color: rgba(255, 228, 92, 0.72);
  background: rgba(255, 228, 92, 0.1);
  color: #ffe45c;
}

.message-category-pill.bug {
  border-color: rgba(255, 90, 90, 0.42);
  color: #ff8b8b;
}

.message-category-pill.data,
.message-category-pill.content {
  border-color: rgba(255, 228, 92, 0.42);
  color: #ffe45c;
}

.message-status-pill {
  color: var(--muted);
}

.message-status-pill.mine {
  border-color: rgba(0, 229, 255, 0.36);
  color: var(--cyan);
}

.message-board-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0 14px;
}

.message-board-tabs button,
.message-compose-action {
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid rgba(0, 229, 255, 0.24);
  background: rgba(0, 0, 0, 0.22);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
}

.message-compose-action {
  margin-left: auto;
  border-color: rgba(255, 228, 92, 0.58);
  background:
    linear-gradient(110deg, rgba(255, 228, 92, 0.2), rgba(0, 250, 154, 0.06)),
    rgba(0, 0, 0, 0.24);
  color: #ffe45c;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(255, 228, 92, 0.1), inset 0 0 14px rgba(255, 228, 92, 0.08);
}

.message-board-tabs button.active,
.message-board-tabs button:hover,
.message-compose-action:hover,
.message-compose-action:focus-visible {
  border-color: var(--green);
  background: var(--green);
  color: #00120c;
}

.message-thread-compose textarea {
  min-height: 118px;
  width: 100%;
  resize: vertical;
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: rgba(0, 0, 0, 0.28);
  color: var(--ink);
  padding: 12px;
  font: inherit;
  outline: none;
}

.message-thread-compose textarea:focus {
  border-color: rgba(0, 250, 154, 0.7);
  box-shadow: 0 0 0 3px rgba(0, 250, 154, 0.12);
}

.message-comment-row {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(0, 229, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
}

.message-comment-row p {
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.approach-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.approach-overview div,
.approach-panel {
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: rgba(3, 7, 6, 0.76);
}

.approach-overview div {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.approach-overview span,
.approach-panel-head span,
.history-card span,
.history-card small {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
}

.approach-overview strong {
  color: var(--green);
  font-family: var(--mono);
  font-size: 30px;
}

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

.approach-panel {
  padding: 18px;
  min-height: 260px;
}

.approach-panel.full-span {
  grid-column: 1 / -1;
}

.approach-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 250, 154, 0.14);
}

.approach-panel-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.history-list,
.history-timeline {
  display: grid;
  gap: 10px;
}

.history-timeline {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.history-card {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(0, 250, 154, 0.045), transparent),
    rgba(0, 0, 0, 0.18);
}

.history-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.history-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.history-card .history-card-original {
  padding-top: 8px;
  border-top: 1px solid rgba(0, 229, 255, 0.12);
  color: rgba(179, 224, 224, 0.58);
  font-size: 12px;
}

.history-card.compact p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.history-card.mutation {
  border-color: rgba(255, 70, 70, 0.32);
  box-shadow: inset 0 0 22px rgba(255, 40, 40, 0.04);
}

.history-card.threat {
  border-color: rgba(255, 228, 92, 0.46);
  box-shadow: 0 0 24px rgba(255, 228, 92, 0.08), inset 0 0 24px rgba(255, 228, 92, 0.05);
}

.history-card.raw {
  border-color: rgba(0, 255, 127, 0.34);
}

.history-card.translated {
  border-color: rgba(0, 250, 154, 0.36);
  background:
    linear-gradient(90deg, rgba(0, 250, 154, 0.075), transparent),
    rgba(0, 0, 0, 0.2);
}

.raw-code-wall {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.2;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.raw-code-wall pre {
  margin: 0;
  padding: 18px;
  color: rgba(0, 255, 127, 0.55);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  white-space: pre-wrap;
  animation: rawCodeFall 32s linear infinite;
}

@keyframes rawCodeFall {
  from {
    transform: translateY(-18%);
  }
  to {
    transform: translateY(0);
  }
}

.support-page .support-shell {
  width: min(var(--page-max-mid), calc(100vw - var(--page-gutter)));
}

.support-page .support-hero {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.support-hero-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.support-hero-link {
  display: inline-grid;
  place-items: center;
  min-width: 180px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(0, 250, 154, 0.34);
  background: rgba(0, 0, 0, 0.24);
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.support-hero-link:hover,
.support-hero-link:focus-visible {
  border-color: rgba(0, 229, 255, 0.72);
  color: var(--cyan);
  outline: none;
}

.support-overview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.support-overview-card,
.support-panel {
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: rgba(3, 7, 6, 0.76);
}

.support-overview-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  color: var(--muted);
  text-decoration: none;
}

.support-overview-card:hover,
.support-overview-card:focus-visible {
  border-color: rgba(0, 250, 154, 0.62);
  color: var(--green);
  outline: none;
}

.support-overview-card span,
.support-panel .approach-panel-head span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
}

.support-overview-card strong {
  color: var(--ink);
  font-size: 20px;
}

.support-overview-card p,
.support-note {
  margin: 0;
  line-height: 1.65;
  color: var(--muted);
}

.support-grid {
  display: grid;
  gap: 14px;
}

.support-panel {
  position: relative;
  z-index: 2;
  padding: 18px;
  /* 栅格项默认 min-width:auto 会被内部画布的固定 px 撑住，导致缩窗后不回流 */
  min-width: 0;
}

.support-panel-wide {
  min-height: 0;
}

.signature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
}

.signature-live {
  position: absolute;
  right: 16px;
  bottom: 16px;
  max-width: min(56%, 380px);
  padding: 8px 10px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  background: rgba(0, 0, 0, 0.45);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  pointer-events: none;
}

.signature-board-wrap {
  position: relative;
  min-height: 420px;
  border: 1px solid rgba(0, 250, 154, 0.2);
  background:
    linear-gradient(140deg, rgba(0, 250, 154, 0.04), transparent 42%),
    rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

#signatureCanvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  touch-action: none;
}

.signature-board-empty {
  position: absolute;
  left: 16px;
  top: 16px;
  color: rgba(232, 255, 247, 0.36);
  font-family: var(--mono);
  font-size: 12px;
  pointer-events: none;
}

.signature-stamp {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 250, 154, 0.42);
  background: rgba(0, 0, 0, 0.52);
  box-shadow: 0 0 18px rgba(0, 250, 154, 0.12);
}

.signature-stamp strong {
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
}

.signature-stamp span {
  color: var(--ink);
  font-size: 13px;
}

.signature-controls {
  display: grid;
  align-content: start;
  gap: 12px;
}

.signature-status {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
  color: var(--muted);
  line-height: 1.55;
}

.signature-status[data-state="ready"] {
  border-color: rgba(0, 250, 154, 0.46);
  color: var(--green);
}

.signature-status[data-state="locked"] {
  border-color: rgba(255, 209, 102, 0.3);
  color: var(--amber);
}

.support-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.support-field input,
.support-field textarea {
  width: 100%;
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: rgba(0, 0, 0, 0.28);
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
  outline: none;
}

.support-field textarea {
  resize: vertical;
  min-height: 104px;
}

.support-field input:focus,
.support-field textarea:focus {
  border-color: rgba(0, 250, 154, 0.72);
  box-shadow: 0 0 0 3px rgba(0, 250, 154, 0.12);
}

.signature-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.support-action {
  display: inline-grid;
  place-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: rgba(0, 0, 0, 0.22);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
}

.support-action.primary {
  border-color: rgba(0, 250, 154, 0.48);
  background: rgba(0, 250, 154, 0.1);
  color: var(--green);
}

.support-action:hover,
.support-action:focus-visible {
  border-color: rgba(0, 250, 154, 0.72);
  color: #00120c;
  background: var(--green);
  outline: none;
}

.support-action:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.signature-feed-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 229, 255, 0.14);
}

.signature-feed-head span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
}

.signature-feed-head strong {
  color: var(--ink);
  font-size: 16px;
}

.signature-mode-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 10px;
  border: 1px solid rgba(0, 229, 255, 0.14);
}

.signature-mode-tab {
  flex: 1;
  padding: 10px 14px;
  border: none;
  background: rgba(0, 0, 0, 0.18);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.signature-mode-tab.active {
  background: rgba(0, 250, 154, 0.12);
  color: var(--green);
  box-shadow: inset 0 -2px 0 var(--green);
}

.signature-mode-tab:hover {
  color: var(--ink);
  background: rgba(0, 229, 255, 0.06);
}

.signature-mode-panel.hidden {
  display: none !important;
}

.signature-art-preview {
  border: 1px solid rgba(0, 229, 255, 0.16);
  background: rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

#artFontCanvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 1;
}

.signature-art-styles {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.art-style-btn {
  padding: 4px 10px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background: rgba(0, 0, 0, 0.2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s;
}

.art-style-btn.active {
  border-color: rgba(0, 250, 154, 0.5);
  background: rgba(0, 250, 154, 0.1);
  color: var(--green);
}

.art-style-btn:hover {
  border-color: rgba(0, 250, 154, 0.4);
  color: var(--ink);
}

.signature-hand-hint {
  padding: 10px 12px;
  border: 1px dashed rgba(0, 229, 255, 0.2);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  text-align: center;
}

.signature-wall-wrap {
  position: relative;
  width: 100%;
  min-height: 480px;
  border: 1px solid rgba(0, 229, 255, 0.14);
  background: rgba(0, 0, 0, 0.3);
  overflow: hidden;
  cursor: grab;
  margin-top: 12px;
}

.signature-wall-wrap:active {
  cursor: grabbing;
}

.signature-wall-wrap canvas {
  cursor: inherit;
}

#signatureWallCanvas {
  display: block;
  width: 100%;
  height: 100%;
  /* JS 按 wrap 实测宽度写 inline px；上限锁在 wrap 内，避免“画布撑大 wrap→wrap 又撑大画布”的尺寸棘轮 */
  max-width: 100%;
  min-height: 480px;
  touch-action: none;
}

.signature-wall-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 14px;
  pointer-events: none;
  opacity: 0.6;
}

.signature-wall-empty.hidden {
  display: none;
}

.signature-wall-hint {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  margin-left: auto;
  opacity: 0.6;
}

/* ===== 签名墙单面板样式 ===== */
.sig-input-bar {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.sig-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.sig-input-row input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(0,229,255,0.25);
  background: rgba(0,0,0,0.3);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  outline: none;
}
.sig-input-row input:focus {
  border-color: var(--green);
}

.sig-mode-toggle {
  display: flex;
  gap: 0;
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 4px;
  overflow: hidden;
}

.sig-mode-btn {
  padding: 10px 18px;
  border: none;
  background: rgba(0,0,0,0.2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.sig-mode-btn.active {
  background: rgba(0,250,154,0.15);
  color: var(--green);
}

.sig-opts {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.sig-opts.hidden { display: none; }

.art-style-btn {
  padding: 6px 14px;
  border: 1px solid rgba(0,229,255,0.18);
  background: rgba(0,0,0,0.22);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
  border-radius: 3px;
}
.art-style-btn.active {
  border-color: var(--green);
  color: var(--green);
  background: rgba(0,250,154,0.08);
}

.sig-hand-box {
  position: relative;
  border: 1px dashed rgba(0,229,255,0.2);
  background: rgba(0,0,0,0.2);
  min-height: 130px;
}
.sig-hand-box.hidden { display: none; }

#sigHandCanvas {
  display: block;
  width: 100%;
  cursor: crosshair;
}

.sig-hand-tip {
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  color: var(--faint);
  font-family: var(--mono);
  pointer-events: none;
}

.sig-preview {
  display: block;
  width: 100%;
  height: 80px;
  border: 1px solid rgba(0,229,255,0.1);
  background: rgba(0,0,0,0.18);
}
.sig-preview.hidden { display: none; }

/* ===== 确认签名面板 ===== */
.sig-confirm-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(0, 250, 154, 0.06);
  border: 1px solid rgba(0, 250, 154, 0.25);
  border-radius: 6px;
  margin-bottom: 8px;
  animation: sigConfirmSlide 0.2s ease-out;
}

.sig-confirm-bar.hidden { display: none; }

.sig-confirm-bar.admin-mode {
  background: rgba(255, 107, 107, 0.06);
  border-color: rgba(255, 107, 107, 0.3);
}

.sig-confirm-bar.admin-mode .sig-confirm-icon,
.sig-confirm-bar.admin-mode .sig-confirm-title {
  color: var(--coral);
}

.support-action.danger {
  background: rgba(255, 107, 107, 0.15);
  border-color: rgba(255, 107, 107, 0.3);
  color: var(--coral);
  box-shadow: 0 0 8px rgba(255, 107, 107, 0.08);
}

.support-action.danger:hover {
  background: rgba(255, 107, 107, 0.25);
  border-color: rgba(255, 107, 107, 0.5);
  color: #ff8888;
}

@keyframes sigConfirmSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.sig-confirm-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.sig-confirm-icon {
  font-size: 22px;
  color: var(--green);
  flex-shrink: 0;
}

.sig-confirm-title {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.sig-confirm-desc {
  display: block;
  font-size: 13px;
  color: var(--ink);
  margin-top: 2px;
  opacity: 0.85;
}

.sig-confirm-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.sig-confirm-actions .support-action {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .sig-confirm-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .sig-confirm-actions {
    justify-content: stretch;
  }
  .sig-confirm-actions .support-action {
    flex: 1;
    text-align: center;
  }
}

.sig-input-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sig-input-actions .support-action {
  flex: 1;
  min-width: 100px;
}

.signature-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 12px;
  margin-left: auto;
}
.signature-status[data-state="ready"] {
  border: 1px solid rgba(0,250,154,0.4);
  color: var(--green);
}
.signature-status[data-state="locked"] {
  border: 1px solid rgba(255,209,102,0.3);
  color: var(--amber);
}

@media (max-width: 600px) {
  .sig-input-row { flex-direction: column; }
  .sig-mode-toggle { width: 100%; }
  .sig-mode-btn { flex: 1; text-align: center; }
  .sig-input-actions { flex-direction: column; }
}


@media (max-width: 600px) {
  .signature-wall-wrap,
  #signatureWallCanvas {
    min-height: 320px;
  }
}

.signature-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.support-feed-empty {
  grid-column: 1 / -1;
  border: 1px solid rgba(0, 229, 255, 0.16);
  background: rgba(0, 0, 0, 0.18);
  padding: 32px 20px;
  text-align: center;
}

.support-feed-empty strong {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 4px;
}

.support-feed-empty span {
  color: var(--faint);
  font-size: 12px;
}

.sig-card {
  display: grid;
  grid-template-rows: 140px auto auto;
  border: 1px solid rgba(0, 229, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition: border-color 0.2s;
}

.sig-card.mine {
  border-color: rgba(0, 250, 154, 0.42);
  box-shadow: 0 0 12px rgba(0, 250, 154, 0.08);
}

.sig-card-preview {
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 250, 154, 0.04), transparent 50%),
    rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(0, 229, 255, 0.08);
}

.sig-card-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.sig-card-text {
  font-size: 26px;
  font-weight: 900;
  color: rgba(180, 255, 221, 0.7);
  text-align: center;
  line-height: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  padding: 0 8px;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.sig-card-stroke {
  width: 100%;
  height: 100%;
  min-height: 80px;
  object-fit: contain;
}

.sig-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px 2px;
  gap: 6px;
}

.sig-card-meta strong {
  color: var(--ink);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sig-card-meta span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  white-space: nowrap;
}

.sig-card time {
  display: block;
  padding: 2px 10px 8px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
}

@media (max-width: 600px) {
  .signature-feed {
    grid-template-columns: repeat(2, 1fr);
  }
  .sig-card {
    grid-template-rows: 110px auto auto;
  }
  .sig-card-text {
    font-size: 20px;
    line-height: 110px;
  }
}

.reward-grid,
.membership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.reward-card,
.membership-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background: rgba(0, 0, 0, 0.18);
  color: var(--muted);
  text-align: left;
}

.reward-card {
  cursor: pointer;
}

.reward-card strong,
.membership-card strong {
  color: var(--ink);
  font-size: 18px;
}

.reward-card span,
.membership-card span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
}

.reward-card:hover,
.reward-card:focus-visible {
  border-color: rgba(0, 250, 154, 0.72);
  color: var(--green);
  outline: none;
}

.reward-card[data-loading="true"] {
  cursor: wait;
  opacity: 0.66;
}

.payment-status {
  margin: 14px 0 0;
  border: 1px solid rgba(0, 250, 154, 0.18);
  background: rgba(0, 250, 154, 0.06);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  padding: 10px 12px;
}

.payment-status[data-state="ready"] {
  border-color: rgba(0, 250, 154, 0.38);
  color: var(--green);
}

.payment-status[data-state="error"] {
  border-color: rgba(255, 74, 104, 0.42);
  color: #ff7a90;
}

.membership-card.angel {
  border-color: rgba(255, 228, 92, 0.28);
}

.membership-card.neon {
  border-color: rgba(0, 250, 154, 0.34);
}

@media (max-width: 1200px) {
  .support-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .mind-pulse-hud {
    width: 100%;
    min-height: 88px;
    margin-top: 0;
  }

  .approach-hero,
  .approach-grid,
  .xishi-hub-grid,
  .xishi-about-principles,
  .xishi-heat-summary,
  .xishi-heat-layout,
  .message-grid,
  .message-two-col,
  .message-board-row {
    grid-template-columns: 1fr;
  }

  .xishi-heat-user {
    grid-template-columns: 44px minmax(0, 1fr) 64px;
  }

  .xishi-heat-user b {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .approach-hero-actions {
    justify-items: stretch;
  }

  .approach-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-topbar,
  .topic-detail-grid,
  .support-page .support-hero,
  .signature-layout,
  .support-overview,
  .reward-grid,
  .membership-grid {
    grid-template-columns: 1fr;
  }

  .topic-topbar {
    align-items: stretch;
  }

  .topic-card-head,
  .topic-top-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* ===================================================================
   CYBER LETTER — 赛博信件样式
   =================================================================== */
.cyber-letter-section {
  position: relative;
  z-index: 2;
  margin-bottom: 14px;
}

.cyber-letter-frame {
  position: relative;
  border: 1px solid rgba(0, 229, 255, 0.35);
  background:
    linear-gradient(160deg, rgba(0, 229, 255, 0.06), transparent 40%),
    linear-gradient(320deg, rgba(0, 250, 154, 0.05), transparent 40%),
    rgba(2, 8, 12, 0.92);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.04),
    0 0 40px rgba(0, 229, 255, 0.06),
    0 0 120px rgba(0, 250, 154, 0.03),
    inset 0 0 80px rgba(0, 250, 154, 0.02);
  overflow: hidden;
}

.cyber-letter-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, rgba(0, 229, 255, 0.6) 30%, rgba(0, 250, 154, 0.6) 70%, transparent 95%);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.cyber-letter-frame::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(0, 250, 154, 0.3) 30%, rgba(0, 229, 255, 0.3) 70%, transparent 95%);
}

.cyber-letter-glow {
  position: absolute;
  top: -40%;
  left: 20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cyber-letter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px 14px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.cyber-letter-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 0.12em;
  opacity: 0.7;
}

.cyber-letter-status {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--green);
  letter-spacing: 0.1em;
  animation: cyberPulse 2.5s ease-in-out infinite;
}

@keyframes cyberPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.cyber-letter-body {
  padding: 32px 36px 28px;
}

.cyber-letter-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 0 20px rgba(0, 250, 154, 0.15);
}

.cyber-letter-icon {
  font-size: 28px;
}

.cyber-letter-motto {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 24px 0;
  padding: 14px 18px;
  border-left: 3px solid rgba(0, 229, 255, 0.5);
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.06), transparent 70%);
}

.cyber-letter-motto .cyber-letter-zh {
  font-style: normal;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.08em;
}

.cyber-letter-motto .cyber-letter-en {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.cyber-letter-salute {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 20px 0;
  font-weight: 600;
}

.cyber-letter-p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 16px 0;
}

.cyber-letter-p .cyber-hl {
  color: var(--ink);
  font-weight: 600;
  text-shadow: 0 0 12px rgba(0, 250, 154, 0.12);
}

.cyber-letter-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  font-size: 18px;
}

.cyber-letter-divider::before,
.cyber-letter-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.25), transparent);
}

.cyber-letter-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px 0;
  padding-left: 2px;
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.12);
}

.cyber-letter-points {
  display: grid;
  gap: 12px;
  margin: 0 0 16px 0;
}

.cyber-letter-point {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 229, 255, 0.12);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.04), transparent 60%);
}

.cyber-letter-point .cyber-point-marker {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  min-width: 24px;
  padding-top: 2px;
  text-shadow: 0 0 8px rgba(0, 250, 154, 0.3);
}

.cyber-letter-point strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 6px;
}

.cyber-letter-point p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.cyber-manifesto-points .cyber-point-marker {
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

.cyber-letter-closing {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin: 24px 0 28px 0;
  padding-top: 8px;
}

.cyber-letter-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 229, 255, 0.1);
}

.cyber-letter-motto-sm {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}

.cyber-letter-motto-sm .cyber-letter-zh {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.06em;
}

.cyber-letter-motto-sm .cyber-letter-en {
  font-style: normal;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--cyan);
  letter-spacing: 0.12em;
  opacity: 0.6;
}

.cyber-letter-sign {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--faint);
  letter-spacing: 0.04em;
  text-align: right;
}

.cyber-letter-sign strong {
  color: var(--green);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 250, 154, 0.2);
}

.cyber-letter-footer-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 28px;
  border-top: 1px solid rgba(0, 229, 255, 0.08);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--faint);
  letter-spacing: 0.1em;
}

/* ===================================================================
   MESSAGE PREVIEW — 留言广场预览
   =================================================================== */
.message-preview-panel {
  order: 4;
}

.message-preview-list {
  display: grid;
  gap: 10px;
}

.message-preview-row {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 229, 255, 0.12);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.03), transparent 50%);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.message-preview-row:hover {
  border-color: rgba(0, 250, 154, 0.4);
  background: linear-gradient(135deg, rgba(0, 250, 154, 0.05), transparent 50%);
}

.message-preview-topline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.message-preview-topline time {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
}

.message-preview-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-preview-text {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.message-preview-meta {
  display: flex;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}

.message-preview-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 229, 255, 0.08);
}

.message-board-enter {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cyan);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  background: rgba(0, 229, 255, 0.04);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.message-board-enter:hover,
.message-board-enter:focus-visible {
  border-color: rgba(0, 250, 154, 0.6);
  color: var(--green);
  background: rgba(0, 250, 154, 0.06);
  outline: none;
}

.message-board-enter.compose {
  border-color: rgba(0, 250, 154, 0.35);
  color: var(--green);
  background: rgba(0, 250, 154, 0.06);
}

.message-board-enter.compose:hover {
  background: rgba(0, 250, 154, 0.12);
}

/* ===================================================================
   GRID STATUS & LEGEND
   =================================================================== */
.grid-status-bar {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  padding: 4px 0;
}

.grid-legend {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--faint);
  opacity: 0.5;
  pointer-events: none;
}

.xishi-about-page #cyberLetter { order: 3; }

/* ===================================================================
   RESPONSIVE — 赛博信件自适应
   =================================================================== */
@media (max-width: 768px) {
  .cyber-letter-body {
    padding: 24px 20px 20px;
  }

  .cyber-letter-title {
    font-size: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .cyber-letter-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .cyber-letter-sign {
    text-align: left;
  }

  .cyber-letter-header {
    padding: 14px 20px 10px;
  }

  .cyber-letter-footer-bar {
    padding: 8px 20px;
  }

  .cyber-letter-point {
    flex-direction: column;
    gap: 6px;
  }
}

/* ═══════════════════════════════════════════════════
   EMBEDDED SECTIONS — xishi-about page
   (message board + signature wall inside about page)
   ═══════════════════════════════════════════════════ */

.message-board-section {
  padding: 0 0 48px;
  display: grid;
  gap: 24px;
}

.message-board-section .approach-panel-head {
  margin-bottom: 8px;
}

.message-board-section .approach-overview {
  margin: 0;
  padding: 0;
}

.message-board-section .message-board-panel {
  border: 1px solid var(--line);
  background: var(--panel-bg);
  padding: 24px;
}

.signature-wall-section {
  padding: 0 0 48px;
  display: grid;
  gap: 24px;
}

.signature-wall-section .approach-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.signature-wall-section .approach-panel-head .signature-status {
  margin-left: auto;
}

.sig-embedded-panel {
  border: 1px solid var(--line);
  background: var(--panel-bg);
  padding: 24px;
}

.sig-embedded-panel .sig-input-bar {
  margin-bottom: 20px;
}

/* ensure the embedded signature wall canvas fits well */
.sig-embedded-panel .signature-wall-wrap {
  min-height: 420px;
}

/* section separator between cyber-letter and embedded features */
.cyber-letter-section + .message-board-section::before {
  content: "";
  display: block;
  width: 200px;
  height: 1px;
  margin: 0 auto 48px;
  background: linear-gradient(90deg, transparent, var(--line-cyan), var(--line), transparent);
}

@media (max-width: 768px) {
  .message-board-section,
  .signature-wall-section {
    padding: 0 0 32px;
  }

  .sig-embedded-panel {
    padding: 16px;
  }

  .sig-embedded-panel .signature-wall-wrap {
    min-height: 320px;
  }
}

/* ═══════════════════════════════════════════
   REWARD CENTER MODAL — 奖励中心弹窗
   ═══════════════════════════════════════════ */

.reward-center-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.reward-center-backdrop.open {
  display: grid;
}

.reward-center {
  position: relative;
  width: min(540px, 100%);
  max-height: min(680px, calc(100vh - 40px));
  overflow-y: auto;
  display: grid;
  gap: 20px;
  padding: 28px 24px 24px;
  border: 1px solid rgba(0, 250, 154, 0.25);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(3, 12, 10, 0.97) 0%, rgba(6, 18, 14, 0.95) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 250, 154, 0.06),
    0 0 60px rgba(0, 250, 154, 0.08),
    0 28px 90px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(22px);
  animation: rewardCenterEnter 0.28s ease-out;
}

@keyframes rewardCenterEnter {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.reward-center-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.3);
  color: rgba(0, 229, 255, 0.7);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

.reward-center-close:hover {
  border-color: rgba(0, 250, 154, 0.5);
  color: #00fa9a;
  background: rgba(0, 250, 154, 0.08);
}

.reward-center-header {
  text-align: center;
  padding-bottom: 4px;
}

.reward-center-header .rc-badge {
  display: inline-block;
  padding: 3px 12px;
  border: 1px solid rgba(0, 250, 154, 0.3);
  border-radius: 20px;
  background: rgba(0, 250, 154, 0.06);
  color: #00fa9a;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.reward-center-header h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 560;
  color: var(--ink);
  letter-spacing: 0.5px;
}

.reward-center-header p {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* ── Section titles ── */
.rc-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(0, 229, 255, 0.85);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.12);
}

.rc-section-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00fa9a;
  box-shadow: 0 0 6px rgba(0, 250, 154, 0.6);
}

/* ── Check-in card ── */
.rc-checkin-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(0, 250, 154, 0.18);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 250, 154, 0.04) 0%, rgba(0, 229, 255, 0.03) 100%);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.rc-checkin-card.available {
  border-color: rgba(0, 250, 154, 0.4);
  box-shadow: 0 0 20px rgba(0, 250, 154, 0.08), inset 0 0 30px rgba(0, 250, 154, 0.03);
}

.rc-checkin-card.claimed {
  border-color: rgba(0, 229, 255, 0.1);
  opacity: 0.6;
}

.rc-checkin-streak {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.rc-streak-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.2);
  transition: all 0.3s ease;
}

.rc-streak-dot.filled {
  background: #00fa9a;
  border-color: #00fa9a;
  box-shadow: 0 0 8px rgba(0, 250, 154, 0.5);
}

.rc-streak-dot.today {
  background: transparent;
  border: 2px dashed #00fa9a;
  animation: streakDotPulse 1.8s ease-in-out infinite;
}

@keyframes streakDotPulse {
  0%, 100% { box-shadow: 0 0 4px rgba(0, 250, 154, 0.3); }
  50%      { box-shadow: 0 0 14px rgba(0, 250, 154, 0.7); }
}

.rc-checkin-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rc-checkin-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rc-checkin-day {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.rc-checkin-reward {
  font-size: 11px;
  color: #00fa9a;
  font-family: var(--mono, 'Fira Code', monospace);
}

.rc-checkin-status {
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
}

.rc-checkin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1px solid rgba(0, 250, 154, 0.5);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 250, 154, 0.12) 0%, rgba(0, 229, 255, 0.06) 100%);
  color: #00fa9a;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--mono, 'Fira Code', monospace);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.rc-checkin-btn:hover {
  border-color: #00fa9a;
  background: linear-gradient(135deg, rgba(0, 250, 154, 0.2) 0%, rgba(0, 229, 255, 0.1) 100%);
  box-shadow: 0 0 18px rgba(0, 250, 154, 0.25);
  transform: translateY(-1px);
}

.rc-checkin-btn:active {
  transform: scale(0.96);
}

.rc-checkin-btn.claiming {
  pointer-events: none;
  opacity: 0.6;
  animation: rewardClaimFlash 0.6s ease-out;
}

.rc-checkin-btn.done {
  border-color: rgba(0, 229, 255, 0.2);
  background: rgba(0, 229, 255, 0.04);
  color: rgba(0, 229, 255, 0.5);
  cursor: default;
  pointer-events: none;
}

/* ── Milestone grid ── */
.rc-milestone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rc-milestone-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(0, 229, 255, 0.14);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
  cursor: default;
}

.rc-milestone-card.earned {
  border-color: rgba(0, 250, 154, 0.35);
  background: linear-gradient(135deg, rgba(0, 250, 154, 0.06) 0%, rgba(0, 229, 255, 0.03) 100%);
  cursor: pointer;
}

.rc-milestone-card.earned:hover {
  border-color: rgba(0, 250, 154, 0.6);
  box-shadow: 0 0 16px rgba(0, 250, 154, 0.12);
  transform: translateY(-2px);
}

.rc-milestone-card.earned:active {
  transform: scale(0.97);
}

.rc-milestone-card.claimed {
  border-color: rgba(0, 229, 255, 0.08);
  opacity: 0.5;
}

.rc-milestone-card.claiming {
  pointer-events: none;
  opacity: 0.6;
  animation: rewardClaimFlash 0.6s ease-out;
}

.rc-milestone-icon {
  font-size: 22px;
  line-height: 1;
}

.rc-milestone-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.rc-milestone-reward {
  font-size: 11px;
  color: #00fa9a;
  font-family: var(--mono, 'Fira Code', monospace);
}

.rc-milestone-status {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.rc-milestone-status.locked {
  color: var(--muted);
}

.rc-milestone-status.earned {
  color: #00fa9a;
  animation: statusPulse 2s ease-in-out infinite;
}

.rc-milestone-status.claimed {
  color: rgba(0, 229, 255, 0.5);
}

@keyframes statusPulse {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}

/* ── Newcomer gift banner ── */
.rc-newcomer-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 180, 0, 0.03) 100%);
}

.rc-newcomer-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.rc-newcomer-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rc-newcomer-text strong {
  font-size: 13px;
  color: #ffd700;
  font-weight: 600;
}

.rc-newcomer-text span {
  font-size: 11px;
  color: var(--muted);
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .rc-milestone-grid {
    grid-template-columns: 1fr;
  }

  .reward-center {
    padding: 20px 16px 18px;
    gap: 16px;
  }
}

/* ── 走近息时底部快捷入口 ── */
.about-footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.about-footer-link {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  background: rgba(3, 7, 6, 0.54);
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.about-footer-link:hover,
.about-footer-link:focus-visible {
  border-color: rgba(0, 229, 255, 0.48);
  transform: translateY(-1px);
}

.about-footer-link span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.about-footer-link strong {
  color: var(--ink);
  font-size: 18px;
}

.about-footer-link p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* ── 话题加载更多 ── */
.topic-load-more-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  padding: 14px 0;
}

.topic-load-more-btn {
  padding: 10px 24px;
  border: 1px solid rgba(0, 229, 255, 0.28);
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.topic-load-more-btn:hover:not(:disabled),
.topic-load-more-btn:focus-visible:not(:disabled) {
  border-color: rgba(0, 229, 255, 0.56);
  background: rgba(0, 229, 255, 0.14);
}

.topic-load-more-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.topic-load-more-count {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

/* ── CS 消耗 Toast ── */
.cs-spend-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 20;
  padding: 10px 20px;
  border: 1px solid rgba(255, 209, 102, 0.28);
  background: rgba(0, 0, 0, 0.88);
  color: #ffd166;
  font-family: var(--mono);
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.cs-spend-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   Worldlink Dock — 首页世界情报通道（全球脉络 / 未来地图入口）
   作用域：.worldlink-dock 内，不影响其他组件
   ═══════════════════════════════════════════════════════════ */
.worldlink-dock {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 14px;
}
.worldlink {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  width: 100%;
  padding: 12px 14px;
  text-align: left;
  background: linear-gradient(150deg, rgba(0, 229, 255, 0.05), rgba(0, 0, 0, 0.2));
  border: 1px solid rgba(0, 229, 255, 0.16);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.worldlink:hover {
  border-color: rgba(0, 229, 255, 0.42);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -14px rgba(0, 229, 255, 0.35);
}
.worldlink-future {
  background: linear-gradient(150deg, rgba(167, 139, 250, 0.06), rgba(0, 0, 0, 0.2));
  border-color: rgba(167, 139, 250, 0.18);
}
.worldlink-future:hover {
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 10px 26px -14px rgba(167, 139, 250, 0.35);
}
.worldlink-kicker {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 2.5px;
  color: rgba(0, 229, 255, 0.6);
}
.worldlink-future .worldlink-kicker { color: rgba(167, 139, 250, 0.65); }
.worldlink strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green, #e8eef6);
}
.worldlink small {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--faint, #55606e);
}
.worldlink-meta {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  color: rgba(138, 151, 168, 0.75);
}

/* ═══════════════════════════════════════════════════════════
   AI预测模块（2026-09-20）— 全球脉络 / 未来地图 双入口
   复用 .worldlink 卡片语言，仅在 .predict-view 内放大到舞台宽度
   ═══════════════════════════════════════════════════════════ */
.predict-view.active {
  justify-content: center;
  gap: 16px;
}

.predict-intro {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.07), rgba(0, 250, 154, 0.04) 52%, rgba(167, 139, 250, 0.05)),
    rgba(3, 7, 6, 0.7);
}

.predict-intro .metric-label {
  margin: 0;
}

.predict-intro strong {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.predict-intro span {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

.predict-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 14px;
}

.predict-view .predict-card {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 208px;
  padding: 22px 24px;
  border-radius: 12px;
  text-decoration: none;
}

.predict-view .predict-card > strong {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.predict-view .predict-card > small {
  max-width: 46ch;
  font-size: 12.5px;
  line-height: 1.6;
}

.predict-view .predict-card .worldlink-meta {
  margin-top: 6px;
  font-size: 10px;
}

.predict-cta {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
}

.predict-card-pulse .predict-cta {
  color: var(--green);
}

.predict-card-future .predict-cta {
  color: #a78bfa;
}

/* ── 问息时 Answer Engine（qa.html 增量样式：沿用既有视觉语言）── */
.qa-ref-mark {
  color: var(--accent, #7ee3c3);
  cursor: pointer;
  font-weight: 600;
  margin: 0 1px;
}
.qa-ref-mark:hover {
  text-decoration: underline;
}

/* ════════════════════════════════════════════════════════════════
   Topic Intelligence Board（话题观测 → 动态情报空间）V1
   追加层：rebuild 卡片 intelligence 条带 + 详情页六层情报空间
   ════════════════════════════════════════════════════════════════ */

/* ── rebuild 卡片：intelligence 条带 ── */
.topic-rebuild-intel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  min-width: 0;
  max-width: 100%;
  font-family: var(--mono);
}

.topic-rebuild-momentum {
  padding: 3px 8px;
  border: 1px solid rgba(0, 250, 154, 0.32);
  background: rgba(0, 250, 154, 0.08);
  color: var(--green);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.topic-rebuild-momentum.topic-momentum-flat {
  border-color: rgba(0, 229, 255, 0.28);
  background: rgba(0, 229, 255, 0.06);
  color: var(--cyan);
}

.topic-rebuild-momentum.topic-momentum-down {
  border-color: rgba(255, 209, 102, 0.3);
  background: rgba(255, 209, 102, 0.06);
  color: var(--amber);
}

.topic-rebuild-status {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
  font-size: 10px;
}

.topic-rebuild-signal-count,
.topic-rebuild-entity {
  padding: 3px 7px;
  border: 1px solid rgba(232, 255, 247, 0.12);
  color: var(--muted);
  font-size: 10px;
}

.topic-rebuild-subtopic {
  padding: 3px 7px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: rgba(0, 229, 255, 0.05);
  color: var(--cyan);
  font-size: 10px;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topic-rebuild-enter {
  margin-left: auto;
  color: var(--green);
  font-size: 10px;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.topic-rebuild-row.has-intelligence:hover .topic-rebuild-enter {
  opacity: 1;
  text-shadow: 0 0 12px rgba(0, 250, 154, 0.5);
}

.topic-rebuild-row.has-intelligence {
  position: relative;
  border-color: rgba(0, 229, 255, 0.22);
  background:
    linear-gradient(90deg, rgba(0, 229, 255, 0.075), transparent 32%),
    rgba(0, 0, 0, 0.18);
}

.topic-rebuild-row.has-intelligence::before {
  content: "INTEL BOARD";
  position: absolute;
  right: 12px;
  top: 8px;
  color: rgba(0, 229, 255, 0.55);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.topic-rebuild-row.has-intelligence .topic-rebuild-intel {
  padding: 8px;
  border: 1px solid rgba(0, 250, 154, 0.12);
  background: rgba(0, 250, 154, 0.035);
}

/* ── 详情页 Hero HUD ── */
.ti-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  min-width: 0;
}

.ti-hero-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 12px;
  border: 1px solid rgba(0, 250, 154, 0.2);
  background: rgba(0, 250, 154, 0.05);
  min-width: 74px;
  font-family: var(--mono);
}

.ti-hero-chip em {
  color: var(--faint);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.12em;
}

.ti-hero-chip strong {
  color: var(--ink);
  font-size: 13px;
}

.ti-hero-chip.ti-chip-up {
  border-color: rgba(0, 250, 154, 0.5);
  box-shadow: 0 0 14px rgba(0, 250, 154, 0.12);
}

.ti-hero-chip.ti-chip-up strong {
  color: var(--green);
}

.ti-hero-chip.ti-chip-down strong {
  color: var(--amber);
}

/* ── Intelligence Board 容器 ── */
.ti-board {
  display: grid;
  gap: 22px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(0, 250, 154, 0.18);
  background:
    radial-gradient(circle at 85% 0%, rgba(0, 229, 255, 0.06), transparent 18rem),
    var(--panel-bg);
  box-shadow: 0 0 32px rgba(0, 250, 154, 0.05);
}

.ti-board-label {
  margin: 0;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.ti-section h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.ti-section-index {
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
}

.ti-empty {
  color: var(--faint);
  font-size: 12px;
}

/* ── 01 Core Thesis ── */
.ti-thesis {
  padding: 14px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: linear-gradient(120deg, rgba(0, 229, 255, 0.06), transparent 60%);
}

.ti-thesis-headline {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.ti-thesis-summary {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.ti-thesis-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
}

.ti-confidence {
  padding: 2px 7px;
  border: 1px solid rgba(0, 250, 154, 0.25);
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
}

.ti-updated {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
}

/* ── 02 Logic Map（纵向逻辑流）── */
.ti-logic-flow {
  display: grid;
  gap: 0;
  max-width: 760px;
}

.ti-logic-node {
  padding: 12px 14px;
  border: 1px solid rgba(0, 250, 154, 0.18);
  border-left: 3px solid rgba(0, 250, 154, 0.55);
  background: rgba(0, 250, 154, 0.03);
}

.ti-logic-node.ti-thread-change {
  border-left-color: var(--cyan);
}

.ti-logic-node.ti-thread-driver {
  border-left-color: var(--amber);
}

.ti-logic-node.ti-thread-controversy {
  border-left-color: var(--coral);
}

.ti-logic-node.ti-thread-outlook {
  border-left-color: var(--cyan);
}

.ti-logic-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.ti-logic-icon {
  color: var(--green);
  font-size: 12px;
}

.ti-logic-type {
  padding: 2px 7px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.ti-logic-title {
  color: var(--ink);
  font-size: 13px;
}

.ti-logic-node p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.ti-logic-arrow {
  padding: 4px 0 4px 18px;
  color: rgba(0, 250, 154, 0.4);
  font-size: 11px;
}

/* ── 03 Sub Topics（Bento）── */
.ti-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

.ti-sub-card {
  padding: 12px 14px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.05), transparent 55%);
}

.ti-sub-card:hover {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.08);
}

.ti-sub-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.ti-sub-head strong {
  color: var(--ink);
  font-size: 13px;
}

.ti-sub-importance {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
}

.ti-sub-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

/* ── 04 Timeline（轨道）── */
.ti-timeline {
  position: relative;
  display: grid;
  gap: 14px;
  padding-left: 18px;
  max-width: 720px;
}

.ti-timeline::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 5px;
  width: 1px;
  background: linear-gradient(180deg, rgba(0, 250, 154, 0.55), rgba(0, 229, 255, 0.18));
}

.ti-timeline-node {
  position: relative;
}

.ti-timeline-node::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -18px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--green);
  background: var(--bg);
  box-shadow: 0 0 10px rgba(0, 250, 154, 0.4);
}

.ti-timeline-date {
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.ti-timeline-body strong {
  display: block;
  margin: 2px 0 4px;
  color: var(--ink);
  font-size: 13px;
}

.ti-timeline-body p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

/* ── 05 Key Players ── */
.ti-entity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.ti-entity-card {
  padding: 10px 12px;
  border: 1px solid rgba(232, 255, 247, 0.1);
  background: rgba(10, 20, 16, 0.5);
}

.ti-entity-card strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

.ti-entity-type {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.ti-entity-card p {
  margin: 6px 0 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

/* ── 06 Evidence / Signals ── */
.ti-evidence-note {
  margin: -4px 0 12px;
  color: var(--faint);
  font-size: 11px;
}

.ti-signal-group {
  margin-bottom: 14px;
}

.ti-signal-group-label {
  margin: 0 0 8px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.ti-signal-row {
  max-width: 860px;
  padding: 10px 12px;
  margin-bottom: 6px;
  border: 1px solid rgba(232, 255, 247, 0.08);
  background: rgba(10, 20, 16, 0.42);
}

.ti-signal-row:hover {
  border-color: rgba(0, 250, 154, 0.3);
}

.ti-signal-row.ti-signal-flash {
  border-color: var(--green);
  box-shadow: 0 0 22px rgba(0, 250, 154, 0.25);
}

.ti-signal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 10px;
}

.ti-signal-source {
  color: var(--green);
}

.ti-signal-date {
  color: var(--faint);
}

.ti-signal-type {
  padding: 1px 7px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  color: var(--cyan);
  font-size: 9px;
}

.ti-signal-title {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.ti-signal-fact {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.ti-signal-contribution {
  margin: 6px 0 0;
  color: rgba(232, 255, 247, 0.78);
  font-size: 12px;
  line-height: 1.5;
}

.ti-signal-contribution em {
  margin-right: 6px;
  padding: 1px 7px;
  border: 1px solid rgba(0, 250, 154, 0.3);
  color: var(--green);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.ti-signal-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10px;
}

.ti-signal-foot a {
  color: var(--cyan);
  text-decoration: none;
}

.ti-signal-foot a:hover {
  text-decoration: underline;
}

.ti-signal-weight {
  color: var(--faint);
}

/* ── 07 Analysis ── */
.ti-analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}

.ti-analysis-card {
  padding: 12px 14px;
  border: 1px solid rgba(0, 250, 154, 0.14);
  background: rgba(0, 250, 154, 0.03);
}

.ti-analysis-label {
  margin: 0 0 8px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.ti-analysis-point {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.ti-analysis-point p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

/* ── 08 What To Watch ── */
.ti-watch {
  padding: 14px;
  border: 1px solid rgba(255, 209, 102, 0.28);
  background: linear-gradient(120deg, rgba(255, 209, 102, 0.05), transparent 60%);
}

.ti-watch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}

.ti-watch-card {
  padding: 10px 12px;
  border: 1px solid rgba(255, 209, 102, 0.2);
  background: rgba(255, 209, 102, 0.03);
}

.ti-watch-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 13px;
}

.ti-watch-card p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.ti-watch-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
}

.ti-watch-horizon {
  padding: 1px 7px;
  border: 1px solid rgba(255, 209, 102, 0.3);
  color: var(--amber);
}

.ti-watch-hint {
  color: var(--faint);
}

/* ── 证据跳转徽章 ── */
.ti-evidence-chip {
  padding: 2px 8px;
  border: 1px solid rgba(0, 250, 154, 0.3);
  background: rgba(0, 250, 154, 0.05);
  color: var(--green);
  font-family: var(--mono);
  font-size: 9px;
  cursor: pointer;
}

.ti-evidence-chip:hover {
  background: rgba(0, 250, 154, 0.14);
}

/* ── pending / failed 态 ── */
.ti-pending {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 24px 12px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.ti-pending-note {
  color: var(--faint);
  font-size: 11px;
}

/* ── 移动端 ── */
@media (max-width: 720px) {
  .ti-board {
    padding: 14px;
  }

  .ti-sub-grid,
  .ti-entity-grid,
  .ti-analysis-grid,
  .ti-watch-grid {
    grid-template-columns: 1fr;
  }

  .topic-rebuild-enter {
    margin-left: 0;
  }
}

/* Topic Intelligence Board V2: digital intelligence room */
.topic-page.has-ti-board .topic-detail-panel {
  display: none;
}

.topic-page .ti-board {
  position: relative;
  gap: 18px;
  padding: 0;
  border-color: rgba(0, 229, 255, 0.22);
  background:
    linear-gradient(rgba(0, 229, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 72% 8%, rgba(0, 229, 255, 0.14), transparent 22rem),
    radial-gradient(circle at 14% 0%, rgba(0, 250, 154, 0.1), transparent 20rem),
    rgba(2, 8, 9, 0.92);
  background-size: 32px 32px, 32px 32px, auto, auto, auto;
  box-shadow:
    inset 0 0 70px rgba(0, 229, 255, 0.055),
    0 0 36px rgba(0, 250, 154, 0.06);
}

.ti-board-nav {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.16);
  background: rgba(2, 8, 9, 0.86);
  backdrop-filter: blur(14px);
}

.ti-board-nav a,
.ti-clear-filter {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background: rgba(0, 0, 0, 0.2);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  text-decoration: none;
  cursor: pointer;
}

.ti-board-nav a:hover,
.ti-board-nav a.active {
  border-color: rgba(0, 250, 154, 0.55);
  color: var(--green);
  box-shadow: 0 0 14px rgba(0, 250, 154, 0.12);
}

.ti-clear-filter {
  margin-left: auto;
  color: var(--amber);
  border-color: rgba(255, 209, 102, 0.34);
}

.ti-space {
  margin: 0 18px 18px;
}

.ti-space-head {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.ti-space-head p,
.ti-next-watch > p {
  margin: 0;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.ti-space-head h3,
.ti-subtopic-zone h3,
.ti-time-rail h3,
.ti-player-zone h3,
.ti-analysis-board h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: 0;
}

.ti-situation {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 16px;
  min-height: min(680px, calc(100vh - 168px));
  padding: 22px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.12);
}

.ti-situation-main {
  position: relative;
  display: grid;
  align-content: center;
  gap: 16px;
  min-width: 0;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(0, 250, 154, 0.2);
  background:
    linear-gradient(135deg, rgba(0, 250, 154, 0.08), transparent 48%),
    rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.ti-situation-main::after {
  content: "";
  position: absolute;
  inset: auto 24px 22px auto;
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 250, 154, 0.75));
  box-shadow: 0 0 18px rgba(0, 250, 154, 0.35);
}

.ti-situation h2 {
  max-width: 980px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: 0;
}

.ti-situation-thesis {
  max-width: 920px;
  margin: 0;
  color: var(--green);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.35;
}

.ti-situation-summary {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.ti-hud-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 8px;
  max-width: 760px;
}

.ti-hud-strip span {
  display: grid;
  gap: 5px;
  min-height: 74px;
  padding: 11px 12px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  background: rgba(0, 0, 0, 0.24);
  font-family: var(--mono);
}

.ti-hud-strip em {
  color: var(--faint);
  font-size: 10px;
  font-style: normal;
  text-transform: uppercase;
}

.ti-hud-strip strong {
  color: var(--green);
  font-size: 22px;
  line-height: 1;
}

.ti-hud-momentum.ti-momentum-flat strong {
  color: var(--cyan);
  font-size: 15px;
}

.ti-hud-momentum.ti-momentum-down strong {
  color: var(--amber);
  font-size: 15px;
}

.ti-situation-foot {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.ti-situation-side {
  display: grid;
  gap: 12px;
  align-content: stretch;
  min-width: 0;
}

.ti-side-panel,
.ti-latest-shift {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  background: rgba(0, 0, 0, 0.2);
}

.ti-side-panel p,
.ti-latest-shift p {
  margin: 0;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ti-side-panel button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 40px;
  padding: 8px 9px;
  border: 1px solid rgba(232, 255, 247, 0.09);
  background: rgba(0, 250, 154, 0.035);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.ti-side-panel button:hover {
  border-color: rgba(0, 250, 154, 0.42);
  color: var(--ink);
}

.ti-side-panel strong,
.ti-latest-shift strong {
  min-width: 0;
  color: var(--ink);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ti-side-panel em {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
}

.ti-latest-shift {
  border-color: rgba(255, 209, 102, 0.24);
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.07), rgba(0, 0, 0, 0.18));
}

.ti-latest-shift span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.ti-understanding {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 16px;
  align-items: start;
  padding-top: 6px;
}

.ti-understanding .ti-space-head {
  grid-column: 1 / -1;
}

.ti-logic-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px 14px;
  min-height: 330px;
  padding: 18px;
  border: 1px solid rgba(0, 229, 255, 0.14);
  background: rgba(0, 0, 0, 0.16);
}

.ti-logic-map::before {
  content: "";
  position: absolute;
  inset: 50% 26px auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 250, 154, 0.08), rgba(0, 229, 255, 0.5), rgba(255, 209, 102, 0.45), rgba(0, 250, 154, 0.08));
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
}

.ti-logic-map.ti-logic-count-1,
.ti-logic-map.ti-logic-count-2 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 360px));
  min-height: 0;
}

.ti-logic-map.ti-logic-count-1::before,
.ti-logic-map.ti-logic-count-2::before {
  display: none;
}

.ti-thread-node {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 155px;
  padding: 12px;
  border: 1px solid rgba(0, 250, 154, 0.2);
  background: rgba(0, 20, 17, 0.76);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ti-thread-node:nth-child(1) {
  grid-column: 1 / span 2;
}

.ti-thread-node:nth-child(2) {
  grid-column: 3 / span 2;
  transform: translateY(46px);
}

.ti-thread-node:nth-child(3) {
  grid-column: 5 / span 2;
}

.ti-thread-node:nth-child(4) {
  grid-column: 2 / span 2;
}

.ti-thread-node:nth-child(5) {
  grid-column: 4 / span 2;
  transform: translateY(34px);
}

.ti-thread-node:hover {
  border-color: rgba(0, 250, 154, 0.62);
  box-shadow: 0 0 24px rgba(0, 250, 154, 0.12);
}

.ti-logic-map.ti-logic-count-1 .ti-thread-node:nth-child(n),
.ti-logic-map.ti-logic-count-2 .ti-thread-node:nth-child(n) {
  grid-column: auto;
  transform: none;
  min-height: 145px;
}

.ti-thread-step,
.ti-thread-type,
.ti-thread-foot,
.ti-subtopic-kicker,
.ti-subtopic-meta,
.ti-time-date,
.ti-time-phase,
.ti-time-node em {
  font-family: var(--mono);
}

.ti-thread-step {
  color: var(--green);
  font-size: 10px;
}

.ti-thread-type {
  color: var(--cyan);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ti-thread-node strong,
.ti-subtopic-card strong,
.ti-time-node strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.ti-thread-node p,
.ti-subtopic-card p,
.ti-time-node p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.ti-thread-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.ti-thread-foot em,
.ti-time-node em {
  padding: 2px 7px;
  border: 1px solid rgba(0, 250, 154, 0.24);
  color: var(--green);
  font-size: 9px;
  font-style: normal;
}

.ti-subtopic-zone,
.ti-time-rail,
.ti-player-zone,
.ti-analysis-board,
.ti-next-watch {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(0, 229, 255, 0.14);
  background: rgba(0, 0, 0, 0.14);
}

.ti-subtopic-card,
.ti-time-node {
  display: grid;
  gap: 7px;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(0, 229, 255, 0.14);
  background: rgba(0, 229, 255, 0.035);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.ti-subtopic-card:hover,
.ti-time-node:hover {
  border-color: rgba(0, 229, 255, 0.5);
}

.ti-subtopic-kicker,
.ti-time-phase {
  color: var(--cyan);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ti-subtopic-meta {
  color: var(--faint);
  font-size: 10px;
}

.ti-time-rail {
  position: relative;
  grid-column: 1 / -1;
}

.ti-time-rail::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 70px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 250, 154, 0.65), rgba(0, 229, 255, 0.36), rgba(255, 209, 102, 0.55));
}

.ti-time-rail {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.ti-time-rail h3 {
  grid-column: 1 / -1;
}

.ti-time-node {
  position: relative;
  min-height: 170px;
}

.ti-time-node::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid var(--green);
  background: var(--bg);
  box-shadow: 0 0 12px rgba(0, 250, 154, 0.45);
}

.ti-time-node.is-now {
  border-color: rgba(255, 209, 102, 0.42);
  background: rgba(255, 209, 102, 0.045);
}

.ti-time-node.is-now::before {
  border-color: var(--amber);
  box-shadow: 0 0 18px rgba(255, 209, 102, 0.5);
}

.ti-time-date {
  color: var(--green);
  font-size: 10px;
}

.ti-player-zone {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-column: 1 / -1;
}

.ti-player-zone h3 {
  grid-column: 1 / -1;
}

.ti-player-zone article {
  padding: 11px;
  border: 1px solid rgba(232, 255, 247, 0.1);
  background: rgba(10, 20, 16, 0.46);
}

.ti-player-zone strong,
.ti-player-zone span {
  display: block;
}

.ti-player-zone strong {
  color: var(--ink);
  font-size: 13px;
}

.ti-player-zone span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
}

.ti-player-zone p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.ti-evidence-space {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: 16px;
}

.ti-evidence-space .ti-space-head,
.ti-focus-state,
.ti-evidence-groups {
  grid-column: 1;
}

.ti-focus-state {
  padding: 8px 10px;
  border: 1px solid rgba(0, 250, 154, 0.18);
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
  background: rgba(0, 250, 154, 0.04);
}

.ti-evidence-groups {
  max-height: min(860px, 78vh);
  overflow: auto;
  padding-right: 6px;
}

.ti-evidence-space .ti-signal-row {
  max-width: none;
  transition: opacity 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.ti-signal-row.is-filtered-out,
.ti-signal-group.is-filtered-out {
  display: none;
}

.ti-signal-row.is-filtered-in {
  border-color: rgba(0, 250, 154, 0.46);
  box-shadow: inset 0 0 20px rgba(0, 250, 154, 0.045);
}

.ti-signal-toggle,
.ti-focus-btn {
  padding: 2px 8px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: rgba(0, 0, 0, 0.2);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
  cursor: pointer;
}

.ti-focus-btn:hover,
.ti-signal-toggle:hover {
  border-color: rgba(0, 250, 154, 0.48);
  color: var(--green);
}

.ti-signal-detail {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding: 8px;
  border-top: 1px solid rgba(232, 255, 247, 0.08);
  color: var(--faint);
  font-size: 11px;
}

.ti-signal-detail p {
  margin: 0;
}

.ti-signal-detail em {
  margin-right: 6px;
  color: var(--cyan);
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
}

.ti-analysis-board,
.ti-next-watch {
  grid-column: 2;
}

.ti-analysis-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ti-analysis-tab {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background: rgba(0, 0, 0, 0.22);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  cursor: pointer;
}

.ti-analysis-tab.active {
  border-color: rgba(0, 250, 154, 0.5);
  color: var(--green);
  background: rgba(0, 250, 154, 0.08);
}

.ti-analysis-pane {
  display: none;
}

.ti-analysis-pane.active {
  display: grid;
  gap: 10px;
}

.ti-analysis-point {
  align-items: flex-start;
  padding: 9px;
  border: 1px solid rgba(232, 255, 247, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.ti-next-watch {
  align-content: start;
  border-color: rgba(255, 209, 102, 0.28);
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.06), rgba(0, 0, 0, 0.12));
}

.ti-watch-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 10px;
}

.ti-watch-card > span {
  grid-row: span 3;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 18px;
}

.ti-watch-card strong {
  margin: 0;
}

.ti-watch-card p,
.ti-watch-foot {
  grid-column: 2;
}

.ti-watch-foot em {
  padding: 2px 7px;
  border: 1px solid rgba(255, 209, 102, 0.28);
  color: var(--amber);
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
}

@media (max-width: 1180px) {
  .ti-situation,
  .ti-understanding,
  .ti-evidence-space {
    grid-template-columns: 1fr;
  }

  .ti-analysis-board,
  .ti-next-watch,
  .ti-evidence-space .ti-space-head,
  .ti-focus-state,
  .ti-evidence-groups {
    grid-column: 1;
  }

  .ti-logic-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }

  .ti-thread-node,
  .ti-thread-node:nth-child(n) {
    grid-column: auto;
    transform: none;
  }
}

@media (max-width: 768px) {
  .ti-board-nav {
    position: static;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .ti-space,
  .ti-situation {
    margin: 0 10px 12px;
    padding: 14px;
  }

  .ti-situation {
    min-height: 0;
  }

  .ti-situation h2 {
    font-size: 34px;
  }

  .ti-hud-strip,
  .ti-logic-map,
  .ti-time-rail {
    grid-template-columns: 1fr;
  }

  .ti-logic-map::before,
  .ti-time-rail::before {
    display: none;
  }

  .ti-evidence-groups {
    max-height: none;
    overflow: visible;
  }
}

/* ═══ Topic Intelligence V2 · Narrative + Prediction（追加层，复用 v2 空间语言）═══ */
.ti-narrative-headline {
  margin: -6px 0 12px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.ti-narrative-flow {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.ti-narrative-para {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 250, 154, 0.16);
  border-left: 3px solid rgba(0, 250, 154, 0.5);
  background: rgba(0, 20, 17, 0.7);
}

.ti-narrative-para.ti-narrative-change { border-left-color: var(--cyan); }
.ti-narrative-para.ti-narrative-driver { border-left-color: var(--amber); }
.ti-narrative-para.ti-narrative-controversy { border-left-color: var(--coral); }
.ti-narrative-para.ti-narrative-outlook { border-left-color: var(--cyan); }

.ti-narrative-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ti-narrative-step {
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
}

.ti-narrative-kind {
  padding: 2px 7px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.ti-narrative-para p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.ti-narrative-foot {
  margin-top: 10px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
}

.ti-prediction-board {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(0, 229, 255, 0.24);
  background: linear-gradient(120deg, rgba(0, 229, 255, 0.05), transparent 62%);
}

.ti-prediction-board h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 14px;
}

.ti-prediction-summary {
  margin: -2px 0 12px;
  color: var(--muted);
  font-size: 12.5px;
}

.ti-prediction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

.ti-prediction-card {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 250, 154, 0.2);
  background: rgba(0, 20, 17, 0.76);
}

.ti-prediction-card.ti-prediction-upside { border-color: rgba(0, 250, 154, 0.4); }
.ti-prediction-card.ti-prediction-risk { border-color: rgba(255, 107, 107, 0.42); }

.ti-prediction-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ti-prediction-type {
  padding: 2px 8px;
  border: 1px solid rgba(0, 229, 255, 0.24);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.ti-prediction-card.ti-prediction-risk .ti-prediction-type {
  border-color: rgba(255, 107, 107, 0.4);
  color: var(--coral);
}

.ti-prediction-card strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}

.ti-prediction-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.ti-prediction-signals {
  display: grid;
  gap: 4px;
}

.ti-prediction-signals span {
  color: var(--faint);
  font-size: 11px;
}

@media (max-width: 720px) {
  .ti-prediction-grid { grid-template-columns: 1fr; }
}

/* ═══ Topic Intelligence 可读性整体放大（2026-09-15 用户反馈：字号过小看不清）═══
   追加覆盖块：统一上调 ti- 排版（正文 +2px、标题 +2px、HUD 标签 +1.5px），
   正文对比度 0.62 → 0.82，行距放宽。放在文件末尾，同优先级后写生效。═══ */

/* 正文段落：12/12.5 → 14px */
.ti-thread-node p,
.ti-subtopic-card p,
.ti-time-node p,
.ti-analysis-point p,
.ti-watch-card p,
.ti-signal-fact,
.ti-signal-contribution,
.ti-narrative-para p,
.ti-prediction-card p,
.ti-signal-detail {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(232, 255, 247, 0.82);
}

/* 卡片标题：13 → 15px */
.ti-thread-node strong,
.ti-subtopic-card strong,
.ti-time-node strong,
.ti-watch-card strong,
.ti-signal-title,
.ti-prediction-card strong,
.ti-player-zone article strong {
  font-size: 15px;
  line-height: 1.5;
}

/* 概要句：situation summary 14 → 15.5px；signal key 概览 12 → 13.5px */
.ti-situation-summary {
  font-size: 15.5px;
  line-height: 1.7;
}

.ti-situation-thesis {
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.45;
}

.ti-narrative-headline {
  font-size: 19px;
  line-height: 1.5;
}

.ti-prediction-summary {
  font-size: 14px;
}

/* HUD / 徽章 / mono 标签：9-10 → 10.5-11px */
.ti-space-head p,
.ti-board-label,
.ti-signal-group-label,
.ti-thread-type,
.ti-subtopic-kicker,
.ti-time-phase,
.ti-time-date,
.ti-signal-type,
.ti-signal-source,
.ti-signal-date,
.ti-signal-weight,
.ti-narrative-kind,
.ti-prediction-type,
.ti-narrative-step,
.ti-thread-step,
.ti-watch-card > span:first-child,
.ti-watch-foot em,
.ti-thread-foot em,
.ti-narrative-foot,
.ti-prediction-signals span {
  font-size: 11px;
}

.ti-confidence,
.ti-focus-btn,
.ti-evidence-chip,
.ti-clear-filter,
.ti-narrative-kind {
  font-size: 10.5px;
}

/* 空间标题：15 → 17px */
.ti-space-head h3 {
  font-size: 17px;
}

.ti-subtopic-zone h3,
.ti-time-rail h3,
.ti-player-zone h3 {
  font-size: 16px;
}

/* HUD 数值 22 → 26px */
.ti-hud-strip strong {
  font-size: 26px;
}

.ti-hud-strip em {
  font-size: 11px;
}

/* 信号行明细展开区 */
.ti-signal-detail {
  font-size: 13.5px;
  line-height: 1.7;
}

/* Situation 概要句对比度补齐 */
.ti-situation-summary,
.ti-situation-foot,
.ti-focus-state {
  color: rgba(232, 255, 247, 0.82);
}

/* ═══ 话题观测列表卡片同步放大（rebuild 视图）═══ */
.topic-rebuild-title strong {
  font-size: 17px;
  line-height: 1.45;
}

.topic-rebuild-main p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(232, 255, 247, 0.82);
}

.topic-rebuild-intel {
  font-size: 11.5px;
}

.topic-rebuild-momentum,
.topic-rebuild-signal-count,
.topic-rebuild-entity,
.topic-rebuild-subtopic,
.topic-rebuild-status,
.topic-rebuild-enter {
  font-size: 11.5px;
}

.topic-heat-equation {
  font-size: 11px;
}

.topic-rebuild-tags span {
  font-size: 11px;
}

.topic-heat-score strong {
  font-size: 17px;
}

/* ═══ Topic Intelligence 收口（2026-09-15）：单路径页面 · 中文 · Analysis 主链 ═══ */

/* ── 导航降噪：去边框感、更轻的分区导航 ── */
.ti-board-nav {
  gap: 4px;
  padding: 9px 10px;
  border-bottom: 1px solid rgba(232, 255, 247, 0.07);
  background: rgba(3, 9, 8, 0.82);
}

.ti-board-nav a,
.ti-board-nav button[data-ti-nav],
.ti-board-nav .ti-nav-link {
  padding: 5px 11px;
  border: none;
  border-radius: 999px;
  color: rgba(232, 255, 247, 0.66);
  font-size: 13px;
  background: transparent;
}

.ti-board-nav a:hover,
.ti-board-nav .ti-nav-link:hover {
  color: var(--ink);
  background: rgba(0, 250, 154, 0.08);
}

.ti-board-nav .active,
.ti-board-nav [data-ti-nav].active {
  color: var(--green);
  background: rgba(0, 250, 154, 0.1);
  box-shadow: none;
}

.ti-clear-filter {
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.06);
  color: var(--cyan);
}

/* ── AI分析：主展示区（连续阅读式，非 tab 小卡）── */
.ti-analysis-space {
  padding: 18px 6px;
}

.ti-analysis-flow {
  display: grid;
  gap: 22px;
  max-width: 860px;
}

.ti-analysis-block h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 17px;
  letter-spacing: 0.02em;
}

.ti-analysis-block h4::before {
  content: "◆ ";
  color: var(--green);
  font-size: 11px;
  vertical-align: 2px;
}

.ti-analysis-block .ti-analysis-point {
  display: grid;
  gap: 4px;
  padding: 7px 0 9px;
  border: none;
  border-bottom: 1px solid rgba(232, 255, 247, 0.06);
}

.ti-analysis-block .ti-analysis-point:last-child {
  border-bottom: none;
}

.ti-analysis-block .ti-analysis-point p {
  margin: 0;
  color: rgba(232, 255, 247, 0.86);
  font-size: 14.5px;
  line-height: 1.75;
}

.ti-analysis-block .ti-point-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* ── 核心叙事：页面最重要正文，权重最高 ── */
.ti-narrative-para p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(232, 255, 247, 0.88);
}

/* ── 完整情报报告区 ── */
.ti-final-report {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 209, 102, 0.22);
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 209, 102, 0.05), transparent 16rem),
    var(--panel-bg);
}

.ti-report-label {
  color: var(--amber);
}

.ti-report-title {
  margin: 4px 0 6px;
  color: var(--ink);
  font-size: 18px;
}

.ti-report-desc {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.ti-report-unlock-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.ti-report-cost {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 12px;
}

.ti-report-state {
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.ti-report-executive {
  margin: 6px 0 14px;
  padding: 12px 14px;
  border-left: 3px solid var(--amber);
  background: rgba(255, 209, 102, 0.05);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}

.ti-report-body p {
  margin: 0 0 14px;
  color: rgba(232, 255, 247, 0.86);
  font-size: 14.5px;
  line-height: 1.85;
  text-align: justify;
}

.ti-report-block {
  margin: 18px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(232, 255, 247, 0.08);
}

.ti-report-block h4 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 15px;
}

.ti-report-point {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}

.ti-report-point p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.ti-report-foot {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(232, 255, 247, 0.08);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

/* ── 新版骨架（情报未就绪时的唯一等待态）── */
.ti-skeleton {
  display: grid;
  gap: 12px;
  padding: 22px 8px;
  justify-items: start;
}

.ti-skeleton-title {
  margin: 2px 0 4px;
  color: var(--ink);
  font-size: 24px;
}

.ti-skel-line {
  display: block;
  height: 14px;
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(0, 250, 154, 0.08), rgba(0, 229, 255, 0.05), rgba(0, 250, 154, 0.08));
  background-size: 200% 100%;
  animation: ti-skel-shimmer 1.6s ease-in-out infinite;
}

.ti-skel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}

.ti-skel-block {
  display: block;
  height: 96px;
  border-radius: 10px;
  border: 1px solid rgba(0, 250, 154, 0.1);
  background: rgba(0, 250, 154, 0.03);
  animation: ti-skel-shimmer 1.6s ease-in-out infinite;
}

@keyframes ti-skel-shimmer {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.ti-skeleton-note {
  margin: 6px 0 0;
  color: var(--faint);
  font-size: 12.5px;
}

.ti-skeleton-error {
  display: grid;
  gap: 10px;
  padding: 22px 8px;
}

.ti-back-console {
  color: var(--cyan);
}

/* ── 移动端 ── */
@media (max-width: 720px) {
  .ti-analysis-block h4 { font-size: 16px; }
  .ti-report-body p { font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Topic Intelligence · Editorial Redesign Layer (v3)
   定位：Future Intelligence Editorial — 未来感 × 高端研究报告 × 数字杂志
   原则：克制 · 精致 · 留白 · 层级 · 阅读感 · 少量未来感
   覆盖策略：本层位于文件最末，同名规则按级联顺序覆盖此前全部 TI 视觉。
   只改 HTML/CSS/排版/层级，不动任何数据逻辑。
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Design tokens（仅话题页生效）────────────────────────────────────── */
body.topic-page {
  --ted-bg: #07110f;
  --ted-ink: #edf7f2;
  --ted-body: rgba(237, 247, 242, 0.8);
  --ted-muted: rgba(237, 247, 242, 0.55);
  --ted-faint: rgba(237, 247, 242, 0.34);
  --ted-accent: #3fd68f;
  --ted-cyan: #7fc9dd;
  --ted-amber: #ddb36a;
  --ted-purple: #a5a1f0;
  --ted-line: rgba(237, 247, 242, 0.08);
  --ted-line-2: rgba(237, 247, 242, 0.14);
  --ted-surface: rgba(255, 255, 255, 0.025);
  --ted-surface-2: rgba(255, 255, 255, 0.045);
  --ted-read: 768px;
}

/* 页面基底：深墨绿底 + 极微弱顶部光晕；去掉网格与扫描线 */
body.topic-page {
  background: var(--ted-bg) !important;
}

body.topic-page::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 46vh;
  pointer-events: none;
  background:
    radial-gradient(58% 90% at 70% -10%, rgba(63, 214, 143, 0.05), transparent 70%),
    radial-gradient(42% 70% at 12% -6%, rgba(127, 201, 221, 0.035), transparent 72%);
  z-index: 0;
}

.topic-page .scanline {
  display: none;
}

/* 版心：1340px 编辑部宽度；正文模块内部自行收窄 */
.topic-page .topic-shell {
  width: min(var(--page-max), calc(100vw - var(--page-gutter)));
  gap: 0;
  padding: 20px 0 96px;
}

/* 顶栏：融入页面，去边框去发光 */
.topic-page .topbar,
.topic-page .panel {
  border: none;
  box-shadow: none;
  background: transparent !important;
  backdrop-filter: none;
}

.topic-page .topic-topbar {
  position: static;
  z-index: auto;
  min-height: 0;
  padding: 14px 0 18px;
  background: none;
  backdrop-filter: none;
}

.topic-page .brand h1 {
  font-size: 17px;
  letter-spacing: 0.02em;
}

.topic-page .brand p {
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
}

.topic-page .cs-meter {
  min-height: 0;
  padding: 6px 12px;
  border: 1px solid var(--ted-line);
  border-radius: 999px;
  background: var(--ted-surface);
  box-shadow: none;
  font-family: var(--mono);
}

.topic-page .cs-meter span {
  color: var(--ted-faint);
  font-size: 10px;
}

.topic-page .cs-meter strong {
  color: var(--ted-accent);
  font-size: 13px;
}

.topic-page .module-tab {
  border: none;
  background: none;
  color: var(--ted-faint);
  font-size: 12.5px;
  box-shadow: none;
}

.topic-page .module-tab.active {
  color: var(--ted-ink);
}

/* ── 2. 板容器：无边框无网格无辉光 ──────────────────────────────────────── */
.topic-page .ti-board {
  position: static;
  gap: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

/* ── 3. 极简文字导航 ───────────────────────────────────────────────────── */
.topic-page .ti-board-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  align-items: center;
  max-width: 1000px;
  margin: 26px auto 0;
  padding: 14px 0 20px;
  border-bottom: 1px solid var(--ted-line);
  background: rgba(7, 17, 15, 0.86);
  backdrop-filter: blur(14px);
}

.topic-page .ti-board-nav a,
.topic-page .ti-clear-filter {
  min-height: 0;
  padding: 2px 0;
  border: none;
  background: none;
  color: var(--ted-faint);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.02em;
  box-shadow: none;
  position: relative;
  transition: color 160ms ease;
}

.topic-page .ti-board-nav a:hover {
  color: var(--ted-body);
}

.topic-page .ti-board-nav a.active {
  color: var(--ted-ink);
}

.topic-page .ti-board-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--ted-accent);
}

.topic-page .ti-clear-filter {
  margin-left: 0;
  color: var(--ted-amber);
  font-size: 12px;
}

/* ── 4. 分区节奏：大留白 + 编号 kicker + 大标题 ─────────────────────────── */
.topic-page .ti-space {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 8px;
}

.topic-page .ti-situation {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
}

.topic-page #ti-narrative,
.topic-page #ti-analysis,
.topic-page #ti-logic {
  max-width: 1000px;
}

.topic-page #ti-structure,
.topic-page #ti-evidence {
  max-width: 1140px;
}

.topic-page .ti-space-head {
  margin: 0 0 44px;
}

.topic-page .ti-space-head p,
.topic-page .ti-next-watch > p {
  margin: 0 0 12px;
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.topic-page .ti-space-head h3,
.topic-page .ti-subtopic-zone h3,
.topic-page .ti-time-rail h3,
.topic-page .ti-player-zone h3 {
  margin: 0;
  color: var(--ted-ink);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* 分区之间的呼吸：64px 起步 */
.topic-page .ti-space {
  margin-top: 88px;
}

.topic-page .ti-space:first-of-type {
  margin-top: 0;
}

/* ── 5. Hero：单栏编辑部排版，数字即排版 ───────────────────────────────── */
.topic-page .ti-situation {
  display: block;
  min-height: 0;
  border-bottom: none;
  padding: 40px 0 0;
}

.topic-page .ti-situation-main {
  display: block;
  padding: 0;
  border: none;
  background: none;
  overflow: visible;
}

.topic-page .ti-situation-main::after {
  display: none;
}

.topic-page .ti-board-label {
  margin: 0 0 22px;
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.topic-page .ti-situation h2 {
  max-width: 900px;
  margin: 0 0 22px;
  color: var(--ted-ink);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.topic-page .ti-situation-thesis {
  max-width: 780px;
  margin: 0 0 18px;
  color: var(--ted-accent);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0;
}

.topic-page .ti-situation-summary {
  max-width: var(--ted-read);
  margin: 0 0 40px;
  color: var(--ted-body);
  font-size: 16px;
  line-height: 1.85;
}

/* 指标行：无框数字排版，细竖线分隔 */
.topic-page .ti-hud-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 820px;
  margin: 0 0 18px;
  padding: 26px 0;
  border-top: 1px solid var(--ted-line);
  border-bottom: 1px solid var(--ted-line);
}

.topic-page .ti-hud-strip span {
  display: flex;
  flex-direction: column-reverse;
  gap: 9px;
  min-height: 0;
  min-width: 132px;
  padding: 2px 34px 2px 0;
  margin-right: 34px;
  border: none;
  border-right: 1px solid var(--ted-line);
  background: none;
  font-family: var(--sans);
}

.topic-page .ti-hud-strip span:last-child {
  border-right: none;
  margin-right: 0;
}

.topic-page .ti-hud-strip em {
  color: var(--ted-faint);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.1em;
}

.topic-page .ti-hud-strip strong {
  color: var(--ted-ink);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
}

.topic-page .ti-hud-strip .ti-hud-momentum strong {
  color: var(--ted-accent);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
}

.topic-page .ti-hud-momentum.ti-momentum-down strong {
  color: var(--ted-amber);
}

.topic-page .ti-hud-momentum.ti-momentum-flat strong {
  color: var(--ted-cyan);
  font-size: 17px;
}

.topic-page .ti-situation-foot {
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

/* Hero 右栏：安静的信息列表 + 最新变化 Spotlight */
.topic-page .ti-situation-side {
  display: grid;
  gap: 36px;
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--ted-line);
  grid-template-columns: 1fr 1fr;
}

.topic-page .ti-side-panel {
  display: block;
  padding: 0;
  border: none;
  background: none;
}

.topic-page .ti-side-panel p {
  margin: 0 0 14px;
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.topic-page .ti-side-panel button {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  align-items: baseline;
  width: 100%;
  min-height: 0;
  padding: 10px 0;
  border: none;
  border-top: 1px solid var(--ted-line);
  background: none;
  color: var(--ted-body);
  text-align: left;
  box-shadow: none;
  transition: color 150ms ease;
}

.topic-page .ti-side-panel button:first-of-type {
  border-top: none;
}

.topic-page .ti-side-panel button:hover {
  border-color: var(--ted-line-2);
  color: var(--ted-ink);
}

.topic-page .ti-side-panel strong {
  color: var(--ted-ink);
  font-size: 14px;
  font-weight: 500;
  white-space: normal;
}

.topic-page .ti-side-panel em {
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 10.5px;
  font-style: normal;
  letter-spacing: 0.06em;
}

.topic-page .ti-latest-shift {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  max-width: 720px;
  padding: 20px 24px 22px;
  border: none;
  border-left: 2px solid var(--ted-amber);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, rgba(221, 179, 106, 0.055), rgba(221, 179, 106, 0) 62%);
}

.topic-page .ti-latest-shift p {
  margin: 0;
  color: var(--ted-amber);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.topic-page .ti-latest-shift strong {
  color: var(--ted-ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  white-space: normal;
}

.topic-page .ti-latest-shift span {
  color: var(--ted-muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ── 6. 核心叙事：文章式排版 ───────────────────────────────────────────── */
.topic-page .ti-narrative-space {
  max-width: 1000px;
}

.topic-page .ti-narrative-headline {
  max-width: var(--ted-read);
  margin: -20px 0 34px;
  color: var(--ted-muted);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
}

.topic-page .ti-narrative-flow {
  display: grid;
  gap: 34px;
  max-width: var(--ted-read);
}

.topic-page .ti-narrative-para {
  display: grid;
  gap: 10px;
  padding: 0;
  border: none;
  border-left: none;
  background: none;
}

/* 重点段落（关键变化）→ pull quote */
.topic-page .ti-narrative-para.ti-narrative-change {
  padding-left: 26px;
  border-left: 2px solid var(--ted-accent);
}

.topic-page .ti-narrative-para.ti-narrative-change > p:last-child {
  color: var(--ted-ink);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.62;
  letter-spacing: -0.005em;
}

.topic-page .ti-narrative-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.topic-page .ti-narrative-step {
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.topic-page .ti-narrative-kind {
  padding: 0;
  border: none;
  background: none;
  color: var(--ted-cyan);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
}

.topic-page .ti-narrative-para > p:last-child {
  margin: 0;
  color: var(--ted-body);
  font-size: 16.5px;
  line-height: 1.88;
}

.topic-page .ti-narrative-foot {
  margin-top: 34px;
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}

/* 置信度 / 元信息统一为 inline metadata，不再用 chip */
.topic-page .ti-confidence {
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
}

/* Chip 清场：全部元数据 chip 恢复为 inline text（含旧 V1 规则残留） */
.topic-page #tiBoard em,
.topic-page #tiFinalReport em,
.topic-page .ti-confidence,
.topic-page .ti-signal-type,
.topic-page .ti-signal-source,
.topic-page .ti-signal-date,
.topic-page .ti-prediction-type,
.topic-page .ti-narrative-kind,
.topic-page .ti-subtopic-kicker,
.topic-page .ti-time-phase,
.topic-page .ti-watch-card,
.topic-page .ti-prediction-board {
  border: none;
  background: none;
  box-shadow: none;
}

/* 需要保留背景/边界的例外（Spotlight / 预测卡）单列恢复 */
.topic-page .ti-latest-shift {
  border-left: 2px solid var(--ted-amber);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, rgba(221, 179, 106, 0.055), rgba(221, 179, 106, 0) 62%);
}

.topic-page .ti-prediction-card {
  border-left: 2px solid rgba(165, 161, 240, 0.5);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(165, 161, 240, 0.055), rgba(165, 161, 240, 0.012) 60%);
}

.topic-page .ti-prediction-card.ti-prediction-risk {
  border-left-color: rgba(221, 179, 106, 0.55);
  background: linear-gradient(90deg, rgba(221, 179, 106, 0.05), rgba(221, 179, 106, 0.01) 60%);
}

/* chip 内边距归零（保留 hover 语义） */
.topic-page .ti-confidence,
.topic-page .ti-narrative-kind,
.topic-page .ti-subtopic-kicker,
.topic-page .ti-signal-type,
.topic-page .ti-prediction-type,
.topic-page #tiBoard .ti-thread-foot em,
.topic-page #tiBoard .ti-time-node em,
.topic-page #tiBoard .ti-watch-foot em,
.topic-page #tiFinalReport .ti-watch-foot em {
  padding: 0;
}

/* ── 7. AI 分析：左栏区头 + 右侧连续分析（Vertical Editorial）──────────── */
.topic-page .ti-analysis-space {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  max-width: 1140px;
}

.topic-page .ti-analysis-space .ti-space-head {
  position: sticky;
  top: 92px;
  margin: 0;
}

.topic-page .ti-analysis-space .ti-space-head p {
  color: var(--ted-purple);
  opacity: 0.85;
}

.topic-page .ti-analysis-space .ti-space-head h3 {
  font-size: 24px;
}

.topic-page .ti-analysis-flow {
  display: grid;
  gap: 44px;
  max-width: 780px;
}

.topic-page .ti-analysis-block {
  display: grid;
  gap: 16px;
}

.topic-page .ti-analysis-block h4 {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ted-line);
  color: var(--ted-ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.topic-page .ti-analysis-block h4::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--ted-purple);
  vertical-align: 2px;
}

.topic-page .ti-analysis-block .ti-analysis-point {
  display: grid;
  gap: 6px;
  padding: 0;
  border: none;
  background: none;
}

.topic-page .ti-analysis-block .ti-analysis-point p {
  margin: 0;
  color: var(--ted-body);
  font-size: 15.5px;
  line-height: 1.82;
}

.topic-page .ti-analysis-block .ti-point-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

/* ── 8. 逻辑脉络：Narrative Flow（大编号 + 竖向连接线）─────────────────── */
.topic-page .ti-understanding {
  display: block;
}

.topic-page .ti-logic-map {
  display: grid;
  gap: 0;
  min-height: 0;
  max-width: 880px;
  padding: 0;
  border: none;
  background: none;
}

.topic-page .ti-logic-map::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 30px;
  bottom: 30px;
  width: 1px;
  height: auto;
  background: var(--ted-line-2);
  box-shadow: none;
}

.topic-page .ti-logic-map.ti-logic-count-1::before,
.topic-page .ti-logic-map.ti-logic-count-2::before {
  display: block;
}

.topic-page .ti-thread-node {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  align-content: start;
  min-height: 0;
  padding: 0 0 40px 0;
  border: none;
  background: none;
  color: var(--ted-body);
  transition: none;
}

.topic-page .ti-thread-node:nth-child(n) {
  grid-column: auto;
  transform: none;
}

.topic-page .ti-thread-node::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ted-bg);
  border: 1.5px solid var(--ted-accent);
  box-shadow: none;
}

.topic-page .ti-thread-node:hover {
  border: none;
  box-shadow: none;
}

.topic-page .ti-thread-node:hover strong {
  color: var(--ted-accent);
}

.topic-page .ti-thread-node:hover::before {
  background: var(--ted-accent);
}

.topic-page .ti-thread-step {
  display: block;
  padding-top: 1px;
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.topic-page .ti-thread-type {
  display: block;
  margin-bottom: 5px;
  color: var(--ted-cyan);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

.topic-page .ti-thread-node strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ted-ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.topic-page .ti-thread-node p {
  margin: 0 0 10px;
  max-width: 640px;
  color: var(--ted-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.topic-page .ti-thread-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 0;
}

.topic-page .ti-thread-foot em,
.topic-page .ti-time-node em {
  padding: 0;
  border: none;
  background: none;
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 10.5px;
  font-style: normal;
}

/* ── 9. 子话题：安静清单 ───────────────────────────────────────────────── */
.topic-page .ti-subtopic-zone,
.topic-page .ti-time-rail,
.topic-page .ti-player-zone,
.topic-page .ti-next-watch {
  padding: 0;
  border: none;
  background: none;
}

.topic-page .ti-subtopic-zone {
  margin-bottom: 72px;
}

.topic-page .ti-subtopic-zone h3 {
  margin-bottom: 30px;
}

.topic-page .ti-subtopic-card {
  display: grid;
  gap: 7px;
  width: 100%;
  max-width: 780px;
  padding: 20px 0;
  border: none;
  border-top: 1px solid var(--ted-line);
  background: none;
  color: var(--ted-body);
  text-align: left;
  transition: none;
}

.topic-page .ti-subtopic-card:hover {
  border-color: var(--ted-line-2);
}

.topic-page .ti-subtopic-card:hover strong {
  color: var(--ted-accent);
}

.topic-page .ti-subtopic-kicker {
  color: var(--ted-faint);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.topic-page .ti-subtopic-card strong {
  color: var(--ted-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.topic-page .ti-subtopic-card p {
  margin: 0;
  max-width: 680px;
  color: var(--ted-muted);
  font-size: 14px;
  line-height: 1.72;
}

.topic-page .ti-subtopic-meta {
  color: var(--ted-faint);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

/* ── 10. 时间线：Story Timeline（纵向、圆点、竖线、重点放大）────────────── */
.topic-page .ti-time-rail {
  position: relative;
  display: block;
}

.topic-page .ti-time-rail::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  height: auto;
  background: var(--ted-line-2);
}

.topic-page .ti-time-node {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px 28px;
  min-height: 0;
  width: 100%;
  padding: 0 0 34px 30px;
  border: none;
  background: none;
  color: var(--ted-body);
  text-align: left;
}

.topic-page .ti-time-node::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 7px;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--ted-cyan);
  border-radius: 50%;
  background: var(--ted-bg);
  box-shadow: none;
}

.topic-page .ti-time-node.is-now {
  border: none;
  background: none;
}

.topic-page .ti-time-node.is-now::before {
  top: 12px;
  width: 11px;
  height: 11px;
  border-color: var(--ted-amber);
  background: var(--ted-amber);
  box-shadow: 0 0 0 5px rgba(221, 179, 106, 0.12);
}

.topic-page .ti-time-date {
  grid-column: 1;
  color: var(--ted-cyan);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
}

.topic-page .ti-time-phase {
  grid-column: 2;
  justify-self: start;
  color: var(--ted-faint);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.topic-page .ti-time-node strong {
  grid-column: 2;
  color: var(--ted-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.topic-page .ti-time-node.is-now strong {
  font-size: 19px;
  color: var(--ted-amber);
}

.topic-page .ti-time-node p {
  grid-column: 2;
  margin: 0;
  max-width: 620px;
  color: var(--ted-muted);
  font-size: 14px;
  line-height: 1.72;
}

.topic-page .ti-time-node em {
  grid-column: 2;
  width: fit-content;
  color: var(--ted-faint);
}

/* ── 11. 关键参与者：安静网格 ──────────────────────────────────────────── */
.topic-page .ti-player-zone {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px 32px;
}

.topic-page .ti-player-zone h3 {
  grid-column: 1 / -1;
  margin-bottom: 22px;
}

.topic-page .ti-player-zone article {
  padding: 0;
  border: none;
  border-top: 1px solid var(--ted-line);
  background: none;
}

.topic-page .ti-player-zone strong {
  margin-top: 12px;
  color: var(--ted-ink);
  font-size: 14.5px;
  font-weight: 600;
}

.topic-page .ti-player-zone span {
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.topic-page .ti-player-zone p {
  margin: 7px 0 14px;
  color: var(--ted-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

/* ── 12. 证据与来源：安静列表，不喧宾夺主 ──────────────────────────────── */
.topic-page .ti-evidence-space {
  display: block;
}

.topic-page .ti-focus-state {
  margin-bottom: 8px;
  padding: 0;
  border: none;
  background: none;
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.topic-page .ti-evidence-groups {
  display: block;
  max-height: none;
  overflow: visible;
  padding: 0;
}

.topic-page .ti-signal-group {
  margin-bottom: 40px;
}

.topic-page .ti-signal-group-label {
  margin: 0 0 6px;
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.topic-page .ti-signal-row {
  padding: 18px 0 16px;
  border: none;
  border-bottom: 1px solid var(--ted-line);
  background: none;
  transition: none;
}

.topic-page .ti-signal-row.is-filtered-in {
  border: none;
  border-bottom: 1px solid var(--ted-line);
  background: var(--ted-surface);
  box-shadow: none;
}

.topic-page .ti-signal-row.is-filtered-in .ti-signal-title {
  color: var(--ted-accent);
}

.topic-page .ti-signal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 7px;
}

.topic-page .ti-signal-source {
  color: var(--ted-cyan);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
}

.topic-page .ti-signal-date,
.topic-page .ti-signal-type {
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

.topic-page .ti-signal-title {
  display: block;
  color: var(--ted-ink);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
}

.topic-page .ti-signal-fact {
  margin: 7px 0 0;
  max-width: 760px;
  color: var(--ted-body);
  font-size: 14px;
  line-height: 1.72;
}

.topic-page .ti-signal-contribution {
  margin: 6px 0 0;
  color: var(--ted-muted);
  font-size: 13px;
  line-height: 1.65;
}

.topic-page .ti-signal-contribution em {
  margin-right: 8px;
  color: var(--ted-faint);
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.topic-page .ti-signal-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
  margin-top: 10px;
}

.topic-page .ti-signal-weight {
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.topic-page .ti-signal-detail {
  margin-top: 10px;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  background: var(--ted-surface);
  color: var(--ted-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.topic-page .ti-signal-detail em {
  margin-right: 8px;
  color: var(--ted-cyan);
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
}

/* 证据内跳转按钮：inline text link，非 chip */
.topic-page .ti-focus-btn,
.topic-page .ti-signal-toggle {
  min-height: 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--ted-cyan);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  box-shadow: none;
  cursor: pointer;
}

.topic-page .ti-focus-btn:hover,
.topic-page .ti-signal-toggle:hover {
  border: none;
  color: var(--ted-accent);
}

/* 证据折叠交互 */
.topic-page .ti-evidence-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 0;
  border: none;
  background: none;
  color: var(--ted-accent);
  font-family: var(--sans);
  font-size: 13.5px;
  cursor: pointer;
}

.topic-page .ti-evidence-toggle::after {
  content: "↓";
  font-size: 12px;
}

.topic-page .ti-evidence-groups.is-collapsed ~ .ti-evidence-toggle::after {
  content: "↓";
}

.topic-page .ti-evidence-groups:not(.is-collapsed) ~ .ti-evidence-toggle::after {
  content: "↑";
}

.topic-page .ti-evidence-groups.is-collapsed .ti-signal-row.is-extra {
  display: none;
}

.topic-page .ti-evidence-groups.is-collapsed .ti-signal-group.is-filtered-out {
  display: none;
}

.topic-page .ti-evidence-groups.is-collapsed .ti-signal-row.is-filtered-in {
  display: block;
}

/* ── 13. AI 预测：紫色系 · 未来判断的独立视觉语言 ──────────────────────── */
.topic-page .ti-prediction-board {
  margin: 88px 0 0;
  padding: 0;
}

.topic-page .ti-prediction-board h3 {
  margin: 0 0 10px;
  color: var(--ted-ink);
  font-size: clamp(22px, 2.4vw, 27px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.topic-page .ti-prediction-board h3::before {
  content: "AI PREDICTION";
  display: block;
  margin-bottom: 12px;
  color: var(--ted-purple);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
}

.topic-page .ti-prediction-summary {
  margin: 0 0 30px;
  max-width: 680px;
  color: var(--ted-muted);
  font-size: 15px;
  line-height: 1.7;
}

.topic-page .ti-prediction-grid {
  display: grid;
  gap: 18px;
  max-width: 780px;
}

.topic-page .ti-prediction-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 22px 26px 22px 30px;
  border: none;
  border-left: 2px solid rgba(165, 161, 240, 0.5);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(165, 161, 240, 0.055), rgba(165, 161, 240, 0.012) 60%);
}

.topic-page .ti-prediction-card.ti-prediction-risk {
  border-left-color: rgba(221, 179, 106, 0.55);
  background: linear-gradient(90deg, rgba(221, 179, 106, 0.05), rgba(221, 179, 106, 0.01) 60%);
}

.topic-page .ti-prediction-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
}

.topic-page .ti-prediction-type {
  color: var(--ted-purple);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.topic-page .ti-prediction-card .ti-confidence {
  color: var(--ted-purple);
  opacity: 0.85;
  font-size: 12px;
}

.topic-page .ti-prediction-card strong {
  color: var(--ted-ink);
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.5;
}

.topic-page .ti-prediction-card p {
  margin: 0;
  color: var(--ted-muted);
  font-size: 14px;
  line-height: 1.72;
}

.topic-page .ti-prediction-card .ti-watch-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.topic-page .ti-prediction-card .ti-watch-foot em {
  padding: 0;
  border: none;
  background: none;
  color: var(--ted-purple);
  opacity: 0.75;
  font-family: var(--mono);
  font-size: 10.5px;
  font-style: normal;
}

.topic-page .ti-prediction-signals {
  display: grid;
  gap: 5px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--ted-line);
}

.topic-page .ti-prediction-signals span {
  color: var(--ted-faint);
  font-size: 12.5px;
  line-height: 1.6;
}

/* ── 14. 后续观察：安静编号清单 ────────────────────────────────────────── */
.topic-page .ti-next-watch {
  margin-top: 72px;
}

.topic-page .ti-next-watch > p {
  margin-bottom: 22px;
  color: var(--ted-amber);
  opacity: 0.8;
}

.topic-page .ti-watch-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 6px 18px;
  max-width: 720px;
  padding: 18px 0;
  border-top: 1px solid var(--ted-line);
}

.topic-page .ti-watch-card > span {
  grid-row: span 3;
  padding-top: 2px;
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.topic-page .ti-watch-card strong {
  color: var(--ted-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.topic-page .ti-watch-card p {
  margin: 0;
  color: var(--ted-muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.topic-page .ti-watch-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.topic-page .ti-watch-foot em {
  padding: 0;
  border: none;
  background: none;
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 10.5px;
  font-style: normal;
}

/* ── 15. 完整情报报告：商业转化大卡片（允许精致卡片）──────────────────── */
.topic-page .ti-final-report {
  max-width: 1140px;
  margin: 110px auto 0;
  padding: 48px 52px;
  border: 1px solid var(--ted-line-2);
  border-radius: 18px;
  background:
    radial-gradient(52% 120% at 88% -12%, rgba(221, 179, 106, 0.05), transparent 70%),
    var(--ted-surface-2);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
}

.topic-page .ti-report-label {
  color: var(--ted-amber);
  font-size: 10.5px;
  letter-spacing: 0.28em;
}

.topic-page .ti-report-title {
  margin: 14px 0 12px;
  color: var(--ted-ink);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.topic-page .ti-report-desc {
  margin: 0 0 30px;
  max-width: 640px;
  color: var(--ted-muted);
  font-size: 15px;
  line-height: 1.75;
}

.topic-page .ti-report-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 34px;
  padding: 22px 0;
  border-top: 1px solid var(--ted-line);
  border-bottom: 1px solid var(--ted-line);
}

.topic-page .ti-report-stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  min-width: 128px;
  padding: 0 36px 0 0;
  margin-right: 36px;
  border-right: 1px solid var(--ted-line);
}

.topic-page .ti-report-stat:last-child {
  border-right: none;
  margin-right: 0;
}

.topic-page .ti-report-stat strong {
  color: var(--ted-ink);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.topic-page .ti-report-stat em {
  color: var(--ted-faint);
  font-size: 11.5px;
  font-style: normal;
  letter-spacing: 0.06em;
}

.topic-page .ti-report-unlock-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.topic-page .deep-unlock-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  background: var(--ted-accent);
  color: #04120c;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: none;
  transition: filter 150ms ease, transform 150ms ease;
}

.topic-page .deep-unlock-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.topic-page .ti-report-cost {
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 12px;
}

.topic-page .ti-report-state {
  margin: 0;
  color: var(--ted-muted);
  font-size: 14.5px;
}

/* 报告已解锁：编辑部长文排版 */
.topic-page .ti-report-executive {
  margin: 26px 0 30px;
  max-width: 780px;
  padding: 0 0 0 24px;
  border: none;
  border-left: 2px solid var(--ted-amber);
  background: none;
  color: var(--ted-ink);
  font-size: 17.5px;
  font-weight: 500;
  line-height: 1.7;
}

.topic-page .ti-report-body {
  max-width: 780px;
}

.topic-page .ti-report-body p {
  margin: 0 0 18px;
  color: var(--ted-body);
  font-size: 15.5px;
  line-height: 1.88;
  text-align: left;
}

.topic-page .ti-report-block {
  margin: 44px 0 0;
  max-width: 780px;
  padding-top: 26px;
  border-top: 1px solid var(--ted-line);
}

.topic-page .ti-report-block h4 {
  margin: 0 0 16px;
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.topic-page .ti-report-point {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 0;
}

.topic-page .ti-report-point p {
  margin: 0;
  color: var(--ted-body);
  font-size: 15px;
  line-height: 1.72;
}

.topic-page .ti-report-point .ti-point-meta,
.topic-page .ti-report-point .ti-confidence {
  color: var(--ted-faint);
  font-size: 11px;
}

.topic-page .ti-report-foot {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--ted-line);
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* ── 16. 骨架屏：安静的呼吸等待 ────────────────────────────────────────── */
.topic-page .ti-skeleton {
  max-width: 1000px;
  margin: 60px auto 0;
  gap: 18px;
  padding: 0 8px;
}

.topic-page .ti-skeleton-title {
  color: var(--ted-ink);
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.02em;
}

.topic-page .ti-skel-line {
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(237, 247, 242, 0.05), rgba(237, 247, 242, 0.1), rgba(237, 247, 242, 0.05));
  background-size: 200% 100%;
}

.topic-page .ti-skel-block {
  border: none;
  border-radius: 12px;
  background: var(--ted-surface);
}

.topic-page .ti-skeleton-note {
  color: var(--ted-faint);
  font-size: 13px;
  line-height: 1.7;
}

/* ── 17. 响应式：移动端正文优先，单栏 ─────────────────────────────────── */
@media (max-width: 1080px) {
  .topic-page .ti-analysis-space {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .topic-page .ti-analysis-space .ti-space-head {
    position: static;
  }
}

@media (max-width: 720px) {
  .topic-page .topic-shell {
    width: min(var(--page-max), calc(100vw - var(--page-gutter)));
    padding: 12px 0 64px;
  }

  .topic-page .ti-board-nav {
    gap: 4px 18px;
    margin-top: 14px;
  }

  .topic-page .ti-space {
    margin-top: 64px;
    padding: 0 2px;
  }

  .topic-page .ti-space-head {
    margin-bottom: 30px;
  }

  .topic-page .ti-situation {
    padding-top: 16px;
  }

  .topic-page .ti-situation h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .topic-page .ti-situation-summary {
    font-size: 15px;
  }

  .topic-page .ti-hud-strip {
    flex-wrap: wrap;
  }

  .topic-page .ti-hud-strip span {
    min-width: calc(50% - 20px);
    margin-right: 0;
    padding-right: 12px;
    margin-bottom: 16px;
  }

  .topic-page .ti-situation-side {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 40px;
    padding-top: 32px;
  }

  .topic-page .ti-narrative-para.ti-narrative-change > p:last-child {
    font-size: 17.5px;
  }

  .topic-page .ti-analysis-flow {
    gap: 32px;
  }

  .topic-page .ti-time-node {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-left: 24px;
  }

  .topic-page .ti-time-date,
  .topic-page .ti-time-phase,
  .topic-page .ti-time-node strong,
  .topic-page .ti-time-node p,
  .topic-page .ti-time-node em {
    grid-column: 1;
  }

  .topic-page .ti-final-report {
    margin: 72px auto 0;
    padding: 30px 24px;
  }

  .topic-page .ti-report-stat {
    min-width: calc(50% - 20px);
    margin-bottom: 18px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Topic Intelligence · Editorial v4 — Demo Layout Adaptation
   参考 demo 骨架：面包屑 + 大卡片 Hero（左右分区）+ 吸顶分区导航 +
   双栏 content-grid（主列编号分区 + 侧栏数据卡）+ 渐变报告 CTA。
   数据逻辑零改动；仅布局/排版/视觉。
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── A. 版心与顶栏 ── */
.topic-page .topic-shell {
  width: min(var(--page-max), calc(100vw - var(--page-gutter)));
}

.topic-page .topic-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  height: 72px;
  padding: 0 2px;
  background: rgba(7, 17, 15, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--ted-line);
}

.topic-page .ti-breadcrumbs {
  color: var(--ted-faint);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 22px 0 12px;
}

/* ── B. Hero 大卡片 ── */
.topic-page .ti-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 410px;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--ted-line-2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 75% 30%, rgba(63, 214, 143, 0.08), transparent 20%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.008));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.topic-page .ti-hero-main {
  position: relative;
  min-width: 0;
  padding: 42px 42px 34px;
}

.topic-page .ti-eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ted-faint);
  font-size: 12px;
}

.topic-page .ti-eyebrow-pill {
  padding: 6px 10px;
  border: 1px solid rgba(63, 214, 143, 0.28);
  border-radius: 999px;
  background: rgba(63, 214, 143, 0.08);
  color: #7ff0c8;
  font-size: 11px;
}

.topic-page .ti-hero-title {
  max-width: 950px;
  margin: 24px 0 14px;
  color: var(--ted-ink);
  font-size: clamp(44px, 5vw, 78px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.topic-page .ti-hero-subtitle {
  max-width: 860px;
  margin: 0 0 14px;
  color: #d6fff1;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.topic-page .ti-hero-summary {
  max-width: 820px;
  margin: 0;
  color: var(--ted-body);
  font-size: 16px;
  line-height: 1.8;
}

.topic-page .ti-hero-visual {
  position: absolute;
  right: 14px;
  bottom: -46px;
  width: 480px;
  height: 290px;
  opacity: 0.25;
  pointer-events: none;
}

.topic-page .ti-hud-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 0;
  max-width: none;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--ted-line);
  border-bottom: 1px solid var(--ted-line);
}

.topic-page .ti-hud-metric {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  gap: 7px;
  padding: 18px 18px 16px 0;
  border: none;
  background: none;
}

.topic-page .ti-hud-metric:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22%;
  height: 56%;
  width: 1px;
  background: var(--ted-line);
}

.topic-page .ti-hud-metric strong {
  color: var(--ted-accent);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.topic-page .ti-hud-metric span {
  color: var(--ted-muted);
  font-size: 12px;
}

.topic-page .ti-hud-momentum strong { color: var(--ted-accent); font-size: 20px; letter-spacing: 0; }
.topic-page .ti-hud-momentum.ti-momentum-down strong { color: var(--ted-amber); }
.topic-page .ti-hud-momentum.ti-momentum-flat strong { color: var(--ted-cyan); font-size: 18px; }

.topic-page .ti-hero-meta {
  margin-top: 14px;
  color: var(--ted-faint);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.topic-page .ti-hero-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  margin: 28px 28px 28px 0;
  padding: 30px;
  border: none;
  border-left: 1px solid var(--ted-line);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.006));
}

.topic-page .ti-hero-block + .ti-hero-block {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--ted-line);
}

.topic-page .ti-hero-block-label {
  color: var(--ted-cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.topic-page .ti-hero-block-label.ti-hero-block-amber { color: var(--ted-amber); }

.topic-page .ti-hero-block-title {
  margin: 12px 0 10px;
  color: var(--ted-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.topic-page .ti-hero-block-text {
  color: #a9bbb5;
  font-size: 14px;
  line-height: 1.7;
}

.topic-page a.ti-hero-block-link[href] {
  display: inline-block;
  margin-top: 10px;
  color: var(--ted-accent);
  font-size: 13px;
}

/* ── C. 吸顶分区导航 ── */
.topic-page .ti-board-nav {
  position: sticky;
  top: 72px;
  z-index: 40;
  display: flex;
  gap: 26px;
  align-items: center;
  max-width: none;
  height: 58px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--ted-line);
  background: rgba(7, 17, 15, 0.9);
  backdrop-filter: blur(16px);
  scrollbar-width: none;
}

.topic-page .ti-board-nav::-webkit-scrollbar { display: none; }

.topic-page .ti-board-nav a,
.topic-page .ti-clear-filter {
  min-height: 0;
  padding: 0;
  white-space: nowrap;
  color: #93a69f;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.topic-page .ti-board-nav a:hover { color: #fff; }

.topic-page .ti-board-nav a.active { color: #fff; }

.topic-page .ti-board-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 2px;
  background: var(--ted-accent);
}

.topic-page .ti-clear-filter { color: var(--ted-amber); font-size: 12px; }

/* ── D. 双栏内容区 ── */
.topic-page .ti-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  margin-top: 42px;
  max-width: none;
}

.topic-page .ti-maincol { min-width: 0; }
.topic-page .ti-sidecol { min-width: 0; align-self: start; }

.topic-page .ti-sec {
  padding: 10px 0 56px;
  border-bottom: 1px solid var(--ted-line);
}

.topic-page .ti-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.topic-page .ti-sec-num {
  color: var(--ted-cyan);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.topic-page .ti-sec-title {
  margin: 3px 0 0;
  color: var(--ted-ink);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.topic-page .ti-sec-sub {
  margin: 6px 0 0;
  color: var(--ted-muted);
  font-size: 14px;
}

.topic-page .ti-sec-link {
  color: var(--ted-accent);
  font-size: 13px;
  white-space: nowrap;
}

/* ── E. 核心叙事 ── */
.topic-page .ti-narrative-headline {
  margin: 0 0 18px;
  color: var(--ted-muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.topic-page .ti-narrative-flow {
  display: grid;
  gap: 16px;
  max-width: 860px;
}

.topic-page .ti-narrative-para {
  display: grid;
  gap: 8px;
  padding: 0;
  border: none;
  background: none;
}

.topic-page .ti-narrative-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.topic-page .ti-narrative-kind {
  padding: 0;
  border: none;
  background: none;
  color: var(--ted-cyan);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
}

.topic-page .ti-narrative-para > p:last-child {
  margin: 0;
  max-width: 860px;
  color: #c8d7d2;
  font-size: 17px;
  line-height: 1.8;
}

.topic-page .ti-pullquote {
  margin: 26px 0 4px;
  max-width: 860px;
  padding: 24px 26px;
  border: none;
  border-left: 3px solid var(--ted-accent);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(63, 214, 143, 0.08), transparent);
  color: #eafff8;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.topic-page .ti-narrative-foot {
  margin-top: 22px;
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}

/* ── F. 逻辑脉络：横向箭头流 ── */
.topic-page .ti-logic-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.topic-page .ti-logic-item {
  position: relative;
  display: grid;
  align-content: start;
  padding: 18px 18px 16px 20px;
  border: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  color: inherit;
  text-align: left;
  transition: background 160ms ease;
}

.topic-page .ti-logic-item:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: #3de9b3;
  font-size: 20px;
  z-index: 2;
}

.topic-page .ti-logic-item:hover { background: rgba(255, 255, 255, 0.05); }
.topic-page .ti-logic-item:hover strong { color: var(--ted-accent); }

.topic-page .ti-logic-kicker {
  color: var(--ted-muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.topic-page .ti-logic-item strong {
  display: block;
  margin-top: 8px;
  color: var(--ted-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.topic-page .ti-logic-item p {
  margin: 8px 0 0;
  color: #8fa59e;
  font-size: 12.5px;
  line-height: 1.6;
}

.topic-page .ti-logic-item .ti-thread-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 10px;
}

.topic-page .ti-logic-item .ti-thread-foot em {
  padding: 0;
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 10.5px;
  font-style: normal;
}

/* ── G. 时间线：横向点轨 ── */
.topic-page .ti-time-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px;
  padding-top: 30px;
}

.topic-page .ti-time-rail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 41px;
  height: 1px;
  background: linear-gradient(90deg, #30453f, var(--ted-accent));
}

.topic-page .ti-time-item {
  position: relative;
  display: block;
  padding: 28px 0 0;
  border: none;
  background: none;
  color: inherit;
  text-align: left;
}

.topic-page .ti-time-item::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #687f77;
  border: 2px solid #0a1512;
  box-shadow: none;
}

.topic-page .ti-time-item.is-now::before {
  top: 1px;
  background: var(--ted-accent);
  box-shadow: 0 0 0 6px rgba(63, 214, 143, 0.12);
}

.topic-page .ti-time-item:hover { border: none; background: none; }
.topic-page .ti-time-item:hover .ti-time-title { color: var(--ted-accent); }

.topic-page .ti-time-date {
  display: block;
  color: #89a098;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.topic-page .ti-time-item.is-now .ti-time-date { color: var(--ted-accent); }

.topic-page .ti-time-title {
  display: block;
  margin-top: 5px;
  color: var(--ted-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.topic-page .ti-time-item.is-now .ti-time-title { font-size: 17px; }

.topic-page .ti-time-desc {
  display: block;
  margin-top: 5px;
  color: #879b94;
  font-size: 12.5px;
  line-height: 1.6;
}

.topic-page .ti-time-count {
  display: inline-block;
  margin-top: 8px;
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 10.5px;
  font-style: normal;
  letter-spacing: 0.05em;
}

/* ── H. 子话题 + 分析卡 + 预测 ── */
.topic-page .ti-subtopic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.topic-page .ti-subtopic-card {
  display: grid;
  gap: 7px;
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  text-align: left;
}

.topic-page .ti-subtopic-card:hover { border-color: rgba(63, 214, 143, 0.4); }

.topic-page .ti-subtopic-kicker {
  color: var(--ted-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.topic-page .ti-subtopic-card strong {
  color: var(--ted-ink);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
}

.topic-page .ti-subtopic-card p {
  margin: 0;
  color: #8ea09a;
  font-size: 12.5px;
  line-height: 1.6;
}

.topic-page .ti-subtopic-meta {
  color: var(--ted-faint);
  font-size: 11px;
}

.topic-page .ti-analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.topic-page .ti-analysis-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012));
}

.topic-page .ti-analysis-icon {
  margin-bottom: 12px;
  color: var(--ted-accent);
  font-size: 18px;
}

.topic-page .ti-analysis-card h3 {
  margin: 0 0 8px;
  color: var(--ted-ink);
  font-size: 17px;
  font-weight: 700;
}

.topic-page .ti-analysis-card .ti-analysis-point {
  display: grid;
  gap: 5px;
  margin-bottom: 10px;
  padding: 0;
  border: none;
  background: none;
}

.topic-page .ti-analysis-card .ti-analysis-point:last-child { margin-bottom: 0; }

.topic-page .ti-analysis-card .ti-analysis-point p {
  margin: 0;
  color: #9fb1ab;
  font-size: 14px;
  line-height: 1.7;
}

.topic-page .ti-analysis-card .ti-point-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}

.topic-page .ti-prediction {
  display: grid;
  gap: 18px;
}

/* 总体预测主结论卡：整个模块最醒目的内容 */
.topic-page .ti-prediction-overview {
  padding: 26px 28px;
  border: 1px solid rgba(169, 140, 255, 0.28);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(169, 140, 255, 0.10), rgba(169, 140, 255, 0.02));
}

.topic-page .ti-prediction-tag {
  color: #c1afff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.topic-page .ti-prediction-overview-summary {
  margin: 12px 0 14px;
  max-width: 820px;
  color: #f1edff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

.topic-page .ti-prediction-overview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  color: var(--ted-muted);
  font-size: 12.5px;
}

.topic-page .ti-prediction-overview-meta b {
  color: #d9d0ff;
  font-weight: 600;
}

/* 预测卡列表：单列纵向，节奏统一 */
.topic-page .ti-prediction-cards {
  display: grid;
  gap: 16px;
}

.topic-page .ti-pred-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 2px solid rgba(169, 140, 255, 0.55);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(169, 140, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: transform 180ms ease, border-color 180ms ease;
}

.topic-page .ti-pred-card.ti-prediction-risk {
  border-left-color: rgba(221, 179, 106, 0.6);
  background: linear-gradient(145deg, rgba(221, 179, 106, 0.045), rgba(255, 255, 255, 0.015));
}

.topic-page .ti-pred-card:hover {
  transform: translateY(-2px);
  border-color: rgba(169, 140, 255, 0.4);
  border-left-color: rgba(169, 140, 255, 0.85);
}

.topic-page .ti-pred-card.ti-prediction-risk:hover {
  border-color: rgba(221, 179, 106, 0.45);
  border-left-color: rgba(221, 179, 106, 0.85);
}

.topic-page .ti-pred-card-type {
  color: #c1afff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.topic-page .ti-pred-card.ti-prediction-risk .ti-pred-card-type { color: var(--ted-amber); }

/* 预测标题：卡内第一层级，最显眼 */
.topic-page .ti-pred-card-statement {
  margin: 0;
  color: var(--ted-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

/* 元信息：概率/观察期/关联信号，值用紫强调 */
.topic-page .ti-pred-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  color: var(--ted-faint);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.topic-page .ti-pred-card-meta b {
  color: #c1afff;
  font-weight: 600;
}

.topic-page .ti-pred-card.ti-prediction-risk .ti-pred-card-meta b { color: var(--ted-amber); }

/* 判断依据 / 验证条件：次级区块，统一小节头 */
.topic-page .ti-pred-card-section {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--ted-line);
}

.topic-page .ti-pred-card-section h5 {
  margin: 0;
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.topic-page .ti-pred-card-section p {
  margin: 0;
  color: #b9c9c4;
  font-size: 14px;
  line-height: 1.75;
}

.topic-page .ti-pred-card-section ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-page .ti-pred-card-section li {
  color: var(--ted-muted);
  font-size: 13px;
  line-height: 1.6;
}

.topic-page .ti-pred-card-section li::before {
  content: "▸ ";
  color: #c1afff;
  font-size: 11px;
}

.topic-page .ti-pred-card.ti-prediction-risk .ti-pred-card-section li::before { color: var(--ted-amber); }

.topic-page .ti-pred-card > .ti-focus-btn {
  justify-self: start;
}

/* ── I. 证据与来源：双列卡片 ── */
.topic-page .ti-evidence-groups {
  display: block;
  max-height: none;
  overflow: visible;
  padding: 0;
}

.topic-page .ti-signal-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.topic-page .ti-signal-group-label {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  color: var(--ted-muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.topic-page .ti-signal-group .ti-signal-row {
  gap: 0;
  margin-bottom: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  transition: none;
}

.topic-page .ti-signal-row.is-filtered-in {
  border-color: rgba(63, 214, 143, 0.45);
  background: rgba(63, 214, 143, 0.04);
  box-shadow: none;
}

.topic-page .ti-signal-row.is-filtered-in .ti-signal-title { color: var(--ted-accent); }

.topic-page .ti-signal-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 8px;
}

.topic-page .ti-signal-source {
  color: #7f958e;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.topic-page .ti-signal-date,
.topic-page .ti-signal-type {
  color: #7f958e;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.topic-page .ti-signal-title {
  display: block;
  color: var(--ted-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.topic-page .ti-signal-fact {
  margin: 7px 0 0;
  color: #8ea09a;
  font-size: 12.5px;
  line-height: 1.65;
}

.topic-page .ti-signal-contribution {
  margin: 6px 0 0;
  color: var(--ted-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.topic-page .ti-signal-contribution em {
  margin-right: 8px;
  color: var(--ted-faint);
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.topic-page .ti-signal-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  margin-top: 10px;
}

.topic-page .ti-signal-weight {
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.topic-page .ti-signal-detail {
  margin-top: 10px;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.topic-page .ti-signal-detail em {
  margin-right: 8px;
  color: var(--ted-cyan);
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
}

.topic-page .ti-evidence-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 0;
  border: none;
  background: none;
  color: var(--ted-accent);
  font-family: var(--sans);
  font-size: 13px;
  cursor: pointer;
}

.topic-page .ti-evidence-groups.is-collapsed .ti-signal-row.is-extra { display: none; }
.topic-page .ti-evidence-groups.is-collapsed .ti-signal-group.is-filtered-out { display: none; }
.topic-page .ti-evidence-groups.is-collapsed .ti-signal-row.is-filtered-in { display: block; }

/* ── J. 后续观察 ── */
.topic-page .ti-watch-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.topic-page .ti-watch-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 5px 14px;
  padding: 12px 14px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.topic-page .ti-watch-card > span {
  grid-row: span 3;
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.topic-page .ti-watch-card strong { color: var(--ted-ink); font-size: 14px; }

.topic-page .ti-watch-card p {
  margin: 0;
  color: var(--ted-muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.topic-page .ti-watch-foot { display: flex; flex-wrap: wrap; gap: 4px 14px; }

.topic-page .ti-watch-foot em {
  padding: 0;
  border: none;
  background: none;
  color: var(--ted-amber);
  opacity: 0.8;
  font-family: var(--mono);
  font-size: 10.5px;
  font-style: normal;
}

/* ── K. 侧栏数据卡 ── */
.topic-page .ti-side-card {
  margin-bottom: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.topic-page .ti-side-card h3 {
  margin: 0 0 16px;
  color: #dce8e3;
  font-size: 14px;
  font-weight: 700;
}

.topic-page .ti-people { display: grid; gap: 12px; }

.topic-page .ti-person {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.topic-page .ti-person:hover strong { color: var(--ted-accent); }

.topic-page .ti-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, #b5e678, #709456);
  color: #102019;
  font-weight: 800;
  font-size: 14px;
}

.topic-page .ti-person-info strong { display: block; color: var(--ted-ink); font-size: 13px; }
.topic-page .ti-person-info small { display: block; color: #6f837d; font-size: 11px; line-height: 1.4; }

.topic-page .ti-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.topic-page .ti-tags span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(127, 201, 221, 0.06);
  color: #8edff4;
  font-size: 11px;
}

.topic-page .ti-side-rows { display: grid; gap: 6px; }

.topic-page .ti-side-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 9px 10px;
  border: none;
  border-radius: 10px;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.topic-page .ti-side-row:hover { background: rgba(255, 255, 255, 0.03); }
.topic-page .ti-side-row:hover span { color: var(--ted-accent); }

.topic-page .ti-side-row span { color: var(--ted-body); font-size: 12.5px; }
.topic-page .ti-side-row b { color: var(--ted-cyan); font-size: 11px; font-weight: 600; }

/* ── L. 完整报告 CTA：渐变绿大卡 ── */
.topic-page .ti-final-report {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr;
  gap: 26px;
  align-items: center;
  max-width: none;
  margin: 52px 0 0;
  padding: 28px;
  border: 1px solid rgba(63, 214, 143, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 50%, rgba(63, 214, 143, 0.13), transparent 28%),
    linear-gradient(135deg, rgba(63, 214, 143, 0.10), rgba(255, 255, 255, 0.018));
  box-shadow: none;
}

.topic-page .ti-report-label {
  color: #7ff0c8;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.topic-page .ti-report-title {
  margin: 10px 0 8px;
  color: var(--ted-ink);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.topic-page .ti-report-desc {
  margin: 0 0 16px;
  max-width: 620px;
  color: #aabcb5;
  font-size: 14px;
  line-height: 1.7;
}

.topic-page .ti-report-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  border: none;
  color: #8ea19a;
  font-size: 12px;
}

.topic-page .ti-report-stat {
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: none;
}

.topic-page .ti-report-stat strong { color: #d6fff1; font-size: 13px; font-weight: 800; }
.topic-page .ti-report-stat em { color: #8ea19a; font-size: 12px; font-style: normal; }

.topic-page .ti-report-unlock-row { justify-self: end; }
.topic-page .ti-report-cost { display: none; }

.topic-page .deep-unlock-btn {
  display: inline-grid;
  place-items: center;
  gap: 4px;
  min-height: 0;
  padding: 16px 38px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #1df0b0, #20cfa0);
  color: #052017;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(29, 240, 176, 0.18);
  transition: filter 150ms ease, transform 150ms ease;
}

.topic-page .deep-unlock-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }

.topic-page .deep-unlock-btn .unlock-hand,
.topic-page .deep-unlock-btn .cs-crystal { display: none; }

.topic-page .deep-unlock-btn::after {
  content: "消耗 15 CS";
  font-size: 12px;
  font-weight: 700;
  opacity: 0.75;
}

/* 已解锁态：入口按钮不显示价格 */
.topic-page .deep-unlock-btn.is-view::after { content: none; }

/* 独立报告页 */
body.report-page .topic-shell {
  width: min(var(--page-max-reading), calc(100vw - var(--page-gutter)));
  max-width: 100%;
}

.report-page .ti-focus-btn { display: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   Topic Observe Cards — 话题观测卡片列表（仅 rebuild 视图作用域）
   定位：未来感情报平台 · 高级科技情报产品 — 深色/克制/辉光/现代/精致
   只影响话题观测视图；graph/custom/futuremap 与其他页面不受影响。
   ═══════════════════════════════════════════════════════════════════════════ */

/* 顶部：页面标题区 + 隐藏旧英文表头 */
.topic-observe-view .topic-feed-head {
  display: none;
}

.topic-observe-view .topic-observe-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto 22px;
  padding: 10px 4px 18px;
  border-bottom: 1px solid rgba(237, 247, 242, 0.07);
}

.topic-observe-view .topic-observe-head h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.topic-observe-view .topic-observe-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}

.topic-observe-view .topic-observe-count {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* 流容器：居中编辑部宽度（flex column，卡片按内容自然生长） */
.topic-observe-view .topic-stream.rebuild-mode {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2px 28px;
  overflow: visible;
  border: none;
  background: none;
}

/* ── 卡片：封面 + 主体 + 侧栏 ──
   三区栅格：封面固定 / 内容自适应 / 热度侧栏 clamp（窄屏 180px 保底，
   宽屏长到 240px 给 sparkline 足够横向读数空间）。
   封面列 128px：真实配图按 3:4 固定比例裁切，宽度足够读出画面主体。 */
.topic-observe-view .topic-rebuild-row {
  position: relative;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) clamp(180px, 28%, 240px);
  gap: 18px;
  align-items: stretch;
  min-height: 148px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(237, 247, 242, 0.07);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.012));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.topic-observe-view .topic-rebuild-row:hover:not(.gesture-dragging):not(.gesture-left):not(.gesture-right):not(.swipe-archive-exit):not(.swipe-phase2-exit) {
  transform: translateY(-3px);
  border-color: rgba(63, 214, 143, 0.34);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.3),
    0 0 34px rgba(63, 214, 143, 0.08);
}

/* 旧系统残留的 INTEL BOARD 英文标签：观测视图中移除 */
.topic-observe-view .topic-rebuild-row.has-intelligence::before {
  content: none;
}

/* 首条重点卡：更亮的边 + 顶部光带 */
.topic-observe-view .topic-rebuild-row.is-lead {
  border-color: rgba(63, 214, 143, 0.26);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.24),
    0 0 28px rgba(63, 214, 143, 0.07);
}

.topic-observe-view .topic-rebuild-row.is-lead::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(63, 214, 143, 0.55), transparent);
}

/* 封面：素材库真实配图叠在程序化 SVG 之上
   （素材缺失/加载失败时 img 被移除，露出底层 SVG，不会出现破图） */
.topic-observe-view .topic-cover {
  position: relative;
  /* 统一 3:4 固定比例，顶部对齐：所有卡片封面尺寸完全一致 */
  aspect-ratio: 3 / 4;
  align-self: start;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.topic-observe-view .topic-cover-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  /* 未加载完成时 img 自身先铺深色底，避免透出下层几何占位图（加载中看到占位图＝用户以为没接入素材） */
  background: rgba(6, 16, 14, 0.92);
  /* 收敛到卡片色调：略降饱和 + 轻压暗，避免真实照片比页面更亮更艳 */
  filter: saturate(0.72) contrast(1.02) brightness(0.88);
  transition: transform 320ms ease, filter 320ms ease;
}

/* 深色遮罩：保证右上角状态点/时间与卡片底色衔接自然 */
.topic-observe-view .topic-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 10, 9, 0.14) 0%, rgba(3, 10, 9, 0.34) 62%, rgba(3, 10, 9, 0.72) 100%),
    linear-gradient(90deg, rgba(3, 10, 9, 0.34), rgba(3, 10, 9, 0) 46%, rgba(3, 10, 9, 0.26)),
    radial-gradient(circle at 72% 14%, rgba(63, 214, 143, 0.12), transparent 62%);
}

.topic-observe-view .topic-rebuild-row:hover .topic-cover-img {
  transform: scale(1.06);
  filter: saturate(0.82) contrast(1.03) brightness(0.96);
}

.topic-observe-view .topic-cover-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 320ms ease;
}

.topic-observe-view .topic-rebuild-row:hover .topic-cover-art {
  transform: scale(1.06);
}

/* ── 管理员封面人工修正：hover 入口 + 轻面板 ──
   入口只对管理员渲染（app.js 里 accessState.isAdmin 才产出按钮），普通用户 DOM 里没有。 */
.topic-observe-view .topic-cover-admin-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid rgba(63, 214, 143, 0.42);
  border-radius: 8px;
  background: rgba(6, 16, 14, 0.78);
  color: #7ff0c8;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, background 160ms ease;
}

.topic-observe-view .topic-cover.is-admin:hover .topic-cover-admin-btn,
.topic-observe-view .topic-cover.is-admin-open .topic-cover-admin-btn,
.topic-observe-view .topic-cover-admin-btn:focus-visible {
  opacity: 1;
  pointer-events: auto;
}

.topic-observe-view .topic-cover-admin-btn:hover {
  background: rgba(12, 32, 27, 0.95);
}

/* 轻面板：挂在 body 上（封面容器 overflow:hidden，放里面会被裁掉） */
.topic-cover-admin-panel {
  position: fixed;
  z-index: 96;
  width: 268px;
  padding: 12px;
  border: 1px solid rgba(63, 214, 143, 0.26);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(9, 20, 18, 0.99), rgba(6, 14, 13, 0.99));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.52);
  color: #d6fff1;
  font-size: 12px;
}

.topic-cover-admin-panel header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.topic-cover-admin-panel header b {
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.topic-cover-admin-subject {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #8ea19a;
  font-style: normal;
}

.topic-cover-admin-close {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: transparent;
  color: #9fb3ac;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.topic-cover-admin-close:hover {
  color: #d6fff1;
  border-color: rgba(63, 214, 143, 0.4);
}

.topic-cover-admin-actions {
  display: grid;
  gap: 6px;
}

.topic-cover-admin-actions button,
.topic-cover-admin-category button {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid rgba(63, 214, 143, 0.24);
  border-radius: 9px;
  background: rgba(63, 214, 143, 0.08);
  color: #cbf7e5;
  font-size: 12px;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}

.topic-cover-admin-actions button:hover,
.topic-cover-admin-category button:hover {
  background: rgba(63, 214, 143, 0.16);
  border-color: rgba(63, 214, 143, 0.45);
}

.topic-cover-admin-category {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.topic-cover-admin-category input {
  width: 100%;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background: rgba(4, 11, 10, 0.9);
  color: #e6fff6;
  font-size: 12px;
  font-family: inherit;
}

.topic-cover-admin-category input::placeholder {
  color: #6d817a;
}

.topic-cover-admin-category input:focus {
  outline: none;
  border-color: rgba(63, 214, 143, 0.5);
}

.topic-cover-admin-status {
  margin: 8px 0 0;
  min-height: 14px;
  color: #8ea19a;
  line-height: 1.5;
}

.topic-cover-admin-status.is-error {
  color: #ff9d9d;
}

.topic-cover-admin-panel[data-busy="true"] button {
  opacity: 0.55;
  pointer-events: none;
}

/* 主体：标签 → 标题 → 摘要 → 看点 → 指标 */
.topic-observe-view .topic-rebuild-main {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 2px 0;
}

.topic-observe-view .topic-rebuild-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  /* 纵向 kicker 栈：2 枚与 3 枚均为同一高度，卡片栅格不因标签数量抖动 */
  min-height: 44px;
}

.topic-observe-view .topic-rebuild-tags span {
  padding: 0;
  border: none;
  background: none;
  color: var(--cyan);
  opacity: 0.8;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
}

.topic-observe-view .topic-rebuild-tags em {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10.5px;
  font-style: normal;
  letter-spacing: 0.06em;
}

.topic-observe-view .topic-rebuild-title strong {
  display: -webkit-box;
  min-height: 2.8em;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.topic-observe-view .topic-rebuild-summary {
  margin: 0;
  min-height: 3.4em;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.topic-observe-view .topic-watch-angles {
  margin: 0;
  min-height: 1.6em;
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.6;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 无看点时保留同高占位行：正文槽位高度对所有卡片一致 */
.topic-observe-view .topic-watch-angles.is-empty {
  border: none;
}

.topic-observe-view .topic-watch-angles span {
  color: var(--muted);
}

.topic-observe-view .topic-watch-angles i {
  margin: 0 9px;
  color: rgba(63, 214, 143, 0.55);
  font-style: normal;
}

/* 底部指标：inline metadata，无 chip 边框 */
.topic-observe-view .topic-rebuild-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(237, 247, 242, 0.06);
}

.topic-observe-view .topic-rebuild-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* 指标图标：统一来源（Lucide 内联 path），统一尺寸与描边重量 */
.topic-observe-view .topic-metric-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  color: rgba(150, 175, 195, 0.72);
}

.topic-observe-view .topic-metric-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

/* 颜色层级：低饱和、克制，四枚不同色相但同一亮度带 */
.topic-observe-view .topic-metric.is-trend .topic-metric-icon { color: rgba(92, 205, 220, 0.78); }
.topic-observe-view .topic-metric.is-trend.topic-momentum-up .topic-metric-icon { color: rgba(92, 218, 165, 0.9); }
.topic-observe-view .topic-metric.is-trend.topic-momentum-down .topic-metric-icon { color: rgba(228, 182, 108, 0.88); }
.topic-observe-view .topic-metric.is-heat .topic-metric-icon { color: rgba(232, 162, 96, 0.88); }
.topic-observe-view .topic-metric.is-importance .topic-metric-icon { color: rgba(116, 186, 232, 0.82); }
.topic-observe-view .topic-metric.is-signal .topic-metric-icon { color: rgba(150, 175, 195, 0.72); }

.topic-observe-view .topic-rebuild-meta b {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.topic-observe-view .topic-rebuild-meta em {
  color: var(--faint);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.topic-observe-view .topic-rebuild-meta .topic-metric.is-trend b {
  font-size: 12.5px;
}

.topic-observe-view .topic-momentum-up b { color: var(--green); }
.topic-observe-view .topic-momentum-flat b { color: var(--cyan); }
.topic-observe-view .topic-momentum-down b { color: var(--amber); }

/* 侧栏：状态 + 热度模块（数值/微图表/变化）+ CTA */
.topic-observe-view .topic-rebuild-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 0;
}

.topic-observe-view .topic-rebuild-state {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.topic-observe-view .topic-state-pill {
  padding: 3px 10px;
  border: 1px solid rgba(237, 247, 242, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.topic-observe-view .topic-state-pill.is-hot {
  border-color: rgba(63, 214, 143, 0.35);
  background: rgba(63, 214, 143, 0.08);
  color: #7ff0c8;
}

.topic-observe-view .topic-rebuild-state em {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10.5px;
  font-style: normal;
}

/* 热度模块：标签 / 数值+趋势 / 微图表 / 变化说明 —— 四段固定高度，
   所有卡片的热度数字、sparkline、CTA 因此落在同一水平线上 */
.topic-observe-view .topic-heat-module {
  display: grid;
  width: 100%;
  gap: 5px;
  padding: 0;
  border: none;
  background: none;
  cursor: default;
}

.topic-observe-view .topic-heat-label {
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.topic-observe-view .topic-heat-figure {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.topic-observe-view .topic-heat-figure strong {
  color: var(--green);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.topic-observe-view .topic-heat-trend {
  display: inline-flex;
  align-items: center;
  color: rgba(92, 218, 165, 0.9);
}

.topic-observe-view .topic-heat-trend.is-down { color: rgba(228, 182, 108, 0.9); }
.topic-observe-view .topic-heat-trend.is-flat { color: rgba(92, 205, 220, 0.8); }

.topic-observe-view .topic-heat-trend-icon svg {
  display: block;
  width: 15px;
  height: 15px;
}

/* ── Sparkline ── */
.topic-observe-view .topic-heat-spark {
  position: relative;
  height: 36px;
  margin-top: 3px;
}

.topic-observe-view .topic-sparkline {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* 折线：青绿主色，1.8px 圆滑走向（non-scaling-stroke 保证不被横向拉伸变粗） */
.topic-observe-view .sparkline-line {
  fill: none;
  stroke: #3fd68f;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 折线下方渐变面积：青绿 12% → 透明 */
.topic-observe-view .sparkline-area {
  stroke: none;
}

/* 末点：当前值标记，微弱 glow */
.topic-observe-view .sparkline-endpoint {
  position: absolute;
  left: var(--spark-end-x, 100%);
  top: var(--spark-end-y, 50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8ff5cd;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 3px rgba(63, 214, 143, 0.14),
    0 0 10px rgba(63, 214, 143, 0.5);
  transition: box-shadow 200ms ease;
}

.topic-observe-view .topic-rebuild-row:hover .sparkline-endpoint {
  box-shadow:
    0 0 0 4px rgba(63, 214, 143, 0.18),
    0 0 14px rgba(63, 214, 143, 0.62);
}

/* 无历史序列：弱化虚线基准，不表达任何走势 */
.topic-observe-view .spark-await-line {
  fill: none;
  stroke: rgba(232, 255, 247, 0.1);
  stroke-width: 1.2;
  stroke-dasharray: 4 5;
  stroke-linecap: round;
}

.topic-observe-view .topic-heat-delta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.topic-observe-view .topic-heat-delta.is-awaiting { color: rgba(232, 255, 247, 0.26); }
.topic-observe-view .topic-heat-delta.is-up { color: rgba(92, 218, 165, 0.9); }
.topic-observe-view .topic-heat-delta.is-down { color: rgba(228, 182, 108, 0.9); }

/* 主 CTA：进入情报空间 */
.topic-observe-view .topic-enter-btn {
  margin-top: auto;
  min-height: 0;
  padding: 9px 16px;
  border: 1px solid rgba(63, 214, 143, 0.42);
  border-radius: 999px;
  background: rgba(63, 214, 143, 0.1);
  color: #7ff0c8;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.topic-observe-view .topic-enter-btn:hover {
  background: linear-gradient(135deg, #1df0b0, #20cfa0);
  color: #04120c;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(29, 240, 176, 0.25);
  transform: translateY(-1px);
}

/* 响应式：≤900px 取消第三列 —— 侧栏拆成整宽行，顺序为
   标题 → 摘要 → 看点 → 热度(sparkline 100%) → 指标 → CTA */
@media (max-width: 900px) {
  .topic-observe-view .topic-rebuild-row {
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-areas:
      "cover   tags"
      "cover   title"
      "cover   summary"
      "watch   watch"
      "state   state"
      "heat    heat"
      "metrics metrics"
      "cta     cta";
    gap: 8px 14px;
    min-height: 0;
    padding: 14px 14px 14px 12px;
  }

  .topic-observe-view .topic-cover {
    grid-area: cover;
    align-self: start;
    min-height: 0;
  }

  /* 主体与侧栏容器本身不参与栅格，子元素直接按区域排布 */
  .topic-observe-view .topic-rebuild-main,
  .topic-observe-view .topic-rebuild-side {
    display: contents;
  }

  .topic-observe-view .topic-rebuild-tags { grid-area: tags; }
  .topic-observe-view .topic-rebuild-title { grid-area: title; }
  .topic-observe-view .topic-rebuild-summary { grid-area: summary; }
  .topic-observe-view .topic-watch-angles { grid-area: watch; }
  .topic-observe-view .topic-rebuild-meta { grid-area: metrics; }
  .topic-observe-view .topic-heat-module { grid-area: heat; }
  .topic-observe-view .topic-enter-btn { grid-area: cta; margin-top: 0; width: 100%; }

  .topic-observe-view .topic-rebuild-state {
    grid-area: state;
    justify-content: space-between;
    width: 100%;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(237, 247, 242, 0.06);
  }

  .topic-observe-view .topic-heat-figure strong { font-size: 28px; }

  .topic-observe-view .topic-rebuild-meta {
    margin-top: 0;
    padding-top: 10px;
  }
}

@media (max-width: 560px) {
  .topic-observe-view .topic-observe-head { padding: 4px 2px 14px; }
  .topic-observe-view .topic-rebuild-title strong { font-size: 17px; }
  .topic-observe-view .topic-watch-angles { white-space: normal; }
}

/* 已解锁报告：CTA 卡退化为阅读容器 */
.topic-page .ti-final-report:has(.ti-report-body) {
  border-color: var(--ted-line-2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.018));
  display: block;
}

.topic-page .ti-report-executive {
  margin: 20px 0 24px;
  max-width: 860px;
  padding: 0 0 0 24px;
  border: none;
  border-left: 2px solid var(--ted-amber);
  background: none;
  color: var(--ted-ink);
  font-size: 17.5px;
  font-weight: 500;
  line-height: 1.7;
}

.topic-page .ti-report-body { max-width: 860px; }
.topic-page .ti-report-body p { margin: 0 0 18px; color: #c8d7d2; font-size: 15.5px; line-height: 1.85; text-align: left; }

.topic-page .ti-report-block {
  margin: 40px 0 0;
  max-width: 860px;
  padding-top: 24px;
  border-top: 1px solid var(--ted-line);
}

.topic-page .ti-report-block h4 {
  margin: 0 0 14px;
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.topic-page .ti-report-point { display: grid; gap: 6px; margin-bottom: 10px; padding: 0; }
.topic-page .ti-report-point p { margin: 0; color: #b9c9c4; font-size: 14.5px; line-height: 1.7; }

.topic-page .ti-report-foot {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--ted-line);
  color: var(--ted-faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* ── M. 响应式 ── */
@media (max-width: 1100px) {
  .topic-page .ti-hero { grid-template-columns: 1fr; min-height: 0; }
  .topic-page .ti-hero-side { margin: 0 28px 28px; border-left: 0; border-top: 1px solid var(--ted-line); }
  .topic-page .ti-hero-visual { display: none; }
  .topic-page .ti-content-grid { grid-template-columns: 1fr; }
  .topic-page .ti-sidecol { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .topic-page .ti-side-card { margin: 0; }
  .topic-page .ti-subtopic-grid, .topic-page .ti-analysis-grid, .topic-page .ti-signal-group { grid-template-columns: 1fr; }
  .topic-page .ti-logic-flow { grid-template-columns: 1fr 1fr; }
  .topic-page .ti-logic-item:not(:last-child)::after { display: none; }
  .topic-page .ti-time-rail { grid-template-columns: 1fr; }
  /* 窄视口：横向轨改纵向轨，节点间用竖线段首尾相连 */
  .topic-page .ti-time-rail::before { display: none; }
  .topic-page .ti-time-item { padding-top: 0; padding-left: 30px; padding-bottom: 24px; }
  .topic-page .ti-time-item:last-child { padding-bottom: 6px; }
  .topic-page .ti-time-item::before { top: 4px; left: 0; }
  .topic-page .ti-time-item.is-now::before { top: 3px; }
  .topic-page .ti-time-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 5.5px;
    top: 18px;
    bottom: -26px;
    width: 1px;
    background: linear-gradient(180deg, rgba(63, 214, 143, 0.45), #30453f);
  }
  .topic-page .ti-final-report { display: grid; grid-template-columns: 1fr; }
  .topic-page .ti-report-unlock-row { justify-self: stretch; }
}

@media (max-width: 720px) {
  .topic-page .topic-shell { width: min(var(--page-max), calc(100vw - var(--page-gutter))); }
  .topic-page .topic-topbar { height: 62px; min-height: 62px; }
  .topic-page .ti-board-nav { top: 62px; }
  .topic-page .ti-hero-main { padding: 28px 22px; }
  .topic-page .ti-hero-title { font-size: 42px; }
  .topic-page .ti-hero-subtitle { font-size: 20px; }
  .topic-page .ti-hud-strip { grid-template-columns: 1fr 1fr; }
  .topic-page .ti-hud-metric:nth-child(2)::after { display: none; }
  .topic-page .ti-hero-side { margin: 0 16px 16px; padding: 20px; }
  .topic-page .ti-logic-flow, .topic-page .ti-subtopic-grid, .topic-page .ti-analysis-grid, .topic-page .ti-time-rail, .topic-page .ti-signal-group { grid-template-columns: 1fr; }
  .topic-page .ti-sidecol { grid-template-columns: 1fr; }
  .topic-page .ti-sec { padding: 8px 0 44px; }
  .topic-page .ti-sec-title { font-size: 28px; }
  .topic-page .ti-pullquote { font-size: 20px; }
  .topic-page .ti-prediction-overview { padding: 20px 18px; }
  .topic-page .ti-prediction-overview-summary { font-size: 17px; }
  .topic-page .ti-pred-card { padding: 18px 16px; }
  .topic-page .ti-pred-card-statement { font-size: 16.5px; }
  .topic-page .ti-final-report { padding: 24px 20px; }
}

/* ═══════════ 资讯分析（2026-09-20）：双 tab + 卡片质感升级（增量层，不改上方规则） ═══════════ */

/* 顶部双 tab：聚合解读 / 实时速解（2026-09-20 起与标题同排，位于 stage-head 内） */
.analysis-feed-tabs {
  display: flex;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  align-self: center;
  padding: 5px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(0, 229, 255, 0.05), rgba(3, 7, 6, 0.6)),
    rgba(3, 7, 6, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 18px rgba(0, 229, 255, 0.04), 0 0 24px rgba(0, 229, 255, 0.07);
}

.analysis-feed-tabs[hidden] {
  display: none;
}

/* tab 组居中（2026-09-20 修正）：此前 tab 左边缘恒为「标题块宽 + 18px」，
   与 stage 宽度无关，窗口越宽越靠左（1920 下偏离正中 304px）。
   仅资讯分析页（tab 可见）把 stage-head 切成三列对称栅格：标题占左 1fr、操作键占右 1fr，
   两侧等宽后 tab 组天然落在 stage 框体正中，且不需绝对定位、不与其他元素重叠。 */
@media (min-width: 961px) {
  .stage-head:has(> .analysis-feed-tabs:not([hidden]):not(.hidden)) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  /* 侧列必须允许收缩，否则内容会撑开列宽、破坏对称 */
  .stage-head:has(> .analysis-feed-tabs:not([hidden]):not(.hidden)) > :first-child {
    min-width: 0;
  }

  .stage-head:has(> .analysis-feed-tabs:not([hidden]):not(.hidden)) > .stage-actions {
    grid-column: 3;
    justify-self: end;
    margin-left: 0;
  }
}

/* 中窄屏（721–960）：三列栅格放不下，改为 tab 独占一行并居中 */
@media (min-width: 721px) and (max-width: 960px) {
  .stage-head > .analysis-feed-tabs:not([hidden]):not(.hidden) {
    flex: 1 0 100%;
    order: 3;
    justify-content: center;
    margin: 0;
  }
}

/* 标题下副标题行：只有资讯分析页写入文案，其他模块保持 hidden */
.stage-sub {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.analysis-tab {
  position: relative;
  display: grid;
  gap: 3px;
  justify-items: center;
  /* 2026-09-20：由 150/18 收到 138/15，为居中栅格留出两侧列宽（视觉几乎无差） */
  min-width: 138px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.analysis-tab strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 200ms ease, text-shadow 200ms ease;
}

.analysis-tab small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--faint);
  transition: color 200ms ease;
}

.analysis-tab:hover {
  border-color: rgba(0, 229, 255, 0.26);
}

.analysis-tab:hover strong {
  color: var(--ink);
}

.analysis-tab.active {
  border-color: rgba(0, 250, 154, 0.5);
  background:
    linear-gradient(135deg, rgba(0, 250, 154, 0.13), rgba(0, 229, 255, 0.06)),
    rgba(3, 18, 15, 0.82);
  box-shadow: inset 0 0 20px rgba(0, 250, 154, 0.06), 0 0 18px rgba(0, 229, 255, 0.13);
}

.analysis-tab.active strong {
  color: #eafff6;
  text-shadow: 0 0 14px rgba(0, 250, 154, 0.38);
}

.analysis-tab.active small {
  color: rgba(0, 250, 154, 0.8);
}

/* 卡片圆润质感（覆盖式追加：圆角 + 精致描边 + 克制发光） */
#digestStream .feed-row {
  border-radius: 16px;
}

#digestStream .feed-row::before {
  border-radius: 2px;
  top: 14px;
  bottom: 14px;
}

#digestStream .feed-empty {
  border-radius: 16px;
}

body:not(.keyboard-nav) #digestStream .feed-row:hover,
#digestStream .feed-row.active {
  box-shadow: inset 0 0 32px rgba(0, 250, 154, 0.05), 0 0 26px rgba(0, 229, 255, 0.12);
}

/* 核心观点锚点：第一眼看到结论 */
.feed-ci-mode-insight {
  border-color: rgba(0, 229, 255, 0.55);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.16), rgba(0, 250, 154, 0.07)),
    rgba(0, 229, 255, 0.06);
  color: #7df3ff;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.16), inset 0 0 8px rgba(0, 229, 255, 0.07);
  font-size: 11.5px;
  letter-spacing: 0.14em;
}

.feed-ci-core {
  font-size: 15px;
  line-height: 1.72;
  color: #f4fffa;
  text-shadow: 0 0 18px rgba(0, 250, 154, 0.14);
}

/* ── CI 未就绪：同一套卡片骨架，只是状态不同（2026-09-21 取消 legacy 版式回落）── */
.feed-ci-mode-pending {
  border-color: rgba(232, 255, 247, 0.22);
  background: rgba(232, 255, 247, 0.05);
  color: rgba(232, 255, 247, 0.66);
  letter-spacing: 0.14em;
}

.feed-row[data-ci-state="pending"] .feed-ci-core {
  color: rgba(232, 255, 247, 0.82);
  font-weight: 500;
  text-shadow: none;
}

.feed-ci-pending-note {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: rgba(232, 255, 247, 0.42);
}

/* ── 首屏占位骨架：结构与 feed-row 一致，接口回来是"填充"而不是"换屏"── */
.feed-skeleton-wrap {
  display: grid;
  gap: 12px;
}

#digestStream .feed-row.feed-skeleton {
  cursor: default;
  pointer-events: none;
}

.feed-skeleton .sk-bar {
  display: block;
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(232, 255, 247, 0.06), rgba(232, 255, 247, 0.14), rgba(232, 255, 247, 0.06));
  background-size: 200% 100%;
  animation: feedSkeletonSweep 1.6s ease-in-out infinite;
}

.feed-skeleton .feed-stamp,
.feed-skeleton .feed-main,
.feed-skeleton .feed-action-stack,
.feed-skeleton .feed-signal {
  display: grid;
  /* 必须有显式轨道：auto 轨道会被"没有固有宽度"的占位条压成 0，里面的百分比宽度就全变 0（实测过） */
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-content: start;
}

.feed-skeleton .sk-title {
  height: 15px;
  width: 62%;
}

.feed-skeleton .sk-short {
  width: 42%;
}

.feed-skeleton .sk-chip {
  width: 100%;
  height: 14px;
  border-radius: 999px;
}

.feed-skeleton .sk-tiny {
  width: 70%;
}

.feed-skeleton .sk-dot {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  justify-self: center;
}

.feed-skeleton-note {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(232, 255, 247, 0.38);
  text-align: center;
  padding: 6px 0 2px;
}

/* 扫光位置必须留在 0%–100% 之间：超出后渐变整体移出元素，占位条会变成空条（实测过） */
@keyframes feedSkeletonSweep {
  0% { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}

/* 拆解编号单元：更清楚的呼吸感 */
.feed-row[data-ci-mode="insight"] .feed-summary.feed-ci {
  gap: 12px;
}

.feed-ci-num {
  min-width: 24px;
  padding: 1px 0;
  border-radius: 7px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: rgba(0, 229, 255, 0.07);
  text-align: center;
}

.feed-ci-unit-body i {
  color: #dff8ec;
}

/* 右侧信息面板：统一小面板 */
#digestStream .feed-signal.feed-source-box {
  display: grid;
  gap: 4px;
  align-content: start;
  justify-items: start;
  align-self: start;
  padding: 7px 9px;
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(0, 229, 255, 0.05), rgba(3, 7, 6, 0.45));
}

#digestStream .feed-signal.feed-source-box strong {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: var(--cyan);
}

#digestStream .feed-signal.feed-source-box small {
  font-size: 10px;
  color: var(--faint);
}

/* 实时速解卡片：更轻、更快、时间感更强 */
#digestStream .feed-row[data-feed-kind="flash"] {
  min-height: 64px;
  padding: 12px 18px;
  border-color: rgba(0, 229, 255, 0.13);
  background:
    linear-gradient(90deg, rgba(0, 229, 255, 0.035), transparent 46%),
    rgba(3, 7, 6, 0.58);
}

#digestStream .feed-row[data-feed-kind="flash"] .feed-stamp small::before {
  content: "实时";
  justify-self: start;
  padding: 3px 8px;
  border: 1px solid rgba(0, 250, 154, 0.5);
  border-radius: 999px;
  background: rgba(0, 250, 154, 0.09);
  color: var(--green);
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  animation: feedCiPulse 2.4s ease-in-out infinite;
}

#digestStream .feed-row[data-feed-kind="flash"] .feed-main strong {
  font-size: 13.5px;
  line-height: 1.55;
}

#digestStream .feed-row[data-feed-kind="flash"] .feed-signal.feed-source-box small {
  color: rgba(0, 229, 255, 0.72);
}

/* 聚合解读标题层级：主标题更明确 */
#digestStream .feed-row[data-feed-kind="digest"] .feed-main > strong {
  font-weight: 700;
}

/* ── 关联标的（基础金融实体层，2026-09-20）──
   位置在核心观点下方、底部来源区上方；无实体时整块不渲染（不占位）。
   代码用等宽 + amber 提亮，但字号小于标题，不与标题抢主次。 */
#digestStream .feed-row .feed-targets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

#digestStream .feed-row .feed-targets > i {
  flex: none;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.14em;
}

#digestStream .feed-row .feed-target {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  max-width: 100%;
  padding: 3px 10px;
  border: 1px solid rgba(255, 209, 102, 0.24);
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.06);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  cursor: default;
  transition: border-color 160ms ease, background 160ms ease;
}

#digestStream .feed-row .feed-target strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#digestStream .feed-row .feed-target .feed-target-ticker {
  flex: none;
  color: var(--amber);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.02em;
}

#digestStream .feed-row .feed-target.clickable {
  cursor: pointer;
}

#digestStream .feed-row .feed-target.clickable:hover {
  border-color: rgba(0, 250, 154, 0.5);
  background: rgba(0, 250, 154, 0.1);
}

/* +N 与「关联实体」降级态（没有证券标的时的普通实体）*/
#digestStream .feed-row .feed-target-more {
  flex: none;
  padding: 3px 8px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  cursor: default;
}

#digestStream .feed-row .feed-targets-entities .feed-target-plain {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

#digestStream .feed-row .feed-targets-entities > i {
  color: var(--faint);
}

/* 实体 chip 可点击态（侧边栏 / 弹窗） */
.dissection-ticker.clickable,
.modal-stock-chip.clickable {
  cursor: pointer;
}

.dissection-ticker.clickable:hover {
  border-color: rgba(0, 250, 154, 0.6);
  background: rgba(0, 250, 154, 0.1);
  color: var(--green);
}

/* 浅色主题适配 */
html[data-theme="light"] .analysis-feed-tabs {
  border-color: rgba(9, 45, 35, 0.16);
  background: rgba(240, 250, 246, 0.82);
  box-shadow: none;
}

html[data-theme="light"] .analysis-tab.active {
  border-color: rgba(9, 92, 60, 0.4);
  background: linear-gradient(135deg, rgba(0, 168, 107, 0.12), rgba(0, 229, 255, 0.06));
}

html[data-theme="light"] .analysis-tab.active strong {
  color: #06301f;
  text-shadow: none;
}

html[data-theme="light"] #digestStream .feed-signal.feed-source-box {
  border-color: rgba(9, 45, 35, 0.14);
  background: rgba(240, 250, 246, 0.7);
}

/* 窄屏适配：tab 占满整行（stage-head 换行）、卡片圆角略收 */
@media (max-width: 720px) {
  .stage-head .analysis-feed-tabs {
    width: 100%;
    margin: 0;
  }

  .analysis-tab {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 10px;
  }

  #digestStream .feed-row {
    border-radius: 13px;
  }
}
