Just looked at Pennsylvania’s gov’t site.
From what I gleaned, 48.7% of registered voters are Democrat.
37.8% are Republicans.
13.4% are No Party Affiliation or Other Party.
So Trump really has to appeal across all lines to win. Carrying 100% of the Republicans (assuming a motivated turnout on both sides of course) is not enough.
PA has a GOP statehouse and two GOP senators.
Party ID doesn’t tell you everything.