#searchForm {
  display: none;
}

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

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

.search {
  margin-right: 10px;
  width: 20px !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 {
  font-size: 9px;
  color: #ffffff;
}

.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 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  padding: 0.75em 0.625rem 0em 0.625rem;
  border-radius: 12px;
  margin: 0.5rem 1rem;
  backdrop-filter: blur(10px);
}

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

.guide-nav-a {
  display: inline-block;
  width: 3.5rem;
  height: 0.625rem;
  text-align: center;
  font-size: 15px!important;
  position: relative;
}

.guide-nav-h {
  position: absolute;
  margin: 0;
  left: 0;
  right: 0;
  bottom: 0.1875rem;
  /* color: #2d3748; */
  display: block;
  font-weight: 600;
}

.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: #667eea;
  font-weight: 700;
}

.guide-nav-a.active .guide-nav-h {
  color: #667eea;
  font-weight: 700;
}


/* module */


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

.module {
  margin-top: 0;
}

.module-header {
  height: 1.75rem;
  border-top: 0.5rem 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: 18px;
  font-weight: 800;
  display: inline;
  color: #191919;
  font-weight: bold;
  position: relative;
}

.module-header .module-title {
  color: #2d3748 !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
}

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


.book-layout {
  display: block;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-radius: 12px;
  padding: 1.25rem !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.book-layout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
  display: none;
}


.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;
  border: 1px solid #f0f0f0;
  box-shadow: 0 5px 10px #555;
  border-radius: 10px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
  object-fit: cover;
  border: 2px solid transparent;
  position: relative;
  background-clip: padding-box;
}

.book-cover-container {
  position: relative;
  display: inline-block;
}

.book-cover-container::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
  border-radius: 12px;
  z-index: 0;
}

.book-cover-container img.book-cover {
  position: relative;
  z-index: 1;
}


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-title a {
  color: #2d3748 !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-decoration: none;
}


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

.author_color {
  color: #777;
}

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

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

.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: #d68c54;
  border-radius: 3px;
  padding: 5px;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%) !important;
  color: #667eea !important;
  padding: 0.2rem 0.5rem !important;
  border-radius: 20px !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  border: 1px solid rgba(102, 126, 234, 0.2) !important;
}

.lightblue {
  color: #d68c54;
  border-radius: 3px;
  padding: 5px;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%) !important;
  color: #667eea !important;
  padding: 0.2rem 0.5rem !important;
  border-radius: 20px !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  border: 1px solid rgba(102, 126, 234, 0.2) !important;
}

.smallblue {
  background-color: #db2638;
  color: #fff;
  border-radius: 3px;
  padding: 5px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: #ffffff !important;
  padding: 0.375rem 0.75rem !important;
  border-radius: 12px !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.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: 0.5rem solid transparent;
  padding: 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;
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px);
  border-radius: 20px !important;
  padding: 0.5rem 1rem !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  position: relative;
  overflow: hidden;
}

.module-header-btn .arrow_r {
  margin-left: 0.5rem;
}

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


.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: 7rem;
  height: 9.5rem;
}

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

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

.book-meta {
  font-size: 13px;
  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;
}

.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 rgba(102, 126, 234, 0.1), 0 -1px rgba(102, 126, 234, 0.1);
  text-align: justify;
  max-height: 5.92rem;
  overflow: hidden;
  position: relative;
  color: #4a5568;
}

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;
  color: #667eea;
  margin-top: .5em;
  width: 14px;
  height: 14px;
}

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

.book-chapter {
  background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
  border-radius: 12px;
  /* margin: 10px 15px; */
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.1);
  padding: 1rem;
}

.book-chapter p {
  font-size: 18px;
  display: inline;
  color: #2d3748;
  font-weight: 700;
}

.book-chapter .chapter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

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

.catalogue {
  padding: 0 !important;
}


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


.share {
  padding: 0 15px;
  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: 115px;
  height: 40px;
  background-color: #d33c33;
  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: #777;
}

