*{margin: 0;padding: 0;	box-sizing: border-box;}
body {font: 16px/1.5rem '宋体',sans-serif;	color: #666;background:#E9FAFF;}
body,button,dd,div,dl,dt,form,h1,h2,h3,h4,h5,h6,iframe,input,ol,p,pre,select,table,td,textarea,th,ul,em,i {font-weight: 400;	font-style: normal;}
ol,li,ul{list-style: none;}dd,div,dl,dt,form,img,li,ol,ul {border: 0;}button,input{outline: none;}

.red{color:#bf2c24}.blue{color:#4284ed}.dark{color: #33373d}.green{color:green}.orange{color: #f0643a}.yellow {color: #f0c53a}.purple{color: #a091ff}.gray{color:#B3B3B3}

a{
	color:#666;
	text-decoration: none;
}

.s_gray{
	font-size:.7rem;
	color: #B3B3B3;
}

.mt8{
    margin-top: 8px!important;
}
.mb20{
    margin-bottom: 20px!important;
}
.w80{
    width: 80%;
}
.w100{
    width: 100%!important;
}
.indent{text-indent:2em;}
.tc{text-align:center}
.tl{text-align:left}
.fr{float: right}
.fl{float: left}
.flex{
	display:flex;
}
.flex-wrap{
	flex-flow: wrap;
}
.flex-between{
	justify-content: space-between;
}
.flex-center{
	justify-content: center;
}
.flex-flow-center{
	flex-flow: center;
}
.align-items-center{
	align-items: center;
}
.container{
    max-width: 980px;
    margin: 0 auto;
}

header, nav{
    max-width: 980px;
    margin: 0 auto;
    padding: 0 15px;
}
header{
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
    align-items: center;
}
nav{
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
    align-items: center;
    background: #88C6E5;
    margin-bottom: 8px;
    font-weight: 700;
}
.logo{
    display: block;
    text-align: center;
    padding: 10px 0;
}
.logo em{
    font-size: 24px;
    font-weight: 700;
    display: block;
}

.search{
    margin-bottom: 5px;
}
.search .flex{
    align-items: center;
}
#searchkey{
    height: 38px;
    width: 250px;
    margin-right: -8px;
    border: 1px solid #C3DFEA;
    text-indent: 5px;
}
.search_btn{
    height: 38px;
    width: 60px;
    background: #88C6E5;
    border: none;
    color: #fff;
    border-bottom: 2px solid  #88C6E5;
}

nav a{
    color: #fff;
    font-size: 16px;
    padding: 8px;
}
/* 封推及热门 */
.commend{
    width:70%;
    margin-right: 1%;
    padding: 10px 10px 0;
    flex-flow: wrap;
}
.commend .outdiv{
    width: 48%;
    display: flex;
}

.commend img{
    width:100px;
    height: 133px;
    margin: 0 15px 18px 0;
    flex: none;
}
.commend .intro{
    line-height: 1.15rem;
    overflow: hidden;
    height: 100px;
    margin-top: 5px;
    padding: 10px 0;
    font-size: 13px;
    border-top: 1px dotted #A6D3E8;
}
.commend h3{
    max-width: 100%;
    font-size: 16px;
}
.commend span{
    color: #B3B3B3;
    font-size: 14px;
}
.commend-title{
    height: 20px;
    line-height: 20px;
    overflow: hidden;
}

.popular{
    width:29%;
}
.popular > p{
    background-color: #e1eced;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    font-weight: 700;
    height: 35px;
    line-height: 35px;
    padding-left: 10px;
}
.popular-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding-right:10px;
    background-color:#e1eced;
    border-bottom:1px solid #ddd;
}
.popular-head > p{
    flex:1 1 auto;
    margin:0;
    border-bottom:none;
}
.popular-more{
    flex:none;
    font-size:12px;
    color:#666;
    text-decoration:none;
    white-space:nowrap;
}
.popular-more.is-disabled{
    color:#999;
}
.top-rank-row{
    justify-content:space-between;
}
.top-rank-card{
    width:49%;
}
/* .popular a, .lastupdate a{ */
.list-out {
    margin: 0 10px;
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    height: 35px;
    overflow: hidden;
}
.list-out span:last-child{
    border-bottom: unset;
}

/* 中间区块 */
.sort-section{
    width: 99%;
    margin-top: 8px;
}
.sort-section a{
    font-size: 13px;
}

