/* 基本字体、颜色、背景、 */
.font-10{
    font-size: 0.19rem;
}
.font-12{
    font-size: 0.23rem;
}
.font-14{
    font-size: 0.27rem;
}
.font-16{
    font-size: 0.30rem;
}
.font-18{
    font-size: 0.34rem;
}
.font-20{
    font-size: 0.38rem;
}
.font-22{
    font-size: 0.42rem;
}
.base-color{
    color: #f86442;
}
.base-bg{
    background-color: #f86442;
}
.color-modle{
    color: rgba(18, 18, 23, 0.9);
}
.color-title{
    color: #1f2129;
}
.color-category-title{
    color: #3b66f5;
}
.color-category{
    color: rgba(18, 18, 23, 0.6);
}
.color-white{
    color: #fff;
}
.color-e6{
    color: #e6e6e6;
}
.color-999{
    color: #999;
}
.common-white-pre-line{
    white-space: pre-line;
}
.common-ells-2{
    display: -webkit-box;
    word-wrap: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.common-ells-1{
    display: -webkit-box;
    word-wrap: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}
.weight-500{
    font-weight: 500;
}
/* 新模板顶部导航 */
.novel-tab-bar{
    white-space: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* iOS流畅滚动 */
    margin-top: .2rem;
}
.novel-tab-bar-item-2{
    display: flex;
    justify-content: space-around;
}
.novel-tab-item{
    display: inline-flex;
    margin-right: .2rem;
    padding:.1rem .2rem .2rem;
}
.novel-tab-item a{
    color: #e6e6e6;
}
.novel-tab-item.active{
    border-bottom: 1px solid #fff;
    color: #fff;
    font-weight: 600;
    font-size: .30rem;
}

.novel-tab-item.active a{
    color: #fff;
}
/* <!-- 新模板 内容分类--> */
.novel-modle{
    width: 85%;
    box-sizing: border-box;
    margin:0 auto;
    border-radius: 0.15rem;
    background: #fff;
    padding:0.25rem;
    margin-bottom: .3rem;
    margin-top: 2.2rem;
}
.novel-list{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.novel-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.novel-item .novel-icon{
    width: 0.67rem;
    height: 0.67rem;
    margin-bottom: 0.17rem;
}

.novel-item .novel-icon img{
    display: block;
    width: 100%;
}
/* 新模板 小说分类书架 */
.bookshelf-list{
    padding: 0 0.3rem .3rem .3rem;
    box-sizing: border-box;
}
.bookshelf-item{
    margin-bottom: .1rem;
}

.bookshelf-title{
    margin-bottom: .25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bookshelf-book-list{
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
}
.book-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.book-item-1{
    width: 23%;
    margin-bottom: 0.3rem;
    margin-right: 2.5%;
}
.book-item-2{
    width: 31%;
    margin-bottom: 0.3rem;
    margin-right: 3%;
}
.book-item-1:nth-child(4n),.book-item-2:nth-child(3n){
    margin-right:0;
}
.book-img{
    border-radius: 4px;
}
.book-item-2 img{
    border-radius: 8px;
}
.book-img img{
    width: 100%;
    display: block;
    margin-bottom: 4px;
    border-radius: 4px;
}  
.book-title{
    line-height: 0.3rem;
}
.bookshelf-book-list-2{
    white-space: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* iOS流畅滚动 */
}
.scroll-container::-webkit-scrollbar {
  display: none; /* 隐藏滚动条 */
}
.book-list-2-item{
    width: 1.25rem;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: .2rem;
}
.b-style-2-img{
    width: 1.25rem;
    margin-bottom: .1rem;
    position: relative;
}
.b-style-2-img img{
    display: block;
    width: 100%;
    border-radius: 4px;
}
.shadow-info{
    position: absolute;
    bottom:.1rem;
    width: 100%;
    background-color: rgba(0, 0, 0, .3);
    text-align: left;
    padding-left:.1rem;
}
/* 横向滚动+swiper切换 响应变化 */
.bookshelf-swiper{
    background: #fff;
    border-radius: 0.3rem;
    padding: 0.42rem 0 0.2rem .3rem;
    margin-bottom: 0.46rem;
}
.tab-bar {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 1px solid #ddd;
}

.tab-bar::-webkit-scrollbar {
    display: none;
}

.tab-item {
    flex-shrink: 0;
    padding: 12px 20px 12px .3rem;
    cursor: pointer;
    transition: color 0.2s;
    font-weight: 500;
}
.tab-item:nth-child(1){
    padding-left:0;
}
.tab-item.active {
    border-bottom: 1px solid #f86442;
}
.bookshelf-info{
    margin:.3rem 0;
}
.swiper-container {
    width: 100%;
    overflow: hidden;
}

.swiper-wrapper {
    padding-right: 10%;
    display: flex;
    transition: transform 0.3s ease;
}

.swiper-slide {
    flex-shrink: 0;
    width: 90%;
    /* height: 300px; */
    font-size: 24px;
}
.slide-book-item{
    display: flex;
    margin-bottom:.2rem;
}
.slide-book-name{
    margin-left: .3rem;
    line-height: .4rem;
}
.slide-book-img{
    width: 15%
}
.slide-book-img img{
    display: block;
    border-radius: 4px;
    width: 100%;
}
.slide-book-info{
    width: 75%;
    margin-left: .1rem;
}
.swiper-more-book{
    width: 100%;
    padding: .15rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: .3rem;
}
.more-btn{
    width: 7px;
    height: 10px;
}
.more-btn img{
    display: block;
    width: 100%;
    transform: rotate(180deg);
}


/* list 分类 */
.novel-book-category{
    margin-top: 1rem;
}
.book-category-item .category-item-head{
    padding: .2rem;
    display: flex;
    align-items: center;
}
.category-head-line{
    width:3px;
    height:16px;
    background: #f86442;
    margin-right:.3rem;
}
.category-head-title{
    color:#333;
    font-weight: 600;
}
.category-item-content .category-content-list{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.category-content-list .content-item{
    width: 32%;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right:2%;
    margin-bottom: 4px;
    padding:.2rem 0;
    font-size: 0.27rem;
}
.category-content-list .content-item:nth-child(3n){
    margin-right:0;
}
.content-item.active{
    background-color: #f86442;
    color: #fff;
}
.active a{
	color: #fff;
}
.novel-swiper-container {
  width: 85%;
  margin: 2.2rem auto 0.3rem;
  border-radius: 10px;
  overflow: hidden;
  height: 3.1rem;
}

.swiper-slide .slide-book-img-2 {
  width: 100%;
  height: 3.1rem;
}
.swiper-pagination-bullet-active{
    background:#f86442!important;
}

.common-header{
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    padding:.2rem .3rem;
    background: #fff;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 0.8rem;
}
.common-header .back-icon{
    width: 0.4rem;
    height: 0.4rem;
    display: block;
}
.chapter-list-item{
    display: flex!important;
    align-items: center;
    justify-content: space-between;
}
.vip-symbol{
    display: block;
    width: .4rem;
    height: .4rem;
}

/* .swiper-slide:nth-child(1){
    background-color: red;
}
.swiper-slide:nth-child(2){
    background-color: green;
}
.swiper-slide:nth-child(3){
    background-color: blue;
}
.swiper-slide:nth-child(4){
    background-color: pink;
}
.swiper-slide:nth-child(5){
    background-color: orange;
} */