How to adjust spacing between footnotes?

#set text(size: 10pt)
#set par(first-line-indent: 1em, justify: true, leading: 1em, spacing: 1em)

#show footnote.entry: set text(size: 30pt)
#show footnote.entry: it => {set par(leading: 0.5em, spacing: 0.5em); it}
#set footnote.entry(gap: 1em)

#let fn1 = footnote[
  #lorem(25)

  #lorem(25)
]

#let fn2 = footnote[
  #lorem(25)

  #lorem(25)
]

// --

#lorem(25)#fn1

#lorem(50)#fn2
Output

I’m trying to understand what is the proper way to adjust spacing between footnotes, so that, for example, they will be separated with a blank line.

For this, I added #set footnote.entry(gap: 1em). But it seems that the size of its “em” corresponds not to the 30-pt foootnote text but to the 10-pt body text. Is it really so? Is it a bug?

Yesterday I also asked on GitHub, and Laurenz answered (by combining his answer to me and to Andrew in August):

All footnote properties are resolved relative to the styles shared by the whole page run (run of pages with same properties). Because of the current limitations, there isn’t much we can reasonably change here.

https://github.com/typst/typst/issues/5265

So my current workaround is to specify the gap in points (or using a variable).

#set text(size: 10pt)
#set par(first-line-indent: 1em, justify: true, leading: 1em, spacing: 1em)

#show footnote.entry: set text(size: 50pt)
#show footnote.entry: it => {set par(leading: 1em, spacing: 1em); it}
#set footnote.entry(gap: 50pt) // It's not possible to use 1em, see
                               // https://github.com/typst/typst/issues/5265

// --

#let fn1 = footnote[
  #lorem(5)

  #lorem(5)
]

#let fn2 = footnote[
  #lorem(5)

  #lorem(5)
]

#lorem(25)#fn1

#lorem(50)#fn2

Probably I missed something and there is a better way to solve it. If so, let me know :)