Answering your one thing first, because it is the right question.
After. And it never lands before: the line you lose is already in the DOM at the click and held at opacity 0 for the whole 3.4s write, then replaced on the same frame it would have become visible. I measured at +120ms, +1.6s and +3.2s, invisible every time. So the dropped line is never once readable during play. The only feedback at the click is the counter going up and a jump from line N to line N+2 when the writing ends.
By your own test that leaves the mechanic as decoration on a first pass, and only the ghost list undecorates it. The ghost list is the best thing in the build and the one place the cost actually lands. If you want it before the click, cheapest fix I can see: let the lost line sit visible for ~700ms, dimmed under the pen line, while the write starts. You watch it go instead of finding it gone.
Two more, then the link.
1. Keep as soon as a line lands, which is what the title invites, and you have spent all five by line 10 of 47. That leaves ~34 lines and 116 seconds where space does nothing. "five. that is your five." is the only thing holding a player in that stretch, and the strongest lines are all inside it ("I'm going somewhere with no hallway to check", "Sign here, he said. So I did."). If the passivity is the point, it needs a texture, not a sentence.
2. The end card has no settle. I was still pressing when "what you kept" appeared, and one press reset it to the title: five lines and the ghost list gone. You build a two minute pressing habit and then put the payoff behind the same key. A one second lockout or "press again" would protect it.
Played it cold first, checked the build after so the numbers are measured and not remembered. One player's path, not a bug hunt.
Link, as offered: https://shaneyshaney.itch.io/four-lights