/* 上架页「正文校验预览」的客户端阅读页样式（标注 #274）。
   styles.css 已超行数上限（棘轮只许缩小），故单开本文件。
   数值抄自 H5 阅读页 snail-h5/src/views/Book.vue 的滚动（沉浸）模式，逐条对应：
     .reader-page          → .pv-reader（默认主题 #1B1B1D + 白字；基准字号 fontSize 默认 16px）
     .reader-scroll        → .pv-reader-scroll（overflow-y:auto；隐藏滚动条；左右留白 4vw）
     .reader-topbar        → .pv-topbar（sticky、高 44px、显示当前章名、3.2vw / weight 300）
     .chapter-block        → .pv-chapter（章距 margin-bottom 64px）
     .chapter-title        → .pv-chapter-title（serif 字体栈 / 1.25em / weight 700 / margin 0 0 20.8px）
     .chapter-block p      → .pv-chapter p（serif / 1em / weight 600 / line-height 1.95 / margin 0）
     .unlock-wrap          → .pv-paywall（#fdf7ff、圆角 28px 28px 0 0）
   H5 的 4vw / 3.2vw 是按 390px 设计宽写的（源码里同值的字面量 15.6px / 12.48px 即由此折算）；
   中台是桌面视口，vw 会失真 ⇒ 这里直接用折算后的固定 px。 */

.lib .pv-reader {
  position: relative;
  height: 340px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #1B1B1D;
  color: #FFFFFF;
  font-family: Montserrat, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: normal;
}
.lib .pv-reader-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 15.6px calc(40px + env(safe-area-inset-bottom, 0px));
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.lib .pv-reader-scroll::-webkit-scrollbar { display: none; }
.lib .pv-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  height: 44px;
  margin: 0 -15.6px;
  padding: 0 15.6px;
  box-sizing: border-box;
  background: #1B1B1D;
}
.lib .pv-crumb {
  font-size: 12.48px;
  font-weight: 300;
  color: #888888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lib .pv-chapter { margin-bottom: 64px; }
.lib .pv-chapter-title {
  color: inherit;
  font-family: 'Source Han', 'Songti SC', 'Noto Serif SC', Georgia, 'Times New Roman', serif;
  font-size: 1.25em;
  font-weight: 700;
  margin: 0 0 20.8px;
  line-height: normal;
}
.lib .pv-chapter p {
  color: inherit;
  font-family: 'Source Han', 'Songti SC', 'Noto Serif SC', Georgia, 'Times New Roman', serif;
  font-size: 1em;
  font-weight: 600;
  line-height: 1.95;
  margin: 0;
}
.lib .pv-locked-note,
.lib .pv-tail-note { font-size: 11px; color: #9ca3af; line-height: 1.8; }
.lib .pv-tail-note { margin-top: 8px; }
.lib .pv-paywall {
  margin: 4px 0 24px;
  padding: 20px 14px 18px;
  border-radius: 28px 28px 0 0;
  background: #fdf7ff;
  color: #1A1A1A;
}
.lib .pv-paywall-title { font-size: 14px; font-weight: 700; }
.lib .pv-paywall-note { margin-top: 4px; font-size: 11px; line-height: 1.7; color: #6b7280; }
.lib .pv-more { font-size: 11px; line-height: 1.7; color: #9ca3af; padding-bottom: 6px; }
/* 预览段自身的说明位（在深色读者框之外，沿用上架页预览的浅色小字） */
.lib .pv-legend { margin-bottom: 4px; font-size: 11px; font-weight: 600; color: #0e7490; }
