#searchForm {
  display: none;
}

.search-active .logo-a {
  display: none;
}

/* 隐藏页面所有非 header 内容 */
.search-active~*:not(header),
.search-active+* {
  display: none !important;
}

.search {
  margin-right: 10px;
  width: 24px !important;
}

.icon {
  display: flex;
  align-items: center;
}

.search-active .search-form {
  display: flex !important;
}

.search-active .home-nav,
.search-active #searchContainer {
  display: none;
}

.search-reset {
  position: absolute;
  top: 0;
  right: 0;
  height: inherit;
  width: 2rem;
  border: 0 none;
  background: none;
  padding: 0;
  -webkit-animation: fadein .15s;
  animation: fadein .15s;
}

.header a {
  /* color: #fff; */
}

.search-cancel {
  width: 3.25rem;
  height: 2rem;
  line-height: 2rem;
  position: absolute;
  right: .25rem;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 0.875rem;
  text-align: center;
}

.home-nav {
  display: flex;
  justify-content: space-around;
  -webkit-box-pack: justify;
  box-pack: justify;
  margin: 0.375rem 0 0.375rem 0;
  background-color: var(--background-bw-white);
  padding: 0.75em 0.625rem 0em 0.625rem;
}

.home-nav .guide-nav-a {
  display: block;
}

.guide-nav-a {
  display: inline-block;
  width: 3.5rem;
  height: 4.625rem;
  text-align: center;
  font-size: 0.75rem;
  position: relative;
}

.guide-nav-h {
  position: absolute;
  margin: 0;
  left: 0;
  right: 0;
  bottom: 0.1875rem;
  color: #191919;
  display: block;
}

.guide-nav-a>.icon {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  bottom: 1.625rem;
  width: 48px;
  height: 48px;
  background-image: url(../images/sprite.png);
  background-size: 430px 420px;
}


.icon-hongxiu-sort {
  background-position: -208px -156px;
}

.icon-hongxiu-rank {
  background-position: 0px 0px;
}

.icon-hongxiu-fuli {
  background-position: -156px -104px;
}

.icon-hongxiu-newbook {
  background-position: -104px -156px;
}

/* .icon-hongxiu-end {
  background-position: -156px 0px;
}

.icon-hongxiu-six {
  background-position: -311px -98px;
} */

.active {
  color: #f6c91c;
}


/* module */


.module {
  margin: 0.75rem 0;
  background-color: var(--background-bw-white);
}

.module {
  margin-top: 0;
}

.module-header {
  height: 1.75rem;
  border-top: 1rem solid transparent;
  padding: 0 1rem;
  box-sizing: content-box;
}

.module-header-l {
  float: left;
}

.module-header::after {
  content: '';
  display: table;
  clear: both;
}

.module-title {
  font-size: 20px;
  display: inline;
  color: #191919;
  font-weight: bold;
}

.module-title-icon {
  display: inline-block;
  position: relative;
  top: 0.12rem;
}


.book-layout {
  display: block;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  -webkit-transition: padding-left .15s;
  transition: padding-left .15s;
}

.book-cover {
  width: 5.5rem;
  height: 8rem;
  float: left;
  margin-right: 1rem;
  box-shadow: 0 4px 8px 0 var(--black-10);
  border-radius: 5px;
  font-size: 0;
}

img {
  display: inline-block;
}

.book-cell {
  overflow: hidden;
}


.book-title {
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 0.875rem;
}

.book-ol-normal .book-desc,
.book-ol-time .book-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.1875rem;
  height: 2.25rem;
}

.book-desc {
  margin: 0.375rem 0;
  margin-bottom: .6rem;
  line-height: 1.125rem;
  font-size: 0.75rem;
  color: #808080;
  overflow: hidden;
}

.book-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .75rem;
  overflow: hidden;
  height: 20px;
}

.book-author {
  font-size: 0.75rem;
}

.book-meta-r .tag-small-group {
  white-space: nowrap;
}

.book-meta span {
  display: inline-block;
  vertical-align: middle;
  color: #808080;
}

.origin-right,
.origin-right .tag-small,
.origin-right .tag-solid {
  -webkit-transform-origin: right center;
  transform-origin: right center;
}

