#viewer.home-video-viewer{width:min(780px,calc(100% - 24px));max-width:780px;max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:14px;overflow:auto;background:#f7f3ea}
#viewer.home-video-viewer::backdrop{background:#17120ee6}
#viewer.home-video-viewer .modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 16px}
#viewer.home-video-viewer .modal-head>span{font:700 16px/1.35 'DM Sans',Arial,sans-serif;letter-spacing:0;text-transform:none}
#viewer.home-video-viewer .close{width:44px;height:44px;flex:none;font-size:30px}
.home-video-layout{display:flex;flex-direction:column}
.home-video-layout video{display:block;width:100%;height:calc(100dvh - 175px);min-height:180px;max-height:800px;object-fit:contain;background:#17120e}
.home-video-actions{display:flex;justify-content:center;padding:12px 16px 16px}
.home-video-actions .btn{display:flex;justify-content:center;align-items:center;min-height:48px;padding:12px 28px;font-size:16px}
@media(max-width:600px){
 #viewer.home-video-viewer{width:calc(100% - 12px);max-height:calc(100dvh - 12px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:10px}
 #viewer.home-video-viewer .modal-head{padding:5px 12px}
 #viewer.home-video-viewer .modal-head>span{font-size:14px}
 .home-video-layout video{height:calc(100dvh - 155px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:none}
 .home-video-actions{padding:10px 12px 12px}
 .home-video-actions .btn{width:100%}
}
