/* =============================================================
 * Article · Nexus 主题（企业级 AI 枢纽风）
 * 用于 06/article.html —— Clara Shih (史洁恩) · Salesforce AI / Meta
 * 色系：深海蓝 #0c2461 · 钴蓝 #2e86de · 银白 #dfe6e9 · 信任金 #f6b93b
 * 设计语言：沉稳企业感 + 信任蓝 + 精密连接网格
 * ============================================================= */

:root {
  --nexus-bg: #070e1f;
  --nexus-bg-deep: #040a16;
  --nexus-bg-soft: #0f1d3a;
  --nexus-panel: #0b1a36;
  --nexus-border: rgba(46, 134, 222, 0.20);
  --nexus-border-soft: rgba(46, 134, 222, 0.10);
  --nexus-ink: #e8eef8;
  --nexus-ink-soft: #b8c7dc;
  --nexus-ink-light: #7a8fa8;
  --nexus-ink-dim: #5a6d85;
  --nexus-blue: #2e86de;
  --nexus-blue-soft: rgba(46, 134, 222, 0.18);
  --nexus-blue-glow: rgba(46, 134, 222, 0.45);
  --nexus-cobalt: #0652DD;
  --nexus-gold: #f6b93b;
  --nexus-gold-soft: rgba(246, 185, 59, 0.16);
  --nexus-gold-glow: rgba(246, 185, 59, 0.45);
  --nexus-silver: #dfe6e9;
  --nexus-teal: #00cec9;
  --nexus-teal-soft: rgba(0, 206, 201, 0.16);
  --nexus-navy: #0c2461;
  --nexus-purple: #6c5ce7;
}

/* ============================================
   主题覆盖：theme-nexus 整体覆盖
   ============================================ */
body.theme-nexus {
  background: var(--nexus-bg);
  color: var(--nexus-ink);
  font-family: 'Inter', 'Noto Serif SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background-image:
    linear-gradient(rgba(46, 134, 222, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 134, 222, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 15% 10%, rgba(46, 134, 222, 0.06), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(246, 185, 59, 0.04), transparent 45%);
  background-size: 36px 36px, 36px 36px, 100% 100%, 100% 100%;
  background-attachment: fixed;
}

.theme-nexus .progress-bar {
  background: linear-gradient(90deg, var(--nexus-blue), var(--nexus-gold), var(--nexus-teal));
  box-shadow: 0 0 12px var(--nexus-blue-glow);
}

.theme-nexus .topnav {
  background: rgba(7, 14, 31, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nexus-border);
}
.theme-nexus .topnav-inner {
  font-family: 'Inter', sans-serif;
  color: var(--nexus-ink-light);
  font-size: 13px;
}
.theme-nexus .back-link {
  color: var(--nexus-ink-soft);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.theme-nexus .back-link:hover {
  color: var(--nexus-gold);
  text-shadow: 0 0 8px var(--nexus-gold-glow);
}
.theme-nexus .topnav-capsule {
  background: rgba(46, 134, 222, 0.08);
  color: var(--nexus-ink-soft);
  border: 1px solid var(--nexus-border);
}
.theme-nexus .topnav-capsule:hover {
  background: rgba(46, 134, 222, 0.16);
  color: var(--nexus-gold);
  border-color: var(--nexus-gold);
}

/* ============================================
   Article 容器 · 宽屏自适应
   ============================================ */
.theme-nexus .article {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 32px 80px;
}

/* ============================================
   HERO · 企业蓝 + 信任金网格风格
   ============================================ */
.theme-nexus .hero-nexus {
  position: relative;
  padding: 90px 32px 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: auto;
}
.theme-nexus .hero-nexus::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 15%, rgba(46, 134, 222, 0.10), transparent 50%),
    radial-gradient(circle at 75% 80%, rgba(246, 185, 59, 0.08), transparent 50%);
  pointer-events: none;
}

.hero-nexus .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 134, 222, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 134, 222, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 0%, #000 65%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 65%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-nexus .hero-spotlight {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 134, 222, 0.35) 0%, rgba(46, 134, 222, 0) 65%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}

.hero-nexus .hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Tag */
.theme-nexus .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: linear-gradient(135deg, rgba(46, 134, 222, 0.12) 0%, rgba(246, 185, 59, 0.08) 100%);
  border: 1px solid rgba(46, 134, 222, 0.35);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--nexus-silver);
  font-weight: 600;
  box-shadow: 0 6px 18px -8px rgba(46, 134, 222, 0.35);
}
.theme-nexus .hero-tag .tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nexus-gold);
  box-shadow: 0 0 0 4px rgba(246, 185, 59, 0.25);
}

