.sc-gallery-viewport{position:relative;width:100%;aspect-ratio:1.85;border-radius:var(--_sc-radius);overflow:hidden;background:var(--_sc-soft);touch-action:pan-y pinch-zoom;-webkit-user-select:none;user-select:none}.sc-gallery-track{display:flex;width:100%;height:100%;transition:transform 220ms cubic-bezier(.2,.7,.3,1);will-change:transform}.sc-gallery-slide{position:relative;flex:0 0 100%;width:100%;height:100%;margin:0}.sc-gallery-slide img{display:block;width:100%;height:100%;object-fit:cover}.sc-gallery-slide figcaption{position:absolute;bottom:14px;left:14px;border-radius:var(--_sc-radius);background:var(--_sc-bg);color:var(--_sc-ink);padding:5px 10px;font-size:14px}.sc-gallery-caption{display:flex;justify-content:space-between;gap:18px;align-items:baseline}.sc-gallery-caption>p{font-size:17px}.sc-gallery-caption>.sc-note{flex:none;font-variant-numeric:tabular-nums}.sc-gallery-controls{display:flex;justify-content:space-between;align-items:center;gap:10px}.sc-gallery-arrow{width:50px;height:48px;border:1px solid var(--_sc-line);background:var(--_sc-surface);border-radius:var(--_sc-radius);font-size:28px!important;line-height:1}.sc-gallery-dots{display:flex;justify-content:center;gap:0;flex-wrap:wrap}.sc-gallery-dot{display:grid;place-items:center;width:44px;min-height:44px;padding:0;border:0;background:transparent}.sc-gallery-dot span{width:8px;height:8px;border-radius:50%;background:var(--_sc-muted)}.sc-gallery-dot[aria-pressed=true] span{width:24px;border-radius:8px;background:var(--_sc-accent);transition:width 120ms ease}
@media(max-width:650px){.sc-gallery-viewport{aspect-ratio:1.2}.sc-gallery-slide figcaption{left:10px;bottom:10px}.sc-gallery-dots{max-width:185px}.sc-gallery-caption>p{font-size:16px}}
/* Reserve two caption lines so changing a picture cannot move the controls. */
.sc-gallery-caption>p{min-height:3em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
