Edge fluctuations and third-order phase transition in harmonically confined long-range systems. (1st March 2022)