.tag-small,
.tag-solid {
  display: inline-block;
  line-height: 1.5;
  padding: 0 .25em;
  margin: 0 .15em;
  font-size: 12px;
  -webkit-transform: scale(1);
  transform: scale(1);
  vertical-align: bottom;
}

.tag-solid::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  bottom: 1px;
  border: 1px solid;
  border-radius: 0.11111em;
  opacity: .5;
  z-index: -1;
}

.book-ol-top .book-li:after {
  content: '';
  display: block;
  border-bottom: 1px solid #f6c91c;
  margin-left: 1rem;
  margin-top: -1px;
  -webkit-transition: margin-left .15s;
  transition: margin-left .15s;
}


.lightgreen {
  background-color: #f6c91c;
  color: #fff;
  border-radius: 10px;
  padding: 5px;
}

.lightblue {
  background-color: #f6c91c;
  color: #fff;
  border-radius: 10px;
  padding: 5px;
}

.smallblue {
  background-color: #f6c91c;
  color: #fff;
  border-radius: 10px;
  padding: 5px;
}

.book-ol-small {
  overflow: hidden;
  padding: 0.5rem 0;
}

.book-ol-small .book-li {
  width: 50%;
  float: left;
}

.book-ol-small .book-li .book-layout {
  padding: 0.5rem 1rem;
}

.book-ol-small .book-li .book-cover {
  width: 3rem;
  height: 4rem;
  box-shadow: 0 3px 6px 0 var(--black-10);
}

.book-ol-small .small-book-title {
  margin-top: 0rem;
  max-height: 2.125rem;
}

.module-slide-caption {
  margin: .5rem 0 .25rem;
  font-size: 0.8125rem;
  max-height: 2.125rem;
  line-height: 1.125rem;
  overflow: hidden;
  font-weight: bold;
}

.book-ol-small .book-li .small-book-author {
  margin-top: 0;
}

.book-ol-small .book-li .book-author {
  font-size: 0.75rem;
  margin-top: 0.5rem;
}


.module-header {
  height: 1.75rem;
  border-top: 1rem solid transparent;
  padding: 0 1rem;
}

.module-header-tips {
  font-size: 0.75rem;
  display: block;
  position: relative;
  padding: 0 1rem;
  color: var(--surface-gray-500);
}

.icon-mwen {
  background-image: url(../images/sprite.png);
  background-position: -134px -402px;
  width: 15px;
  height: 16px;
  background-size: 430px 420px;
}

.module-header-btn {
  line-height: 1.5rem;
  padding: 0.5rem 0.5rem 0.5rem 0.75rem;
  color: var(--surface-gray-500);
  font-size: 0.85rem;
  position: absolute;
  right: -.75rem;
  top: -.5rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  color: #999;
}

.module-header-r {
  float: right;
  position: relative;
  min-width: 4rem;
}

.arrow_r {
  width: 16px;
}

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  /* 4列 */
  grid-template-rows: repeat(2, auto);
  /* 2行 */
  gap: 5px;
  /* 间隙 */
}

.grid4 .item .tag2 {
  padding: 4px 8px;
  width: fit-content;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  background-color: tomato;
}


section .item {
  position: relative;
  border-radius: 8px;
  max-width: 100%;
  box-sizing: border-box;
}

section .item img {
  width: 100%;
  object-fit: cover;
  /* 图片比例不变形 */
  border-radius: 4px;
}

section .item .title {
  padding: 4px;
  margin: 0;
  color: #333;
  font-weight: 500;
  font-size: 14px;
  font-weight: 550;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

section .item .tag {
  position: absolute;
  top: 10px;
  right: -10px;
  padding: 4px 8px;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  background-color: tomato;
  z-index: 2;
}

ol,
li {
  list-style: none;
}

.icon-mtui {
  background-image: url(../images/sprite.png);
  background-position: -172px -402px;
  width: 15px;
  height: 16px;
  background-size: 430px 420px;
}

.module-slide-ol.module-slide-ol-flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  padding-right: .5rem;
}

.module-slide-ol {
  display: none;
  padding-left: .5rem;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  min-height: 10.75rem;
  position: relative;
}

.module-slide-li {
  display: inline-block;
  vertical-align: top;
  white-space: normal;
}