/* 大标题 */
.theme-nexus .hero-title {
  margin: 22px 0 18px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 900;
  line-height: 1.12;
  color: var(--nexus-ink);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.theme-nexus .title-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--nexus-gold);
  letter-spacing: 0.02em;
}
.theme-nexus .title-line {
  font-size: 34px;
  line-height: 1.28;
  color: var(--nexus-ink);
}
.theme-nexus .title-line-emphasis {
  font-size: 60px;
  line-height: 1.06;
  background: linear-gradient(135deg, var(--nexus-gold) 0%, #f9ca24 30%, var(--nexus-blue) 70%, var(--nexus-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-top: 6px;
}

/* Deck */
.theme-nexus .hero-deck {
  margin: 20px auto;
  max-width: 680px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--nexus-ink-soft);
}
.theme-nexus .hero-deck em {
  font-style: italic;
  color: var(--nexus-teal);
}
.theme-nexus .hero-deck strong {
  color: var(--nexus-ink);
  background: linear-gradient(180deg, transparent 80%, rgba(246, 185, 59, 0.25) 80%);
  padding: 0 2px;
}

/* 人物肖像 · Nexus */
.portrait-nexus {
  margin: 48px auto 24px;
  max-width: 540px;
  position: relative;
  z-index: 2;
}
.portrait-frame-nexus {
  position: relative;
  padding: 14px 14px 0;
  background: var(--nexus-cobalt, #1a2a4a);
  border-radius: 6px;
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.25),
    0 14px 36px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(46, 134, 222, 0.18),
    0 0 60px rgba(46, 134, 222, 0.10);
  transform: rotate(-1.5deg);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: visible;
}
.portrait-frame-nexus:hover {
  transform: rotate(0deg) scale(1.02);
}
/* 左上角胶带 —— Nexus 蓝 */
.portrait-frame-nexus::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 30px;
  width: 80px;
  height: 22px;
  background: rgba(46, 134, 222, 0.6);
  border-left: 1px dashed rgba(0, 0, 0, 0.18);
  border-right: 1px dashed rgba(0, 0, 0, 0.18);
  transform: rotate(-4deg);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35), 0 0 14px rgba(46, 134, 222, 0.35);
  z-index: 3;
}
/* 右上角胶带 —— Nexus 金 */
.portrait-frame-nexus::after {
  content: '';
  position: absolute;
  top: -8px;
  right: 36px;
  width: 70px;
  height: 22px;
  background: rgba(246, 185, 59, 0.6);
  border-left: 1px dashed rgba(0, 0, 0, 0.18);
  border-right: 1px dashed rgba(0, 0, 0, 0.18);
  transform: rotate(5deg);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35), 0 0 14px rgba(246, 185, 59, 0.35);
  z-index: 3;
}
.portrait-frame-nexus .portrait-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  filter: contrast(1.03) saturate(1.05);
}
.portrait-meta-nexus {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 6px 10px;
  text-align: center;
}
.portrait-meta-nexus .portrait-name-en {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--nexus-gold);
}
.portrait-meta-nexus .portrait-name-cn {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 28px;
  color: var(--nexus-ink, #e8eef8);
  line-height: 1.0;
}
.portrait-meta-nexus .portrait-role {
  font-size: 11px;
  color: var(--nexus-ink-light);
  letter-spacing: 0.02em;
}

/* 肖像注释 */
.theme-nexus .portrait-caption {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(46, 134, 222, 0.10);
  border: 1px dashed rgba(46, 134, 222, 0.35);
  border-radius: 999px;
  font-size: 13px;
  color: var(--nexus-ink-soft);
}
.theme-nexus .portrait-caption .caption-mark {
  color: var(--nexus-gold);
  font-weight: 700;
}

/* 数据条 · Nexus */
.theme-nexus .hero-meta {
  margin: 36px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--nexus-border);
  border-bottom: 1px solid var(--nexus-border);
}
.theme-nexus .hm-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 140px;
}
.theme-nexus .hm-num {
  font-family: "Noto Serif SC", serif;
  font-weight: 900;
  font-size: 36px;
  background: linear-gradient(135deg, var(--nexus-gold) 0%, var(--nexus-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}
.theme-nexus .hm-num sup {
  font-size: 18px;
}
.theme-nexus .hm-unit {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--nexus-blue);
}
.theme-nexus .hm-label {
  font-size: 12px;
  color: var(--nexus-ink-light);
  text-align: center;
  max-width: 180px;
}
.theme-nexus .hm-divider {
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(46, 134, 222, 0.3), transparent);
}

