.edm-gallery{box-sizing:border-box;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:20px;border:0;background:#111a1c;color:#fff;overflow:hidden}.edm-gallery::backdrop{background:rgba(0,0,0,.9)}.edm-gallery .edm-gallery-top{display:flex;align-items:center;justify-content:space-between;height:48px;font:15px/1.4 sans-serif}.edm-gallery button{display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:50%;width:48px;height:48px;padding:0;font:32px/1 sans-serif;cursor:pointer;flex-shrink:0}.edm-gallery button:hover{background:rgba(255,255,255,.25)}.edm-gallery button:focus-visible{outline:3px solid #efc580;outline-offset:3px}.edm-gallery .edm-gallery-stage{display:flex;align-items:center;gap:16px;height:calc(100% - 48px)}.edm-gallery figure{margin:0;flex:1;min-width:0;text-align:center}.edm-gallery .edm-gallery-image{display:block;margin:auto;max-width:100%;width:auto;max-height:calc(100dvh - 130px);height:auto;object-fit:contain}.edm-gallery figcaption{font:14px/1.5 sans-serif;margin-top:8px;color:#ddd}.edm-gallery [hidden]{display:none!important}@media(max-width:600px){.edm-gallery{padding:12px}.edm-gallery .edm-gallery-stage{gap:6px}.edm-gallery .edm-gallery-stage button{width:34px;height:42px;font-size:26px}.edm-gallery .edm-gallery-image{max-height:calc(100dvh - 140px)}}

.edm-gallery[hidden]{display:none!important}.edm-gallery:not([hidden]){display:block!important;position:fixed!important;inset:0!important;z-index:2147483647!important;height:100vh;height:100dvh;overscroll-behavior:contain}.gallery-popup{touch-action:manipulation}.edm-gallery{padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom));}
