end of game condition bugfix + css cleanup