I would like to use HTML <ruby>to mark Japanese text with my pronunciation. However, I found that with large font sizes, the basic level of text <rt>far exceeds the top of the characters it marks. Here is an example that shows what I mean:
For reference, this is how it appears in my current browser (Firefox on Linux), although I have seen similar behavior in other browsers:

I would like to adjust the height of the ruby ββtext to be something more similar:

However, nothing I try seems to affect the positioning of the ruby ββtext. This is all I tried that didn't work:
vertical-align: -10pxpostion: relative and top: 10pxtransform: translateY(-10px)
Can I reposition this text?