.share-gallery{--gallery-column-gap:clamp(.75rem, 1.7vw, 1.75rem);--gallery-row-gap:clamp(1.35rem, 2.7vw, 3rem);--gallery-rule:color-mix(in srgb, var(--color-foreground) 22%, transparent);max-width:104rem;margin-inline:auto}.gallery-heading{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title shuffle""description shuffle";gap:.55rem .75rem;margin-block-end:clamp(1.2rem,2.8vw,2.75rem);display:grid}.gallery-heading h1{letter-spacing:-.04em;grid-area:title;margin:0;font-size:clamp(3.6rem,7vw,6rem);line-height:.94}.gallery-heading h1 span{color:var(--color-accent)}.gallery-intro{grid-area:description}.gallery-heading p{color:var(--color-muted);margin:0;font-size:clamp(.875rem,1.4vw,1.1rem);line-height:1.4}.gallery-account{flex-wrap:wrap;align-items:baseline;gap:.15rem .65rem;font-size:.9rem;display:flex}.gallery-heading .gallery-account{margin-block-start:.3rem}.gallery-account a{align-items:center;min-height:44px;font-weight:650;display:inline-flex}.gallery-feedback{margin-block:.75rem 1.1rem}.button.gallery-shuffle{background:var(--color-action);min-height:48px;color:var(--color-on-action);border:1px solid #0000;border-radius:8px;grid-area:shuffle;justify-content:center;align-self:end;align-items:center;gap:.6rem;padding:.45rem 1.05rem;font-size:.9rem;display:inline-flex}.button.gallery-shuffle:hover{background:var(--color-action-hover);color:var(--color-on-action)}.button.gallery-shuffle:active{background:var(--color-action-pressed)}.gallery-controls{border-block-start:1px solid var(--gallery-rule);grid-template-columns:minmax(0,1fr) auto auto auto;align-items:stretch;gap:.55rem;margin:0;padding-block-start:1rem;display:grid;position:relative}.gallery-search,.gallery-sort,.gallery-filter-menu summary,.gallery-controls .gallery-apply{border:1px solid var(--color-control-border);background:var(--color-background);border-radius:8px;align-items:center;gap:.55rem;min-height:46px;margin:0;padding-inline:.85rem;display:flex}.gallery-search{background:var(--color-field);color:var(--color-muted)}.gallery-search svg,.gallery-filter-menu svg{flex:none}.gallery-search input,.gallery-sort select{width:100%;min-width:0;min-height:44px;color:var(--color-foreground);background:0 0;border:0;margin:0;padding:0}.gallery-search input:focus,.gallery-sort select:focus-visible{outline:0}.gallery-search:focus-within,.gallery-sort:has(select:focus-visible){outline:2px solid var(--color-focus);outline-offset:2px}.gallery-sort label{color:var(--color-muted);margin:0;font-size:.82rem}.gallery-controls .gallery-apply,.gallery-filter-menu summary{white-space:nowrap;justify-content:center;font-size:.875rem;font-weight:650}.gallery-controls .gallery-apply:hover,.gallery-filter-menu summary:hover,.gallery-filter-menu[open] summary{background:var(--color-surface)}.gallery-filter-menu{margin:0}.gallery-filter-menu summary{list-style:none}.gallery-filter-menu summary::-webkit-details-marker{display:none}.gallery-filter-menu[open] summary svg:last-child{transform:rotate(180deg)}.gallery-filters{z-index:3;border:1px solid var(--color-control-border);background:var(--color-background);border-radius:12px;gap:.8rem;width:min(100%,21rem);padding:1rem;display:grid;position:absolute;inset-block-start:calc(100% + .5rem);inset-inline-end:0;box-shadow:0 12px 28px #00000021}.gallery-filters label{color:var(--color-muted);margin:0;font-size:.85rem}.gallery-filters select{border-color:var(--color-control-border);min-height:44px;padding:.4rem .6rem;font-size:1rem}.gallery-readout,.gallery-results,.gallery-related{flex-wrap:wrap;align-items:center;gap:0 .85rem;min-height:44px;font-size:.8rem;display:flex}.gallery-readout{justify-content:space-between;padding-block:.25rem}.gallery-results p{color:var(--color-muted);font-variant-numeric:tabular-nums;margin:0}.gallery-results a,.gallery-related a,.gallery-piece-links a{align-items:center;gap:.28rem;min-height:44px;display:inline-flex}.gallery-active-filter{overflow-wrap:anywhere;max-width:100%}.gallery-active-filter svg,.gallery-related svg{flex:none}.gallery-related a{color:var(--color-muted)}.gallery-results a:hover,.gallery-related a:hover{color:var(--color-accent)}.gallery-grid{--gallery-columns:2;grid-template-columns:repeat(var(--gallery-columns), minmax(0, 1fr));align-items:start;gap:var(--gallery-row-gap) var(--gallery-column-gap);display:grid}.gallery-grid[data-masonry]{display:block;position:relative}.gallery-grid[data-masonry] .gallery-tile{position:absolute}.gallery-tile{min-width:0;scroll-margin-block-start:1.25rem}.gallery-tile[data-gallery-lead]{grid-column:span 2}.gallery-tile>a{color:var(--color-foreground);border-radius:12px 12px 0 0;display:block}.gallery-tile>a:is(:hover,:focus-visible) :is(h2,.gallery-caption svg){color:var(--color-accent)}.gallery-thumbnail{background:var(--color-surface);border-radius:12px;place-items:center;display:grid;position:relative;overflow:clip}.gallery-thumbnail img{object-fit:contain;width:100%;height:auto;display:block}[data-gallery-lead] .gallery-thumbnail img{max-height:clamp(20rem,41vw,38rem)}.gallery-featured{color:#fff;background:#18191b;border-radius:2rem;padding:.25rem .6rem;font-size:.73rem;font-weight:650;position:absolute;inset:.65rem auto auto .65rem}.gallery-caption{border-block-end:1px solid var(--gallery-rule);justify-content:space-between;align-items:start;gap:.5rem;margin-block-start:.7rem;padding-block-end:.65rem;display:flex}.gallery-caption h2{letter-spacing:-.02em;overflow-wrap:anywhere;max-width:none;margin:0;font-size:clamp(.96rem,1.2vw,1.2rem);font-weight:650;line-height:1.16}[data-gallery-lead] .gallery-caption h2{font-size:clamp(1.25rem,2vw,1.8rem)}.gallery-caption p{color:var(--color-muted);margin:.25rem 0 0;font-size:.76rem;font-weight:450;line-height:1.35}.gallery-caption svg{color:var(--color-muted);flex:none;margin:.12rem .12rem 0 0}.gallery-pages{flex-wrap:wrap;align-items:center;gap:0 1rem;margin-block:1.25rem;display:flex}.gallery-pages a{align-items:center;gap:.35rem;min-height:44px;display:inline-flex}.gallery-pages a[hidden]{display:none}.gallery-pages [role=status]{color:var(--color-muted);font-size:.85rem}.gallery-empty{border-block-start:1px solid var(--gallery-rule);padding-block:2rem 3rem}.gallery-empty h2{max-width:none;margin-block-end:.5rem}.gallery-empty a{min-height:44px;color:var(--color-accent);align-items:center;display:inline-flex}.gallery-visually-hidden{clip-path:inset(50%);white-space:nowrap;block-size:1px;inline-size:1px;position:absolute;overflow:hidden}.gallery-lightbox{border:1px solid var(--color-control-border);width:min(96%,96rem);max-width:none;max-height:94dvh;color:var(--color-foreground);background:var(--color-background);overscroll-behavior:contain;border-radius:16px;margin:auto;padding:0;position:fixed;inset:0}.gallery-lightbox::backdrop{background:#0c0d0fde}html:has(.gallery-lightbox[open]){overflow:hidden}.gallery-lightbox-bar{z-index:1;border-bottom:1px solid var(--color-border);background:var(--color-background);justify-content:space-between;gap:.5rem;padding:.65rem clamp(.75rem,2vw,1.5rem);display:flex;position:sticky;top:0}.gallery-lightbox-arrows{gap:.35rem;display:flex}.gallery-lightbox-bar button,.gallery-piece-actions>button{justify-content:center;align-items:center;gap:.4rem;min-width:44px;min-height:44px;margin:0;padding:.45rem .7rem;display:inline-flex}.gallery-lightbox-bar button{background:var(--color-surface);color:var(--color-foreground);border:1px solid var(--color-border)}.gallery-lightbox-bar button:disabled{opacity:.45}.gallery-lightbox [data-gallery-content]>p:first-child{margin:0;padding:2rem 1.5rem}.gallery-piece{grid-template-columns:minmax(0,1.8fr) minmax(19rem,1fr);align-items:start;min-width:0;display:grid}.gallery-stage{background:color-mix(in srgb, var(--color-surface) 76%, var(--color-background));border-radius:12px;place-items:center;min-width:0;min-height:12rem;padding:clamp(.85rem,2.7vw,2.75rem);display:grid;position:relative}.gallery-stage:focus-visible{outline-offset:-4px}.gallery-stage img{object-fit:contain;width:auto;max-height:min(72dvh,54rem);display:block}.gallery-full-size{color:#fff;background:#18191b;border-radius:6px;align-items:center;gap:.4rem;padding:.4rem .65rem;font-size:.78rem;display:inline-flex;position:absolute;inset:auto .7rem .7rem auto}.gallery-stage:is(:hover,:focus-visible) .gallery-full-size{background:var(--color-action);color:var(--color-on-action)}.gallery-lightbox .gallery-stage{--gallery-stage-inset:clamp(.85rem, 2.7vw, 2.75rem);border-radius:0;position:sticky;inset-block-start:4.1rem}.gallery-lightbox .gallery-stage img{max-height:min(calc(94dvh - 4.1rem - 2 * var(--gallery-stage-inset)), 54rem)}.gallery-details{overflow-wrap:anywhere;min-width:0;padding:clamp(1rem,3vw,2.65rem)}.gallery-details h1{text-wrap:balance;max-width:none;margin:.45rem 0 0;font-size:clamp(1.85rem,3.15vw,3.3rem);line-height:1.04}.gallery-credit{color:var(--color-muted);margin:.7rem 0 1.1rem;font-size:.9rem;line-height:1.45}.gallery-piece-category{color:var(--color-muted);margin:0;font-size:.8rem}.gallery-piece-category a:hover,.gallery-tags a:hover{color:var(--color-accent)}.gallery-piece-actions,.gallery-piece-links,.gallery-tags{flex-wrap:wrap;align-items:center;gap:.4rem .65rem;display:flex}.gallery-piece-actions [hidden]{display:none}.button.gallery-file-action{background:var(--color-action);min-height:44px;color:var(--color-on-action);border-radius:.45rem;align-items:center;gap:.4rem;padding-inline:.8rem;font-weight:650;display:inline-flex}.button.gallery-file-action:hover{background:var(--color-action-hover);color:var(--color-on-action)}.gallery-description{margin:.9rem 0 1.25rem;font-size:.95rem}.gallery-tags{margin:.65rem 0;padding:0;list-style:none}.gallery-tags a{border:1px solid var(--color-border);border-radius:2rem;align-items:center;min-height:32px;padding-inline:.6rem;font-size:.78rem;display:inline-flex}.gallery-piece-section{border-top:1px solid var(--color-border);margin-block:.7rem 0;font-size:.9rem}.gallery-piece-section summary{cursor:pointer;min-height:44px;padding-block:.65rem}.gallery-piece-section ul{padding-inline-start:1rem}.gallery-piece-section ul a{align-items:center;gap:.3rem;min-height:36px;display:inline-flex}p.gallery-piece-section a{align-items:center;min-height:44px;display:inline-flex}.gallery-piece-section p{margin:.4rem 0}[data-gallery-post-field],[data-gallery-alt-field]{box-sizing:border-box;width:100%;max-width:100%}[data-gallery-post-field][hidden],[data-gallery-copy-fallback][hidden],[data-gallery-alt-field][hidden],.gallery-piece-links [data-gallery-copy-alt][hidden]{display:none}.gallery-piece-links [data-gallery-copy-alt]{min-height:44px;padding:.35rem .6rem}[data-gallery-copy-status]:empty,[data-gallery-package-status]:empty,[data-gallery-alt-status]:empty,[data-review-status]:empty{display:none}[data-review-form] fieldset{border:0;flex-wrap:wrap;gap:0 .8rem;padding:0;display:flex}[data-review-form] label{align-items:center;gap:.35rem;min-height:38px;display:inline-flex}[data-review-form] input[type=radio]{width:auto;margin:0}[data-review-form] textarea{width:100%}@media (width>=43rem){.gallery-grid{--gallery-columns:3}}@media (width>=65rem){.gallery-grid{--gallery-columns:4}}@media (width>=110rem){.gallery-grid{--gallery-columns:5}}@media (width<=46rem){.gallery-lightbox{border:0;border-radius:0;width:100%;max-height:100dvh}.gallery-piece{grid-template-columns:minmax(0,1fr)}.gallery-lightbox .gallery-stage{position:relative;inset-block-start:auto}.gallery-stage img,.gallery-lightbox .gallery-stage img{max-height:55dvh}.gallery-tags a{min-height:44px}}@media (width<=37rem){.gallery-heading{grid-template-areas:"title shuffle""description description"}.button.gallery-shuffle{align-self:center;min-height:44px;padding-inline:.75rem}.gallery-controls{grid-template-columns:minmax(0,1fr) auto;padding-block-start:.75rem}.gallery-sort{justify-content:space-between}.gallery-search input,.gallery-sort select{font-size:1rem}.gallery-sort select{width:auto;max-width:100%}.gallery-readout,.gallery-results,.gallery-related{column-gap:.65rem}.gallery-caption svg{display:none}.gallery-caption h2{font-size:.94rem}}@media (scripting:none){.gallery-filter-menu[open]{grid-column:1/-1}.gallery-filters{width:100%;margin-block-start:.5rem;position:static}}@media (hover:hover) and (prefers-reduced-motion:no-preference){.gallery-thumbnail img{transition:transform .28s cubic-bezier(.16,1,.3,1)}.gallery-tile>a:hover img{transform:scale(1.018)}}
