.video-mask-host {
  position: relative;
  margin: 1rem 0 1.5rem;
}
.video-mask-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: #000;
}
.video-mask-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}
.video-mask-shield {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: default;
  background: transparent;
}
.video-mask-host.is-playing .video-mask-shield {
  cursor: pointer;
}
.video-mask-play,
.video-mask-pause {
  position: absolute;
  z-index: 3;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s, transform 0.15s;
}
.video-mask-play {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.video-mask-play:hover {
  background: rgba(0, 0, 0, 0.55);
  transform: translate(-50%, -50%) scale(1.04);
}
.video-mask-pause {
  right: 0.75rem;
  bottom: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.video-mask-host.is-playing .video-mask-play {
  opacity: 0;
  pointer-events: none;
}
.video-mask-host.is-playing .video-mask-pause {
  display: flex !important;
}
.video-mask-pause.hidden {
  display: none;
}