.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: #d33c33;
  border-bottom: 1px solid #d33c33;
  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: #777;
  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;
  max-height: calc(100vh - 120px);
  /* 设置最大高度，减去头部和其他区域的高度 */
  overflow-y: auto;
  margin: 0.5rem;
}

.sort-li {
  margin-bottom: 1.5rem;
  padding: 0 1.25rem 1.25rem;
  background: #fff;
  /* border-radius: 10px; */
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sort-li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #d33c33, #ff6b6b);
  /* border-radius: 0 2px 2px 0; */
}

.sort-li-title {
  padding: 0.75rem 0;
  font: bold 0.875rem / 1.5rem a;
  position: sticky;
  /* 标题固定 */
  top: 0;
  background: #fff;
  z-index: 1;
  color: #2c3e50;
  /* border-bottom: 2px solid #d33c33; */
  /* margin-bottom: 0.75rem; */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.sort-toggle-btn {
  font-size: 14px;
  color: #d33c33;
  transition: all 0.3s ease;
  user-select: none;
  background: #f8f9fa;
  /* border-radius: 50%; */
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 1px solid #e9ecef; */
}

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

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

.sort-li-detail {
  padding: 1rem 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;
  background: #f8f9fa;
  padding: 1rem;
  margin-top: 0.5rem;
}

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


.module-filter-list .btn-tag.active,
.btn-tag.active {
  background: linear-gradient(135deg, #d33c33, #ff6b6b);
  color: #fff;
  border-color: #d33c33;
  box-shadow: 0 4px 12px rgba(211, 60, 51, 0.4);
  transform: translateY(-2px);
  font-weight: 600;
}

.btn-line,
.btn-line-gray.active,
.btn-line-gray~i.active:empty,
.moduleTab .btn-line-gray~i.active:empty,
.btn-tag.active {
  color: #667eea;
  font-weight: 700;
}

.guide-nav-a.active .guide-nav-h {
  color: #667eea;
  font-weight: 700;
}

.btn-tag {
  margin-top: 0.5625rem;
  font-family: 'pingfang sc';
  line-height: 1.25rem;
  border: 1px solid #dee2e6;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  color: #6c757d;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  background: #fff;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-line-gray,
.btn-line-gray~i:empty,
.moduleTab .btn-line-gray~i:empty,
.btn-tag {
  color: #777;
  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: 0;
  padding: 0 0.625rem;
  font-size: 0.8125rem;
  text-align: center;
}


.btn-tag {
  line-height: 1.25rem;
  border-color: transparent;
  padding: 2px 5px;
}

em {
  font-style: normal;
}


.book-chapter .module-header {
  /* color: #d33c33; */
  border-bottom: 1px solid #ededed;
}



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

@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: #d33c33;
    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: #e2e8f0;
  padding: 1.4em 0 1.4em;
}

.footer a {
  color: #a0aec0;
}

.footer a:hover {
  color: #667eea;
  text-decoration: none;
}

.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: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 13px;
}

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

.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: 70px;
  height: 30px;
  line-height: 30px;
  margin: 0 10px;
  text-align: center;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  /* 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: #5b2c17;
  color: #fff;
  padding: 2px 8px;
  font-size: 14px;
  border-radius: 0 0 8px 0;
  z-index: 1;
  display: block;
  /* 确保显示 */
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 0.25rem 0.75rem !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4) !important;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

/* 小尺寸样式 */
.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, #d33c33, #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, #d33c33 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, #d33c33);
}

/* 排名数字样式 */
.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: #d33c33;
}

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

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

.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: 100%;
  float: none;
  /* margin-bottom: 0.5rem; */
}

.book-ol.book-ol-normal.completed-recommend .book-li .book-layout {
  padding: 1rem;
  text-align: left;
  display: flex;
  align-items: center;
}

/* 完本推荐封面容器 */
.book-ol.book-ol-normal.completed-recommend .book-cover-container {
  position: relative;
  float: left;
  margin-right: 1rem;
  margin-bottom: 0;
}

.book-ol.book-ol-normal.completed-recommend .book-li .book-cover {
  width: 7rem;
  height: 11rem;
  box-shadow: 0 3px 6px 0 var(--black-10);
  display: block;
  border-radius: 5px;
}

