/* A separate image remains visible even when the mobile video surface is black. */
.video-page .film-first-frame {
  position: absolute;
  inset: 0;
  display: block !important;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  object-fit: contain;
  background: #080604;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity .3s ease;
}

.video-page .film-first-frame[data-frame-ready="true"] {
  opacity: 0 !important;
}

/* The video must be renderable underneath the cover to deliver frame callbacks. */
html .video-page .film-poster-host > #heroVideo,
html .video-page.film-poster-host > #heroVideo {
  opacity: 1 !important;
  visibility: visible !important;
}

html .video-page .film-retry,
html .video-page .sound-button {
  z-index: 50 !important;
}

@media (prefers-reduced-motion: reduce) {
  .video-page .film-first-frame { transition: none; }
}
