.helix-gallery{box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);margin:auto;padding:0;border:0;background:transparent;color:#fff;overflow:auto;overscroll-behavior:contain}
.helix-gallery::backdrop{background:rgba(0,0,0,.8)}
.helix-gallery>p{font:16px/1.35 Arial,sans-serif;margin:0 6px 8px;color:#fff}
.helix-gallery-frame{display:grid;justify-items:end;background:#fff;padding:8px;border:5px solid #222;border-radius:7px;color:#333}
.helix-gallery-frame img{display:block;justify-self:center;max-width:min(100%,calc(100vw - 64px));max-height:calc(100vh - 128px);object-fit:contain;width:auto;height:auto}
.helix-gallery-frame button{margin-top:4px;width:44px;height:44px;border:1px solid #aaa;border-radius:50%;background:#fafafa;color:#333;font:bold 24px/1 Arial,sans-serif;cursor:pointer}
.helix-gallery-frame button:focus-visible{outline:2px solid #a90000;outline-offset:2px}
