Reading the footprints of the B-meson flavor anomalies