My site is being hosted via Ghost Pro, and I updated it to v4.0.
I’ve had an email this morning from Google search console about AMP issues being detected. These started from the upgrade to 4.0 and appear related to a style tag added to the document head.
Message from Google:
Only amp-boilerplate and amp-custom ‘style’ tags are allowed, and only in the document head.
The “offending code” according to Google is:
<style>:root {--ghost-accent-color: #15171A;}</style>