.screenshot-gallery{--gallery-fade:calc(var(--dur-base) * 5);margin-top:44px}.screenshot-gallery-controls:not([hidden]){display:flex;justify-content:center;margin-bottom:24px}.screenshot-gallery-choices{position:relative;display:grid;grid-template-columns:repeat(var(--gallery-count),minmax(0,1fr));width:min(100%,calc(var(--gallery-count)*124px + 12px));padding:6px;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg-soft);isolation:isolate}.screenshot-gallery-indicator{position:absolute;left:6px;top:6px;bottom:6px;width:calc((100% - 12px)/var(--gallery-count));border-radius:var(--radius-sm);background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow-soft);transition:transform calc(var(--dur-base) * 2.5)ease-in-out;pointer-events:none}.screenshot-gallery-choices button{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:48px;padding:10px 8px;border:0;border-radius:var(--radius-sm);background:0 0;color:var(--muted);font:500 .85rem var(--font);white-space:nowrap;cursor:pointer}.screenshot-gallery-choices button svg{flex:none}.screenshot-gallery-choices button[aria-selected=true]{color:var(--ink)}.screenshot-gallery-choices button[aria-selected=true] svg{color:var(--accent)}.screenshot-gallery-choices button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.screenshot-gallery-meter{position:absolute;inset:auto 16px 4px;height:2px;overflow:hidden;border-radius:2px;opacity:0}.screenshot-gallery-choices button[aria-selected=true] .screenshot-gallery-meter{opacity:1;background:var(--line)}.screenshot-gallery-meter>span{display:block;height:100%;background:var(--accent);transform:scaleX(0);transform-origin:left}.screenshot-gallery-panel{margin:0;min-width:0}.screenshot-gallery-panel img{display:block;width:100%;height:auto}.screenshot-gallery-panel figcaption{max-width:80ch;margin:20px auto 0;color:var(--muted);font-size:.85rem;line-height:1.7;text-align:center}.screenshot-gallery-caption-title{display:block;color:var(--ink);font-size:1rem;font-weight:600;margin-bottom:8px}.screenshot-gallery-caption-lead{display:block;margin-bottom:8px}.gallery-ready .screenshot-gallery-track{display:grid}.gallery-ready [data-gallery-panel]{grid-area:1/1;min-width:0;visibility:hidden;opacity:0;pointer-events:none;transition:opacity var(--gallery-fade)ease-in-out,visibility 0s linear var(--gallery-fade)}.gallery-ready [data-gallery-panel].is-active{z-index:1;visibility:visible;opacity:1;pointer-events:auto;transition-delay:0s}.gallery-ready .shot{aspect-ratio:var(--gallery-ratio);display:grid;align-items:center;background:var(--card)}.gallery-ready .shot>a{grid-area:1/1}.gallery-ready .shot img{object-fit:contain}.gallery-ready figcaption{min-height:3lh}.gallery-instant [data-gallery-panel]{transition:none}.screenshot-gallery-controls--scrollable:not([hidden]){display:block;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.screenshot-gallery-controls--scrollable .screenshot-gallery-choices{min-width:calc(var(--gallery-count)*112px + 12px);margin-inline:auto}@media(max-width:600px){.screenshot-gallery-controls--scrollable .screenshot-gallery-choices{min-width:calc(var(--gallery-count)*72px + 6px)}.screenshot-gallery-choices{min-width:260px;padding:3px}.screenshot-gallery-indicator{left:3px;top:3px;bottom:3px;width:calc((100% - 6px)/var(--gallery-count))}.screenshot-gallery-choices button{flex-direction:column;gap:6px;min-height:62px;padding:8px 2px;font-size:clamp(.625rem,2.8vw,.68rem)}.screenshot-gallery-meter{left:10px;right:10px;bottom:3px}.gallery-ready figcaption{min-height:6lh}}@media(prefers-reduced-motion:reduce){.gallery-ready [data-gallery-panel]{transition:none;transform:none}.screenshot-gallery-indicator{transition:none}}.gallery-instant .screenshot-gallery-indicator{transition:none}[data-gallery-status]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}