Liverpool edge past Brighton after thrilling five-goal second half