/* theme.css — light/dark. Loaded by index.html AND every new page, AFTER the page's own CSS. */
:root[data-theme="dark"]{color-scheme:dark}
:root[data-theme="light"]{--bg:#f5f5f6;--bg2:#ebebed;--line:#d5d7db;--silver:#4b4e55;--mute:#6f7279;--white:#0c0c0d;color-scheme:light}
/* toggle button */
.tbtn{display:grid;place-items:center;width:36px;height:34px;flex:none;background:none;border:1px solid var(--line);color:var(--silver);cursor:pointer;transition:.25s}
.tbtn:hover{color:var(--white);border-color:var(--silver)}
.tbtn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html{transition:background-color .3s}
/* light-mode fixes for colours that were hard-coded for the dark design */
[data-theme="light"] nav{background:rgba(245,245,246,.88)}
[data-theme="light"] .hero{background:radial-gradient(ellipse at 90% 0,#e3e4e8 0,transparent 55%)}
[data-theme="light"] body::after{opacity:.035}
[data-theme="light"] #wave{filter:invert(1)}
[data-theme="light"] .btn.fill,[data-theme="light"] .btn:hover,[data-theme="light"] .chip:hover,
[data-theme="light"] .lang button[aria-pressed="true"],[data-theme="light"] .pcard .badge,
[data-theme="light"] .skip,[data-theme="light"] nav ul li.trk a:hover,[data-theme="light"] .fab a:hover{color:#fff}
[data-theme="light"] .btn.fill:hover{background:#2a2c31;border-color:#2a2c31}
[data-theme="light"] .band span{-webkit-text-stroke:1px #c3c6cc}
[data-theme="light"] .band i{color:#d5d7db}
[data-theme="light"] .pcard.feat{background:linear-gradient(180deg,rgba(0,0,0,.05),transparent)}
[data-theme="light"] .pnote li::before{color:#2f8a52}
[data-theme="light"] .pnote .no li::before{color:#c0504d}
[data-theme="light"] .status.ok{color:#2f8a52}
[data-theme="light"] .status.err{color:#c0504d}
[data-theme="light"] .doc{background:rgba(255,255,255,.7)}
[data-theme="light"] .fab a{background:rgba(245,245,246,.92)}
[data-theme="light"] .vinyl-big{opacity:.9}
[data-theme="light"] .trknote.act,[data-theme="light"] .trknote.act b{color:#8a6a1f}
[data-theme="light"] .phead{background:radial-gradient(ellipse at 90% 0,#e3e4e8 0,transparent 55%)}
