@charset "UTF-8";
.slide-container {
  height: 8.5rem;
  margin: 0 .75rem;
  position: relative;
  overflow: hidden; }

.slide-ul {
  position: absolute;
  white-space: nowrap;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0; }

.slide-li {
  display: inline-block;
  width: 100%;
  height: 100%;
  vertical-align: top;
  position: relative; }

.slide-a {
  display: block;
  height: 100%;
  color: transparent;
  overflow: hidden;
  border-radius: 6px;
  position: relative; }

.slide-img {
  height: 100%;
  width: 100%;
  display: block;
  transition: all .5s;
  border-radius: 6px;
  object-fit: cover;}

/* 桌面端样式覆盖 */
@media (min-width: 768px) {
  .slide-container {
    height: 320px !important;
    margin: 0 1.5rem;
  }
  
  .slide-li {
    height: 320px !important;
  }
  
  .slide-a {
    height: 320px !important;
    color: inherit;
  }
}

.slide-dot-x {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center; }

.slide-dot {
  display: inline-block;
  width: 0.3125rem;
  height: 0.3125rem;
  border-radius: 50%;
  background-color: #FFF;
  -webkit-transition: background-color .15s;
  transition: background-color .15s; }

.slide-dot + .slide-dot {
  margin-left: 0.3125rem; }

