big sur – macOS enable reduce transparency option except for dock?

My goal is to enable reduce transparency option except for Dock, which leads the gray line around the dock.

Or at least if reduce transparency option is enable I want to remove the gray outline line on the dock, where you can see on the After image.

OS: macOS Big Sur Version 11.4


Setup:

  • SystemPreferences => Accessibility under the Display tab and checkmark “Reduce Transparency”

    enter image description here

Before:

enter image description here

After, Here gray line around the dock is annoying and I want to remove it, if possible.

enter image description here

Related Question: https://stackoverflow.com/q/68012022/2402577