British number one Emma Raducanu missed out on a place in the Madrid Open quarter-finals after Ukraine's Anhelina Kalinina edged a tense match which could have swung either way.
Raducanu, aiming for three straight wins for the first time since her 2021 US Open triumph, lost 6-2 2-6 6-4.
Ninth seed Raducanu, 19, seemed to have issues with her back and needed treatment at the end of the first set.
She showed determination to fight back but Kalinina regrouped to seal victory.
Raducanu saved a match point as Kalinina tightened up with victory in her sight, but hit long to give the Ukrainian another chance and then volleyed wide.