.account-identity {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.25rem 0.45rem 0.25rem 0.25rem;
    color: inherit;
    text-decoration: none;
    transition:
        border-color 160ms ease,
        background 160ms ease;
}

.account-identity:hover,
.account-identity:focus-visible {
    border-color: rgba(255, 53, 90, 0.55);
    background: rgba(255, 53, 90, 0.08);
    outline: none;
}

.account-identity:hover .account-name,
.account-identity:focus-visible .account-name {
    color: #ffffff;
}

@media (max-width: 760px) {
    .account-name {
        display: none;
    }

    .account-identity {
        padding-right: 0.25rem;
    }
}
