.memberH {
  :global {
    .van-sticky {
      background: url('./images/member-bg.png') no-repeat top center;
      background-size: 100% 214px;
    }
  }

}

.member-center {
  // background: url('./images/member-bg.png') no-repeat top center #FFEAE9;

  background: #FFEAE9; //linear-gradient(180deg, #FFEBE9 0%, #F7C6D2 33%, #FFD0D0 100%);
  // background-size: contain;
  min-height: 100vh;
  position: relative;



  .bgImg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 214px;
    // object-fit: cover;
    z-index: 0;
  }

  :global {
    .van-nav-bar {
      background-color: transparent;
    }
  }

  .member_container {
    position: relative;
    // padding: 10px 14px 0;
    background: url('./images/vip-bg.png') no-repeat center;
    background-size: contain;
    height: 156px;

    .title {
      display: flex;
      align-items: center;
      font-size: 16px;
      line-height: 28px;
      font-weight: 500;
      color: #333333;

      &::before {
        content: ' ';
        width: 4px;
        height: 17px;
        background: #01c1b5;
        display: inline-block;
        margin-right: 7px;
        border-radius: 8px;
      }
    }

    .iconMember {
      position: absolute;
      top: 16px;
      right: 6px;
      width: 135px;
      height: 108px;
    }
  }

  .level {
    width: 44px;
    height: 17px;
  }

  .userMember {
    background-color: transparent;
    width: auto;
    padding: 0;
    // border-radius: 10px;
    padding: 18px 12px 30px 26px;

    .userImgSection {
      position: relative;
      padding: 3px;
      background: linear-gradient(270deg, rgba(255, 123, 87, 1), rgba(255, 138, 91, 1), rgba(255, 52, 96, 1));
      margin-right: 12px;
      border-radius: 50%;

      &::before {
        content: ' ';
        position: absolute;
        left: 1px;
        top: 1px;
        bottom: 1px;
        right: 1px;
        background-color: #fff;
        border-radius: 50%;
      }
    }

    .userImg {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      vertical-align: middle;
      overflow: hidden;
    }

    .userInfo {
      padding-top: 4px;
      display: flex;
      align-items: center;
      color: #fff;
      padding-bottom: 5px;

      .name {
        padding-right: 5px;
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 18px;
        font-weight: 600;
        color: #742626;
      }


    }

    .phone {
      font-size: 13px;
      font-weight: 500;
      color: #91555E;
    }

    .timeRemaining {
      margin-top: 0;
      font-size: 14px;
      color: #c0c0c0;
    }

  }

  .member_time {
    display: flex;
    align-items: center;
    padding-left: 26px;
    font-size: 13px;
    color: #742626;
    position: relative;

    &::after {
      content: ' ';
      width: 5px;
      height: 7px;
      background: url('./images/icon-arrow.png') no-repeat center;
      background-size: contain;
      margin-left: 6px;
      margin-top: -2px;
    }

    .remaining {
      color: #FE2451;
      padding: 0 5px;
      font-weight: bold;
    }
  }

  .intro {
    background: #FFFFFF;
    border-radius: 16px;

    line-height: 24px;
    color: #bb6e3a;
    overflow: hidden;

    &::before {
      content: ' ';
      width: 196px;
      height: 40px;
      background: url('./images/info-title.png') no-repeat;
      background-size: contain;
      display: inline-block;
      margin-left: 50%;
      transform: translateX(-98px);
    }


    &>p {
      position: relative;
      background: linear-gradient(44deg, #FCE3E1 0%, #FEF3EC 29%, #FDDDD5 59%, #FEDBE3 100%);
      border-radius: 12px;
      // opacity: 0.27;
      margin: 0px 12px 20px;

      text-align: justify;
      font-size: 14px;
      font-size: 14px;
      color: #2D1A18;

      &>p {
        padding: 15px;
        background: url('./images/tips-ligit.png') no-repeat center;
        background-size: cover;
      }

      span {
        color: #EF2F56;
        font-weight: 600;
      }
    }
  }


  .memberContainer {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    border: 2px solid #FFFFFF;
    position: relative;
    // margin-top: -15px;
    padding: 12px 12px 12px;
    margin-bottom: 12px;
    z-index: 99;
  }


  .memberItem {
    padding-top: 20px;



    .title {
      font-size: 16px;
      color: #333333;
      font-weight: 500;

      span {
        color: #f7b500;
      }
    }
  }

  .vipFunction {
    margin-top: 12px;
    border-radius: 16px;
    background-color: #fff;
    padding: 0 12px 20px;
    overflow: hidden;

    &::before {
      content: ' ';
      width: 196px;
      height: 40px;
      background: url('./images/function-title.png') no-repeat;
      background-size: contain;
      display: inline-block;
      margin-left: 50%;
      transform: translateX(-98px);
    }
  }

  .member_function {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

    .function_item__content {
      height: 100%;
    }

    .function_item {
      width: 76px;
      padding: 12px 0;
      margin-top: 8px;
      border-radius: 8px;
      overflow: hidden;
      background: #FDF1EA;
      text-align: center;
    }

    .function_text {
      font-size: 12px;
      color: #811C14;
      line-height: 16px;
    }
  }

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

  .system-list {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    position: relative;
    user-select: none;
    box-sizing: content-box;
    margin-bottom: 20px;
    height: auto;
    transition: all .2s;

    &.systemHide {
      height: 0;
      transition: all .2s;
      margin-bottom: 0px;
    }
  }

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

    .bat {
      position: absolute;
      top: -1px;
      left: -1px;
      padding: 2px 5px 1px;
      background: linear-gradient(225deg, #FF9B79 0%, #FF3460 100%);
      border-radius: 11px 10px 10px 0px;
      font-size: 12px;
      font-weight: 600;
      color: #FFFFFF;
      line-height: 17px;
    }

    &:last-child {
      margin-right: 10px;
    }

    .title {
      font-size: 14px;
      font-weight: 500;
      color: #333333;
      line-height: 20px;
    }

    .price {
      color: #EF2F56;
      font-size: 25px;
      line-height: 1.5;
      font-family: DINAlternate-Bold, DINAlternate;
      font-weight: bold;

      span {
        font-size: 16px;
      }
    }

    .originalPrice {
      color: #999999;
      font-size: 13px;
    }

    &.active {
      background: linear-gradient(223deg, #FEECE3 0%, #FEE4E3 52%, #FFDCE6 100%);
      border: 1px solid #FF4264;
      position: relative;

      .title {
        color: #EF2F56;
      }


      .originalPrice {
        color: #EF2F56;
      }

      &::before {
        content: ' ';
        font: 14px/1 'vant-icon';
        width: 27px;
        height: 18px;

        position: absolute;
        top: -1px;
        right: -1px;
        background: url('./images/icon-selected.png') no-repeat center;
        background-size: contain;
      }

      .bat {
        background: linear-gradient(270deg, rgba(255, 255, 255, 0.33) 0%, rgba(254, 229, 227, 0.33) 100%);
        border-radius: 11px 10px 10px 0px;
        border: 1px solid rgba(255, 70, 101, 0.33);
        border-left: 0;
        border-top: 0;
        color: #EF2F56;
      }
    }
  }

  .bottom_function {
    background: url('./images/price-bg.png') no-repeat top center #fff;
    background-size: contain;
    box-shadow: inset 0px 1px 0px 0px #FFFFFF;
    border-radius: 16px 16px 0px 0px;
    // border: 2px solid #FFFFFF;
  }

  .memberMeal {
    .titleMeal {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 16px;
      font-weight: 600;
      color: #131415;
      line-height: 22px;
      padding: 16px 15px;

      .iconArrowLine {
        display: inline-block;
        width: 14px;
        height: 14px;
        background: url('./images/icon-arrow-line.png') no-repeat center;
        background-size: contain;

        &.iconArrowLineHide {
          transform: rotate(180deg);
        }
      }
    }
  }

  .btnGroup {
    // position: fixed;
    // bottom: 0;
    // left: 0;
    // right: 0;
    // z-index: 100;
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 0 16px 12px;
    justify-content: space-between;

    .btn {
      padding: 0 22px;
      height: 44px;
      color: #fff !important;
      background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%);
      border-radius: 39px;
      font-size: 18px;
      font-weight: bold;
      border: none;

      .unit {
        font-size: 14px;
      }
    }

    .priceSection {
      display: flex;
      align-items: center;
      font-size: 16px;
      color: #1a1a1a;

      .price {
        font-size: 18px;
        font-weight: bold;
        color: #ff3535;

        .priceUnit {
          font-size: 14px;
        }
      }
    }
  }
}

.memberDiscount {
  margin-top: 16px;
  position: relative;
  background: url('./images/discount_bg.png') no-repeat center;
  background-size: contain;
  display: flex;
  align-items: center;
  height: 44px;
  font-size: 16px;
  color: #ff7100;
  line-height: 18px;

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

  .discountName {
    padding-left: 30px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .discountGift {
    position: absolute;
    right: 26px;
    top: 7px;
    width: 29px;
    height: 29px;
  }
}

.discountItem {
  height: 14px;
  padding-bottom: 2px;

  img {
    height: 100%;
  }
}

.discountBuy {
  height: 18px;
  padding-bottom: 0;
  margin-left: 8px;
}

.shareBtn {
  display: flex;
  align-items: flex-start;
  color: #666;
  font-size: 14px;
  line-height: 20px !important;

  :global(.van-image) {
    width: 18px;
    height: 18px;
    margin-right: 6px;
  }
}

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