/* Full-resolution viewer; never crops the original photo */
.pitvu-photo-viewer{
 position:fixed;inset:0;box-sizing:border-box;max-width:100vw;max-height:100dvh;
 width:100vw;height:100dvh;border:0;margin:0;padding:clamp(14px,4vw,35px);
 background:rgba(10,20,15,.98);color:#fff;overflow:hidden;
}
.pitvu-photo-viewer::backdrop{background:rgba(0,0,0,.85)}
.pitvu-photo-viewer-image{
 width:100%;height:calc(100% - 50px);display:block;object-fit:contain;object-position:center;
 background:transparent;
}
.pitvu-photo-viewer-bar{height:50px;display:flex;align-items:center;justify-content:center;gap:16px}
.pitvu-photo-viewer-count{min-width:68px;text-align:center;font:600 .88rem/1 sans-serif}
.pitvu-photo-viewer-bar button{
 min-width:44px;height:42px;border:1px solid rgba(255,255,255,.3);
 border-radius:5px;background:rgba(255,255,255,.09);color:#fff;
 cursor:pointer;font:400 1.6rem/1 sans-serif;
}
.pitvu-photo-viewer-bar button:is(:hover,:focus-visible){background:rgba(255,255,255,.22)}
.pitvu-photo-viewer-bar button[hidden]{display:none}