/* ============================================
   Article · 章节 board
   ============================================ */
.theme-nexus .article {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 32px 80px;
}

.board-nexus {
  position: relative;
  margin: 42px 0;
  padding: 44px 40px 36px;
  background: linear-gradient(180deg, rgba(15, 29, 58, 0.95) 0%, rgba(11, 26, 54, 0.98) 100%);
  border-radius: 28px;
  border: 1px solid var(--nexus-border);
  box-shadow:
    0 28px 70px -40px rgba(46, 134, 222, 0.30),
    0 12px 30px -16px rgba(246, 185, 59, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.board-nexus::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--nexus-blue) 0%, var(--nexus-gold) 50%, var(--nexus-teal) 100%);
  border-radius: 28px 28px 0 0;
  opacity: 0.9;
}

.board-nexus .board-marker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: "Inter", sans-serif;
}
.board-nexus .marker-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--nexus-blue) 0%, var(--nexus-cobalt) 100%);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  border-radius: 10px;
  box-shadow: 0 6px 16px -6px rgba(46, 134, 222, 0.55);
}
.board-nexus .marker-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--nexus-gold);
}

.board-nexus .board-title {
  margin: 10px 0 22px;
  font-family: "Noto Serif SC", serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1.35;
  color: var(--nexus-ink);
}

.board-nexus p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--nexus-ink-soft);
  margin: 14px 0;
}
.board-nexus p strong {
  color: var(--nexus-ink);
  background: linear-gradient(180deg, transparent 82%, rgba(246, 185, 59, 0.25) 82%);
  padding: 0 2px;
}
.board-nexus p em {
  color: var(--nexus-teal);
  font-style: italic;
}

/* 大引用 · Nexus */
.board-nexus .big-quote {
  margin: 26px 0;
  padding: 26px 30px;
  background:
    linear-gradient(135deg, rgba(46, 134, 222, 0.08) 0%, rgba(46, 134, 222, 0.04) 100%);
  border-left: 4px solid var(--nexus-blue);
  border-radius: 0 18px 18px 0;
  position: relative;
  box-shadow: 0 10px 30px -18px rgba(46, 134, 222, 0.35);
}
.board-nexus .big-quote::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  left: 16px;
  font-family: "Noto Serif SC", serif;
  font-size: 64px;
  color: rgba(46, 134, 222, 0.35);
  line-height: 1;
}
.board-nexus .big-quote p {
  font-family: "Noto Serif SC", serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.7;
  color: var(--nexus-ink);
  margin: 0;
}
.board-nexus .big-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 13px;
  color: var(--nexus-blue);
  font-family: "Inter", sans-serif;
  letter-spacing: 0.02em;
}

/* 大引用变体 · gold */
.board-nexus .big-quote-gold {
  background: linear-gradient(135deg, rgba(246, 185, 59, 0.08) 0%, rgba(246, 185, 59, 0.03) 100%);
  border-left-color: var(--nexus-gold);
  box-shadow: 0 10px 30px -18px rgba(246, 185, 59, 0.30);
}
.board-nexus .big-quote-gold::before {
  color: rgba(246, 185, 59, 0.35);
}

/* 大引用变体 · teal */
.board-nexus .big-quote-teal {
  background: linear-gradient(135deg, rgba(0, 206, 201, 0.08) 0%, rgba(0, 206, 201, 0.03) 100%);
  border-left-color: var(--nexus-teal);
  box-shadow: 0 10px 30px -18px rgba(0, 206, 201, 0.30);
}
.board-nexus .big-quote-teal p {
  color: var(--nexus-ink);
}
.board-nexus .big-quote-teal::before {
  color: rgba(0, 206, 201, 0.35);
}

