I've known both a male and a female Riley and I like the name for both

I know someone who went with a gender-neutral name. He would complain that people would misgender him cuz his voice is feminine. So that's something you'd definitely have to adjust to.
I've just started having some people call me by my new name. It's definitely different. I know I don't look or sound masculine enough to pull off a male name yet, and it always kinda bugs me. A name won't always feel comfortable right away, but who knows, maybe over time, it'll feel right.
It took me forever to decide on a name. I kept thinking about less common names, or just names that I thought were sexy, but none of them felt "right". Eventually, I figured going from "Nat" to "Matt" would be pretty easy for everyone to get used to. Since it's so close to my birth name, I've responded to it from the start.
It's definitely a relief when you finally find a name that feels good for you. But don't worry if it takes you a while to find the right name. It's an important decision to make.
Good luck!