.ba-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity .45s ease;
}

.ba-layer.is-ready {
  opacity: 1;
}

.ba-layer iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #101012;
  visibility: hidden;
  transform: scale(1.24);
  transform-origin: center;
}

.ba-dailymotion {
  position: absolute;
  inset: 0;
}

.ba-shield {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}

.ba-layer.is-warming iframe {
  visibility: visible;
}

.ba-layer.is-warming .ba-shield {
  pointer-events: none;
}

.ba-layer.is-ready iframe {
  visibility: visible;
  pointer-events: auto;
}

.ba-sound {
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  background: rgb(25 25 28 / 80%);
  color: #ededee;
  font-size: 14px;
  font-weight: 600;
  pointer-events: auto;
  transition: background-color .15s ease;
}

.ba-sound[hidden] {
  display: none;
}

.ba-sound:hover {
  background: #2f2f35;
}

#mMedia.is-trailer #mClose {
  z-index: 4;
}

@media (prefers-reduced-motion: reduce) {
  .ba-layer, .ba-sound { transition: none; }
}