/* 强调横条 */
.board-nexus .emphasized-line {
  margin: 26px 0;
  padding: 22px 28px;
  background: linear-gradient(135deg, var(--nexus-navy) 0%, var(--nexus-cobalt) 50%, var(--nexus-blue) 100%);
  color: var(--nexus-ink);
  border-radius: 18px;
  font-family: "Noto Serif SC", serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.55;
  text-align: center;
  box-shadow: 0 20px 50px -24px rgba(46, 134, 222, 0.55);
}
.board-nexus .emphasized-line .highlight-marker {
  /* 黄色块只贴在文字底部一条窄带，紧贴 baseline 不遮文字 */
  background: linear-gradient(180deg, transparent 94%, var(--nexus-gold) 94%, var(--nexus-gold) 100%);
  color: var(--nexus-ink);
  padding: 0 4px;
}

/* Callout */
.board-nexus .callout {
  margin: 22px 0;
  padding: 22px 26px;
  background: rgba(46, 134, 222, 0.06);
  border: 1px solid var(--nexus-border);
  border-radius: 16px;
}
.board-nexus .callout p {
  font-family: 'Noto Serif SC', serif;
  color: var(--nexus-ink-soft);
  line-height: 1.85;
  margin: 0;
}
.board-nexus .callout p strong {
  color: var(--nexus-ink);
  background: none;
  padding: 0;
  font-weight: 700;
}
.board-nexus .callout-key {
  background: linear-gradient(135deg, rgba(246, 185, 59, 0.06), rgba(46, 134, 222, 0.06));
  border-color: rgba(246, 185, 59, 0.25);
}
.board-nexus .callout-key p strong {
  color: var(--nexus-gold);
}
.board-nexus .callout-insight {
  background: linear-gradient(135deg, rgba(0, 206, 201, 0.06), rgba(46, 134, 222, 0.06));
  border-color: rgba(0, 206, 201, 0.25);
}
.board-nexus .callout-insight p strong {
  color: var(--nexus-teal);
}

/* Insight 列表 */
.board-nexus .insight-list {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}
.board-nexus .insight-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--nexus-ink-soft);
  border-bottom: 1px dashed var(--nexus-border-soft);
}
.board-nexus .insight-list li:last-child { border-bottom: none; }
.board-nexus .insight-list li::before {
  content: "◆";
  position: absolute;
  left: 6px;
  top: 12px;
  color: var(--nexus-gold);
  font-size: 12px;
}

/* 时间线 · Nexus */
.theme-nexus .timeline-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--nexus-border) !important;
}
.theme-nexus .timeline-item.highlight .timeline-card {
  background: rgba(246, 185, 59, 0.08) !important;
  border-color: rgba(246, 185, 59, 0.3) !important;
}
.theme-nexus .timeline-year {
  color: var(--nexus-gold) !important;
}
.theme-nexus .timeline-org {
  color: var(--nexus-ink) !important;
}
.theme-nexus .timeline-desc {
  color: var(--nexus-ink-soft) !important;
}

/* 对比栏 pair-grid */
.board-nexus .pair-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  margin: 26px 0;
  align-items: stretch;
}
.board-nexus .pair-side {
  padding: 22px 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.board-nexus .pair-old {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--nexus-border-soft);
}
.board-nexus .pair-new {
  background: linear-gradient(135deg, rgba(46, 134, 222, 0.08), rgba(246, 185, 59, 0.05));
  border: 1px solid rgba(246, 185, 59, 0.25);
}
.board-nexus .pair-label {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--nexus-ink-dim);
  letter-spacing: 0.04em;
}
.board-nexus .pair-headline {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: var(--nexus-ink);
}
.board-nexus .pair-detail {
  font-size: 14px;
  line-height: 1.75;
  color: var(--nexus-ink-soft);
}
.board-nexus .pair-vs {
  display: flex;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 16px;
  color: var(--nexus-gold);
}

/* Metrics Row */
.board-nexus .metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.board-nexus .metric-mini {
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--nexus-border-soft);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.board-nexus .metric-mini .mm-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 15px;
  color: var(--nexus-gold);
}
.board-nexus .metric-mini .mm-label {
  font-size: 13px;
  color: var(--nexus-ink-soft);
  line-height: 1.5;
}

/* Connector */
.theme-nexus .connector {
  text-align: center;
  padding: 18px 0;
  font-size: 18px;
  letter-spacing: 10px;
  color: var(--nexus-blue);
  opacity: 0.5;
}

/* ============================================
   金句卡片区
   ============================================ */
.theme-nexus .quotes-section {
  max-width: 1180px;
  margin: 60px auto;
  padding: 40px 24px;
  background: var(--nexus-bg);
}

