/* Visualizador de fotos em tela cheia, preservando enquadramento e proporções. */
#agenda .trip-banner,#communityMosaic img,#guidePhoto,#mocaoPhoto,.cadastur-figure img,#tripDialog .dialog-img,#tripDialog .gallery img,#heroCustomPhoto,#bannerPreview,#premiumGalleryPreview img,#sitePhotosAdmin img{cursor:zoom-in}
#trilheirosPhotoViewer{position:fixed;inset:0;margin:0;padding:0;width:100vw;max-width:none;height:100dvh;max-height:none;overflow:hidden;border:0;background:rgba(3,11,7,.98);color:#fff;box-sizing:border-box;z-index:2147483640}
#trilheirosPhotoViewer:not([open]){display:none}
#trilheirosPhotoViewer::backdrop{background:rgba(0,0,0,.93)}
#trilheirosPhotoViewer *{box-sizing:border-box}
#trilheirosPhotoViewer .pv-top{position:absolute;top:0;left:0;right:0;height:66px;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 14px;background:linear-gradient(#03160f,transparent);z-index:2}
#trilheirosPhotoViewer .pv-brand{color:#f0cf83;font-size:13px;font-weight:900;letter-spacing:.06em}
#trilheirosPhotoViewer .pv-controls{display:flex;gap:8px;align-items:center}
#trilheirosPhotoViewer button{appearance:none;display:grid;place-items:center;border:1px solid #5c8e71;background:#123322;color:#fff;width:42px;height:42px;min-width:42px;border-radius:12px;cursor:pointer;font:800 21px/1 sans-serif}
#trilheirosPhotoViewer button:hover,#trilheirosPhotoViewer button:focus-visible{background:#226846;outline:2px solid #e6c577}
#trilheirosPhotoViewer button:disabled{opacity:.3;cursor:default}
#trilheirosPhotoViewer .pv-stage{position:absolute;inset:66px 0 76px;display:grid;place-items:center;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom;padding:12px 55px}
#trilheirosPhotoViewer .pv-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;object-position:center;transform-origin:center;transition:transform .18s;box-shadow:0 15px 50px #0007;user-select:none}
#trilheirosPhotoViewer .pv-prev,#trilheirosPhotoViewer .pv-next{position:absolute;top:50%;transform:translateY(-50%);z-index:2}
#trilheirosPhotoViewer .pv-prev{left:9px}
#trilheirosPhotoViewer .pv-next{right:9px}
#trilheirosPhotoViewer .pv-bottom{position:absolute;bottom:0;left:0;right:0;min-height:76px;padding:11px 18px;background:linear-gradient(transparent,#061a10);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:3px}
#trilheirosPhotoViewer .pv-caption{max-width:94vw;font-size:14px;font-weight:700;color:#f5f5ef;white-space:normal;overflow-wrap:anywhere}
#trilheirosPhotoViewer .pv-count{font-size:12px;color:#bfcfc2}
@media(max-width:620px){
 #trilheirosPhotoViewer .pv-top{height:58px;padding:8px}
 #trilheirosPhotoViewer .pv-brand{font-size:10px}
 #trilheirosPhotoViewer button{width:37px;height:37px;min-width:37px}
 #trilheirosPhotoViewer .pv-stage{inset:59px 0 78px;padding:8px 42px}
 #trilheirosPhotoViewer .pv-prev{left:2px}
 #trilheirosPhotoViewer .pv-next{right:2px}
 #trilheirosPhotoViewer .pv-image{max-width:100%;max-height:100%}
}
@media(prefers-reduced-motion:reduce){#trilheirosPhotoViewer .pv-image{transition:none}}
