You can’t nest a script block inside a style block.
Where is your custom style code?
I see you haven’t tried this yet.