/* Stable media-detail crop styles consolidated from validated v26/v27 rules. */
.lightbox-stage.saved-detail-crop .lightbox-media-main,.lightbox-stage.cropped-detail .lightbox-media-main{overflow:hidden!important}
.lightbox-stage.saved-detail-crop .lightbox-media-main img,.lightbox-stage.cropped-detail .lightbox-media-main img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;transition:transform .16s ease,object-position .16s ease}
@media(max-width:639px){
  .lightbox-stage.saved-detail-crop.crop-ratio-4-3{flex:0 0 min(calc(100vw * .75),54dvh)!important;height:min(calc(100vw * .75),54dvh)!important;max-height:54dvh!important}
  .lightbox-stage.saved-detail-crop.crop-ratio-16-9{flex:0 0 min(calc(100vw * .5625),44dvh)!important;height:min(calc(100vw * .5625),44dvh)!important;max-height:44dvh!important}
  .lightbox-stage.saved-detail-crop.crop-ratio-1-1{flex:0 0 min(100vw,54dvh)!important;height:min(100vw,54dvh)!important;max-height:54dvh!important}
  .lightbox-info{padding-bottom:0!important;margin-bottom:0!important}
  .lightbox-caption{margin-bottom:0!important}
  .detail-social-bar{display:none!important;min-height:0!important;height:0!important;margin:0!important;padding:0!important}
  .comments-list{margin-top:0!important;padding-top:4px!important}
}
@media(min-width:640px){.lightbox-stage.cropped-detail .lightbox-media-main img{object-fit:cover!important}}
