Haloes of k-essence