.mdl.lesson-video-modal{width:min(1060px,96vw);max-width:1060px;padding:26px;max-height:94dvh;overflow:auto}
.lesson-video-modal>h3{padding-inline-end:16px;line-height:1.6;margin-bottom:5px}
.player.lesson-video-stage{aspect-ratio:16/9;width:100%;min-height:0;margin:18px 0;border:1px solid #d9e3ed;border-radius:18px;background:#122f4a;box-shadow:0 14px 32px #1639551a}
.lesson-video-stage iframe{position:absolute;inset:0;width:100%;height:100%;display:block}
.lesson-video-status{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:14px;background:#edf3f8;color:#244662;font-weight:700;z-index:1}
.lesson-video-status::before{content:'';width:24px;height:24px;border:3px solid #ccd8e3;border-top-color:#e97a27;border-radius:50%;animation:lesson-spin 1s linear infinite}
.lesson-video-status[hidden],.lesson-video-help[hidden]{display:none}
.lesson-video-help{padding:18px;border:1px solid #edccaa;border-radius:14px;background:#fff7ec;color:#593d26;margin-bottom:14px}
.lesson-video-help p{line-height:1.8;margin:0 0 12px}
.lesson-video-modal .mdl-act{padding-top:14px;border-top:1px solid #e3eaf1;margin-top:16px}
@keyframes lesson-spin{to{transform:rotate(360deg)}}
@media(max-width:600px){.mdl.lesson-video-modal{padding:15px;width:98vw;border-radius:15px}.player.lesson-video-stage{border-radius:10px}.lesson-video-modal .mdl-act .btn{flex:1;min-width:140px}}
@media(prefers-reduced-motion:reduce){.lesson-video-status::before{animation:none}}
