pub fn parse_atlas(text: &str) -> Result<Atlas>
Parse atlas JSON. Empty sheets, zero sizes, and frames outside the sheet are errors — a bad atlas must never reach the GPU as silent garbage.