/* Presence avatars - collaborative page-visit indicators */

.presence-avatars-li {
    display: flex;
    align-items: center;
}

.presence-avatars-wrapper {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-right: 0.5rem;
}

.presence-avatars {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
}

.presence-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    background: var(--presence-avatar-bg, #4a90d9);
    cursor: default;
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

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

/* Visual states per plan */
.presence-avatar[data-state="active"] {
    opacity: 1;
}

.presence-avatar[data-state="idle"] {
    opacity: 0.8;
}

.presence-avatar[data-state="inactive"] {
    opacity: 0.5;
}

.presence-avatar[data-state="gone"] {
    display: none;
}
