This is because the normal Matomo opt-out code is in an iFrame and therefore completly independent from your Website (and therfore also the CSS on your website).
You could use the font-size and font parameters to make it look a bit less out of place.
Once the non-iframe opt-out method (that places the text directly on your website) is added to the plugin, this should look fine.