And yet Joshua's Long Day was/is still called a day, though it had far more than 24 hours in it — proof that "day" is defined the sun's apparent/relative position in the sky. Now, acknowledging that, how long is a day when there is no sun and no Earth?
Not "proof" of anything other than God has the power over time and things He appointed to measure time.
The first 3 days of Creation were defined by the time interval God established and caused the passing of that interval to be thereafter measureable by -- not driven by -- heavenly bodies as of day 4. The time interval is not caused by the "clock," merely charted by the clock.
And speaking of the clock, you will recall that on Joshua's Long day it was the sun that stood still (Joshua 10:12), not the Earth, hence God literally of His own choosing "stopped the clock" on behalf of Joshua, because He is the Lord of Time. One could reasonably say that what Joshua accomplished that day was done by God's willing it - outside of time. Did you ever consider that possibility?
That still does not make God's definition of "day" in Genesis as He defined it any different than how He defined it when He used the word day(s) in the 10 commandments. Same word (pl.).
FReegards!