South Africa tightened their grip on the second Test against England thanks to a third day of steady accumulation at Trent Bridge.
Dean Elgar, Hashim Amla and returning captain Faf du Plessis all brought up half-centuries, with the home attack forced to toil for their wickets before the Proteas declared on 343-9.
Alastair Cook had a first-ball lbw dismissal by Morne Morkel overturned on review as England began an improbable attempt at what would be a world-record chase of 474 and, even though he and Keaton Jennings nervily reached one without loss at the close, Joe Root's side are likely to head to The Oval at 1-1 in the four-match series.
After breezing to a 211-run win in his first Test in charge at Lord's, Root has become more attuned to the harsh realities of captaincy in the longest format in Nottingham, with a paltry first-innings effort of 205 leaving England chasing the game.
Opener Elgar and Amla resumed on 75 for one and set about methodically building upon their overnight lead of 205 on a morning of ragged frustration for their opponents.
Elgar, not always the easiest batsman on the eye, passed 50 with a thick outside edge off James Anderson and another nick off Stuart Broad fell safely in the following over.
Broad and England then offered up an error they could ill afford – appealing half-heartedly and neglecting to use a review when replays showed Amla feathered a delivery behind to Jonny Bairstow when on 25.
In Broad's next set of six, new-ball partner Anderson dropped a tough one-handed chance at gully after Elgar slashed at a wide one, but England were rewarded for their persistence with two wickets in as many overs before lunch.
Ben Stokes – who bustled in impressively for his 2-34 – unsettled Elgar with some short stuff and the left-hander appeared to pull out of his stroke as he lobbed a catch to square leg to depart for 80.
Anderson (2-45) was the catcher and he then encouraged the dangerous Quinton de Kock to edge behind.
Amla remained at lunch, having brought up his fifty with a six off Liam Dawson, as he did in the first innings, although the Hampshire all-rounder had South Africa's number three dismissed leg before on review, 13 shy of a century.
Dawson's fellow spinner Moeen Ali was ignored by Root until mid-afternoon but helped himself to 4-78 as South Africa belatedly looked to hit out after reaching tea on 236 for four.
Du Plessis crunched three through the covers off Moeen to raise his bat but saw partner Temba Bavuma continue his struggles against spin by lofting the Worcestershire man to Root at mid-off.
Anderson, Broad and Mark Wood all summoned probing but unrewarding spells with the second new ball before Stokes pinned Du Plessis in front for 63 with one that kept low.
Gary Ballance and Stuart Broad held fine catches as Chris Morris and Keshav Maharaj tried to slog Moeen with the declaration in sight.
Vernon Philander had more success in that regard during a breezy 42 that ended with a caught and bowled for Moeen, although his more decisive work is probably still to come with ball in hand alongside Morkel, who bowled with palpable menace during a gripping end to the day.
|Croatia cut Messi off in Argentina thrashing - Modric|
|Pogba: Kante, Matuidi have 15 lungs|
|Julian Nagelsmann: the Bundesliga prodigy swapping Hoffenheim for RB Leipzig|
|England dominate in Durham to close in on series whitewash|
|´Fortunate´ Federer closes in on Halle title|
|Calamity Caballero and Sampaoli tinkerings leave Argentina a broken mess|
|Wimbledon champion Muguruza confident despite Birmingham defeat|
|Argentina 0 Croatia 3: Caballero drops clanger as Messi´s men are stunned|
|Funes Mori departs Everton to join Villarreal|
|Djokovic beats Dimitrov as Kyrgios lays down a marker|
|Relegated Verona appoint World Cup winner Grosso|
|Trotz named Islanders´ new coach|
|Matic and Serbia ready for ´hellish´ Switzerland clash|
|Fleetwood flounders as Gros takes Pulheim lead|
|No attacks on Neymar, pledges Costa Rica boss Ramirez|
|Giroud return brings structure to France, but again they disappoint|
|Brighton sign Sunderland goalkeeper Steele|
|Schmeichel and Eriksen blast ´exceptionally harsh´ VAR penalty|
|Nigeria´s young World Cup squad learning on the job - Rohr|
|Moody: England players need protection|
|France 1 Peru 0: Mbappe books last-16 spot with record goal|
|I don´t need anyone to hold my hand - Verstappen|
|Captaincy comes back around to Silva as 2014 pain fades|
|We don´t want to be losers - Petkovic|
|Alba not interested in Barcelona exit as Tottenham rumours swirl|
|BREAKING NEWS: Nagelsmann to take RB Leipzig role in 2019|
|Messi cannot be compared to Maradona, claims Argentina World Cup winner Kempes|
|Mbappe sets France record with maiden World Cup strike|
|Federer comes through tough Halle test|
|Nagelsmann to leave Hoffenheim amid RB Leipzig rumours|
|Gerrard brings former Liverpool team-mate Flanagan to Rangers|
|Cipriani to be ´the calmest guy in the room´ on England return|
|C´est magnifique! Lloris earns 100th France cap|
|Belgium v Tunisia: Hazard hoping for World Cup lift off|
|WATCH: Manchester United ditch piano to welcome Fred the red|
|Hamann springs to defence of Ozil|
|Alonso non-committal on future after Le Mans triumph|
|McInally returns to Scotland starting line-up|
|Giroud & Matuidi start as Deschamps drops Dembele for Peru|
|Torreira focused on Uruguay amid Arsenal links|
|NBA Mock Draft 2018: Deandre Ayton leads intriguing first round|
|Tite will not take away Neymar´s ´genius´|
|Australia show promise but calls for Cahill ignored amid lack of cutting edge|
|Manchester United means greatness - Fred aiming for titles following Old Trafford switch|
|Denmark 1 Australia 1: Jedinak strikes back after Eriksen rocket|
|Neymar not being put at risk by Brazil, says Tite|
|Juventus complete signing of free agent Emre Can|
|Fred completes Manchester United switch|
|Dembele will not join a Spurs rival|
|What were the 0.4 per cent doing? Iceland captain marvels at TV audience|
|Forsberg ready for ´next big step´ after RB Leipzig|
|´Retired´ Brits on bench as Springboks ring changes for final Test|
|Meninga: Key Kangaroos positions up for grabs in Origin|
|FIFA gets shirty over Ronaldo claims|
|Soyuncu keen on Arsenal switch|
|Atmosphere much better after criticism, says Hummels|
|FIFA issues statement after ´questionable´ Amrabat decision|
|Cipriani and Robshaw to start for England at Newlands|
|Team Sky hit back at Hinault´s ´irresponsible´ Froome comments|
|Iran fans are the real winners as women get glimpse of the future|
|Beckham predicts England-Argentina World Cup final|
|Napoli should sign Meret, Zenga claims|
|Meticulous Mouratoglou shaping stars of the future|
|Journalist hands Khedira boarding pass for early flight home|
|Germany v Sweden: Muller upbeat ahead of huge World Cup clash|
|South Korea v Mexico: Germany´s conquerors set for role reversal|
|Chandimal appeals against one-match ban|
|Fofana and Lamerat start, Parra skipper for final All Blacks Test|
|Asia and Africa being left behind - Queiroz|
|Emre Can arrives for Juventus medical|