/* 用户头像壳：有图盖住降级字；失败/无图时蓝底 + 昵称缩写（对齐 header） */
.user-avatar-shell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-sizing: border-box;
    background-color: #2a63f6;
    vertical-align: middle;
}

.user-avatar-shell .user-avatar-fallback-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #ffffff;
    line-height: 1;
    text-align: center;
    pointer-events: none;
    user-select: none;
    font-size: 11px;
}

.user-avatar-shell .user-avatar-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    border: none;
    box-shadow: none;
}

.user-avatar-shell .user-avatar-img.is-hidden,
.user-avatar-shell.is-fallback .user-avatar-img {
    display: none;
}

/* 大厅卡片头像 24px */
.user-avatar-shell.prompt-card-user-avatar .user-avatar-fallback-text {
    font-size: 11px;
}

/* 技能详情创作者 38px */
.user-avatar-shell.creator-avatar .user-avatar-fallback-text {
    font-size: 14px;
}

/* 提示词详情作者 32px */
.user-avatar-shell.author-avatar .user-avatar-fallback-text {
    font-size: 13px;
}