.sort-section > div{
    width:33%;
}

.sort-title{
    border-bottom: solid 1px #A6D3E8;
    background-color: #F6F8FE;
    font-size: 14px;
    font-weight: 700;
    line-height: 30px;
    height: 30px;
    margin:0 3px 8px;
    padding-left: 8px;
}

.sort-bottom{
    padding: 0 8px 5px 8px;
    width: 100%;
}

.sort-bottom .sortdiv {
    width: 100%!important;
}

.sort-section img{
    width: 60px!important;
    flex: none;
    height: 80px;
    margin: 5px 18px 0 0;
}

.sort-section h4{
    font-size: 14px;
    margin: 5px 0 3px;

}

.sort-section p{
    font-size: 13px;
    line-height: 1.15rem;
    height: 55px;
    overflow: hidden;
}

.sort-section-more {
    margin-top: 10px;
}
.sortlist{
/* .sort-section-more a{ */
  margin-right:2%;
  width: 48%;
  overflow: hidden;
  height: 28px;
  line-height: 28px;
  border-bottom: solid 1px #ddd;
}
.sort-middle{
    border-left: dotted 1px #A6D3E8;
    border-right: dotted 1px #A6D3E8;
    width: 34%!important;
}
/* 最后更新和最新入库 */
.section-bottom{
    margin-top: 8px;
}

.section-bottom > div > p{
    padding-left: 10px;
    background-color: #A6D3E8;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    font-weight: 700;
    border-bottom: solid 1px #DDDDDD;
}

.lastupdate{
    width: 70%;
    margin-right: 1%;
}
.lastupdate em:nth-child(1){width:14%;}
.lastupdate em:nth-child(2){width:36%;}
.lastupdate em:nth-child(3){width: 50%;}
/* 通用3px边框 */
.border3{
    border: 3px solid #C3DFEA;
    background: #FEF9EF;
}

.border3-1{
    border: 3px solid #C3DFEA;
    background: #E1ECED;
}

.border3-2{
    border: 3px solid #C3DFEA;
}

/* 友情链接 */
.link{
    border: 1px solid #DDD;
    line-height: 22px;
    width: 980px;
    margin: 10px auto;
    padding: 9px 0 9px 9px;
    font-size: 13px;
    margin-bottom: 30px;
}

/* 信息页 info S */
.info-title{
    border-bottom: #88C6E5 1px solid;
    padding: 0px 10px;
    line-height: 40px;
    height: 40px;
    background-color: #E1ECED;
    font-size: 13px;
    overflow: hidden;
}

.info-main{
    display: flex;
    padding: 8px 8px 0;
    font-size: 14px;
}

.info-main h1{
    font-family: 黑体;
    font-size: 28px;
    font-weight: 700;
    padding: 1px;
    margin: 20px 0 10px 0;
    line-height: 2rem;
}

.info-main img{
    width: 150px;
    height: 190px;
    flex: none;
    background: #E1ECED;
    padding: 15px;
    margin: 5px 30px 12px 5px;
}

.info-main span{
    display: inline-block;
    width: 50%;
    margin: 2px 0;
}

.info-main-intro{
    border-top: 1px dashed #88C6E5;
    padding-top: 15px;
    height: 70px;
    overflow: hidden;
    line-height: 1.15rem;
}

.info-main-intro p{
    text-indent: 2rem;
    font-size: 13px;
    
}
.info-main-wap{
    padding: 3px 8px 0 20px;
    font-size: 13px;
    border-top: 1px dashed #ddd;

}
.info-chapters{
    padding: 8px;
}
.info-chapters-title{
    background-color: #e1eced;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    overflow: hidden;
}
.info-chapters a{
    width: 33%;
    overflow: hidden;
    height: 35px;
    line-height: 35px;
    font-size: 13px;
    border-bottom: 1px dashed #CCC;
}

.info-commend{
    font-size: 13px;
    width: 90%;
    margin: 0 auto;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
}


.top-rank-links{
    width: 100%;
    height: auto;
    line-height: 36px;
    overflow: visible;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0;
    padding: 0 10px;
}
.top-rank-links a,
.top-rank-links span{
    display: block;
    padding: 0 10px 0 0;
    white-space: nowrap;
}
.popular-head{
    flex-wrap: nowrap;
}
.popular-head > p{
    min-width: 0;
}
.popular-more{
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
}


