Matrix-weighted Besov–Triebel–Lizorkin spaces of optimal scale: Real-variable characterizations, invariance on integrable index, and Sobolev-type embedding | Synapse