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.
|Benzema seals Real Madrid stay until 2021|
|Smith defends captaincy ahead of landmark ODI|
|Perisic promised Inter can match Manchester United|
|The race is on - Aubameyang lays down Lewandowski challenge|
|Cristiano Ronaldo´s Real Madrid return confirmed|
|Bellew tells Haye ´I oblige you´|
|Mbappe can prove he´s ready for Madrid at PSG - Morientes|
|Five-year ban for Pakistan batsman Latif|
|PSG ´destroyed the market´ with Neymar and Mbappe - Elber|
|Bulldogs chairman says sacked Hasler will not be compensated|
|Coutinho withdrawal inspired Leicester to victory, claims Shakespeare|
|Windies opener Brathwaite cleared to bowl|
|Valverde hopes Suarez benefits from Eibar rest|
|Wilshere returning to his best form - Wenger|
|Yankees, Cardinals keep pace in postseason race|
|Klopp: Liverpool are still a good football team|
|Pochettino hails ´top player´ Alli|
|Messi from ´another planet´, says Semedo|
|James performance pleases Ancelotti|
|Gordon´s homer breaks MLB single-season home run record|
|Spieth feeling good ahead of Tour Championship|
|Thomas unsurprised by stunning season|
|Lakers confirm Bogut signing|
|Maestro Messi brings up 300 Camp Nou goals|
|Saints trade 2015 first-round pick Anthony to Dolphins|
|Messi is extraordinary – Valverde hails Barcelona star|
|Inter eyeing Champions League return - Eder|
|UCI reduces Grand Tour team sizes|
|Klopp ´sick´ of conceding as Liverpool tumble out of EFL Cup|
|Hodgson urges caution over Souare handling|
|Gasquet stunned by Istomin in Metz|
|Barcelona 6 Eibar 1: Majestic Messi leads romp with four goals for LaLiga leaders|
|Burnley 2 Leeds United 2 (aet, 3-5 pens): Lonergan the penalty hero as Championship leaders cause cu|
|Matic and Fellaini have never been this good – Mourinho tells Carrick, Herrera to be patient|
|I´m the first to trust young players - Conte defends Chelsea youth record|
|Inconsistent Windies disappoint Holder|
|Bairstow pleased to take ODI chance|
|Tottenham 1 Barnsley 0: Alli sees off stubborn Tykes|
|Bologna 1 Inter 1: Contentious Icardi spot-kick maintains Spalletti´s unbeaten run|
|Leicester City 2 Liverpool 0: Okazaki, Slimani dump Klopp´s men out of EFL Cup|
|Schalke 0 Bayern Munich 3: James scores on first Bundesliga start|
|Atletico benefiting from competition of fringe players - Simeone|
|England centurion Bairstow ends West Indies´ World Cup hopes|
|Manchester City have got two players for every position - Delph|
|Peng digs deep to avoid Guangzhou upset|
|Youzhny and Troicki battle through in St. Petersburg|
|Rossi close to Aragon return after completing 20 laps|
|Bayern could say they don´t need me – Lewandowski accepts football´s cut-throat nature|
|PGA Tour releases 2017-18 schedule|
|Wasps dealt blow as Cipriani ruled out for 12 weeks|
|Montella to keep on rotating as he plans for long season|
|Billionaire investor announces he is ´done´ funding Hamburg|
|Van Vleuten leads Dutch one-two in Bergen time trial|
|World Cup success Gibson´s top priority with South Africa|
|Philander sidelined for first Bangladesh Test|
|Wenger confirms Welbeck groin injury|
|Ljungberg sad to leave Wolfsburg|
|Ferdinand, McGregor and Curry - Sport´s most notable crossover stars|
|Will Bellew put pen to paper? - Haye claims terms for rematch agreed|
|Messi has his story, I have mine - Dybala plays down compatriot comparisons|
|Hazard to start against Nottingham Forest as Conte prepares to rotate|
|New Real Madrid contract ´already done´ for Zidane|
|´Fresh´ Froome ready for Bergen time-trial challenge|
|Chelsea won´t appeal David Luiz red card, Conte confirms|
|Cibulkova on form in Tokyo|
|Mbappe and Dembele lead Golden Boy nominees|
|Dembele tipped for early January return after successful surgery|
|I hope it´s the last time – Zidane relieved to welcome back Ronaldo|
|Szczesny to face Fiorentina as Allegri calls for Juventus consistency|
|Court will hear appeal to extend Pistorius sentence|