I'm having trouble hiding part of a path using a mask. When I apply the mask, the stroke width doesn't seem to work anymore. Any suggestions on why this is happening and how to fix it?
svg {
position: absolute;
width: 100%;
height: 100%;
}
<svg viewBox="600 200 400 400">
<defs>
<linearGradient id="g1">
<stop stop-color="#205ee2" offset="0%"></stop>
<stop stop-color="#749af8" offset="100%"></stop>
</linearGradient>
<mask id="m1">
<rect x="600" y="200" width="400" height="400" fill="white"></rect>
<circle fill="black" r="141" cy="406" cx="904"></circle>
</mask>
</defs>
<path d="M 610 406 C 757.25 406, 757.25 406.51, 904.5 406.5" fill="transparent" stroke-opacity="0.4" stroke-width="30" mask="url(#m1)" stroke="url(#g1)"></path>
</svg>
*if the mask is removed, the rendering works correctly.