smartphone styles and logic