Text this: Atomic-scale regulation of anionic and cationic migration in alkali metal batteries