A 31-year-old man presents with sharp central chest pain that began after a recent viral upper respiratory illness.
The pain worsens with inspiration and lying flat but improves when he sits forward.
His temperature is 37.7°C, pulse is 96/min, and blood pressure is 124/76 mm Hg.
A scratchy triphasic sound is heard along the left sternal border.
The 12-lead ECG is shown below.

What is the most likely diagnosis?
The positional pleuritic pain and pericardial friction rub are characteristic of acute pericarditis. The ECG supports the diagnosis by showing widespread concave ST-segment elevation and PR-segment depression, with reciprocal PR elevation and ST depression in aVR. Territorial ST elevation with localized reciprocal changes would favour myocardial infarction.
