Bars are notable for staying open late, but I’m not really familiar with alternatives that might operate similarly. I think many cafés (at least around my area) tend to close a few hours earlier by comparison, which would be my go-to for an alternative otherwise, so what other options are there?
I hope you tipped well, lol. my tabletop RPG group may have been known to do this. the waitress kept us up on coffee, so yeah, we might have tipped for the time rather than the percentage of the bill. probably the only reason we never got kicked out.