.video-popup,.video-popup-reopen{position:fixed;left:12px;bottom:var(--popup-bottom,86px);z-index:55}.video-popup{width:144px;border:1px solid var(--line);border-radius:6px;background:var(--card);overflow:hidden}.video-popup[hidden],.video-popup-reopen[hidden]{display:none!important}.video-popup-frame{position:relative;aspect-ratio:9/16;background:var(--ink)}.video-popup video{width:100%;height:100%;display:block;object-fit:contain}.video-popup-tools,.video-popup-playback{position:absolute;display:flex;gap:5px;right:5px}.video-popup-tools{top:5px}.video-popup-playback{bottom:5px}.video-popup .theme{width:28px;height:28px;display:grid;place-items:center;padding:0;border:1px solid var(--line);border-radius:4px;background:var(--card);color:var(--ink);font-size:18px;cursor:pointer}.video-popup-scholarship{background:var(--pink);color:var(--red);font-size:11px;font-weight:700;line-height:1.4;text-align:center;padding:8px 3px}.video-popup-reopen.theme{width:40px;height:40px;background:var(--card);color:var(--red);border:1px solid var(--line);border-radius:6px;display:grid;place-items:center;cursor:pointer}.video-popup:focus-within{outline:2px solid var(--gold);outline-offset:2px}
@media(max-width:600px){.video-popup{width:104px}.video-popup,.video-popup-reopen{left:8px}.video-popup-scholarship{font-size:10px;padding:6px 2px}.video-popup .theme{width:26px;height:26px}.video-popup-tools,.video-popup-playback{right:4px;gap:4px}}
.video-popup{width:180px;max-width:calc(100vw - 24px)}.video-popup .theme{width:34px;height:34px}.video-popup [data-popup-sound] svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.video-popup [data-popup-sound][aria-pressed="true"]{color:var(--green);border-color:var(--green)}
@media(max-width:600px){.video-popup{width:132px}.video-popup-scholarship{font-size:11px}}
@media(max-height:650px){.video-popup{width:112px}}
.popup-extra-controls{position:absolute;bottom:12px;left:5px;right:5px;display:flex;gap:4px;align-items:center}.popup-extra-controls label{display:flex;align-items:center;gap:3px;min-width:0;background:var(--card);color:var(--ink);border-radius:4px;padding:4px;flex:1}.popup-extra-controls input{width:100%;min-width:0;accent-color:var(--red)}.video-popup-playback{bottom:52px}.video-popup [data-popup-progress]{position:absolute;bottom:0;left:0;margin:0;width:100%;height:10px;accent-color:var(--red);cursor:pointer}.popup-gallery-link{position:absolute;top:5px;left:5px;display:grid;place-items:center;width:28px;height:28px;border-radius:4px;background:var(--card);color:var(--red);text-decoration:none;font-size:20px}