Computing the percentage into a CSS variable makes the tooltip follow the thumb exactly

50.0%Tooltip position from calc()