Hi... Pineconing is, well, not a particularly good sign....
Do you notice condensation on the sides of the tank? If not, cover the top with plastic wrap. This will increase humidity, and help her breathe.
Do you have any Epsom salt? If so, here is a quote from Oldfishlady regarding Epsom salt treatment. She was replying to another person whose betta had a similar issue:
Originally Posted by Oldfishlady
I would get him in a small bare QT container and float it in a heated tank to maintain temp in the 76-78F range-Cover the QT with plastic veggie wrap to retain heat/humidity for the labyrinth organ and start an Epsom salt (Not aquarium salt) and tannin treatment.
Premix the treatment water in a 1gal jug of dechlorinated water-Add Epsom salt 3tsp/gal and a tannin source-Either IAL (1lrg crushed/gal) or naturally dried and fallen from the tree Oak leaf (20 crushed/gal) Let this steep for 30min-Shake well before use...
Using this premixed treatment water-make 25% water changes every 15min for 1 hour today.
He needs to stay in the covered QT-in the treatment water for the duration of the treatment period of 14 days.
Tomorrow-using the treatment water make 50% water changes every other day to complete the duration.