/* Quiet gallery presentation; interaction and deep links stay unchanged. */
.gallery-toolbar{border:0;padding:8px 0 20px;gap:20px}
.gallery-filters{gap:4px 24px;align-items:center}
.gallery-filters .filter{min-height:44px;padding:10px 0 8px;border:0;border-bottom:1px solid transparent;background:transparent;color:#666;font-weight:400;line-height:1.5}
.gallery-filters .filter.active{background:transparent;color:#111;border-bottom-color:#111}
.gallery-filters .filter:hover{color:#111;border-bottom-color:#aaa}
.gallery-filters .filter span{display:none}
.gallery-tools{gap:18px;align-items:center}
.gallery-count{font-size:.8125rem;color:#777}
.gallery-share{padding:8px 0;border:0;background:transparent;color:#777;font-size:.8125rem;font-weight:400}
.gallery-share:hover{color:#111;text-decoration:underline;text-underline-offset:5px}
.share-status{min-height:0;margin:0 0 16px;font-size:.75rem;color:#777}
.share-status:empty{display:none}
.gallery-grid{gap:24px}
.gallery-item{background:#fff;border:0;box-shadow:none;border-radius:0}
.gallery-item span{display:none}
.gallery-item img{transition:filter .25s ease;transform:none}
.gallery-item:hover img,.gallery-item:focus-visible img{transform:none;filter:none}
.gallery-section [data-more]{padding:10px 0;border:0;background:transparent;color:#333;text-decoration:underline;text-underline-offset:6px}
.gallery-section [data-more]:hover{background:transparent;color:#000}
.shown-count{color:#888}
.photo-dialog{inset:0;margin:0;width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;background:rgba(255,255,255,.88);border:0;border-radius:0;box-shadow:none}
.photo-dialog::backdrop{background:rgba(0,0,0,.12)}
.dialog-bar{border:0;padding:12px 4%}
.dialog-bar p{color:#777;font-size:.8125rem}
.dialog-bar button,.dialog-bottom button{min-height:44px;padding:8px 0;border:0;background:transparent;color:#444;font-weight:400}
.dialog-bar button:hover,.dialog-bottom button:hover{color:#000;text-decoration:underline;text-underline-offset:5px}
.dialog-image{padding:0 4%;background:transparent}
.dialog-image img{filter:none}
.dialog-bottom{padding:6px 4% 14px;border:0}
.dialog-position{font-size:.8125rem;color:#888}
@media(max-width:1000px){.gallery-tools{margin-top:14px}.gallery-toolbar{padding-top:0}}
@media(max-width:650px){.gallery-filters{gap:4px 20px}.gallery-grid{gap:16px}.gallery-toolbar{padding-bottom:20px}.dialog-bar{padding:8px 5%}.dialog-image{padding:0 3%}.dialog-bottom{padding:6px 5% 12px}}
@media(prefers-reduced-motion:reduce){.gallery-item img{transition:none}}
.gallery-filters .filter:focus-visible{outline:none;border-bottom:2px solid #111}.photo-dialog button:focus-visible,.gallery-share:focus-visible,.gallery-section [data-more]:focus-visible{outline:none;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}

.dialog-bottom button{width:48px;min-width:48px;display:grid;place-items:center}.dialog-bottom button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.dialog-bottom button:hover svg{stroke-width:2}.dialog-bottom button:focus-visible{outline:1px solid #555;outline-offset:2px}
