You can replace all the CSS at the end with this:
.game_grid_widget.user_game_grid .game_cell:nth-child(n+4) { display: none; }
It hides every project starting with the number in the :nth-child selector (e.g. with n+4 it hides every project after the 3rd).