/* 阅读页 */
.reader-main{
    text-align: center;
}
.reader-main h1{
    font-size: 24px;
    font-weight: 700;
    margin: 25px 0 15px;
}
.reader-hr{
    border-bottom: 1px dashed #88C6E5;
    margin: 5px 0 10px;
}
article{
    font-family: 方正启体简体,"Microsoft YaHei",微软雅黑,宋体;
    font-size: 20px;
    letter-spacing: 0.2em;
    width: 85%;
    margin: auto;
    text-align: justify;
    line-height: 1.5;
}
article p{
    text-indent: 2rem;
    margin: 1.5rem 0;

}

.reader-bottom{
    text-align: center;
    margin-bottom: 10px;
}
.read_nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:8px;
    line-height:1.8;
    margin:12px auto 0;
    font-size:14px;
}
.read_nav_sep{
    color:#999;
}
.read_nav .w_gray{
    color:#999;
}
.rank-switches a.active{
    color:#fff;
    background:#88C6E5;
    padding:0 8px;
    border-radius:12px;
}

/* 分类列表页 */
.category-commend{
    width: 100%!important;
    margin: 0!important;
}
.category-commend .category-div{
    width: 32%;
    display: flex;
}

/* 底部 */
.footer{
    border-top: 2px solid #88C6E5;
    overflow: hidden;
    width: 92%;
    margin: 0 auto 10px;
    text-align: center;
    font-size: 12px;
}
.footer p{
    margin:6px 0;
}
.footer-sitemap{
    display:block;
}
.footer-sitemap span{
    display:inline-block;
    margin:0 6px;
}
.diswap{
    display: none;
}

.gotop{
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #000;
    background: #eee;
    position: fixed;
    right: 50%;
    bottom: 80px;
    z-index: 10;
    margin-right: -535px;
}
    
@media screen and (max-width:767px){
  .gotop {
    right: 20px;
    margin-right: unset;
  }

  header{
    padding: 10px 12px 6px;
    align-items: flex-start;
  }
  nav{
    padding: 0 8px;
    justify-content: flex-start;
  }
  .logo{
    width: 100%;
    padding: 0;
    margin-bottom: 8px;
    text-align: left;
  }
  .logo em{
    font-size: 20px;
    line-height: 1.3;
  }
  .search{
    width: 100%;
    margin-bottom: 8px;
  }
  .search .flex{
    width: 100%;
  }
  #searchkey{
    width: calc(100% - 60px);
    min-width: 0;
    margin-right: 0;
    border-right: none;
  }
  .search_btn{
    flex: none;
  }
  nav a{
    flex: 0 0 20%;
    min-width: 20%;
    padding: 10px 4px;
    text-align: center;
    font-size: 14px;
  }

  .lastupdate, .info-chapters a, .sort-section > div,.commend, .popular, .outdiv, .category-div{
    width: 100%!important;
    margin: 0;
  }

  .commend .outdiv,
  .category-commend .category-div{
    display:flex;
    align-items:flex-start;
    gap:12px;
    padding:12px 0;
    border-bottom:1px solid #ddd;
  }
  .commend .outdiv:last-child,
  .category-commend .category-div:last-child{
    border-bottom:none;
  }
  .commend .outdiv > a,
  .category-commend .category-div > a{
    flex:none;
  }
  .commend .outdiv > div,
  .category-commend .category-div > div{
    flex:1 1 auto;
    min-width:0;
  }
  .commend img{
    width:84px;
    height:112px;
    margin:0;
  }
  .commend-title{
    display:flex;
    align-items:flex-start;
    gap:8px;
    line-height:1.4;
  }
  .commend-title > a{
    flex:1 1 auto;
    min-width:0;
  }
  .commend-title h3{
    display:block;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
  }
  .commend-title span{
    flex:none;
    max-width:40%;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
  }
  .commend .intro{
    margin-top:6px;
    padding:6px 0 0;
    height:auto;
    max-height:5.2rem;
    line-height:1.3rem;
    overflow:hidden;
    word-break:break-word;
    text-indent:0;
    display:-webkit-box;
    -webkit-line-clamp:4;
    -webkit-box-orient:vertical;
  }

  .popular{
    margin-top: 8px;
  }

  .top-rank-card{
    width:100%!important;
  }

  .popular-head{
    padding-right:8px;
  }


  .top-rank-page .top-rank-links,
  .rank-detail-page .top-rank-links{
    display: flex!important;
    width: 100%!important;
    padding: 0;
    margin: 0;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
  }
  .top-rank-page .top-rank-links a,
  .top-rank-page .top-rank-links span,
  .rank-detail-page .top-rank-links a,
  .rank-detail-page .top-rank-links span{
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    padding: 0;
    text-align: center;
    line-height: 38px;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .info-commend, .dispc{
    display: none;
  }
  .diswap{
    display: none;
  }
  .info-main img{
    width: 133px;
    height: 170px;
    margin-right: 15px;
  }
  article{
    width:95%;
  }

  .read_nav{
    gap:6px;
    font-size:13px;
  }

  .lastupdate a span:last-child,
  .lastupdate .list-out span:first-child em:first-child
  {
    display: none;
  }

  .lastupdate em:nth-child(2) {
    width: 45%;
  }
  .lastupdate a span:first-child{
    width: 100%!important;
  }
}

