Inflammation of the layers of the heart. It usually involves two of the following: pericardium, myocardium, or endocardium.