To get rid of the excesses in notices such as Earned Nice Topic and old, closed threads.
Click on your avatar picture (the cup in your case) in the top right hand corner.
Then at the bottom of the notifications there’s an arrow pointing down. Click on that.
That will open up a screen with a “dismiss all” button. Click that button.