.slide-dot.active {
  background-color: #FF3955; }

.slide-female {
  height: 6.60156rem;
  height: calc(0.3 * (100vw - 1.5rem)); }

.slide-female .slide-img {
  height: 100%;
  margin-top: 0; }

.search-guide {
  display: block;
  line-height: 2rem;
  margin: 0.375rem 0.75rem 0;
  background-color: #F7F7F7;
  border-radius: .25rem;
  font-size: 0.8125rem;
  text-align: center;
  color: #808080; }

.search-guide .icon-find {
  margin-right: 0.3125rem; }

.white-content {
  background: #fff;
  padding-bottom: 0.375rem;
  box-shadow: 0 -0.5px 0px 0px #EBEBEB; }

.fuli-content {
  background: #fff;
  padding-top: 0.5rem; }

.home-nav {
  display: flex;
  display: -webkit-box;
  display: box;
  justify-content: space-between;
  -webkit-box-pack: justify;
  box-pack: justify;
  background-color: #FFF;
  padding: 0.75em 0.625rem; }
  .home-nav .guide-nav-a {
    display: block; }

.fuli-home-nav {
  padding: .75em 1.2rem; }

.fuli-footer-link {
  border-top: 1px solid #f0f1f2; }

.home-client {
  display: block;
  line-height: 2.75rem;
  margin: .75rem 0;
  padding: 0 1rem 0 4.625rem;
  background-color: #FFF;
  font-size: 0.8125rem;
  color: #808080;
  position: relative; }

.home-client-h,
.home-client-p {
  display: inline; }

.home-client-h {
  font-size: 0.875rem;
  color: #1A1A1A; }

.home-client-icon {
  position: absolute;
  left: 1.25rem;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 40px;
  height: 32px;
  background: url("../images/icon-find-book-e808da8b22.png");
  background-size: 100%; }

.home-client .icon-arrow-r {
  position: absolute;
  right: 1rem;
  top: 0;
  bottom: 0;
  margin: auto; }

.home-btn-line-x {
  margin: 1rem; }

.home-recent-read {
  position: fixed;
  right: 0;
  bottom: 3.75rem;
  padding: 1rem;
  z-index: 2;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  visibility: hidden; }
  .home-recent-read[href]:active {
    background-image: none; }

.time {
  display: inline-block; }
  .time[data-second] {
    visibility: hidden; }

.time-day,
.time-hour,
.time-minute,
.time-second {
  display: inline-block;
  width: 0.875rem;
  padding-top: 0.0625rem;
  margin-right: 5px;
  text-align: center;
  border-radius: 2px;
  background-color: #D8D8D8;
  color: #FFF;
  font: 400 .625rem/.872rem 'DIN Alternate';
  vertical-align: middle;
  position: relative; }

.time-day {
  background-color: #FF3955; }

.time-hour::before,
.time-minute::before,
.time-second::before {
  content: '';
  position: absolute;
  width: 1px;
  height: 2px;
  border-radius: 1px;
  background-color: #808080;
  top: 0;
  bottom: 0;
  margin: auto;
  left: -3px;
  box-shadow: 0 5px #808080;
  transform: translateY(-3px); }

.page-home .module-title + .time {
  margin-left: .25rem; }
  
.haveim{    float: left;
    background-color: #f9ec7b;
    box-sizing: border-box;
    display: block;
    line-height: 1em;
    border-radius: 2em;
    margin: .525rem 4px;
    padding: 4px 8px;
    font-size: 14px;}
.havemsg {
    background-color: #f9ec7b;
    box-sizing: border-box;
    display: block;
    line-height: 1em;
    border-radius: 2em;
    font-size: 14px;
}
.booklist-box {
  display: block;
  border-radius: 0.3125rem;
  width: 14.25rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }

.booklist-slide-a {
  display: block;
  width: 14.25rem;
  padding: .75rem .5rem .75rem; }

.booklist-cover {
  position: relative;
  height: 5.5rem;
  width: 14.25rem;
  display: block; }
  .booklist-cover-wrapper {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    border-top-left-radius: 0.3125rem;
    border-top-right-radius: 0.3125rem; }
    .booklist-cover-wrapper-item {
      height: 100%;
      width: 4.125rem;
      float: left; }
      .booklist-cover-wrapper-item.ml12 {
        margin-left: -0.75rem; }
      .booklist-cover-wrapper-item .book-cover {
        display: block;
        width: inherit;
        height: 5.5rem; }
  .booklist-cover-title {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
    height: 5.5rem;
    width: 14.25rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    border-top-left-radius: 0.3125rem;
    border-top-right-radius: 0.3125rem; }
    .booklist-cover-title-word {
      display: block;
      line-height: 1.375rem;
      position: absolute;
      left: 0.625rem;
      bottom: 0.5rem;
      font-size: 1rem;
      height: 1.375rem;
      max-width: 13.125rem;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis; }

.booklist-book-desc {
  margin-top: 0.625rem;
  line-height: 1.25rem;
  display: -webkit-box;
  padding: 0 0.625rem;
  height: 3.75rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  color: #1A1A1A;
  font-size: 0.8125rem; }

.booklist-book-author {
  margin-top: 0.5rem;
  padding: 0 0.625rem;
  font-size: 0.75rem;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #808080;
  height: 1rem; }
  .booklist-book-author-avatar {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-right: .5rem;
    border-radius: 50%;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
    float: left; }
  .booklist-book-author-name {
    display: inline-block;
    float: left; }

.booklist-mark {
  font-size: 0.75rem;
  line-height: 1.875rem;
  display: block;
  width: 11.875rem;
  height: 1.875rem;
  margin: 0.8125rem auto;
  text-align: center;
  color: #fff;
  border-radius: 0.9375rem;
  background: #FF3955; }
  .booklist-mark svg.icon {
    margin-right: .25rem; }

.donemark {
  background: #E6E7EA; }

.hidden {
  display: none; }

/* 福利页 start */
.change-module {
  min-height: 7.5rem; }

.change-slide-a {
  display: block;
  width: 14.375rem;
  padding: .75rem .5rem .5rem; }

.change-slide-wrap {
  display: block;
  padding: .75rem;
  background: #fff;
  border-radius: 0.125rem;
  border: 1px solid #F3F3F3; }

.change-box {
  display: block;
  overflow: hidden;
  padding-left: 4.75rem; }
  .change-box-l {
    width: 4.125rem;
    height: 5.5rem;
    margin-left: -4.75rem;
    float: left; }
  .change-box-r {
    font-weight: 500; }

.module-fuli {
  background: #F7F7F7; }

.change-money {
  display: block;
  min-width: 2.5rem;
  font-size: 0.75rem;
  color: #808080;
  position: relative; }

.icon.fuli-line {
  position: absolute;
  color: #ED424B;
  left: 0;
  top: 0.1875rem;
  width: 2.3125rem;
  font-size: 0.75rem; }

.fuli-module-slide-caption {
  margin-top: 0;
  margin-bottom: 0.5rem;
  height: 2.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-weight: bold; }

.changebtn {
  display: block;
  width: 5rem;
  height: 1.625rem;
  background: #FF3955;
  text-align: center;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.625rem;
  border-radius: 0.8125rem;
  font-weight: 400; }

.changedone {
  display: block;
  width: 5rem;
  height: 1.625rem;
  background: #E6E7EA;
  text-align: center;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.625rem;
  border-radius: 0.8125rem; }

.page-fuli .content {
  padding-bottom: 0; }

.fuli-slide-img {
  height: 100%;
  width: 100%;
  display: block;
  border-radius: 6px; }

/* 福利页 end */

.footer-friend {
    text-align: center;
    color: #F44336;
    padding: 0.5rem;
}
.footer-friend .link{margin: 0 0.5rem;}



/* 幻灯片样式 新增内联样式 */
    .slide-container {
      position: relative;
      overflow: hidden;
      margin-bottom: 15px;
      height: 280px;
    }
    .slide-ul {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      -ms-overflow-style: none;
      list-style: none;
      padding: 0;
      margin: 0;
      height: 100%;
    }
    .slide-ul::-webkit-scrollbar {
      display: none;
    }
    .slide-li {
      flex: 0 0 100%;
      scroll-snap-align: start;
      position: relative;
      height: 100%;
    }
    .slide-a {
      display: block;
      position: relative;
      height: 100%;
      overflow: hidden;
    }
    
    /* 背景模糊图片 */
    .slide-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      filter: blur(20px);
      transform: scale(1.1);
      opacity: 0.6;
      z-index: 1;
    }
    
    /* 3张小图横排布局（移动端和桌面端通用） */
    .slide-desktop-layout {
      display: flex !important;
      position: relative;
      z-index: 2;
      justify-content: center;
      align-items: center;
      gap: 10px;
      height: 100%;
      padding: 15px 10px;
    }
    
    .slide-small-img {
      width: 110px !important;
      height: 143px !important;
      min-width: 110px;
      min-height: 143px;
      max-width: 110px;
      max-height: 143px;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      border-radius: 6px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease;
      flex-shrink: 0;
    }
    
    .slide-small-img:hover {
      transform: translateY(-5px);
    }
    
    /* 移动端：隐藏单张大图 */
    .slide-mobile-img {
      display: none !important;
    }
    
    /* 标题覆盖层 */
    .slide-title-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 70%, transparent 100%);
      padding: 20px 15px 15px;
      z-index: 10;
      color: #fff !important;
      pointer-events: none;
      text-align: center;
    }
    
    .slide-title {
      font-size: 16px;
      font-weight: 600;
      margin: 0 0 5px 0;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      color: #fff !important;
    }
    
    .slide-author {
      font-size: 13px;
      margin: 0;
      opacity: 0.95;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
      color: #fff !important;
    }
    
    .slide-dot-x {
      text-align: center;
      padding: 10px 0;
      position: relative;
      z-index: 4;
    }
    .slide-dot {
      display: inline-block;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #ddd;
      margin: 0 4px;
      cursor: pointer;
      transition: background 0.3s;
    }
    .slide-dot.active {
      background: #ff6b6b;
    }
    
    /* 桌面端响应式 */
    @media (min-width: 768px) {
      .slide-container {
        height: 320px !important;
        margin: 0 1.5rem;
      }
      
      .slide-li {
        height: 320px !important;
      }
      
      .slide-a {
        height: 320px !important;
      }
      
      .slide-desktop-layout {
        gap: 20px;
        padding: 20px;
      }
      
      .slide-small-img {
        width: 200px !important;
        height: 260px !important;
        min-width: 200px;
        min-height: 260px;
        max-width: 200px;
        max-height: 260px;
        border-radius: 8px;
      }
      
      .slide-title-overlay {
        padding: 30px 40px 20px;
      }
      
      .slide-title {
        font-size: 24px;
        margin-bottom: 8px;
      }
      
      .slide-author {
        font-size: 16px;
      }
    }
    
    /* 大屏幕优化 */
    @media (min-width: 1200px) {
      .slide-container {
        height: 360px !important;
        max-width: 1200px;
        margin: 0 auto 20px;
      }
      
      .slide-li {
        height: 360px !important;
      }
      
      .slide-a {
        height: 360px !important;
      }
      
      .slide-small-img {
        width: 220px !important;
        height: 286px !important;
        min-width: 220px;
        min-height: 286px;
        max-width: 220px;
        max-height: 286px;
      }
    }

    /* Header 操作区样式 */
    .header-operate-custom {
      width: auto;
      min-width: 4.5rem;
      max-width: none;
      overflow: visible;
      display: flex;
      align-items: center;
      gap: 0;
      padding-right: 0.5rem;
    }

    /* 登录按钮组合（图标+文字） */
    .header-login-group {
      display: flex;
      align-items: center;
      gap: 2px;
      float: left;
      height: 2.25rem;
      line-height: 2.25rem;
      color: #FF3955;
      text-decoration: none;
    }

    .header-login-group .icon-person {
      width: 1.5rem;
      height: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .header-login-group .icon-person svg {
      width: 1rem;
      height: 1rem;
      display: block;
    }

    .header-login-group-text {
      font-size: 0.875rem;
      white-space: nowrap;
    }

    /* 用户名显示样式 */
    .header-username {
      color: #FF3955;
      font-weight: 500;
      width: auto;
      max-width: 160px;
      min-width: 8rem;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      padding: 0 0.5rem;
      line-height: 2.25rem;
      font-size: 0.875rem;
    }

    /* 退出按钮样式 */
    .header-logout-btn {
      width: 2.25rem;
      height: 2.25rem;
    }

    .header-logout-btn svg {
      width: 1rem;
      height: 1rem;
      margin: 0.625rem auto;
    }

    /* 模态框样式 */
    .modal-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 1000;
      justify-content: center;
      align-items: center;
    }

    .modal-overlay.active {
      display: flex;
    }

    .modal-content {
      background-color: #fff;
      border-radius: 8px;
      padding: 24px;
      max-width: 300px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      text-align: center;
    }

    .modal-title {
      font-size: 16px;
      font-weight: 600;
      color: #1A1A1A;
      margin-bottom: 12px;
    }

    .modal-message {
      font-size: 14px;
      color: #666;
      margin-bottom: 20px;
      line-height: 1.5;
    }

    .modal-buttons {
      display: flex;
      gap: 12px;
      justify-content: center;
    }

    .modal-btn {
      padding: 8px 20px;
      border: none;
      border-radius: 4px;
      font-size: 14px;
      cursor: pointer;
      transition: all 0.3s;
    }

    .modal-btn-cancel {
      background-color: #f0f0f0;
      color: #666;
    }

    .modal-btn-cancel:hover {
      background-color: #e0e0e0;
    }

    .modal-btn-confirm {
      background-color: #FF3955;
      color: #fff;
    }

    .modal-btn-confirm:hover {
      background-color: #e63946;
    }

    .modal-btn-success {
      background-color: #4CAF50;
      color: #fff;
    }

    .modal-btn-success:hover {
      background-color: #45a049;
    }