I can’t access your fiddle to double check (as on a mobile at the moment) but the code you posted above is not valid as you have removed the spaces between values.
Looks like its a bug in Firefox with background-clip where the background is spreading under the inset borders in Firefox only.
You probably don’t need to restate the box-shadow rules unless you are changing them from the original. Just change the color and background.
PS don’t forget to include the real property and not just the -webkit prefix or it may stop working one day or at least not follow the final spec as has happened with many prefixes :;
[off-topic] @j7f4f2a4fds2 when you post code in the forum, you need to format it. To do so you can either select all the code and click the </> button, or type 3 backticks ``` on a separate line both before and after the code block.