.photo-viewer{background:var(--gallery-bg);width:100vw;max-width:none;height:100dvh;max-height:none;color:var(--gallery-ink);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;border:0;margin:0;padding:0;position:fixed;inset:0;overflow:hidden}.photo-viewer[open]{flex-direction:column;display:flex}.photo-viewer::backdrop{background:var(--gallery-bg)}.photo-viewer-header{padding:calc(12px + env(safe-area-inset-top)) 8px 8px 16px}.photo-viewer-heading h2{overflow-wrap:anywhere;font-size:17px;font-weight:700}.photo-viewer-heading p{color:var(--gallery-muted);overflow-wrap:anywhere;font-size:12px}.photo-viewer-count{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--gallery-count);flex-shrink:0;padding:0 8px;font-size:14px;font-weight:600}.photo-viewer-close,.photo-viewer-arrow{border:1px solid color-mix(in srgb, var(--gallery-ink) 35%, transparent);cursor:pointer;color:var(--gallery-ink);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center}.photo-viewer-close{background:0 0;width:44px;height:44px;display:flex}.photo-viewer-arrow{width:var(--gallery-arrow-size);height:var(--gallery-arrow-size);border-color:color-mix(in srgb, var(--gallery-ink) 45%, transparent);background:color-mix(in srgb, var(--gallery-ink) 8%, transparent);display:none}.photo-viewer-arrow:disabled{opacity:.35;cursor:not-allowed;background:0 0}.photo-viewer button:focus-visible{outline:2px solid var(--gallery-ink);outline-offset:3px}.photo-viewer-image{touch-action:pan-y;-webkit-user-select:none;user-select:none}.photo-viewer-footer{padding:16px 16px calc(28px + env(safe-area-inset-bottom));color:var(--gallery-muted);font-size:12px}.photo-viewer-position{max-width:100%}.photo-viewer-position span{background:color-mix(in srgb, var(--gallery-ink) 45%, transparent);border-radius:2px;width:8px;height:4px}.photo-viewer-position [data-kind=tier]{background:color-mix(in srgb, var(--color-accent) 60%, transparent)}.photo-viewer-position [data-current=true]{background:var(--gallery-ink);flex-shrink:0;width:20px}.photo-viewer ::selection{background:var(--gallery-ink);color:var(--gallery-bg)}@media (hover:hover){.photo-viewer button:not(:disabled):hover{background:color-mix(in srgb, var(--gallery-ink) 14%, transparent)}}@media (min-width:1024px){.photo-viewer{background:var(--gallery-desktop-bg)}.photo-viewer-header{padding:20px 24px 12px 32px}.photo-viewer-heading h2{font-size:20px}.photo-viewer-heading p{font-size:13px}.photo-viewer-count{padding:0;font-size:15px}.photo-viewer-arrow{display:flex}.photo-viewer-image{max-height:var(--gallery-desktop-image-height)}.photo-viewer-image img{border-radius:8px}.photo-viewer-footer{padding:14px 32px 22px}}
