/* /domains/gromadan.com/public_html/css/includes/online_user.css */ .online-avatar
.online-widget { padding: 20px; }

.online-stats-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.online-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0; /* даёт label ужиматься через text-overflow вместо переноса ряда */
}

.online-stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.online-stat-count {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    flex-shrink: 0;
}

.online-stat-divider { width: 1px; height: 20px; background: var(--border); flex-shrink: 0; }

.online-avatars-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 16px;
}

.online-avatar {
    position: relative;
    display: block;
    aspect-ratio: 1;
    /* overflow:hidden и border-radius больше НЕ здесь — иначе они
       обрезают и точку, которая лежит на этом же уровне */
}

.online-avatar-img-wrap {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.online-avatar img { width: 100%; height: 100%; object-fit: cover; }

.online-avatar-dot {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2ECC71;
    border: 2px solid var(--surface);
    z-index: 1; /* поверх круга с аватаркой */
}