If you are having jaundice like symptoms perhaps getting blood work done for liver, kidney, and thyroid function might be helpful.
Tightness in the calf can also be a sign of mineral deficiency
Dr Peat’s articles on fluid retention
Water: swelling, tension, pain, fatigue, aging
When energy fails: Edema, heart failure, hypertension, sarcopenia, etc.
If the end goal is to restore metabolism some weight gain is inevitable in the short term