/* =====================================================================
   INXM · Privacy-friendly YouTube embed (2-click solution)
   Loaded relatively on pages that embed video (consent.css /
   consent.js). Self-contained: reuses page CSS variables when present.
   ===================================================================== */

.yt-embed, .yt-embed * { box-sizing: border-box; }

.yt-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid rgba(0, 0, 0, 0.09);
}
.yt-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.yt-facade {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 28px 24px;
  cursor: pointer;
  border: 0;
  width: 100%;
  background:
    radial-gradient(120% 100% at 50% 35%, #232323 0%, #0c0c0c 70%);
  font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
.yt-facade__play {
  width: 76px; height: 76px;
  border-radius: 999px;
  background: #FF5900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(255, 89, 0, 0.35);
  transition: transform 240ms cubic-bezier(.16, .84, .44, 1);
}
.yt-facade:hover .yt-facade__play,
.yt-facade:focus-visible .yt-facade__play { transform: scale(1.08); }
.yt-facade:focus-visible { outline: 2px solid #FF5900; outline-offset: -2px; }
.yt-facade__play svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }
.yt-facade__title {
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}
.yt-facade__note {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.55;
  max-width: 48ch;
  margin: 0;
}
.yt-facade__note a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.yt-facade__cta {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 999px;
  padding: 9px 18px;
  transition: border-color 200ms ease, background 200ms ease;
}
.yt-facade:hover .yt-facade__cta { border-color: #fff; background: rgba(255, 255, 255, 0.06); }

@media (max-width: 720px) {
  .yt-facade__play { width: 60px; height: 60px; }
  .yt-facade__play svg { width: 22px; height: 22px; }
  .yt-facade__title { font-size: 15px; }
}