.module-slide-a {
  display: block;
  width: 4.125rem;
  padding: .75rem .5rem .5rem;
  box-sizing: content-box;
}

.module-slide-img {
  display: block;
  width: inherit;
  height: 5.5rem;
  box-shadow: 0 4px 8px 0 #0000001a;
  border-radius: 2px;
}

.module-slide-caption {
  margin: .5rem 0 .25rem;
  font-size: 0.8125rem;
  max-height: 2.125rem;
  line-height: 1.125rem;
  overflow: hidden;
  font-weight: bold;
  color: #191919;
}

.clip,
aria {
  position: absolute;
  clip: rect(0 0 0 0);
}

.gray {
  color: #808080;
}


.book-detail-info {
  position: relative;
  background: linear-gradient(to top, var(--background-bw-white), transparent 8rem) no-repeat center bottom;
  color: #191919;
  /* border-bottom: 1px solid #f6c91c; */
}

.book-detail .book-cover {
  width: 9rem;
  height: 12rem;
}

.book-detail-info .book-cell {
  line-height: 1.4rem;
}

.book-cell {
  overflow: hidden;
}

.book-detail .book-title {
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 20px;
  overflow: auto;
  white-space: normal;
}

.book-rand-a {
  font-size: 15px;
}

.book-meta {
  font-size: 15px;
  overflow: hidden;
}

p {
  word-break: break-all;
}

.book-meta span {
  display: inline-block;
  vertical-align: middle;
}

.book-update-time {
  height: 24px;
}

.book-summary.enabled {
  height: 6.2rem;
  max-height: none;
  transition: height 0.25s ease-in;

}

.book-summary {
  padding-right: 1rem;
  margin-left: 1rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  border-top: 1rem solid transparent;
  border-bottom: 1rem solid transparent;
  box-shadow: 0 1px var(--surface-gray-100), 0 -1px var(--surface-gray-100);
  text-align: justify;
  max-height: 5.92rem;
  overflow: hidden;
  position: relative;
}

input,
textarea,
select {
  font-family: inherit;
  box-sizing: border-box;
}

.book-summary content {
  display: block;
}

.book-summary-more {
  width: 35px;
  height: 20px;
  /* background: linear-gradient(to right, rgba(255, 255, 255, 0), white 1rem); */
  position: absolute;
  right: 1rem;
  bottom: 0;
  text-align: right;
}

.book-summary-more>img {
  float: right;
  transition: transform .25s;
  color: #808080;
  margin-top: .5em;
  width: 14px;
  height: 14px;
}

.book-summary.expanded .book-summary-more img {
  transform: rotate(180deg);
}

.book-chapter {
  /* padding: 1.5rem; */
  /* background: #fff; */
  border-radius: 8px;
  margin: 10px 15px;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
}

.book-chapter p {
  font-size: 20px;
  display: inline;
  color: #191919;
  font-weight: bold;
}

.book-chapter .chapter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f6c91c;
  transition: all 0.3s ease;
}

.book-chapter em {
  font-size: 0.8rem;
  color: #888;
  margin-left: 10px;
}

.catalogue {
  padding: 0 !important;
}

.book-chapter .chapter:hover {
  background: #f8f9fa;
  padding-left: 10px;
}

.book-chapter .chapter .chapterName {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1.6;
  font-size: 15px;
  color: #333;
  padding-right: 15px;
}


.share {
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (min-width: 750px) {
  .once {
    display: none;
  }

  .book-category,
  .book-update-time {
    justify-content: flex-start;
  }

  .book-meta a {
    margin-right: 10px;
  }



  .share .take-wrap .blue {
    margin-left: 20px;
    width: 40px;
    height: 40px;
  }
}

.btnAddShelf {
  width: 135px;
  height: 40px;
  background-color: #f6c91c;
  color: #fff;
  border-radius: 10px;
  line-height: 40px;
  text-align: center;
}

.take-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 160px;
  height: 40px;
}

.share .blue {
  margin-left: 4px;
  width: 20px;
  height: 20px !important;
}

.page-read-top {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 44px;
  background: inherit;
}

.read-book-name {
  font-size: .75rem;
  position: absolute;
  left: 1rem;
  top: 15px;
  color: var(--chapter-secondary-text);
  font-weight: 400;
  max-width: 10.625rem;
}

