/* UE5 editorial media; the modal reuses the Tutorial player geometry. */
.ue5-page .learn-prose > h1 { margin-bottom: 28px; }
.ue5-page [data-editorial-text="1"] { color: #e3edf6; font-size: 1.18rem; }
.ue5-page [data-editorial-text="2"] { color: #a5b8cb; font-size: .875rem; margin-bottom: 38px; }
.ue5-page .ue5-video { margin: 38px 0; padding: 24px; border: 1px solid #294b5b; border-left: 3px solid #00e4ef; border-radius: 8px; background: #0c1e2d; }
.ue5-page .ue5-media-label { color: #9fb9c9; font-size: .75rem; margin: 0 0 8px; }
.ue5-page .ue5-video-title { color: #edf4fb; font-size: 1.35rem; font-weight: 700; line-height: 1.35; margin: 0 0 12px; }
.ue5-page .ue5-caption { font-size: .9rem; line-height: 1.6; margin-bottom: 18px; }
.ue5-video-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; font-size: .875rem; }
.ue5-video-actions .btn { min-height: 44px; white-space: normal; }
.ue5-history img { display: block; }
.ue5-history figcaption { padding: 16px; }
.ue5-page :is(button,a):focus-visible { outline: 3px solid #68f5ff; outline-offset: 4px; }
.tutorial-dialog { position: fixed; inset: 0; padding: 0; margin: auto; width: min(94vw,1500px,calc((90dvh - 58px) * 16 / 9 + 2px)); max-width: none; max-height: 90dvh; overflow: visible; background: #001420; color: #eaf4ff; border: 1px solid #39bcd3; border-radius: 11px; box-shadow: 0 0 6px #34dfed66,0 0 28px #04c5e926; }
.tutorial-dialog::backdrop { background: rgba(4,10,18,.72); backdrop-filter: blur(10px); }
.tutorial-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 6px 8px 6px 18px; }
.tutorial-dialog-heading h2 { margin: 0; min-width: 0; font-size: 16px; line-height: 1.3; font-weight: 600; }
.tutorial-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #09445c; border-radius: 9px; background: #ffffff04; color: #eff6ff; font-size: 30px; line-height: 1; }
.tutorial-close:hover { background: #042338; border-color: #00acbf; }
.tutorial-player-slot { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 0 0 10px 10px; overflow: hidden; }
.tutorial-player-slot iframe { display: block; width: 100%; height: 100%; border: 0; }
.ue5-page.tutorial-player-open { overflow: hidden; padding-right: var(--tutorial-scrollbar,0px); }


@media (max-width: 640px) {
 .ue5-page .ue5-video { padding: 18px; }
 .ue5-page .tutorial-dialog { width: min(calc(100vw - 24px),calc((90dvh - 72px) * 16 / 9)); }
 .ue5-page .tutorial-dialog-heading h2 { font-size: 14px; }
}
