.identity-badge { position: relative; overflow: hidden; }
.identity-badge img { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--panel-2); }
.identity-badge img.is-loaded { display: block; }
.ws__av.identity-badge img { object-fit: contain; }
.avatar.profilebtn .av.identity-badge { display: grid; place-items: center; width: 100%; height: 100%; border-radius: inherit; }
.identity-upload { flex: none; }
.identity-drop { position: relative; display: inline-flex; border-radius: 12px; cursor: pointer; }
.identity-drop .ws__av { width: 48px; height: 48px; }
.identity-drop:is(:hover, .drag) { outline: 1px dashed var(--ink-3); outline-offset: 3px; }
.identity-drop:has(:focus-visible) { outline: 1px solid var(--focus-ring); outline-offset: 2px; }
.identity-upload[aria-busy="true"] .identity-drop { opacity: .65; cursor: wait; }
