When I write I prefer to let the genre take a back seat to the story.
For a few different reasons. If you concentrate too much on genre you’ll find yourself constrained. And because of that, your story could suffer. Why not let the sky be the limit. Why not write whatever flows from your mind. You can always rein it back it later. At least you’ve let your imaginative mind search the grey edges of your boundaries.
I know this style of writing does not suit everyone. Many like to plan and know what will happen in the middle of the story and ending. That’s fine, but there’s still room for you to let yourself go and just see how your characters handle it. Life isn’t going to always follow the tracks. Sometimes it gets derailed, so your story should too.