It's vinyl. I tried to use plastic weld on the rainrail, just ended up taping the whole thing with heavy-duty outdoor duck tape.

I did a quick water test along rainrail with the top up, didnt see any leak in the trunk or the carpet area below the glass window.

The rain we supposed to get this couple of days will be the real test.