@charset "UTF-8";
/* 主题内容 */
.h5Main .contains {
    background-color: #F5F4F4;
    min-height: calc(100vh - 2.75rem);
    padding-bottom: 3.875rem;
}
/* 书籍信息 */
.h5Main .bookInfoBar {
    padding: 1rem 1rem 1.625rem;
    margin-bottom: 0.625rem;
    background-color: #fff;
}

.h5Main .bookBaseInfo {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1rem;
}

.h5Main .bookImage {
    width: 6rem;
    height: 8rem;
    margin-right: 0.6875rem;
}

.h5Main .bookText {
    width: calc(100% - 6rem - 0.6875rem);
}

    .h5Main .bookText h1 {
        font-size: 1.375rem;
        line-height: 2rem;
        height: 4rem;
        /* min-height: 4rem; */
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        word-break: break-all;
        -webkit-box-orient: vertical;
        color: #1a1a1a;
    }

    .h5Main .bookText p {
        margin-top: 0.375rem;
        font-size: 0.75rem;
        line-height: 1.2;
        color: #191919;
    }

.h5Main .bookDesc {
    position: relative;
    border-top: 0.0625rem solid #ebebeb;
    padding-top: 1rem;
    max-height: 7rem;
    overflow: hidden;
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: #191919;
}

    .h5Main .bookDesc.show {
        max-height: none;
        overflow: unset;
    }

.h5Main .showToggle {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.4375rem 0.4375rem 0.4375rem 1.6875rem;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, #FFFFFF 49%, #FFFFFF 100%);
}

    .h5Main .showToggle svg {
        transition: all 0.5s ease-out;
        transform: rotate(0deg);
    }

.h5Main .bookDesc.show .showToggle svg {
    transform: rotate(180deg);
}

.h5Main .bookBtn {
    display: flex;
    justify-content: center;
    width: 100vw;
    position: fixed;
    left: 0;
    bottom: 0;
    padding: 0.625rem 1rem;
    background-color: #fff;
    z-index: 9;
}

    .h5Main .bookBtn button {
        height: 2.625rem;
        line-height: 2.625rem;
        width: calc(50% - 0.5rem);
        font-size: 0.9375rem;
        margin-left: 0;
    }

        .h5Main .bookBtn button:first-child {
            margin-right: 1rem;
        }
/*.h5Main .bookBtn button:last-child{
    margin-left: 1rem;
}*/
/* 加入书架 */
.h5Main #addBookH5, #addedBookH5 {
    display: none;
}

    .h5Main #addBookH5.show, #addedBookH5.show {
        display: inline-block;
    }
/* 章节模块 */
.h5Main .chapterBar {
    background-color: #fff;
    /* padding: 1rem 1rem 1.625rem; */
}

.h5Main .chapterTop {
    position: sticky;
    top: 0;
    background-color: #fff;
}

.h5Main .chapterTitle {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    font-size: 0.875rem;
    line-height: 1;
    color: #FF3955;
    font-weight: bold;
    border-bottom: 1px solid #FF3955;
}

.h5Main .chapterConfig {
    display: flex;
    justify-content: space-between;
}

    .h5Main .chapterConfig span {
        font-size: 0.875rem;
        line-height: 1;
        padding: 1rem;
    }

        .h5Main .chapterConfig span:first-child {
            font-weight: bold;
            color: #191919;
        }

        .h5Main .chapterConfig span:last-child {
            color: #FF3955;
        }

.h5Main .chapterList {
    margin: 0 1rem;
}

    .h5Main .chapterList li {
        border-top: 1px solid #EBEBEB;
    }

        .h5Main .chapterList li:first-child {
            border-top: 0;
        }

    .h5Main .chapterList a {
        width: 100%;
        display: inline-flex;
        font-size: 0.875rem;
        color: #191919;
        padding: 0.875rem 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        align-items: center;
        position: relative;
    }

        .h5Main .chapterList a svg {
            position: absolute;
            right: 0;
        }

.h5Main #scrollTopH5 {
    width: 44px;
    height: 44px;
    position: fixed;
    right: 22px;
    bottom: 110px;
    display: none;
}

    .h5Main #scrollTopH5.show {
        display: block;
    }
