.playSection {
  min-height: 175px;

  :global {
    .vjs-poster {
      background-size: cover;
    }


    .video-js .vjs-progress-control:hover .vjs-progress-holder {
      font-size: inherit !important;
      outline: none;
    }

    .video-js .vjs-slider:focus {
      box-shadow: none !important;
      text-shadow: none !important;
      outline: none;
    }
  }
}

@keyframes rotateImg {
  100% {
    transform: rotate(360deg);
  }
}

.audioSection {
  position: relative;
  background: url('./images/audio-banner-bg.png') no-repeat top center;
  background-size: cover;
  height: 175px;

  .audioContainer {
    position: absolute;
    top: 0;
    left: 50%;
    width: 196px;
    height: 35px;
    transform: translate(-50%, 60px);

    .waveActive,
    .waveDefault {
      width: 100%;
      height: 100%;
    }

    .waveDefault {
      position: absolute;
      top: 0;
      left: 0;
      background: url('./images/wave-1.png')no-repeat center left;
      background-size: cover;
    }

    .waveActive {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
      background: url('./images/wave-2.png')no-repeat center left;
      background-size: cover;
    }
  }


  .audioBox {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 2;
    width: 74px;
    height: 75px;
    background: url('./images/audio-bg.png') no-repeat center;
    background-size: contain;

    // &::after {
    //   content: '';
    //   width: 134px;
    //   height: 73px;
    //   position: absolute;
    //   left: 50%;
    //   transform: translate(-50%, 50%);
    //   background: url('./images/audio-shadow.png') no-repeat center;
    //   background-size: contain;
    //   z-index: -1;
    // }
    .audioPan {
      position: absolute;
      left: 8px;
      top: 6px;
      z-index: 8;
      width: 59px;
      height: 60px;
      background: url('./images/audio-pan.png') no-repeat center;
      background-size: contain;
      display: flex;
      align-items: center;
      justify-content: center;

      animation: rotateImg 6s linear infinite;

      &.imgRotate {
        animation-play-state: paused;
      }
    }

    .audioImg {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      overflow: hidden;
    }

    .audioPoint {
      position: absolute;
      z-index: 9;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: 8px;
      height: 8px;
      background: url('./images/audio-point.png') no-repeat center;
      background-size: contain;
    }

    .audioZhen {
      position: absolute;
      z-index: 9;
      right: -4px;
      top: -33px;
      width: 26px;
      height: 87px;
      background: url('./images/audio-zhen.png') no-repeat center;
      background-size: contain;
      transition: transform .5s ease-in-out;

      &.active {
        transform: rotate(92deg) translate3d(0, 0, 3px);
        transition: transform .5s ease-in-out;
      }
    }
  }

}

.controls {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-direction: row;
  transition: all 0.5s;
  padding: 0 12px;

  &>div {
    display: flex;
    align-items: center;
  }

  &.hide {
    transform: translateY(100%);
  }



  .actionBtn {
    line-height: 0;
    margin-right: 4px;

    img {
      width: 14px;
      height: 14px;
      margin-bottom: -2px;
    }
  }

  .time {
    display: flex;
    justify-content: space-between;
    flex: 1;
    min-width: 86px;
    font-size: 12px;
    color: #131415;
    line-height: 20px;

    span {
      font-size: 12px;
      padding: 0 1px;
    }
  }

  .slider {
    width: 100%;
    margin: 0 12px;
    --van-slider-bar-height: 4px;
    --van-slider-button-width: 13px !important;
    --van-slider-button-height: 13px !important;
    --van-slider-inactive-background: #fff;
    --van-slider-inactive-background-color: #fff;
    --van-slider-active-background: #2DC7AA !important;

    :global {

      .van-loading {
        width: 100%;
        height: 100%;
      }

    }
  }

}

.userSection {
  padding: 15px 12px !important;
  background-color: transparent !important;

  .userLogo {
    width: 44px;
    height: 44px;
    border: 1px solid #FFFFFF;
    margin-right: 10px;
    border-radius: 50%;
    overflow: hidden;
  }

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

      span {
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100px;
      }
    }

    .sub {
      padding-top: 2px;
      font-size: 12px;
      color: #777777;
      line-height: 17px;
    }

    .iconMember {
      margin-left: 6px;
      width: 14px;
      height: 14px;
    }
  }

  .zan {
    background: #FFFFFF;
    border-radius: 13px;
    font-size: 14px;
    color: #777777;
    line-height: 20px;
    padding: 4px 9px 3px;
    display: inline-flex;
    align-items: center;

    &.zanActive {
      background: #F7EEEE;
      color: #FF6A6A;
    }

    .iconZan {
      width: 18px;
      height: 18px;
      margin-right: 2px;
    }
  }
}

