Sikandar Raza led the way with a career-best innings as Zimbabwe produced a superb lower-middle-order recovery to forge a position of unexpected strength on day three of their sole Test with Sri Lanka in Colombo.
When the tourists slumped to 23-4 and 59-5 at the hands of Rangana Herath (4-85) after earning a slender first-innings lead of 10, the prospects of a Zimbabwe victory appeared slim.
However, Raza responded in style by striking 97 not out and received able support from Peter Moor (40) and Malcolm Waller (57 not out) as Graeme Cremer's side reached 252-6 at stumps to move 262 ahead.
Cremer had earlier completed a five-wicket haul as Sri Lanka, who had begun Sunday on 293-7, were limited to 346 all out.
The Zimbabwe skipper ousted Suranga Lakmal (14) and the injured Asela Gunaratne (45) to finish with 5-125, after Herath had been stumped off Sean Williams for 22 to end an eighth-wicket stand of 48.
Herath's variations then bemused Zimbabwe's top order, the veteran spinner striking in three successive overs to remove Regis Chakabva, Tarisai Musakanda and Hamilton Masakadza.
And Sri Lanka appeared in command when first-innings centurion Craig Ervine was caught at slip off Dilruwan Perera, leaving Zimbabwe four down at lunch with a lead of only 33.
Although Williams was bowled by a beauty from Herath, the afternoon session was otherwise profitable for Zimbabwe as Raza and Moor steadied the ship.
Moor pulled Lahiru Kumara to deep square-leg early in the evening, but Raza - utilising the sweep on a regular basis - continued to prosper and found another willing ally in the aggressive Waller, who brought up his half-century from just 54 balls.
By the close, Raza was on the brink of a maiden Test hundred and his partnership with Waller was worth 107.
|Russia will stop Salah - Cherchesov|
|Allen signs new four-year Stoke contract|
|England issue update over injured duo Stokes and Woakes|
|Mancini leaves door open for Buffon´s Italy return|
|Alli calls for England to be ruthless in World Cup opener|
|Tahir rested as Proteas call up uncapped duo|
|Uruguay v Saudi Arabia: Centurion Suarez seeks World Cup redemption|
|Portugal v Morocco: Hat-trick hero Ronaldo hunts stricken Atlas Lions|
|Argentina didn´t draw because of Messi´s missed penalty - Maradona|
|Wenger heaps praise on France star Kante|
|If VAR helps referees, I´m not against that – Australia´s Sainsbury|
|Kimmich questions Germany mentality after shock defeat|
|Roberts to leave Warrington Wolves|
|Australia talent Arzani ready to make the jump from A-League|
|Lewandowski: I can be at the top until I´m 35|
|All Blacks winger Savea confirms Toulon switch|
|Free Fall available for France after red card rescinded|
|South Korea can progress from wide-open group, says Park Ji-sung|
|Gordon called up by Wallabies to replace injured Genia|
|Germany can still win World Cup, insists Werner|
|Man United & Real Madrid talk not affecting Milinkovic-Savic|
|Out-of-contract Ruiz focused on Costa Rica|
|Southgate will not bombard England with last-minute instructions|
|Muller: Germany under extreme pressure|
|Rangers score four runs in ninth to pick up walk-off win over Rockies|
|U.S. Open champion Koepka happy to continue being ´overlooked´|
|Pogba: I´m the most criticised player in the world|
|Maradona: Sampaoli´s game plan against Iceland was a disgrace|
|De Gea will bounce back from error – Marchena|
|Slater named for Maroons return|
|Woods, Faldo, Harrington and Koepka – U.S. Open champion joins fine club after successful defence|
|Fleetwood positive despite falling short at U.S. Open|
|Jesus: I had no reason to play for a penalty|
|Hernandez admits to exaggerating fouls against Australia|
|Koepka says winning two U.S. Opens not even in his ´wildest dreams´|
|Hernandez: Griezmann an idol at Atletico|
|Sri Lanka take charge despite Gabriel exploits|
|U.S. Open final-round timeline: How clinical Koepka kept his crown|
|Koepka fights off challengers to successfully defend U.S. Open title|
|´Aching´ Neymar urges referees to intervene|
|BREAKING NEWS: Koepka holds on to defend U.S. Open title|
|Lozano goal causes artificial earthquake in Mexico|
|Djokovic: Mental battle will be Murray´s biggest|
|Hummels criticises Germany tactics in Mexico loss|
|Brazil the latest favourites to stumble, but Tite and Neymar won´t panic|
|Magnificent Fleetwood matches U.S. Open record with closing 63|
|Brazil 1 Switzerland 1: Zuber pegs back below-par Selecao|
|Warrington hold off Wakefield fightback, Tigers held despite Hitchcox heroics|
|Germany follow trend of poor starts for World Cup champions|
|Reed on the charge as U.S. Open race hots up|
|Milinkovic-Savic can play for any team in Europe, says Crespo|
|Southgate keen to unleash his bold new England|
|Konta fumes as Barty takes Nottingham title|
|Kante hails Pogba´s match-winning contribution|
|Germany struggle with generation gap|
|Neymar to make first competitive start since February in Brazil´s World Cup opener|
|Kane gunning for Ronaldo hat-trick heroics in England opener|
|Balotelli would fit in at Marseille - Raiola|
|Captain Ki happy to get tough on South Korea|
|Senegal call up Mbengue with Ciss ruled out|
|Mickelson celebrates at scene of Saturday meltdown|
|Germany 0 Mexico 1: Lozano stuns woeful reigning champions|
|Chandimal to face hearing after pleading not guilty to ball tampering|
|Griezmann ´must do more´, says Deschamps|
|Gasquet shows his class on grass to end Chardy´s chances|
|Courtois: Belgium outsiders not World Cup favourites|
|You can´t compare Ronaldo and Messi – Adrien Silva|
|Kiwis name seven uncapped players for England Test|
|Lorenzo tells critics: Remember MotoGP wins next time I struggle|
|Maaloul singles out ´future of English football´ Alli as main threat|