Spoiler content only visible for registered users

I guess you can do it with js/css in your theme customization?

Something like: if #current-user exists then remove classes “spoiled”.