.gallery-admin-form { display:grid; gap:.7rem; max-width:32rem; }
.gallery-admin-form img, #galleryAdminList img { width:100%; max-height:14rem; object-fit:cover; border-radius:.6rem; }
#galleryAdminList { display:grid; gap:1rem; grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr)); }
#galleryAdminList article { border:1px solid #332d25; border-radius:.75rem; padding:.8rem; overflow-wrap:anywhere; }
#galleryAdminList strong { display:block; margin-top:.45rem; }
.gallery.gallery-published article { min-width:0; overflow:hidden; overflow-wrap:anywhere; border:1px solid #332d25; border-radius:1rem; background:#181714; }
.gallery-published img { display:block; width:100%; aspect-ratio:4 / 3; object-fit:cover; }
.gallery-published h3, .gallery-published p { margin:.8rem 1rem; }
.gallery-admin-form textarea { width:100%; padding:.75rem; border:1px solid #332d25; border-radius:.6rem; background:#11110f; color:#eee7dc; font:inherit; resize:vertical; }
.gallery-admin-form input[type="file"] { min-width:0; max-width:100%; }
#galleryPreview[hidden] { display:none; }
