.pexa-player{--player-purple:#8068ff;position:relative;min-width:0;width:100%;overflow:hidden;border-radius:19px;background:#101013;color:#f8f7fc;isolation:isolate}
.pexa-player>video{display:block;width:100%;height:auto;max-height:calc(82dvh - 64px);object-fit:contain;margin:0;background:#0b0b0d;cursor:pointer}
.pexa-player-controls{display:flex;align-items:center;gap:10px;min-height:62px;padding:10px 13px;background:#1d1d23;border-top:1px solid #ffffff14}
.pexa-player-button{appearance:none;flex:0 0 36px;display:grid;place-items:center;width:36px;height:36px;padding:8px;border:0;border-radius:11px;background:transparent;color:#f8f7fc;cursor:pointer;transition:background .15s ease,color .15s ease}
.pexa-player-button:hover{background:#ffffff16}.pexa-player-button:focus-visible,.pexa-player-progress input:focus-visible{outline:2px solid #b7a8ff;outline-offset:3px}.pexa-player-button[aria-pressed=true][data-player-captions]{background:#8068ff;color:#fff}.pexa-player-button svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.pexa-player-button[data-player-play]{background:#7458ff;color:#fff}.pexa-player-button[data-player-play]:hover{background:#8a73ff}.pexa-player-button[data-player-play] svg{fill:currentColor;stroke-width:1.2}.pexa-player-button[data-player-play][aria-pressed=true] svg{fill:none;stroke-width:3}
.pexa-player-progress{flex:1;min-width:38px;display:flex;flex-direction:column;gap:5px;justify-content:center}.pexa-player-progress input{appearance:none;display:block;width:100%;height:5px;border:0;border-radius:20px;background:linear-gradient(to right,var(--player-purple) var(--player-progress,0%),#54525f var(--player-progress,0%));cursor:pointer;padding:0;margin:4px 0;accent-color:var(--player-purple)}.pexa-player-progress input::-webkit-slider-thumb{appearance:none;width:11px;height:11px;border-radius:50%;background:#f7f4ff;box-shadow:0 0 0 2px #8068ff}.pexa-player-progress input::-moz-range-thumb{width:11px;height:11px;border:0;border-radius:50%;background:#f7f4ff;box-shadow:0 0 0 2px #8068ff}.pexa-player-progress input:disabled{opacity:.5;cursor:default}.pexa-player-time{font-size:11px;line-height:1;font-weight:650;color:#c6c2d2;font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:.2px}.pexa-player-status{margin:0!important;padding:10px 14px;color:#e8e0ff;font-size:13px!important;background:#282331}
.pexa-player [hidden]{display:none!important}.pexa-player:fullscreen{display:flex;flex-direction:column;border-radius:0;justify-content:center;background:#000}.pexa-player:fullscreen>video{flex:1;min-height:0;height:calc(100dvh - 64px);max-height:calc(100dvh - 64px);object-fit:contain}.pexa-player:fullscreen>.pexa-player-controls{flex:none}.pexa-player:fullscreen>.pexa-player-status{position:absolute;bottom:64px;width:100%}
.lesson-preview:has(.pexa-player){background:#101013}.lesson-preview .pexa-player{border-radius:0}.lesson-preview .pexa-player>video{max-height:none}#media-dialog [data-media-content]:has(.pexa-player){display:flex;justify-content:center;min-width:0}#media-dialog .pexa-player{width:auto;max-width:100%}#media-dialog .pexa-player>video{width:auto;max-width:100%;max-height:calc(82dvh - 100px)}#media-dialog .pexa-player-controls{min-width:260px}
@media(max-width:480px){.pexa-player-controls{gap:5px;padding:9px 8px;min-height:59px}.pexa-player-button{flex-basis:32px;width:32px;height:34px;padding:7px;border-radius:9px}.pexa-player-button svg{width:20px;height:20px}.pexa-player-progress{min-width:30px;margin-inline:3px}.pexa-player-time{font-size:10px}.pexa-player>video{max-height:calc(80dvh - 64px)}#media-dialog .pexa-player-controls{min-width:250px}}
@media(prefers-reduced-motion:reduce){.pexa-player-button{transition:none}}
