Just fyi, adb authorization resets like every 7 days by default. So if you hope to use your home PC to fix this you should not wait to long
For the future maybe get Termux, make it boot with your system, give it root access and setup ssh in there
And also please, for the love of good never download random TWRP images and install them to your phone. Same goes for Magisk and pretty much anything you do with root/in fastboot/in your recovery. This could open up a HUGE vulnerability in your phone which will not be fixable for you unless you're willing to spend a lot of time
Looks like a Rabbeet