/* #region 公共start */
.container {
    width: 1200px;
    margin: 0 auto;
}
body {
    background-color: #f6f6f6;
}
body,html {
  scroll-behavior: smooth;
}
.bi::before, [class*=" bi-"]::before, [class^=bi-]::before {
    font-weight: 1000 !important; 
}
a:hover {
    color: inherit;
    text-decoration: none;
}
/* #endregion 公共end */

/* #region 头部start */
.top-nav {
  background-color: #FFF;  
}
.top-nav header {
    display: flex;
    align-items: center;
    height: 70px;
    background-color: #FFF;
}
.top-nav header .logo {
    height: 65px;
}
.top-nav header .content {
    flex-grow: 1;
    margin-left: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.top-nav header .nav-list {
    display: flex;
    font-size: 20px;
    font-weight: bold;
}
.top-nav header .nav-list li {
    margin-right: 20px;
}

.top-nav header .nav-list li:hover a{
    color: #e6427a;
}
.top-nav header .nav-list li.active a{
    color: #d196c7;
    border-bottom: 2px solid #d196c7;
}
.top-nav header .nav-list li a{
    color: #9b51a0;
}
.top-nav header .nav-list li a:hover {
    color: #d196c7;
}
.top-nav header form {
    display: flex;
    align-items: center;
}
.top-nav header .search-book {
    background-color: #3131 !important;
    color: black;
    height: 48px;
    line-height: 48px;
    padding-left: 15px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    font-size: 15px;
}
.top-nav header .content button {
    height: 48px;
    padding-left: 15px;
    padding-right: 15px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    color: #FFF;
    background: #9b51a0;
    font-size: 15px;
    cursor: pointer;
}
/* #endregion 头部end */

/* #region 本站主推 start */
.main-recc {
    background-color: white;
    padding: 25px;
    box-sizing: border-box;
    border-radius: 12px;
    margin-top: 15px;
}
.main-recc .header {
    font-size: 23px;
    padding-bottom: 8px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d196c787;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
    display: inline-block;
}
.main-recc .header h3{
    
    display: flex;
    align-items: center;
}

.main-recc .header h3 i {
    color: #9b51a0;
    margin-right: 10px;
}
.main-recc .header h3 span {
    color: #9b51a0;
}
/* #endregion 本站主推 end */

/* #region 小图标广告 start */
.icons {
    margin-top: 15px;
}
.icon-list {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 15px;
}
.icon-list li {
    width: 60px;
    margin-left: 30.55px;
    margin-right: 30.55px;
    text-align: center;
}
.icon-list li a{
    display: block;
    color: #212529;
    border-radius: 5px;
    transition: all 0.5s ease; /* 平滑过渡 */
}
.icon-list li a:hover {
    position: relative;
    top: -3px;
}
.icon-list li:nth-child(10n + 1) {
    margin-left: 0;
}
.icon-list li:nth-child(10n) {
    margin-right: 0;
}

.icon-list li:nth-child(n + 11) {
    margin-top: 8px;
}

.icon-list img{
    width: 60px;
    height: 60px;
    border-radius: 5px;
}
.icon-list span {
    font-size: 13px;
}
/* #endregion 小图标广告 end */

/* #region 超级推荐 start */
.rec-nav {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 15px;
}
.rec-nav .bacc {
    margin-right: calc((100% - 850px) / 9);
}
.rec-nav .bacc:nth-child(10n) {
  margin-right: 0;
}

.rec-nav .bacc:nth-child(n+11) {
  margin-top: 10px;
}

.rec-nav .bacc span {
    display: block;
    padding: 5px;
    font-size: 15px;
    text-align: center;
    color: #FFF;
    background-image: linear-gradient(135deg, #9b51a0 0%, #d196c7 100%);
    
    width: 85px;
    box-sizing: border-box;
    border-radius: 5px;
    transition: all 0.5s ease; /* 平滑过渡 */
}

.rec-nav .bacc span:hover {
    position: relative;
    top: -1px;
    box-shadow:rgb(50, 50, 50) 0px 0px 3px;
}

.rec-nav .bacc:nth-child(n+11) span {
    background: linear-gradient(135deg, #df405c 0%, #df405c 100%);
}
.rec-nav .bacc:nth-child(n+21) span {
    background: linear-gradient(135deg, #4caf51 0%, #4caf51 100%);
}
/* #endregion超级推荐 end */

/* #region 快捷搜索、友情链接头部公共 start */
.fast-search .header,.friend-link .header{
    font-size: 23px;
    padding-bottom: 8px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d196c787;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
    display: inline-block;
}

.fast-search .header h3,.friend-link .header h3 {
    display: flex;
    align-items: center;
}

.fast-search .header h3 i,.friend-link .header h3 i {
    color: #9b51a0;
    margin-right: 10px;
}
.fast-search .header h3 span,.friend-link .header h3 span {
    color: #9b51a0;
}
/* #endregion快捷搜索、友情链接头部公共 end */

/* #region 快捷搜索 start */
.fast-search {
    background-color: white;
    padding: 25px;
    box-sizing: border-box;
    border-radius: 12px;
    margin-top: 15px;
}
.fast-search .list {
    background-color: #FFF;
    padding-top: 5px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 11px;
    padding-bottom: 5px;
    border-radius: 5px;
}
.fast-search .list li {
    padding-top: 5px;
    
}
.fast-search .list a {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 10px;
    margin-left: 3px;
    margin-right: 3px;
    border: 1px solid #e6427a;
    color: #7f8c8d;
    transition: all 0.5s ease; /* 平滑过渡 */
}
.fast-search .list a:hover {
    position: relative;
    top: -1px;
    box-shadow:rgb(50, 50, 50) 0px 0px 3px;
}
/* #endregion快捷搜索 end */

/* #region 内容页标题 start */
.page-title {
    margin-top: 80px;
    
}
.page-title header {
    font-size: 35px;
    color: #2c3e50;
    text-align: center;
    position: relative;
    margin-bottom: 60px;
}
.page-title header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(134deg, rgba(230, 66, 122, 0.7), rgba(252, 103, 103, 0.7));
    border-radius: 2px;
}
/* #endregion 内容页标题 end */

/* #region article的头部公共 start */
.user-rec,.latest-novel {
    margin-top: 40px;
    margin-bottom: 15px;
    
}
.user-rec .header,.latest-novel .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 25px;
    padding-bottom: 8px;
}
.user-rec .header h3,.latest-novel .header h3 {
    display: flex;
    align-items: center;
}

.user-rec .header h3 i,.latest-novel .header h3 i {
    color: #9b51a0;
    margin-right: 10px;
}
.user-rec .header span,.latest-novel .header span {
    color: #9b51a0;
    margin-right: 15px;
    font-size: 23px;
}
/* #endregion头部公共 end */

/* #region article公共 start */
.article {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    gap: 24px;
}
.article .content {
    width: 180px;
    margin-top: 30px;
    border-radius: 10px;
    box-sizing: border-box;
    transition: all 0.5s ease;
}
.article .content img {
    width: 180px;
    margin: 0 auto;
    height: 232px;
    object-fit: cover;
    border-radius: 10px;
}
/* .article .content:hover {
    position: relative;
    top: -2px;
    box-shadow:rgb(87, 86, 86) 0px 0px 10px;
} */

.article .art-name {
    padding-top: 5px;
    padding-bottom: 5px;
}
.article .type {
    height: 30px;
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #812B7A;
    flex-direction: row-reverse;
}
.article p {
    color: #212529;
    font-size: 17px;
}
#article-img {
    position: relative;
}
#book-img {
    position: relative;
}
#complete-status {
    position: absolute;
    top: 10px;
    left: 10px;
    display: block;
    padding: 2px 10px;
    background-color: #4caf51;
    color: white;
    font-size: 14px;
    border-radius: 5px;
}

