/* 《人工智能革命：挑战与机遇》2026-10-23 新增：对应兄弟目录 阅读-阅读与发芽/网站读书笔记/试排/261023-AI-Revolution-Artifact/ai-revolution.html。
   由根目录 reading_ai_batch_build.py 生成（页面和本样式都是），不要手改；全部限定在 .ai-revolution-notes 内，类前缀 rvl-；
   小程序样式在 miniprogram/build_reading_notes.py 的 CLASS_STYLES（rvl-*）。金色（--rvl-gold）只用于书中原句和题图里的重点项。 */
.ai-revolution-notes {
  --rvl-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --rvl-latin: "Helvetica Neue", Helvetica, Arial, "Noto Sans SC", "PingFang SC", sans-serif;
  --rvl-gold: #f2c14e;
  --rvl-gold-soft: rgba(242, 193, 78, .13);
  max-width: 44em;
  font-size: 16.5px;
  line-height: 1.9;
}
.ai-revolution-notes [lang="en"],
.ai-revolution-page .reading-profile-facts dd[lang="en"],
.ai-revolution-page .reading-profile-field strong[lang="en"] { font-family: var(--rvl-latin); }
.ai-revolution-notes .rvl-lat { font-size: .94em; }
.ai-revolution-notes p { margin-bottom: 1.1em; }
.ai-revolution-notes p,
.ai-revolution-notes li,
.ai-revolution-notes dd { text-wrap: pretty; }
.ai-revolution-notes .rvl-part-title,
.ai-revolution-notes .rvl-quote p { text-wrap: balance; }
.ai-revolution-page .rvl-nb { white-space: nowrap; }
.ai-revolution-notes .rvl-overview-title,
.ai-revolution-page .chapter-prevnext a { word-break: keep-all; overflow-wrap: anywhere; }
@media (min-width: 641px) {
  .ai-revolution-page .chapter-title { word-break: keep-all; overflow-wrap: anywhere; }
}
.ai-revolution-notes strong { color: var(--white); font-weight: 700; }
.ai-revolution-notes .rvl-pg { font-size: .8em; color: var(--slate); white-space: nowrap; }

/* ---------- 全书概览（右侧：题图） ---------- */
.ai-revolution-notes .rvl-overview {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: center;
  padding: 26px 28px; background: var(--light-navy); border: 1px solid var(--lightest-navy); border-radius: 12px;
}
.ai-revolution-notes .rvl-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 500; letter-spacing: .18em; color: var(--green); }
.ai-revolution-notes .rvl-overview-title { margin: 0 0 14px; font-family: var(--rvl-serif); font-size: 21px; font-weight: 900; line-height: 1.45; color: var(--white); }
.ai-revolution-notes .rvl-overview-lead { margin: 0; color: var(--lightest-slate); }


/* ---------- 题图（three） ---------- */
.ai-revolution-notes .rvl-three { margin: 0; padding: 16px 16px 12px; border: 1px solid var(--lightest-navy); border-radius: 10px; background: var(--navy); }
.ai-revolution-notes .rvl-three-title { margin: 0 0 12px; font-size: 13px; line-height: 1.5; font-weight: 500; color: var(--white); }
.ai-revolution-notes .rvl-three ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ai-revolution-notes .rvl-three li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 9px 12px; border: 1px solid var(--lightest-navy); border-radius: 8px; background: var(--light-navy); }
.ai-revolution-notes .rvl-three li b { font-size: 14px; line-height: 1.4; font-weight: 700; color: var(--white); }
.ai-revolution-notes .rvl-three li span { font-size: 11.5px; line-height: 1.6; color: var(--slate); text-align: right; }
.ai-revolution-notes .rvl-three li em { grid-column: 1 / -1; font-style: normal; font-size: 12px; line-height: 1.6; color: var(--lightest-slate); }
.ai-revolution-notes .rvl-three li.rvl-hi { border-color: var(--rvl-gold); background: var(--rvl-gold-soft); }
.ai-revolution-notes .rvl-three li.rvl-hi b { color: var(--rvl-gold); }
.ai-revolution-notes .rvl-three-src { margin: 8px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--slate); }
.ai-revolution-notes .rvl-items.rvl-ol { list-style: decimal; padding-left: 1.4em; }
.ai-revolution-notes .rvl-items.rvl-ol li { padding-left: 6px; border-left: 0; }
.ai-revolution-notes .rvl-items.rvl-ol li::marker { color: var(--slate); font-size: .9em; }

.ai-revolution-notes .rvl-intro { margin: 24px 0 0; color: var(--light-slate); }
.ai-revolution-notes .rvl-intro + .rvl-intro { margin-top: 12px; }

/* ---------- 正文内目录 ---------- */
.ai-revolution-notes .rvl-toc {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
  margin: 22px 0 0; padding: 18px 0 2px; border-top: 1px solid var(--lightest-navy);
}
.ai-revolution-notes .rvl-toc-item {
  display: flex; gap: 8px; align-items: baseline; padding: 7px 10px; border: 1px solid var(--lightest-navy);
  border-radius: 6px; font-size: 14px; line-height: 1.4; color: var(--light-slate); transition: border-color .15s, color .15s;
}
.ai-revolution-notes .rvl-toc-no { font-size: 12px; color: var(--green); white-space: nowrap; }
.ai-revolution-notes .rvl-toc-item:hover,
.ai-revolution-notes .rvl-toc-item:focus-visible { border-color: var(--green); color: var(--white); outline: none; }

/* ---------- 部分与模块 ---------- */
.ai-revolution-notes .rvl-part { margin-top: 64px; scroll-margin-top: 24px; }
.ai-revolution-notes .rvl-part-head { padding-bottom: 12px; margin: 0 0 18px; border-bottom: 1px solid var(--lightest-navy); }
.ai-revolution-notes .rvl-part-no { margin: 0 0 2px; font-size: 13px; letter-spacing: .18em; color: var(--green); }
.ai-revolution-notes .rvl-part-title { margin: 0; font-family: var(--rvl-serif); font-size: 25px; font-weight: 900; line-height: 1.4; color: var(--white); }

.ai-revolution-notes .rvl-items { list-style: none; display: grid; gap: 12px; margin: 0 0 1.1em; padding: 0; }
.ai-revolution-notes .rvl-items li { padding-left: 16px; border-left: 2px solid var(--lightest-navy); }

.ai-revolution-notes .rvl-quote {
  margin: 0 0 1.3em; padding: 4px 0 4px 18px; border-left: 3px solid var(--rvl-gold);
  font-family: var(--rvl-serif); color: var(--white); line-height: 1.85;
}
.ai-revolution-notes .rvl-quote p { margin: 0 0 .4em; }
.ai-revolution-notes .rvl-quote .rvl-orig { font-size: 14px; line-height: 1.65; color: var(--slate); }
.ai-revolution-notes .rvl-cite { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--slate); }


@media (max-width: 900px) {
  .ai-revolution-notes .rvl-overview { grid-template-columns: 1fr; }
  .ai-revolution-notes .rvl-three { max-width: 440px; }
}
@media (max-width: 640px) {
  .ai-revolution-notes { font-size: 16px; }
  .ai-revolution-notes .rvl-overview { padding: 20px 18px; gap: 18px; }
  .ai-revolution-notes .rvl-toc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-revolution-notes .rvl-part-title { font-size: 22px; }
}

/* 导语引文接在概览卡下的段落之后 */
.ai-revolution-notes .rvl-overview + .rvl-intro { margin-top: 24px; }
