/* EGEWEB-VIDEO-POPUP: Keep video playback contained and responsive across themes. */
.ege-video-dialog { width: auto; max-width: 80vw; max-height: 80vh; padding: 0; overflow: hidden; border: 1px solid #71807e; border-radius: 6px; background: #151b1d; color: #f4f7f7; box-shadow: 0 16px 56px rgb(0 0 0 / 55%); }
.ege-video-dialog::backdrop { background: rgb(0 0 0 / 78%); }
.ege-video-dialog > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 8px 12px 8px 18px; border-bottom: 1px solid #394547; }
.ege-video-dialog > header strong { overflow-wrap: anywhere; }
.ege-video-close { flex: 0 0 36px; width: 36px; height: 36px; border: 1px solid #61706f; border-radius: 4px; background: transparent; color: inherit; font-size: 26px; line-height: 1; cursor: pointer; }
.ege-video-close:hover, .ege-video-close:focus-visible { background: #087f79; outline: 2px solid #4fd1c5; outline-offset: 2px; }
.ege-video-stage { max-width: 80vw; max-height: 80vh; background: #000; }
.ege-video-stage iframe, .ege-video-stage video { display: block; width: 100%; height: 100%; border: 0; }
.ege-video-stage video { object-fit: contain; }
