Remove unneeded HTML/CSS and restore selection background