Causes
When a cat stops eating, its body mobilises fat to the liver, which becomes overloaded. Any cause of anorexia (stress, another illness, a change of diet) can trigger it. Overweight cats are at greater risk.
Diagnosis
Blood work (raised liver enzymes and bilirubin) and ultrasound. A history of "hasn't eaten for days" is key.
Treatment
A NUTRITIONAL EMERGENCY: the cat must be got eating again as soon as possible, often via a feeding tube. Supportive treatment and treatment of the underlying cause. With intensive, early treatment the prognosis improves greatly.
Prevention
NEVER let a cat go more than 1-2 days without eating. Watch the appetite after any change or stressful event. Manage weight (avoid obesity).

