.novel-basic-info {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.novel-cover {
    flex: 0 0 200px;
}

.novel-cover img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.novel-cover-2 img {
    width:140px;
    height:180px;
}

.action-buttons {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.primary-btn {
    padding: 10px;
    background-color: #56b0f0;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.primary-btn:hover {
    background-color: #3a8fd0;
}

.secondary-btn {
    padding: 10px;
    background-color: white;
    color: #56b0f0;
    border: 1px solid #56b0f0;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.secondary-btn:hover {
    background-color: #f0f8ff;
}

.secondary-btn.collected {
    background-color: #56b0f0;
    color: white;
}

.novel-meta {
    flex: 1;
}

.novel-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.author-info {
    font-size: 16px;
    margin-bottom: 20px;
}

.author-name {
    color: #56b0f0;
    font-weight: bold;
}

.novel-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.stat-item {
    display: flex;
    align-items: center;
}

.stat-label {
    color: #999;
    margin-right: 5px;
}

.stat-value {
    color: #333;
    font-weight: 500;
}

.novel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 4px 10px;
    background-color: #f0f8ff;
    color: #56b0f0;
    border-radius: 4px;
    font-size: 14px;
}

.content-tabs {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.content-tabs ul {
    display: flex;
    list-style: none;
}

.content-tabs li {
    margin-right: 20px;
    position: relative;
}

.content-tabs li a {
    display: block;
    padding: 10px 5px;
    color: #666;
    font-size: 16px;
    font-weight: bold;
}

.content-tabs li.active a {
    color: #56b0f0;
}

.content-tabs li.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #56b0f0;
}

.tab-content {
    display: none;
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tab-content.active {
    display: block;
}

.novel-description {
    margin-bottom: 30px;
}

.novel-description h2 {
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.description-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

.latest-chapters h2 {
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.latest-chapters .chapter-list {
    list-style: none;
}

.latest-chapters .chapter-list li {
    border-bottom: 1px dashed #eee;
}

.latest-chapters .chapter-list li:last-child {
    border-bottom: none;
}

.latest-chapters .chapter-list a {
    display: flex;
    /*justify-content: space-between;*/
    padding: 12px 0;
    color: #333;
    transition: color 0.3s;
}

.latest-chapters .chapter-list a:hover {
    color: #56b0f0;
}

.chapter-title {
    flex: 1;
}

.update-time {
    color: #999;
    font-size: 14px;
}

.volume {
    margin-bottom: 25px;
}

.volume-title {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #eee;
    color: #56b0f0;
}

.chapter-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 5px;
}

.chapter-list li {
    border-bottom: 1px dashed #eee;
}

.chapter-list li:last-child {
    border-bottom: none;
}

.chapter-list a {
    display: flex;
    padding: 8px 5px;
    color: #333;
    transition: background-color 0.3s;
}

.chapter-list a:hover {
    background-color: #f9f9f9;
}

.chapter-index {
    width: 50px;
    color: #999;
}

.chapter-title {
    flex: 1;
}

.chapter-wordcount {
    width: 80px;
    text-align: right;
    color: #999;
    font-size: 14px;
}

/* ·ÖÒ³Æ÷ */
.chapter-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.page-btn {
    padding: 6px 12px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    transition: all 0.3s;
}

.page-btn:hover {
    border-color: #56b0f0;
    color: #56b0f0;
}

.page-btn.active {
    background-color: #56b0f0;
    color: white;
    border-color: #56b0f0;
}

.page-btn.disabled {
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.page-ellipsis {
    padding: 6px 12px;
    color: #999;
}

/* ÍÆ¼öÇø */
.recommend-section {
    background-color: #f9f9f9;
    padding: 40px 0;
    margin-top: 30px;
}

.recommend-section h2 {
    font-size: 22px;
    margin-bottom: 25px;
    text-align: center;
    color: #333;
}

.recommend-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.recommend-item {
    text-align: center;
}

.recommend-item a {
    display: block;
    color: #333;
    transition: transform 0.3s;
}

.recommend-item a:hover {
    transform: translateY(-5px);
}

.book-cover {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.book-cover-2{
    width:100px;
    height: 130px;
    display: block;
    margin:0 auto;
}

.book-title {
    font-size: 16px;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-author {
    font-size: 14px;
    color: #999;
}

.listpage{padding:.5rem .5rem;line-height:1.5rem;width:calc(100% - 1rem);overflow:hidden;border-bottom:1px solid #d7d7d7;height:1.5rem}
.listpage span{height:40px;line-height:40px;text-align:center}
.listpage .left{float:left;width:25%}
.listpage .left a,.listpage .right a{display:inline-block;height:40px;width:90%}
.listpage .left a{float:left}
.listpage .right a{float:right}
.listpage .right{float:right;width:25%}
.listpage .middle{width:49%;border:.05rem solid #d7d7d7;display:block;float:left;height:1.45rem;line-height:1.45rem}
.listpage .middle em{width:80%;text-align:center;color:#999;font-style:normal;height:30px}
.listpage .middle a,.listpage .middle em{display:inline-block;float:left;line-height:36px}
.listpage .middle a{width:19%;height:36px;vertical-align:middle}
.listpage .middle select{clear:both;border:none;display:inline-block;float:left;font-style:normal;height:40px;line-height:1.45rem;text-align:center;width:100%;}
.listpage .middle select,.listpage .middle select option {color: #666;}
.listpage .onclick{background:rgba(50,100,150,.5);color:#fff}
.listpage .before{background:#cecece;color:#fff}



@media (max-width: 992px) {
    .novel-basic-info {
        flex-direction: column;
    }

    .novel-cover {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .action-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .novel-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .recommend-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .content-tabs li {
        margin-right: 10px;
    }

    .content-tabs li a {
        font-size: 15px;
    }

    .chapter-list {
        grid-template-columns: 1fr;
    }

    .recommend-list {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .novel-title {
        font-size: 24px;
    }

    .novel-stats {
        grid-template-columns: 1fr;
    }

    .content-tabs ul {
        flex-wrap: wrap;
    }

    .content-tabs li {
        margin-bottom: 5px;
    }

    .chapter-pagination {
        flex-wrap: wrap;
    }

    .page-btn {
        margin: 3px;
    }

    .recommend-list {
        grid-template-columns: repeat(2, 1fr);
    }
}