@charset "UTF-8";
/* 轮播图 */
.h5Main .swiperH5{
    overflow: hidden;
    width: 100vw;
    height: 8.5rem;
}
.h5Main .swiperH5 img{
    width: 100vw;
    height: 8.5rem;
}
/* 搜索栏 */
.h5Main .searchBar{
    padding: 0.75rem 1rem;
}
.h5Main .searchBarInner{
    width: 100%;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 1rem;
}
.h5Main .searchBarInner img{
    width: 0.87rem;
    height: 0.924375rem;
    margin-right: 0.375rem;
}
.h5Main .searchBarInner span{
    font-size: 0.75rem;
    color: #808080;
}
/* 标题 */
.h5Main .title{
    padding: 0.8125rem 1rem 0.3125rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.h5Main .titleLeft{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.h5Main .titleLeft img.icon-1{
    display: inline-block;
    width: 1.375rem;
    height: 1.375rem;
}
.h5Main .titleLeft h3{
    color: #191919;
    font-size: 1rem;
    font-weight: bold;
    margin-left: 0.25rem;
}
.h5Main .titleRight a{
    width: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 0.75rem;
    color: #848484;
}
.h5Main .titleRight a img{
    width: 0.4456rem;
    height: 0.7731rem;
    margin-left: 0.375rem;
}
/* 小说列表 */
.h5Main .bookList{
    padding: 0 1rem;
}
.h5Main .bookList .bookItem{
    padding: 1rem 0;
    border-top: 0.0625rem solid #f5f5f5;
}
.h5Main .bookList .bookItem:first-child{
    border-top: 0;
}
.h5Main .bookList .bookItem a{
    display: flex;
    justify-content: space-between;
}
.h5Main .bookList .bookItem a:active{
    background-color: #fafafa;
}
.h5Main .bookList .bookImg{
    width: 4.125rem;
    height: 5.5rem;
    border: 0.0625rem solid #E9E9E9;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.1);
}
.h5Main .bookList .bookImg img{
    width: 100%;
    height: 100%;
}
.h5Main .bookList .bookInfo{
    width: calc(100% - 4.125rem - 0.625rem);
}
.h5Main .bookList .bookInfo h4{
    font-size: 0.875rem;
    line-height: 1;
    color: #191919;
    font-weight: bold;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.h5Main .bookList .bookInfo p{
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.625rem;
    line-height: 1.25rem;
    height: 2.5rem;

    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    word-break: break-all; 
    -webkit-box-orient: vertical;
}
.h5Main .bookList .bookDesc{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}
.h5Main .bookList .bookAuthor{
    font-size: 0.75rem;
    color: #a6a6a6;
}
.h5Main .bookList .bookTags{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.h5Main .bookList .bookTags .tag{
    margin-right: 0.25rem;
    font-size: 0.625rem;
    line-height: 1;
    padding: 2px 3px;
    border-width: 0.0625rem;
    border-style: solid;
    border-radius: 0.125rem;
}
.h5Main .bookList .bookTags .tag:last-child{
    margin-right: 0;
}
.h5Main .bookList .bookTags .tag.tag-1{
    color: #FF4E98;
    border-color: #FF4E98;
}
.h5Main .bookList .bookTags .tag.tag-2{
    color: #FF824D;
    border-color: #FF824D;
}

/* 排行榜小说 */
.h5Main .rankBox{
    padding: 0.625rem 1rem 0.75rem;
}
.h5Main .rankTitle{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    line-height: 1;
    color: #a2a2a2;
}
.h5Main .rankTitle::before{
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 0.0625rem;
    width: 100%;
    left: 0;
    background-color: #e8e8e8;
}
.h5Main .rankTitle h5{
    position: relative;
    z-index: 1;
    padding: 0 0.625rem;
    background-color: #fff;
    display: inline-block;
}
.h5Main .rankBookList{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.h5Main .rankBookList li{
    width: 25%;
    padding-top: 0.875rem;
    padding-bottom: 1.625rem;
}
.h5Main .rankBookList li:nth-child(2){
    padding-left: calc((25% - 4.125rem) / 3);
}
.h5Main .rankBookList li:nth-child(3){
    padding-left: calc((25% - 4.125rem) / 3 * 2);
}
.h5Main .rankBookList li:nth-child(4){
    padding-left: calc(25% - 4.125rem);
}
.h5Main .rankBookList a{
    width: 4.125rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.h5Main .rankBookList a:active{
    background-color: #fafafa;
}
.h5Main .imageBox{
    width: 4.125rem;
    height: 5.5rem;
    border: 0.0625rem solid #E9E9E9;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.1);
}
.h5Main .imageBox img{
    width: 100%;
    height: 100%;
}
.h5Main .rankBookList li h4{
    margin-top: 0.4375rem;
    font-size: 0.8125rem;
    line-height: 1.0625rem;
    height: 2.125rem;
    color: #191919;

    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    word-break: break-all; 
    -webkit-box-orient: vertical;
}
.h5Main .rankBookList li p {
    margin-top: 0.5625rem;
    width: 100%;
    font-size: 0.75rem;
    line-height: 15px;
    color: #828282;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
    height: 15px;
}
