/* A public album editor inside the existing admin tools. */
.front-album-fixed{display:flex;align-items:center;gap:18px;margin:22px 0;padding:16px;border:1px solid var(--h-line);background:#f5ebdc}
.front-album-fixed img{width:96px;height:76px;object-fit:contain;background:#ebe0ce;flex-shrink:0}
.front-album-fixed p{margin:0;font-size:14px}.front-album-fixed strong,.front-album-fixed span{display:block}
.front-album-fixed span{font-size:13px;color:var(--text-secondary);margin-top:4px}
.front-album-summary{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px;margin:18px 0}
.front-album-summary a{color:#795029;min-height:44px;display:inline-flex;align-items:center}.front-album-summary>span{align-self:center}
.front-album-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px;margin-bottom:20px}
.front-album-card{border:1px solid var(--h-line);background:#fffaf1;padding:15px;display:flex;flex-direction:column;gap:12px}
.front-album-card img{width:100%;height:190px;object-fit:contain;background:#ece3d5;border:1px solid #ddceb7}
.front-album-card label{font-size:13px;color:var(--text-secondary)}
.front-album-card input{width:100%;box-sizing:border-box;min-height:44px;padding:10px;font:16px/1.4 var(--h-sans);background:#fffdf8;color:var(--h-teak);border:1px solid #b99e7a;border-radius:2px}
.front-album-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto}
.heritage-site .front-album-actions .gold-btn{padding:8px;font-size:12px;min-height:44px}
.front-album-actions button:disabled,#bg-upload:disabled{opacity:.5;cursor:default}
#front-album-retry[hidden]{display:none}.front-album-note{font-size:12px;line-height:1.7;color:var(--text-secondary);margin-top:12px}
#bg-status{overflow-wrap:anywhere}.front-album-card :focus-visible{outline:2px solid #916227;outline-offset:3px}
@media(max-width:480px){.front-album-fixed{padding:12px;gap:12px}.front-album-fixed img{width:72px;height:64px}.front-album-fixed strong{font-size:12px}.front-album-fixed span{font-size:12px}.front-album-list{gap:12px}.front-album-card{padding:8px;gap:10px}.front-album-card img{height:175px}}

.front-album-intro{font:14px/1.75 var(--h-sans);color:var(--text-secondary);text-align:left;margin:12px 0 20px}
