.gallery-album{padding:36px 0;border-bottom:1px solid var(--line);margin:0}
.gallery-album:first-child{padding-top:0}
.gallery-album .section-title p{white-space:pre-line;overflow-wrap:anywhere}
.album-description{color:var(--muted);max-width:80ch}
.album-description summary{list-style:none;cursor:pointer;line-height:1.65;overflow-wrap:anywhere}
.album-description summary::-webkit-details-marker{display:none}
.album-description summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
.album-more,.album-less{color:var(--gold);text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.album-less{display:none}
.album-description[open] .album-teaser,.album-description[open] .album-more{display:none}
.album-description[open] .album-less{display:inline}
.album-description-full p{margin-top:16px}
.album-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;color:var(--muted)}
.album-toolbar>div{display:flex;gap:8px}
.album-arrow{display:inline-grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid var(--line);border-radius:4px;background:var(--panel,#17121b);color:var(--gold,#f0c77c);font-size:24px;line-height:1;cursor:pointer}
.album-arrow:disabled{opacity:.35;cursor:default}
.album-arrow:focus-visible,.album-track:focus-visible,.album-image:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.album-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 4px 16px;scrollbar-color:var(--gold) transparent;overscroll-behavior-x:contain}
.album-track .album-image{flex:0 0 260px;width:260px;scroll-snap-align:start;border-radius:6px;text-decoration:none}
.album-track .album-image img{width:100%;height:180px;object-fit:cover}
.album-track .album-image span{display:block;overflow-wrap:anywhere;font-size:14px;letter-spacing:0}
.album-lightbox{padding:24px 64px;border:0;border-radius:6px;width:min(1000px,calc(100% - 24px));max-height:calc(100dvh - 24px);background:#100d12;color:#fff;overflow:auto}
.album-lightbox::backdrop{background:rgba(0,0,0,.88)}
.album-lightbox figure{margin:22px 0 0;text-align:center}
.album-lightbox figure img{margin:auto;max-height:calc(100dvh - 150px);max-width:100%;object-fit:contain}
.album-lightbox figcaption{padding:12px 0;overflow-wrap:anywhere;white-space:pre-line;font-size:14px}
.lightbox-close{position:absolute;right:10px;top:8px}
.lightbox-prev,.lightbox-next{position:absolute;top:50%;transform:translateY(-50%)}
.lightbox-prev{left:10px}.lightbox-next{right:10px}
body.album-modal-open{overflow:hidden}
[data-upload-refresh][hidden],[data-upload-progress][hidden]{display:none}
[data-upload-progress]{display:block;width:100%;height:20px;margin:12px 0;accent-color:var(--gold)}
[data-upload-results]{overflow-wrap:anywhere;max-height:250px;overflow:auto}
.admin-photo-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
.admin-photo-item{position:relative;min-width:0;aspect-ratio:4/3;overflow:hidden;border-radius:6px}
.admin-photo-item img{width:100%;height:100%;object-fit:cover}
.admin-photo-item .admin-photo-caption{position:absolute;left:0;right:0;bottom:0;overflow-wrap:anywhere;padding:12px;font-size:14px}
.admin-photo-remove{position:absolute;top:10px;right:10px;margin:0}
.admin-photo-remove .btn{background:rgba(12,8,14,.9);padding:10px 12px;font-size:11px;letter-spacing:0;min-height:40px}
.gallery-upload-busy{cursor:progress}
.gallery-upload-busy a{pointer-events:none;opacity:.6}
.gallery-upload-busy button:disabled{opacity:.55;cursor:progress}
@media(max-width:600px){.album-lightbox{padding:54px 8px 60px}.lightbox-prev,.lightbox-next{top:auto;bottom:10px;transform:none}.album-lightbox figure{margin:0}.album-lightbox figure img{max-height:calc(100dvh - 200px)}}
@media(prefers-reduced-motion:reduce){.album-track{scroll-behavior:auto}}
