.gal-list{scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;gap:8px;margin:0;padding:0;list-style:none;display:flex;overflow-x:auto}.gal-list::-webkit-scrollbar{display:none}.gal-item{scroll-snap-align:center;flex:0 0 100%;height:clamp(320px,83svh - 160px,560px);position:relative}@media (min-width:768px){.gal-list{grid-template-columns:1fr;gap:12px;height:clamp(320px,42vw,540px);display:grid;overflow:visible}.gal-item{height:auto;min-height:0}.gal-list[data-count="2"]{grid-template-columns:1fr 1fr}.gal-list[data-count="3"],.gal-list[data-count=many]{grid-template-rows:1fr 1fr;grid-template-columns:2fr 1fr}.gal-list[data-count="3"]>.gal-item:first-child,.gal-list[data-count=many]>.gal-item:first-child{grid-row:span 2}.gal-item:nth-child(n+4){display:none}}.gal-viewer-strip{scroll-snap-type:x mandatory;scrollbar-width:none;height:100%;display:flex;overflow-x:auto}.gal-viewer-strip::-webkit-scrollbar{display:none}.gal-viewer-strip>li{scroll-snap-align:center;flex:0 0 100%;position:relative}.gal-viewer::backdrop{background:var(--scrim-80)}.gal-viewer{width:min(100vw - 32px,1200px);max-width:none;height:min(100svh - 32px,900px);max-height:none}
