Implement mean binary sigmoid focal loss from raw logits with alpha balancing, gamma modulation, and stable probabilities.