Lewis Dunk went from hero to villain by scoring the goal that looked set to seal Brighton's Premier League survival before his red card let Wolves steal an improbable victory.
The Albion skipper's header gave the visitors the lead and they were 37 minutes from the three points that would have secured safety when he was dismissed for dragging back Fabio Silva.
That let Wolves back into the match. They deservedly equalised through Adama Traore and then sealed the win when homegrown midfielder Gibbs-White converted from close range in the final minute.
At full time, Brighton forward Neal Maupay lost his cool completely and was sent off after the final whistle as he continued to complain to opponents and officials as he was ushered away.