/* Click-to-load YouTube facade (shared). Pairs with /js/yt-facade.js.
 *
 * Default form fills an absolutely-positioned 16:9 wrapper (the site's
 * standard video frame pattern: a position:relative wrapper whose `iframe`
 * rule is absolute inset 0). The --static variant is for containers that
 * size the iframe with width:100% + aspect-ratio instead (e.g. /watch/).
 */
.yt-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: #0f1110;
  cursor: pointer;
  overflow: hidden;
}
.yt-facade--static {
  position: relative;
  inset: auto;
  height: auto;
  aspect-ratio: 16 / 9;
}
.yt-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yt-facade__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(184, 50, 39, 0.92);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 200ms ease, background 200ms ease;
}
.yt-facade:hover .yt-facade__play,
.yt-facade:focus-visible .yt-facade__play {
  transform: translate(-50%, -50%) scale(1.05);
}
.yt-facade__label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12%;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  white-space: nowrap;
}
