/* P144 – 2.0x Custom reference (506px desktop), click-only photo viewer. No changes to original card/grid layout. */
.mm25-click-photo-target{cursor:zoom-in!important}
.mm25-click-photo-target:focus-visible{outline:3px solid #30a5e9;outline-offset:3px}
.mm25-click-photo-overlay[hidden],.mm25-click-photo-prev[hidden],.mm25-click-photo-next[hidden],.mm25-click-photo-counter[hidden]{display:none!important}
.mm25-click-photo-overlay{position:fixed;inset:0;z-index:2147481000;display:flex;align-items:center;justify-content:center;padding:38px 48px;box-sizing:border-box;background:rgba(12,22,38,.48);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.mm25-click-photo-wrap{position:relative;width:fit-content;max-width:min(506px,calc(100vw - 110px));max-height:min(506px,calc(100vh - 130px));display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 18px 28px rgba(4,12,30,.35))}
.mm25-click-photo-img{display:block;max-width:min(506px,calc(100vw - 110px));max-height:min(506px,calc(100vh - 130px));width:auto;height:auto;object-fit:contain;border:2px solid rgba(235,246,255,.98);border-radius:12px;box-shadow:0 0 0 1px #6ecbff,0 0 22px rgba(74,163,255,.6),0 0 50px rgba(165,131,235,.33);background:#f8fafc}
.mm25-click-photo-overlay button{font-family:Arial,sans-serif;cursor:pointer;display:grid;place-items:center;border:2px solid #fff;color:white;box-shadow:0 4px 16px rgba(0,0,0,.32)}
.mm25-click-photo-close{position:absolute;right:-18px;top:-18px;z-index:3;border-radius:50%;background:#c52537;width:39px;height:39px;font-size:27px;line-height:1}
.mm25-click-photo-prev,.mm25-click-photo-next{position:absolute;top:50%;z-index:2;transform:translateY(-50%);border-radius:50%;background:rgba(21,37,57,.87);width:38px;height:38px;font-size:34px;line-height:1}
.mm25-click-photo-prev{left:-50px}.mm25-click-photo-next{right:-50px}
.mm25-click-photo-counter{position:absolute;left:50%;bottom:-31px;transform:translateX(-50%);color:#fff;background:rgba(22,34,52,.7);border-radius:20px;padding:3px 12px;font-size:12px}
body.mm25-click-photo-active{overflow:hidden}
body.ams-unified-edit-on .mm25-click-photo-target{cursor:pointer!important}
@media(max-width:600px){.mm25-click-photo-overlay{padding:34px 33px}.mm25-click-photo-wrap{max-width:calc(100vw - 76px);max-height:calc(100vh - 95px)}.mm25-click-photo-img{max-width:calc(100vw - 76px);max-height:calc(100vh - 95px)}.mm25-click-photo-close{right:-15px;top:-16px}.mm25-click-photo-prev{left:-32px;width:29px;height:34px;font-size:26px}.mm25-click-photo-next{right:-32px;width:29px;height:34px;font-size:26px}}
