.badge {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    color: rgb(196, 196, 196);
    padding: 8px 10px 8px 4px;
    border-radius: 8px;
    font-size: 14px;
    text-overflow: ellipsis;
    font-family: Arial, sans-serif;
    margin: 4px;
    line-height: 1.2;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
    height: 40px;
    min-height: 40px;
    width: 100%;
    max-width: 220px;
    min-width: 140px;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.badge-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background-color: rgb(46, 46, 46)
}

.badge-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600
}

.badge-signs-chip {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: rgb(32, 32, 32);
    height: 24px;
    min-width: 24px;
    border-radius: 8px;
    margin-left: auto;
    padding: 4px;
    gap: 4px;
}

.badge-sign {
    height: 16px;
    width: 16px;
}

.badge:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* большой бейдж */

.badge-big {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: rgb(196, 196, 196);
    border-radius: 8px;
    font-size: 14px;
    text-overflow: ellipsis;
    font-family: Arial, sans-serif;
    line-height: 1.2;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
    height: 160px;
    min-height: 160px;
    max-height: 280px;
    width: 100%;
    max-width: 360px;
    min-width: 220px;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
}

.badge-cover {
    display: flex;
    color: rgb(74, 74, 74);
    height: 80px;
    width: 100%;
}

.badge-body {
    display: flex;
    height: 100%;
    width: 100%;
    position: relative;
    overflow: visible;
    margin: 4px;
    box-sizing: border-box;
    padding: 20px 10px 8px 10px;
}

.badge-big .badge-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background-color: rgb(46, 46, 46);
    position: absolute;
    top: -50%;
}

.badge-big:hover {
    background-color: rgba(255, 255, 255, 0.1);
}