/* 全屏模式下的样式 */
// :fullscreen .videoContent,
// :-webkit-full-screen .videoContent,
// :-moz-full-screen .videoContent,
// :-ms-fullscreen .videoContent {
//   width: 100% !important;
//   height: 100% !important;

// }

.videoWrap {
  width: 100%;
  height: 100%;
  height: 518px;

  // &:-webkit-full-screen {
  //   width: 100% !important;
  //   height: 100% !important;
  // }

  .videoContent {
    height: 100%;

    // &.fullScreen {
    //   width: 100% !important;
    //   height: 100% !important;
    // }

    // &:-webkit-full-screen {
    //   width: 100% !important;
    //   height: 100% !important;
    // }

    :global {
      .video-js .vjs-tech {
        // object-fit: cover;
      }
    }
  }


  .controls {
    // border-radius: 0 0 16px 16px !important;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    // background: rgba(0, 0, 0, 0.6);
    background: url('../../../common/images/bg.png') no-repeat;
    background-size: 100% 100%;
    // backdrop-filter: blur(26px);
    height: 80px;
    padding: 0 26px 0 26px !important;
    transition: all 0.3s;
    display: flex;
    align-items: center;

    .time {
      display: flex;
      justify-content: space-between;
      color: #fff;
      padding: 4px 12px 4px 26px;
      font-size: max(24px, 14Px);
      font-weight: 600;
      line-height: 33px;
      // min-width: 150px;
      flex-shrink: 0;

      .line {
        font-size: 20px;
      }

      :global {
        .plyr__time {
          font-size: max(22px, 12Px);
        }

        .plyr__time+.plyr__time:before {
          content: '';
          margin-right: 0;
        }
      }
    }
  }

  .actions {
    display: flex;
    justify-content: space-between;
    height: 100%;
    color: #fff;
    font-size: 12px;
    align-items: center;
    flex-shrink: 0;

    .actionWrap {
      display: flex;
      align-items: center;
    }

    .actionBtn {
      display: flex;
      width: 36px;
      height: 36px;
      padding: 0;
      background: transparent;
      cursor: pointer;

      &>img {
        width: 100%;
        height: 100%;
      }
    }


    .actionBtnSpeed {
      position: relative;
      width: 36px;
      height: 36px;
      background-color: transparent;
      cursor: pointer;

      &>img {
        width: 100%;
        height: 100%;
      }
    }


    .iconReplay {
      width: 36px;
      height: 36px;
      background-color: transparent;
      cursor: pointer;
      margin: 0 14px 0 12px;

      &>img {
        width: 100%;
        height: 100%;
      }
    }

    .actionBtn,
    .actionBtnSpeed,
    .iconReplay {
      width: 48px;
      height: 48px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 6px;

      &>img {
        width: 36px;
        height: 36px;
      }

      &:hover {
        transition: background .1s ease;
        background-color: rgba(255, 255, 255, 0.15);
      }
    }

    .iconDownload {
      width: 48px;
      height: 48px;
      margin-left: 14px;
      border-radius: 6px;
      background-color: transparent;
      cursor: pointer;
      transition: background .1s ease;
      display: flex;
      align-items: center;
      justify-content: center;

      &>img {
        width: 36px;
        height: 36px;
      }

      &:hover {
        transition: background .1s ease;
        background-color: rgba(255, 255, 255, 0.15);
      }
    }
  }

  .slider {
    width: 100%;
    padding: 0 0 0 12px;

    :global {

      .n-slider .n-slider-rail .n-slider-rail__fill,
      .n-slider .n-slider-handles .n-slider-handle-wrapper {
        transition: all .2s;
      }
    }
  }

  .sectionAnimate {
    // opacity: 0;
    pointer-events: none;
    // transform: translateY(100%);
    margin-bottom: -80px;
    transition: all .3s;
  }

}

