/* Photo albums — profile gallery */

.pa-album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.pa-album-card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--soc-border, rgba(255, 255, 255, 0.12));
    background: var(--soc-card-2, rgba(0, 0, 0, 0.25));
}

.pa-album-cover {
    display: block;
    aspect-ratio: 1;
    background: rgba(0, 0, 0, 0.35);
}

.pa-album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pa-album-cover-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--soc-muted, rgba(255, 255, 255, 0.55));
    font-size: 2rem;
}

.pa-album-body {
    padding: 10px;
}

.pa-album-name {
    font-weight: 800;
    font-size: 0.92rem;
    margin: 0 0 4px;
    color: var(--soc-text, #e4e6eb);
}

.pa-album-meta {
    font-size: 0.78rem;
    color: var(--soc-muted, rgba(255, 255, 255, 0.65));
    margin-bottom: 8px;
}

.pa-album-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pa-panel {
    margin-top: 16px;
}

.pa-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.pa-photo-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--soc-border, rgba(255, 255, 255, 0.12));
    background: var(--soc-card-2, rgba(0, 0, 0, 0.25));
}

.pa-photo-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.pa-photo-meta {
    padding: 8px 10px 10px;
}

.pa-photo-meta input,
.pa-photo-meta textarea {
    width: 100%;
    margin-bottom: 6px;
    font-size: 0.82rem;
}

.pa-upload-status {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--soc-muted, rgba(255, 255, 255, 0.72));
}

.pa-create-form {
    display: grid;
    gap: 8px;
    max-width: 420px;
    margin-bottom: 16px;
}

.pa-back-link {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.88rem;
}
