:root[data-theme="dark"]{color-scheme:dark;--ink:#f0e6fa;--purple:#b992ed;--pink:#d1a8ed;--paper:#241b30;--line:#675079;--muted:#b7a5c7}
:root[data-theme="light"]{color-scheme:light}
#themeToggle{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;padding:0;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);font-size:18px;line-height:1;transition:background .25s,rotate .3s}
#themeToggle:hover{background:#a57acc22;rotate:15deg}
:root[data-theme="dark"] body{background-color:#15101e}
:root[data-theme="dark"] body:before{background:#100a1bce}
:root[data-theme="dark"] .site-shell{background:#191221f2;border-color:#594368;box-shadow:0 20px 80px #0006}
:root[data-theme="dark"] header{background:#201628f5;border-bottom-color:#5b426a88}
:root[data-theme="dark"] header nav{background:#2b1f35;border-color:#6f5480}
:root[data-theme="dark"] .small-button{background:#bc94e6;color:#21152f}
:root[data-theme="dark"] .hero{background-image:radial-gradient(#c39ae52a 1px,transparent 1px)}
:root[data-theme="dark"] h1{color:#f6eaff;text-shadow:2px 3px 0 #25132f,4px 6px 0 #79519d,5px 8px 0 #110b19}
:root[data-theme="dark"] .button{background:#9363bd;color:#fff;border-color:#c19adc;box-shadow:0 4px 0 #0d0713}
:root[data-theme="dark"] .button:hover{box-shadow:0 6px 0 #0d0713}
:root[data-theme="dark"] .button.secondary{background:#2b2037;color:#f0e6fa;border-color:#816095}
:root[data-theme="dark"] .status{background:#2b1c38;border-color:#b992ed}
:root[data-theme="dark"] .status i{background:#d0adfa;box-shadow:0 0 0 4px #64428255}
:root[data-theme="dark"] .star{color:#b38bda;-webkit-text-stroke-color:#ead5ff}
:root[data-theme="dark"] .hero-bottom{border-top-color:#65457888}
:root[data-theme="dark"] section:not(.hero){border-bottom-color:#65457866}
:root[data-theme="dark"] .art-window{background:#241b30;border-color:#7c5d8e;box-shadow:5px 10px 0 #0002}
:root[data-theme="dark"] .art-window figcaption,:root[data-theme="dark"] .window-title{background:#392649;color:#e6d3f4;border-bottom-color:#7c5d8e}
:root[data-theme="dark"] .gallery button{background:#31213f}
:root[data-theme="dark"] .filters .active,:root[data-theme="dark"] .currency .active{background:#c4a0e8;color:#21152d}
:root[data-theme="dark"] .adult-card{background:#2b1e3980;border-color:#79578f}
:root[data-theme="dark"] .about-photo{background:#30223d;border-color:#7b5e8e;box-shadow:6px 9px 0 #0003}
:root[data-theme="dark"] .chips span{border-color:#785b8c}
:root[data-theme="dark"] .matrix-row button{border-color:#755489}
:root[data-theme="dark"] .matrix-row button.active{background:#53356b;border-color:#cda4f5;box-shadow:inset 0 0 0 1px #cda4f5}
:root[data-theme="dark"] .receipt{background:#302638;border-color:#91749a;color:#f3e9f4}
:root[data-theme="dark"] .receipt-top{border-color:#806689;color:#c9b5ce}
:root[data-theme="dark"] .total{border-color:#806689}
:root[data-theme="dark"] details{border-color:#624773}
:root[data-theme="dark"] details p{color:#c4b1d1}
:root[data-theme="dark"] section.support{background:#2c1c3b88}
:root[data-theme="dark"] .socials a{border-color:#6e507f}
:root[data-theme="dark"] .socials a:hover{background:#392448}
:root[data-theme="dark"] .developer-credit{background:#251b30;border-color:#6d507f}
:root[data-theme="dark"] .credit-caption{background:#392647;color:#c9b2dc;border-bottom-color:#6d507f}
:root[data-theme="dark"] .credit-links a{background:#30203e;border-color:#79568e;color:#ecdef8}
:root[data-theme="dark"] .credit-links a:hover{background:#4b2e60;border-color:#bc94e6}
:root[data-theme="dark"] .back-to-top{background:#8656b0;border-color:#c29ce5;color:#fff;box-shadow:0 4px 0 #100919,0 8px 24px #0004}
:root[data-theme="dark"] .back-to-top:hover{background:#a16dcc}
:root[data-theme="dark"] dialog{background:#241b30;color:#f0e6fa}
:root[data-theme="dark"] .skip{background:#30203e}
:root[data-theme="dark"] .motion-on .chips span:hover{background:#503167}
@media(max-width:600px){#themeToggle{width:26px;height:26px;font-size:16px}}
@media(prefers-reduced-motion:reduce){#themeToggle{transition:none}}