/* 完本推荐作者信息覆盖层 */
.book-ol.book-ol-normal.completed-recommend .author-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #db2638;
  padding: 0.3rem;
  text-align: center;
  border-radius: 0 0 5px 5px;
  z-index: 2 !important;
}

.book-ol.book-ol-normal.completed-recommend .author-overlay .book-author {
  color: #fff !important;
  font-size: 0.7rem;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.book-ol.book-ol-normal.completed-recommend .author-overlay .book-author a {
  color: #fff !important;
  text-decoration: none;
}


/* 完本推荐书名行样式 */
.book-ol.book-ol-normal.completed-recommend .book-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.book-ol.book-ol-normal.completed-recommend .book-title-row .book-title {
  flex: 1;
  margin: 0;
  margin-right: 0.5rem;
}

.book-ol.book-ol-normal.completed-recommend .word-count-inline {
  flex-shrink: 0;
  font-size: 0.7rem;
  padding: 2px 6px;
  margin: 0;
}

.book-ol.book-ol-normal.completed-recommend .book-li .book-title {
  margin-top: 0rem;
  max-height: none;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.book-ol.book-ol-normal.completed-recommend .book-li .book-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.1875rem;
  height: 3.5625rem;
  margin: 0;
  font-size: 0.75rem;
  color: #191919;
  overflow: hidden;
  text-align: left;
  margin-bottom: 5px;
}

.book-ol.book-ol-normal.completed-recommend .book-li .book-meta {
  margin-top: 0;
  font-size: 0.75rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  height: 40px;
}

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

.book-ol.book-ol-normal.completed-recommend .book-li .book-meta-r .tag-small-group {
  white-space: nowrap;
}

.book-ol.book-ol-normal.completed-recommend .book-li .book-meta-r .tag-small,
.book-ol.book-ol-normal.completed-recommend .book-li .book-meta-r .tag-solid {
  display: inline-block;
  line-height: 1.5;
  padding: 0;
  margin: 0 .15em;
  font-size: 12px;
  -webkit-transform: scale(1);
  transform: scale(1);
  vertical-align: bottom;
}

/* 清除浮动 */
.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 0; */
}

.book-ol.book-ol-normal.day-recommend .book-li {
  width: 100%;
  float: none;
  /* margin-bottom: 0.5rem; */
}

.book-ol.book-ol-normal.day-recommend .book-li .book-layout {
  padding: 1rem;
  text-align: left;
  display: flex;
  align-items: center;
}

/* 每日推荐封面容器 */
.book-ol.book-ol-normal.day-recommend .book-cover-container {
  position: relative;
  float: left;
  margin-right: 1rem;
  margin-bottom: 0;
}

.book-ol.book-ol-normal.day-recommend .book-li .book-cover {
  width: 7rem;
  height: 11rem;
  box-shadow: 0 3px 6px 0 var(--black-10);
  display: block;
}

/* 作者信息覆盖层 */
.book-ol.book-ol-normal.day-recommend .author-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #db2638;
  padding: 0.3rem;
  text-align: center;
  border-radius: 0 0 5px 5px;
  z-index: 2 !important;
}

