@layer component{.gallery{margin-block:2rem}.gallery--interactive .gallery__stage{border-radius:var(--radius-card);background:color-mix(in srgb,var(--featured-dark) 35%,#000)}:where(.gallery--interactive) .gallery__link img{height:100%}.gallery--interactive .gallery__link{inline-size:100%;aspect-ratio:16/9;max-height:min(72svh,40rem)}.gallery__expand,.gallery__nav{color:var(--text);background:color-mix(in srgb,var(--surface) 92%,transparent);box-shadow:0 6px 18px rgba(0,0,0,.22)}.gallery__expand:hover,.gallery__nav:hover{color:var(--surface);background:var(--accent)}.gallery__nav:hover{transform:scale(var(--motion-hover-scale))}.gallery__counter{font-family:var(--font-body);letter-spacing:.02em}.gallery__caption{color:var(--muted);font-size:var(--font-small-size);text-align:center}.gallery__thumbnails{justify-content:safe center}.gallery__thumbnail{border-radius:var(--radius-control);background:var(--surface-soft);opacity:.7}.gallery__thumbnail:hover{opacity:1}.gallery__thumbnail img{height:100%}.gallery__thumbnail[aria-current=true]{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--accent)}:is(.gallery-viewer__button,.gallery-viewer__original):focus-visible,:is(.gallery__nav,.gallery__expand,.gallery__thumbnail,.gallery__link):focus-visible{outline:var(--focus-width) solid var(--accent-on-dark);outline-offset:var(--focus-offset)}:where(.gallery--interactive) .gallery__link:focus-visible{outline-offset:calc(-1 * var(--focus-width))}:where(:root[data-representation=mobile]) .gallery--interactive .gallery__stage{margin-inline:calc(-1 * var(--shell-gutter));border-radius:0}:where(:root[data-representation=mobile]) .gallery__thumbnails{justify-content:flex-start;margin-inline:calc(-1 * var(--shell-gutter));padding-inline:var(--shell-gutter);scroll-padding-inline:var(--shell-gutter);scrollbar-width:none}.gallery-viewer{font-family:var(--font-body)}.gallery-viewer__backdrop{background:color-mix(in srgb,var(--featured-dark) 97%,#000)}.gallery-viewer__original:hover{color:var(--featured-dark);background:var(--accent-on-dark)}.gallery-viewer__caption{font-family:var(--font-editorial);font-size:1rem}.gallery--standalone{margin:1em 40px}.gallery--standalone .gallery__stage{margin-inline:0;border-radius:0;background:none}.gallery--standalone .gallery__link{aspect-ratio:auto;max-height:none}.gallery--standalone .gallery__link img{width:auto;max-width:100%;height:auto}.gallery--standalone .gallery__caption{margin:0;font-size:.85rem;line-height:1.75}}