/* 卡片网格布局 */
.theme-nexus .quote-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.theme-nexus .quotes-section-marker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--nexus-ink-dim);
  text-align: center;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.theme-nexus .quotes-section-title {
  font-family: 'Noto Serif SC', serif;
  font-weight: 800;
  font-size: 28px;
  text-align: center;
  color: var(--nexus-ink);
  margin-bottom: 8px;
}
.theme-nexus .quotes-section-deck {
  text-align: center;
  font-size: 15px;
  color: var(--nexus-ink-light);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.theme-nexus .quotes-section-tip {
  text-align: center;
  font-size: 14px;
  color: var(--nexus-ink-dim);
  margin-top: 24px;
}

/* 金句卡片 */
.theme-nexus .quote-card {
  background: linear-gradient(145deg, rgba(15, 29, 58, 0.95), rgba(11, 26, 54, 0.98));
  border: 1px solid var(--nexus-border);
  border-radius: 14px;
  color: var(--nexus-ink);
  position: relative;
  overflow: hidden;
  padding: 26px 24px 22px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: default;
  transition: transform 0.35s, box-shadow 0.35s;
}
.theme-nexus .quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(46, 134, 222, 0.25);
  border-color: var(--nexus-blue);
}
.theme-nexus .quote-card.card-gold:hover { border-color: var(--nexus-gold); box-shadow: 0 12px 36px rgba(246, 185, 59, 0.2); }
.theme-nexus .quote-card.card-teal:hover { border-color: var(--nexus-teal); box-shadow: 0 12px 36px rgba(0, 206, 201, 0.2); }
.theme-nexus .quote-card.card-cobalt:hover { border-color: var(--nexus-cobalt); box-shadow: 0 12px 36px rgba(6, 82, 221, 0.25); }
.theme-nexus .quote-card .card-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 134, 222, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 134, 222, 0.03) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
}
.theme-nexus .quote-card .card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--nexus-blue);
  font-weight: 700;
  position: relative;
}
.theme-nexus .quote-card .card-mark {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: 'Noto Serif SC', serif;
  font-size: 56px;
  color: rgba(46, 134, 222, 0.25);
  line-height: 1;
}
.theme-nexus .quote-card .card-tag {
  display: inline-block;
  margin: 8px 0 14px;
  padding: 3px 10px;
  background: rgba(46, 134, 222, 0.12);
  color: var(--nexus-blue);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  position: relative;
}
.theme-nexus .quote-card .card-quote-en {
  color: var(--nexus-ink-soft);
}
.theme-nexus .quote-card .card-quote-cn {
  color: var(--nexus-ink);
}
.theme-nexus .quote-card .card-context {
  color: var(--nexus-ink-dim);
}
.theme-nexus .quote-card .card-source {
  color: var(--nexus-ink-dim);
}

/* 卡片变体 */
.theme-nexus .card-gold {
  background: linear-gradient(145deg, rgba(246, 185, 59, 0.10), rgba(15, 29, 58, 0.95));
  border-color: rgba(246, 185, 59, 0.30);
}
.theme-nexus .card-gold .card-mark,
.theme-nexus .card-gold .card-tag {
  color: var(--nexus-gold);
}
.theme-nexus .card-teal {
  background: linear-gradient(145deg, rgba(0, 206, 201, 0.08), rgba(15, 29, 58, 0.95));
  border-color: rgba(0, 206, 201, 0.25);
}
.theme-nexus .card-teal .card-mark,
.theme-nexus .card-teal .card-tag {
  color: var(--nexus-teal);
}
.theme-nexus .card-cobalt {
  background: linear-gradient(145deg, rgba(6, 82, 221, 0.12), rgba(15, 29, 58, 0.95));
  border-color: rgba(6, 82, 221, 0.30);
}
.theme-nexus .card-cobalt .card-mark,
.theme-nexus .card-cobalt .card-tag {
  color: var(--nexus-cobalt);
}

/* ============================================
   Ending 尾声
   ============================================ */
