.gallery{--gallery-thumb:72px;--gallery-accent:#2d96bd;--gallery-loupe-bg:rgba(127, 127, 127, 0.08);margin:1.5rem 0;outline:none}[theme=dark] .gallery{--gallery-accent:#55bde2}.gallery-loupe{position:relative;width:min(100%,80vh);aspect-ratio:1/1;margin:0 auto;container-type:size;display:flex;align-items:center;justify-content:center;background:var(--gallery-loupe-bg);border-radius:4px;overflow:hidden;touch-action:pan-y pinch-zoom}.gallery-frame{position:relative;max-width:100%;max-height:100%}.gallery .gallery-photo{display:block;width:auto;height:auto;max-width:100cqw;max-height:100cqh;object-fit:contain;margin:0}.gallery.is-enhanced .gallery-photo{cursor:zoom-in}.gallery-caption{position:absolute;left:0;right:0;bottom:0;max-height:100%;overflow-y:auto;box-sizing:border-box;padding:.4rem .75rem;background:rgba(0,0,0,.6);color:#fff;font-size:.9rem;line-height:1.4;text-align:left}.gallery-caption[hidden]{display:none}.gallery.is-enhanced .gallery-caption:not(.is-expanded):not([hidden]){display:flex;align-items:baseline;overflow:hidden}.gallery.is-enhanced .gallery-caption:not(.is-expanded) .gallery-caption-text{flex:auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gallery-caption-toggle{flex:none;margin-left:.25em;padding:0;border:0;background:0 0;color:inherit;font:inherit;text-decoration:underline;cursor:pointer}.gallery-caption-toggle[hidden]{display:none}.gallery-fullscreen{position:absolute;top:.5rem;right:.5rem;display:flex;padding:.35rem;border:0;border-radius:4px;background:rgba(0,0,0,.45);color:#fff;cursor:pointer;opacity:.7;transition:opacity .15s}.gallery-fullscreen[hidden]{display:none}.gallery-fullscreen:hover,.gallery-fullscreen:focus-visible{opacity:1}.gallery-exif{min-height:1.5em;margin:.5rem 0 0;font-size:.85rem;font-style:italic;text-align:center;opacity:.8}.gallery .gallery-strip{position:relative;display:flex;gap:6px;margin:.5rem 0 0;padding:4px 2px 8px;list-style:none;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin}.gallery .gallery-strip>li{flex:none;margin:0;padding:0;scroll-snap-align:start}.gallery .gallery-thumb{display:block;width:var(--gallery-thumb);height:var(--gallery-thumb);border-radius:4px;overflow:hidden;outline:2px solid transparent;outline-offset:1px;opacity:.65;transition:opacity .15s,outline-color .15s}.gallery .gallery-thumb:hover,.gallery .gallery-thumb:focus-visible{opacity:1}.gallery .gallery-thumb[aria-current=true]{outline-color:var(--gallery-accent);opacity:1}.gallery .gallery-thumb img{display:block;width:100%;height:100%;margin:0;object-fit:cover}.gallery:fullscreen,.gallery.is-fullscreen{display:flex;flex-direction:column;box-sizing:border-box;margin:0;padding:1rem;background:#000;color:#ddd}.gallery.is-fullscreen{position:fixed;inset:0;z-index:10000}.gallery:fullscreen .gallery-loupe,.gallery.is-fullscreen .gallery-loupe{flex:auto;width:100%;min-height:0;aspect-ratio:auto;background:0 0}.gallery:fullscreen .gallery-photo,.gallery.is-fullscreen .gallery-photo{cursor:zoom-out}.gallery:fullscreen .gallery-strip,.gallery.is-fullscreen .gallery-strip{justify-content:safe center}html.gallery-scroll-lock{overflow:hidden}