use explicit class name selectors for span elements to optimize selector performance