/* 阅读页分页导航 */
.chapter-pagination {
    width: 85%; /* 和article保持一致 */
    max-width: 980px; /* 限制最大宽度 */
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.chapter-page-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #88C6E5;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.chapter-page-btn:hover {
    background: #66a6c5;
}

.chapter-page-info {
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* 章节范围信息 */
.chapter-range-info {
    width: 85%;
    max-width: 980px; /* 改为980px */
    margin: 15px auto;
    padding: 10px 15px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
    color: #666;
}

.chapter-range-info strong {
    color: #333;
    font-weight: bold;
}

/* 分页导航 */
.chapter-pagination {
    width: 85%;
    max-width: 980px; /* 改为980px */
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.chapter-page-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #88C6E5;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.chapter-page-btn:hover {
    background: #66a6c5;
}

.chapter-page-btn:active {
    transform: translateY(1px);
}

.chapter-page-info {
    font-size: 14px;
    color: #666;
    text-align: center;
    font-weight: normal;
}

/* 如果没有上一页/下一页时，可以隐藏按钮 */
.chapter-page-btn[href=""] {
    visibility: hidden;
}

/* 移动端适配 */
@media screen and (max-width:767px){
    .chapter-pagination {
        width: 95%;
        flex-direction: column;
        gap: 12px;
        padding: 10px 0;
    }
    
    .chapter-page-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 10px;
        order: 2; /* 按钮在移动端放在下面 */
    }
    
    .chapter-page-info {
        order: 1; /* 页码信息在移动端放在上面 */
        margin-bottom: 10px;
        width: 100%;
    }
    
    .chapter-range-info {
        width: 95%;
        font-size: 13px;
        padding: 8px 10px;
        margin: 10px auto;
    }
}
/* 如果内容为空时的占位符样式 */
.chapter-range-info:empty {
    display: none;
}

/* 如果某些变量没有值时，隐藏整个div */
.chapter-range-info[style*="display:none"],
.chapter-range-info[hidden] {
    display: none !important;
}

/* 确保strong标签内的内容正常显示 */
.chapter-range-info strong {
    margin: 0 5px;
}

/* 分隔线样式 */
.chapter-range-info br {
    display: none; /* 如果用了<br>标签换行，可以用这个隐藏 */
}

.chapter-range-info {
    /* 用更优雅的方式换行 */
    white-space: normal;
    word-break: break-word;
}

