Hampshire failed to build on their opening day momentum as they handed the initiative to Glamorgan in their County Championship division two clash in Cardiff.
Ending day one in control on 274 for five, Giles White’s side were expected to add to the Welsh outfit’s frustrations with their wickets in hand.
But the visitors lost their last five wickets for only 67 runs – and with 10 minutes to go before lunch.
Eleventh-man James Tomlinson succumbed to Dean Cosker’s bowling for a duck to leave Danny Briggs as the last man standing on 26 not out and Hampshire skittled out for 341.
And in reply, Glamorgan made their guests pay, with Gareth Rees (84 not out) and Murray Goodwin (57 not out) leading the home side’s fightback and seizing the initiative as the Welsh side closed day two on 196 for three.
The day started with Michael Hogan (three for 48) making the breakthrough as early as the fourth over to have Liam Dawson (72) caught at slip by Jim Allenby, who then had Sohail Tanvir (four) caught behind.
Adam Wheater and Danny Briggs stopped the rot to add 47 for the eighth wicket, but Wheater (43) was soon caught at point off Cosker’s bowling.
David Balcombe (three) edged Mike Reed behind, before Cosker (three for 82) wrapped up the innings to have Tomlinson caught at slip by Allenby.
In bat, Glamorgan reached 114 for three by tea, with opener Rees reaching 50 from 110 balls with eight fours.
But he had to watch on as he lost three partners in the afternoon session.
Ben Wright (20) was caught behind chasing a wide one from Tomlinson.
And 24 for one became 35 for two when Stewart Walters (nought) went for a nine ball caught at slip by Sean Ervine off Tanvir.
Rees and Marcus North combined to put on 49 for the third wicket but North (18) was stumped by Wheater going down the pitch to the first ball of spin he had faced from Briggs.
From 84 for three, Rees and Goodwin took their stand to 100 just before the close. And in the last over of the day, Goodwin completed his half century from 115 balls with seven fours.