:root{
  --felt-0:#07140f;--felt-1:#0d2118;--felt-2:#143426;--felt-3:#1d4c37;
  --wood-0:#2b160c;--wood-1:#5a3119;--wood-2:#8b552d;--wood-hi:#c58a4f;
  --ivory:#f7f0e0;--ivory-2:#d9c9ab;--ivory-edge:#b49a6f;--ink:#1a120c;--cream:#f8f1e4;--muted:#afc0b5;
  --gold:#d7b068;--gold-hi:#f1d18d;--danger:#d96b5d;--success:#91c9a5;
  --panel:rgba(7,18,14,.88);--line:rgba(235,218,176,.16);--shadow:0 24px 60px rgba(0,0,0,.45);
  --radius-xl:28px;--radius-lg:20px;--radius-md:14px;--radius-sm:10px;
  --font-ui:"Segoe UI",ui-sans-serif,system-ui,-apple-system,Roboto,Arial,sans-serif;
  --font-display:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
  --tile-radius:8px;
  --dur:1;
}
html[data-theme="midnight"]{--felt-0:#090d16;--felt-1:#101827;--felt-2:#18243a;--felt-3:#243553;--wood-0:#15131a;--wood-1:#292330;--wood-2:#55455f;--wood-hi:#9f85aa;--gold:#9fb4dd;--gold-hi:#d0ddf7;--muted:#aab5ca}
html[data-theme="mahogany"]{--felt-0:#180d0c;--felt-1:#2b1714;--felt-2:#44231d;--felt-3:#603126;--wood-0:#2a130b;--wood-1:#5f2d17;--wood-2:#98502c;--wood-hi:#d08d56;--gold:#d59557;--gold-hi:#f0bc80;--muted:#c4a99b}
html[data-contrast="high"]{--cream:#fff;--muted:#e7e7e7;--line:rgba(255,255,255,.45);--gold:#ffe27d;--gold-hi:#fff3b8;--ivory:#fff;--ivory-2:#f0e6d0}
@media (prefers-reduced-motion:reduce){:root{--dur:0}}
html[data-motion="reduce"]{--dur:0}
html[data-large-tiles="true"] .hand-tile{--w:50px;--h:94px}
html[data-large-tiles="true"] .drag-ghost{width:56px;height:104px}
