html:has(.gallery-viewer[open]){overflow:hidden;scrollbar-gutter:stable}.gallery-viewer.svelte-kr1xu{position:fixed;inset:0;margin:auto;width:calc(100% - 1rem);height:calc(100dvh - 1rem);max-width:none;max-height:none;background:transparent;color:var(--text);padding:.5rem;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr) auto;align-items:center;gap:clamp(.25rem,1vw,.85rem)}.gallery-viewer[open].svelte-kr1xu{display:grid}.gallery-viewer.svelte-kr1xu::backdrop{background:#080809f5}.gallery-viewer.svelte-kr1xu img:where(.svelte-kr1xu){grid-area:2 / 2;width:100%;height:100%;object-fit:contain}.gallery-viewer.svelte-kr1xu p:where(.svelte-kr1xu){grid-area:3 / 2;text-align:center}.gallery-viewer.svelte-kr1xu button:where(.svelte-kr1xu){display:grid;place-items:center;width:clamp(2.75rem,5vw,3.5rem);aspect-ratio:1;border:1px solid var(--interactive);border-radius:50%;background:var(--surface);color:var(--interactive);font:1.5rem/1 system-ui,sans-serif;cursor:pointer}.gallery-viewer.svelte-kr1xu .viewer-close:where(.svelte-kr1xu){grid-area:1 / 3;width:2.75rem;background:transparent;border-color:var(--muted-text);color:var(--text)}.viewer-previous.svelte-kr1xu{grid-area:2 / 1}.viewer-next.svelte-kr1xu{grid-area:2 / 3}@media(max-width:600px){.gallery-viewer.svelte-kr1xu img:where(.svelte-kr1xu){grid-column:1 / -1}.viewer-previous.svelte-kr1xu,.viewer-next.svelte-kr1xu{grid-row:3}}
