/* Dark mode: blue text (links, tappable figures, ghost buttons, accent-coloured text) is lightened so it reads on the dark background.
   Only text colour changes; blue button backgrounds keep the theme accent. */
:root[data-theme="dark"]{--accent-text:#9cc2ff}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--accent-text:#9cc2ff}}
:root[data-theme="dark"] :is(.link,.pylink,a:not(.btn):not(.navout),.pofile,.ppview,.repn,td.ctn,.fifo,.opsel,.pcutbtn,.pdtog,.ctog,.ctb,.siblings button,.quick button,tr.dgrp b,.kcard .kc4,.actp .stepno,.ppbox .pph,.pp2box .pph,.ivgrand,.shinfo span.now,.btn.ghost,.seg button[aria-pressed=true],.items button[aria-pressed=true],[style*="color:var(--accent)"]),
:root[data-theme="dark"] details.more summary::after{color:var(--accent-text)!important}
@media (prefers-color-scheme:dark){
:root:not([data-theme="light"]) :is(.link,.pylink,a:not(.btn):not(.navout),.pofile,.ppview,.repn,td.ctn,.fifo,.opsel,.pcutbtn,.pdtog,.ctog,.ctb,.siblings button,.quick button,tr.dgrp b,.kcard .kc4,.actp .stepno,.ppbox .pph,.pp2box .pph,.ivgrand,.shinfo span.now,.btn.ghost,.seg button[aria-pressed=true],.items button[aria-pressed=true],[style*="color:var(--accent)"]),
:root:not([data-theme="light"]) details.more summary::after{color:var(--accent-text)!important}}
