:where([data-serp-gallery]){grid-template-columns:minmax(0,1fr);display:grid;position:relative}[data-serp-gallery-main]{min-width:0;position:relative}@media (min-width:1024px){:where([data-serp-gallery][data-serp-gallery-has-thumbs]){grid-template-columns:var(--serp-gallery-rail-width,64px) minmax(0, 1fr);gap:var(--serp-gallery-gap,12px)}[data-serp-gallery-thumbs]{order:-1}}:where([data-serp-gallery-track]){height:var(--serp-gallery-height,330px);overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;background:var(--serp-gallery-bg,var(--color-surface,transparent));grid-auto-columns:100%;grid-auto-flow:column;display:grid;overflow-x:auto}:where([data-serp-gallery-track])::-webkit-scrollbar{display:none}@media (min-width:1024px){:where([data-serp-gallery-track]){height:var(--serp-gallery-height-lg,min(80vh, 780px));border-radius:var(--serp-gallery-radius,0)}}:where([data-serp-gallery-slide]){scroll-snap-align:start;margin:0;position:relative}:where([data-serp-gallery-zoom]){cursor:zoom-in;background:0 0;border:0;width:100%;padding:0;display:block;position:absolute;inset:0}[data-serp-gallery-slide] img,[data-serp-gallery-placeholder] img{object-fit:var(--serp-gallery-fit,cover);object-position:var(--serp-gallery-position,50% 22%);width:100%;max-width:none;height:100%;position:absolute;inset:0}[data-serp-gallery-slide][data-serp-gallery-flat] img{object-fit:contain;object-position:50% 50%}@media (min-width:1024px){[data-serp-gallery-slide] img,[data-serp-gallery-placeholder] img{object-position:var(--serp-gallery-position-lg,50% 50%)}[data-serp-gallery-slide][data-serp-gallery-flat] img{object-position:50% 50%}}:where([data-serp-gallery-placeholder]){height:var(--serp-gallery-height,330px);background:var(--serp-gallery-bg,var(--color-surface,transparent));position:relative}@media (min-width:1024px){:where([data-serp-gallery-placeholder]){height:var(--serp-gallery-height-lg,min(80vh, 780px))}}:where([data-serp-gallery-prev],[data-serp-gallery-next],[data-serp-gallery-lb-prev],[data-serp-gallery-lb-next],[data-serp-gallery-lb-close]){min-width:var(--serp-gallery-control-size,2.75rem);min-height:var(--serp-gallery-control-size,2.75rem);cursor:pointer;background:var(--serp-gallery-control-bg,var(--color-surface,Canvas));color:var(--serp-gallery-control-fg,var(--color-text-main,CanvasText));border:1px solid var(--serp-gallery-border,var(--color-border,currentColor));border-radius:999px;justify-content:center;align-items:center;padding:0}:where([data-serp-gallery-prev],[data-serp-gallery-next]){display:none;position:absolute;top:50%;transform:translateY(-50%)}@media (min-width:1024px){:where([data-serp-gallery-prev],[data-serp-gallery-next]){display:inline-flex}}:where([data-serp-gallery-lb-prev],[data-serp-gallery-lb-next],[data-serp-gallery-lb-close]){display:inline-flex}:where([data-serp-gallery-prev]){left:12px}:where([data-serp-gallery-next]){right:12px}:where([data-serp-gallery-prev],[data-serp-gallery-next],[data-serp-gallery-lb-prev],[data-serp-gallery-lb-next]):disabled{cursor:default;opacity:.35}:where([data-serp-gallery-counter]){background:var(--serp-gallery-count-bg,var(--color-surface,Canvas));color:var(--serp-gallery-count-fg,var(--color-text-main,CanvasText));font-variant-numeric:tabular-nums;pointer-events:none;border-radius:.25rem;margin:0;padding:2px 8px;position:absolute;bottom:12px;right:12px}[data-serp-gallery] [data-serp-gallery-thumbs][hidden],[data-serp-gallery] [data-serp-gallery-prev][hidden],[data-serp-gallery] [data-serp-gallery-next][hidden],[data-serp-gallery] [data-serp-gallery-counter][hidden],[data-serp-gallery] [data-serp-gallery-track][hidden],[data-serp-gallery] [data-serp-gallery-placeholder][hidden]{display:none}:where([data-serp-gallery-thumbs]){overscroll-behavior:contain;scrollbar-width:none;gap:6px;padding:8px 0 4px;display:flex;overflow-x:auto}:where([data-serp-gallery-thumbs])::-webkit-scrollbar{display:none}@media (min-width:1024px){:where([data-serp-gallery-thumbs]){box-sizing:border-box;flex-direction:column;height:0;min-height:100%;padding:3px;overflow:hidden auto}}:where([data-serp-gallery-thumb]){flex:0 0 var(--serp-gallery-thumb-width,48px);box-sizing:border-box;aspect-ratio:var(--serp-gallery-thumb-ratio,7 / 10);cursor:pointer;background:var(--serp-gallery-bg,var(--color-surface,transparent));border:1px solid var(--serp-gallery-border,var(--color-border,currentColor));border-radius:.25rem;padding:0;overflow:hidden}@media (min-width:1024px){:where([data-serp-gallery-thumb]){flex:none;width:100%}}:where([data-serp-gallery-thumb] img){object-fit:cover;width:100%;height:100%;display:block}:where([data-serp-gallery-thumb][aria-current=true]){border-color:var(--serp-gallery-accent,var(--color-primary,currentColor));outline:2px solid var(--serp-gallery-accent,var(--color-primary,currentColor));outline-offset:1px}:where([data-serp-gallery-track],[data-serp-gallery-zoom],[data-serp-gallery-prev],[data-serp-gallery-next],[data-serp-gallery-thumb],[data-serp-gallery-lb-prev],[data-serp-gallery-lb-next],[data-serp-gallery-lb-close],[data-serp-gallery-lb-stage]):focus-visible{outline:3px solid var(--serp-gallery-focus,var(--color-primary,currentColor));outline-offset:-3px}:where([data-serp-gallery-lb]){z-index:var(--serp-gallery-lb-z,1200);background:var(--serp-gallery-lb-bg,var(--color-bg,Canvas));color:var(--serp-gallery-lb-fg,var(--color-text-main,CanvasText));visibility:hidden;position:fixed;inset:0}:where([data-serp-gallery-lb].is-open){visibility:visible}[data-serp-gallery-lb] [hidden]{display:none}[data-serp-gallery-lb-stage]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0;overflow:hidden}[data-serp-gallery-stage-img]{object-fit:contain;cursor:zoom-in;width:auto;max-width:100%;height:auto;max-height:100%;display:block}[data-serp-gallery-lb-stage][data-serp-gallery-zoomed]{display:block;overflow:auto}[data-serp-gallery-lb-stage][data-serp-gallery-zoomed] [data-serp-gallery-stage-img]{cursor:zoom-out;width:200%;max-width:none;max-height:none}:where([data-serp-gallery-lb-close]){z-index:1;position:absolute;top:8px;right:8px}:where([data-serp-gallery-lb-prev],[data-serp-gallery-lb-next]){z-index:1;position:absolute;top:50%;transform:translateY(-50%)}:where([data-serp-gallery-lb-prev]){left:8px}:where([data-serp-gallery-lb-next]){right:8px}:where([data-serp-gallery-lb-counter]){bottom:calc(16px + env(safe-area-inset-bottom));z-index:1;background:var(--serp-gallery-count-bg,var(--color-surface,Canvas));color:var(--serp-gallery-count-fg,var(--color-text-main,CanvasText));border-radius:.25rem;margin:0;padding:2px 10px;position:absolute;left:50%;transform:translate(-50%)}:where([data-serp-gallery-lb-status]){z-index:1;margin:0;position:absolute;bottom:3.5rem;left:50%;transform:translate(-50%)}body.serp-sheet-open:has([data-serp-gallery-lb].is-open){overflow:hidden}