.Gallery{width:100%}.GalleryHeader{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-bottom:var(--half)}.GalleryTitle{margin:0;color:var(--forefront);font-size:1.25rem;font-weight:500;text-transform:capitalize}.GalleryPillContainer{display:flex;align-items:center;gap:.5rem;min-height:2.25rem;padding:.5rem;border-radius:.375rem;background:var(--forefront);color:var(--background)}html[data-toolbar=closed] .GalleryPillContainer{display:none}.GalleryPill,.GalleryCard__title,.GalleryCard__meta{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.875rem}.GalleryPillLock{width:1rem;height:1rem}.GalleryContainer{position:relative;overflow:auto;border-radius:.75rem;background:color-mix(in srgb,var(--semifront) 18%,transparent)}.GalleryInner{gap:var(--block);padding:var(--half)}.GalleryInner--scroll{display:flex;align-items:flex-start;overflow-x:auto}.GalleryInner--grid,.GalleryInner--grid-small{display:grid;grid-template-columns:repeat(1,minmax(0,1fr))}.GalleryInner--masonry{-moz-columns:1;columns:1;-moz-column-gap:var(--block);column-gap:var(--block)}.GalleryCard{position:relative;display:flex;flex:0 0 min(28rem,85vw);-moz-column-break-inside:avoid;break-inside:avoid;flex-direction:column;gap:var(--quarter);margin:0 0 var(--block)}.GalleryInner--grid .GalleryCard,.GalleryInner--grid-small .GalleryCard{min-width:0;margin:0}.GalleryCard__preview{display:block;width:100%;padding:0;border:0;border-radius:.5rem;background:transparent;cursor:zoom-in}.GalleryCard__preview:focus-visible,.GalleryCard__save:focus-visible,.GalleryModal button:focus-visible{outline:3px solid var(--active);outline-offset:4px}.GalleryCard__image{display:block;width:100%;height:auto;border-radius:.5rem;box-shadow:0 16px 40px #0000002e;opacity:.96;transition:opacity var(--speed1) ease}.GalleryCard__preview:hover .GalleryCard__image,.GalleryCard__preview:focus-visible .GalleryCard__image{opacity:1}.GalleryCard__title,.GalleryCard__meta{align-self:flex-start;max-width:100%;padding:.25rem .5rem;border-radius:.25rem;background:var(--semiground);color:var(--forefront)}.GalleryCard__save{position:absolute;top:.75rem;left:.75rem;display:grid;width:2.25rem;height:2.25rem;place-items:center;padding:.5rem;border:0;border-radius:.375rem;background:var(--forefront);color:var(--background);cursor:pointer;opacity:0;box-shadow:0 4px 14px #00000040;transition:opacity var(--speed1) ease}.GalleryCard:hover .GalleryCard__save,.GalleryCard:focus-within .GalleryCard__save{opacity:1}.GalleryCard__save svg{width:1.125rem;height:1.125rem}.GalleryEmptyState{margin:0;padding:var(--block);color:var(--forefront);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;text-align:center}.Gallery--infinite{height:calc(100svh - 4rem);min-height:32rem}.InfiniteGallery{position:relative;width:100%;height:100%;overflow:hidden;background:var(--background);touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:grab;contain:strict}.InfiniteGallery:active{cursor:grabbing}.InfiniteGallery:focus-visible{outline:3px solid var(--active);outline-offset:-3px}.InfiniteGallery__plane{position:absolute;top:0;left:0;width:0;height:0;transform-origin:0 0;will-change:transform}.GalleryCard--infinite{position:absolute;top:0;left:0;margin:0;contain:layout paint style}.GalleryCard--infinite .GalleryCard__preview,.GalleryCard--infinite .GalleryCard__image{width:100%;height:100%}.GalleryCard--infinite .GalleryCard__image{-o-object-fit:cover;object-fit:cover}.InfiniteGallery__chrome{position:absolute;left:1rem;bottom:1rem;z-index:2;display:grid;max-width:min(32rem,calc(100vw - 2rem));gap:.35rem;padding:.75rem 1rem;border:1px solid color-mix(in srgb,var(--forefront) 15%,transparent);border-radius:.75rem;background:color-mix(in srgb,var(--background) 88%,transparent);color:var(--forefront);font-size:.8125rem;line-height:1.35;box-shadow:0 10px 30px #00000024;backdrop-filter:blur(14px)}.InfiniteGallery__chrome p{margin:0}.InfiniteGallery__actions{display:flex;align-items:center;gap:.75rem;margin-top:.25rem}.InfiniteGallery__actions button,.InfiniteGallery__actions a{padding:.4rem .65rem;border:1px solid var(--semifront);border-radius:.4rem;background:var(--forefront);color:var(--background);font:inherit;font-weight:600;text-decoration:none;cursor:pointer}.GalleryModal{position:fixed;inset:0;z-index:80;display:grid;grid-template-rows:1fr auto;place-items:center;overflow:auto;padding:4rem 1rem 1.5rem;background:#000000c7}.GalleryModal__figure{display:grid;place-items:center;gap:.75rem;margin:0}.GalleryModal__image{width:auto;max-width:min(80vw,90rem);max-height:72vh;border-radius:.75rem;-o-object-fit:contain;object-fit:contain;box-shadow:0 28px 90px #000000a6}.GalleryModal__image--mobile{max-width:min(90vw,25rem)}.GalleryModal__caption{display:flex;gap:.75rem;color:#fff;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.GalleryModal__close,.GalleryModal__save{border:0;background:var(--forefront);color:var(--background);cursor:pointer;box-shadow:0 8px 30px #00000059}.GalleryModal__close{position:fixed;top:1rem;right:1rem;display:grid;width:3rem;height:3rem;place-items:center;border-radius:999px}.GalleryModal__close svg{width:1.75rem;height:1.75rem}.GalleryModal__save{display:flex;align-items:center;gap:.5rem;margin-top:1rem;padding:.75rem 1rem;border-radius:.5rem;font:inherit;font-weight:600}.GalleryModal__save svg{width:1.25rem;height:1.25rem}@media (min-width: 768px){.GalleryInner{padding:var(--block)}.GalleryInner--grid{grid-template-columns:repeat(2,minmax(0,1fr))}.GalleryInner--grid-small{grid-template-columns:repeat(3,minmax(0,1fr))}.GalleryInner--masonry{-moz-columns:2;columns:2}}@media (min-width: 1280px){.GalleryInner--grid{grid-template-columns:repeat(3,minmax(0,1fr))}.GalleryInner--grid-small{grid-template-columns:repeat(4,minmax(0,1fr))}.GalleryInner--masonry{-moz-columns:3;columns:3}}@media (max-width: 640px){.Gallery--infinite{height:calc(100svh - 4rem)}.InfiniteGallery__chrome{right:1rem;max-width:none}}@media (prefers-reduced-motion: reduce){.GalleryCard__image,.GalleryCard__save{transition:none}}
