[data-localized-gallery] .gallery-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr))}
[data-localized-gallery] .gallery-card{min-width:0;overflow-wrap:anywhere}
[data-localized-gallery] [hidden]{display:none!important}
[data-localized-gallery] .actions{display:flex;flex-wrap:wrap;gap:.55rem}
[data-localized-gallery] :is(input,button){max-width:100%}
[data-localized-gallery] dialog{max-width:min(92vw,60rem);max-height:92vh;padding:1rem;color:inherit;background:#0e2a34;overflow:auto}
[data-localized-gallery] dialog img{display:block;max-width:100%;max-height:67vh;min-height:0;object-fit:contain;margin:auto}
[data-localized-gallery] :focus-visible{outline:2px solid #a0ebde;outline-offset:3px}
