IMO, the smaller bicycles is the better bet. Your torso length, which matters in the choice top tube length will be the dictating factor.
Especially for technical riding.
Easy to put a longer stem and seat post to match your specific needs( stems can be found up to 140mm in production models)
Cranks are available to 175mm lengths in most models and 180mm in some.
Female specific frames( if you can find them in taller sizes) might be an option.,
It is common for women to carry their height in the legs with shorter torso's.
You are a good candidate for a professional bicycle fit.
Have a discussion with a fitter prior to purchase and you may/will get more accurate advice.
rusty
Last edited by 100bikes; 05-13-20 at 06:33 AM.