body {
  margin: 0;
  color: #2c2c2c;
  background: #f9f9f9;
}

.hide {
  display: none;
}

.inner {
  padding: 24px;
}
.panel {
  padding: 24px;
  background: #fff;
  border-radius: 20px 20px 0 0;
  max-width: 1264px;
  margin: 0 auto;
}
.tabs {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  height: 68px;
}
.tab-item {
  cursor: pointer;
  padding: 0 20px;
  line-height: 40px;
  border-radius: 20px;
  color: #8a8b92;
}
.tab-item.active {
  color: #2c2c2c;
  font-weight: 600;
  background: #f6f6f6;
}

.card {
  position: relative;
  background-image: linear-gradient(to right, #ff7106 80%, #ffac44);
  border-radius: 24px;
  overflow: hidden;
}
.card-top {
  padding: 28px 32px;
  background-image: url("../images/card-top.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-main {
  margin: 0 4px 4px;
  padding: 20px 16px 16px;
  border-radius: 18px;
  background: #fff;
}
.card-user {
  display: flex;
  align-items: center;
}
.card-user > .avatar {
  width: 48px;
  height: 48px;
  border-radius: 100%;
}
.card-user > .name {
  margin-left: 20px;
  font-weight: 600;
  color: #fff;
}

.box {
  padding: 20px 0;
  border: 1px solid #f6f6f6;
  border-radius: 16px;
}
.scroll-box {
  overflow-x: auto;
}
.scroll-box::-webkit-scrollbar {
  display: none;
}
.vip-type {
  gap: 20px;
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  justify-content: center;
  box-sizing: border-box;
  padding: 14px 20px 0 20px;
}
.vip-box {
  max-width: 160px;
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  background-image: url("../images/vipNoSelect.png");
  background-size: 100% 100%;
  cursor: pointer;
  text-align: center;
  position: relative;
}
.vip-box.active {
  background-image: url("../images/vipSelect.png");
}
.vip-title {
  margin-top: 36px;
  height: 24px;
  font-weight: 600;
  line-height: 24px;
  color: #8a8b92;
  font-size: 16px;
}
.vip-price {
  margin-top: 12px;
  height: 32px;
  font-weight: 600;
  font-size: 32px;
  display: flex;
  justify-content: center;
  line-height: 32px;
}
.vip-price .span1 {
  color: #8a8b92;
  font-size: 12px;
  font-weight: 400;
  margin-top: 6px;
}
.vip-price .span2 {
  font-size: 18px;
  margin-top: 5px;
}
.vip-discount {
  color: #bdbdbe;
  margin-top: 8px;
  height: 22px;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  text-decoration-line: line-through;
}
.vip-discount2 {
  color: #bdbdbe;
  margin-top: 8px;
  height: 22px;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
}
.vip-limit {
  width: 160px;
  height: 28px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(131deg, #fff0dc, #ffe6d9);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 400;
  font-size: 12px;
  color: #f67942;
  line-height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vip-limit::empty {
  display: none;
}
.active > .vip-limit {
  color: #fff;
  background: linear-gradient(131deg, #ffac3d, #ff7c36) !important;
}
.active .vip-title,
.active .vip-price,
.active .vip-price .span1,
.active .vip-price .span2 {
  color: #f67942;
}
.active .vip-discount,
.active .vip-discount2 {
  color: #ffb18f;
}

.vip-text {
  color: #8a8b92;
  margin-top: 12px;
  margin-left: 20px;
  height: 20px;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
}

.paymenttools {
  background: #f6f6f6;
  border: 1px solid #f6f6f6;
  height: 40px;
  border-radius: 8px;
  display: inline-flex;
  cursor: pointer;
  margin-top: 20px;
  max-width: 100%;
}
.paytype {
  width: 152px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 400;
  font-size: 13px;
}
.paytype > img {
  width: 18px;
  height: 18px;
  margin-right: 4px;
  -o-object-fit: cover;
  object-fit: cover;
}
.paytype.active {
  color: #2c2c2c;
  background: #fff;
  border: 1px solid #f6f6f6;
}
.payinfo {
  margin-top: 24px;
}
.payinfo .price {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}
.payinfo .span1 {
  color: #8a8b92;
  height: 18px;
  font-weight: 400;
  font-size: 13px;
  margin-bottom: 8px;
  line-height: 18px;
}
.payinfo .span2 {
  font-weight: 600;
  font-size: 36px;
  color: #f67942;
}
.payinfo .span3 {
  margin: 0 8px;
  padding: 0 6px;
  height: 20px;
  background: rgba(246, 121, 66, .1);
  border-radius: 4px;
  border: 1px solid rgba(246, 121, 66, .3);
  font-weight: 400;
  font-size: 12px;
  color: #f67942;
  line-height: 20px;
}
.paybtn {
  width: 298px;
  height: 64px;
  color: #fff;
  background-color: #f67942;
  border-color: #f67942;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 10px;
  max-width: 100%;
}
.card-center {
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 749px) {
  body {
    font-size: 14px;
  }

  .vip-type {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }

  .inner {
    padding: 12px;
  }
  .panel {
    padding: 12px;
  }
  .tabs {
    display: none;
    height: auto;
    margin-bottom: 10px;
  }
  .tab-item {
    cursor: pointer;
    padding: 0 16px;
    line-height: 30px;
    border-radius: 15px;
    color: #8a8b92;
    font-size: 14px;
  }
  .tab-item.active {
    color: #2c2c2c;
    font-weight: 600;
    background: #f6f6f6;
  }

  .card-top {
    padding: 12px;
  }
  .card-user > .avatar {
    width: 36px;
    height: 36px;
  }
  .card-user > .name {
    margin-left: 8px;
  }
  .paybtn {
    height: 50px;
  }
  .box {
    padding: 0;
    border: none;
  }
  .card-center {
    align-items: center;
  }
  * {
    cursor: default !important;
  }
}