#updating-status {
    position: absolute;
    top: 10px;
    left: 10px;
    display: block;
    padding: 2px 10px;
    background-color: #e6427a;
    color: white;
    font-size: 14px;
    border-radius: 5px;
}

#view {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: block;
    padding: 2px 10px;
    background-color: #3d3d3d;
    color: white;
    font-size: 14px;
    border-radius: 5px;
}
/* #endregion article公共 end */

/* #region 友情链接 start */
.friend-link {
    margin-top: 40px;
    background-color: white;
    padding: 25px;
    box-sizing: border-box;
    border-radius: 12px;
}
.friend-link-list {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 15px;
}
.friend-link-list .bacc {
    margin-right: calc((100% - 850px - 15px) / 9);
}

.friend-link-list .bacc:nth-child(10n) {
  margin-right: 0; /* 每行第10个元素去掉右边距 */
}

.friend-link-list .bacc:nth-child(n + 11) {
  margin-top: 10px;
}

.friend-link-list .bacc span {
    display: block;
    padding: 5px;
    font-size: 15px;
    text-align: center;
    color: #FFF;
    background-image: linear-gradient(135deg, #d196c7 0%, #d196c7 100%);
    width: 85px;
    box-sizing: border-box;
    border-radius: 5px;
    transition: all 0.5s ease; /* 平滑过渡 */
}

.friend-link-list .bacc span:hover {
    position: relative;
    top: -1px;
    box-shadow:rgb(50, 50, 50) 0px 0px 3px;
}
/* #endregion 友情链接 end */

/* #region 页脚 start */
.footer {
    background-color: #FFF;
    margin-top: 30px;
}
.footer .content {
    /* height: 100px; */
    padding-top: 20px;
    padding-bottom: 20px;
    background-image: none;
    color: #212529;
    font-size: 14px;
}
.footer .content a {
    display: inline-block;
}
.footer .content img {
    width: 80px;
    padding-bottom: 10px;
}
/* #endregion 页脚 end */

/* #region 去顶部悬浮 start */
.gotop {
    position: fixed;
    bottom: 200px;
    right: 50px;
}
/* #endregion 去顶部悬浮 end */

/* #region 分页 start */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.pagination li {
    margin-left: 3px;
    margin-right: 3px;
}

.pagination li.active span{
    border-radius: 5px;
    padding: 5px 10px;
    background-color: #e6427a;
    color: white;
    display: flex;
    align-items: center;
}
.pagination li.disabled span {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    color: #333;
}
.pagination li a{
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    color: #333;
}

.pagination li:hover:not(.active) {
    background-color: #e6427a;
    border-radius: 5px;
    color: white;
}
.pagination li a:hover,.pagination li.disabled span:hover{
    color: white;
}
/* #endregion 分页 end */


.empty .img {
    width: 200px;
    margin: 0 auto;
}

.empty .img img{
    width: 200px;
}
.empty p {
    text-align: center;
    font-size: 20px;
}