sprite and responsive style refactoring