#gallery-feed{background:var(--color-gallery-dialog-bg);color:var(--color-surface);padding:0}
#gallery-feed[open]{flex-direction:column}
#gallery-feed::backdrop{background:var(--color-overlay-darker)}
#gallery-feed header{display:flex;justify-content:flex-end;padding:0.75rem 1rem;width:100%}
#gallery-feed button{align-items:center;background:var(--color-surface-overlay-10);border:1px solid var(--color-surface-overlay-20);border-radius:var(--radius-full);display:flex;font-size:0.8125rem;font-weight:var(--font-weight-ui);gap:0.25rem;padding:0.5rem 0.75rem;transition:background-color 0.15s}
#gallery-feed button:hover{background:var(--color-surface-overlay-20)}
#gallery-feed .material-symbols-outlined{font-size:18px}
#gallery-feed-content{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:0 0.5rem 1rem;scrollbar-width:none;width:100%}
#gallery-feed-content::-webkit-scrollbar{display:none}
#gallery-feed section{align-items:center;display:flex;flex-direction:column;gap:0.5rem}
#gallery-feed section + section{margin-top:0.5rem}
#gallery-feed h2{color:var(--color-text-light);font-size:0.75rem;font-weight:var(--font-weight-ui);text-align:center}
#gallery-feed figure{max-width:100%}
#gallery-feed img{background:var(--color-gallery-dialog-media)}
#gallery-feed figcaption{contain:inline-size;font-size:0.9375rem;font-weight:var(--font-weight-ui);padding-top:0.875rem;text-align:center}
