.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:22px;margin:28px 0}.gallery-photo{margin:0;border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden;min-width:0}.gallery-photo img{display:block;width:100%;height:280px;object-fit:contain;background:#f0eee8}.gallery-photo figcaption,.gallery-photo .photo-controls{padding:16px;overflow-wrap:anywhere}.gallery-photo figcaption{white-space:pre-wrap}.gallery-photo .photo-controls p{margin:4px 0 12px}.gallery-photo button{margin:4px 6px 4px 0}.gallery-action{display:inline-block;padding:10px 16px;background:var(--teal);color:white!important;border-radius:4px;text-decoration:none}.share-preview{display:block;max-width:100%;max-height:340px;object-fit:contain;margin:16px 0}.account-main input[type=file]{font-size:14px}.gallery-owner-email{overflow-wrap:anywhere;font-size:13px}@media(max-width:550px){.gallery-grid{grid-template-columns:1fr}.gallery-photo img{height:270px}}
