.gallery-open,.gallery-detail-frame{position:relative}
.edge-detail-caption{position:absolute;right:14px;bottom:14px;max-width:calc(100% - 28px);padding:5px 9px;border-radius:4px;background:rgba(255,255,255,.84);color:#465044;font-family:inherit;font-size:12px;font-weight:400;line-height:1.4;letter-spacing:.015em;pointer-events:none;text-align:right}
.edge-detail-caption[hidden]{display:none}
.gallery-detail-frame{height:calc(100% - 28px);display:flex;align-items:center;justify-content:center}
#gallery-dialog .gallery-detail-frame #gallery-large{width:100%;height:100%;object-fit:contain}
#gallery-dialog .icon-button{z-index:2}
@media(max-width:600px){.edge-detail-caption{right:9px;bottom:9px;padding:4px 7px;font-size:11px}.gallery-detail-frame{height:100%}}
