.vr-video-container {
  position: relative;
}

.vr-logo {
  position: absolute;
  z-index: 6;
  display: inline-block;
  opacity: 0.65;
  pointer-events: none;
  transform: scale(1.25);
  transform-origin: right bottom;
}

.vr-logo--bottom-right {
  right: 12px;
  bottom: 12px;
}

.vr-logo--top-left {
  left: 12px;
  top: 12px;
}

.vr-logo img {
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .vr-logo {
    transform: scale(1);
    transform-origin: right bottom;
  }

  .vr-logo img {
    max-width: 30vw !important;
    max-height: 18vw !important;
  }
}

.vr-preroll {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  background: #000;
  text-align: center;
}

.vr-preroll.is-active {
  display: flex;
}

.vr-preroll img {
  max-width: 100%;
  height: auto;
}

.vr-preroll-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 4px;
}

.vr-footer-banner {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 12px !important;
  z-index: 99999 !important;
  text-align: center !important;
  padding: 0 12px !important;
  margin: 0 !important;
  pointer-events: none !important;
  transform: translateZ(0);
}

.vr-footer-banner .vr-rotating-banner {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(100%, var(--vr-banner-width, 728px)) !important;
  max-width: var(--vr-banner-width, 728px) !important;
  height: var(--vr-banner-height, 90px) !important;
  background: #111 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
  pointer-events: auto !important;
}

.vr-footer-banner .vr-rotating-banner img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

@media (max-width: 768px) {
  .vr-footer-banner {
    bottom: 12px !important;
    padding: 0 8px !important;
  }

  .vr-footer-banner .vr-rotating-banner {
    width: min(100%, var(--vr-banner-width, 728px)) !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: var(--vr-banner-width, 728) / var(--vr-banner-height, 90) !important;
    border-radius: 6px !important;
  }
}


.vr-sidebar-banner--left {
  margin: 0 0 18px;
  text-align: center;
}

.vr-sidebar-banner--left .vr-rotating-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, var(--vr-banner-width, 210px));
  max-width: 100%;
  height: auto;
  aspect-ratio: var(--vr-banner-width, 210) / var(--vr-banner-height, 300);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.vr-sidebar-banner--left .vr-rotating-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vr-sidebar-banner--right {
  margin: 0 0 18px;
  text-align: center;
}

.vr-sidebar-banner--right .vr-rotating-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, var(--vr-banner-width, 210px));
  max-width: 100%;
  height: auto;
  aspect-ratio: var(--vr-banner-width, 210) / var(--vr-banner-height, 300);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.vr-sidebar-banner--right .vr-rotating-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vr-cover-ad {
  position: absolute;
  inset: 0;
  z-index: 15;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: #000;
  transition: opacity 0.22s ease;
}

.vr-cover-ad.is-hiding {
  opacity: 0;
}

.vr-cover-ad img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vr-cover-ad__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 100%);
}

.vr-cover-ad__button {
  border: 0;
  border-radius: 999px;
  background: #19c15f;
  color: #fff;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.vr-cover-ad__counter {
  color: #fff;
  font-size: 13px;
  text-align: center;
}

.vr-video-top-banner {
  margin: 0 0 14px;
  text-align: center;
}

.vr-video-top-banner .vr-rotating-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, var(--vr-banner-width, 728px));
  max-width: 100%;
  height: auto;
  aspect-ratio: var(--vr-banner-width, 728) / var(--vr-banner-height, 90);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.vr-video-top-banner .vr-rotating-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vr-video-bottom-banner {
  margin: 14px 0 0;
  text-align: center;
}

.vr-video-bottom-banner .vr-rotating-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, var(--vr-banner-width, 728px));
  max-width: 100%;
  height: auto;
  aspect-ratio: var(--vr-banner-width, 728) / var(--vr-banner-height, 90);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.vr-video-bottom-banner .vr-rotating-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
