@import "../../../globaStyle.less";

.indexAd {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  border-radius: 20px;
  overflow: hidden;
}

.book_article {
  width: 100%;
  padding: 30px 30px 50px;
  box-sizing: border-box;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  .addBean {
    position: fixed;
    width: 90px;
    height: 44px;
    right: 30px;
    top: 130px;
    background: rgba(0, 0, 0, .79);
    border-radius: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #FFFFFF;

    &>image {
      width: 28px;
      height: 28px;
      margin-left: 5px;
      margin-top: 5px;
    }
  }

  .myBead {
    position: fixed;
    top: 208px;
    right: -182px;
    width: 248px;
    height: 84px;
    background: #FF415B;
    box-shadow: 0px 4px 8px 0px rgba(255, 110, 124, 0.58);
    border-radius: 200px 0px 0px 200px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: all 1s ease-in 0s;
    font-size: 28px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #FFFFFF;

    &>image {
      width: 58px;
      height: 58px;
      margin: 13px 0 13px 13px;
    }

    &>text {
      margin-left: 6px;
    }
  }

  .unlockingModel {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 50;
    display: none;

    .back {
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      background-color: rgba(85, 85, 85, .35);
    }

    .con {
      width: 654px;
      height: 390px;
      background: #FFFFFF;
      border-radius: 30px;
      position: absolute;
      z-index: 2;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      padding: 60px 0;
      box-sizing: border-box;

      .title {
        font-size: 44px;
        font-family: PingFangSC-Medium, PingFang SC;
        font-weight: 600;
        color: #4F88E3;
        text-align: center;
        margin-bottom: 36px;
      }

      .ts {
        font-size: 36px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #333333;
        text-align: center;
        margin-bottom: 42px;
      }

      .bt {
        width: 334px;
        height: 80px;
        background: #4F88E3;
        border-radius: 40px;
        margin: 0 auto;
        color: #FFFFFF;
        text-align: center;
        line-height: 80px;
      }
    }
  }

  .header {
    margin-bottom: 44px;

    .up {
      width: 120px;
      height: 56px;
      font-size: @fs_40;
      font-family: PingFangSC-Regular, PingFang SC;
      font-weight: @fw_400;
      color: @cl_6E9;
      line-height: 56px;
      margin-bottom: 36px;
    }

    .bt {
      .title {
        width: 100%;
        height: 60px;
        font-size: @fs_44;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: @fw_400;
        line-height: 60px;

        &:nth-child(1) {
          margin-right: 46px;
        }
      }
    }

    .btns {
      display: flex;
      flex-flow: row nowrap;
      justify-content: space-between;
      margin-bottom: 30px;

      .left {
        width: 186px;
        height: 52px;
        border-radius: @r_26;
        border: 2px solid #949bab;
        position: relative;
        line-height: 52px;

        &::before {
          content: "";
          height: 52px;
          width: 2px;
          background: @bg_94;
          opacity: 0.24;
          position: absolute;
          top: 0;
          left: 50%;
          transform: translateX(-50%);
        }

        text {
          width: 50%;
          float: left;
          text-align: center;
          font-size: @fs_28;
          font-family: PingFangSC-Regular, PingFang SC;
          font-weight: @fw_400;
          color: @cl_94;
        }
      }

      .right {
        text {
          width: 128px;
          height: 52px;
          border-radius: @r_26;
          border: 2px solid #949bab;
          float: left;
          line-height: 52px;
          text-align: center;
          font-size: @fs_28;
          font-family: PingFangSC-Regular, PingFang SC;
          font-weight: @fw_400;
          color: @cl_94;

          &:nth-child(1) {
            margin-right: 30px;
          }
        }
      }
    }
  }

  .centent {
    flex: 1;

    // .cententMarginTop{
    //   margin-top: 20px;
    // }
    // .cententMarginBottom{
    //   margin-bottom: 20px;
    // }
  }

  .pre {
    display: block;
    margin-bottom: 50px;
  }

  .nextAdContet {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .pre_15 {
    font-size: @fs_30;
    text-indent: @fs_30 * 2;
  }

  .pre_17 {
    font-size: @fs_34;
    text-indent: @fs_34 * 2;
  }

  .pre_19 {
    font-size: @fs_38;
    text-indent: @fs_38 * 2;
  }

  .pre_21 {
    font-size: @fs_42;
    text-indent: @fs_42 * 2;
  }

  .pre_23 {
    font-size: @fs_46;
    text-indent: @fs_46 * 2;
  }

  .pre_25 {
    font-size: @fs_50;
    text-indent: @fs_50 * 2;
  }

  .pre_27 {
    font-size: @fs_54;
    text-indent: @fs_54 * 2;
  }

  .pre_29 {
    font-size: @fs_58;
    text-indent: @fs_58 * 2;
  }

  .lh_72 {
    line-height: @lh_72;
  }

  .lh_84 {
    line-height: @lh_84;
  }

  .lh_96 {
    line-height: @lh_96;
  }

  .botton {
    width: 690px;
    height: 96px;
    background-color: #e3eeff;
    color: #4f88e3;
    font-size: 36px;
    line-height: 96px;
    text-align: center;
    border-radius: 48px;
    border: 0;
  }

  .bottonVIP {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FF2442 !important;
    color: #FFFFFF;
  }

  .VIPCON {
    position: relative;

    .bubble {
      position: absolute;
      width: 120px;
      height: 59px;
      left: 0;
      top: -69px;
      background: #FE8D48;
      border-radius: 10px;
      line-height: 59px;
      text-align: center;
      font-size: 28px;
      font-family: PingFangSC-Regular, PingFang SC;
      font-weight: 400;
      color: #FFFFFF;

      .ears {
        position: absolute;
        right: 10px;
        bottom: -19px;
        width: 0;
        height: 0;
        border-top: 12px solid #FE8D48;
        border-left: 16px solid transparent;
        border-right: -10px solid transparent;
        border-bottom: 10px solid transparent;
      }
    }
  }

  .beanBt {
    .top {
      height: 90px;
      background: #4C4C4C;
      border-radius: 48px;
      font-size: 32px;
      font-family: PingFangSC-Medium, PingFang SC;
      font-weight: 500;
      color: #FFFFFF;
      text-align: center;
      line-height: 90px;
    }

    .bottom {
      display: flex;
      justify-content: space-between;
      margin-top: 50px;
      font-size: 32px;
      font-family: PingFangSC-Medium, PingFang SC;
      font-weight: 500;
      color: #4C4C4C;
    }
  }

  .cir {
    width: 48px;
    height: 48px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    line-height: 48px;
    align-items: center;
    margin-right: 10px;

    .triangle-right {
      width: 0;
      height: 0;
      border-top: 11px solid transparent;
      border-left: 18px solid red;
      border-bottom: 11px solid transparent;
    }
  }

  .action {
    background: #F6F9FF;
  }
}

.bg_b {
  background-color: @bg_F5;
}

.bg_l {
  background-color: @bg_D6E;
}

.bg_h {
  background-color: @bg_F5E;
}

.bg_hh {
  background-color: @bg_36;
}

.cl_h {
  color: @cl_333;
}

.cl_b {
  color: @cl_C8;
}

.cl_e5 {
  color: #5e6065 !important;
}

.cl_d6 {
  color: #d6d9e2 !important;
}

.book_article.bg_hh {
  .botton {
    background: #2A2B2C;
  }

  .action {
    background: #E2E2E2;
  }
}

.fbAd {
  position: fixed;
  left: 20px;
  bottom: 220px;
  z-index: 99;
  width: 140px;
  overflow: hidden;
}

.vipPop {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1000;

  // display: none;
  .back {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, .55);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }

  .vpCon {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    height: 956px;
    background: #FFFFFF;
    border-radius: 30px 30px 0px 0px;
    padding-bottom: 68px;

    .vpTitle {
      font-size: 32px;
      font-family: PingFangSC-Medium, PingFang SC;
      font-weight: 600;
      color: #333333;
      padding: 30px;

      .title {
        font-size: 32px;
        font-family: PingFangSC-Medium, PingFang SC;
        font-weight: 600;
        color: #333333;
        display: flex;
        flex-direction: column;
      }

      .sm {
        font-size: 24px;
        color: #707070;
      }
    }

    .size36 {
      font-size: 36px;
    }

    .vpline {
      height: 2px;
      background: #EEEEEE;
    }

    .lookVideoIs {
      margin: 10px 14px 28px;
      position: relative;

      .lvBack {
        width: 100%;

        image {
          width: 100%;
        }
      }

      .lvContent {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: calc(100% - 20px);
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 0 34px 0 42px;
        box-sizing: border-box;

        image {
          width: 104px;
          margin-right: 12px;
        }

        .sm {
          flex: 1;
          display: flex;
          flex-direction: column;
          justify-content: space-around;
          margin-right: 12px;

          .top {
            font-size: 36px;
            font-family: PingFangSC-Regular, PingFang SC;
            font-weight: 400;
            color: #FFF;
          }
        }

        .bt {
          width: 158px;
          height: 60px;
          background: #FFFFFF;
          border-radius: 32px;
          text-align: center;
          line-height: 60px;
          font-size: 28px;
          font-family: PingFangSC-Regular, PingFang SC;
          font-weight: 400;
          color: #FF2442;
        }
      }
    }

    .lookVideo {
      margin: 10px 30px 50px;
      background: #FFF0F2;
      border-radius: 10px;
      border: 6px solid #FF4E67;
      height: 212px;
      padding: 22px;
      box-sizing: border-box;
      display: flex;
      justify-content: flex-start;
      align-items: center;

      image {
        width: 104px;
        margin-right: 12px;
      }

      .sm {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        margin-right: 12px;

        .top {
          font-size: 32px;
          font-family: PingFangSC-Regular, PingFang SC;
          font-weight: 400;
          color: #FF0D2E;
          // margin-bottom: 12px;
        }

        .bottom {
          font-size: 28px;
          font-family: PingFangSC-Regular, PingFang SC;
          font-weight: 400;
          color: #666666;
        }
      }

      .bt {
        width: 158px;
        height: 60px;
        background: #FF2442;
        border-radius: 32px;
        text-align: center;
        line-height: 60px;
        font-size: 28px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #FFFFFF;
      }
    }

    .wid10 {
      height: 10px;
    }

    .ktVip {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;

      view {
        font-size: 28px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #666666;

        image {
          width: 20px;
        }
      }
    }

    .selectVip {
      display: flex;
      justify-content: space-between;
      margin: 0 30px;

      &>view {
        width: 218px;
        height: 196px;
        border-radius: 10px;
        border: 2px solid #FFCCD5;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;

        .top {
          font-size: 28px;
          font-family: PingFangSC-Medium, PingFang SC;
          font-weight: 600;
          color: #333333;
        }

        .center {
          font-family: PingFangSC-Regular, PingFang SC;
          font-weight: 400;
          color: #FF2442;
          display: flex;
          align-items: flex-end;

          text {
            font-size: 24px;
            margin-bottom: 4px;
            margin-right: 6px;
          }

          view {
            font-size: 36px;
          }
        }

        .bottom {
          font-size: 24px;
          font-family: PingFangSC-Regular, PingFang SC;
          font-weight: 400;
          color: #666666;
        }

        .cz {
          position: absolute;
          width: 110px;
          height: 45px;
          right: -2px;
          top: -21px;
          background: linear-gradient(to right, #FF957D, #FF4C4B);
          border-bottom-left-radius: 10px;
          border-bottom-right-radius: 5px;
          border-top-right-radius: 10px;
          border-top-left-radius: 5px;
          display: flex;
          justify-content: center;
          align-items: center;

          image {
            width: 28px;
            height: 32px;
            margin-right: 5px;
          }

          text {
            font-size: 28px;
            font-family: PingFangSC-Regular, PingFang SC;
            font-weight: 400;
            color: #FFFFFF;
          }
        }
      }

      .select {
        background: #FFF0F2;
        border: 2px solid #FF2442;
      }
    }

    .openingBt {
      margin: 30px 30px 0;
      height: 86px;
      line-height: 86px;
      // background: linear-gradient(90deg, #FF2442 0%, #FF5E74 100%);
      background-color: #FFFFFF;
      border-radius: 48px;
      text-align: center;
      color: #FF3E58;
      border: 2px solid #FF5C77;
    }
  }
}

.text-with-lines {
  position: relative;
  text-align: center;
  color: #FF2442;
  font-size: 32px;
  /* 可根据需要调整字体大小 */
}

.pay_btns {
  .vip_btn {
    width: 690rpx;
    height: 86rpx;
    line-height: 86rpx;
    text-align: center;
    border-radius: 48rpx 48rpx 48rpx 48rpx;
    font-family: PingFang SC, PingFang SC;
    font-weight: 500;
    font-size: 32rpx;
    font-style: normal;
    text-transform: none;
  }
  
  .shubi_btn {
    width: 690rpx;
    height: 86rpx;
    line-height: 86rpx;
    text-align: center;
    background: #FFE7EB;
    border-radius: 48rpx 48rpx 48rpx 48rpx;
    font-family: PingFang SC, PingFang SC;
    font-weight: 500;
    font-size: 32rpx;
    color: #FF415B;
    font-style: normal;
    text-transform: none;
  }
  view {
    &:nth-child(2){
      background: linear-gradient(90deg, #FF2442 0%, #FF5E74 100%);
      color: #FFFFFF;
      margin: 30rpx 0;
    }
    &:nth-child(3){
      background: #FFE7EB;
      color: #FF415B;
    }
  }
}



// .text-with-lines  {
//   position: relative;
//   text-align: center;
//   color: #FF2442;
//   padding: 0 20px;  /* 为文本增加一些左右内边距，使线条不贴近文本 */
//   font-size: 16px;  /* 可根据需要调整字体大小 */
// }
.text-with-lines::before,
.text-with-lines::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 25%;
  /* 线条的宽度，可根据需要调整 */
  border-top: 2px dashed #FF91A0;
  /* 设置为虚线，并定义颜色 */
  transform: translateY(-50%);
}

.text-with-lines::before {
  left: 0;
}

.text-with-lines::after {
  right: 0;
}