/* FXCHS V3.06 – photo popup aligned to the established rounded rectangles. */
body.fxv2.fxv306-photo-open{overflow:hidden}
body.fxv2 .fxv296-media-viewer{padding:clamp(8px,1.6vw,22px);background:rgba(4,19,12,.78);backdrop-filter:blur(4px);}
body.fxv2 .fxv296-media-viewer::before{content:none!important;display:none!important}
body.fxv2 .fxv306-photo-card{
  position:relative;display:flex;flex-direction:column;min-width:0;
  width:min(1090px,100%);height:min(720px,100%);
  margin:auto;box-sizing:border-box;overflow:hidden;
  border:1px solid rgba(191,224,198,.55);border-radius:24px;
  background:#0c251b;box-shadow:0 26px 100px rgba(0,0,0,.58);
}
body.fxv2 .fxv296-media-viewer-toolbar{
  position:relative;inset:auto;flex:0 0 auto;pointer-events:auto;
  background:rgba(5,22,16,.73);padding:9px 12px;
}
body.fxv2 .fxv296-media-viewer-stage{
  flex:1 1 auto;min-height:0;width:100%;height:auto;
  padding:clamp(8px,2vw,20px);overflow:hidden;touch-action:pan-y;
}
body.fxv2 .fxv296-media-viewer-stage img{
  width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;
  box-shadow:none;border-radius:9px;
}
body.fxv2 .fxv296-media-viewer-caption{
  position:relative;inset:auto;flex:0 0 auto;
  max-width:100%;border:0;border-top:1px solid #c2dac244;
  border-radius:0;padding:11px clamp(12px,2vw,22px);
  background:rgba(6,25,18,.82);box-sizing:border-box;
}
body.fxv2 .fxv296-media-viewer-toolbar button{min-height:40px;}
@media(max-width:620px){
 body.fxv2 .fxv306-photo-card{border-radius:19px;}
 body.fxv2 .fxv296-media-viewer-toolbar{gap:4px;padding:6px;}
 body.fxv2 .fxv296-media-viewer-toolbar button{padding:8px;}
 body.fxv2 .fxv296-media-viewer-caption{font-size:12px;padding:9px 12px;}
}
@media(prefers-reduced-motion:reduce){body.fxv2 .fxv306-photo-card{transition:none!important;animation:none!important}}
