Отправить по sms: Macroscopic entanglement and phase transitions