The Associated Press

CINCINNATI — Hyun-Jin Ryu’s shutout streak rolls on.

Ryu blanked the Reds over seven innings to extend his major league-leading streak to 31, Cody Bellinger hit his 17th homer and the Los Angeles Dodgers beat Cincinnati 8-3 on Sunday.

“He’s just locked in right now with all of his pitches,” manager Dave Roberts said of his starting pitcher. “It’s fun to watch. He’s healthy. The conditions, the situations don’t matter.”

Ryu had baserunners in each of his first five innings, but none of them got past second base and he retired his last eight batters. Ryu allowed five hits with one walk and five strikeouts and lowered his ERA to a National League-best 1.52 for the season. He went into the game second behind Milwaukee’s Zach Davies.

Bellinger, who entered the game second in the NL in home runs behind Milwaukee’s Christian Yelich, smacked left-handed relief pitcher Wandy Peralta’s first pitch deep over the fence for a two-run homer.

Also Sunday:

Mariners 7, Twins 4: SEATTLE — Edwin Encarnacion made several nice plays at first base early in the game, then hit a three-run homer in the seventh inning to help Seattle snap Minnesota’s five-game winning streak.

Giants 3, Diamondbacks 2: PHOENIX — Pablo Sandoval opened the 10th inning with a pinch-hit homer, sending San Francisco past Arizona.

Athletics 5, Tigers 3 (susp.): DETROIT — The Oakland Athletics led Detroit in the bottom of the seventh inning when the game was suspended because of rain. The game will resume Sept. 6.

Red Sox 4, Astros 3: BOSTON — Michael Chavis homered and the Red Sox averted a series sweep against Houston and snapped the Astros’ 10-game winning streak.

Yankees 13, Rays 5: NEW YORK — Brett Gardner homered early, then got two hits during a seven-run burst in the sixth inning fueled by five walks that sent New York past Tampa Bay.

Phillies 7, Rockies 5: PHILADELPHIA — Bryce Harper homered for the second straight day to help Philadelphia complete a three-game sweep of Colorado.

Marlins 3, Mets 0: MIAMI — Sandy Alcantara threw a two-hitter in a pitching duel with Noah Syndergaard, and Miami beat the Mets to finish a three-game sweep.

Brewers 3, Braves 2: ATLANTA — Ben Gamel led off the 10th inning with a home run that lifted Milwaukee over Atlanta. All five runs in the game came on homers.

Indians, 10, Orioles 0: CLEVELAND — Shane Bieber struck out a career-high 15 in his first major league complete game and Cleveland routed Baltimore.

Blue Jays 5, White Sox 2: CHICAGO — Vladimir Guerrero Jr. hit another home run, Danny Jansen and Billy ­McKinney also connected and Toronto beat Chicago.

Rangers 5, Cardinals 4: ARLINGTON, Texas — Nomar Mazara hit a sacrifice fly to cap a two-run rally in the 10th inning that lifted Texas over St. Louis.

Royals 5, Angels 1: ANAHEIM — Danny Duffy won his third straight start and Kansas City beat Los Angeles to stop a four-game skid.

Pirates 6, Padres 4: SAN DIEGO — Colin Moran hit a three-run homer and finished with four RBIs, and Joe Musgrove beat his hometown Padres as Pittsburgh won to take three of four from San Diego.

Cubs 6, Nationals 5: WASHINGTON — Anthony Rizzo homered, Albert Almora Jr. had three hits and Chicago held off Washington. Washington starter Jeremy Hellickson allowed three runs and four hits with three walks in three innings.