.yfs-page {
  background: #1b1c1e;
  padding: 28rpx 20rpx 300rpx;
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;

  .nodata {
    text-align: center;
    padding: 100rpx 0 0;
    color: #4efbff;
    font-size: 24rpx;
  }
}
.yfs-wrap {
  box-sizing: border-box;
  width: 100%;
  height: 280rpx;
  background: url(https://chujianchaowan.oss-cn-beijing.aliyuncs.com/images/8a820df45af79f2971645662cacce8cd.png)
    no-repeat center;
  background-size: contain;
  display: flex;
  padding: 14rpx 38rpx 0;
  align-items: center;
  position: relative;
  .skeleton {
    background-image: linear-gradient(
      90deg,
      #252932 25%,
      #2c3241 37%,
      #252932 63%
    );
    list-style: none;
    background-size: 400% 100%;
    background-position: 100% 50%;
    animation: skeleton-loading 1.4s ease infinite;
  }
  .yfs-media {
    width: 200rpx;
    height: 200rpx;
    background-color: #d9d9d9;
    border: 2rpx solid #4efbff;
    position: relative;
    overflow: hidden;
    margin-right: 34rpx;
    .yfs-image {
      display: block;
      width: 200rpx;
      height: 200rpx;
    }
    .yfs-media-bar {
      position: absolute;
      width: 100%;
      bottom: 0;
      left: 0;
      display: flex;
      height: 36rpx;
      background: rgba(0, 0, 0, 0.5);
      text-align: center;
      font-size: 20rpx;
      color: rgba(255, 255, 255, 0.6);
      overflow: hidden;
      .yfs-media-title {
        width: 104rpx;
        font-size: 20rpx;
        font-weight: 600;
        color: #222222;
        text-align: center;
        position: relative;
        background: #4efbff;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        line-height: 30rpx;

        .big {
          font-size: 32rpx;
          font-weight: bold;
          font-family: unidreamledregular;
          margin-left: 6rpx;
          line-height: 32rpx;
        }
        &::after {
          content: "";
          width: 0;
          height: 0;
          overflow: hidden;
          border-style: solid;
          border-color: transparent transparent transparent #4efbff;
          border-width: 46rpx 0 0 22rpx;
          position: absolute;
          left: 100%;
          top: 0;
        }
      }
      .yfs-media-desc {
        flex: 1;
        padding-left: 20rpx;
        text-decoration: line-through;
        line-height: 36rpx;
      }
    }
  }
  .yfs-body {
    flex: 1;
    width: 0;
  }
  .yfs-title {
    height: 50rpx;
    font-size: 36rpx;
    font-weight: 600;
    color: #ffffff;
    line-height: 50rpx;
    text-shadow: 0rpx 0rpx 12rpx rgba(78, 255, 249, 0.4);
    white-space: nowrap;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    &.skeleton {
      width: 80%;
    }
  }
  .yfs-control {
    display: flex;
    height: 34rpx;
    font-size: 24rpx;
    color: #ffffff;
    line-height: 34rpx;
    margin-top: 20rpx;
    align-items: center;
    .yfs-control-btn {
      font-size: 24rpx;
      color: #4efbff;
      background: none;
      border-radius: 0;
      height: 34rpx;
      color: #ffffff;
      line-height: 34rpx;
      display: inline-flex;
      align-items: center;
      padding: 0;
      margin: 0;
      &[disabled] {
        opacity: 0.5;
      }
      &:first-child {
        margin-right: 24rpx;
      }
      &:last-child {
        margin-left: 24rpx;
      }
      &::after {
        display: none;
      }
      .yfs-control-icon {
        width: 26rpx;
        height: 26rpx;
        &:first-child {
          margin-right: 6rpx;
        }
        &:last-child {
          margin-left: 6rpx;
        }
      }
    }
  }
  .yfs-progress {
    width: 100%;
    height: 16rpx;
    background-color: #444a60;
    overflow: hidden;
    margin-top: 32rpx;
    .yfs-progress-innter {
      width: 100%;
      height: 16rpx;
      position: relative;
      background: #4efbff;
      transform: translate(-100%, 0);
      transition: transform 0.3s;
      &::after {
        content: "";
        width: 0;
        height: 0;
        overflow: hidden;
        border-style: solid;
        border-color: transparent transparent transparent #4efbff;
        border-width: 0 0 16rpx 8rpx;
        position: absolute;
        left: 100%;
      }
    }
  }
  .yfs-bottom {
    margin-top: 16rpx;
    display: flex;
    justify-content: space-between;
    font-size: 24rpx;
    color: #ffffff;
    height: 28rpx;
    line-height: 28rpx;
    .yfs-bottom-left {
      height: 28rpx;
      &.skeleton {
        width: 30%;
      }
    }
    .yfs-bottom-right {
      color: #4efbff;
      display: inline-flex;
      align-items: center;
      height: 28rpx;
      .yfs-bottom-icon {
        width: 24rpx;
        height: 24rpx;
        margin-left: 8rpx;
      }
      &.skeleton {
        width: 30%;
      }
    }
  }
  .yfs-price {
    margin-top: 8rpx;
    .yfs-price-small {
      font-size: 22rpx;
      font-weight: 500;
      color: #ffffff;
      line-height: 26rpx;
    }
    .yfs-price-big {
      font-size: 40rpx;
      font-weight: bold;
      color: #ffffff;
      line-height: 47rpx;
      margin-left: 4rpx;
    }
    .yfs-price-origin {
      font-size: 24rpx;
      font-weight: 400;
      color: #aaaaaa;
      line-height: 28rpx;
      text-decoration: line-through;
      margin-left: 16rpx;
    }
  }
  .yfs-media-avatars {
    display: flex;
    align-items: center;
    margin-top: 28rpx;
    .yfs-queue-avatars {
      padding: 0 36rpx 0 0;
      .yfs-queue-avatar,
      .yfs-queue-more {
        box-sizing: border-box;
        width: 50rpx;
        height: 50rpx;
        border: 2rpx solid #ffffff;
        border-radius: 100%;
        margin-right: -14rpx;
        background: #d9d9d9;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 40rpx;
        color: #555555;
      }
    }
    .yfs-media-avatars-label {
      flex: 1;
      font-size: 26rpx;
      font-weight: 500;
      color: #ffffff;
      line-height: 30rpx;
    }
  }
  .yfs-float-rule {
    box-sizing: border-box;
    position: absolute;
    right: 2rpx;
    top: 50%;
    transform: translate(0, -50%);
    width: 42rpx;
    height: 108rpx;
    background: #292d3b;
    box-shadow: 0rpx 0rpx 6rpx 0rpx #4efbff;
    border: 4rpx solid #4efbff;
    font-size: 20rpx;
    color: #4efbff;
    line-height: 22rpx;
    padding: 8rpx;
    text-align: center;
  }
}
.yfs-tabs {
  margin-top: 30rpx;
  display: flex;
  .yfs-tab {
    width: 0;
    height: 42rpx;
    line-height: 42rpx;
    font-size: 42rpx;
    color: #9a9a9a;
    font-family: ysbth;
    flex: 1;
    text-align: center;
    padding-bottom: 14rpx;
    &.yfs-tab-active {
      color: #4efbff;
      position: relative;
      &::after {
        content: "";
        width: 30rpx;
        height: 4rpx;
        background: #4efbff;
        position: absolute;
        left: 50%;
        bottom: 0;
        margin-left: -15rpx;
      }
    }
  }
}
.yfs-list {
  display: flex;
  flex-wrap: wrap;
  margin: 24rpx -7rpx 0;
  .yfs-list-item {
    margin: 0 8rpx 16rpx;
  }
  .level-item {
    width: 100%;
    display: block;
  }
}
.yfs-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  .yfs-cd-bar {
    width: 100%;
    height: 52rpx;
    background: rgba(1, 1, 1, 0.69);
    line-height: 56rpx;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    border-bottom: 4rpx solid #4efbff;
    padding-right: 28rpx;
  }
  .yfs-cd-main {
    position: relative;
    width: 434rpx;
    height: 52rpx;
    font-family: ysbth;
    background: #4efbff;
    font-size: 30rpx;
    color: #000000;
    text-align: center;
    &::after {
      content: "";
      position: absolute;
      left: 100%;
      width: 0;
      height: 0;
      overflow: hidden;
      border-style: solid;
      border-color: transparent transparent transparent #4efbff;
      border-width: 54rpx 0 0 26rpx;
    }
    .yfs-cd-time {
      margin-left: 34rpx;
    }
  }
  .yfs-cd-exit {
    width: auto;
    font-size: 24rpx;
    color: #4efbff;
    line-height: 56rpx;
    margin: 0;
    background-color: transparent;
    border-radius: 0;
    &::after {
      display: none;
    }
  }
  .yfs-footer-main {
    padding: 42rpx 24rpx 92rpx;
    background: #292d3b;
    width: 100%;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;

    .yfs-queue-btn {
      background: url(@/assets/detail/btn-join.png) no-repeat center;
      background-size: contain;
      width: 222rpx;
      height: 98rpx;
      font-family: ysbth;
      font-size: 40rpx;
      color: #000000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 14rpx 0 0;
      margin: 0;
      border-radius: 0;
      &::after {
        display: none;
      }
      &.yfs-queue-btn-center {
        margin: 0 auto;
      }
    }
    .yfs-login-btn {
      background: url(@/assets/detail/btn-login.png) no-repeat center;
      background-size: contain;
      width: 584rpx;
      height: 92rpx;
      display: block;
      margin: 0 auto;
      border-radius: 0;
      &::after {
        display: none;
      }
    }
  }
}
.yfs-queue-avatars {
  display: flex;
  flex-direction: row-reverse;
  padding: 14rpx 0 0;
  .yfs-queue-avatar,
  .yfs-queue-more {
    box-sizing: border-box;
    width: 60rpx;
    height: 60rpx;
    border: 2rpx solid #ffffff;
    border-radius: 100%;
    margin-right: -14rpx;
    background: #d9d9d9;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40rpx;
    color: #555555;
  }
}
.yfs-fixed-btns {
  position: fixed;
  right: 0;
  bottom: 380rpx;
  .yfs-fixed-btn {
    width: 126rpx;
    height: 62rpx;
    background: rgba(5, 5, 5, 0.7);
    box-shadow: 0rpx 0rpx 6rpx 0rpx #4efbff;
    border: solid #4efbff;
    border-width: 4rpx 0 4rpx 4rpx;
    border-radius: 50rpx 0 0 50rpx;
    margin-bottom: 20rpx;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24rpx;
    color: #4efbff;
    padding: 0 0 0 10rpx;
    text-align: center;
    white-space: nowrap;
    &::after {
      display: none;
    }
    .yfs-icon-refresh {
      width: 26rpx;
      height: 26rpx;
      margin-right: 12rpx;
    }
    .yfs-icon-refresh-anim {
      animation: turn 0.8s linear infinite;
    }
  }
}
@keyframes turn {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.5);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.yfs-lable-tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  margin-top: 32rpx;

  .yfs-lable-tab {
    width: 120rpx;
    height: 50rpx;
    line-height: 50rpx;
    border: 2rpx solid #9a9a9a;
    font-size: 24rpx;
    font-weight: 500;
    color: #9a9a9a;

    &.active {
      color: #4efbff;
      border: 2rpx solid #4efbff;
    }
  }
}
