Envato can allow inline CSS for background-image but reviewers comment is confusing me

I have faced a problem. I have converted a theme for ThemeForest market place. But my theme got soft reject and reviewer mentioned this issue

Scripts and styles should not be hardcoded anywhere in your theme or added any other way but with wp_enqueue_* hook and to be added from the functions file. This includes custom JS/CSS. For inline styles use: wp_add_inline_style() | Function | WordPress Developer Resources and for scripts wp_add_inline_script() | Function | WordPress Developer Resources"

After that, I have found some inline CSS on my theme which is used for background-image. Then I have solved inline CSS issue by using flollowing link functions wp_add_inline_style() , get_theme_mod() and set_theme_mod() .

But in the Envato help author page can allow inline CSS for background-image . Which is : <div id="header-background" style="background-image: url( <?php echo esc_url( '$header-background' ); ?> );"></div>

Described in the below link

Now my question is- “I have used inline CSS background-image (post-thumbnail) for blog post which are dynamic. If I follow Envato reviewer instruction then I can’t use inline CSS background-image for blog post but Envato help author page can permitted inline CSS for only background-image .”

What should I do now?

I don’t think that that comment referred to inline background image, as that is completely fine to do. He probably meant some other issue.