.app-avatar {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .02em;
    user-select: none;
    border: 2px solid #fff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .12);
    flex-shrink: 0;
}

.app-avatar--xl {
    width: 160px;
    height: 160px;
    min-width: 160px;
    min-height: 160px;
    font-size: 3rem;
}

.app-avatar--lg {
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    font-size: 1rem;
}

.app-avatar--md {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    font-size: .95rem;
}

.app-avatar--sm {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    font-size: .85rem;
}

.app-avatar__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: transparent;
}

.app-avatar__fallback {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

.app-avatar.is-fallback .app-avatar__img {
    display: none;
}

.app-avatar.is-fallback .app-avatar__fallback {
    display: inline-flex;
}
