.vbm-video-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.vbm-video-trigger {
  width: 100%;
  text-align: left;
  border: 1px solid #d8dce3;
  border-radius: 6px;
  background: #ffffff;
  color: #1f2933;
  cursor: pointer;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.vbm-video-trigger:hover,
.vbm-video-trigger:focus {
  background: #f4f7fb;
  border-color: #a9b8cc;
  outline: none;
}

.vbm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow-y: auto;
}

.vbm-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 28, 0.75);
}

.vbm-lightbox-dialog {
  position: relative;
  width: min(920px, calc(100vw - 2rem));
  margin: 5vh auto;
  background: #0b111c;
  border-radius: 10px;
  padding: 1rem;
  color: #f3f6fa;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}

.vbm-lightbox-close {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  border: none;
  background: transparent;
  color: #f3f6fa;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.vbm-lightbox-title {
  margin: 0 2rem 0.7rem 0;
  font-size: 1rem;
  font-weight: 600;
}

.vbm-lightbox-content iframe,
.vbm-lightbox-content video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  border-radius: 6px;
  background: #000;
}

.vbm-no-scroll {
  overflow: hidden;
}

@media (max-width: 767px) {
  .vbm-lightbox-dialog {
    margin: 1vh auto;
    width: calc(100vw - 1rem);
    padding: 0.75rem;
  }

  .vbm-video-trigger {
    font-size: 1rem;
  }
}

@media (max-height: 600px) {
  .vbm-lightbox-dialog {
    margin: 0.5rem auto;
  }
}
