Spatially confined building of environmental-adaptive hydrogel electrolyte for supercapacitors