KANSAS CITY, Mo. -

James Shields threw a four-hitter and Alex Gordon homered as the Kansas City Royals won their sixth straight, beating the San Francisco Giants 5-0 on Saturday night.

The Royals have won nine of 10 to move with 1 1-2 games of AL Central-leading Detroit. The Royals, who have not made the playoffs since beating St. Louis in the 1985 World Series, are in second place in the AL wild card standings.

Shields (11-6) gave up three singles in the first four innings. He allowed only two Giants to reach second base. He walked Joe Panik in the fifth and he moved to second on a wild pitch with two outs, but was stranded. Panik doubled in the eighth.

It was Shields' ninth career shutout, his first since Sept. 9, 2012.

Tim Hudson (8-9) gave up a home run to Gordon to lead off the fifth inning.