.me-event-gallery{position:relative;margin:0 0 12px;touch-action:pan-y}
.me-event-gallery .popup-img{width:100%;margin-bottom:0;display:block}
.me-event-gallery>.me-gallery-count{right:8px;bottom:8px;font-size:12px;padding:3px 7px}
.me-gallery-thumbs{display:flex;gap:6px;overflow-x:auto;padding:4px 0;scrollbar-width:none}
.me-gallery-thumbs::-webkit-scrollbar{display:none}
.me-gallery-thumbs button{flex:0 0 48px;width:48px;height:48px;padding:2px;border:2px solid transparent;border-radius:7px;background:transparent}
.me-gallery-thumbs button[aria-pressed=true]{border-color:#1976d2}
.me-gallery-thumbs img{display:block;width:100%;height:100%;object-fit:cover;border-radius:3px}
.me-gallery-count{position:absolute;right:5px;bottom:5px;padding:2px 6px;border-radius:6px;background:#172333d9;color:#fff;font-size:11px;line-height:16px;pointer-events:none}
.me-gallery-caption{font-size:12px;color:var(--muted,#65809a);margin:2px 0}
#eventPhotoViewer .me-photo-navigation{display:flex;align-items:center;gap:8px}
#eventPhotoViewer .me-photo-navigation[hidden]{display:none}
#eventPhotoViewer .me-photo-navigation output{white-space:nowrap;color:white}
.ee-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}
.ee-gallery-item{display:flex;flex-direction:column;gap:5px;min-width:0;border:1px solid #d8e2ed;border-radius:10px;padding:6px}
.ee-gallery-item img{width:100%;height:112px;object-fit:cover;border-radius:6px;display:block}
.ee-gallery-item button{padding:7px 5px;font-size:12px;min-height:32px}
.ee-gallery-item button[aria-pressed=true]{color:#fff;background:#1976d2;border-color:#1976d2}
.ee-gallery-item a{display:block}
.ee-gallery .muted{grid-column:1/-1}
