/* =============================================================
 * Article · Visual 主题（Nano Banana 画廊风）
 * 用于 04/article.html —— Nicole Brichtova · Google DeepMind
 * 色系：香蕉黄 #ffd93d · 靛紫 #8b5cf6 · 天蓝 #4f8cff · 奶油白 #fffaf0
 * 设计语言：像素精修 + 柔光渐变 + 细网格底纹
 * ============================================================= */

/* ===== 全局：body 底色 ===== */
body.theme-visual {
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(255, 217, 61, 0.28) 0%, rgba(255, 217, 61, 0) 55%),
    radial-gradient(900px 700px at -5% 20%, rgba(139, 92, 246, 0.18) 0%, rgba(139, 92, 246, 0) 60%),
    radial-gradient(1000px 800px at 50% 110%, rgba(79, 140, 255, 0.16) 0%, rgba(79, 140, 255, 0) 65%),
    #fffaf0;
  color: #2a1a4d;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 顶部进度条 · Visual */
.theme-visual .progress-bar {
  background: linear-gradient(90deg, #ffd93d 0%, #ff8e3c 35%, #8b5cf6 75%, #4f8cff 100%);
}

/* 顶部导航 · Visual */
.theme-visual .topnav {
  background: rgba(255, 250, 240, 0.85);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}
.theme-visual .back-link {
  color: #4c1d95;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.theme-visual .back-link:hover {
  color: #8b5cf6;
}

/* ============================================================
 * Hero 区
 * ============================================================ */
.hero-visual {
  position: relative;
  padding: 80px 32px 56px;
  overflow: hidden;
}

.hero-visual .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-visual .hero-spotlight {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 61, 0.55) 0%, rgba(255, 217, 61, 0) 65%);
  filter: blur(4px);
  pointer-events: none;
  z-index: 0;
}

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

.theme-visual .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #fffbea 0%, #fff3c4 100%);
  border: 1px solid rgba(255, 184, 0, 0.45);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #6b4a00;
  font-weight: 600;
  box-shadow: 0 6px 18px -8px rgba(255, 184, 0, 0.45);
}
.theme-visual .hero-tag .tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffb703;
  box-shadow: 0 0 0 4px rgba(255, 183, 3, 0.25);
}

