.uv-gallery-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}.uv-page .uv-gallery-filters button{border:1px solid var(--uv-purple);border-radius:999px;background:#fff;color:var(--uv-purple);padding:9px 16px;min-height:44px;font-weight:700}.uv-page .uv-gallery-filters button[aria-pressed=true]{color:#fff;background:var(--uv-purple)}
.uv-gallery-status{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.uv-gallery-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 18px}.uv-gallery-grid figure{min-width:0;margin:0}.uv-gallery-photo{position:relative;display:block;border-radius:7px;overflow:hidden;background:var(--uv-tint);aspect-ratio:4/3}.uv-gallery-photo img{display:block;width:100%;height:100%;object-fit:cover}.uv-gallery-photo>span{position:absolute;right:12px;bottom:10px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#fff;color:var(--uv-purple);font-weight:700}
.uv-gallery-dialog>.uv-gallery-credit{font-size:var(--up-text-note);color:var(--uv-muted);margin-top:6px}.uv-gallery-credit a{text-decoration:underline}
.uv-gallery-dialog{box-sizing:border-box;border:0;border-radius:8px;padding:12px;width:min(1100px,94vw);max-height:94vh;background:#fff;color:#262337}.uv-gallery-dialog:not([open]){display:none}.uv-gallery-dialog::backdrop{background:#171122d9}.uv-gallery-dialog-toolbar{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:10px}.uv-gallery-dialog-toolbar button{font:inherit;border:1px solid #d8cfe2;background:#fff;color:#624183;border-radius:5px;min-width:44px;min-height:44px;cursor:pointer}.uv-gallery-dialog-toolbar [data-uv-gallery-close]{margin-left:auto}.uv-gallery-dialog>img{display:block;max-width:100%;width:auto;height:auto;max-height:70vh;object-fit:contain;margin:0 auto}.uv-gallery-dialog>p{font:inherit;margin:10px 0 0;overflow-wrap:anywhere}
@media(max-width:1000px){.uv-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.uv-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.uv-page .uv-gallery-filters button{padding:8px 13px}.uv-gallery-photo>span{right:8px;bottom:8px}}
@media print{.uv-gallery-filters,.uv-gallery-photo>span{display:none}.uv-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
