/* 主体内容 */
main {
	flex: 1;
	max-width: 1200px;
	margin: 2rem auto;
	padding: 0 1rem;
	width: 100%;
}

/* 小说详情区（新增） */
.book-header {
	display: flex;
	gap: 2rem;
	padding: 1.5rem 0;
	border-bottom: 1px solid #eee;
	margin-bottom: 2rem;
	background: white;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.book-cover {
	width: 180px;
	height: 260px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.book-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.book-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.book-title {
	font-size: 1.8rem;
	color: #1a2980;
	margin-bottom: 0.5rem;
}
.book-tags {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 0.8rem;
}
.tag {
	padding: 0.3rem 0.8rem;
	background: #f0f0f0;
	border-radius: 12px;
	font-size: 0.85rem;
	color: #666;
}
.tag.orange {
	background: #FFA500;
	color: white;
}
.book-stats {
	font-size: 1.1rem;
	margin-bottom: 1rem;
	color: #333;
}
.book-update {
	font-size: 0.95rem;
	color: #666;
	margin-bottom: 1rem;
}
.book-actions {
	display: flex;
	gap: 1rem;
	margin-top: 0.5rem;
}
.btn-read {
	padding: 0.8rem 1.5rem;
	background: #FF7B00;
	color: white;
	border: none;
	border-radius: 20px;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
}
.btn-read:hover {
	background: #E66C00;
	transform: translateY(-2px);
}
.btn-download {
	padding: 0.8rem 1.5rem;
	background: #f0f0f0;
	color: #333;
	border: 1px solid #ddd;
	border-radius: 20px;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
}
.btn-download:hover {
	background: #e0e0e0;
}
.btn-more {
	padding: 0.8rem 1.5rem;
	background: transparent;
	color: #666;
	border: 1px solid #ddd;
	border-radius: 20px;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
}
.btn-more:hover {
	background: #f5f5f5;
}

/* 作者信息区 */
.author-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: 1rem;
	border-left: 1px solid #eee;
}
.author-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 0.5rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.author-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.author-name {
	font-size: 1.1rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 0.3rem;
}
.author-badge {
	display: inline-block;
	background: #FFA500;
	color: white;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	font-size: 0.8rem;
	margin-right: 0.5rem;
}
.author-douyin {
	font-size: 0.85rem;
	color: #999;
	margin-top: 0.3rem;
}

/* 章节列表样式 */
.chapter-list {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0,0,0,0.08);
	padding: 2rem;
}
.chapter-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid #f0f0f0;
}
.chapter-header h2 {
	font-size: 1.8rem;
	color: #1a2980;
}
.chapter-header .total-chapters {
	color: #666;
	font-size: 1rem;
}
.chapter-item {
	display: flex;
	justify-content: space-between;
	padding: 0.8rem 1rem;
	border-bottom: 1px dashed #eee;
	transition: all 0.3s ease;
	cursor: pointer;
}
.chapter-item:hover {
	background: #f8f9ff;
	transform: translateX(5px);
}
.chapter-item:last-child {
	border-bottom: none;
}
.chapter-title {
	color: #333;
	font-size: 1rem;
	flex: 1;
}
.chapter-update-time {
	color: #999;
	font-size: 0.9rem;
	white-space: nowrap;
	margin-left: 1rem;
}
.chapter-item.new {
	background: #f0f8ff;
	border-right: 3px solid #1a2980;
}
.chapter-item.new .chapter-title {
	color: #1a2980;
	font-weight: 600;
}

/* 分页控件 */
.pagination {
	display: flex;
	justify-content: center;
	margin: 3rem 0 2rem;
	gap: 0.5rem;
}
.pagination a,
.pagination span {
	display: inline-block;
	padding: 0.6rem 1rem;
	border-radius: 6px;
	background: white;
	color: #1a2980;
	text-decoration: none;
	border: 1px solid #ddd;
	transition: all 0.3s ease;
}
.pagination a:hover {
	background: #1a2980;
	color: white;
}
.pagination .active {
	background: #1a2980;
	color: white;
	border-color: #1a2980;
	font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.book-header {
		flex-direction: column;
		gap: 1rem;
	}
	.book-info {
		flex: none;
	}
	.author-info {
		border-left: none;
		border-top: 1px solid #eee;
		padding-top: 1rem;
		margin-top: 1rem;
	}
	.book-actions {
		flex-wrap: wrap;
		gap: 0.5rem;
	}
	.book-actions button {
		flex: 1;
	}
}