/* Readable text on a dark page. The club website skin and its seasonal theme can turn the page background dark (for example Neon city night) while the
   text colours of our own pages stay dark. a11y-contrast.js adds gs-dark-page when the page behind the text is dark, and this puts the text back to light.
   Text inside a card (anything with a bg- class) is left alone, because the card keeps its own light surface. */
html.gs-dark-page main :is(h1,h2,h3,h4,h5,p,li,dt,dd,td,th,label,small,summary,.text-vibe-950,.text-vibe-900,.text-vibe-800,.text-gray-800,.text-gray-900):not(:is([class^="bg-"],[class*=" bg-"])):not(main :is([class^="bg-"],[class*=" bg-"]) *){color:var(--gs-dp-ink,#f8f5ff) !important}
html.gs-dark-page main :is(.text-vibe-700,.text-vibe-600,.text-vibe-500,.text-vibe-400,.text-gray-500,.text-gray-600,.text-gray-700):not(:is([class^="bg-"],[class*=" bg-"])):not(main :is([class^="bg-"],[class*=" bg-"]) *){color:var(--gs-dp-muted,#ddd5f0) !important}
html.gs-dark-page main a:not(:is([class^="bg-"],[class*=" bg-"])):not(main :is([class^="bg-"],[class*=" bg-"]) *):not([class*="border"]){color:var(--gs-dp-link,#ffd28a) !important}
/* Light cards keep dark text even when the section around them was switched to light text. */
html.gs-dark-page main :is(.bg-white,.bg-vibe-50,.bg-vibe-100,.bg-gray-50,.bg-gray-100){color:#1f1a2e}