.sliderPopup {
  position: absolute;
  z-index: 9999;
  left: -8px;
  bottom: 55px;
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 252px;
  width: 59px;
  padding: 12Px 0 15Px;
  background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI4AAAJcCAMAAAAYSmw3AAAAaVBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnbPKNAAAAI3RSTlOzAAUJiqaplqF6V0c4nSevpJN+GAZtX1EQGpqDPTQVc2QhqyTybJ0AAAKuSURBVHja7NRJVsJQAAXRRxMg9BwgGWX/2xT0KCKII5M/uHcFNaqMntm25+mm2uVf7KrN9NxuR8885ozX9Sw9mNXr8Z85p2WV3lTL0+uc1SK9Wqxe5HTz9G7e/ZbTZBDN05xJnYHUk8ec4yGDORx/5hz3GdD+eJ8zOWRQh8ldTp2B1d9zmgyuueV0KUD3lTNPAeafOasUYfWRc1qkCIvTe84yhVhec8ZVClGNLznrFGM9yvAHvKkvObMUYzbKNgXZpk1B2pxTkHOmKcg0mxRkk2ImeFVll4IUFQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAG3twIAAAAAAA5P/aCKqqqqqqqqqqqqqqqtJ+nSQ3CgVRFH2XjwCjHnWoCTXe/yJrUlEljCz7R9riD/Ks4E7yRaRzzjnnnHPOOeecc845zZWQuUZKyEhTJWSqXAnJtVFCNtopITvNlJCZKJSMAvGmZLwhJkrGBJElM4SjDEGtRNQgCJWSUAUQMFYSxoAASiWgBBCQxnFN/uWw1eC2/M+h0cAa7nNCqUGVoZPDaqEBLVZ0c9iXGky552MOodFAmkA/B64axBUe5jA56OUOE+6IjvFCL7UY0yG6Ql3oZYo68DwH1qfmXS/w3pzWfCQeyGb1Ja8K/ZKiyi/1LOMB8UTWFzcH4+wBnhCRsmNEDbFErPW3e3ZEE9FCrm+p6THkWHu29BlyjD1XIthyCEt9YUMEaw7tFz0XIthzaMvnz3YUew7tQZ86ZsSx53Ce6hP5mqcsOfE9eSCePYdVpQeWhhqEwX6hnrLFQFjcej2HFgthchupY3rGRNjcCt2pVtgIo1lxV7PHSFjtl/orP2Ml7E7HuTRvTtiJH9G2/AiRlD84lRqqt/0KYQAAAABJRU5ErkJggg==') no-repeat top center;
  background-size: contain;

  .iconAdd,
  .iconCut {
    display: inline-block;
    width: 24Px;
    height: 24Px;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAMAAAApWqozAAABMlBMVEUAAAAkqP8ckv8zu/8op/81v/8ajv8elP82v/8rrv8elP4npv8yuf8elP8elf81v/8sr/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5GxoPB8cjiZlrCoP+meld2tFTGwgAAAABJRU5ErkJggg==') no-repeat center;
    background-size: contain;
    flex-shrink: 0;
    cursor: pointer;

    &.disabled {
      opacity: 0.7;
    }
  }

  .iconCut {
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAMAAAApWqozAAABGlBMVEUAAAAkqP8zu/8op/8ajv8aj/8yuP8elP4npv4dlP8elP8yuP8elP81v/8sr/8jnf8Zjf81v/81v/8jn/8zu/8wtf8gl/82wP8oqP8npf83wP8qqv8mpP8Zjf81vf8tsv8hmv8bj/41wP8qqv8lof8Zjf41vv8sr/8jnf8aj/0zuf8dlf8bjf00vP8xt/8zvf8stv8dmf8dkv8srv8trf8qq/7///8tsP4jn/4us/8srv8gmf4lov4yuf8dlf4wt/8inf4hm/4ck/4bkf4wtP8koP4mpf4fl/4op/40vP8ajv4pqf4zuv98x/5+y/6Bxf40vv80u/6Dx/6a1f5owP5PsP4/p/5zwP4oo/4yoP7u+P7u9/5svP5it/4TfkURAAAANXRSTlMACoT49+66uoaDWFJSR0dHR/j29vHx8evr69fX19fQ0NDQsbGxsaioqKiVlYZYWCMjIyP29l0yDtwAAAGnSURBVDjLjc6HVsIwGAXg27I37r33nkilWloXCGK17OH7v4YpSKSQtPnS5v7n5J6cYIyUPt1bC/j9gbW907QEN+kjf2mE/ygNnvhWacJWHCzXoWem0DUmRAPPHIEoxkSeXETgcPJEaGSx88Rxr6ZpaqOtcUVARTWt0DBNs06yoBGTSd99NV8gXeKnwDV/hYGQqrZNoqerfCH0xVXVaNr3GqqbOGybhlG3LKunG642QaQMXW9altkmaRhk42UKwKGu6xXLquteDgFpRlGUutV8VbzMSEj1h0ZL8ZZC+FVYGLsPwnaxSudWrcJQa9HCKpbehqp3TFVaWIKPzl12uUsLPviKQx12uUMLPiwWi+XBzHsGOR9YxEqZqn0y1MrUCnYy5Uyfd+4gnBEWRlK8nIR0kxN0KwEHuVzWnrNeeQAgmRWUBLEh1t2ALXYvJIa+oEg3iIHLuRdPc5f4c/6Sz+fd/3NQct6DjBHHj66O4SC7dWWMOZv94Jg9w4SL4Ps3WeRzZvACLLH1d8Iu/Od6DDyJ/emvEdP7CbiREvL28sLU1MLytpyQ4PQLtc9vYI2HRk0AAAAASUVORK5CYII=') no-repeat center;
    background-size: contain;
  }

  .sliderPoint {
    background: #FFFFFF;
    box-shadow: 0 2px 4px 0px rgba(102, 102, 102, 0.77);
    border-radius: 14px;
    font-size: 13Px;
    font-weight: 500;
    height: 22Px;
    color: #198CFE;
    min-width: 42px;
    text-align: center;
    vertical-align: text-bottom;

    span {
      font-size: 12Px;
    }
  }

  :global {
    .n-slider {
      margin: 7px 0;
      padding: 0;
    }
  }
}

