/* Иконка альбома с круглым превью (myalbum, users) */
.album-icon-wrap { position: relative; display: inline-block; }
.album-icon-wrap > img { display: block; }
.album-round {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 70%; height: 70%; border-radius: 50%; overflow: hidden;
    border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); background: #e9ecef;
}
.album-round img,
.album-collage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.album-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1px; width: 100%; height: 100%; }
.album-collage-3 img:first-child { grid-row: span 2; }

/* Текст под карточкой альбома (myalbum, users) */
.album-badge {
    display: inline-flex; align-items: center; gap: 4px; margin-bottom: 6px; padding: 2px 8px;
    border-radius: 10px; font-size: 12px; font-weight: 600; line-height: 1.4;
}
.album-badge.public { background: #dcfce7; color: #166534; }
.album-badge.locked { background: #fef3c7; color: #92400e; }
.album-badge.private { background: #e5e7eb; color: #374151; }

.album-info { padding: 8px 12px 4px; text-align: left; overflow-wrap: anywhere; }
.album-name { font-size: 14px; font-weight: 600; line-height: 1.3; color: #212529; }
.album-meta { font-size: 12px; color: #8a8f98; margin-top: 2px; }
.album-desc {
    font-size: 12px; line-height: 1.4; color: #5f6670; margin-top: 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.album-actions { display: flex; gap: 6px; margin-top: 8px; }
.album-actions a {
    flex: 1; padding: 5px 8px; border: 1px solid #e5e7eb; border-radius: 8px;
    background: #fff; color: #1f2937 !important; font-size: 13px; line-height: 1.4; text-align: center; text-decoration: none;
    cursor: pointer; transition: filter .15s, background-color .15s, color .15s, border-color .15s;
}
.album-actions a:hover { filter: brightness(.97); text-decoration: none; color: #1f2937 !important; }
.album-actions a i { margin-right: 6px; pointer-events: none; }
.album-actions .album-delete-link { color: #dc3545 !important; }
.album-actions .album-delete-link:hover { background: #dc3545; border-color: #dc3545; color: #fff !important; filter: none; }
