:global(.eyeProtection) {
  .header {
    background: var(--eye-background-color) !important;
  }
}

.header {
  :global(.van-hairline--right)::after {
    border-color: #ebdabf !important;
    height: 80%;
    top: 10%;
  }
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  border-radius: 5px 5px 0 0;
  background-color: #fff;
  .leftButton{
    display: flex;
    align-items: center;
    .back {
      z-index: 9;
      padding: 0;
      height: auto;
      background-color: transparent;
      border: none;
    }
  }
  .info {
    display: flex;
    justify-content: space-between;
    height: 36px;
    box-sizing: border-box;
    padding-right: 16px;
    padding-left: 8px;
    :global{
      .van-grid-item__content{
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-color: transparent;
      }
    }
  }
  .musicName {
    margin-left: 7px;
    max-width: 20vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    color: #985131;
  }
  .demos {
    position: absolute;
    right: 5px;
    height: initial;
    display: flex;
    margin-top: 5px;
    position: absolute;
    padding: 0 3px;
    float: right;
    background-color: rgba(255, 255, 255, 0.6);
    height: 19px;
    border-radius: 9px;
    > div {
      display: flex;
      align-items: center;
      > span {
        display: inline-block;
        margin: 0 4px;
        font-size: 7px;
        color: #1a1a1a;
      }
    }
  }
  :global {
    .van-grid {
      &::after {
        display: none;
        border: none;
      }
    }
    .van-grid-item__content {
      width: 28px;
      padding: 0;
      color: #333;
      display: flex;
      &::after {
        border-color: #e5e5e5;
      }
      > div {
        > span {
          font-size: 8px;
          font-weight: bold;
        }
      }
      > span {
        color: #999;
        font-size: 6px;
        display: block;
        // margin-top: 5px;
        height: 12px;
        line-height: 12px;
        text-align: center;
        &.switch {
          width: 21px;
          border-radius: 6px;
        }
        &.active {
          background-color: var(--van-primary-color);
          color: #fff;
        }
      }
    }
    .van-grid-item__content {
      > span {
        width: initial;
        height: initial;
      }
      &::after {
        display: none;
        border: none;
      }
    }
  }
}

.line {
  position: relative;
  &::before {
    width: 100%;
    height: 4px;
    background: #fcd660;
    border-radius: 2px;
    opacity: 0.26;
    content: '';
    display: block;
    position: absolute;
    bottom: -2px;
  }
}



.btns {
  :global {
    .van-grid-item__content {
      img{
        display: block;
        width: 15px;
        height: 15px;
      }
      > span {
        margin-top: 0;
        font-size: 5px;
        width: initial;
        height: initial;
      }
    }
  }
}

.pop {
  padding: 8px 15px;
  border-radius: 9px;
  // overflow: hidden;
  h2 {
    font-size: 8px;
    color: #333333;
    font-weight: normal;
    text-align: center;
  }
  > div {
    margin-left: 0;
  }
  :global(.van-badge__wrapper) {
    width: 7px;
    height: 12px;
    display: block;
    text-align: center;
  }
  :global(.van-grid-item__content) {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 0;
    > span {
      display: inline-block;
      margin-left: 3px;
      flex: 1;
      color: #1a1a1a;
      font-size: 6px;
      width: 85px;
      height: 9px;
    }
  }
}

.close {
  position: absolute;
  right: -6px;
  top: -6px;
  width: 16px;
  height: 16px;
  display: flex;
  z-index: 10;
  img {
    display: block;
    width: 100%;
    height: 100%;
  }
}

.try {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  .trybtn {
    width: 82px;
    height: 22px;
    background: linear-gradient(180deg, #59e5d5 0%, #2dc7aa 100%);
    box-shadow: 0px 2px 7px 0px rgba(45, 199, 170, 0.25);
    border-radius: 12px;
    font-size: 9px;
    color: #fff;
    margin: auto;
    border: none;
    // overflow: hidden;
  }
}
.videoContent{
  margin: 0;
  border-radius: 10px;
  --plyr-color-main: var(--van-primary-color);
  background-color: transparent;
  .box{
    display: flex;
    align-items: center;
    overflow: hidden;
    max-width: 80vw;
    height: 80vh;
    max-height: 325px;
    video{
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    
  }
  :global{
    .plyr{
      border-radius: 10px;
      height: 100%;
    }
  }
}