Olivia Wilde risks an awkward encounter with her ex Harry Styles at the gym

Abs-baring Olivia Wilde risks an awkward encounter with ex Harry Styles when the pair go to the SAME gym, in the midst of a ‘dogfight’ custody battle with ex Jason Sudeikis

Olivia Wilde risked an awkward run-in with ex Harry Styles on Friday when the pair visited the same gym in Los Angeles.

The 38-year-old actress showed off her toned abs in a matching ensemble as she was spotted leaving an exercise class; she was also seen Harry, 28, leaving the building separately, three months after the separation from her.

Don’t Worry Darling stepped out in a chic pink and maroon ensemble with sunglasses covering her eyes after breaking a sweat on Friday.

The House actress, who has been fighting ex Jason Sudeikis, 47, for custody of their two children and is still “locked in a dogfight,” threw a bubblegum pink sweatshirt over her shoulders as she walked toward your ride.

To complete the monochrome look, she also rocked a pair of pink sneakers.

That's how it was: Arry, 28, also seen leaving the building separately, three months after their separation

OMG: Olivia Wilde risked an awkward run-in with ex Harry Styles on Friday when the pair visited the same gym in Los Angeles

Matching outfit: The Don't Worry Darling director stepped out in a chic pink and maroon ensemble with sunglasses covering her eyes after breaking a sweat on Friday

Matching outfit: The Don’t Worry Darling director stepped out in a chic pink and maroon ensemble with sunglasses covering her eyes after breaking a sweat on Friday

The filmmaker had her brown hair tied up in a messy bun and wore a pair of black-rimmed sunglasses to shield her eyes as she walked outside.

When she came out of her exercise class, she was also carrying a bottle of water and a yellow bag on her shoulder.

Harry was sporting sweaty locks and a black tracksuit as he left the building and headed home.

Earlier this week, TMZ reported that Wilde and the Ted Lasso star, who were together for nine years before calling it quits, were still locked in a bitter battle despite previously being seen sharing a friendly hug.

The former couple, who were engaged for seven years, share an eight-year-old son named Otis and a six-year-old daughter named Daisy.

They broke up in 2020 around two months after Wilde cast Harry Styles, 29, in his film Don’t Worry Darling and began working with him.

They began dating during production and have broken up ever since.

The singer-turned-actor and the actress-turned-director dated for two years.

Earlier this week, a source revealed to Eastern Time that Wilde has been prioritizing his children since the breakup.

“Olivia has been focusing all her energy on her children and her family ever since she split from Harry,” the source said. “And now that they’ve split up, it’s been easier for Jason and Olivia to get along.”

Good exercise?  The star sported sweaty locks and a tracksuit as she stepped out.

Good exercise? The star sported sweaty locks and a tracksuit as she stepped out.

'Still locked in a dogfight': Wilde and Sudeikis were reported on Wednesday 'still fighting over their child support agreement' despite their recent friendly hug

‘Still locked in a dogfight’: Wilde and Sudeikis were reported on Wednesday ‘still fighting over their child support agreement’ despite their recent friendly hug

As It Was: The news comes after it was reported that Olivia and Jason

Such as it was: The news comes after it was reported that Olivia and Jason are “getting along better now” since she split from Styles and are “co-breeders in a healthy way”; (pictured with Sydney Chandler in September)

Sorting things out: The House actress, who has been fighting ex Jason Sudeikis for custody of their two children and is still 'locked in a dogfight', threw a bubblegum pink sweatshirt over her shoulders as she walked to her walk.

Sorting things out: The House actress, who has been fighting ex Jason Sudeikis for custody of their two children and is still ‘locked in a dogfight’, threw a bubblegum pink sweatshirt over her shoulders as she walked to her walk.

They added: ‘Jason has been trying to support Olivia and be a good co-father during this transition. Things between Jason and Olivia are cordial and going well.

“Things between Olivia and Jason are manageable and she is doing her best to co-parent with him in a healthy way,” the source said. “She’s in no rush to date anyone again right now.”

The source also revealed that Olivia is “still pretty hurt” from her split from Harry last November, but that the singer “isn’t too far apart.”

Colorful: When she walked out of her exercise class, she was also carrying a water bottle and a yellow bag on her shoulder.

Colorful: When she walked out of her exercise class, she was also carrying a water bottle and a yellow bag on her shoulder.