/* ==================== 章节阅读页样式 ==================== */

/* 阅读设置栏 */
.read-settings-bar { width: 100%; max-width: 1200px; margin: 10px auto; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); padding: 10px 20px; text-align: left; }
.breadcrumb-row { display: flex; align-items: center; margin-bottom: 8px; }
.breadcrumb { font-size: 12px; color: #666; line-height: 20px; margin: 0; padding: 0; background: none; max-width: none; }
.breadcrumb a { color: #3498db; }
.breadcrumb span { color: #999; margin: 0 5px; }
.read-settings { font-size: 12px; line-height: 20px; margin-left: auto; }
.read-settings label { color: #666; margin-right: 3px; }
.read-settings select { height: 22px; padding: 0 4px; border: 1px solid #ddd; font-size: 12px; border-radius: 3px; margin-right: 5px; }
.read-settings button { height: 22px; padding: 0 8px; background: #3498db; color: #fff; border: none; border-radius: 3px; cursor: pointer; font-size: 12px; }
.read-nav-row { text-align: center; margin-top: 10px; line-height: 22px; border-top: 1px solid #e0e0e0; padding-top: 10px; }
.nav-divider { color: #ccc; font-size: 14px; margin: 0 10px; }
.read-nav-btn { display: inline-block; padding: 5px 18px; background: #3498db; color: #fff; border-radius: 5px; font-size: 14px; transition: all 0.3s; margin: 0 5px; }
.read-nav-btn:hover { background: #2980b9; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(52,152,219,0.3); color: #fff; }
.read-nav-btn.disabled { background: #ccc; cursor: not-allowed; pointer-events: none; }

/* 正文阅读区 */
.content-wrap { width: 100%; max-width: 1200px; margin: 20px auto; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); padding: 40px 60px; min-height: 500px; }
.chapter-title { text-align: center; font-size: 26px; font-weight: bold; color: #3498db; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 2px solid #3498db; }
.chapter-content { font-size: 18px; line-height: 2.2; color: #333; text-align: justify; }
.chapter-content p { margin-bottom: 22px; text-indent: 2em; }
.bookmark-tip { text-align: center; color: #999; font-size: 12px; margin-top: 30px; padding-top: 20px; border-top: 1px dashed #ddd; }

/* 底部导航 */
.bottom-nav { width: 100%; max-width: 1200px; margin: 20px auto; text-align: center; }

/* 阅读设置相关 */
.font-small .chapter-content { font-size: 16px; }
.font-medium .chapter-content { font-size: 18px; }
.font-large .chapter-content { font-size: 20px; }
.font-xlarge .chapter-content { font-size: 22px; }
.bg-white { background: #fff; }
.bg-yellow { background: #fdf6e3; }
.bg-green { background: #e8f5e9; }
.bg-gray { background: #f5f5f5; }
.bg-black { background: #1a1a1a; color: #ccc; }
.bg-black .chapter-content { color: #ccc; }
.bg-black .chapter-title { color: #fff; }

/* 响应式 */
@media (max-width: 768px) {
    .read-settings-bar { padding: 12px 15px; width: 100%; text-align: left; }
    .breadcrumb-row { flex-direction: column; gap: 10px; align-items: flex-start; }
    .read-settings { flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
    .read-settings label { display: none; }
    .content-wrap { padding: 20px 15px; width: 100%; }
    .chapter-title { font-size: 20px; }
    .chapter-content { font-size: 16px; line-height: 2; }
}
@media (max-width: 480px) {
    .read-settings select { font-size: 11px; height: 24px; }
    .read-nav-btn { padding: 6px 15px; font-size: 12px; }
    .chapter-content { font-size: 15px; line-height: 1.9; }
}
