Hiya, you could try a screen replacement but its likely not the issue. To me it seems its a botched repair someone has done to the phone. It may be worth contacting the store where you got the refurb device from to see if you can get a replacement or a refund on the phone and explain what you found.
[image|3661726]
From the image you sent it appears to be a couple areas of concern with where I have circled, I am unsure if this is normal for a pixel 7 device to look like this when you open the device. But to me it isn't normal. I hope this helps in some way.