// .videoWrap {
//   width: 100%;
//   height: 100%;
//   --plyr-color-main: #198CFE;
//   --plyr-range-track-height: 6px;
//   --plyr-tooltip-radius: 3px;
//   --plyr-range-thumb-height: 24px;
//   --plyr-video-controls-background: #000;


//   :global {
//     .plyr--video {
//       width: 100%;
//       height: 100%;
//     }

//     .plyr__time {
//       display: block !important;
//     }

//     .plyr__video-wrapper {
//       pointer-events: none;
//     }

//   }
// }

// :global(.bottomFixed).controls {
//   width: 100% !important;
//   background: rgba(0, 0, 0, 0.6) !important;
//   // backdrop-filter: blur(26px);
//   height: 80px !important;
//   min-height: 80px !important;
//   padding: 0px 36px !important;
//   z-index: 999;

//   .time {
//     display: flex;
//     justify-content: space-between;
//     color: #fff;
//     padding: 4px 12px 4px;
//     font-size: 24px;
//     font-weight: 600;
//     line-height: 33px;
//     min-width: 136px;

//     .line {
//       font-size: 12px;
//     }

//     :global {
//       .plyr__time+.plyr__time:before {
//         content: '';
//         margin-right: 0;
//       }
//     }
//   }

//   .slider {
//     width: 100%;
//     padding: 0 20px 0 12px;

//     :global {
//       .van-slider__button {
//         background: var(--van-primary);
//       }

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

//   .actions {
//     display: flex;
//     justify-content: space-between;
//     color: #fff;
//     font-size: 12px;
//     align-items: center;

//     .actionWrap {
//       display: flex;
//     }

//     .actionBtn {
//       display: flex;

//       padding: 0;
//       width: 52px;
//       height: 52px;
//       background: transparent;
//     }

//     .actionBtn>img {
//       width: 100%;
//       height: 100%;
//     }

//     :global {
//       .van-loading__circular {
//         width: 100%;
//         height: 100%;
//       }
//     }

//     .playIcon {
//       display: none;
//     }

//     .btnPlay img:nth-child(2) {
//       display: block;
//     }

//     .btnPause img:nth-child(3) {
//       display: block;
//     }

//     .btnPlay,
//     .btnPause {
//       :global {
//         .van-loading {
//           display: none;
//         }
//       }
//     }

//     .loopBtn {
//       background-color: transparent;
//       width: 31px !important;
//       height: 29px !important;
//       padding: 0;
//       cursor: pointer;

//       :global {
//         .loop {
//           display: block;
//         }

//         .loopActive {
//           display: none;
//         }
//       }
//     }
//   }
// }
