Phase separation of superfluids in the chain of four-component ultracold atoms