/* 大标题 */
.theme-visual .hero-title {
  margin: 22px 0 18px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 900;
  line-height: 1.12;
  color: #1e1240;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.theme-visual .title-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #8b5cf6;
  letter-spacing: 0.02em;
}
.theme-visual .title-line {
  font-size: 34px;
  line-height: 1.28;
}
.theme-visual .title-line-emphasis {
  font-size: 64px;
  line-height: 1.04;
  background: linear-gradient(135deg, #ffb703 0%, #ff6b35 35%, #8b5cf6 75%, #4f8cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-top: 6px;
}

.theme-visual .hero-deck {
  margin: 20px auto;
  max-width: 680px;
  font-size: 17px;
  line-height: 1.8;
  color: #3b2f66;
}
.theme-visual .hero-deck em {
  font-style: italic;
  color: #8b5cf6;
}
.theme-visual .hero-deck strong {
  color: #1e1240;
  background: linear-gradient(180deg, transparent 60%, #ffe06680 60%);
  padding: 0 2px;
}

/* 人物肖像 · Visual */
.portrait-visual {
  margin: 36px auto 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.portrait-frame-visual {
  position: relative;
  padding: 12px;
  background:
    linear-gradient(135deg, #ffe066 0%, #ffd93d 35%, #a78bfa 70%, #7bb6ff 100%);
  border-radius: 32px;
  box-shadow:
    0 24px 60px -20px rgba(139, 92, 246, 0.45),
    0 10px 30px -10px rgba(255, 185, 0, 0.35);
}
.portrait-frame-visual .portrait-photo {
  width: 220px;
  height: 220px;
  border-radius: 24px;
  object-fit: cover;
  display: block;
  background: #fffaf0;
  border: 3px solid #fffdf5;
}

/* CSS 香蕉徽标（无图时使用） */
.portrait-banana {
  width: 220px;
  height: 220px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 100% at 30% 25%, #fff7cd 0%, #ffe46a 45%, #ffbe3d 100%);
  border: 3px solid #fffdf5;
  position: relative;
  overflow: hidden;
}
.portrait-banana::before {
  content: "🍌";
  font-size: 108px;
  transform: rotate(-18deg);
  filter: drop-shadow(0 8px 16px rgba(139, 92, 246, 0.4));
  z-index: 2;
}
.portrait-banana::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
  background-size: 14px 14px;
  mix-blend-mode: multiply;
  opacity: 0.75;
  z-index: 1;
}

.portrait-meta-visual {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #fffdf5;
}
.portrait-meta-visual .portrait-name-en {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: #1e1240;
}
.portrait-meta-visual .portrait-name-cn {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 20px;
  color: #8b5cf6;
}
.portrait-meta-visual .portrait-role {
  font-size: 13px;
  color: #6b5e92;
  letter-spacing: 0.02em;
}
.portrait-caption {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(139, 92, 246, 0.10);
  border: 1px dashed rgba(139, 92, 246, 0.4);
  border-radius: 999px;
  font-size: 13px;
  color: #4c1d95;
}
.portrait-caption .caption-mark {
  color: #8b5cf6;
  font-weight: 700;
}

/* 数据条 · Visual */
.theme-visual .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 rgba(139, 92, 246, 0.18);
  border-bottom: 1px solid rgba(139, 92, 246, 0.18);
}
.theme-visual .hm-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 140px;
}
.theme-visual .hm-num {
  font-family: "Noto Serif SC", serif;
  font-weight: 900;
  font-size: 36px;
  background: linear-gradient(135deg, #ff8e3c 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}
.theme-visual .hm-num sup {
  font-size: 18px;
}
.theme-visual .hm-unit {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #8b5cf6;
}
.theme-visual .hm-label {
  font-size: 12px;
  color: #6b5e92;
  text-align: center;
  max-width: 180px;
}
.theme-visual .hm-divider {
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.3), transparent);
}

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

.board-visual {
  position: relative;
  margin: 42px 0;
  padding: 44px 40px 36px;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
  border-radius: 28px;
  border: 1px solid rgba(139, 92, 246, 0.15);
  box-shadow:
    0 28px 70px -40px rgba(139, 92, 246, 0.35),
    0 12px 30px -16px rgba(255, 184, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.board-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffd93d 0%, #ff8e3c 35%, #8b5cf6 75%, #4f8cff 100%);
  border-radius: 28px 28px 0 0;
  opacity: 0.9;
}

.board-visual .board-marker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: "Inter", sans-serif;
}
.board-visual .marker-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #ffd93d 0%, #ffb703 100%);
  color: #3a2a00;
  font-weight: 900;
  font-size: 16px;
  border-radius: 10px;
  box-shadow: 0 6px 16px -6px rgba(255, 184, 0, 0.55);
}
.board-visual .marker-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #8b5cf6;
}

.board-visual .board-title {
  margin: 10px 0 22px;
  font-family: "Noto Serif SC", serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1.35;
  color: #1e1240;
}

