Keep the three scenes in order
"before", "after", then "night". The script puts its canvas just before the night scene, so the shader paints over the day scenes and the dark copy sits on top.
Keep the dark copy short
It sits inside the Moon. The script sets --tot-moon-size to the Moon's radius and the copy is capped at 1.7× that. A heading and a line is about the limit on a phone.
Move the planets with CSS
Each .tot_planet is an empty marker; the shader lights a point at its top left corner. Set top and left to move one, or delete a marker to drop its planet.
Leave room to scroll
The track is 600vh. Change --tot-length for a slower or faster pass; the legs keep their shares.