/*!
 * SPETS-Lightbox v1.3 CSS
 */
:root{
    --splb-bg: rgba(17,17,19,.96);
    --splb-fg: #fff;
    --splb-accent: #e2001a;
}
.splb{position:fixed;inset:0;z-index:99999;background:var(--splb-bg);display:flex;flex-direction:column;opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s;}
.splb.open{opacity:1;visibility:visible;}
.splb *{box-sizing:border-box;}
.splb__top{display:flex;align-items:center;gap:16px;padding:14px 20px;color:var(--splb-fg);flex:0 0 auto;}
.splb__title{font-size:15px;font-weight:600;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.85;}
.splb__counter{font-size:14px;opacity:.6;font-variant-numeric:tabular-nums;}
.splb__close{background:rgba(128,128,128,.15);border:0;color:var(--splb-fg);width:42px;height:42px;border-radius:50%;font-size:22px;line-height:1;cursor:pointer;transition:background .2s;}
.splb__close:hover,.splb__close:focus{background:var(--splb-accent);outline:none;}
.splb__stage{position:relative;flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center;padding:0 70px;}
.splb__imgwrap{position:relative;display:flex;align-items:center;justify-content:center;max-width:100%;max-height:100%;}
.splb__img{max-width:100%;max-height:calc(100vh - 200px);width:auto;height:auto;object-fit:contain;user-select:none;-webkit-user-drag:none;cursor:zoom-in;will-change:transform;border-radius:4px;}
.splb__arrow{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;border-radius:50%;border:0;background:rgba(128,128,128,.15);color:var(--splb-fg);font-size:20px;cursor:pointer;transition:background .2s;z-index:2;display:flex;align-items:center;justify-content:center;}
.splb__arrow:hover,.splb__arrow:focus{background:var(--splb-accent);outline:none;}
.splb__arrow--prev{left:12px;}
.splb__arrow--next{right:12px;}
.splb__thumbs{flex:0 0 auto;display:flex;gap:10px;justify-content:center;padding:12px 70px 18px;overflow-x:auto;scrollbar-width:thin;}
.splb__thumb{flex:0 0 auto;width:64px;height:64px;border-radius:6px;overflow:hidden;cursor:pointer;border:2px solid transparent;opacity:.5;transition:opacity .2s,border-color .2s;background:#fff;padding:2px;}
.splb__thumb img{width:100%;height:100%;object-fit:contain;}
.splb__thumb:hover{opacity:.9;}
.splb__thumb.active{border-color:var(--splb-fg);opacity:1;}
.splb__hint{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);background:rgba(0,0,0,.65);color:#fff;padding:8px 18px;border-radius:20px;font-size:13px;pointer-events:none;opacity:0;transition:opacity .4s;white-space:nowrap;}
.splb__hint.show{opacity:1;}
.splb__loader{position:absolute;width:38px;height:38px;border:3px solid rgba(128,128,128,.25);border-top-color:var(--splb-fg);border-radius:50%;animation:splb-spin .8s linear infinite;display:none;}
.splb.loading .splb__loader{display:block;}
@keyframes splb-spin{to{transform:rotate(360deg)}}
body.splb-lock{overflow:hidden;}
@media (max-width:767px){
    .splb__stage{padding:0 6px;}
    .splb__arrow{width:40px;height:40px;font-size:16px;background:rgba(0,0,0,.4);}
    .splb__arrow--prev{left:6px;}
    .splb__arrow--next{right:6px;}
    .splb__thumbs{justify-content:flex-start;padding:10px 12px 14px;}
    .splb__thumb{width:52px;height:52px;}
    .splb__img{max-height:calc(100vh - 180px);}
    .splb__title{font-size:13px;}
}