/* 栏目页卡片样式 */
.book-store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px 0;
}
@media (max-width: 768px) { .book-store-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .book-store-grid { grid-template-columns: 1fr; } }

.store-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}
.store-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }

.card-cover { aspect-ratio: 3/4; overflow: hidden; background: #f5f5f5; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.store-card:hover .card-cover img { transform: scale(1.03); }

.card-info { padding: 12px; text-align: center; }
.card-info h3 { margin: 0; font-size: 15px; }
.card-info h3 a { text-decoration: none; color: #333; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-info h3 a:hover { color: #2c7da0; }

.book-pagination { text-align: center; margin: 30px 0; }
.book-pagination .page-numbers { display: inline-block; padding: 8px 14px; margin: 0 4px; background: #f5f5f5; border-radius: 6px; text-decoration: none; color: #333; }
.book-pagination .page-numbers.current { background: #2c7da0; color: #fff; }

/* 详情页样式 */
.book-detail-wrapper { max-width: 1200px; margin: 30px auto; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 5px 30px rgba(0,0,0,0.05); }
.book-breadcrumb { padding: 15px 30px; background: #f8f9fa; border-bottom: 1px solid #eee; font-size: 13px; }
.book-breadcrumb a { text-decoration: none; color: #666; }
.book-breadcrumb a:hover { color: #2c7da0; }

.book-detail-inner { display: flex; gap: 40px; padding: 30px; }
.book-cover-section { flex: 0 0 280px; }
.book-cover-section img { width: 100%; border-radius: 12px; }
.book-info-section { flex: 1; }
.book-title { font-size: 28px; margin: 0 0 10px; }

.book-stats { background: #f8f9fa; padding: 15px 20px; border-radius: 12px; margin: 15px 0; display: flex; gap: 30px; }
.stat-number { font-size: 20px; font-weight: bold; color: #2c7da0; }
.stat-label { font-size: 12px; color: #666; }

.tag { display: inline-block; background: #f0f0f0; padding: 4px 12px; border-radius: 20px; font-size: 12px; margin-right: 8px; }
.status-badge { display: inline-block; background: #2c7da0; color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 12px; }
.read-btn { display: inline-block; background: #2c7da0; color: #fff !important; padding: 12px 32px; border-radius: 40px; text-decoration: none; font-weight: bold; margin-top: 20px; }

/* 章节目录样式 */
.chapter-list { background: #f8f9fa; border-radius: 16px; overflow: hidden; }
.chapter-list h3 { background: #e9ecef; margin: 0; padding: 15px 20px; font-size: 18px; }
.chapter-items { max-height: 500px; overflow-y: auto; }
.chapter-item { padding: 12px 20px; border-bottom: 1px solid #e9ecef; transition: background 0.2s; }
.chapter-item:hover { background: #f1f3f5; }
.chapter-num { display: inline-block; background: #dee2e6; padding: 2px 10px; border-radius: 12px; font-size: 11px; margin-right: 12px; }
.chapter-item a { text-decoration: none; color: #495057; font-size: 14px; }
.chapter-item a:hover { color: #2c7da0; }

.book-ad-area { margin: 0 30px 20px; padding: 15px; background: #fef9e3; border: 1px dashed #f5c518; border-radius: 12px; text-align: center; }
.book-full-content { line-height: 1.8; color: #333; font-size: 15px; }
.book-full-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 15px 0; }

@media (max-width: 768px) {
    .book-detail-inner { flex-direction: column; padding: 20px; }
    .book-cover-section { max-width: 200px; margin: 0 auto; }
    .book-two-columns { flex-direction: column !important; }
}
/* 章节页广告样式 */
.chapter-ad-area {
    margin: 20px 0 30px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #fef9e3 0%, #fff3c4 100%);
    border: 1px solid #f5c518;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.chapter-ad-area img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.chapter-ad-area:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}