.stv-photo-viewer{box-sizing:border-box;width:min(94vw,1000px);max-width:94vw;max-height:92vh;max-height:92svh;margin:auto;padding:58px 16px 12px;border:0;border-radius:18px;background:#fffaf0;color:#292d38;box-shadow:0 16px 70px #0005;overflow:auto}
.stv-photo-viewer::backdrop{background:rgba(23,27,39,.82)}
.stv-photo-viewer>img{display:block;width:100%;height:auto;max-height:calc(92vh - 150px);max-height:calc(92svh - 150px);object-fit:contain;border-radius:8px}
.stv-photo-viewer button{font:inherit;min-width:44px;min-height:44px;border:1px solid #ded8ce;border-radius:50%;background:white;color:#315bbc;cursor:pointer;font-size:26px;line-height:1}
.stv-photo-viewer button:focus-visible{outline:3px solid #315bbc;outline-offset:3px}
.stv-photo-viewer__close{position:absolute;top:8px;right:12px}
.stv-photo-viewer__controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px}
.stv-photo-viewer__controls p{font:inherit;font-size:14px;line-height:1.4;text-align:center;margin:0}
@media(max-width:749px){.stv-photo-viewer{padding:56px 10px 12px;border-radius:14px}.stv-photo-viewer__controls{gap:8px}.stv-photo-viewer__controls p{font-size:12px}}
