/* 基础复用样式 */
.text-light-opacity-80 {
    color: rgba(255,255,255,0.8) !important;
}
.sidebar-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    padding: 1.2rem;
    margin-bottom: 1.5rem;
}
.sidebar-card li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
/* 作品信息区 */
.work-header {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.cover-img {
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 180px;
    object-fit: cover;
}
.work-info-item {
    margin-bottom: 0.8rem;
    color: #666;
}
.work-info-label {
    font-weight: 500;
    color: #333;
    width: 60px;
    display: inline-block;
}
/* 目录区样式 */
.catalog-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.catalog-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 0.8rem;
    margin-bottom: 1rem;
}
.catalog-tabs {
    margin-bottom: 1rem;
}
.catalog-tab {
    padding: 0.4rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    margin-right: 0.8rem;
    display: inline-block;
}
.catalog-tab.active {
    background-color: #dc3545;
    color: #fff;
}
.chapter-item {
    padding: 0.6rem 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chapter-item:last-child {
    border-bottom: none;
}
.chapter-link {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}
.chapter-link:hover {
    color: #dc3545;
}
.chapter-time {
    color: #999;
    font-size: 0.85rem;
}
/* 阅读按钮样式 */
.read-btn {
    background-color: #dc3545;
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s;
}
.read-btn:hover {
    background-color: #bb2d3b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
/* 分页样式 */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}
.page-item.active .page-link {
    background-color: #dc3545;
    border-color: #dc3545;
}
.page-link {
    color: #333;
}
.page-link:hover {
    color: #dc3545;
    border-color:#dc3545;
}