.book-info-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.book-detail {
    background: #fff;
    border: 1px solid #e9ecef;
    padding: 25px;
    min-height: 400px;
}

.book-main-info {
    display: flex;
    margin-bottom: 25px;
}

.book-cover-large {
    width: 120px;
    height: 160px;
    background: #e9ecef;
    margin-right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
    flex-shrink: 0;
    border: 1px solid #ddd;
}

.book-cover-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.book-info {
    flex: 1;
    min-width: 0;
}

.book-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.book-author-line {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.book-author {
    font-size: 16px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.book-category,
.book-status {
    font-size: 14px;
    color: #666;
}

.book-category-label,
.book-status-label {
    color: #888;
}

.book-category-value,
.book-status-value {
    color: #333;
}

.book-meta {
    margin-bottom: 5px;
}

.book-meta-item {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
}

.book-meta-label {
    color: #888;
}

.book-meta-value {
    color: #333;
}

.book-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #34495e;
}
/* 简介和相关推荐全宽度区域 */
.book-full-width {
    margin-left: 0; /* 对齐封面左侧 */
    width: 100%;
}

.description-container {
    margin-bottom: 20px;
}

.description-label {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
}

.book-description {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    height: 85px;
    overflow: hidden;
    transition: height 0.3s ease;
}

.book-description.expanded {
    height: auto;
}

.description-toggle {
    color: #2c3e50;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.description-toggle:hover {
    color: #34495e;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

.related-novels {
    margin-top: 15px;
}

.related-label {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.related-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.related-item {
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 10px;
    border: 1px solid #e9ecef;
    border-radius: 3px;
    transition: all 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 150px;
}

.related-item:hover {
    background: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

.book-ranking {
    background: #fff;
    border: 1px solid #e9ecef;
    padding: 25px;
    min-height: 400px;
}

.chapter-section {
    background: #fff;
    border: 1px solid #e9ecef;
    padding: 25px;
}

.chapter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.chapter-item {
    border: 1px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.2s;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chapter-item:hover {
    background: #f8f9fa;
    border-color: #2c3e50;
}

.chapter-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chapter-link:hover {
    color: #2c3e50;
}

.chapter-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 20px 0;
}

.chapter-pagination a,
.chapter-pagination span {
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 14px;
}

.chapter-pagination a:hover {
    background: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

.chapter-pagination .current {
    background: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

.chapter-pagination .disabled {
    color: #999;
    cursor: not-allowed;
}

.chapter-pagination .disabled:hover {
    background: none;
    color: #999;
    border-color: #e9ecef;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .book-info-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .book-main-info {
        flex-direction: column;
        margin-bottom: 20px;
    }
    
    .book-cover-large {
        width: 100px;
        height: 130px;
        margin-right: 0;
        margin-bottom: 15px;
        align-self: center;
    }
    
    .book-title {
        font-size: 20px;
    }
    
    .book-author-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .chapter-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .book-actions {
        justify-content: center;
    }
    
    .chapter-pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .chapter-pagination a,
    .chapter-pagination span {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .related-list {
        justify-content: center;
    }
    
    .related-item {
        max-width: 120px;
    }
    
    .book-full-width {
        margin-left: 0;
    }
}

@media (max-width: 1024px) {
    .chapter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}