Living in the birthplace of the American Railroad, I've learned to slow WAY the hell down for tracks and cross them perpendicularly.
Recently someone replaced many of the crossing surfaces with these really nice plates that I've never seen anywhere else, so I won't be slipping at least, but there's still plenty of space for even a 35mm tire to fit inside.
I think even worse than the railroad tracks are the trolley tracks that some cities have, mostly because their purpose is to run parallel to the path of road traffic, creating all those diversion type accidents. Ironically, my town also had the first electric trolleys in the world, but those tracks and overhead lines have been gone for at least 50 years. If we had those, I don't think I'd go outside of the house.
So, really, slow WAY the hell down. and wear a helmet.