The issue though is that Inhave selected Dark mode, and the text vanishes. Not sure why dark text in white posting area becomes invisible. It pears for a split second then goes.
I think the solution is to use a mid-tone (likely bright blue, as DPReview does) which shows up well on both dark and light backgrounds. Well, that's the simple way to do it.
Some of us have light sensitivity. I get ophthalmic migraines quite easily. Bright screen in a dark room is the worst, but second is a bright foreground on a dark background. I use dark mode on everything I can specifically to avoid white fields that cause me pain and illness. And, yes, white paper can do the same thing. Photography-related, people using direct flash on me can debilitate me. I remember being on a cruise ship and one of those horrible people that take your picture in hopes of selling you a print later fired a flash directly into my eyes with no warning (this was in the film days so probably ISO 100 film and a very bright flash), and it put me on the ground like I had been shot.
@LeeJay it has been mentioned before, but I'd like to repeat the tip: look into the browser extension called "dark reader". I think its (dynamic) dark mode looks better than the ones offered here at the moment and it works on sites that don't have a dark mode of their own.
Yes, scrolling seems fixed. I'm afraid it introduced a new bug though. 1:1 is no longer 1:1 but a fit-width. The width scales with the browser window size.
When using a small width screen (like a smartphone) you also see something peculiar: a second (1:1) image is behind the width scaling one in the front.
Instead of developing your own light-box and spending your free time fixing bugs reported by nit-pickers like me (only trying to help, really) why not use one of the many freely available code libraries? There are several options that are responsive, multi-browser and mobile friendly. (Spotlight, lightbox2, DimBox, lightGallery, Chocolat, etc.) Unless you like building your own as a hobby project, why spend time solving an already solved problem?
My guess is that you don't NEED to log out - but when the server comes back you will need to log in again as it's on a different box (in a different country).