refactor CSS and wrap tour strings