Updated

DENVER (AP) Nolan Arenado had a career-high five RBIs, including a three-run homer, and the Colorado Rockies swept Los Angeles with a 12-5 win Sunday, keeping the Dodgers from moving closer to a third straight NL West title.

The magic number for Los Angeles (87-68) remained at two after San Francisco (81-74) beat Oakland. The Dodgers open a four-game series against the defending World Series champion Giants on Monday at AT&T Park, where they are 0-6 this season.

Arenado hit his 41st homer in the fourth. He also had a sacrifice fly and a run-scoring single, giving him a major league-leading 126 RBIs this season.

Chris Rusin (6-9) surrendered four runs - three earned - in 5 1/3 innings as Colorado swept Los Angeles for the first time since 2007.

Alex Wood (11-12) couldn't hold a 4-1 lead, allowing eight runs in 5 1/3 innings. He limited Colorado to one hit over eight scoreless innings two weeks ago.

The Rockies finished 36-45 at Coors Field to avoid tying their worst home record, 35-46 in 2012.

Arenado gave the Rockies the lead for good when he lined a fastball from Wood into left-center bleachers.

But it was a slide that set up Arenado's theatrics. DJ LeMahieu hit what looked like an inning-ending double play, only to have a hard-charging Charlie Blackmon cause second baseman Howie Kendrick to throw high and allow LeMahieu to beat the throw.

LeMahieu had an RBI on the fielder's choice. He also dove in another on a squeeze bunt in the sixth.

Wood had two of the Dodgers' 14 hits, including a double.

PUIG UPDATE

Dodgers manager Don Mattingly wouldn't rule out Yasiel Puig (hamstring) from playing in the postseason - should the Dodgers qualify, of course - but acknowledged it may be difficult since the outfielder hasn't played in a month.

''Right now, it's not part of the equation,'' Mattingly said. ''When it becomes part of the equation, then we can think about it a lot more.''

TRAINER'S ROOM

Dodgers: 1B Adrian Gonzalez (pinched nerve) feels better but was kept out of the lineup as a precaution. Mattingly is hopeful Gonzalez can play Monday. ... INF Corey Seager didn't start because of heavy legs. He entered as a pinch hitter in the seventh and struck out. ... OF Kike Hernandez (hamstring) is expected to join the team in San Francisco.

Rockies: SS Christhian Adames left the game after the second when he bruised his neck and right index finger on a collision with OF Joc Pederson while covering third base. Rafael Ynoa took his place and had an RBI double.

UP NEXT

Dodgers: RHP Zack Greinke (18-3, 1.65) takes the mound Monday in San Francisco. Greinke skipped his last start with a sore calf.

Rockies: RHP Christian Bergman (3-1, 4.62) starts Tuesday in Arizona. He has a 1.78 ERA in 10 road games - one start - this season.