:root {
  --theme-color-primary: #656DE6;
  --theme-color-primary-dark: #3943df;
  --theme-color-primary-light: #9197ed;
}
.ub-video-container {
  background: #1b1e32;
}
.ub-video {
  display: flex;
  background: #151728;
}
.ub-video.full-page .side {
  display: none;
}
.ub-video .main {
  flex: 1;
  width: 0;
}
.ub-video .main .player-box {
  width: 100%;
  position: relative;
  display: block;
  overflow: hidden;
}
.ub-video .main .player-box:after {
  content: '';
  display: block;
  margin-top: 56.25%;
  height: 0;
}
.ub-video .main .player-box .player-info {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #FFF;
  display: flex;
  justify-content: center;
  item-align: center;
  flex-direction: column;
  text-align: center;
  z-index: 1000;
}
.ub-video .main .player-box .player {
  height: 100%;
  width: 100%;
  position: absolute;
  inset: 0;
}
.ub-video .main .player-box .player .iframe {
  width: 100% !important;
  height: 100% !important;
}
.ub-video .main .player-box .player .player-iframe-mask {
  width: 100% !important;
  height: 100% !important;
  position: relative;
  overflow: hidden;
}
.ub-video .main .player-box .player .player-iframe-mask iframe {
  width: 900px;
  height: 500px;
}
.ub-video .main .tool-box {
  background: #0f111d;
  padding: 0.5rem;
  height: 2rem;
}
.ub-video .main .tool-box .item {
  color: #999;
  display: inline-block;
  line-height: 1rem;
  margin-right: 0.5rem;
  height: 1rem;
}
.ub-video .side {
  width: 10rem;
  flex-shrink: 0;
  position: relative;
}
.ub-video .side .side-container {
  position: absolute;
  inset: 0;
  overflow: auto;
  color: #9ca2ac;
  --color-scrollbar-bg: #1b1e32;
}
@media screen and (max-width: 40rem) {
  .ub-video {
    flex-direction: column;
    height: auto;
  }
  .ub-video .main {
    width: 100%;
  }
  .ub-video .side {
    width: 100%;
  }
  .ub-video .side .side-container {
    position: relative;
  }
}
