Roshen Silva steered Sri Lanka into a lead with a classy half-century after England looked destined to take a healthy advantage on day two of the second Test in Pallekele.
Sri Lanka were in trouble on 165-6 on Thursday but led by 46 at stumps after recovering to 336 all out.
Dimuth Karunaratne (63) and Dhananjaya de Silva (59) made half-centuries and Roshen top scored with a superb 85 after receiving support from the tail.
Jack Leach (3-70) and Adil Rashid (3-76) took three wickets apiece, while the tourists were also boosted by five penalty runs - taking their first-innings total up to 290 – awarded after Roshen was adjudged to have deliberately run short.
Sri Lanka added 84 runs for the last two wickets as they attempt to level the three-match series, with nightwatchman Leach successfully seeing off one over before the close.
Day 2, Stumps: Sri Lanka gain a first innings lead of 46 runs. SL 336 v ENG 290, 0/0 (1.0 Ovs) Roshen Silva 85, Dimuth Karunaratne 63, Dhananjaya de Silva 59 : Jack Leach 3/70, Adil Rashid 3/75. #SLvENG pic.twitter.com/0A63Zd7l9T— Sri Lanka Cricket (@OfficialSLC) November 15, 2018
Moeen Ali (2-85) struck in the third over of the day after Sri Lanka resumed on 26-1, Malinda Pushpakumara (4) giving Rory Burns a simple catch at midwicket.
Karunaratne played with great application for a deserved half-century and it took a moment of brilliance from Ben Stokes to run the opener out with a direct hit when the all-rounder only had one stump to aim at.
Sri Lanka were 139-4 at lunch after Stokes demonstrated his prowess in the field again with a brilliant instinctive one-handed catch at first slip when Leach drew an edge from Kusal Mendis (1).
Dhananjaya pulled Stokes for four to bring up his half-century and played with finesse before he was caught behind off Rashid, who generated huge turn to remove Angelo Mathews (20) in the same manner.
Roshen played with increasing authority in a tricky situation, but Sri Lanka were facing a big first-innings deficit when Niroshan Dickwella (26) was trapped leg before by Joe Root.
Dilruwan Perera became Leach's third victim just two balls after Roshen reached his fourth Test half-century at the start of the final session, but Akila Dananjaya offered support in a ninth-wicket stand of 56.
There was confusion when umpire Marais Erasmus deemed Roshen ran short on purpose at the non-striker's end before returning to other, as he and Dananjaya looked unsure if the ball touched the boundary ropes at third man.
He took that on the chin and dished out more punishment of his own, lofting Moeen for six before Rashid finally dismissed him to end the innings after Dananjaya fell for a brisk 31.
Leach played out an over from Dilruwan with confidence as Burns watched on at the other end, ensuring no further damage was done on a frustrating day for Root's side.
|NASA invites Curry to see moon rocks|
|No plan B for LaLiga Miami game after Barcelona withdrawal|
|Messi´s English haul, Neymar eyes hat-trick record - Champions League in Opta numbers|
|LeBron trumps Wade in last dance, Curry scores 38 points|
|Seahawks secure dominant win over Vikings|
|Iniesta visits Messi and former club Barcelona|
|Drake makes plea for ball thrown into stands after Miami miracle|
|´Toughest pretty boy I´ve ever met´ - Langer dismisses Paine concerns|
|Van Dijk says Liverpool can challenge for double ahead of Napoli decider|
|Hazard: I´ve always loved Real Madrid|
|Yankees interested in Machado, not Harper - Cashman|
|Warriors´ Curry believes moon landing was faked|
|76ers star Butler suffers strained groin|
|Brady: Patriots still have a lot of football to play|
|´No one died´ - Belichick´s message to Patriots after stunning loss|
|Silva lauds Digne after stunning free-kick|
|Aduriz joins Messi, Ramos in LaLiga history books|
|We have a plan - Ravens coach Harbaugh prepared for Flacco return|
|´It´s difficult to accept´ - Gracia calls for introduction of VAR|
|LaLiga press on with overseas match plan despite Barcelona withdrawal|
|PSG open Coupe de France defence at fifth-tier Pontivy|
|Hazard backs Sterling as Neville reveals England star´s Euro 2016 concerns|
|Everton 2 Watford 2: Digne salvages draw with 96th-minute free-kick|
|Barcelona could ´steal´ Kane, says Pochettino|
|Oakland Raiders fire general manager McKenzie|
|Struggling Villarreal appoint Garcia Plaza as Calleja successor|
|Warriors assign Cousins to G League team|
|Barcelona pull out of plan to play LaLiga game in Miami|
|Pochettino to keep an eye on Inter when Spurs face Barcelona|
|Pochettino confirms Walker-Peters set to start against Barcelona|
|Denver Nuggets add free agent Young|
|Topping Group A no magic wand for an easy knockout draw, says Simeone|
|The cake has been made, now we need the cherry - Ancelotti targets repeat at Anfield|
|Lloris braced to face ´one of the best in history´ in Messi|
|Tuchel expects Neymar to face Red Star|
|Foden signs Manchester City deal to 2024|
|It happened to me! - Valverde laughs off Dembele timekeeping|
|´Projecting´ an Argentina return? Messi met with AFA president and Scaloni|
|Erasmus expects to leave head coach role after World Cup|
|Chelsea issue suspensions pending investigation into Sterling incident|
|Kane is extraordinary – Valverde hails reported Barcelona target|
|Man behind Naomi Osaka´s rise wins WTA Coach of the Year|
|England name unchanged Test squad as Willey returns for West Indies ODIs|
|Spalletti: No issue with Icardi watching Superclasico in Madrid|
|Klopp confirms 2013 talks with ´chatty´ Napoli president De Laurentiis|
|Sri Lanka spinner Dananjaya suspended due to illegal action|
|His reaction was just brilliant – Klopp praises Sterling for response to abuse|
|Gomez renewal a ´smart decision´ for both parties – Klopp|
|Magnificent Molinari named European Golfer of the Year|
|Barcelona best option for Frenkie de Jong, insists midfielder´s father|
|Gronkowski on Miami Miracle: ´Got to make that tackle´|
|Tottenham youngster Walker-Peters signs on until 2023|
|Juventus ´more of a family´ than Real Madrid - Ronaldo|
|Kingsley Coman contemplates retirement if injury nightmare continues|
|McVay ´sick´ over offensive failings as Rams coach takes blame for loss|
|Calleja axed as Villarreal coach|
|Kenyan Drake on Miami Miracle: I couldn´t let Gronk tackle me!|
|Ronaldo: I deserved Ballon d´Or, the numbers don´t lie|
|Rugby Australia to make Cheika decision this month|
|England defender Gomez signs new Liverpool deal|
|Ronaldo wants to see Messi follow him to Italy|
|Neymar happy to play in any position for PSG - Draxler|
|Paine insists he is ´fine´ after taking blow to finger|
|Ponzio: River players will be ´idolised´ for Libertadores success|
|Champions League permutations: How Inter, PSG and Liverpool can progress|
|Kohli: India were better and deserved to win|
|Bears shut down Goff, Rams|
|India survive dramatic finish against Australia|
|Klopp calls for electric Anfield atmosphere against Napoli|
|Saints clinch back-to-back NFC South titles, Bears trump Rams|