update styles; move countdown index functionality to service