/* biquge v6 info/indexlist/recentread */
.chapter-empty{
    width:100%;
    padding:18px 10px;
    color:#888;
    font-size:13px;
    text-align:center;
}
.chapter-group-title{
    background:#f7fbfd;
    border-bottom:1px dashed #ccc;
    color:#555;
}
.info-index-more{
    float:right;
    margin-right:12px;
    font-size:14px;
    color:#4a90e2;
    text-decoration:none;
}
.info-index-more-wrap{
    text-align:center;
    margin-top:20px;
}
.info-index-more-btn{
    display:inline-block;
    padding:10px 25px;
    background:#4a90e2;
    color:#fff;
    text-decoration:none;
    border-radius:5px;
    font-weight:700;
}
.recentread-page .recentread-p{
    background-color:#e1eced;
    border-bottom:1px solid #ddd;
    font-size:14px;
    font-weight:700;
    line-height:35px;
    min-height:35px;
    padding:0 10px;
}
.recentread-page .recentread-tools{
    display:flex;
    justify-content:flex-end;
    padding:10px;
    border-bottom:1px solid #ddd;
    background:#f7fbfd;
}
.recentread-page .recentread-btn{
    height:34px;
    padding:0 14px;
    border:1px solid #88C6E5;
    background:#88C6E5;
    color:#fff;
    border-radius:3px;
    cursor:pointer;
}
.recentread-page .recentread-main{
    width:100%;
    display:flex;
    align-items:center;
    border-bottom:1px solid #ddd;
    line-height:40px;
    min-height:40px;
    overflow:hidden;
    padding:0 10px;
    font-size:13px;
    background:#fff;
}
.recentread-page .recentread-head{
    font-weight:700;
    background:#f8fbfd;
}
.recentread-page .recentread-row-link{
    width:100%;
    display:flex;
    align-items:center;
    min-width:0;
}
.recentread-page .recentread-row-link span{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.recentread-page .recentread-row-link span:first-child{width:4%;}
.recentread-page .recentread-row-link span:nth-child(2){width:27%;}
.recentread-page .recentread-row-link span:nth-child(3){width:38%;}
.recentread-page .recentread-row-link span:nth-child(4){width:17%;}
.recentread-page .recentread-row-link span:nth-child(5){width:14%; text-align:right;}
.recentread-page .recentread-op{
    width:48px;
    flex:none;
    text-align:right;
    color:red;
}
.recentread-page .recentread-empty{
    padding:16px 10px;
    color:#888;
    font-size:13px;
}
@media screen and (max-width:767px){
    .info-index-more{
        float:none;
        display:block;
        margin:0;
        color:#4a90e2;
        font-size:13px;
    }
    .recentread-page .recentread-tools{
        justify-content:stretch;
    }
    .recentread-page .recentread-btn{
        width:100%;
    }
    .recentread-page .recentread-row-link span:first-child,
    .recentread-page .recentread-row-link span:nth-child(4),
    .recentread-page .recentread-row-link span:nth-child(5){
        display:none;
    }
    .recentread-page .recentread-row-link span:nth-child(2){width:42%;}
    .recentread-page .recentread-row-link span:nth-child(3){width:58%;}
    .recentread-page .recentread-op{
        width:42px;
        margin-left:8px;
    }
}


/* biquge v9 final cleanup */
.biquge-page-empty{
    padding:18px 10px;
    color:#888;
    font-size:13px;
    text-align:center;
}
.rank-empty,
.top-rank-empty{
    margin:0 10px;
    border-bottom:0;
}
.reader-pagecount{
    font-size:14px;
    color:#666;
    margin-left:10px;
}
.error-page{
    padding:18px 10px;
}
.error-page-box{
    padding:18px 14px;
    text-align:center;
}
.error-page-title{
    margin:0 0 10px;
    font-size:24px;
    line-height:1.4;
    color:#333;
}
.error-page-desc{
    margin:0 0 14px;
    color:#666;
}
.error-page-actions{
    margin:0 0 14px;
}
.error-page-link{
    display:inline-block;
    margin:0 6px;
    color:#4a90e2;
    text-decoration:none;
}
.error-page-link-btn{
    border:0;
    background:none;
    font:inherit;
    cursor:pointer;
    padding:0;
}
.error-page-search{
    max-width:520px;
    margin:0 auto;
    display:flex;
    gap:8px;
}
.error-page-input{
    flex:1 1 auto;
    min-width:0;
    padding:10px;
    border:1px solid #ddd;
    background:#fff;
}
.error-page-submit{
    padding:10px 16px;
    border:1px solid #88C6E5;
    background:#88C6E5;
    color:#fff;
    cursor:pointer;
}
.error-page-submit[disabled]{
    opacity:.65;
    cursor:not-allowed;
}
@media screen and (max-width:767px){
    .error-page{
        padding:12px 10px;
    }
    .error-page-box{
        padding:16px 12px;
    }
    .error-page-title{
        font-size:20px;
    }
    .error-page-actions{
        display:flex;
        justify-content:center;
        gap:12px;
        flex-wrap:wrap;
    }
    .error-page-link{
        margin:0;
    }
}

.rank-detail-page .popular{
    width:100%;
}
.rank-detail-page .list-out{
    height:auto;
    min-height:35px;
}
.info-commend-mobile{display:none;}
@media screen and (max-width:767px){
  .info-commend-mobile{display:block;}
  .info-commend.mobile-visible{display:block!important;padding:10px;}
  .info-commend.mobile-visible a{display:inline-block;margin:0 8px 8px 0;}
}
