/* 本站颜色头像与资料按钮分组仅补源组件所没有的数据形态，保持 hero 的原尺寸。 */
/* 顶部首字头像沿用36px圆框；有文字时关闭源样式的默认人形，避免伪元素覆盖账号首字。 */
[data-xl-runtime="1"] [data-xl-user-entry] [data-xl-avatar-initial]:not(:empty){display:grid;place-items:center;color:#fff;font-size:16px;font-weight:600;line-height:1}
[data-xl-runtime="1"] [data-xl-user-entry] [data-xl-avatar-initial]:not(:empty)::before,[data-xl-runtime="1"] [data-xl-user-entry] [data-xl-avatar-initial]:not(:empty)::after{content:none}
.profile-hero__avatar .xl-account-avatar{display:grid;place-items:center;width:100%;height:100%;font-size:48px;line-height:1;color:#fff}
.profile-hero__avatar>img{width:100%;height:100%;object-fit:cover}
.profile-hero__actions .xl-account-edit-actions{display:flex;flex-direction:column;gap:8px}
.xl-account-toast{position:fixed;z-index:calc(var(--z-toast,2000) + 10);bottom:40px;left:50%;max-width:calc(100vw - 32px);transform:translateX(-50%);padding:12px 24px;border-radius:999px;background:#fff;color:#211f1c;box-shadow:0 4px 24px #0005;text-align:center;font-size:14px}
[data-xl-account-overlay] [hidden],[data-xl-profile] [hidden],[data-xl-pay] [hidden],[data-xl-private][hidden]{display:none!important}
/* 支付页已有 fixed 根层，账号弹窗作为其上层；不更改原 dialog 内部几何。 */
[data-xl-account-overlay]{z-index:calc(var(--z-overlay,1000) + 2)!important}
@media(max-width:767px){.profile-hero__actions .xl-account-edit-actions{flex:1}.profile-hero__avatar .xl-account-avatar{font-size:36px}}
