Padres clinch top NL wild card, hurt D-backs’ standing