:root{--bg:#0F0A06;--surface:#2E1E12;--surface-alt:#180D07;--border:#5D3D21;--border-soft:rgba(93,61,33,0.6);--border-highlight:#D99F4D;--text:#EDE2D3;--text-dim:#B89879;--text-faint:#875518;--accent:#FFC938;--accent-glow:rgba(235,172,60,0.45);--darkSquare:#462816;--lightSquare:#9C683B;--pieceA:#D89E3A;--pieceAShadow:#FFEA9F;--pieceB:#241D18;--pieceBShadow:rgba(255,255,255,0.15);--path-dot-bg:var(--accent);--path-dot-border:transparent;--path-arrow-color:var(--accent);--path-arrow-bg:transparent;--path-arrow-border:transparent;--path-arrow-shadow:none;--path-from-bg:rgba(235,172,60,0.15)}[data-theme=ebony]{--bg:#0A0B0F;--surface:#141820;--surface-alt:#0E1018;--border:#2A3040;--border-soft:rgba(42,48,64,0.6);--border-highlight:#7EC8E3;--text:#F0F4F8;--text-dim:#8090A8;--text-faint:#50607A;--accent:#7EC8E3;--accent-glow:rgba(126,200,227,0.25);--darkSquare:#141820;--lightSquare:#3A4455;--pieceA:#DDD8D0;--pieceAShadow:#9A9490;--pieceB:#1C1A18;--pieceBShadow:#080706}[data-theme=ivory]{--bg:#FAF6F0;--surface:#EDE3D5;--surface-alt:#DFD2C2;--border:#B8A58E;--border-soft:rgba(184,165,142,0.6);--border-highlight:#6B3508;--text:#1A0E06;--text-dim:#4A2A14;--text-faint:#6B4528;--accent:#7A3D06;--accent-glow:rgba(122,61,6,0.35);--darkSquare:#B89C7D;--lightSquare:#ECE3D5;--pieceA:#F6ECD8;--pieceAShadow:#FFFFFF;--pieceB:#1C150E;--pieceBShadow:rgba(255,255,255,0.15);--path-dot-bg:#FFFFFF;--path-dot-border:#000000;--path-arrow-color:#FFFFFF;--path-arrow-bg:rgba(0,0,0,0.55);--path-arrow-border:#FFFFFF;--path-arrow-shadow:0 2px 6px rgba(0,0,0,0.6);--path-from-bg:rgba(255,255,255,0.22)}[data-theme=baobab]{--bg:#0C160C;--surface:#1A2E1A;--surface-alt:#112011;--border:#2A4A2A;--border-soft:rgba(42,74,42,0.6);--border-highlight:#D4AF37;--text:#E0F0E0;--text-dim:#90C090;--text-faint:#507050;--accent:#D4AF37;--accent-glow:rgba(212,175,55,0.25);--darkSquare:#1A2E1A;--lightSquare:#5B7A4E;--pieceA:#F0E8C8;--pieceAShadow:#C0A870;--pieceB:#16534D;--pieceBShadow:#081F1D}[data-theme=terracotta]{--bg:#1E0A04;--surface:#5C1F0A;--surface-alt:#3A1406;--border:#7A2E14;--border-soft:rgba(122,46,20,0.6);--border-highlight:#F0B84A;--text:#FFE8D0;--text-dim:#DDA070;--text-faint:#966040;--accent:#F0B84A;--accent-glow:rgba(240,184,74,0.25);--darkSquare:#5C1F0A;--lightSquare:#D4935A;--pieceA:#FFF8E8;--pieceAShadow:#C8A030;--pieceB:#6B2E08;--pieceBShadow:#3A1404}[data-theme=savanna]{--bg:#FFF8EE;--surface:#FCEBD2;--surface-alt:#F3DBBC;--border:#CFA77B;--border-soft:rgba(207,167,123,0.6);--border-highlight:#7A3200;--text:#1F0D00;--text-dim:#4A2200;--text-faint:#703A08;--accent:#8C3D00;--accent-glow:rgba(140,61,0,0.35);--darkSquare:#C27838;--lightSquare:#FCEFD8;--pieceA:#FFFDF8;--pieceAShadow:#D9B880;--pieceB:#421D06;--pieceBShadow:#240E02}[data-theme=coastal]{--bg:#06191A;--surface:#15393A;--surface-alt:#0A1F20;--border:#285B5D;--border-soft:rgba(40,91,93,0.6);--border-highlight:#5EE6D7;--text:#DAF2EE;--text-dim:#7AA7A1;--text-faint:#44706A;--accent:#46E3D2;--accent-glow:rgba(94,245,228,0.5);--darkSquare:#194F4F;--lightSquare:#52A89F;--pieceA:#5BE8D9;--pieceAShadow:#B1FFF7;--pieceB:#101C1C;--pieceBShadow:rgba(94,230,215,0.15)}[data-theme=kumasi]{--bg:#F9F6EE;--surface:#EAE1CB;--surface-alt:#DCCEB2;--border:#B09E7E;--border-soft:rgba(176,158,126,0.6);--border-highlight:#6B2C00;--text:#1A0D00;--text-dim:#452600;--text-faint:#6E4310;--accent:#7A3600;--accent-glow:rgba(122,54,0,0.35);--darkSquare:#8E5B23;--lightSquare:#F0E6CE;--pieceA:#FFFDF8;--pieceAShadow:#C8AC84;--pieceB:#3D220C;--pieceBShadow:#1F0F04;--path-dot-bg:#FFFFFF;--path-dot-border:#000000;--path-arrow-color:#FFFFFF;--path-arrow-bg:rgba(0,0,0,0.55);--path-arrow-border:#FFFFFF;--path-arrow-shadow:0 2px 6px rgba(0,0,0,0.6);--path-from-bg:rgba(255,255,255,0.22)}*,:after,:before{box-sizing:border-box;-webkit-tap-highlight-color:transparent}body,html{margin:0;padding:0;min-height:100%;background-color:var(--bg);color:var(--text);font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.5;overscroll-behavior:none}button{font-family:inherit;touch-action:manipulation}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--surface-alt);border-radius:4px}::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--border-highlight)}