.musicSection {
  margin: 0 13px 12px;
  padding: 14px 12px;
  background: #FFFFFF;
  border-radius: 10px;

  .musicName {
    font-size: 15px;
    font-weight: 500;
    color: #333333;
    line-height: 21px;
    // display: flex;
    // align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 230px;

    .musicTag {
      margin-right: 6px;
      padding: 1px 6px;
      font-size: 12px;
      color: #FF7B31;
      line-height: 17px;
      background: rgba(255, 166, 115, 0.07);
      border-radius: 9px;
      border: 1px solid #FFBF9A;
      font-weight: 400;
      vertical-align: text-bottom;
      display: inline-block;
    }
  }

  .musicDesc {
    padding-top: 8px;
    font-size: 14px;
    color: #777777;
    line-height: 20px;
  }
}

.likeSection {
  margin: 0 13px 12px;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 10px 12px;

  .likeTitle {
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    color: #333333;
    line-height: 24px;
    padding-bottom: 8px;

    &::before {
      display: inline-block;
      content: '';
      width: 4px;
      height: 14px;
      border-radius: 2px;
      background: linear-gradient(to bottom, #59E5D5, #2DC7AA);
      margin-right: 6px;
    }
  }
}

.likeItem {
  padding: 16px 0;

  .userLogo {
    border-radius: 50%;
    overflow: hidden;
    width: 42px;
    height: 42px;
    margin-right: 7px;
  }

  .userInfo {
    .name {
      font-size: 16px;
      font-weight: 500;
      color: #333333;
      line-height: 22px;
    }

    .sub {
      padding-top: 2px;
      font-size: 13px;
      color: #777777;
      line-height: 18px;
    }
  }

  .time {
    font-size: 13px;
    color: #777777;
    line-height: 18px;
  }
}


.bottomSection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  padding: 15px 12px;

  .bottomShare {
    display: flex;
    align-items: center;

    p {
      padding: 0 15px;
      text-align: center;
      line-height: 0;

      &:first-child {
        padding-left: 5px;
      }
    }

    img {
      width: 18px;
      height: 18px;
    }

    span {
      padding-top: 8px;
      font-size: 12px;
      color: #333333;
      line-height: 17px;
      display: block;
    }
  }

  .btnEdit {
    font-size: 14px;
    font-weight: 500;
    background: #2DC7AA;
    color: #FFFFFF;
    line-height: 22px;
    min-width: 80px;
    height: 30px;
    border: none;
  }
}

.popupContainer {
  width: 80%;


  .popupContent {
    padding: 29px 0 25px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    line-height: 25px;
  }

  .popupBtnGroup {
    text-align: center;
    margin-bottom: 22px;

    :global {
      .van-button {
        height: 40px;
        font-size: 16px;
        font-weight: 400 !important;
        line-height: 22px;
        min-width: 122px;

        &:last-child {
          margin-left: 10px;
          background: #2DC7AA;
          border: none;
        }
      }
    }
  }
}

.cellGroup {
  display: flex;
  flex-wrap: wrap;
}

.cell {
  // display: flex;
  // flex-direction: column;
  width: 96px;
  margin-right: 18px;
  margin-bottom: 18px;

  &:nth-child(3n + 3) {
    margin-right: 0;
  }

  .cellImg {
    position: relative;

    &::before {
      content: '';
      position: absolute;
      right: -6px;
      top: 3px;
      z-index: 8;
      width: 84px;
      height: 84px;
      background: url('./images/audio-pan.png') no-repeat center;
      background-size: contain;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .iconZan {
      position: absolute;
      bottom: 4px;
      left: 4px;
      z-index: 10;
      padding: 3px;
      background: rgba(67, 67, 67, 0.3);
      border-radius: 8px;
      backdrop-filter: blur(4px);

      font-size: 9px;
      font-weight: 500;
      color: #FFFFFF;
      line-height: 13px;
      display: flex;
      align-items: center;

      &::before {
        content: '';
        display: inline-block;
        width: 12px;
        height: 12px;
        background: url('./images/icon-z.png') no-repeat center;
        background-size: contain;
      }
    }
  }

  .cellImage {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 12px;
    z-index: 9;

    :global {
      img {
        border-radius: 12px;
      }
    }
  }

  .cellTitle {
    font-size: 13px;
    color: #131415;
    line-height: 18px;
    margin: 8px 0 6px;
  }

  .users {
    display: flex;
    align-items: center;

    .userImg {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      overflow: hidden;
      margin-right: 4px;
      flex-shrink: 0;
    }

    .name {
      font-size: 12px;
      color: #402424;
      line-height: 14px;
    }
  }
}