.profile-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--infradac-hover) 80%, transparent);
    border: 1px solid color-mix(in srgb, var(--infradac-gold) 22%, var(--infradac-border));
}

.profile-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--infradac-gold) 0%, var(--infradac-green) 100%);
    color: #fffdf6;
    font-weight: 800;
    font-size: 1rem;
    overflow: visible;
    isolation: isolate;
}

.profile-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border-radius: inherit;
}

.profile-avatar-badge {
    position: absolute;
    right: -6px;
    bottom: -3px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid var(--infradac-card);
    background: var(--infradac-green-dark);
    color: #fffdf6;
    font-size: 0.72rem;
    box-shadow: 0 4px 10px rgba(36, 51, 43, 0.18);
    line-height: 1;
    z-index: 3;
    transform: none;
}

.profile-avatar-badge.profile-avatar-badge-prime {
    background: linear-gradient(135deg, #f3d27a 0%, #d5a11b 100%);
    color: #3b2b00;
}

.profile-avatar-badge i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(1px);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.profile-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--infradac-sidebar-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-title {
    font-size: 0.84rem;
    color: var(--infradac-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
