/* 小说详情页样式 */
.novel-detail { max-width: 900px; margin: 20px auto; padding: 0 20px; }

/* 小说头部 */
.novel-header { background: white; border-radius: 12px; padding: 24px; display: flex; gap: 24px; margin-bottom: 20px; }
.novel-cover { width: 180px; height: 240px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.novel-cover img { width: 100%; height: 100%; object-fit: cover; }
.novel-cover-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #667eea, #764ba2); display: flex; align-items: center; justify-content: center; font-size: 60px; }
.novel-info { flex: 1; }
.novel-info h1 { font-size: 22px; margin: 0 0 12px; color: #333; }
.novel-meta { font-size: 14px; color: #888; margin-bottom: 12px; }
.novel-meta span { margin-right: 16px; }
.novel-tags { margin-bottom: 12px; }
.novel-tags .tag { display: inline-block; background: #f0f0f0; color: #666; font-size: 12px; padding: 4px 12px; border-radius: 12px; margin-right: 8px; margin-bottom: 6px; }
.novel-summary { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 16px; max-height: 100px; overflow: hidden; }
.novel-actions { display: flex; gap: 12px; }
.btn-start { background: linear-gradient(135deg, #1890ff, #096dd9); color: white; padding: 12px 32px; border-radius: 24px; font-size: 16px; text-decoration: none; font-weight: 500; }
.btn-start:hover { opacity: 0.9; }
.btn-collect { background: #f0f0f0; color: #666; padding: 12px 24px; border-radius: 24px; font-size: 14px; border: none; cursor: pointer; }
.btn-collect:hover { background: #e6f7ff; color: #1890ff; }

/* 章节列表 */
.chapter-section { background: white; border-radius: 12px; padding: 24px; }
.chapter-section h3 { font-size: 16px; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid #eee; }
.chapter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.chapter-item { display: flex; align-items: center; padding: 12px 14px; background: #f9f9f9; border-radius: 8px; text-decoration: none; color: #666; font-size: 13px; }
.chapter-item:hover { background: #e6f7ff; color: #1890ff; }
.chapter-item.vip { background: #fff7e6; }
.chapter-item.vip:hover { background: #ffe7ba; color: #d46b08; }
.chapter-num { color: #999; margin-right: 8px; }
.chapter-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vip-badge { background: #ffa940; color: white; font-size: 10px; padding: 2px 6px; border-radius: 6px; margin-left: 8px; }

/* 分页 */
.chapter-pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #eee; }
.chapter-pagination a { padding: 8px 16px; background: #f0f0f0; border-radius: 8px; color: #666; text-decoration: none; font-size: 14px; }
.chapter-pagination a:hover { background: #1890ff; color: white; }
.page-info { color: #999; font-size: 14px; }

/* 响应式 */
@media (max-width: 600px) {
    .novel-header { flex-direction: column; align-items: center; text-align: center; }
    .novel-cover { width: 140px; height: 186px; }
    .novel-actions { justify-content: center; }
    .chapter-grid { grid-template-columns: 1fr; }
}
