There’s magic for the Royals in that number four.

As in four runs being their demarcation line between victory and defeat. As in the number on Alex Gordon’s back.

It was Gordon on Wednesday night who produced a 4-3 walk-off victory over the Atlanta Braves with a one-out slicing blooper against Alex Wood that dropped safely into left field.

“I knew they were going to be fairly careful,” Gordon said. “You’ve got a base open late in the game like that, you’re going to not try to give them too much to hit. So I was just trying to stay simple.”

Gordon got just enough.

David Lough scampered home from second with the winning run. And, no, if you’re wondering, there was no hesitation from third-base coach Eddie Rodriguez in waving home Lough as happened last week in Cleveland.

“I ain’t going to make that mistake twice,” Lough said, “I call tell you that.”

The victory enabled the Royals to gain a split in the two-game series, which marked the Braves’ first visit to Kauffman Stadium since interleague play started in 1997.

“That’s a team that’s leading their division by five games,” manager Ned Yost said. “It’s a good feeling to get on a plane after a hard-fought win like that, and a walk-off win like that.”

The Royals open a four-game series tonight at Minnesota.

Atlanta held on for a 4-3 victory in Tuesday’s opener when the Royals couldn’t produce the tying run in the ninth after putting runners at fist and third with no outs.

Another tough loss loomed Wednesday after the Royals saw a 3-0 lead disappear in the seventh inning. Gordon and Lough saved them from that and produced a celebratory scrum between first and second.

“I was waiting for the barbecue sauce to hit my face, so I had it covered,” Gordon said, “It didn’t happen tonight.”

Lough started the winning rally by grounding a leadoff single up the middle against Wood, 0-2. Miguel Tejada’s sacrifice bunt moved Lough to second for the top of the order.

“I don’t remember my last one,” Tejada said. “But anything we need, I’ll do.”