/* Плеер полосы «Видео» на главной — см. jj-video-player.js. */
.jj-vm-lock, .jj-vm-lock body { overflow: hidden; }
.jj-vm { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, .92); touch-action: none; }
.jj-vm.is-open { display: flex; }
.jj-vm-stage { position: relative; height: min(82vh, calc(92vw * 16 / 9)); aspect-ratio: 9 / 16; }
.jj-vm-stage video { width: 100%; height: 100%; object-fit: contain; background: #000; border-radius: 10px; }
.jj-vm-stage iframe { width: 100%; height: 100%; border: 0; background: #000; border-radius: 10px; }
.jj-vm-stage video[hidden], .jj-vm-stage iframe[hidden] { display: none; }
.jj-vm-title { position: absolute; left: 0; right: 0; top: calc(100% + 1.2rem); color: #fff; font-size: 1.6rem;
    font-weight: 600; text-align: center; text-decoration: none; }
.jj-vm-title:hover { text-decoration: underline; }
.jj-vm button { position: absolute; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .14); color: #fff; font-size: 24px; line-height: 48px; cursor: pointer; }
.jj-vm button:hover { background: rgba(255, 255, 255, .28); }
.jj-vm button[hidden] { display: none; }
.jj-vm-close { top: 16px; right: 16px; font-size: 30px; }
/* Стрелки — вплотную к ролику: ← слева, → справа (владелец 10.10.2026). */
.jj-vm-prev, .jj-vm-next { top: calc(50% - 24px); }
.jj-vm-prev { right: calc(100% + 16px); }
.jj-vm-next { left: calc(100% + 16px); }
@media (max-width: 767px) {
    .jj-vm-stage { height: min(78vh, calc(96vw * 16 / 9)); }
    /* по бокам места нет — поверх краёв ролика, полупрозрачные; свайп тоже работает */
    .jj-vm-prev { right: auto; left: 8px; }
    .jj-vm-next { left: auto; right: 8px; }
    .jj-vm .jj-vm-prev, .jj-vm .jj-vm-next { background: rgba(0, 0, 0, .45); }
}
