04 improve the selection
Hit Refine Edge in the tool options. Increase Radius to improve the selection. Paint over messy areas along the edge with the Refine Radius tool. Set Output: Layer Mask. Next highlight the layer mask thumbnail in the Layers panel and hit Cmd/ctrl+i to invert it.