.hy-video-player-content {
  width: 100%;
  height: 400px;
  border: 1px solid rgba(var(--hy-border));
  background: #040814;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s linear;
  video {
    width: 100%;
  }
  &.hy-video-player-content-pick-up {
    height: 60px !important;
  }
  // 全屏播放器样式
  &.hy-full-video-player-content {
    height: 100% !important;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    transition: none;

    .operator-box {
      height: 65px;
      .center-operator {
        .hy-icon {
          width: 34px;
          height: 34px;
        }
        &.center-analyse {
          .last-icon,
          .next-icon {
            width: 30px;
            height: 30px;
          }
        }
      }

      .left-operator {
        font-size: 16px;
      }

      .right-operator {
        .speed-box {
          height: 28px;
          font-size: 14px;
        }
        .hy-icon {
          width: 28px;
          height: 28px;
          &.volume-icon {
            width: 30px;
            height: 30px;
          }
        }
      }
    }

    .float-operator-item {
      position: absolute;
      right: 16px;
      z-index: 100;
      color: rgba(var(--hy-main));

      .hy-icon {
        width: 28px;
        height: 28px;
      }
    }
  }
  &:not(.hy-video-player-content-pick-up) {
    video {
      height: 0;
      flex-grow: 1;
    }
  }

  .operator-box {
    width: 100%;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background: #040814;
    color: rgba(var(--hy-main));
    padding: 0 10px;
    margin-top: 16px;

    .progress-box {
      width: 100%;
      height: 14px;
      position: absolute;
      top: -14px;
      left: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;

      input[type='range'] {
        width: 100%;
        height: 6px;
        outline: none;
        border-radius: 20px;
        -webkit-appearance: none; /*清除系统默认样式*/
        background-color: #eaf5f9;
        position: relative;
      }

      input[type='range']::-webkit-slider-thumb {
        -webkit-appearance: none; /*清除系统默认样式*/
        width: 14px;
        height: 14px;
        border-radius: 20px;
        background: rgba(var(--hy-main));
        box-shadow: 0px 0px 6px 3px rgba(var(--hy-theme));
        cursor: pointer;
      }

      input[type='range']::-ms-fill-lower {
        -webkit-appearance: none;
      }
    }

    .left-operator {
      font-size: 12px;
      font-weight: bold;
      color: rgba(var(--hy-auxiliary));
      display: flex;
      align-items: center;
      column-gap: 4px;
      white-space: nowrap;
    }

    .center-operator {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      display: flex;
      align-items: center;
      column-gap: 10px;
      & > div {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        .hy-icon {
          width: 26px;
          height: 26px;
        }
      }
      &.center-analyse {
        .last-icon,
        .next-icon {
          width: 22px;
          height: 22px;
        }
      }
    }

    .right-operator {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      column-gap: 10px;
      position: relative;
      color: rgba(var(--hy-main));

      .speed-box {
        min-width: 60px;
        height: 24px;
        font-size: 12px;
        color: rgba(var(--hy-auxiliary));
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        user-select: none;
        padding: 0 6px;
        border: 1px solid rgba(var(--hy-border));
        border-radius: 4px;
        background-color: rgba(var(--hy-background-2));
      }

      .hy-icon {
        width: 18px;
        height: 18px;
        cursor: pointer;
        &.volume-icon {
          width: 20px;
          height: 20px;
        }
      }
    }
  }

  .float-operator-item {
    position: absolute;
    top: 20px;
    right: 10px;
    z-index: 100;
    color: rgba(var(--hy-main));
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    transition: all 0.3s linear;

    .hy-icon {
      width: 24px;
      height: 24px;
      cursor: pointer;
    }
  }

  .right-center-operator {
    top: 40%;
  }

  .vlc-between-control {
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    bottom: 0;
    background: linear-gradient(
      to bottom,
      rgba(28, 51, 74, 0) 0%,
      #1c334ac4 50%,
      rgba(28, 51, 74, 0) 100%
    );
  }

}

.hy-video-player-popover-volume-slider {
  min-width: auto !important;
  width: 40px !important;
  padding: 16px 0;
}

.hy-video-player-popover-speed {
  min-width: auto !important;
  width: 62px !important;
  padding: 0px !important;
  .speed-list {
    width: 100%;
    color: rgba(var(--hy-auxiliary));
    font-size: 12px;
    li {
      transition: 0.5s;
      height: 26px;
      line-height: 26px;
      text-align: center;
      &:after {
        transition: 0s;
      }
      &:hover,
      &.selectBox {
        color: rgba(var(--hy-theme));
        background: rgba(var(--hy-background-3));
      }
    }
  }
}
