There is not a perfect solution here, you could:
- Use
nth-childCSS to get the the elements you want to hide - Override the
discourse/templates/modal/create-account.hbstemplate and mark the fields with “readonly”. - Reopen the Create Account class and change the JavaScript to more suit your needs,
None of which seem appealing to me.
I’m sure someone else has a better idea.