/* Previously YouTube inline modal — v20261003a
 * Centered on all viewports. Never a bottom sheet. Max 8px radius. */
.pv-yt-scrim {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(8, 8, 12, 0.82);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s;
}
.pv-yt-scrim.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.pv-yt-box {
  position: relative; width: 100%; max-width: 880px;
  background: #101014; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  transform: translateY(8px) scale(0.98);
  transition: transform 0.22s ease;
}
.pv-yt-scrim.is-open .pv-yt-box { transform: none; }
.pv-yt-close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(0,0,0,0.6); color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.pv-yt-close:hover { background: rgba(0,0,0,0.85); }
.pv-yt-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.pv-yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 560px) {
  .pv-yt-scrim { padding: 12px; }
}
