Figma Style

Aight, here’s the deal: I need to whip up a component in Figma that uses this orange underline style for some text, but I’m kinda stuck.

This treatment is already live on a site. I’ve attached the CSS that makes it work. Got any tips on how I can pull this off in Figma? Appreciate any advice!