.book-ol.book-ol-normal.day-recommend .author-overlay .book-author {
  color: #fff !important;
  font-size: 0.7rem;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.book-ol.book-ol-normal.day-recommend .author-overlay .book-author a {
  color: #fff !important;
  text-decoration: none;
}


.book-ol.book-ol-normal.day-recommend .book-li .book-title {
  margin-top: 0rem;
  max-height: none;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.book-ol.book-ol-normal.day-recommend .book-li .book-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.1875rem;
  height: 3.5625rem;
  margin: 0;
  font-size: 0.75rem;
  color: #191919;
  overflow: hidden;
  text-align: left;
  margin-bottom: 5px;
}

.book-ol.book-ol-normal.day-recommend .book-li .book-meta {
  margin-top: 0;
  font-size: 0.75rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  height: 40px;
}

.book-ol.book-ol-normal.day-recommend .book-li .book-author {
  font-size: 0.75rem;
  /* margin-top: 0.3rem; */
  text-align: left;
  /* display: flex; */
  text-align: center;
  align-items: center;
}

.book-ol.book-ol-normal.day-recommend .book-li .author-icon {
  margin-right: 0.25rem;
  font-size: 0.875rem;
  color: #666;
}

.book-ol.book-ol-normal.day-recommend .book-li .book-meta-r .tag-small-group {
  white-space: nowrap;
}

.book-ol.book-ol-normal.day-recommend .book-li .book-meta-r .tag-small,
.book-ol.book-ol-normal.day-recommend .book-li .book-meta-r .tag-solid {
  display: inline-block;
  line-height: 1.5;
  padding: 0;
  margin: 0 .15em;
  font-size: 12px;
  -webkit-transform: scale(1);
  transform: scale(1);
  vertical-align: bottom;
}

/* 每日推荐书名行样式 */
.book-ol.book-ol-normal.day-recommend .book-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.book-ol.book-ol-normal.day-recommend .book-title-row .book-title {
  flex: 1;
  margin: 0;
  margin-right: 0.5rem;
}

.book-ol.book-ol-normal.day-recommend .word-count-inline {
  flex-shrink: 0;
  font-size: 0.7rem;
  padding: 2px 6px;
  margin: 0;
}

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

/* 月榜一行显示一个样式 */
.book-ol.book-ol-normal.month-rank {
  overflow: hidden;
  padding: 0.5rem 0;
}

.book-ol.book-ol-normal.month-rank .book-li {
  width: 100%;
  float: none;
  /* margin-bottom: 0.5rem; */
}

.book-ol.book-ol-normal.month-rank .book-li .book-layout {
  padding: 1rem;
  text-align: left;
  display: flex;
  align-items: center;
}

/* 月榜封面容器 */
.book-ol.book-ol-normal.month-rank .book-cover-container {
  position: relative;
  float: left;
  margin-right: 1rem;
  margin-bottom: 0;
}

.book-ol.book-ol-normal.month-rank .book-li .book-cover {
  width: 6rem;
  height: 8rem;
  box-shadow: 0 3px 6px 0 var(--black-10);
  display: block;
  border-radius: 5px;
}

/* 月榜作者信息覆盖层 */
.book-ol.book-ol-normal.month-rank .author-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #db2638;
  padding: 0.3rem;
  text-align: center;
  border-radius: 0 0 5px 5px;
  z-index: 2 !important;
}

