The fallback <div>'s inline style only carried `background` when src was falsy, so an <img> that 404'd flipped to display:flex via onError but with no gradient applied — surfacing a colorless letter for any broken avatar URL. Always paint the gradient + fontSize; keep `display:none` as the only src-conditional override.