/* Large video player shared by the series, Taiex and Secretary Keyun pages (assets/js/video-lightbox.js).
 * Landscape: as wide as fits, up to 1600px (never smaller than the largest poster); vertical: as tall as fits at 9:16. */
.fb-video-lightbox { border: 0; padding: 0; background: transparent; width: min(96vw, 1600px, calc((96vh - 20px) * 16 / 9)); max-width: 96vw; max-height: 96vh; overflow: visible; }
.fb-video-lightbox--vertical { width: min(96vw, calc((96vh - 20px) * 9 / 16)); }
.fb-video-lightbox::backdrop { background: rgba(18, 12, 20, .86); }
.fb-video-lightbox__screen { aspect-ratio: 16 / 9; width: 100%; border-radius: 14px; overflow: hidden; background: #000; }
.fb-video-lightbox--vertical .fb-video-lightbox__screen { aspect-ratio: 9 / 16; }
.fb-video-lightbox__screen iframe,
.fb-video-lightbox__screen video { display: block; width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; }
.fb-video-lightbox__close { position: fixed; top: 14px; right: 14px; width: 52px; height: 52px; padding: 0; border-radius: 50%; border: 3px solid #fff; background: #e0457b; color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
.fb-video-lightbox__close:focus-visible { outline: 3px solid #ffd54a; outline-offset: 3px; }