.book-ol.book-ol-normal.month-rank .author-overlay .book-author {
  color: #fff !important;
  font-size: 0.7rem;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.book-ol.book-ol-normal.month-rank .author-overlay .book-author a {
  color: #fff !important;
  text-decoration: none;
}


/* 月榜书名行样式 */
.book-ol.book-ol-normal.month-rank .book-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.book-ol.book-ol-normal.month-rank .book-title-row .book-title {
  flex: 1;
  margin: 0;
  margin-right: 0.5rem;
}

.book-ol.book-ol-normal.month-rank .word-count-inline {
  flex-shrink: 0;
  font-size: 0.7rem;
  padding: 2px 6px;
  margin: 0;
}

.book-ol.book-ol-normal.month-rank .book-li .book-title {
  margin-top: 0rem;
  max-height: none;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.book-ol.book-ol-normal.month-rank .book-li .book-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.1875rem;
  height: 3.5625rem;
  margin: 0;
  font-size: 0.75rem;
  color: #191919;
  overflow: hidden;
  text-align: left;
  margin-bottom: 5px;
}

.book-ol.book-ol-normal.month-rank .book-li .book-meta {
  margin-top: 0;
  font-size: 0.75rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  height: 20px;
}

.book-ol.book-ol-normal.month-rank .book-li .book-author {
  font-size: 0.75rem;
  margin-top: 0;
  text-align: center;
  align-items: center;
}

.book-ol.book-ol-normal.month-rank .book-li .book-meta-r .tag-small-group {
  white-space: nowrap;
}

.book-ol.book-ol-normal.month-rank .book-li .book-meta-r .tag-small,
.book-ol.book-ol-normal.month-rank .book-li .book-meta-r .tag-solid {
  display: inline-block;
  line-height: 1.5;
  padding: 0;
  margin: 0 .15em;
  font-size: 12px;
  -webkit-transform: scale(1);
  transform: scale(1);
  vertical-align: bottom;
}

/* 月榜序号样式 */
.book-ol.book-ol-normal.month-rank .rank-num {
  display: none !important;
}

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

/* categoryList一行显示一个样式 */
.book-ol.book-ol-normal:not(.day-recommend):not(.popularity-rank):not(.completed-recommend):not(.month-rank) {
  overflow: hidden;
  /* padding: 0.5rem 0; */
}

.book-ol.book-ol-normal:not(.day-recommend):not(.popularity-rank):not(.completed-recommend):not(.month-rank) .book-li {
  width: 100%;
  float: none;
  /* margin-bottom: 0.5rem; */
}

.book-ol.book-ol-normal:not(.day-recommend):not(.popularity-rank):not(.completed-recommend):not(.month-rank) .book-li .book-layout {
  padding: 1rem;
  text-align: left;
  display: flex;
  align-items: center;
}

/* categoryList封面容器 */
.book-ol.book-ol-normal:not(.day-recommend):not(.popularity-rank):not(.completed-recommend):not(.month-rank) .book-cover-container {
  position: relative;
  float: left;
  margin-right: 1rem;
  margin-bottom: 0;
}

.book-ol.book-ol-normal:not(.day-recommend):not(.popularity-rank):not(.completed-recommend):not(.month-rank) .book-li .book-cover {
  width: 7rem;
  height: 11rem;
  box-shadow: 0 3px 6px 0 var(--black-10);
  display: block;
  border-radius: 5px;
}

/* categoryList作者信息覆盖层 */
.book-ol.book-ol-normal:not(.day-recommend):not(.popularity-rank):not(.completed-recommend):not(.month-rank) .author-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #db2638;
  padding: 0.3rem;
  text-align: center;
  border-radius: 0 0 5px 5px;
  z-index: 2 !important;
}

.book-ol.book-ol-normal:not(.day-recommend):not(.popularity-rank):not(.completed-recommend):not(.month-rank) .author-overlay .book-author {
  color: #fff !important;
  font-size: 0.7rem;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.book-ol.book-ol-normal:not(.day-recommend):not(.popularity-rank):not(.completed-recommend):not(.month-rank) .author-overlay .book-author a {
  color: #fff !important;
  text-decoration: none;
}


/* categoryList书名行样式 */
.book-ol.book-ol-normal:not(.day-recommend):not(.popularity-rank):not(.completed-recommend):not(.month-rank) .book-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.book-ol.book-ol-normal:not(.day-recommend):not(.popularity-rank):not(.completed-recommend):not(.month-rank) .book-title-row .book-title {
  flex: 1;
  margin: 0;
  margin-right: 0.5rem;
}

.book-ol.book-ol-normal:not(.day-recommend):not(.popularity-rank):not(.completed-recommend):not(.month-rank) .word-count-inline {
  flex-shrink: 0;
  font-size: 0.7rem;
  padding: 2px 6px;
  margin: 0;
}

.book-ol.book-ol-normal:not(.day-recommend):not(.popularity-rank):not(.completed-recommend):not(.month-rank) .book-li .book-title {
  margin-top: 0rem;
  max-height: none;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.book-ol.book-ol-normal:not(.day-recommend):not(.popularity-rank):not(.completed-recommend):not(.month-rank) .book-li .book-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.1875rem;
  height: 3.5625rem;
  margin: 0;
  font-size: 0.75rem;
  color: #191919;
  overflow: hidden;
  text-align: left;
  margin-bottom: 5px;
}

.book-ol.book-ol-normal:not(.day-recommend):not(.popularity-rank):not(.completed-recommend):not(.month-rank) .book-li .book-meta {
  margin-top: 0;
  font-size: 0.75rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  height: 40px;
}

.book-ol.book-ol-normal:not(.day-recommend):not(.popularity-rank):not(.completed-recommend):not(.month-rank) .book-li .book-author {
  font-size: 0.75rem;
  margin-top: 0;
  text-align: center;
  align-items: center;
}

.book-ol.book-ol-normal:not(.day-recommend):not(.popularity-rank):not(.completed-recommend):not(.month-rank) .book-li .book-meta-r .tag-small-group {
  white-space: nowrap;
}

.book-ol.book-ol-normal:not(.day-recommend):not(.popularity-rank):not(.completed-recommend):not(.month-rank) .book-li .book-meta-r .tag-small,
.book-ol.book-ol-normal:not(.day-recommend):not(.popularity-rank):not(.completed-recommend):not(.month-rank) .book-li .book-meta-r .tag-solid {
  display: inline-block;
  line-height: 1.5;
  padding: 0;
  margin: 0 .15em;
  font-size: 12px;
  -webkit-transform: scale(1);
  transform: scale(1);
  vertical-align: bottom;
}

/* 清除浮动 */
.book-ol.book-ol-normal:not(.day-recommend):not(.popularity-rank):not(.completed-recommend):not(.month-rank)::after {
  content: '';
  display: table;
  clear: both;
}

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

/* 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;
}

.tags a {
  background-color: transparent;
  color: #666;
  padding: 0 8px 0 0;
  border-radius: 0;
  text-decoration: none;
  position: relative;
}

.tags a:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: 0;
  color: #ccc;
}

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

.book-ol.book-ol-normal.popularity-rank .book-li {
  width: 100%;
  float: none;
  /* margin-bottom: 0.5rem; */
}

