Miranda Lambert Rocked a 'Revenge Dress,' but 'Was Hurting' After Blake Shelton Confirmed Gwen Stefani Relatio

Pal Carrie Underwood lent her support with a heartfelt, off-camera moment.

Just moments after Blake Shelton and Gwen Stefani publicly confirmed their relationship, Miranda Lambert put on a brave face for the cameras.

"Miranda tried to seem happy, but you could tell she was hurting," an eyewitness backstage at Wednesday night's CMA Awards tells ET. "It was a great night for her because she won an award, but still hard for her."

PHOTOS: Blake Shelton & Gwen Stefani Spotted Holding Hands in Nashville

Lambert accepted the trophy for Female Vocalist of the Year (for the sixth consecutive year, FYI), simply stating: "I needed a bright spot this year." Earlier that night, she performed her heartbreaking new single, "Bathroom Sink," and seemed to be fighting back tears.

But first, Lambert hit the red carpet with a very Stefani-esque pink hairdo. She looked incredible, showing off her figure in a form-fitting black dress by Versace. "When complimented on her dress," a source tells ET, "her stylist said, 'See! It is your revenge dress,' and Miranda responded, 'Absolutely!'"

NEWS: Blake Shelton Gushes About 'Awesome Night' With Gwen Stefani in Nashville

Getty Images

ET's source also spotted a sweet moment between Lambert and her "Somethin' Bad" duet partner Carrie Underwood backstage at the show. "They hugged and embraced for a long time," the source says. "They spoke quietly to each other with their arms around each other. ... It seemed as if Carrie was comforting her."

WATCH: Miranda Lambert Teases She's Writing New Songs After Blake Shelton Split

Meanwhile, Shelton also performed at the awards ceremony -- which marked the first time that he and Lambert would be at the same public event together since their sudden and shocking split in July. Shelton performed his single, "Gonna," after co-hosts Brad Paisley and Underwood poked a little fun at him.

Underwood said they "couldn't ignore the breakup that really rocked our world. The one that's on everybody's mind. Two people in this very room that we all know and love." Then, the camera cut to Kermit and Miss Piggy.

WATCH: Blake Shelton & Gwen Stefani Look Flirty Leaving Halloween Party Together

"On a completely unrelated topic," Paisley jumped in, "Howdy, Blake!"

Shelton didn't seem bothered by the jokes when he stepped out holding Stefani's hand later in the evening. He also tweeted this lighthearted message to Paisley on Thursday, "If there's anybody on earth who's learned to take it, it's me!".