Brain-wide electrical dynamics encode an appetitive socioemotional state