/* Light and dark for the plain pages (guides, privacy, terms, delete-account, tournaments), 19 Nov 2026.
   Each page keeps its own layout; this only sets the colours for the mode chosen in the head (src/mode.js). */
html[data-mode=dark]{color-scheme:dark;--bg:#0a1a1b;--room:#0a1a1b;--card:#0d2021;--panel:#0d2021;--ink:#e8decb;--muted:#b3b9ae;--gold:#d9b46c;--gold-deep:#b8913f;--line:rgba(217,180,108,.28);--sk-gold-1:#c4453a;--sk-gold-2:#a52f27;--sk-on-gold:#f6efdd}
html[data-mode=light]{color-scheme:light;--bg:#f1e8d4;--room:#f1e8d4;--card:#f8f1e1;--panel:#f8f1e1;--ink:#1f2623;--muted:#4a544e;--gold:#8a6420;--gold-deep:#9a7424;--line:rgba(31,38,35,.26);--sk-gold-1:#c4453a;--sk-gold-2:#a52f27;--sk-on-gold:#f6efdd}
html[data-mode=light] h1,html[data-mode=light] h2,html[data-mode=light] h3{color:var(--ink)}
html[data-mode=light] a{color:#8a2a22}
html[data-mode=dark] h1,html[data-mode=dark] h2{color:#f6efdd}

/* Tournaments in light mode (JP, 19 Nov 2026: dark-green cards with dark text were unreadable): paper buttons, a paper hero. */
html[data-mode=light] .hero{background:#fbf5e6;border-color:var(--gold-deep)}
html[data-mode=light] .btn,html[data-mode=light] button,html[data-mode=light] .time{background:#fbf5e6;color:var(--ink);border-color:var(--gold-deep)}
html[data-mode=light] .btn.gold,html[data-mode=light] button.gold,html[data-mode=light] .time.on,html[data-mode=light] .chip[aria-pressed=true]{background:linear-gradient(#f1d597,#cfa75a);color:#22190a;border-color:#9a7424}
html[data-mode=light] button.linkish{background:none;border:0;color:#8a2a22}
html[data-mode=light] .ok{color:#1d6b45}
html[data-mode=light] .time .s{color:var(--muted)}html[data-mode=light] .time.on .s{color:#3a2c10}
