The screenshot matches the screen
Most libraries read your stylesheets and lay the page out again from scratch. Dark mode, CSS variables, container queries, whatever your third-party widgets are doing — some of it survives the round trip and some of it does not. We read the computed style of every node instead. That is the browser telling us what it already decided, so there is nothing left to guess at.