PITTSBURGH -- Ryan Lavarnway was an unlikely candidate to get a big hit in a pressure situation for the Pirates.
The 30-year-old fourth-string catcher was playing his 142nd career game, spread out over seven seasons with five teams, and spent most of 2018 with Triple-A Indianapolis.
In his second major league at-bat of the season, Lavarnway drove in the winning run with a pinch-hit single in the 11th inning, giving Pittsburgh a 2-1 victory over the Kansas City Royals.
It was the second straight night a backup catcher came through for the Pirates. Jacob Stallings had a game-ending single on Monday night.
Stallings and Lavarnway split catching duties all season in Indianapolis before being called up for depth in September. Pirates manager Clint Hurdle said at the time he wanted to honor the work Lavarnway had done this season.
"This organization has been so great to me," Lavarnway said. "I'm just so grateful for everything about them, really. I really feel like myself as a person and as a player here."
Starling Marte led off the 11th with an infield single off Burch Smith (1-6). Josh Bell walked and Burch struck out Francisco Cervelli before Adam Frazier was intentionally walked to load the bases, setting up Lavarnway's walk-off hit to shallow center.
"I was just trying to not to do much," Lavarnway said. "I think it would be human nature to try to go up there and hit it into the river."
Taillon pitched seven scoreless innings, allowing four hits and a walk. His previous career high in strikeouts was 10, set on July 12.
"I worked the top of the strike zone a little bit more than usual, I would say, and then my curveball was the best it's been the second half," Taillon said.
It looked like the Royals might get to Taillon in the top of the seventh. With runners on second and third, Brian Goodwin hit a flyball to right fielder Pablo Reyes, who threw out Ryan O'Hearn at the plate.
It was the first outfield assist for Reyes, a rookie playing his second game in right field.
"A great way to end the outing," Taillon said. "It's a good feeling."
Pinch-hitter Hunter Dozier tied the game in the ninth with a double off Pirates closer Felipe Vazquez that scored Jorge Bonifacio. Left fielder Corey Dickerson threw to shortstop Jordy Mercer, who relayed home to throw out Salvador Perez and preserve the tie.
Vazquez had not blown a save since May 31, a string of 24 consecutive opportunities converted.
Kyle Crick (3-2) retired the side on 10 pitches in the 11th to earn the win.
Moran had a pinch-hit home run with two outs in the seventh, his 10th homer this season.
Eric Skoglund allowed three hits and struck out two in six innings, his first start this season in which he did not allow a run. It was his second start since returning from an ankle injury Sept. 7
"He threw the ball great," manager Ned Yost said. "Six strong innings. Did a really nice job. Got to 67 (pitches) last time out and was starting to get a little tired. Was in the mid-80s this time and felt great. So he's getting back on track."
The Pirates improved to 14-5 in interleague play, the second-best record in the majors behind the Boston Red Sox.
Pirates: Frazier did not start but said he was "fine" after fouling a ball off his right knee and leaving Monday's game with discomfort. He grounded into a fielder's choice in the ninth and remained in the game in left field. ... C Elias Diaz (hamstring) made his first appearance since Aug. 31. He walked as a pinch-hitter in the ninth.
Royals: Perez was a late scratch with a recurrence of a nagging left thumb injury. He singled in the ninth. ... RHP Jorge Lopez (bruised rib) has still not thrown a between-starts bullpen session. His next turn in the rotation is Thursday against Detroit. The team has not announced a probable pitcher.
Royals: Heath Fillmyer (3-1, 4.76 ERA) is scheduled to start the series finale Wednesday. The rookie allowed 10 runs over his previous two starts.
Pirates: Chris Archer (4-8, 4.66 ERA) has lost three straight decisions and is 1-4 with a 5.19 ERA since returning from an abdominal injury in early July.
More AP MLB: https://apnews.com/tag/MLB and https://twitter.com/AP-Sports
NL East Stock Watch: Which team is having the best winter?
The division's four contenders have made the biggest moves to restock their rosters, but they're far from finished.
Schefter: Murray will go in 1st round
Adam Schefter joins SportsCenter to analyze Kyler Murray's decision to declare for the NFL draft.
Kyler Murray declares for 2019 NFL draft: Answering questions about what's next
Murray has declared for the NFL draft. Can he still play baseball? What are the key dates to pay attention to? Here's what you need to know.
Deion: Murray has to be fully invested in football
Deion Sanders breaks down why Kyler Murray can't be a multi-sport athlete like himself and Bo Jackson.
Derek Holland re-signs with Giants on one-year deal
Derek Holland, who made 30 starts with the Giants last season, re-signed with San Francisco on a one-year deal, the team announced.
How Bryce Harper and Manny Machado measure up among baseball's best
This winter's free-agent duo will be very rich pretty soon, but where do Harper and Machado rank among the best players in baseball right now?