Help with Custom Shader: Gradient Opacity Based on UV Input

Just checked and chat GPT actually gives good advice for it, and math that seems to be working.
One of those well described common problems, so it is not in “made up stuff” zone yet.
Just ask it for explaining and giving solution for problem.
I could copy past it here, but you get better quality when you ask it yourself, it can give additional hints.