npub1qxy2yame6f8vuy3haqqndgkfaaamv2cnmt6p9h67ytqlwtz80n5slxuz7g (npub1qxy…uz7g) You are a facing complex situation where the nested grid configuration (combined with other stuff) will first evaluate the width of the tracks without the height:100% then later calculate the height:100% then update the element width considering aspect-ratio but we won't get back to recalculate the width of the track again to run into an infinite loop.
Those situation are always a headaches.