Near-threshold qudit stabilizer codes with efficient encoding circuits for magic-state distillation | Synapse