.ell {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.read-top-right {
  position: absolute;
  right: 1rem;
  top: 0.625rem;
  display: flex;
  align-items: center;
  color: #808080;
}

.read-book-catlog {
  font-size: 0.75rem;
  font-weight: 400;
}

.top-right-item {
  display: flex;
  align-items: center;
  height: 1.5rem;
  font-size: 0.75rem;
  background-color: #f6c91c;
  border-radius: 0.5rem;
  padding: 0 0.5rem;
}

.top-right-item img {
  margin-right: 6px;
}

.read-article {
  min-height: calc(100vh - 144px);
  line-height: 1.8;
  margin: 0 16px;
  font-size: 1rem;
  text-align: justify;
  overflow: hidden;
}

.read {
  padding-top: 2.75rem;
}

.read-section {
  overflow: hidden;
  min-height: inherit;
}

.pb32 {
  padding-bottom: 2rem;
}

.read-article h3 {
  line-height: 1.2;
  font-size: 1.5em;
  margin: 1em 0;
  font-weight: 400;
}

.read-article p {
  font-size: 1em;
  margin: 1em 0;
}

.btn-group-tab {
  position: relative;
  background-color: #fff;
}

.btn-group {
  display: table;
  width: 100%;
  table-layout: fixed;
  margin-left: auto;
  margin-right: auto;
}

.btn-group-cell {
  display: table-cell;
  font-size: 100%;
  font-weight: 400;
}

.btn-group-tab .active {
  color: var(--main-color);
  border-bottom-color: var(--main-color);
}

.btn-group-tab .btn-blank {
  line-height: 2.75rem;
  color: #f6c91c;
  border-bottom: 1px solid #f6c91c;
  font-size: 0.875rem;
  -webkit-transition: color .15s;
  transition: color .15s;
  -webkit-tap-highlight-color: transparent;
}

.btn-blank {
  display: block;
  text-align: center;
  line-height: 2.5rem;
}

.module-merge {
  margin: 0;
}

.chapter-tab-x.active {
  display: block;
}

.chapter-tab-x.active {
  display: block;
}

.chapter-tab-x {
  display: none;
}

.chapter-tab-x {
  display: none;
}

.chapter-tab-x .module-header {
  height: 28px;
  line-height: 28px;
  padding: 8px 1rem;
  border-top: 0;
  position: static;
}

.chapter-tab-x .module-header {
  height: 28px;
  line-height: 28px;
  padding: 8px 1rem;
  border-top: 0;
  position: static;
}

.chapter-ol {
  border-bottom: 1px solid #f6c91c;
}

.chapter-bar {
  padding: 4px 1rem 4px;
  line-height: 28px;
  color: #808080;
  background-color: #f5f5f5;
  font-size: 13px;
}

.chapter-ol-catalog .chapter-li-a {
  padding-right: 2rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.chapter-li-a {
  display: block;
  font: 14px / 20px a;
  padding: 12px 1rem;
  overflow: hidden;
}

.chapter-li {
  box-sizing: content-box;
}

.chapter-li::after {
  content: '';
  display: block;
  margin-left: 1rem;
  border-top: 1px solid #f6c91c;
  transform: scaleY(0.75);
  margin-top: -1px;
}

.sort-ul {
  display: block;
  padding: 1rem;
  max-height: calc(100vh - 120px);
  /* 设置最大高度，减去头部和其他区域的高度 */
  overflow-y: auto;
  /* 垂直方向可滚动 */
  /* background: #fff; */
  /* 确保背景色 */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 0.5rem;
}

.sort-li {
  margin-bottom: 1.5rem;
  padding: 1rem;
  /* background: #f8f9fa; */
  border-radius: 6px;
  border: 1px solid #f6c91c;
}

.sort-li-title {
  padding: 0.75rem 0;
  font: bold 0.875rem / 1.5rem a;
  position: sticky;
  /* 标题固定 */
  top: 0;
  /* background: #f8f9fa; */
  z-index: 1;
  color: #495057;
  /* border-bottom: 2px solid #f6c91c; */
  /* margin-bottom: 0.75rem; */
}

.sort-li-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 40px;
  padding: 0;
  position: relative;
  cursor: pointer;
}

.sort-li-title {
  display: block;
  line-height: 40px;
  padding: 0;
  position: relative;
}

.sort-li-header::after,
.sort-li-title::after {
  content: '';
  border-bottom: 1px solid #f6c91c;
  left: 0;
  right: 0;
  position: absolute;
  bottom: 0;
}

.sort-toggle-btn {
  font-size: 12px;
  color: #6c757d;
  transition: transform 0.3s ease;
  user-select: none;
}

.sort-li.collapsed .sort-toggle-btn {
  transform: rotate(-90deg);
}

.sort-li.collapsed .sort-li-detail {
  display: none;
}

.sort-li-detail {
  padding: 0.75rem 0;
  line-height: 0;
  font-size: 0.75rem;
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  text-align: left;
  white-space: nowrap;
  flex-wrap: wrap;
}

.sort-li-detail .btn-tag {
  flex-shrink: 0;
}


.module-filter-list .btn-tag.active,
.btn-tag.active {
  background-color: #f6c91c;
  color: #fff;
  border-color: #f6c91c;
  box-shadow: 0 2px 4px rgba(254, 110, 110, 0.3);
  transform: translateY(-1px);
}

.btn-line,
.btn-line-gray.active,
.btn-line-gray~i.active:empty,
.moduleTab .btn-line-gray~i.active:empty,
.btn-tag.active {
  color: #f6c91c;
}

.btn-tag {
  margin-top: 0.5625rem;
  font-family: 'pingfang sc';
  line-height: 1.25rem;
  border: 1px solid #dee2e6;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  color: #6c757d;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-line-gray,
.btn-line-gray~i:empty,
.moduleTab .btn-line-gray~i:empty,
.btn-tag {
  color: #808080;
  outline: none;
}

.btn-line,
.btn-line-gray,
.btn-line-gray~i:empty,
.moduleTab .btn-line-gray~i:empty,
.btn-tag {
  display: inline-block;
  line-height: 1.6875rem;
  border: 1px solid;
  border-radius: 99px;
  padding: 0 0.625rem;
  font-size: 0.8125rem;
  text-align: center;
}


.btn-tag {
  line-height: 1.25rem;
  border-color: transparent;
  padding: 0 0.125rem;
}

em {
  font-style: normal;
}


.book-chapter .module-header {
  color: #f6c91c;
}



.more {
  /* margin-top: 10px; */
  /* background-color: #f6c91c; */
  color: #fff;
  height: 40px;
  line-height: 40px;
  border-radius: 12px;
  font-size: 16px;
  text-align: center;
}

.more a {
  color: #f6c91c;
}


@media (max-width: 750px) {
  .once {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    background-color: #f6c91c;
    color: #fff;
  }
}

.positionFixed {
  bottom: 0px;
  left: 50%;
  position: fixed;
  transform: translate(-50%, 0%);
  z-index: 999;
  width: 100%;
  display: flex;
  justify-content: center;
}

.ad-div {
  clear: both;
  min-width: 250px;
  margin-bottom: 10px;
  width: 100%;
}



.t_de {
  height: 0.2rem;
  max-width: 100%;
  line-height: 0.3rem;
  font-size: 0.6rem;
  padding: 0.5rem 0 1rem 0;
  box-sizing: border-box;
  color: #707070;
  text-align: center;
}

.grecaptcha-badge {
  visibility: hidden;
}

.footer {
  color: #4c4c4c;
  padding: 1.4em 0 1.4em;
}

.footer a {
  color: #875adb;
}

.footer a:hover {
  color: #875adb;
  text-decoration: underline;
}

.footer .flink {
  margin-top: 0.4em;
}

.btn {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  margin: 20px 0;
}

.btn-prev,
.btn-next {
  padding: 5px 25px;
  width: 100%;
  text-align: center;
  background: #f6c91c;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-prev:hover,
.btn-next:hover {
  background: #f6c91c;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.btn-prev {
  margin-right: 10px;
}

.setFoot .set {
  transition: all .5s ease;
  position: fixed;
  bottom: -60px;
  display: flex;
  flex-flow: row nowrap;
  height: 60px;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  background: rgba(0, 0, 0, .8);
  z-index: 999;
}

.setFoot .set a {
  flex-grow: 1;
  text-align: center;
  color: #fff;
  font-size: .7rem;
  line-height: 2px;
}

.setFoot .set a div {
  height: 40px;
}

.setFoot .set a.nightSet div {
  height: 60px;
}

.setFoot .set .menuSet>div {
  background: url(../images/catalog@2x.png) no-repeat center;
  background-size: 20px auto;
}

.setFoot .set .fontSet>div {
  background: url(../images/AaC@2x.png) no-repeat center;
  background-size: 22px auto;
}

.setFoot .set .nightSet>div {
  background: url(../images/Cnight@2x.png) no-repeat center;
  background-size: 22px auto;
}

.setFoot .set .day>div {
  background: url(../images/Cday@2x.png) no-repeat center;
  background-size: 22px auto;
}

.changeFont {
  /* position: relative; */
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  transition: all .5s ease;
  z-index: 999;
}

.mod-page .hd {
  font-size: .75em;
  padding-bottom: 10px;
  color: #999;
}

.mod-page .hd .config {
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mod-page .hd .config span {
  display: inline-block;
  width: 60px;
  height: 30px;
  line-height: 30px;
  margin: 0 10px;
  text-align: center;
  border-radius: 3px;
  cursor: pointer;
  background: #f6c91c;
  /* border: 1px solid #fff; */
  color: #fff;
}

.mod-page .hd .bgcolor span.active {
  box-shadow: 0 0 0 2px #ff593e;
}

.book-layout {
  position: relative;
  /* 确保相对定位 */
}

.rank-num {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(254, 110, 110, 0.8);
  color: #fff;
  padding: 2px 8px;
  font-size: 14px;
  border-radius: 0 0 8px 0;
  z-index: 1;
  display: block;
  /* 确保显示 */
}

/* 小尺寸样式 */
.book-ol-small .rank-num.small {
  top: 9px;
  left: 16px;
  padding: 1px 6px;
  font-size: 12px;
}

/* 前三名特殊样式 - 使用更具体的选择器 */
.book-layout .rank-num[data-rank="1"] {
  background: rgba(255, 215, 0, 0.8);
}

.book-layout .rank-num[data-rank="2"] {
  background: rgba(192, 192, 192, 0.8);
}

.book-layout .rank-num[data-rank="3"] {
  background: rgba(205, 127, 50, 0.8);
}

/* 排行榜容器样式 */
.rank-container {
  padding: 20px;
  /* background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%); */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 20px 0;
  position: relative;
  overflow: hidden;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.rank-container .title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.rank-container .title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #f6c91c, #ff8a8a);
  border-radius: 2px;
}

/* 排行榜头部标签样式 */
.rank-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 25px;
  padding: 15px 20px;
  background: linear-gradient(135deg, #f6c91c 0%, #ff8a8a 100%);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(254, 110, 110, 0.3);
}

.rank-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.more2 {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.more2:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* 排行榜列表样式 */
.rank-list {
  padding: 0;
  margin: 0;
}

.rank-item {
  display: flex;
  align-items: center;
  padding: 20px;
  margin-bottom: 15px;
  /* background: #fff; */
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.rank-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.rank-item:hover::before {
  background: linear-gradient(180deg, #ff8a8a, #f6c91c);
}

/* 排名数字样式 */
.rank-number {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #999 0%, #bbb 100%);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

/* 前三名特殊样式 */
.rank-item:nth-child(1) .rank-number {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8a8a 100%);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
  animation: pulse-gold 2s ease-in-out infinite;
}

.rank-item:nth-child(2) .rank-number {
  background: linear-gradient(135deg, #ff9f43 0%, #ffb142 100%);
  box-shadow: 0 4px 15px rgba(255, 159, 67, 0.4);
  animation: pulse-silver 2s ease-in-out infinite 0.5s;
}

.rank-item:nth-child(3) .rank-number {
  background: linear-gradient(135deg, #ffd32a 0%, #ffed4e 100%);
  box-shadow: 0 4px 15px rgba(255, 211, 42, 0.4);
  animation: pulse-bronze 2s ease-in-out infinite 1s;
}

@keyframes pulse-gold {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes pulse-silver {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes pulse-bronze {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* 书籍封面样式 */
.rank-item .book-cover {
  width: 80px;
  height: 110px;
  margin-left: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  object-fit: cover;
}

.rank-item:hover .book-cover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 排行榜专用书籍信息样式 */
.rank-item .book-info {
  margin-left: 20px;
  flex: 1;
}

.rank-item .book-info .book-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.rank-item .book-info .book-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.rank-item .book-info .book-title a:hover {
  color: #f6c91c;
}

.rank-item .book-info .book-meta {
  font-size: 14px;
  color: #666;
}

.rank-item .book-info .meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.rank-item .book-info .author {
  color: #666;
}

.rank-item .book-info .author a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.rank-item .book-info .author a:hover {
  color: #f6c91c;
}

.rank-item .book-info .divider {
  color: #ccc;
  margin: 0 4px;
}

.rank-item .book-info .category {
  color: #666;
}

.rank-item .book-info .cate {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.rank-item .book-info .cate:hover {
  color: #f6c91c;
}

.rank-item .book-info .word-count {
  color: #999;
}

/* PC端适配 */
@media screen and (min-width: 750px) {
  .rank-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 30px;
  }

  .rank-container .title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .rank-header {
    padding: 20px 30px;
    margin: 25px 0 30px;
  }

  .rank-title {
    font-size: 20px;
  }

  .more2 {
    font-size: 15px;
    padding: 8px 16px;
  }

  .rank-item {
    padding: 25px 30px;
    margin-bottom: 20px;
  }

  .rank-number {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
    top: 20px;
    left: 20px;
  }

  .rank-item .book-cover {
    width: 100px;
    height: 140px;
    margin-left: 60px;
  }

  .rank-item .book-info {
    margin-left: 25px;
  }

  .rank-item .book-info .book-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .rank-item .book-info .book-meta {
    font-size: 15px;
  }
}

/* 移动端适配 */
@media screen and (max-width: 749px) {
  .rank-container {
    padding: 15px;
    margin: 15px 0;
  }

  .rank-container .title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .rank-header {
    padding: 12px 15px;
    margin: 15px 0 20px;
  }

  .rank-title {
    font-size: 16px;
  }

  .more2 {
    font-size: 12px;
    padding: 4px 8px;
  }

  .rank-item {
    padding: 15px;
    margin-bottom: 10px;
  }

  .rank-number {
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 14px;
    top: 12px;
    left: 12px;
  }

  .rank-item .book-cover {
    width: 60px;
    height: 85px;
    margin-left: 40px;
  }

  .rank-item .book-info {
    margin-left: 15px;
  }

  .rank-item .book-info .book-title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .rank-item .book-info .book-meta {
    font-size: 13px;
  }

  .rank-item .book-info .meta-row {
    gap: 6px;
  }
}

/* 完本推薦四列显示样式 */
.book-ol.book-ol-normal.completed-recommend {
  overflow: hidden;
  padding: 0.5rem 0;
}

.book-ol.book-ol-normal.completed-recommend .book-li {
  width: 25%;
  float: left;
}

.book-ol.book-ol-normal.completed-recommend .book-li .book-layout {
  padding: 0.5rem 0.5rem;
  text-align: center;
}

.book-ol.book-ol-normal.completed-recommend .book-li .book-cover {
  width: 4.5rem;
  height: 6rem;
  box-shadow: 0 3px 6px 0 var(--black-10);
  float: none;
  margin: 0 auto 0.5rem auto;
}

.book-ol.book-ol-normal.completed-recommend .book-li .book-title {
  margin-top: 0rem;
  max-height: 2.125rem;
  font-size: 0.75rem;
  line-height: 1.125rem;
  text-align: center;
}

.book-ol.book-ol-normal.completed-recommend .book-li .book-desc {
  display: none;
}

.book-ol.book-ol-normal.completed-recommend .book-li .book-meta {
  margin-top: 0.3rem;
  font-size: 0.7rem;
  text-align: center;
}

.book-ol.book-ol-normal.completed-recommend .book-li .book-author {
  font-size: 0.7rem;
  margin-top: 0.3rem;
  text-align: center;
}

/* 清除浮动 */
.book-ol.book-ol-normal.completed-recommend::after {
  content: '';
  display: table;
  clear: both;
}

/* 每日推荐四列显示样式 */
.book-ol.book-ol-normal.day-recommend {
  overflow: hidden;
  padding: 0.5rem;
}

.book-ol.book-ol-normal.day-recommend .book-li {
  width: 25%;
  float: left;
}

.book-ol.book-ol-normal.day-recommend .book-li .book-layout {
  padding: 0.5rem 0.5rem;
  text-align: center;
}

.book-ol.book-ol-normal.day-recommend .book-li .book-cover {
  width: 5.5rem;
  height: 8rem;
  box-shadow: 0 3px 6px 0 var(--black-10);
  float: none;
  margin: 0 auto 0.5rem auto;
}

.book-ol.book-ol-normal.day-recommend .book-li .book-title {
  margin-top: 0rem;
  max-height: 2.125rem;
  font-size: 0.75rem;
  line-height: 1.125rem;
  text-align: center;
}

.book-ol.book-ol-normal.day-recommend .book-li .book-desc {
  display: none;
}

.book-ol.book-ol-normal.day-recommend .book-li .book-meta {
  margin-top: 0.3rem;
  font-size: 0.7rem;
  text-align: center;
}

.book-ol.book-ol-normal.day-recommend .book-li .book-author {
  font-size: 0.7rem;
  margin-top: 0.3rem;
  text-align: center;
}

/* 清除浮动 */
.book-ol.book-ol-normal.day-recommend::after {
  content: '';
  display: table;
  clear: both;
}

/* categoryList间距样式 */
.book-ol.book-ol-normal .book-meta {
  margin-top: 0.5rem;
}

.book-ol.book-ol-normal .book-meta + .book-meta {
  margin-top: 23px;
}

.book-ol.book-ol-normal .book-title {
  margin-bottom: 0.5rem;
}

/* 导航栏图标颜色 */
.header .icon .search,
.header .icon .home-icon {
  filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(340deg) brightness(104%) contrast(97%);
}

/* home-nav图标样式 */
.home-nav .nav-icon {
  width: 48px;
  height: 48px;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  bottom: 1.625rem;
}

/* detail页面信息间距样式 */
.book-detail .book-rand-a {
  margin-bottom: 0.5rem;
}

.book-detail .book-rand-a:last-child {
  margin-bottom: 0;
}

.book-detail .book-meta {
  margin-top: 0.5rem;
}

/* detail页面字体颜色 */
.book-detail .book-rand-a,
.book-detail .book-meta,
.book-detail .book-title {
  color: #666;
}

.book-detail .book-rand-a a {
  color: #666;
}

.tags {
  padding: 0 15px 15px;
}

.tags a {
  background-color: #f6c91c;
  color: #fff;
  padding: 5px;
  border-radius: 10px;
}

/* 人气榜两列显示样式 */
.book-ol.book-ol-normal.popularity-rank {
  overflow: hidden;
  padding: 0.5rem 0;
}

.book-ol.book-ol-normal.popularity-rank .book-li {
  width: 50%;
  float: left;
}

.book-ol.book-ol-normal.popularity-rank .book-li .book-layout {
  padding: 0.5rem 1rem;
}

.book-ol.book-ol-normal.popularity-rank .book-li .book-cover {
  width: 3.5rem;
  height: 4.7rem;
  box-shadow: 0 3px 6px 0 var(--black-10);
}

.book-ol.book-ol-normal.popularity-rank .book-li .book-title {
  margin-top: 0rem;
  max-height: 2.125rem;
  font-size: 0.8125rem;
  line-height: 1.125rem;
}

.book-ol.book-ol-normal.popularity-rank .book-li .book-desc {
  display: none;
}

.book-ol.book-ol-normal.popularity-rank .book-li .book-meta {
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

.book-ol.book-ol-normal.popularity-rank .book-li .book-author {
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

/* 人气榜序号样式 */
.book-ol.book-ol-normal.popularity-rank .rank-num {
  top: 8px;
  left: 16px;
  padding: 1px 6px;
  font-size: 12px;
  border-radius: 0 0 6px 0;
}

/* 清除浮动 */
.book-ol.book-ol-normal.popularity-rank::after {
  content: '';
  display: table;
  clear: both;
}