The hours are till midnight it would be courteous to leave by midnight. They do however open up super early so you can likely get what you need early in the morning, and get those sweet sweet Karma points. Good luck on getting what you need. Well wishes.
Yes they do close within 30 min if your in the store. But don't expect to get in after closing time.
From my experiences, I've seen them start their close earlier than midnight so that whomever is left in the store can check-out and make an exit by 12. Just what I've noticed over the years.
Thanks! Your answer is awaiting moderation.