#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: #ff5a5f;
}


/* 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 {
  display: inline;
  color: #191919;
  font-weight: bold;
}

.module-title .icon {
  margin-right: 0.5rem;
}


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


.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: 4.5rem;
  height: 6rem;
  float: left;
  margin-right: .5rem;
  box-shadow: 0 4px 8px 0 var(--black-10);
  border-radius: 2px;
  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 #ebebeb;
  margin-left: 1rem;
  margin-top: -1px;
  -webkit-transition: margin-left .15s;
  transition: margin-left .15s;
}


.lightgreen {
  color: #ff4398;
}

.lightblue {
  color: #ff824d;
}

.smallblue {
  color: #4dc9ff;
}

.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);
}

.module-title .icon {
  margin-right: 0.5rem;
}


.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.75rem;
  position: absolute;
  right: -.75rem;
  top: -.5rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.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 #ebebeb;
}

.book-detail .book-cover {
  width: 6rem;
  height: 8rem;
}

.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: 1.375rem;
  overflow: auto;
  white-space: normal;
}

.book-rand-a {
  font-size: 0.8125rem;
}

.book-meta {
  font-size: .75rem;
  overflow: hidden;
}

p {
  word-break: break-all;
}

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

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

.book-update-time span {
  color: #191919;
}

.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: 1rem;
  color: #333;
  font-weight: 500;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.book-chapter .chapter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
  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: 0.9rem;
  color: #333;
  padding-right: 15px;
}


.share {
  padding: 0 20px 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: 150px;
  height: 40px;
  background-color: #ff4357;
  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: #ebebeb;
  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: #ff3955;
  border-bottom: 1px solid #ff3955;
  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 #ebebeb;
}

.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 #ebebeb;
  transform: scaleY(0.75);
  margin-top: -1px;
}

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

.sort-li {
  margin-bottom: 1rem;
}

.sort-li-title {
  padding-top: .75rem;
  font: bold .75rem / 1.5rem a;
  position: sticky;
  /* 标题固定 */
  top: 0;
  background: #fff;
  z-index: 1;
}

.sort-li-header,
.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 #ebebeb;
  left: 0;
  right: 0;
  position: absolute;
  bottom: 0;
}

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

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


.module-filter-list .btn-tag.active {
  background-color: #ff3955;
  color: #fff;
}

.btn-tag.active {
  border-color: #ff3955;
}

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

.btn-tag {
  margin-top: 0.5625rem;
  font-family: 'pingfang sc';
}

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

.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: #ff3955;
}



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

.more a {
  color: #fff;
}


@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: #ff3955;
    color: #fff;
  }
}

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



.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: #ff2b57;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-prev:hover,
.btn-next:hover {
  background: #ff2b57;
  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: fixed;
  bottom: -150px;
  border-bottom: 1px solid #222;
  background: rgba(0, 0, 0, .8);
  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;
}

.mod-page .hd .config span {
  display: inline-block;
  width: 25%;
  height: 30px;
  line-height: 30px;
  margin: 15px;
  text-align: center;
  border-radius: 3px;
  cursor: pointer;
  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(255, 69, 0, 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: 15px;
  background: #fff;
}

/* 排行榜头部标签样式 */
.rank-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0 20px;
}

.rank-tabs {
  display: flex;
  justify-content: space-around;
  border-bottom: 1px solid #eee;
}

.tab-item {
  padding: 10px 20px;
  color: #666;
  font-size: 16px;
  position: relative;
}

.tab-item.active {
  color: #ff3955;
}

.tab-item.active:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ff3955;
}

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

.rank-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #f5f5f5;
  position: relative;
}

/* 排名数字样式 */
.rank-number {
  position: absolute;
  top: 15px;
  left: 0;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  font-size: 14px;
  color: #fff;
  background: #999;
  border-radius: 4px;
}

/* 前三名特殊样式 */
.rank-item:nth-child(1) .rank-number {
  background: #ff6b6b;
}

.rank-item:nth-child(2) .rank-number {
  background: #ff9f43;
}

.rank-item:nth-child(3) .rank-number {
  background: #ffd32a;
}

/* PC端适配 */
@media screen and (min-width: 750px) {
  .rank-container {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    margin-top: 20px;
  }

  .rank-tabs {
    padding: 0 10%;
  }

  .tab-item {
    font-size: 18px;
    padding: 12px 30px;
  }

  .rank-list {
    padding: 0 5%;
  }

  .rank-item {
    padding: 20px 10px;
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .book-cover {
    width: 80px;
    height: 110px;
    margin-left: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .rank-item:hover .book-cover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  }

  .book-info {
    margin-left: 20px;
    flex: 1;
  }

  .book-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .book-meta {
    font-size: 14px;
  }

  .meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
  }

  .divider {
    color: #ddd;
    margin: 0 5px;
  }

  .cate:hover {
    color: #ff3955;
    text-decoration: underline;
  }
}

/* 书籍封面样式 */
/* .book-cover {
  width: 80px;
  height: 110px;
  object-fit: cover;
  border-radius: 4px;
  margin: 0 15px 0 35px;
} */

/* 书籍信息样式 */
.book-info {
  flex: 1;
}

.book-title {
  font-size: 16px;
  color: #333;
  margin-bottom: 5px;
  font-weight: normal;
}

.book-title a {
  color: #333;
  text-decoration: none;
}

.book-meta {
  font-size: 12px;
  color: #999;
}

.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.divider {
  color: #ddd;
  margin: 0 5px;
}

.author {
  color: #666;
}

.cate {
  color: #ff3955;
  text-decoration: none;
}

.word-count {
  color: #999;
}

.book-category a {
  font-size: 12px;
  color: #ff2b57;
}

.cate-dis {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

/* 标签样式 */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0;
}

.tags a {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 43, 87, 0.1);
  color: #ff2b57;
  border-radius: 15px;
  font-size: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid rgba(255, 43, 87, 0.2);
}

.chapter-content p {
  text-indent: 2em;
}


.author_color {
  color: #ff4757;
}