Valley–layer locked waveguide states and large-area corner states in the bilayer gyromagnetic photonic crystal | Synapse