.theme-nexus .ending {
  max-width: 780px;
  margin: 60px auto;
  padding: 50px 40px;
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(46, 134, 222, 0.2) 0%, rgba(46, 134, 222, 0) 55%),
    linear-gradient(180deg, #040a16 0%, #0b1a36 100%);
  border-radius: 20px;
  border: 1px solid var(--nexus-border);
  color: var(--nexus-ink);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.5);
}
.theme-nexus .ending::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 134, 222, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 134, 222, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.theme-nexus .ending > * { position: relative; z-index: 1; }
.theme-nexus .ending-marker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--nexus-blue);
  margin-bottom: 14px;
}
.theme-nexus .ending-title {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 22px;
  color: var(--nexus-ink);
}
.theme-nexus .ending p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--nexus-ink-soft);
  max-width: 640px;
  margin: 14px auto;
  text-align: left;
}
.theme-nexus .ending p strong {
  color: var(--nexus-gold);
  background: linear-gradient(180deg, transparent 80%, rgba(46, 134, 222, 0.25) 80%);
  padding: 0 3px;
  font-weight: 700;
}
.theme-nexus .ending p em {
  color: var(--nexus-teal);
  font-style: italic;
}
.theme-nexus .ending-mantra {
  margin: 30px auto;
  max-width: 620px;
  padding: 22px 26px;
  background: rgba(46, 134, 222, 0.08);
  border: 1px solid rgba(246, 185, 59, 0.25);
  border-radius: 18px;
  font-family: 'Noto Serif SC', serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.85;
  color: var(--nexus-ink);
  text-align: left;
}
.theme-nexus .ending-mantra strong {
  color: var(--nexus-gold);
  background: none;
  padding: 0;
  font-weight: 700;
}
.theme-nexus .ending-pulse {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.theme-nexus .ending-final-line {
  font-family: 'JetBrains Mono', monospace;
  color: var(--nexus-gold);
  font-size: 18px;
  font-weight: 700;
  padding: 10px 20px;
  background: rgba(246, 185, 59, 0.08);
  border: 1px solid rgba(246, 185, 59, 0.3);
  border-radius: 999px;
  text-shadow: 0 0 14px var(--nexus-gold-glow);
}
.theme-nexus .ending-sub-line {
  font-family: 'Noto Serif SC', serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--nexus-ink-light);
  text-align: center;
}

/* ============================================
   References 参考资料
   ============================================ */
.theme-nexus .references {
  max-width: 780px;
  margin: 40px auto 60px;
  padding: 36px 30px;
  background: var(--nexus-panel);
  border: 1px solid var(--nexus-border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.theme-nexus .references h3 {
  color: var(--nexus-ink);
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 20px;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px dashed rgba(46, 134, 222, 0.3);
}
.theme-nexus .references a {
  color: var(--nexus-blue);
}
.theme-nexus .references a:hover {
  color: var(--nexus-gold);
}
.theme-nexus .references .ref-tag {
  color: var(--nexus-ink-dim);
}
.theme-nexus .ref-meta {
  color: var(--nexus-ink-dim);
}
.theme-nexus .references li {
  border-bottom-color: var(--nexus-border-soft);
}

/* ============================================
   移动端适配
   ============================================ */
@media (max-width: 720px) {
  .theme-nexus .hero-nexus {
    padding: 72px 18px 36px;
  }
  .theme-nexus .title-line-emphasis {
    font-size: 36px;
  }
  .theme-nexus .title-line {
    font-size: 22px;
  }
  .theme-nexus .title-eyebrow {
    font-size: 16px;
  }
  .board-nexus {
    padding: 32px 20px 28px;
    border-radius: 20px;
  }
  .board-nexus .board-title {
    font-size: 24px;
  }
  .portrait-nexus { max-width: 92%; }
  .portrait-frame-nexus { padding: 10px 10px 0; }
  .portrait-frame-nexus::before { width: 68px; left: 20px; }
  .portrait-frame-nexus::after { width: 58px; right: 24px; }
  .portrait-meta-nexus { padding: 12px 4px 8px; }

  /* 数据条 · 移动端竖排（对齐 03/10 标准）*/
  .theme-nexus .hero-meta {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
  }
  .theme-nexus .hm-item {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  .theme-nexus .hm-num { font-size: 34px; line-height: 1; }
  .theme-nexus .hm-unit { font-size: 11px; letter-spacing: 0.14em; }
  .theme-nexus .hm-label { text-align: center; font-size: 13px; line-height: 1.6; max-width: 260px; }
  .theme-nexus .hm-divider {
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(46, 134, 222, 0.35), transparent);
    align-self: center;
  }

  .board-nexus .pair-grid {
    grid-template-columns: 1fr;
  }
  .board-nexus .pair-vs {
    justify-content: center;
  }
  .board-nexus .big-quote {
    padding: 20px 22px;
  }
  .board-nexus .big-quote p {
    font-size: 17px;
  }
}
