/* Two themes. LIGHT is the default (white / teal / navy, like the Apna Ludo design). DARK is optional and only used after the player picks it. */
:root,html[data-theme="light"]{
  --accent:#f7b500;--accent-d:#d99200;--on-accent:#2a1800;
  --teal:#12a38a;--teal-d:#0d8a74;--navy:#1b2a5a;--maroon:#b0264f;
  --bg:#f6f7fb;--page:#eceef5;--card:#ffffff;--soft:#f1f3f8;--soft2:#e6e9f1;
  --ink:#1f2937;--head:#111827;--mute:#6b7280;--line:#e5e7eb;--input-bd:#d1d5db;
  --hdr:#ffffff;--hdr-ink:#1f2937;
  --shadow:0 6px 20px rgba(17,24,39,.10);--green:#12a38a;--red:#e0353a;
  color-scheme:light;
}
html[data-theme="dark"]{
  --accent:#ffc21a;--accent-d:#e09a00;--on-accent:#2a1800;
  --teal:#21c3a8;--teal-d:#12a38a;--navy:#9db1ff;--maroon:#ff7aa2;
  --bg:#0f1220;--page:#080a14;--card:#171b2e;--soft:#1d2238;--soft2:#262d4a;
  --ink:#eceeff;--head:#ffffff;--mute:#9aa0c8;--line:#2a3050;--input-bd:#3a4272;
  --hdr:#141830;--hdr-ink:#ffffff;
  --shadow:0 6px 20px rgba(0,0,10,.45);--green:#34d17a;--red:#ff5a6a;
  color-scheme:dark;
}
/* theme toggle button (used in the app and on static pages) */
.thm{display:inline-flex;align-items:center;gap:6px;border:1.5px solid var(--line);background:var(--card);color:var(--ink);border-radius:20px;padding:6px 10px;font:600 12px 'Poppins',system-ui,sans-serif;cursor:pointer;line-height:1}
.thm svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.thm .i-sun{display:none}
html[data-theme="dark"] .thm .i-sun{display:block}
html[data-theme="dark"] .thm .i-moon{display:none}
