/* read.css - light "reading mode" for article pages (default). Dark mode = data-theme="dark" on <html>. */
html:not([data-theme="dark"]){--bg:#faf6ee;--card:#f1e8d8;--gold:#8a6408;--gold-d:#b88810;--cream:#2b1d12;--muted:#6b5a44;--green:#1f7a35}
html:not([data-theme="dark"]) body{background:#faf6ee}
html:not([data-theme="dark"]) th,html:not([data-theme="dark"]) td{border-bottom-color:#e2d5bf}
html:not([data-theme="dark"]) footer{border-top-color:#e2d5bf}
html:not([data-theme="dark"]) .card,html:not([data-theme="dark"]) details,html:not([data-theme="dark"]) .stat{border-color:#e2d5bf}
html:not([data-theme="dark"]) .note{background:#f1e8d8}
html:not([data-theme="dark"]) .neg{color:#b3261e!important}
.themebtn{position:fixed;right:14px;bottom:14px;z-index:50;font:600 14px 'Noto Sans Tamil','Noto Sans',sans-serif;
  padding:9px 14px;border-radius:22px;border:1px solid var(--gold-d);background:var(--card);color:var(--cream);cursor:pointer;
  box-shadow:0 2px 8px rgba(0,0,0,.25)}
/* index / scoreboard use their own variable names */
html:not([data-theme="dark"]){--surface:#f1e8d8;--raise:#e9dcc6;--line:#dccbb0;--pos:#1f7a35;--neg:#b3261e;color-scheme:light}
html:not([data-theme="dark"]) .big,html:not([data-theme="dark"]) .price{background:linear-gradient(160deg,#f3e9d6,#ece0c9)}
html:not([data-theme="dark"]) .btn{color:#faf6ee}
html:not([data-theme="dark"]) .btn.alt{color:var(--gold);background:transparent}
html:not([data-theme="dark"]) .tiles div{background:#f6efe2}
html:not([data-theme="dark"]) .ind p{color:#4a3a28}
html:not([data-theme="dark"]) .sub{color:#6b4e12}
