
.comic-cover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(16px);
    backdrop-filter: blur(16px);
}
.comic-cover {
    position: relative;
    text-align: center;
    padding: 1rem;
    background-size: cover;

}
.comic-cover img {
    position: relative;
    height: 15rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 10.625rem;
}

.comic-details h5 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.comic-details p {
    margin-bottom: 0.5rem;
    color: #666;
}
.comic-tags {
    display: flex;
    flex-wrap: wrap;
}
.comic-tags a {
    display: inline-block;
    margin-right: 0.5rem;
    padding: 0.25rem 0.5rem;
    background-color: #e9a6b2;
    color: #fff;
    border-radius: .25rem;
    text-decoration: none;
    font-size: .6875rem;
    margin-bottom: .3125rem;
}
.comic-status{
    font-size: .625rem;
    vertical-align: middle;
    background: #e9a6b2;
    color: #fff;
    padding: .125rem .3125rem;
    border-radius: .3125rem;
    margin-top: .3125rem;
}
.comic-author{
    font-size: 13px;
    margin-right: 5px;
    color: #999;
}
.comic-actions {
    display: flex;
    justify-content: space-around;
    padding: .5rem .5rem 1rem;
    position: fixed;bottom: 0;width: 100%;border-top: 1px solid #ccc;
    background-color: #fff;
}
.comic-actions i {
    font-style: normal;
    vertical-align: middle;
}
.comic-actions .collect {
    border: 1px solid #e9a6b2;
    color: #e9a6b2;
}
.comic-actions .startBook,.comic-actions .collect.active {
    background-color: #e9a6b2;
    color: #fff;
}
/* 章节处理 */
.comic-chapters h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.chapter-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    width: calc(50% - .5rem);
    border: 1px solid #ccc;
    border-radius: .25rem;
    margin-bottom: .66667rem;
}
.chapter-item a {
    text-decoration: none;
    color: #212121;
    font-size: .875rem;
    width: 100%;
}
.comic-chapters-title {
    margin-bottom: .5rem;
    font-size: 1.25rem;
    align-items: baseline;
}
.comic-chapters-title .chapter-toggle{
    margin-left: auto;
    font-size: 1rem;
}
.chapter-update{
    font-size: .8125rem;
    margin-left: .3125rem;
    color: #999;
}
#chapterList{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.chapter-hidden{
    text-align: center;
    padding: .5rem 0;
    border-top: 1px solid #ccc;
    margin: 0 -.5rem;
    display: none;
}
.chapter-hidden.show{
    display: block;
    position: fixed;
    bottom: 5rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    background: #e9a6b2;
    border-radius: 50%;
    border: none;
    color: #fff;
    padding: 0;
    z-index: 1;
}
.chapter-hidden.show i{
    font-size: 1.25rem;
}

/* 猜你喜欢 */
.recommended-item {
    justify-content: space-between;
    display: flex;
    flex-wrap: wrap;
}
.recommended-comics h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.comic-card {
    margin-bottom: 1rem;
    width: calc(33% - .3rem);
}
.comic-card img {
    width: 100%;
    height: 10rem;
    border-radius: 0.25rem;
}
.comic-card-title {
    font-size: 1rem;
    margin-top: 0.5rem;
    color: #333;
}
.comic-card-des{
    font-size: .8125rem;
    color: #999;
}
/* comment */
.comment-text-body {
    margin-bottom: 1rem;
}
.comment-text-body textarea{
    width: 100%;
    resize: none;
    outline: none;
    border: 1px solid #e9a6b2;
    border-radius: 5px;
    height: 6.25rem;
    padding: .5rem;
}
.comment-text-body button {
    position: absolute;
    right: .5rem;
    bottom: 1rem;
    background: #e9a6b2;
    border: 1px solid #e9a6b2;
    color: #fff;
}
.comment-text-body button:hover,.comment-text-body button:active,.comment-text-body button:focus-visible {
    background: rgba(233, 166, 178, 0.8) !important;
    border: 1px solid rgba(233, 166, 178, 0.8) !important;
    color: #fff !important;
}
.comments-section{
    margin-bottom: 3.75rem;
}
.comments-section,.comic-details,.comic-chapters,.recommended-comics {
    padding: .5rem;
}
.comments-section h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.comment {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ccc;
}
.comment-user {
    display: flex;
    align-items: baseline;
}
.comment-user .avatar img{
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
}
.comment-user .nick{
    margin-left: .5rem;
}
.comment-user .grade {
    margin-left: .25rem;
}
.comment-user .grade img {
    width: 1.5rem;
    height: 1.5rem;
    margin-left: 0;
}
.comment-content {
    text-indent: 1rem;
    color:#999;
    margin-top: 0.5rem;
}
.comment-foot {
    display: flex;
    justify-content: space-between;
    margin-top: .5rem;
    font-size: .8125rem;
}
/** 评论弹窗 */
.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    overflow: hidden;
    transition: width 0.3s;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.5);
}
.drawer.open {
    width: 100%;
    z-index:999
}
.drawer .drawer-content {
    padding: 1.25rem;
}
.comment-drawer-head {
    font-size: 1.125rem;margin-bottom: 1rem;display: flex;color:#e9a6b2
}
.comment-drawer-head .comment-close{
    margin-left: auto
}


.comictail-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px;
    box-sizing: border-box;
}

.comictail-list {
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    border: 1px solid #ccc;
    padding: 4px;
    border-radius: 5px;
}

.comictail-list a strong {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
}

.comic_desc_pl {
    margin: 10px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.comic_desc_pl p {
    margin-bottom: 10px;
}

.comic_desc_pl a {
    color: #333;
    text-decoration: none;
}

.comment-list {
    margin: 10px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

#comment-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#comment-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.pic img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.info {
    max-width: calc(100% - 60px);
}

.nickname {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
}

.nickname span {
    font-weight: normal;
    font-size: 14px;
    color: #888;
    margin-left: 5px;
}

.text {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .nickname {
        font-size: 14px;
    }

    .nickname span {
        font-size: 12px;
    }

    .text {
        font-size: 14px;
    }
}

.button-container {
    text-align: center;
}

.read-button {
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    background-color: #FFA500;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.read-button:hover {
    background-color: #e59400;
}

.download-button {
    display: block;
    width: 100%;
    height: 45px;
    line-height: 45px;
    background-color: red;
    text-align: center;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
}
