.sp-gallery{position:fixed;inset:0;z-index:120;background:#05070a;color:#fff;display:none;grid-template-rows:auto 1fr auto;font-family:var(--sans)}.sp-gallery[data-open="true"]{display:grid}.sp-gallery__top{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid #27313b;background:#090d12}.sp-gallery__title{min-width:0;flex:1}.sp-gallery__title strong{display:block;font-size:14px}.sp-gallery__title span{display:block;color:#9aa6b2;font-size:11px;margin-top:2px}.sp-gallery__tools{display:flex;gap:7px;align-items:center}.sp-gallery__tools button,.sp-gallery__nav{border:1px solid #34404c;background:#111820;color:#fff;border-radius:999px;min-width:38px;height:38px;padding:0 12px;font:750 13px var(--sans);cursor:pointer}.sp-gallery__tools button:hover,.sp-gallery__tools button:focus,.sp-gallery__nav:hover,.sp-gallery__nav:focus{border-color:#ff2b2b;color:#ff7070}.sp-gallery__stage{position:relative;overflow:hidden;display:grid;place-items:center;touch-action:none;user-select:none}.sp-gallery__canvas{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden}.sp-gallery__canvas img{max-width:94vw;max-height:82vh;width:auto;height:auto;transform-origin:center center;will-change:transform;box-shadow:0 18px 70px rgba(0,0,0,.6);cursor:grab}.sp-gallery__canvas img[data-dragging="true"]{cursor:grabbing}.sp-gallery__prev,.sp-gallery__next{position:absolute;top:50%;transform:translateY(-50%);z-index:2;background:rgba(10,14,19,.82)}.sp-gallery__prev{left:16px}.sp-gallery__next{right:16px}.sp-gallery__bottom{display:flex;align-items:center;gap:12px;padding:10px 14px;border-top:1px solid #27313b;background:#090d12}.sp-gallery__caption{flex:1;color:#c8d0d8;font-size:12px}.sp-gallery__strip{display:flex;gap:8px;overflow-x:auto;max-width:58vw;padding:3px 0}.sp-gallery__thumb{border:1px solid #313c47;background:#0e151c;padding:2px;cursor:pointer;border-radius:3px;flex:0 0 auto}.sp-gallery__thumb[aria-current="true"]{border-color:#ff2b2b}.sp-gallery__thumb img{width:72px;height:46px;object-fit:cover;display:block}.sp-gallery__hint{font-size:10px;color:#768492;white-space:nowrap}

@media(max-width:820px){.sp-gallery{grid-template-columns:minmax(0,1fr);max-width:100vw;overflow:hidden}.sp-gallery__top,.sp-gallery__stage,.sp-gallery__bottom{min-width:0;width:100%;max-width:100vw}.sp-gallery__stage{grid-template-columns:minmax(0,1fr)}.sp-gallery__bottom{flex-wrap:wrap}.sp-gallery__strip{min-width:0;max-width:100%;width:100%}}
