But a sweeping campaign of gerrymandering, and tight margins in key states, mean a Democratic wave is far from certain