.gallery-owner-link {display:inline-flex;align-items:center;min-height:48px;color:#f7deaa;text-underline-offset:.2em;font-size:1rem}
.gallery-management {margin:1.2rem 0;text-align:left}
.gallery-management button,.photo-controls button,.deleted-photos button {min-height:48px;min-width:0;max-width:100%;padding:.65rem .85rem;border:1px solid #b4aa92;border-radius:.35rem;color:#fff7e5;background:#25383c;font:inherit;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.gallery-management button:disabled,.photo-controls button:disabled,.deleted-photos button:disabled {opacity:.48;cursor:default}
.gallery-management :focus-visible,.photo-controls :focus-visible,.deleted-photos :focus-visible {outline:3px solid #ffe7ae;outline-offset:4px}
#manage-frank-photos {font-weight:650;background:#e6dcc7;color:#192325}
#gallery-help {padding:1rem;border:1px solid #77817c;background:#172427;border-radius:.4rem}
#gallery-help p {margin:.15rem 0 .65rem}
.gallery-status-row {display:flex;align-items:center;flex-wrap:wrap;gap:.7rem}
#gallery-status {margin:.7rem 0;min-height:1.55em}
.before-enhancement {width:fit-content;margin:.3rem auto 0;color:#ead6af;font-size:1rem;min-height:44px;align-content:center;text-underline-offset:.2em}
.album-grid.is-managing figure {padding:.65rem;border:1px solid #84918a;border-radius:.45rem;background:#132024}
.photo-controls {display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.6rem;text-align:left;font-size:1rem}
.photo-controls .photo-drag {flex:1 0 100%;cursor:grab;background:#364c50;border-style:dashed}
.photo-controls .photo-drag:active {cursor:grabbing}
.photo-controls .photo-delete {color:#ffe6da;border-color:#c28e7d;background:#492e2b}
.album-grid figure.drag-over {outline:4px solid #ffe7ae;outline-offset:3px}
.album-grid figure.is-dragging {opacity:.5}
.deleted-photos {text-align:left;margin-top:2rem;padding:1rem;border:1px solid #77817c;border-radius:.4rem;background:#111e21}
.deleted-photos summary {min-height:48px;cursor:pointer;font-size:1.2rem;font-weight:600}
.deleted-photo-list {display:grid;gap:1rem;margin-top:1rem}
.deleted-photo {display:grid;grid-template-columns:5rem minmax(0,1fr);align-items:center;gap:.75rem}
.deleted-photo img {width:5rem;max-height:6rem;object-fit:contain;border-radius:.2rem}
.deleted-photo p {margin:0 0 .4rem;overflow-wrap:anywhere}
.empty-gallery {grid-column:1/-1}
[hidden] {display:none!important}
@media (max-width:420px) {.deleted-photo {grid-template-columns:minmax(0,1fr)}}
@media (prefers-reduced-motion:no-preference) {.photo-controls button,.gallery-management button {transition:background .15s ease}}
