.memberCenter {
  min-height: 100vh;
  background: url('./new-images/icon-banner.png') no-repeat top center;
  background-size: contain;
  box-sizing: border-box;

  :global {
    .van-nav-bar__left .van-icon {
      color: #000000;
    }
  }

  .shareBtn {
    width: 16px;
    height: 16px;
  }
}

.userSection {
  position: absolute;
  top: 10px;
  left: 16px;
  display: flex;
  align-items: flex-start;

  .userImgSection {
    position: relative;
    width: 48px;
    height: 48px;
    margin-right: 13px;
    flex-shrink: 0;

    .userImg {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      overflow: hidden;
      border: 2px solid #F2F6F7;
    }

    .showMemeber {
      position: absolute;
      bottom: 1px;
      right: -3px;
      width: 18px;
      height: 18px;

    }

    &.userVip {
      .showMemeber {
        background: url('./new-images/icon-vip-disabled.png') no-repeat center;
        background-size: contain;
      }

      &.isVip {
        .userImg {
          border: 2px solid #F0AF88;
        }

        .showMemeber {
          background: url('./new-images/icon-vip.png') no-repeat center;
          background-size: contain;
        }
      }
    }

    &.userSVip {
      .showMemeber {
        background: url('./new-images/icon-svip-disabled.png') no-repeat center;
        background-size: contain;
      }

      &.isVip {
        .userImg {
          border: 2px solid #F0AF88;
        }

        .showMemeber {
          background: url('./new-images/icon-svip.png') no-repeat center;
          background-size: contain;
        }
      }
    }
  }

  .userInfo {
    padding-top: 5px;
    max-width: 185px;

    .userName {
      display: flex;
      align-items: center;
      padding-bottom: 4px;
    }

    .name {
      font-weight: 500;
      font-size: 18px;
      color: #000000;
      max-width: 90px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .phone {
      font-size: 13px;
      color: #777777;
    }

    .member_time {
      font-size: 12px;
      color: #777777;
      line-height: 17px;

      span {
        color: #FF623A;
        font-weight: bold;
      }
    }
  }
}

.memberContainer {
  position: relative;
  padding-top: 100px;

  .showBrid {
    position: absolute;
    right: 0;
    top: -17px;
    display: inline-block;
    width: 129px;
    height: 144px;
    background: url('./new-images/icon-banner-brid.png') no-repeat center;
    background-size: contain;
  }
}


.shareVip {
  position: relative;
  margin-top: 50px;
  display: flex;
  flex: 1;
  align-items: center;
  padding: 11px 6px 11px;
  background: #ffffff;
  border-radius: 10px;

  .icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .info {
    margin-left: 6px;
    flex: 1;
    word-break: break-all;

    >h4 {
      color: var(--music-list-item-title-color);
      font-size: 14px;
      font-weight: 600;
    }

    >p {
      color: var(--music-list-item-mate-color);
      line-height: 17px;
    }
  }
}

.tagDiscount {
  position: absolute;
  top: -23px;
  left: 15px;
  padding: 0 10px;
  height: 23px;
  background: linear-gradient(180deg, #ffb635 0%, #ff4e18 100%);
  border-radius: 8px 8px 0px 0px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  line-height: 24px;
}


.memberSection {
  position: relative;
  z-index: 1;
  background: linear-gradient(179deg, #FFFFFF 0%, #FFFFFF 45%, #BEF5D8 70%, #CDF7CB 100%);
  border-radius: 16px 16px 0px 0px;
  padding-bottom: 10px;
}
.activitTip2{
  margin: 16px;
  background: linear-gradient( 90deg, #FFE9EE 0%, #FFECD9 100%);
  border-radius: 8px;
  padding: 8px 9px;
  .activitTipText{
    white-space: pre-line;
    font-weight: 500;
    font-size: 14px;
    color: #6B4429;
    line-height: 22px;
    background: linear-gradient(90deg, #F31234 0%, #FF6E00 100%);
    -webkit-background-clip: text; /* 让背景裁剪到文字上 */
    -webkit-text-fill-color: transparent; /* 文字填充透明色，显示背景渐变 */
  }
}

.member_tabs {
  display: flex;
  align-items: center;
  justify-content: space-around;

  .member_tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    cursor: pointer;
    opacity: 0.3;
  }

  .member_tab_active {
    opacity: 1;
  }

  .icon_member {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 6px;
  }

  .icon_text {
    position: relative;
    margin-top: 3px;
    .activitTip{
      background: linear-gradient( 315deg, #FF1E3D 0%, #FF0704 51%, #FF7A4F 100%);
      border-radius: 11px 11px 11px 0px;
      font-weight: 600;
      font-size: 12px;
      color: #FFFFFF;
      line-height: 18px;
      padding: 1px 6px;
      white-space: nowrap;
      position: absolute;
      left: 18px;
      top: -25px;
    }
  }

  .bottom_line {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    z-index: -1;
    height: 7px;
    width: 100%;
    display: inline-block;
  }

  .top_tab {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 5px;
  }

  .vip_member_tip {
    width: 71px;
    height: 14px;
    background: url('./new-images/vip-bottom-tip.png') no-repeat center;
    background-size: contain;
    display: inline-block;
  }

  .top_tab_vip {
    .icon_member {
      background: url('./new-images/icon-vip.png') no-repeat center;
      background-size: contain;
    }

    .icon_text {
      background: url('./new-images/icon-vip-text.png') no-repeat center;
      background-size: contain;
      width: 59px;
      height: 15px;
    }

    .bottom_line {
      background: url('./new-images/icon-vip-bottom-line.png') no-repeat center;
      background-size: contain;
    }
  }

  .svip_member_tip {
    width: 122px;
    height: 14px;
    background: url('./new-images/svip-bottom-tip.png') no-repeat center;
    background-size: contain;
    display: inline-block;
  }

  .top_tab_svip {
    .icon_member {
      background: url('./new-images/icon-svip.png') no-repeat center;
      background-size: contain;
    }

    .icon_text {
      background: url('./new-images/icon-svip-text.png') no-repeat center;
      background-size: contain;
      width: 68px;
      height: 15px;
    }

    .bottom_line {
      background: url('./new-images/icon-svip-bottom-line.png') no-repeat center;
      background-size: contain;
    }
  }


  .member_tab_single {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px 0;
  }
}

.memberDiscount {
  margin: 10px 16px 6px;
  position: relative;
  background: url('./new-images/icon-discount-bg.png') no-repeat center;
  background-size: contain;
  display: flex;
  align-items: center;
  height: 40px;
  font-size: 14px;
  color: #6B4429;
  line-height: 18px;

  .discountAvatar {
    margin-left: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #ffaf59;
  }

  .discountName {
    margin-left: 30px;
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: transparent;
    font-size: 14px;
    color: #6B4429;
    padding-top: 1px;
    line-height: 1.2;

    span {
      color: #FF491A;
      font-weight: 500;
    }
  }

  .discountGift {
    position: absolute;
    right: 11px;
    top: 0;
    width: 40px;
    height: 40px;
  }
}

.btnGroup {
  padding: 18px 15px 23px;
  background-color: #fff;


  .btn {
    border-radius: 12px;
    font-weight: bold;
    font-size: 18px;
    color: #662610 !important;
    line-height: 24px;
  }

  .btnDisabled {
    opacity: .4;
  }
}


.system_list_section {
  // margin: 0 16px;
}

.system-list::-webkit-scrollbar {
  display: none;
  /* Chrome Safari */
}

.system-list {
  width: calc(100% - 16px);
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  position: relative;
  user-select: none;
  box-sizing: content-box;
  padding-top: 15px;
  padding-bottom: 2px;
  padding-right: 16px;


  &.list_two {
    .system-item {
      width: 141px;

      &.active {
        width: 191px;
      }
    }
  }
}

.system-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 1 0 auto;
  width: 96px;
  min-height: 120px;
  // overflow: hidden;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #E7E7E7;
  margin-left: 10px;

  &:first-child {
    margin-left: 16px;
  }

  // &:last-child {
  //   margin-right: 16px;
  // }


  .discountTag {
    position: absolute;
    top: 13px;
    left: 0;
    right: 0;
    width: 100%;
    // background: linear-gradient(180deg, #FF491A 0%, #FF9F7E 100%);
    // color: #FFFFFF;
    display: inline-block;
    width: 48px;
    height: 16px;
    background: url('./new-images/icon_discount-text.png') no-repeat center;
    background-size: contain;
    // margin-top: 1px;
    margin: 0 auto;
  }

  .iconPermanent {
    position: absolute;
    left: -1px;
    top: -9px;
    width: 77px;
    height: 20px;
    background: url('./new-images/icon-permanent1.png') no-repeat center;
    background-size: cover;
  }

  .activitTip1{
    position: absolute;
    background: linear-gradient( 315deg, #FF3C83 0%, #FF0704 51%, #FF7A4F 100%);
    border-radius: 6px 6px 6px 0px;
    font-weight: 600;
    font-size: 12px;
    color: #FFFFFF;
    line-height: 17px;
    padding: 1px 6px 2px;
    left: -1px;
    top: -9px;
  }

  .s_title {
    position: relative;
    font-weight: 500;
    font-size: 13px;
    color: #333333;
    line-height: 18px;
    padding-top: 30px;
    width: 100%;
    text-align: center;
  }

  .price {
    font-family: DINAlternate-Bold, DINAlternate;
    font-weight: bold;
    font-size: 28px;
    color: #333333;
    padding: 3px 0 6px;

    span {
      font-size: 16px;
      vertical-align: middle;
    }
  }

  .originalPrice {
    color: #999999;
    font-size: 12px;
    line-height: 16px;

    &.originalPriceHide {
      opacity: 0;
    }
  }

  .extraTip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    background: #FFF5E0;
    line-height: 21px;
    font-weight: 500;
    font-size: 12px;
    color: #84520F;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    padding: 2px 8px 1px;
    border-radius: 0 0 6px 6px;
  }

  &.active {
    border: 2px solid #0ED8B0;
    background: linear-gradient(51deg, #E3F9F2 0%, #BCF8E5 100%);
    width: 130px;

    .iconPermanent {
      left: -2px;
    }
    .activitTip1 {
      left: -2px;
    }
    .extraTip {
      background: #0ED8B0;
      color: #FFFFFF;
      font-weight: 500;
      bottom: -1px;
      left: -1px;
      width: calc(100% + 2px);
    }
  }
}

.list_one {
  padding-top: 10px;

  .system-item {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px;
    width: calc(100% - 32px);
    margin: 0 0 0 16px;
    // margin: 0;
    min-height: 81px;
    border: 2px solid #0ED8B0;
    background: linear-gradient(51deg, #E3F9F2 0%, #BCF8E5 100%);

    .iconPermanent {
      left: -2px;
      top: -2px;
      background: url('./new-images/icon-permanent.png') no-repeat center;
      background-size: cover;
      width: 61px;
      height: 16px;
    }

    .discountTag {
      position: absolute;
      right: -2px;
      top: -2px;
      left: auto;
      background: url('./new-images/icon_discount2.png') no-repeat center;
      background-size: contain;
      width: 48px;
      height: 16px;
      padding: 0;
      margin: 0;
      border-radius: 0;
    }


    .itemBg {
      position: absolute;
      right: 71px;
      top: 0;
      bottom: 0;
      width: 100px;
      background: url('./new-images/icon-svip-big-icon.png') no-repeat center;
      background-size: contain;
    }
  }

  .priceS {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;

    .price {
      color: #03A385;
      padding-bottom: 0;
      padding-top: 0;
    }

    .s_title {
      padding-top: 4px;
      padding-left: 10px;
      font-weight: 500;
      font-size: 15px;
      color: #333333;
      line-height: 21px;
    }
  }

  .oneMaxNum {
    margin-left: 4px;
    display: inline-block;
    background: linear-gradient(90deg, #BEFCE8 0%, #BFFAE8 100%);
    border-radius: 2px;
    font-size: 12px;
    color: #03A385;
    margin-top: 2px;
    padding: 1px 2px;
  }

  .oneMaxNumPrice {
    text-decoration: line-through;
  }

  .oneBtn {
    position: relative;
    z-index: 1;
    width: 71px;
    height: 30px;
    background: url('./new-images/btn-svip.png') no-repeat center;
    background-size: contain;
    cursor: pointer;

    &.onBtnRenew {
      background: url('./new-images/btn-svip-review.png') no-repeat center;
      background-size: contain;
    }

    &.onBtnDisbled {
      opacity: .4;
    }
  }
}

.system_list_vip {
  .system-item {
    &.active {
      border: 2px solid #FFDB66;
      background: linear-gradient(90deg, #FFF7C4 0%, #FEF098 100%);
      width: 130px;

      .extraTip {
        background-color: #FFDB66;
      }
    }
  }

  &.list_two {
    .system-item {
      width: 141px;

      &.active {
        width: 191px;
      }
    }
  }

  &.list_one {
    .system-item {
      background: linear-gradient(90deg, #FFF7C4 0%, #FEF098 100%);
      border: 2px solid #FFDB66;


      .itemBg {
        background: url('./new-images/icon-vip-big-icon.png') no-repeat center;
        background-size: contain;
      }
    }

    .priceS {
      .price {
        color: #FF7452;
      }
    }

    .oneMaxNum {
      background: linear-gradient(90deg, #FEDA66 0%, #FEDA66 100%);
      color: #FF7452;
      text-decoration: line-through;
    }

    .oneBtn {
      background: url('./new-images/btn-vip.png') no-repeat center;
      background-size: contain;
      cursor: pointer;

      &.onBtnRenew {
        background: url('./new-images/btn-vip-review.png') no-repeat center;
        background-size: contain;
      }
    }
  }
}

// 弹窗样式
.dialogContainer {
  width: 287px;
  box-sizing: border-box;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 16px 24px 22px;
  text-align: center;

  .dialogTitle {
    font-weight: 500;
    font-size: 18px;
    color: #333333;
    line-height: 25px;
  }

  .dialogContent {
    padding: 16px 0 21px;
    font-size: 15px;
    color: #777777;
    line-height: 26px;
  }

  .dialogBtnGroup {
    padding: 0 16px;

    &.orderGroup {
      display: flex;
      align-items: center;
      padding: 0;
    }

    :global {
      .van-button {
        font-weight: 500;
        font-size: 16px;
      }
    }
  }

  .dialogBtn {
    margin-left: 12px;
    color: #FFFFFF;
    line-height: 22px;
  }
}

.discountTips {
  background: linear-gradient(203deg, rgba(254, 237, 197, 0.5) 0%, rgba(255, 198, 179, 0.5) 100%);
  border-radius: 6px;
  padding: 6px 3px 6px 8px;
  // font-weight: 500;
  font-size: 12px;
  line-height: 17px;
  color: #6B4429;
  margin-top: 12px;
  margin-left: 16px;
  margin-right: 16px;

  span {
    color: #FF491A;
  }
}
