You don't pay... This is a solved problem, wealth gain/loss would work the same way as capital gain/loss
You can use a net capital loss to reduce your taxable capital gain in any of the 3 preceding years or in any future year.
It feels like people that don't like this don't actually know how to whole system is supposed to work.
Well how bougie of you