.test-video{--video-ink:#293442;--video-muted:#687382;container-type:inline-size;max-width:1200px;min-height:0;margin:0 auto;padding:16px 20px 32px;color:var(--video-ink)}
.test-video__return{margin-bottom:6px}
.test-video__return a{display:inline-flex;align-items:center;gap:6px;min-height:36px;color:var(--video-muted);font-size:12px}
.test-video__layout{display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-items:start}
.test-video__main{min-width:0}
.test-video__frame{aspect-ratio:16/9;border-radius:7px 7px 0 0;background:#17212c;overflow:hidden}
.test-video h1{margin:14px 14px 0;font-size:17px;line-height:1.9;font-weight:700;color:#26313f}
.test-video__playlist{min-width:0;border:0;overflow:hidden}
.test-video__playlist-header{display:flex;align-items:center;gap:9px;min-height:52px;padding:4px 12px;background:#f8f9fb;border-bottom:1px solid #e9ebee}
.test-video__list-icon{width:17px;height:17px;flex:none;fill:none;stroke:var(--video-muted);stroke-width:1.7}
.test-video__playlist h2{flex:1;margin:0;font-size:12px;font-weight:600;line-height:1.8}
.test-video__toggle{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;background:#fff;border:1px solid #e4e7ec;border-radius:6px;color:#586476}
.test-video__toggle svg{display:block;transition:transform .22s ease-out}
.test-video__toggle[aria-expanded=false] svg{transform:rotate(180deg)}
.test-video__playlist ol{position:relative;list-style:none;margin:0;padding:0;max-height:240px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d5dbe2 #fff;overflow-anchor:none}
.test-video__playlist ol[hidden]{display:none}
.test-video__playlist .grade-resource{height:60px;min-height:60px;margin:0;padding:8px 14px;gap:10px;background:#fff;border-radius:0;border-bottom:1px solid #f2f3f5;font-size:12px;line-height:1.7}
.test-video__playlist .grade-resource:hover{background:#fafafb}
.test-video__playlist .grade-resource[aria-current=page]{background:var(--grade-accent-wash);box-shadow:inset -3px 0 var(--grade-accent)}
.test-video__number{color:#929aa5;font-size:11px;min-width:19px;flex:none;text-align:center}
.test-video__playlist [aria-current=page] .test-video__number{color:var(--grade-accent)}
.test-video__row-text{min-width:0;flex:1}
.test-video__row-text strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
.test-video__row-text small{display:block;color:var(--video-muted);font-size:11px}
.test-video__navigation{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 14px 12px}
.test-video__navigation>a,.test-video__navigation>span{display:inline-flex;align-items:center;gap:7px;min-height:36px;font-size:12px;color:#536171}
.test-video__navigation>[aria-disabled]{opacity:.35}
.test-video__info{display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:8px 16px;margin:0 14px;padding:14px 0 20px;border-top:1px solid #e9ebee;font-size:12px;color:var(--video-ink)}
.test-video__teacher{min-width:0;display:inline-flex;align-items:center;gap:9px;min-height:40px}
.test-video__avatar{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#f3f5f7;color:#778391}
.test-video__avatar svg{width:18px;height:18px}
.test-video__info>a{display:inline-flex;align-items:center;gap:6px;min-height:36px;margin-inline-start:auto;color:var(--grade-accent)}
.test-video__playlist h2 button{display:block;width:100%;min-height:44px;padding:0;border:0;background:none;text-align:start;color:inherit;font:inherit}
.test-video a:hover{color:var(--grade-accent)}
.test-video a{transition:color .2s ease-out}
@media(min-width:1024px){.test-video__layout{grid-template-columns:minmax(0,1fr) 300px;gap:0 22px}.test-video__main{grid-column:1;grid-row:1}.test-video__frame{border-radius:7px}.test-video__playlist{grid-column:2;grid-row:1;display:flex;flex-direction:column;height:calc((100cqw - 322px)*9/16)}.test-video__playlist-header{flex:none}.test-video__playlist ol{flex:1;min-height:0;max-height:none}.test-video__playlist:has(ol[hidden]){height:auto}.test-video__playlist-header{border-radius:6px}.test-video h1{grid-column:1;grid-row:2;margin-inline:0;font-size:19px}.test-video__navigation{grid-column:1;grid-row:3;margin-inline:0}.test-video__info{grid-column:1;grid-row:4;margin-inline:0}}
@media(max-width:480px){.test-video{padding:8px 0 20px}.test-video__return{margin-inline:14px}.test-video__frame{border-radius:0}.test-video h1{font-size:16px}}
@media(pointer:coarse){.test-video__toggle{position:relative}.test-video__toggle::before{content:"";position:absolute;inset:-4px}}
@media(prefers-reduced-motion:reduce){.test-video__toggle svg{transition:none}}
@media(max-width:1023px){.test-video__playlist ol:not([data-playlist-initialized]){display:none}}

.custom-player{position:relative;aspect-ratio:16/9;background:#102c3a;color:#fff;overflow:hidden;direction:ltr}
.custom-player__screen{position:absolute;inset:0;background:#102c3a}
.custom-player video{display:block;width:100%;height:100%;object-fit:contain}
.custom-player button{cursor:pointer;font:inherit}
.custom-player [hidden]{display:none!important}
.custom-player__bar{position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,rgba(4,25,35,.85),transparent 40%,transparent 75%,rgba(4,25,35,.35));transition:opacity .2s;direction:ltr}
.custom-player__bar button,.custom-player__seek,.custom-player__settings{pointer-events:auto}
.custom-player.is-controls-hidden .custom-player__bar{opacity:0;pointer-events:none}
.custom-player.is-controls-hidden .custom-player__bar *{pointer-events:none}
.custom-player__seek{position:absolute;bottom:29px;left:12px;right:12px;height:44px;display:flex;align-items:center}
.custom-player__seek input{width:100%;margin:0;height:44px;appearance:none;background:linear-gradient(to right,#15aedb var(--progress,0%),#ffffff66 var(--progress,0%)) center/100% 4px no-repeat;touch-action:none;border-radius:4px;cursor:pointer;direction:ltr}
.custom-player__seek input::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;background:#15aedb}
.custom-player__seek input::-moz-range-thumb{width:12px;height:12px;border:0;border-radius:50%;background:#15aedb}
.custom-player__buttons{position:absolute;bottom:4px;left:8px;right:8px;display:flex;align-items:center;gap:5px;height:40px}
.custom-player__transport,.custom-player__options{display:flex;align-items:center}
.custom-player__options{margin-left:auto}
.custom-player__buttons button{display:grid;place-items:center;width:36px;height:40px;padding:0;border:0;background:transparent;color:white;transition:background .2s}
.custom-player__buttons button:hover{background:#ffffff12}
.custom-player__buttons button:disabled{opacity:.3;cursor:default}
.custom-player__buttons svg{width:20px;height:20px;filter:drop-shadow(0 1px 1px #0006)}
.custom-player__buttons [data-player-play] svg{width:23px;height:23px;fill:currentColor;stroke-width:1}
.custom-player__time{font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums;direction:ltr}
.custom-player__settings{position:absolute;bottom:56px;right:12px;width:240px;max-width:calc(100% - 24px);max-height:calc(100% - 66px);overflow:auto;padding:6px 0;border:0;border-radius:9px;background:rgba(30,30,30,.9);backdrop-filter:blur(8px);z-index:3;direction:rtl}
.custom-player__settings button{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:40px;padding:7px 14px;border:0;background:none;color:white;text-align:start;font-size:12px}
.custom-player__settings button:hover{background:#ffffff18}
.custom-player__settings button[aria-checked=true]{color:#59d4f7}
.custom-player__settings .menu-back{border-bottom:1px solid #ffffff25;justify-content:flex-start;margin-bottom:4px}
.custom-player__unmute{position:absolute;bottom:60px;left:12px;padding:7px 10px;background:#102c3acc;color:#fff;border:0;border-radius:5px;font-size:11px}
.custom-player__status{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;background:#102c3a66;font-size:12px;padding:20px;text-align:center}
.custom-player__error{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;padding:20px;background:#102c3ae8;font-size:13px;text-align:center;z-index:4}
.custom-player__error p{width:100%;margin:0}
.custom-player__error button,.custom-player__error a{min-height:40px;padding:8px 12px;color:#fff;border:1px solid #ffffff40;border-radius:5px;background:none}
.custom-player.is-ready .custom-player__navigation{display:none}
.custom-player__navigation{position:relative;display:flex;justify-content:space-between;padding:8px}
.custom-player__navigation a{color:white}
.custom-player:fullscreen{width:100%;height:100%;aspect-ratio:auto;border-radius:0;background:#000}
.custom-player :focus-visible,.test-video__share:focus-visible{outline:2px solid #15aedb;outline-offset:-2px}
.test-video__share{display:grid;place-items:center;width:40px;height:40px;flex:none;margin-inline-start:auto;padding:0;border:0;border-radius:50%;background:#edf3f6;border:1px solid #dfe9ee;color:#4b6575;cursor:pointer;align-self:center}
.test-video__share:hover{background:#e2edf2}
.test-video__share svg{width:22px;height:22px}
.video-share{position:fixed;inset:0;margin:auto;max-height:calc(100dvh - 32px);width:min(360px,calc(100vw - 32px));padding:18px;border:0;border-radius:12px;background:#fff;color:#26313f;direction:rtl;font-family:inherit}
.video-share::backdrop{background:#0006}
.video-share header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.video-share h2{margin:0;font-size:15px;font-weight:600}
.video-share header button{width:36px;height:36px;border:0;background:none;color:#52606d;font-size:26px}
.video-share p{font-size:12px;line-height:1.9;color:#687382}
.video-share__url{display:flex;align-items:center;gap:8px;padding:6px;border:1px solid #e5e7eb;border-radius:7px;background:#f8fafb}
.video-share__url input{min-width:0;flex:1;background:none;border:0;font:11px Arial,sans-serif;direction:ltr;color:#334155}
.video-share__url button{flex:none;min-height:36px;padding:5px 10px;background:#08728f;color:#fff;border:0;border-radius:5px;font-size:12px}
.video-share [role=status]{display:block;min-height:22px;margin-top:8px;font-size:11px;color:#08728f}
@media(max-width:1023px){
.custom-player__bar{background:rgba(9,45,61,.24)}
.custom-player__buttons{inset:0;height:auto;display:block;pointer-events:none}
.custom-player__transport{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);gap:26px}
.custom-player__transport button{width:56px;height:56px;border-radius:50%;background:radial-gradient(circle,rgba(60,60,60,.4) 0 16px,transparent 16px)}
.custom-player__transport button:hover{background:radial-gradient(circle,rgba(60,60,60,.52) 0 16px,transparent 16px)}
.custom-player__transport svg{width:30px;height:30px;fill:currentColor;stroke-width:1}
.custom-player__transport [data-player-play]{width:76px;height:76px;background:radial-gradient(circle,rgba(60,60,60,.4) 0 21px,transparent 21px)}
.custom-player__transport [data-player-play]:hover{background:radial-gradient(circle,rgba(60,60,60,.52) 0 21px,transparent 21px)}
.custom-player__transport [data-player-play] svg{width:34px;height:34px;transform:none}
.custom-player__options{position:absolute;top:4px;right:8px}
.custom-player__options button{width:40px;height:40px}
.custom-player__options svg{width:22px;height:22px}

.custom-player__time{position:absolute;left:12px;bottom:48px;font-size:11px}
.custom-player__seek{left:10px;right:10px;bottom:0}
.custom-player__settings{top:48px;bottom:auto;width:216px;max-height:calc(100% - 54px)}
.custom-player__settings button{min-height:36px;font-size:11px}
.custom-player{container-type:inline-size}
}
@media(prefers-reduced-motion:reduce){.custom-player__bar{transition:none}}
body:has([data-custom-player="true"]) #raji-yar,body:has([data-custom-player="true"]) #raji-yar-loading{display:none!important}

@media(max-width:1023px){.custom-player__options [data-player-theater]{display:none}}
@media(min-width:1024px){.test-video.is-theater{max-width:1440px}.test-video.is-theater .test-video__layout{grid-template-columns:minmax(0,1fr)}.test-video.is-theater .test-video__playlist{grid-column:1;grid-row:3;height:auto}.test-video.is-theater .test-video__playlist ol{max-height:240px}.test-video.is-theater .test-video__info{grid-row:4}}

body:has([data-custom-player="true"]) #page-content>header{position:static}
.custom-player__spinner{width:26px;height:26px;border:2px solid #ffffff40;border-top-color:#15aedb;border-radius:50%;animation:player-spin .8s linear infinite}
@keyframes player-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.custom-player__spinner{animation:none}}

.custom-player__options{margin-right:40px}
.custom-player__fullscreen{position:absolute;right:8px;bottom:4px;z-index:5;display:none;place-items:center;width:40px;height:40px;padding:0;border:0;background:transparent;color:white;transition:opacity .2s}
.custom-player.is-ready .custom-player__fullscreen{display:grid}
.custom-player__fullscreen svg{width:22px;height:22px}
.custom-player__fullscreen:hover{background:#ffffff12}
.custom-player.is-controls-hidden:not(:fullscreen) .custom-player__fullscreen{opacity:0;pointer-events:none}
.custom-player:fullscreen .custom-player__fullscreen{right:max(12px,env(safe-area-inset-right));bottom:max(48px,env(safe-area-inset-bottom));opacity:1;pointer-events:auto;border-radius:5px;background:#102c3a99}
@media(max-width:1023px){.custom-player__options{margin-right:0}.custom-player__fullscreen{bottom:44px}}

@media(min-width:1024px){.test-video:not(.is-theater) .test-video__playlist .grade-resource{height:calc(((100cqw - 322px)*9/16 - 54px)/6);min-height:0}}

@media(min-width:1024px){.test-video__playlist-header{height:54px;box-sizing:border-box}}

@media(pointer:coarse){.custom-player__seek input::-webkit-slider-thumb{width:20px;height:20px}.custom-player__seek input::-moz-range-thumb{width:20px;height:20px}}

.test-video__teacher [data-teacher-name]{line-height:1.8}.test-video__info{align-items:center}.custom-player.is-switching-video .custom-player__transport{opacity:.5}

@media(min-width:1024px){.custom-player:fullscreen .custom-player__fullscreen{bottom:max(4px,env(safe-area-inset-bottom));background:transparent}}
