.promo-video-modal {
  width: min(960px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  background: #0f1a12;
  color: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.promo-video-modal::backdrop {
  background: rgba(8, 14, 10, 0.72);
}

.promo-video-modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.promo-video-modal-title {
  flex: 1;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.promo-video-modal-close,
.promo-video-modal-fullscreen {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.promo-video-modal-close:hover,
.promo-video-modal-fullscreen:hover {
  background: rgba(255, 255, 255, 0.22);
}

.promo-video-modal-body {
  margin: 0;
  padding: 0;
  background: #000;
}

.promo-video-modal-player {
  display: block;
  width: 100%;
  max-height: min(72vh, 720px);
  background: #000;
}

.promo-video-modal--viewport {
  width: 100vw;
  height: 100vh;
  max-width: none;
  border-radius: 0;
}

.promo-video-modal--viewport::backdrop {
  background: #000;
}

.promo-video-modal--viewport .promo-video-modal-body {
  height: calc(100vh - 61px);
}

.promo-video-modal--viewport .promo-video-modal-player {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.promo-video-modal-player:fullscreen,
.promo-video-modal-player:-webkit-full-screen {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  background: #000;
}
