.rahel-external-player{width:100%;aspect-ratio:16/9;background:#000;overflow:hidden;border-radius:inherit}.rahel-external-player .plyr{width:100%;height:100%}.rahel-external-player .plyr__video-embed,.rahel-external-player .plyr__video-embed iframe{width:100%;height:100%}.rahel-external-player video{width:100%;height:100%;object-fit:contain;background:#000}.rahel-external-video-modal{position:fixed;inset:0;z-index:100000;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(2,6,23,.9)}.rahel-external-video-modal.is-open{display:flex}.rahel-external-video-modal-inner{position:relative;width:min(1100px,96vw);background:#000;border-radius:18px;overflow:hidden;box-shadow:0 30px 90px rgba(0,0,0,.55)}.rahel-external-video-close{position:absolute;right:10px;top:10px;z-index:5;width:40px;height:40px;border:0;border-radius:999px;background:rgba(0,0,0,.72);color:#fff;font-size:24px;cursor:pointer}.rahel-external-video-modal .rahel-external-player{border-radius:0}.rahel-external-video-modal .plyr{border-radius:0}@media(max-width:760px){.rahel-external-video-modal{padding:8px}.rahel-external-video-modal-inner{width:100%;border-radius:12px}.rahel-external-video-close{width:36px;height:36px;font-size:21px;right:7px;top:7px}}
/* Match Tutor LMS native YouTube player presentation on public pages. */
.rahel-external-player .tutorPlayer{position:relative;width:100%;height:100%;overflow:hidden;}
.rahel-external-player .tutorPlayer iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}

/* Prevent direct interaction with the YouTube iframe so clicks cannot open YouTube. Plyr controls remain clickable. */
.rahel-external-player .plyr__video-embed iframe { pointer-events: none !important; }
.rahel-external-player .plyr__controls,
.rahel-external-player .plyr__control,
.rahel-external-player .plyr__progress,
.rahel-external-player .plyr__menu { pointer-events: auto !important; }
