/* ============ 回忆录（书架 + 阅读器） ============ */
.shelf-body {
  flex: 1; overflow-y: auto; padding: 16px 16px 28px; background: #f0f4fa;
  display: flex; flex-direction: column; gap: 22px;
}
.shelf-section { display: flex; flex-direction: column; gap: 10px; }
.shelf-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: #444;
}
.shelf-head .sh-avatar {
  width: 26px; height: 26px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-size: 14px; box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.shelf-head .sh-avatar img { width: 100%; height: 100%; object-fit: cover; }
.shelf-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.shelf-row::-webkit-scrollbar { display: none; }
.book-card {
  flex-shrink: 0; width: 118px; border: none; cursor: pointer; font-family: inherit;
  background: none; padding: 0; text-align: left;
}
.book-cover {
  width: 118px; height: 158px; border-radius: 6px 12px 12px 6px;
  background: linear-gradient(160deg, #7a5c3e 0%, #5d4327 100%);
  color: #f3e9d6; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.22);
  overflow: hidden; position: relative;
}
.book-cover .bc-title {
  font-size: 12px; font-weight: 700; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.book-cover .bc-chapters { margin-top: 6px; font-size: 10px; opacity: 0.75; }
.book-card .bc-name { font-size: 12px; color: #555; margin-top: 8px; line-height: 1.4; }
.shelf-empty { text-align: center; color: #999; font-size: 13px; padding: 60px 20px; }

/* 阅读器 */
.reader-body {
  flex: 1; overflow-y: auto; display: flex; align-items: flex-start;
  justify-content: center; gap: 28px; padding: 28px 20px 20px;
  background: #e9e2d3; flex-wrap: wrap;
}
.reader-page {
  width: 44%; max-width: 380px; min-height: 60vh;
  background: #fffdf5; border-radius: 4px; padding: 28px 24px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.16);
  font-size: 15px; line-height: 1.9; color: #3d3d3d;
  word-break: break-word;
}
.reader-page .rp-chapter {
  font-size: 12px; color: #a89f8a; margin-bottom: 14px;
  border-bottom: 1px solid #eee4cf; padding-bottom: 8px;
}
.reader-page .rp-img { max-width: 100%; border-radius: 6px; margin: 10px 0; }
.reader-nav {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 10px 16px; background: #f4efe4; border-top: 1px solid #e3d9c2;
  flex-shrink: 0;
}
.reader-nav button {
  border: none; background: #fff; border-radius: 999px; padding: 8px 18px;
  font-size: 13px; cursor: pointer; color: #555; box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.reader-nav button:disabled { opacity: 0.35; cursor: default; }
.reader-nav .rn-info { font-size: 12px; color: #8a8171; }
@media (max-width: 767px) {
  .reader-body { padding: 16px 10px; gap: 12px; }
  .reader-page { width: 96%; max-width: 420px; min-height: 62vh; padding: 22px 18px; }
}