.board-visual p {
  font-size: 16px;
  line-height: 1.9;
  color: #2f2455;
  margin: 14px 0;
}
.board-visual p strong {
  color: #1e1240;
  background: linear-gradient(180deg, transparent 65%, #ffe06680 65%);
  padding: 0 2px;
}
.board-visual p em {
  color: #8b5cf6;
  font-style: italic;
}

/* 大引用 · Visual */
.board-visual .big-quote {
  margin: 26px 0;
  padding: 26px 30px;
  background:
    linear-gradient(135deg, #fffbe8 0%, #fff4c2 100%);
  border-left: 4px solid #ffb703;
  border-radius: 0 18px 18px 0;
  position: relative;
  box-shadow: 0 10px 30px -18px rgba(255, 184, 0, 0.5);
}
.board-visual .big-quote::before {
  content: "“";
  position: absolute;
  top: -6px;
  left: 16px;
  font-family: "Noto Serif SC", serif;
  font-size: 64px;
  color: rgba(255, 184, 0, 0.5);
  line-height: 1;
}
.board-visual .big-quote p {
  font-family: "Noto Serif SC", serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.7;
  color: #4c1d95;
  margin: 0;
}
.board-visual .big-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 13px;
  color: #8b5cf6;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.02em;
}

.board-visual .big-quote-purple {
  background: linear-gradient(135deg, #f4ecff 0%, #e9ddff 100%);
  border-left-color: #8b5cf6;
  box-shadow: 0 10px 30px -18px rgba(139, 92, 246, 0.45);
}
.board-visual .big-quote-purple p {
  color: #3b1a6b;
}
.board-visual .big-quote-purple::before {
  color: rgba(139, 92, 246, 0.45);
}

.board-visual .big-quote-blue {
  background: linear-gradient(135deg, #eaf3ff 0%, #d6e8ff 100%);
  border-left-color: #4f8cff;
  box-shadow: 0 10px 30px -18px rgba(79, 140, 255, 0.4);
}
.board-visual .big-quote-blue p {
  color: #123a86;
}
.board-visual .big-quote-blue::before {
  color: rgba(79, 140, 255, 0.5);
}

/* 强调横条 */
.board-visual .emphasized-line {
  margin: 26px 0;
  padding: 22px 28px;
  background: linear-gradient(135deg, #1e1240 0%, #3b1a6b 50%, #6d28d9 100%);
  color: #fffaf0;
  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(139, 92, 246, 0.55);
}
.board-visual .emphasized-line .highlight-marker {
  background: linear-gradient(180deg, transparent 55%, #ffd93d 55%);
  color: #fffaf0;
  padding: 0 4px;
}

/* insight 列表 */
.board-visual .insight-list {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}
.board-visual .insight-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  font-size: 16px;
  line-height: 1.85;
  color: #2f2455;
  border-bottom: 1px dashed rgba(139, 92, 246, 0.18);
}
.board-visual .insight-list li:last-child { border-bottom: none; }
.board-visual .insight-list li::before {
  content: "◆";
  position: absolute;
  left: 6px;
  top: 12px;
  color: #ffb703;
  font-size: 14px;
}

/* callout */
.board-visual .callout {
  margin: 22px 0;
  padding: 18px 22px;
  background: linear-gradient(135deg, #fff7e3 0%, #f5ecff 100%);
  border: 1px dashed rgba(139, 92, 246, 0.35);
  border-radius: 14px;
  color: #3b2f66;
}
.board-visual .callout p { margin: 0; font-size: 15px; line-height: 1.8; }
.board-visual .callout-key {
  background: linear-gradient(135deg, #fff3d4 0%, #ffe8a5 100%);
  border: 1px solid rgba(255, 183, 3, 0.5);
  box-shadow: 0 10px 30px -16px rgba(255, 184, 0, 0.45);
}
.board-visual .callout-warn {
  background: linear-gradient(135deg, #ffe9d9 0%, #ffd6b8 100%);
  border: 1px solid rgba(255, 107, 53, 0.4);
}

/* 时间线 · Visual */
.board-visual .timeline {
  margin: 26px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.board-visual .timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: start;
}
.board-visual .timeline-year {
  padding: 8px 12px;
  background: linear-gradient(135deg, #ffd93d 0%, #ffb703 100%);
  color: #3a2a00;
  font-weight: 800;
  font-size: 13px;
  border-radius: 10px;
  text-align: center;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 14px -6px rgba(255, 184, 0, 0.55);
}
.board-visual .timeline-card {
  padding: 14px 18px;
  background: #fffdf5;
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-left: 3px solid #8b5cf6;
  border-radius: 12px;
  box-shadow: 0 8px 20px -14px rgba(139, 92, 246, 0.3);
}
.board-visual .timeline-org {
  font-weight: 700;
  color: #1e1240;
  font-size: 15px;
  margin-bottom: 4px;
}
.board-visual .timeline-desc {
  font-size: 14px;
  line-height: 1.75;
  color: #4b3f7a;
}

/* 数据炸弹 */
.board-visual .data-bomb {
  margin: 24px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px 26px;
  background: linear-gradient(135deg, #1e1240 0%, #4c1d95 100%);
  border-radius: 20px;
  color: #fffdf5;
  box-shadow: 0 24px 60px -28px rgba(76, 29, 149, 0.55);
}
.board-visual .data-bomb .db-num {
  font-family: "Noto Serif SC", serif;
  font-weight: 900;
  font-size: 58px;
  line-height: 1;
  background: linear-gradient(135deg, #ffd93d 0%, #ff8e3c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: nowrap;
}
.board-visual .data-bomb .db-headline {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
}
.board-visual .data-bomb .db-detail {
  font-size: 14px;
  line-height: 1.75;
  color: #e2d6ff;
}
.board-visual .data-bomb .db-detail strong { color: #ffd93d; }

/* 对照 pair */
.board-visual .pair-grid {
  display: grid;
  grid-template-columns: 1fr 50px 1fr;
  gap: 14px;
  margin: 22px 0;
  align-items: stretch;
}
.board-visual .pair-side {
  padding: 18px 20px;
  border-radius: 16px;
  background: #fffdf5;
  border: 1px solid rgba(139, 92, 246, 0.18);
}
.board-visual .pair-old { border-left: 3px solid #a8a29e; }
.board-visual .pair-new {
  border-left: 3px solid #8b5cf6;
  background: linear-gradient(135deg, #f5ecff 0%, #fffdf5 100%);
}
.board-visual .pair-label {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #8b5cf6;
  font-weight: 700;
  margin-bottom: 6px;
}
.board-visual .pair-headline {
  font-family: "Noto Serif SC", serif;
  font-weight: 800;
  color: #1e1240;
  font-size: 17px;
  margin-bottom: 6px;
}
.board-visual .pair-detail {
  font-size: 14px;
  line-height: 1.75;
  color: #4b3f7a;
}
.board-visual .pair-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffb703;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 28px;
}

/* 小指标行 */
.board-visual .metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 22px 0;
}
.board-visual .metric-mini {
  padding: 16px 14px;
  background: linear-gradient(180deg, #fffdf5 0%, #fff6e0 100%);
  border: 1px solid rgba(255, 183, 3, 0.35);
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 20px -14px rgba(255, 184, 0, 0.4);
}
.board-visual .metric-mini .mm-num {
  display: block;
  font-family: "Noto Serif SC", serif;
  font-weight: 800;
  font-size: 17px;
  color: #4c1d95;
  line-height: 1.3;
  margin-bottom: 6px;
}
.board-visual .metric-mini .mm-label {
  font-size: 12px;
  color: #6b5e92;
  line-height: 1.5;
}

/* 连接符 ▼ */
.theme-visual .connector {
  text-align: center;
  margin: 20px 0;
  font-family: "Caveat", cursive;
  color: rgba(139, 92, 246, 0.55);
  letter-spacing: 0.35em;
  font-size: 14px;
}

/* ============================================================
 * 金句卡片区
 * ============================================================ */
.theme-visual .quotes-section {
  max-width: 1180px;
  margin: 60px auto;
  padding: 40px 24px;
}
.theme-visual .quotes-section-marker {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #8b5cf6;
  text-align: center;
  margin-bottom: 10px;
}
.theme-visual .quotes-section-title {
  text-align: center;
  font-family: "Noto Serif SC", serif;
  font-weight: 900;
  font-size: 34px;
  line-height: 1.2;
  color: #1e1240;
  margin-bottom: 8px;
}
.theme-visual .quotes-section-deck {
  text-align: center;
  font-size: 15px;
  line-height: 1.8;
  color: #6b5e92;
  max-width: 640px;
  margin: 0 auto 32px;
}

.theme-visual .quote-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.theme-visual .quote-card {
  position: relative;
  padding: 26px 24px 22px;
  background: linear-gradient(160deg, #fffbea 0%, #fff4c2 100%);
  border: 1px solid rgba(255, 184, 0, 0.35);
  border-radius: 20px;
  box-shadow: 0 16px 40px -24px rgba(255, 184, 0, 0.55);
  cursor: pointer;
  transition: transform 0.35s, box-shadow 0.35s;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.theme-visual .quote-card:hover {
  transform: translateY(-4px);
  border-color: #8b5cf6;
  box-shadow: 0 12px 36px rgba(139, 92, 246, 0.2);
}
.theme-visual .quote-card.card-purple:hover { border-color: #8b5cf6; box-shadow: 0 12px 36px rgba(139, 92, 246, 0.22); }
.theme-visual .quote-card.card-blue:hover { border-color: #4f8cff; box-shadow: 0 12px 36px rgba(79, 140, 255, 0.2); }
.theme-visual .quote-card.card-dark:hover { border-color: #ffd93d; box-shadow: 0 12px 36px rgba(255, 217, 61, 0.18); }
.theme-visual .quote-card.card-pink:hover { border-color: #ec4899; box-shadow: 0 12px 36px rgba(236, 72, 153, 0.2); }
.theme-visual .quote-card .card-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
}
.theme-visual .quote-card .card-num {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #8b5cf6;
  font-weight: 700;
  position: relative;
}
.theme-visual .quote-card .card-mark {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: "Noto Serif SC", serif;
  font-size: 56px;
  color: rgba(255, 184, 0, 0.4);
  line-height: 1;
}
.theme-visual .quote-card .card-tag {
  display: inline-block;
  margin: 8px 0 14px;
  padding: 3px 10px;
  background: rgba(139, 92, 246, 0.12);
  color: #4c1d95;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  position: relative;
}
.theme-visual .quote-card .card-quote-cn {
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.55;
  color: #1e1240;
  margin: 0 0 10px;
  position: relative;
}
.theme-visual .quote-card .card-quote-en {
  font-family: "Inter", sans-serif;
  font-style: italic;
  font-size: 13px;
  line-height: 1.7;
  color: #6b5e92;
  margin: 0 0 14px;
  position: relative;
}
.theme-visual .quote-card .card-context {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  line-height: 1.5;
  color: #8b5cf6;
  letter-spacing: 0.04em;
  position: relative;
}
.theme-visual .quote-card .card-source {
  color: #6b5e92;
  font-size: 11px;
}

/* 卡片变体 */
.theme-visual .card-purple {
  background: linear-gradient(160deg, #f5ecff 0%, #e9ddff 100%);
  border-color: rgba(139, 92, 246, 0.35);
}
.theme-visual .card-purple .card-mark { color: rgba(139, 92, 246, 0.4); }
.theme-visual .card-purple .card-tag { background: rgba(255, 184, 0, 0.15); color: #6b4a00; }

.theme-visual .card-blue {
  background: linear-gradient(160deg, #e6f0ff 0%, #d0e2ff 100%);
  border-color: rgba(79, 140, 255, 0.35);
}
.theme-visual .card-blue .card-mark { color: rgba(79, 140, 255, 0.5); }
.theme-visual .card-blue .card-tag { background: rgba(79, 140, 255, 0.15); color: #123a86; }

.theme-visual .card-dark {
  background: linear-gradient(160deg, #1e1240 0%, #4c1d95 100%);
  border-color: rgba(255, 184, 0, 0.35);
  color: #fffdf5;
}
.theme-visual .card-dark .card-num { color: #ffd93d; }
.theme-visual .card-dark .card-mark { color: rgba(255, 217, 61, 0.35); }
.theme-visual .card-dark .card-tag { background: rgba(255, 217, 61, 0.15); color: #ffd93d; }
.theme-visual .card-dark .card-quote-cn { color: #fffdf5; }
.theme-visual .card-dark .card-quote-en { color: #d2c6ff; }
.theme-visual .card-dark .card-context { color: #ffd93d; }
.theme-visual .card-dark .card-source { color: #d2c6ff; }

.theme-visual .card-pink {
  background: linear-gradient(160deg, #ffe6f1 0%, #ffc6e1 100%);
  border-color: rgba(236, 72, 153, 0.35);
}
.theme-visual .card-pink .card-mark { color: rgba(236, 72, 153, 0.45); }
.theme-visual .card-pink .card-tag { background: rgba(236, 72, 153, 0.15); color: #9d174d; }

.theme-visual .quotes-section-tip {
  margin-top: 26px;
  text-align: center;
  font-size: 13px;
  color: #8b5cf6;
}

/* ============================================================
 * Ending 结尾
 * ============================================================ */
.theme-visual .ending {
  max-width: 780px;
  margin: 60px auto;
  padding: 50px 40px;
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(255, 217, 61, 0.25) 0%, rgba(255, 217, 61, 0) 55%),
    linear-gradient(180deg, #1e1240 0%, #2b1057 100%);
  border-radius: 28px;
  color: #fffdf5;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.theme-visual .ending::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 217, 61, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 217, 61, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.theme-visual .ending > * { position: relative; z-index: 1; }
.theme-visual .ending-marker {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #ffd93d;
  margin-bottom: 14px;
}
.theme-visual .ending-title {
  font-family: "Noto Serif SC", serif;
  font-weight: 900;
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 22px;
  color: #fffdf5;
}
.theme-visual .ending p {
  font-size: 16px;
  line-height: 1.9;
  color: #e2d6ff;
  max-width: 640px;
  margin: 14px auto;
  text-align: left;
}
.theme-visual .ending p strong {
  color: #ffd93d;
  background: none;
  padding: 0;
}
.theme-visual .ending p em { color: #a78bfa; }
.theme-visual .ending-mantra {
  margin: 30px auto;
  max-width: 620px;
  padding: 22px 26px;
  background: rgba(255, 217, 61, 0.08);
  border: 1px solid rgba(255, 217, 61, 0.3);
  border-radius: 18px;
  font-family: "Noto Serif SC", serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.85;
  color: #fffdf5;
  text-align: left;
}
.theme-visual .ending-mantra strong { color: #ffd93d; }
.theme-visual .ending-pulse {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.theme-visual .ending-final-line {
  font-family: "JetBrains Mono", monospace;
  color: #ffd93d;
  font-size: 18px;
  font-weight: 700;
  padding: 10px 20px;
  background: rgba(255, 217, 61, 0.08);
  border: 1px solid rgba(255, 217, 61, 0.3);
  border-radius: 999px;
}
.theme-visual .ending-sub-line {
  font-family: "Noto Serif SC", serif;
  font-size: 15px;
  line-height: 1.8;
  color: #d2c6ff;
  text-align: center;
}

/* ============================================================
 * 参考资料
 * ============================================================ */
.theme-visual .references {
  max-width: 780px;
  margin: 40px auto 60px;
  padding: 36px 30px;
  background: #fffdf5;
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 22px;
}
.theme-visual .references h3 {
  font-family: "Noto Serif SC", serif;
  font-weight: 800;
  font-size: 20px;
  color: #1e1240;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px dashed rgba(255, 184, 0, 0.5);
}
.theme-visual .references ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.theme-visual .references li {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(139, 92, 246, 0.15);
  font-size: 14px;
  line-height: 1.7;
}
.theme-visual .references li:last-child { border-bottom: none; }
.theme-visual .references a {
  color: #4c1d95;
  text-decoration: none;
  font-weight: 500;
}
.theme-visual .references a:hover {
  color: #8b5cf6;
  text-decoration: underline;
}
.theme-visual .references .ref-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  background: rgba(255, 184, 0, 0.15);
  border-radius: 999px;
  font-size: 11px;
  color: #6b4a00;
  letter-spacing: 0.04em;
}
.theme-visual .ref-meta {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(139, 92, 246, 0.2);
  font-size: 12px;
  color: #8b5cf6;
  text-align: center;
  line-height: 1.7;
}

/* ============================================================
 * 模态框 · 金句放大
 * ============================================================ */
.theme-visual .modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
}
.theme-visual .modal.active { display: flex; align-items: center; justify-content: center; }
.theme-visual .modal.visible { display: block; }
.theme-visual .modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 18, 64, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.theme-visual .modal-content {
  position: relative;
  z-index: 2;
  max-width: 380px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: calc(100dvh - 32px);
}
.theme-visual .modal-close {
  position: fixed;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fffdf5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-visual .modal-close:hover { background: rgba(255, 255, 255, 0.25); }
.theme-visual .modal-card-wrap {
  width: auto;
  height: calc(100dvh - 200px);
  max-height: calc(100dvh - 200px);
  aspect-ratio: 3 / 4;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}
.theme-visual .modal-card-wrap .quote-card {
  width: 100%;
  height: 100%;
  cursor: default;
  border-radius: 16px;
  aspect-ratio: auto;
}
.theme-visual .modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fffdf5;
}
.theme-visual .modal-btn {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fffdf5;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
}
.theme-visual .modal-btn:hover { background: rgba(255, 255, 255, 0.22); }
.theme-visual .modal-counter { font-size: 13px; color: #d2c6ff; }
.theme-visual .modal-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #ffd93d 0%, #ffb703 100%);
  color: #3a2a00;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(255, 184, 0, 0.55);
}
.theme-visual .modal-download-btn:hover { transform: translateY(-1px); }

/* ============================================================
 * 响应式
 * ============================================================ */
@media (max-width: 720px) {
  .hero-visual { padding: 90px 18px 40px; }
  .theme-visual .title-eyebrow { font-size: 18px; }
  .theme-visual .title-line { font-size: 24px; }
  .theme-visual .title-line-emphasis { font-size: 40px; }
  .theme-visual .hero-deck { font-size: 15px; }
  .theme-visual .hero-meta { gap: 14px; padding: 18px 0; }
  .theme-visual .hm-num { font-size: 28px; }
  .theme-visual .hm-divider { display: none; }

  .portrait-frame-visual .portrait-photo,
  .portrait-banana { width: 180px; height: 180px; }
  .portrait-banana::before { font-size: 90px; }

  .theme-visual .article { padding: 16px 14px 60px; }
  .board-visual { padding: 36px 20px 26px; border-radius: 22px; }
  .board-visual .board-title { font-size: 24px; }
  .board-visual .big-quote { padding: 20px 22px; }
  .board-visual .big-quote p { font-size: 17px; }
  .board-visual .emphasized-line { font-size: 18px; padding: 18px 20px; }
  .board-visual .timeline-item { grid-template-columns: 1fr; }
  .board-visual .data-bomb {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .board-visual .data-bomb .db-num { font-size: 44px; }
  .board-visual .pair-grid { grid-template-columns: 1fr; }
  .board-visual .pair-vs { transform: rotate(90deg); padding: 6px 0; }

  .theme-visual .quotes-section-title { font-size: 26px; }
  .theme-visual .ending { padding: 36px 22px; border-radius: 22px; }
  .theme-visual .ending-title { font-size: 24px; }
  .theme-visual .references { padding: 26px 20px; }

  .theme-visual .modal-card-wrap .quote-card {
    width: 92vw;
    max-width: 360px;
    min-height: auto;
  }
}


/* ============================================================
 * Hero 区 · 04 专题定制（居中单列，对齐 02/03 风格）
 * ============================================================ */

/* hero 区整体 */
.theme-visual .hero-visual {
  min-height: auto;
  padding: 80px 32px 24px;
}

/* 标签间距 */
.theme-visual .hero-tag {
  margin-bottom: 18px;
}

/* 标题区 */
.theme-visual .hero-title {
  margin-top: 14px;
  margin-bottom: 14px;
}
.theme-visual .title-eyebrow {
  margin-bottom: 6px;
  font-size: clamp(18px, 2.5vw, 24px);
}
.theme-visual .title-line:not(.title-eyebrow):not(.title-line-emphasis) {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.3;
  margin-bottom: 2px;
}
.theme-visual .title-line-emphasis {
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.0;
  margin-top: 4px;
}

/* 简介文字：不强制换行，自然流动 */
.theme-visual .hero-deck {
  margin-top: 20px;
  margin-bottom: 24px;
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.85;
  max-width: 720px;
}

/* 人物肖像区 */
.theme-visual .hero-portrait {
  margin: 24px auto 16px;
  max-width: 280px;
}

/* 数据条 */
.theme-visual .hero-meta {
  margin-top: 24px;
  padding: 18px 0;
  gap: 20px;
}
.theme-visual .hm-num {
  font-size: 32px;
}

/* 内容区加宽：对齐 index.html 首页 1100px，带水平 padding 自适应 */
.theme-visual .article {
  max-width: 1100px;
  width: 100%;
  padding: 12px clamp(16px, 4vw, 40px) 60px;
}

/* 章节卡片间距压缩 */
.theme-visual .board-visual {
  margin: 20px 0;
  padding: 24px clamp(20px, 3vw, 32px) 20px;
}

/* 卡片内部组件间距压缩 */
.theme-visual .board-visual .board-title {
  margin: 6px 0 14px;
}
.theme-visual .board-visual p {
  margin: 10px 0;
}
.theme-visual .board-visual .big-quote {
  margin: 16px 0;
  padding: 18px 22px;
}
.theme-visual .board-visual .big-quote::before {
  font-size: 48px;
}
.theme-visual .board-visual .big-quote p {
  font-size: 18px;
  line-height: 1.6;
}
.theme-visual .board-visual .callout {
  margin: 16px 0;
  padding: 14px 18px;
}
.theme-visual .board-visual .emphasized-line {
  margin: 16px 0;
  padding: 16px 22px;
}
.theme-visual .board-visual .timeline {
  margin: 16px 0;
  gap: 10px;
}
.theme-visual .board-visual .timeline-card {
  padding: 10px 14px;
}
.theme-visual .board-visual .data-bomb {
  margin: 16px 0;
  padding: 16px 20px;
}
.theme-visual .board-visual .pair-grid {
  margin: 16px 0;
}
.theme-visual .board-visual .pair-side {
  padding: 14px 16px;
}
.theme-visual .board-visual .insight-list {
  margin: 14px 0;
}
.theme-visual .board-visual .insight-list li {
  padding: 6px 0 6px 28px;
}
.theme-visual .board-visual .metrics-row {
  margin: 16px 0;
}
.theme-visual .board-visual .metric-mini {
  padding: 12px 10px;
}

/* 连接符间距压缩 */
.theme-visual .connector {
  margin: 8px 0;
}

/* 响应式 */
@media (max-width: 720px) {
  .theme-visual .hero-visual { padding: 90px 18px 36px; }
  .theme-visual .hero-deck { font-size: 14px; }
}
