First thing I learned here is not to be sad about the food you ate. Your body took what it could and made the best of it, and so should you :-).
If you don't mind me suggesting stuff, you should really just stick with what your body tells you.
27g of sugar would never be enough for me. Ever.
I feel tired ALL day if I don't eat a sweet potato or so.
Even if you're trying to lose weight, I personally eat around 2500 calories, or until I'm full.
I lift heavy things 3 times a week, and run maybe once a week.
You should also practice letting your liver take over for a while doing IF. 14 hours should be enough. Then slowly start refeeding yourself.
Also, if you're running, don't be afraid of fruit, seriously. Eating 105g of carbs will not make you gain weight. It also depends on your leptin resistance.
Of course, if you don't want this comment to appear in your blog, I can remove it ^_^.