.gallery-albums{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:24px}.gallery-album-card{padding:0;overflow:hidden;margin:0}.gallery-cover{display:flex;align-items:center;justify-content:center;background:#202620;aspect-ratio:3/2;color:#bcc5bc}.gallery-cover img{width:100%;height:100%;object-fit:cover}.gallery-album-copy{padding:24px}.gallery-album-copy h2{font-size:28px}.gallery-album-copy h2 a{color:inherit}.gallery-album-copy .action-group{flex-wrap:wrap}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}.gallery-photo{display:inline-block;width:100%;min-width:0;margin:0;overflow:hidden;border:0;border-radius:12px;background:transparent;vertical-align:top}.gallery-photo-open{position:relative;display:block;overflow:hidden;background:transparent}.gallery-photo img{display:block;width:100%;height:auto}.gallery-open{position:absolute;right:12px;top:12px;padding:5px 10px;background:#101210c9;border-radius:6px;color:#fff;font-size:12px}.gallery-caption{padding:12px 16px;margin:0;overflow-wrap:anywhere;color:#e0e7e0}.gallery-delete{padding:12px 16px;border-top:1px solid #363c36;color:#c9d1c9}.gallery-delete summary{cursor:pointer}.gallery-delete p{font-size:13px}.gallery-upload{max-width:850px;margin-bottom:32px}.gallery-field{display:grid;gap:8px;margin:20px 0}.gallery-field input{width:100%;min-width:0}.gallery-field input[type=file]{padding:18px;border:1px dashed #889680;border-radius:10px}.gallery-pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin:32px 0}.gallery-viewer{width:fit-content;max-width:96vw;max-height:94dvh;padding:16px;border:1px solid #465046;border-radius:14px;background:var(--panel);color:#fff}.gallery-viewer::backdrop{background:#000e}.gallery-viewer-toolbar,.gallery-viewer-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.gallery-viewer-footer p{overflow-wrap:anywhere;min-width:0}.gallery-viewer-footer>a{flex-shrink:0}.gallery-viewer-stage{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px}.gallery-viewer-stage img{display:block;justify-self:center;width:auto;height:auto;max-width:min(76vw,1050px);max-height:68dvh}.gallery-viewer .icon-button{color:#fff;border:1px solid #586258;background:#252d25;font-size:22px}.gallery-viewer .icon-button:disabled{opacity:.3}.gallery-grid>.empty-state{grid-column:1/-1}.public-nav{flex-wrap:wrap}.public-nav a[aria-current=page]{color:#d3f36b}@media(max-width:900px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.gallery-grid{grid-template-columns:minmax(0,1fr)}.gallery-viewer{padding:10px}.gallery-viewer-stage{grid-template-columns:32px minmax(0,1fr) 32px;gap:4px}.gallery-viewer-stage .icon-button{width:32px;height:40px}.gallery-viewer-footer{align-items:flex-start;flex-direction:column;gap:4px}.gallery-pagination{gap:10px;font-size:12px}}@media(prefers-reduced-motion:reduce){.gallery-photo img{transition:none}}

.gallery-photo-open{width:100%;padding:0;border:0;border-radius:0;color:inherit;text-align:inherit}.gallery-photo img,.gallery-viewer-stage img,.gallery-cover img{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}

@media(max-width:550px){.gallery-viewer-stage img{max-width:calc(96vw - 100px)}}
