The two Koreas marched behind their own flags and Russia looked forward to a quick end to its ban over mass doping as the curtain fell on the engrossing Pyeongchang Winter Olympics on Sunday.
At a colourful and cold closing ceremony, Ivanka Trump sat near a blacklisted North Korean general but unlike at the Games' opening, the North and South Korean athletes entered separately, waving their national flags.
Russia's flag was absent after the International Olympic Committee voted to extend its ban over doping -- but Russian officials said they expected to return to the fold within days.
US President Donald Trump's daughter Ivanka was just a few seats away from North Korea's Kim Yong Chol, who is accused of masterminding attacks on South Korea and is blacklisted by Seoul.
As the ceremony got underway, South Korea's presidential Blue House relayed that Chol's delegation had said North Korea was "very willing" to hold talks with America.
It was the latest conciliatory move by North Korea during the Games, where Kim Jong Un's sister attended the opening ceremony and the two Koreas formed their first joint Olympic team, in women's ice hockey.
After a successful drone display -- following an aborted attempt at the opening ceremony, where recorded images were broadcast instead -- International Olympic Committee president Thomas Bach handed out medals from the final day.
Topless Tongan cross-country skier Pita Taufatofua made a cameo appearance, greased in his trademark coconut oil, before Bach declared the Games -- one of the coldest on record -- closed.
"You have shown how sport brings people together in our fragile world; you have shown how sport builds bridges," Bach told the Korean athletes.
"The Olympic Winter Games Pyeongchang 2018 are the Games of new horizons," he added.
Winter Olympics legend Marit Bjoergen won the final gold of Pyeongchang in the women's 30km cross country on Sunday -- putting Norway top of the table over Germany, on overall medals won.
It was a fitting send-off for the Games and for Bjoergen, 37, who completes her Olympic career with a record-breaking 15 medals and was one of the stars of the 16 days of competition.
- 'Rossiya, Rossiya!' -
Other highlights included snowboard golds for America's Chloe Kim, 17, and Shaun White, and the men's and women's figure skating titles brilliantly won by Japan's Yuzuru Hanyu and 15-year-old Alina Zagitova of Russia.
Crossover Czech star Ester Ledecka broke new ground when she pulled off an astonishing double win in alpine skiing's downhill and snowboarding's parallel giant slalom.
French biathlete Martin Fourcade and Norwegian cross country skier Johannes Klaebo both won three gold medals, and Canadian figure skater Eric Radford became the first openly gay male Winter Olympics champion.
The joint Korean hockey team didn't win a game, but the symbolic gesture was warmly welcomed -- and vocally supported by the North's immaculately drilled female cheering squad.
Germany and Norway both finished on 14 golds, but the Norwegians took top spot with their record 39 medals overall to Germany's 31. Canada were third with 11 golds, while hosts South Korea were seventh.
Although they didn't get to wave their flag at the closing ceremony, it was a triumphant day for Russia after their men's hockey team beat Germany in the final -- and then defiantly sung their national anthem on the ice.
Russia sent 168 athletes to compete as neutrals after the country's national Olympic committee was banned for mass doping. However, two of the competitors failed drugs tests.
The International Olympic Committee voted on Sunday to keep Russia's suspension in place until the other 166 Russians are cleared of doping in Pyeongchang.
The Russian Olympic Committee said it expected the ban to be lifted "within the next few days". During the closing ceremony, chants of "Rossiya (Russia)" could be heard.
Attention now turns to Tokyo, host of the 2020 Summer Olympics, while the Winter Games also stays in Asia with Beijing holding the next edition in 2022.