.ub-video-container {
  background: #1b1e32;
}
.ub-video {
  --video-height: 25rem;
  display: flex;
  background: #151728;
  height: calc(2rem + var(--video-height));
}
.ub-video.full-page {
  --video-height: 30rem;
}
.ub-video.full-page .side {
  display: none;
}
.ub-video.no-tool-box {
  height: var(--video-height);
}
.ub-video .main {
  flex: 1;
  width: 0;
}
.ub-video .main .player-box {
  height: var(--video-height);
  width: 100%;
  position: relative;
}
.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%;
}
.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 {
  position: absolute;
  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;
  color: #fff;
  overflow: auto;
  color: #9ca2ac;
  --color-scrollbar-bg: #1b1e32;
}
@media screen and (max-width: 40rem) {
  .ub-video {
    flex-direction: column;
    --video-height: 13rem;
    height: auto;
  }
  .ub-video .main {
    width: 100%;
  }
  .ub-video .side {
    width: 100%;
  }
}

/* 视频要求标签样式 */
.video-requirements {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 2;
}
.video-requirements .vip-tag {
  display: inline-block;
  background: #ffd700;
  color: #000;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
  margin-right: 4px;
}
.video-requirements .point-tag {
  display: inline-block;
  background: #ff6b6b;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
}

/* 视频详情页VIP和点数提示样式 */
.video-access-info {
  background-image: url("/asset/image/video_play_bg.png");
  background-size: 100% 100%;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  padding: 1rem;
}

.video-access-info .title {
  color: #000;
}
.video-access-info .star_img {
  width: 60px;
  height: 60px;
  position: absolute;
  top: 0;
  right: 0;
}
.video-access-info .share {
  color: #fadec0;
}
.video-access-info .share a {
  color: #fadec0;
}

.video-access-info .share_img {
  width: 20px;
  height: 20px;
}
.video-access-info .action {
  background-image: url("/asset/image/button_bg.png");
  background-size: 100% 100%;
  padding: 5px 10px;
  border-radius: 3px;
  color: #fff;
  font-size: 14px;
  text-align: center;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-access-info .action a {
  color: #fff;
}

.layui-layer-page {
  border-radius: 40px !important;
  top: 39% !important;
}
.layui-layer-content {
  border-radius: 15px;
}
