OAKLAND, Calif. (AP) Mark Canha knew it was just a matter of time before the right pitch would come. He waited, and his patience paid off.

Canha hit an RBI double with two outs in the 11th inning and the Oakland Athletics edged the Kansas City Royals 1-0 Wednesday to hold their lead atop the AL wild-card race.

The Athletics, who have won seven of eight, began the day two games ahead of Tampa Bay for the top wild-card spot. Cleveland was a half-game behind the Rays.

Canha was sitting on a hard sinker down and away that he'd seen Royals reliever Jesse Hahn use effectively.

"I was expecting it early," Canha said. "He mixed in a couple of sliders and I finally got the pitch I was looking for."

Canha connected on the fifth pitch of the at-bat, driving a 1-2 sinker down the right field line.

The A's gave away Mark Canha T-shirts that he saw fans waving in the outfield during the game.

"It was a fun day," Canha said. "I couldn't have written a better story myself."

Starters Homer Bailey of the A's and Danny Duffy of the Royals each pitched seven sharp innings. Bailey, who was traded from Kansas City to Oakland in July, allowed three hits and struck out 11 while Duffy gave up two hits and fanned six.

"Both starters were extremely good," Royals manager Ned Yost said. "Homer was much more consistent with his split, now. He just doesn't miss against lefties. Just unbelievable. His curve was good, and he spotted his fastball extremely well. I didn't see him miss a location all day long and it was the same with Danny. I thought this was one of Danny's better games that he's pitched all year long."

J.B. Wendelken (3-1) pitched 1 1/3 scoreless innings for the win. He struck out Jorge Soler with the bases loaded and two outs in the 11th.

Bailey is 4-0 with a 1.88 ERA over his last seven starts. The Royals struck out 19 times and are three defeats away from reaching the 100-loss plateau with nine games left.

"The finish line's in site," A's manager Bob Melvin said. "You can talk about games leading up, you can talk about series earlier in the season, but teams play differently now and each game's more important and guys step up. It's a different animal right now."

FANCY FIELDING

A's left fielder Chad Pinder saved at least a run with a diving catch on a flare off Ryan O'Hearn's bat with runners at first and second with two outs in the seventh to keep the game scoreless.

Soler doubled off Bailey with one out and would have scored easily. Alex Gordon, who was issued an intentional walk ahead of O'Hearn's at bat, likely would have scored, too.

MORE FANCY FIELDING

Royals left fielder Gordon crashed into the wall making a running catch to rob Canha of extra bases with one out in the seventh.

TRAINER'S ROOM

Royals: RHP Jakob Junis has been shut down for the remainder of the season due to concerns about his workload, manager Ned Yost said. Junis has pitched 175 1/3 innings in 31 starts. . LHP Eric Skoglund will take Junis' spot in the rotation.

Athletics: RHP Mike Fiers, who experienced nerve irritation in his right arm in his last start, will take his regular turn in the rotation on Friday, when Oakland opens a three-game series against Texas. Fiers lasted just 1 2/3 innings on Sept. 14 against the Rangers in Arlington. He has experienced the injury intermittently over the past two seasons. Fiers had MRI earlier this week and was cleared after throwing a bullpen session without issues, manager Bob Melvin said. "We'll continue to monitor him, but this has kind of popped up for before, hasn't been an issue for him later on," Melvin said. "He's pretty routine-oriented, so we'll keep him on schedule." . RHP Blake Treinen will be shut down for at least two weeks with a back injury. RHP Chris Bassitt will move from the rotation to the bullpen, replacing Treinen.

UP NEXT

Royals: LHP Mike Montgomery (3-9, 4.70 ERA) will pitch Thursday's series opener against Minnesota. He's 0-4 with a 4.85 over his last five starts (14 earned runs, 26 innings).

Athletics: Fiers (14-4, 4.09 ERA) will pitch Friday's series opener against the Texas Rangers. Oakland's most reliable starter for most of the season has given up 12 earned runs in 2 2/3 innings over his last two starts and has an 18.78 ERA in three September starts (16 earned runs, 7.2 innings pitched).