Australia's batters face a two-day fight to ensure a draw in Gqeberha after Temba Bavuma's ultimate captain's knock crushed any hope of wrapping up an early series victory over South Africa.
Bavuma produced a brilliant 179 to take the hosts to 9(dec)-425 on day three, before Kagiso Rabada had Nic Maddinson caught at slip for a duck to leave Australia 1-3 in reply.
Maddinson's duck came in the toughest possible circumstances with fading light, but will again pile pressure on the opener if Australia bat a second time in this Test.