.book-ol.book-ol-normal.popularity-rank .book-li .book-layout {
  padding: 1rem;
  text-align: left;
  display: flex;
  align-items: center;
}

/* 人气榜封面容器 */
.book-ol.book-ol-normal.popularity-rank .book-cover-container {
  position: relative;
  float: left;
  margin-right: 1rem;
  margin-bottom: 0;
}

.book-ol.book-ol-normal.popularity-rank .book-li .book-cover {
  width: 7rem;
  height: 11rem;
  box-shadow: 0 3px 6px 0 var(--black-10);
  display: block;
  border-radius: 5px;
}

/* 人气榜作者信息覆盖层 */
.book-ol.book-ol-normal.popularity-rank .author-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #db2638;
  padding: 0.3rem;
  text-align: center;
  border-radius: 0 0 5px 5px;
  z-index: 2 !important;
}

.book-ol.book-ol-normal.popularity-rank .author-overlay .book-author {
  color: #fff !important;
  font-size: 0.7rem;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.book-ol.book-ol-normal.popularity-rank .author-overlay .book-author a {
  color: #fff !important;
  text-decoration: none;
}


/* 人气榜书名行样式 */
.book-ol.book-ol-normal.popularity-rank .book-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.book-ol.book-ol-normal.popularity-rank .book-title-row .book-title {
  flex: 1;
  margin: 0;
  margin-right: 0.5rem;
}

.book-ol.book-ol-normal.popularity-rank .word-count-inline {
  flex-shrink: 0;
  font-size: 0.7rem;
  padding: 2px 6px;
  margin: 0;
}

.book-ol.book-ol-normal.popularity-rank .book-li .book-title {
  margin-top: 0rem;
  max-height: none;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.book-ol.book-ol-normal.popularity-rank .book-li .book-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.1875rem;
  height: 3.5625rem;
  margin: 0;
  font-size: 0.75rem;
  color: #191919;
  overflow: hidden;
  text-align: left;
  margin-bottom: 5px;
}

.book-ol.book-ol-normal.popularity-rank .book-li .book-meta {
  margin-top: 0;
  font-size: 0.75rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  height: 40px;
}

.book-ol.book-ol-normal.popularity-rank .book-li .book-author {
  font-size: 0.75rem;
  margin-top: 0;
  text-align: center;
  align-items: center;
}

.book-ol.book-ol-normal.popularity-rank .book-li .book-meta-r .tag-small-group {
  white-space: nowrap;
}

.book-ol.book-ol-normal.popularity-rank .book-li .book-meta-r .tag-small,
.book-ol.book-ol-normal.popularity-rank .book-li .book-meta-r .tag-solid {
  display: inline-block;
  line-height: 1.5;
  padding: 0;
  margin: 0 .15em;
  font-size: 12px;
  -webkit-transform: scale(1);
  transform: scale(1);
  vertical-align: bottom;
}

/* 人气榜序号样式 */
.book-ol.book-ol-normal.popularity-rank .rank-num {
  display: none !important;
}

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

/* 现代化书籍详情卡片样式 */
.book-detail-card {
  background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
  margin: 1rem 0;
  padding: 1.5rem;
  position: relative;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.book-card-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.book-icon {
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  color: #667eea;
}

.book-header-info {
  flex: 1;
}

.book-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.book-author {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.book-author a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.book-genre {
  font-size: 0.8rem;
  color: #666;
}

.book-genre a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.book-menu {
  color: #667eea;
  cursor: pointer;
  padding: 0.25rem;
}

.book-rating {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.rating-score {
  font-size: 1.2rem;
  font-weight: 700;
  color: #667eea;
  margin-right: 0.5rem;
}

.rating-stars {
  display: flex;
  gap: 0.1rem;
}

.star {
  color: #667eea;
  font-size: 1.5rem;
}

.book-cover-section {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

.book-cover-section::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(50% + 8px);
  height: calc(100% + 8px);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
  border-radius: 12px;
  z-index: 0;
}

.book-cover-image {
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 auto;
}

.book-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.book-tag {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  color: #667eea;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.8rem;
  border: 1px solid rgba(102, 126, 234, 0.2);
  font-weight: 500;
}

.book-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-start-read {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.action-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #667eea;
  background: white;
  border-radius: 8px;
  color: #667eea;
  font-size: 0.85rem;
  cursor: pointer;
  flex: 1;
  justify-content: center;
  font-weight: 500;
}

.action-btn.circular {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  padding: 0;
  justify-content: center;
}

.action-btn svg {
  flex-shrink: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .book-detail-card {
    /* margin: 0.5rem 2rem; */
    padding: 1.5rem;
  }

  .book-title {
    font-size: 1.25rem;
  }

  .action-buttons {
    flex-direction: column;
  }

  .action-btn {
    width: 100%;
  }

  .action-btn.circular {
    width: 3rem;
    height: 3rem;
    align-self: flex-end;
  }
}

/* 完整目录按钮样式 */
.more a {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 现代化筛选器样式 */
.modern-filter-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.filter-card {
  background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
  overflow: hidden;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.filter-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
  /* background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%); */
}

.filter-title-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.filter-icon {
  color: #667eea;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-title {
  font-size: 1rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
}

.filter-toggle {
  color: #667eea;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-content {
  overflow: hidden;
  max-height: 0;
  padding: 0 1.5rem;
}

.filter-card.collapsed .filter-content {
  max-height: 0;
  padding: 0 1.5rem;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 0;
}

.filter-tag {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  color: #667eea;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(102, 126, 234, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.filter-tag.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: #667eea;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .modern-filter-container {
    margin: 0.5rem;
    gap: 0.75rem;
  }

  .filter-card-header {
    padding: 1rem;
  }

  .filter-content {
    padding: 0 1rem;
  }

  .filter-options {
    gap: 0.5rem;
    padding: 0.75rem 0;
  }

  .filter-tag {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* 现代化作者覆盖层 */
.book-ol-normal .author-overlay {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%) !important;
  /* backdrop-filter: blur(10px); */
  border-radius: 0 0 10px 10px !important;
  position: relative;
  z-index: 2 !important;
}

.book-ol-normal .author-overlay .book-author {
  color: #ffffff !important;
}

.book-ol-normal .author-overlay .author_color {
  color: #ffffff !important;
  font-weight: 600;
}



/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}
