:root{--font:"Lexend", "Lexend Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--bg:#161b24;--bg-elev:#1d2330;--surface:#232a39;--surface-2:#2b3345;--surface-hover:#323b50;--border:#343d52;--flag-edge:#ffffff38;--text:#e8ecf3;--text-2:#aab3c5;--text-3:#7a859b;--accent:#e8a33d;--accent-strong:#f2b555;--accent-ink:#231703;--accent-soft:#e8a33d24;--good:#5fbf7f;--good-soft:#5fbf7f29;--bad:#e5675c;--bad-soft:#e5675c29;--info:#6aa7e8;--c-brilliant:#22b8b0;--c-great:#5c8fd6;--c-best:#74b84a;--c-excellent:#8cbf5a;--c-good:#95ad79;--c-book:#a88865;--c-inaccuracy:#e6bb3a;--c-mistake:#e58a3a;--c-blunder:#d9483b;--c-miss:#d96a5c;--fog-base:#2a3140;--fog-cloud:#96a2ba38;--fog-edge:#080b128c;--fp-red:#e0524d;--fp-blue:#4b80e6;--fp-yellow:#ecc53b;--fp-green:#3dae5f;--fp-grey:#9aa1ab;--fp-dot-ink:#10141c;--fp-dot-edge:#00000059;--fp-tag-ink:#10141c;--fp-tag-halo:#ffffffe6;--fp-last:#e8a33d61;--fp-selected:#e8a33d99;--fp-check:#e5483cd9;--fp-hint:#141e2d59;--radius-s:6px;--radius:10px;--radius-l:16px;--shadow:0 6px 24px #00000059;--sidebar-w:212px;--topbar-h:0px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=light]{--brand-yo:#e08a00;--bg:#eef1f5;--bg-elev:#f6f8fb;--surface:#fff;--surface-2:#f1f4f8;--surface-hover:#e7ecf3;--border:#d9dfe8;--flag-edge:#0003;--text:#18202c;--text-2:#4a5568;--text-3:#7b8597;--accent:#d48b1f;--accent-strong:#c27c12;--accent-ink:#fff;--accent-soft:#d48b1f21;--shadow:0 6px 24px #141e321f;--fog-base:#59637a;--fog-cloud:#e1e7f147;--fog-edge:#141a2659;--fp-red:#d9433e;--fp-blue:#3a6fd8;--fp-yellow:#e6b923;--fp-green:#2f9d50;--fp-grey:#a3a9b2;--fp-dot-edge:#0000004d;--fp-last:#d48b1f59;--fp-selected:#d48b1f8c;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root,:root[data-board=porcelain]{--sq-light:#dfe5ec;--sq-dark:#7593b1;--sq-coord-light:#7593b1;--sq-coord-dark:#dfe5ec}:root[data-board=walnut]{--sq-light:#edd6b0;--sq-dark:#b58863;--sq-coord-light:#b58863;--sq-coord-dark:#edd6b0}:root[data-board=meadow]{--sq-light:#eeeed2;--sq-dark:#769656;--sq-coord-light:#769656;--sq-coord-dark:#eeeed2}:root[data-board=coral]{--sq-light:#f1dcd2;--sq-dark:#c47a6b;--sq-coord-light:#c47a6b;--sq-coord-dark:#f1dcd2}:root[data-board=midnight]{--sq-light:#9aa6b8;--sq-dark:#4a5468;--sq-coord-light:#4a5468;--sq-coord-dark:#9aa6b8}:root[data-board=mint]{--sq-light:#e3efe8;--sq-dark:#6fa58c;--sq-coord-light:#6fa58c;--sq-coord-dark:#e3efe8}:root[data-board=oak]{--sq-light:#e8c99b;--sq-dark:#a4713f;--sq-coord-light:#a4713f;--sq-coord-dark:#e8c99b;--sq-texture:repeating-linear-gradient(97deg, #5a320a0f 0 2px, transparent 2px 7px), repeating-linear-gradient(83deg, #ffffff0d 0 1px, transparent 1px 11px)}:root[data-board=marble]{--sq-light:#e9e7e1;--sq-dark:#8b8f96;--sq-coord-light:#6f737a;--sq-coord-dark:#e9e7e1;--sq-texture:radial-gradient(ellipse at 20% 30%, #ffffff40, transparent 40%), radial-gradient(ellipse at 70% 80%, #0000000f, transparent 45%), repeating-linear-gradient(130deg, #00000009 0 1px, transparent 1px 23px)}:root[data-board=ocean]{--sq-light:#d6e9f2;--sq-dark:#4f8db3;--sq-coord-light:#4f8db3;--sq-coord-dark:#d6e9f2}:root[data-board=sand]{--sq-light:#f3e7cf;--sq-dark:#c9a66b;--sq-coord-light:#a8864d;--sq-coord-dark:#f3e7cf}:root[data-board=amethyst]{--sq-light:#ece4f4;--sq-dark:#8a6fae;--sq-coord-light:#8a6fae;--sq-coord-dark:#ece4f4}:root[data-board=tournament]{--sq-light:#f4f4f0;--sq-dark:#4e8f5a;--sq-coord-light:#4e8f5a;--sq-coord-dark:#f4f4f0}:root[data-board=pixel]{--sq-light:#b4cbd6;--sq-dark:#52708c;--sq-coord-light:#34506a;--sq-coord-dark:#dbe8ee;--sq-texture:linear-gradient(90deg, #ffffff47 0 6.25%, transparent 6.25% 93.75%, #00000047 93.75%) 0 0 / 12.5% 12.5%, linear-gradient(180deg, #ffffff47 0 6.25%, transparent 6.25% 93.75%, #00000047 93.75%) 0 0 / 12.5% 12.5%, conic-gradient(#ffffff12 0 25%, transparent 0 50%, #00000012 0 75%, transparent 0) 0 0 / 3.125% 3.125%}:root[data-board=pixel] .board-squares,[data-board-preview=pixel] .board-squares{image-rendering:pixelated}:root{--avatar-ink:#fff;--avatar-1:#3b82c4;--avatar-2:#2f9e6e;--avatar-3:#c2563a;--avatar-4:#8a5cc2;--avatar-5:#c2447a;--avatar-6:#b07d14;--sticker-1:#ff6f91;--sticker-2:#ffc93c;--sticker-3:#5ab0f0;--sticker-4:#4cc38a;--sticker-5:#a685f0;--sticker-6:#ff9a5a;--sticker-edge:#fff;--sticker-shadow:#00000047;--sticker-slot:#7f7fa024;--cert-paper:#fffaf0;--cert-ink:#2b2240;--cert-ink-2:#6b6380;--cert-frame:#f0623d;--cert-frame-2:#ffc93c}:root[data-theme=light]{--sticker-slot:#78643c14}:root{--botav-ink:#1f2a3a;--botav-metal:#e4ebf3;--botav-metal-2:#93a7bd;--botav-glow:#7ef0ff;--botav-gold:#f2c230;--botav-white:#fffaf3;--botav-ring:#ffffff29}:root[data-theme=light]{--botav-ring:#281e3c1f}:root{--mascot-body:#f7e3c1;--mascot-mane:#8a5cc2;--mascot-crown:#ffc93c;--mascot-cheek:#ff9fb5;--mascot-ink:#2b2240;--mascot-eye:#fff;--mascot-stand:#5ab0f0;--mascot-shadow:#0000002e}:root[data-theme=light]{--mascot-shadow:#3c280024}:root{--coach-body:#f3f5fa;--coach-ink:#1b2333;--coach-mane:#e8a33d;--coach-band:#e5675c;--coach-cord:#1b2333;--coach-whistle:#c9d1de;--coach-base:#3f63a8;--coach-cheek:#f6a8a0;--coach-eye:#fff;--coach-spark:#ffd36b;--coach-shadow:#00000047;--coach-glow:#e8a33d38;--confetti-1:#ffd36b;--confetti-2:#ff7a45;--confetti-3:#5fbf7f;--confetti-4:#6aa7e8;--confetti-5:#e86ad1}:root[data-theme=light]{--coach-spark:#f2b200;--coach-shadow:#281e0029;--coach-glow:#d48b1f2e;--confetti-1:#f2b200;--confetti-2:#ef5a1f;--confetti-3:#23a35a;--confetti-4:#2a86c9;--confetti-5:#c23fb0}:root{--side-white:#f4f4f4;--side-black:#222;--sheet-paper:#fff;--sheet-ink:#000;--sheet-rule:#6b6b6b;--sheet-shade:#ececec;--pcb-paper:#fff;--pcb-ink:#000;--pcb-grey:#c9c9c9;--pcb-tab:#ededed;--pcb-light:#f0d9b5;--pcb-dark:#b58863;--hnk-panel:#14213d;--hnk-panel-2:#1d2f57;--hnk-ink:#eef3ff;--hnk-metal:#d9b54a;--hnk-metal-2:#a8862c;--hnk-wax:#6f8fd6;--hnk-wax-lit:#9fc0ff;--hnk-wax-locked:#3a4b72;--hnk-flame:#ffb02e;--hnk-flame-core:#fff4c2;--hnk-glow:#ffc44d73;--hnk-ring:#ffe08a}:root[data-theme=light]{--hnk-panel:#f4f1e8;--hnk-panel-2:#e9e3d2;--hnk-ink:#1d2a4a;--hnk-metal:#b8901f;--hnk-metal-2:#8a6a12;--hnk-wax:#3d64c2;--hnk-wax-lit:#5b85e8;--hnk-wax-locked:#b9c3db;--hnk-flame:#f59e0b;--hnk-flame-core:#fff1b8;--hnk-glow:#f59e0b59;--hnk-ring:#b8901f}:root{--slh-roof:#d6453d;--slh-wall:#f6e7c8;--slh-door:#7a4a2b;--slh-window:#ffd45c;--slh-gift:#2f9e6e;--slh-ribbon:#ffc93c;--slh-snow:#fff;--slh-snow-edge:#7fa6d1;--slh-ink:#2b2240;--slh-glow:#ffc93c99;--slh-card:#d6453d24}:root[data-theme=light]{--slh-card:#d6453d17}:root{--egh-grass:#5fb84a;--egh-grass-edge:#2f7a2a;--egh-egg-1:#f7a8c8;--egh-egg-2:#9fd3f5;--egh-egg-3:#ffe27a;--egh-stripe:#fff;--egh-bush:#2f7d3a;--egh-bush-edge:#1b4d22;--egh-berry:#e0457b;--egh-bunny:#fbe3ee;--egh-arrow:#f08bb4;--egh-ink:#3a2a3f;--egh-glow:#f7a8c8cc;--egh-square:#e8f3d8;--egh-card:#f08bb429;--egh-card-edge:#f08bb499}:root[data-theme=light]{--egh-card:#f08bb41f;--egh-card-edge:#e57aa6}:root{--wry-sky:#16224a;--wry-sky-2:#2a1638;--wry-ink:#f3f5fb;--wry-ink-2:#b9c2d8;--wry-gold:#f2c14e;--wry-glow:#f2c14e47;--wry-snow:#ffffff8c}:root[data-theme=light]{--wry-sky:#e6eefc;--wry-sky-2:#f6e9f4;--wry-ink:#1b2440;--wry-ink-2:#4a5677;--wry-gold:#a8730f;--wry-glow:#e8a33d40;--wry-snow:#7896c873}:root{--yld-sky:#141331;--yld-sky-2:#2a1f4d;--yld-ink:#f3ecff;--yld-ink-2:#c9bfe4;--yld-star:#fff3c4;--yld-moon:#f6e7b0;--yld-pom:#b3202f;--yld-pom-2:#7d1020;--yld-crown:#8a1626;--yld-seed:#ff4d6d;--yld-seed-empty:#ffffff24;--yld-melon:#e8364f;--yld-rind:#2f8a4a;--yld-rind-2:#b8e3b0;--yld-pip:#1b1b1b;--yld-wax:#f1e3c8;--yld-wax-off:#5b5378;--yld-flame:#ffb02e;--yld-flame-core:#fff4c2;--yld-glow:#ffb02e73}:root[data-theme=light]{--yld-sky:#ece6f7;--yld-sky-2:#d9cdef;--yld-ink:#241a40;--yld-ink-2:#4f4470;--yld-star:#b98a12;--yld-moon:#e2c25c;--yld-seed-empty:#3c1e5a1f;--yld-wax:#fffaf0;--yld-wax-off:#bdb3d6;--yld-glow:#f59e0b59}:root{--nye-sky:#121a3d;--nye-sky-2:#2a1748;--nye-ink:#f4f6fc;--nye-ink-2:#bcc5dc;--nye-gold:#f5c84c;--nye-live:#5fd38a;--nye-card:#f5c84c1f;--nye-fw-1:#ffd166;--nye-fw-2:#ef476f;--nye-fw-3:#06d6a0;--nye-fw-4:#7ab8ff}:root[data-theme=light]{--nye-sky:#1b2756;--nye-sky-2:#3b2366;--nye-card:#d48b1f1a;--nye-live:#1f8f4c}:root{--tk-sky:#121a3a;--tk-sky-2:#2a2160;--tk-ink:#f6f0ff;--tk-ink-2:#c7c0e6;--tk-star:#ffd76a;--tk-star-glow:#ffd76a59;--tk-gold:#e8b23a;--tk-gold-2:#a8740f;--tk-jewel-1:#e2364f;--tk-jewel-2:#2e9b5f;--tk-jewel-3:#3d7be0;--tk-dough:#d99a4e;--tk-dough-2:#a8642a;--tk-sugar:#fff6dc;--tk-fruit-red:#d7263d;--tk-fruit-green:#3f9d4a;--tk-sq-light:#e9dcc0;--tk-sq-dark:#9c7a54;--tk-found:#2fbf71;--tk-miss:#00000059;--tk-focus:#ffd76a}:root[data-theme=light]{--tk-sky:#fff3dc;--tk-sky-2:#ffe1b8;--tk-ink:#2a1c0c;--tk-ink-2:#6b5134;--tk-star:#c88a0a;--tk-star-glow:#e8a33d4d;--tk-gold:#d39a1c;--tk-gold-2:#8a5c06;--tk-sq-light:#f3e7cc;--tk-sq-dark:#b58b5e;--tk-found:#1f9a57;--tk-miss:#3c280a2e;--tk-focus:#8a5c06}:root{--nyg-sky:#0f1a3d;--nyg-sky-2:#2b1745;--nyg-ink:#f6f2ff;--nyg-ink-2:#c9c2e3;--nyg-spark:#ffe08a59;--nyg-gold:#f2c14e;--nyg-gold-2:#b8862a;--nyg-coin:#ffd54d;--nyg-coin-edge:#c8961e;--nyg-red:#d4202c;--nyg-red-2:#9b1520;--nyg-pochi:#fff6ea;--nyg-pochi-2:#f6e6d2;--nyg-pochi-edge:#e2c3a0;--nyg-plum:#f28bb0;--nyg-peach:#ff9ec2;--nyg-mai:#ffd23f;--nyg-blossom-core:#fff3c4;--nyg-branch:#6b3e26;--nyg-mizuhiki:#d4202c;--nyg-box:#3b74d9;--nyg-box-2:#2756ad}:root[data-theme=light]{--nyg-sky:#fff4e2;--nyg-sky-2:#fde3ea;--nyg-ink:#2a1d3d;--nyg-ink-2:#5a4b70;--nyg-spark:#c88c1e47;--nyg-gold:#a8730f;--nyg-gold-2:#c99a3a;--nyg-pochi-edge:#c9a27a}:root{--vlt-rose:#ff6f91;--vlt-rose-strong:#ff8fa8;--vlt-rose-soft:#ff6f9124;--vlt-rose-edge:#ff6f9173;--vlt-a:#ff6f91;--vlt-b:#b39af5;--vlt-chip-ink:#1d1020}:root[data-theme=light]{--vlt-rose:#d93a60;--vlt-rose-strong:#b81f45;--vlt-rose-soft:#d93a601a;--vlt-rose-edge:#d93a6066;--vlt-a:#d93a60;--vlt-b:#7451d1;--vlt-chip-ink:#fff}:root{--tet-sky:#4a0f14;--tet-sky-2:#7a1a1f;--tet-ink:#fff6e6;--tet-ink-2:#f0d6c0;--tet-glow:#ffd23f47;--tet-glow-2:#ff9ec23d;--tet-card:#00000038;--tet-gold:#ffd23f;--tet-gold-2:#c8961e;--tet-red:#e0313a;--tet-hill:#3f7d3a;--tet-branch:#3b2216;--tet-mai:#ffd23f;--tet-dao:#ff9ec2;--tet-core:#fff3c4;--tet-goat:#fbf3e4;--tet-goat-2:#d9c6a5;--tet-horn:#8a5a32;--tet-horn-2:#6b4226;--tet-eye:#2a1a10}:root[data-theme=light]{--tet-sky:#fff3e0;--tet-sky-2:#ffe0e6;--tet-ink:#3a1410;--tet-ink-2:#6e3b30;--tet-glow:#ffc82859;--tet-glow-2:#ff8cb44d;--tet-card:#ffffffb3;--tet-gold:#a06a00;--tet-gold-2:#d9a63a;--tet-red:#c8202a;--tet-hill:#7fbf6a;--tet-branch:#5a3420;--tet-mai:#f5b800;--tet-dao:#f27ba6;--tet-goat:#fff;--tet-goat-2:#cdb894}:root{--rmd-sky:#0f1f3a;--rmd-sky-2:#1d3557;--rmd-ink:#eef4ff;--rmd-ink-2:#b9c7e0;--rmd-star:#fff1c1;--rmd-moon:#f4d27a;--rmd-moon-dim:#f4d27a38;--rmd-gold:#e2b34a;--rmd-gold-2:#a97a1c;--rmd-glass:#ffd67840;--rmd-glow:#ffcf6b;--rmd-accent:#f0c560;--rmd-solved-bg:#f4d27a1f;--rmd-env:#1f7a5a;--rmd-env-2:#15553f}:root[data-theme=light]{--rmd-sky:#e6edf8;--rmd-sky-2:#cfdcef;--rmd-ink:#14213d;--rmd-ink-2:#44506b;--rmd-star:#b98a12;--rmd-moon:#d9a520;--rmd-moon-dim:#788caf4d;--rmd-glass:#d9a5202e;--rmd-glow:#f2b43a;--rmd-accent:#946b0c;--rmd-solved-bg:#d9a5201f;--rmd-env:#2e8b67;--rmd-env-2:#1f6b4f}:root{--qoc-violet:#b48cff;--qoc-violet-strong:#cbb0ff;--qoc-violet-soft:#b48cff24;--qoc-violet-edge:#b48cff73;--qoc-gold:#f2c94c;--qoc-av-ink:#1a1026;--qoc-av-0:#b48cff;--qoc-av-1:#f2c94c;--qoc-av-2:#ff9ec7;--qoc-av-3:#7fd1c7}:root[data-theme=light]{--qoc-violet:#6b3fc4;--qoc-violet-strong:#55279f;--qoc-violet-soft:#6b3fc41a;--qoc-violet-edge:#6b3fc466;--qoc-gold:#9a6c00;--qoc-av-ink:#fff;--qoc-av-0:#6b3fc4;--qoc-av-1:#9a6c00;--qoc-av-2:#b8336f;--qoc-av-3:#1f7a70}:root{--nrz-sky:#10302c;--nrz-sky-2:#1c4a3a;--nrz-ink:#effbf2;--nrz-ink-2:#bfdcc9;--nrz-accent:#8fdc8a;--nrz-gold:#e6c15a;--nrz-cloth:#e9dcc0;--nrz-cloth-2:#b5473a;--nrz-cloth-3:#2a8a7a;--nrz-slot:#ffffff59;--nrz-mirror:#bfe3ea;--nrz-mirror-frame:#c99a2e;--nrz-candle:#fff4dc;--nrz-flame:#ffb02e;--nrz-glow:#ffc45059;--nrz-sprout:#5fbf3f;--nrz-sprout-2:#3d8f2a;--nrz-ribbon:#d7263d;--nrz-dish:#3d8fb0;--nrz-samanu:#7a4a22;--nrz-bowl:#2a7f9e;--nrz-nut:#f1e2c0;--nrz-plate:#f7f2e6;--nrz-senjed:#c97a2c;--nrz-garlic:#fbf6ee;--nrz-garlic-line:#c9b9a0;--nrz-apple:#d7263d;--nrz-leaf:#3d9a3a;--nrz-stem:#6b4226;--nrz-sumac:#8e1f2f;--nrz-glass:#dcf0f58c;--nrz-vinegar:#c4762a;--nrz-cork:#a9773f;--nrz-solved-bg:#8fdc8a24}:root[data-theme=light]{--nrz-sky:#eaf7ee;--nrz-sky-2:#d4efe6;--nrz-ink:#123326;--nrz-ink-2:#3c5c4c;--nrz-accent:#2f7d32;--nrz-gold:#9a6f0a;--nrz-cloth:#fffaf0;--nrz-slot:#1233264d;--nrz-mirror:#d9eff3;--nrz-candle:#fffdf6;--nrz-glow:#f59e0b47;--nrz-garlic:#fff;--nrz-solved-bg:#2f7d321a}:root{--holi-sky:#2a1838;--holi-sky-2:#1c2140;--holi-ink:#fdf4ff;--holi-ink-2:#d9cbe6;--holi-accent:#ffc94d;--holi-border:#ffc94d73;--holi-card:#ffffff14;--holi-glow-1:#ff4fa359;--holi-glow-2:#ffc94d4d;--holi-glow-3:#3ec47840;--holi-moon:#fff3c4;--holi-pawn:#fbf7ff;--holi-pawn-edge:#4a3560;--holi-c1:#ff4fa3;--holi-c2:#ffd23f;--holi-c3:#3ec478;--holi-c4:#3d8bff;--holi-c5:#ff8a1f;--holi-c6:#a46bff;--holi-c7:#ff4d4d;--holi-c8:#19c6c0}:root[data-theme=light]{--holi-sky:#fff6fb;--holi-sky-2:#f3f7ff;--holi-ink:#2a1838;--holi-ink-2:#5a4868;--holi-accent:#b3307a;--holi-border:#b3307a59;--holi-card:#ffffffbf;--holi-glow-1:#ff4fa338;--holi-glow-2:#ffc40038;--holi-glow-3:#2eaa642e;--holi-moon:#ffe7a3;--holi-pawn:#fff;--holi-pawn-edge:#5a4868;--holi-c1:#e8338a;--holi-c2:#f2b600;--holi-c3:#24a85c;--holi-c4:#2a72e0;--holi-c5:#f07400;--holi-c6:#8a4fe8;--holi-c7:#e03434;--holi-c8:#0fa8a2}:root{--hl-last:#d6de1e99;--hl-last-edge:inset 0 0 0 .45cqw #808a0099;--hl-last-capture:#eb506e94;--hl-last-capture-edge:inset 0 0 0 .45cqw #aa143cb3;--hl-last-fill:#d6de1e99;--hl-last-capture-fill:#eb506e94;--hl-selected-fill:#f0d200bf;--hl-selected:#f0d200bf;--hl-selected-edge:inset 0 0 0 .6cqw #966900e6;--hl-selected-ring:#966900f2;--hl-check:radial-gradient(ellipse at center, #ff1e1ef2 0%, #e614148c 30%, #a9000000 75%);--hl-check-edge:none;--hl-dest:#0f19238c;--hl-dest-edge:0 0 0 .35cqw #ffffffb3;--hl-dest-capture:#0f19238c;--hl-dest-rim:#fff9;--hl-hover:inset 0 0 0 .6cqw #fffc;--hl-premove:#306ec873;--hl-premove-edge:inset 0 0 0 .45cqw #143c96d9;--hl-premove-fill:#306ec873;--mv-capture-ink:#ff8fa8;--mv-capture-bg:#eb506e2e;--mv-capture-mark:#eb506ed9;--arrow-green:#15781bcc;--arrow-red:#c8281ecc;--arrow-blue:#285ac8cc;--arrow-yellow:#e6a000d9;--arrow-accent:#e8a33de6}:root[data-theme=light]{--hl-premove:#1e5abe66;--hl-premove-edge:inset 0 0 0 .45cqw #0f328cd9;--hl-premove-fill:#1e5abe66;--mv-capture-ink:#b0103c;--mv-capture-bg:#eb506e21;--mv-capture-mark:#c81e46cc}:root[data-board=contrast]{--sq-light:#fff;--sq-dark:#3d5f8f;--sq-coord-light:#2f4f7c;--sq-coord-dark:#fff;--sq-texture:none}:root[data-cb]{--hl-last:#e69f004d;--hl-last-edge:inset 0 0 0 .5cqw #e69f00f2;--hl-selected:#0072b252;--hl-selected-edge:inset 0 0 0 .45cqw #fff, inset 0 0 0 1cqw #0072b2;--hl-check:repeating-linear-gradient(45deg, #d55e0099 0 .9cqw, #ffffff59 .9cqw 1.8cqw);--hl-check-edge:inset 0 0 0 .45cqw #fff, inset 0 0 0 1.1cqw #d55e00;--hl-dest:#00000080;--hl-dest-edge:0 0 0 .3cqw #ffffffd9;--hl-dest-capture:#0000008c;--hl-dest-rim:#ffffffbf;--hl-last-capture:repeating-linear-gradient(-45deg, #cc79a79e 0 .7cqw, #cc79a738 .7cqw 1.4cqw);--hl-last-capture-edge:inset 0 0 0 .45cqw #fff, inset 0 0 0 1cqw #a1457a;--hl-last-fill:#e69f0073;--hl-last-capture-fill:#cc79a78c;--hl-selected-fill:#0072b273;--hl-selected-ring:#0072b2;--arrow-green:#0072b2d9;--arrow-red:#d55e00d9;--arrow-blue:#cc79a7e6;--arrow-yellow:#f0e442e6;--premove-square:#56b4e980;--premove-cancel:#e69f0073;--hl-premove:repeating-linear-gradient(45deg, #56b4e999 0 .7cqw, #56b4e933 .7cqw 1.4cqw);--hl-premove-edge:inset 0 0 0 .45cqw #fff, inset 0 0 0 1cqw #3a8fc4;--hl-premove-fill:#56b4e980;--mv-capture-ink:#e7a3c9;--mv-capture-bg:#cc79a72e;--mv-capture-mark:#cc79a7;--good:#56b4e9;--good-soft:#56b4e929;--bad:#f0a030;--bad-soft:#f0a03029}:root[data-theme=light][data-cb]{--good:#0a5d96;--good-soft:#0a5d961f;--bad:#a94a00;--bad-soft:#a94a001f;--mv-capture-ink:#8a3466;--mv-capture-bg:#cc79a729;--mv-capture-mark:#a1457a}:root[data-hl-hivis]{--hl-last:transparent;--hl-last-edge:inset 0 0 0 1.1cqw #c4ce00, inset 0 0 0 1.45cqw #00000080;--hl-last-capture:transparent;--hl-last-capture-edge:inset 0 0 0 1.1cqw #e42858, inset 0 0 0 1.45cqw #00000080;--hl-selected:transparent;--hl-selected-edge:inset 0 0 0 1.35cqw #f5c800, inset 0 0 0 1.75cqw #0009;--hl-check:transparent;--hl-check-edge:inset 0 0 0 1.35cqw #eb1919, inset 0 0 0 1.75cqw #ffffffd9;--hl-premove:transparent;--hl-premove-edge:inset 0 0 0 1.1cqw #2869d7, inset 0 0 0 1.45cqw #ffffffbf;--hl-dest:transparent;--hl-dest-edge:inset 0 0 0 .75cqw #0f1923d9, 0 0 0 .3cqw #ffffffd9;--hl-dest-capture:#0f1923d9;--hl-dest-rim:#ffffffd9}:root[data-hl-hivis][data-cb]{--hl-last:transparent;--hl-last-edge:inset 0 0 0 1.1cqw #e69f00, inset 0 0 0 1.45cqw #0000008c;--hl-last-capture:transparent;--hl-last-capture-edge:inset 0 0 0 1.1cqw #cc79a7, inset 0 0 0 1.45cqw #fff;--hl-selected:transparent;--hl-selected-edge:inset 0 0 0 1.35cqw #0072b2, inset 0 0 0 1.75cqw #fff;--hl-check:transparent;--hl-check-edge:inset 0 0 0 1.35cqw #d55e00, inset 0 0 0 1.75cqw #fff;--hl-premove:transparent;--hl-premove-edge:inset 0 0 0 1.1cqw #56b4e9, inset 0 0 0 1.45cqw #0000008c;--hl-dest:transparent;--hl-dest-edge:inset 0 0 0 .75cqw #000000d9, 0 0 0 .3cqw #ffffffe6}:root[data-hl-last=off][data-hl-last]{--hl-last:transparent;--hl-last-edge:none;--hl-last-capture:transparent;--hl-last-capture-edge:none;--hl-last-fill:transparent;--hl-last-capture-fill:transparent}:root[data-hl-dests=off][data-hl-dests]{--hl-dest:transparent;--hl-dest-edge:none;--hl-dest-capture:transparent;--hl-dest-rim:transparent}:root[data-contrast=high][data-board]{--sq-light:#fff;--sq-dark:#3d5f8f;--sq-coord-light:#2f4f7c;--sq-coord-dark:#fff;--sq-texture:none}:root[data-contrast=high]:not([data-theme=light]){--text:#f4f6fa;--text-2:#c3cad8;--text-3:#a3adc0;--border:#6b7690}:root[data-theme=light][data-contrast=high]{--text:#0d131c;--text-2:#2c3545;--text-3:#3c4656;--border:#5d6779;--accent:#8a5200;--accent-strong:#6f4200}:root{--wf-candy-1:#c8323c;--wf-candy-2:#fff4ef;--wf-snow-1:#2c5d9e;--wf-snow-2:#e9f3ff;--wf-pine-1:#1f6b45;--wf-pine-2:#b9e4c8;--wf-gold-1:#b88a1b;--wf-gold-2:#fff2c2;--wf-lantern-1:#b5171e;--wf-lantern-2:#f7c548;--wf-starry-1:#1d2550;--wf-starry-2:#ffd86b;--wf-ribbon:#f4c430;--wf-ribbon-edge:#b8860b;--wf-tag:#fffaf0;--wf-tag-ink:#3a2a1a;--wf-panel:linear-gradient(160deg, #6ea0e629, #bed7ff0a);--wf-frost:#c8e1ff8c;--wf-ice:#7fc4ff;--wf-drift:#ffffffd9;--wf-marked:#f2c14e52;--wf-marked-edge:#f2c14e;--wf-line:#6ec88c59}:root[data-theme=light]{--wf-panel:linear-gradient(160deg, #5a8cdc1f, #dcebff59);--wf-frost:#5082c859;--wf-ice:#2a7fd0;--wf-marked:#e8a33d47;--wf-marked-edge:#b7791f;--wf-line:#28965040}:root{--sd-sky:linear-gradient(165deg, #78aff533, #c8e1ff0a);--sd-frost:linear-gradient(180deg, #a0cdff1a, #a0cdff05);--sd-chip:#96c3ff14;--sd-edge:#8cbefa73;--sd-done:#46be7829;--sd-done-edge:#4cc184}:root[data-theme=light]{--sd-sky:linear-gradient(165deg, #5a91e129, #e1eeff80);--sd-frost:linear-gradient(180deg, #6ea0e614, #fff0);--sd-chip:#4682d20f;--sd-edge:#3c78c866;--sd-done:#2896501f;--sd-done-edge:#1f8a4c}:root{--cb-light:#f3e6c4;--cb-light-ink:#2a2110;--cb-light-edge:#d9b862;--cb-light-soft:#f3e6c41f;--cb-dark:#2e3557;--cb-dark-ink:#e9ecff;--cb-dark-edge:#7f8cd8;--cb-dark-soft:#7f8cd829;--cb-field:linear-gradient(160deg, #3c8c502e, #1e5a320f)}:root[data-theme=light]{--cb-light:#fff6dc;--cb-light-ink:#4a3608;--cb-light-edge:#b58b1c;--cb-light-soft:#d6aa3c24;--cb-dark:#273058;--cb-dark-ink:#f2f4ff;--cb-dark-edge:#3a4796;--cb-dark-soft:#3a47961a;--cb-field:linear-gradient(160deg, #3c965024, #c8ebcd4d)}:root{--kgm-glow:#ffc93cbf;--kgm-glow-fill:#ffc93c59;--kgm-target:#4cc38a80;--kgm-wrong:#ff6f9173;--kgm-banner:linear-gradient(135deg, #a685f038, #5ab0f01f);--kgm-day:#ffffff0d;--kgm-day-done:#4cc38a33;--kgm-day-edge:#4cc38ab3}:root[data-theme=light]{--kgm-glow:#e6a000cc;--kgm-glow-fill:#ffc93c73;--kgm-target:#1f8a4c73;--kgm-wrong:#d6335c59;--kgm-banner:linear-gradient(135deg, #a685f02e, #5ab0f01f);--kgm-day:#00000008;--kgm-day-done:#1f8a4c24;--kgm-day-edge:#1f8a4c}:root{--kcw-area:#ffc93c9e;--kcw-move:#9bc70080;--kcw-target:#4cc38a99;--kcw-danger:#ff5a788c;--kcw-ring:#ff506ef2;--kcw-dot:#141e328c;--kcw-back:linear-gradient(150deg, #a685f04d, #5ab0f02e);--kcw-edge:#a685f0bf;--kcw-right:#4cc38a47;--kcw-right-edge:#4cc38a;--kcw-wrong:#ff6f9129}:root[data-theme=light]{--kcw-area:#ffbe1e99;--kcw-move:#9bc70073;--kcw-target:#1f8a4c73;--kcw-danger:#d6335c6b;--kcw-ring:#c81e46f2;--kcw-dot:#141e3273;--kcw-back:linear-gradient(150deg, #a685f033, #5ab0f01f);--kcw-edge:#785ad299;--kcw-right:#1f8a4c29;--kcw-right-edge:#1f8a4c;--kcw-wrong:#d6335c14}:root{--tk-sky:linear-gradient(160deg, #4caf7833, #e8a33d0f);--tk-edge:#60be8780;--tk-chip:#60be871f;--tk-day:#6fd39a;--tk-done:#46be7829;--tk-done-edge:#4cc184;--tk-ticket:#e8a33d1a;--tk-ticket-edge:#e8a33d8c;--tk-letter-paper:#fffdf7;--tk-letter-ink:#1d2330;--tk-print-ink:#000;--tk-print-paper:#fff;--tk-print-rule:#555}:root[data-theme=light]{--tk-sky:linear-gradient(160deg, #288c5524, #e8a33d14);--tk-edge:#1f8a4c73;--tk-chip:#1f8a4c14;--tk-day:#1f7a46;--tk-done:#2896501f;--tk-done-edge:#1f8a4c;--tk-ticket:#e8a33d1f;--tk-ticket-edge:#be78148c;--tk-letter-paper:#fff;--tk-letter-ink:#1d2330}:root{--pp-cover:linear-gradient(160deg, #1f4f74, #13324b);--pp-cover-ink:#f2cf74;--pp-cover-edge:#f2cf748c;--pp-page:#23283a;--pp-page-ink:#ece8f4;--pp-page-line:#f2cf7414;--pp-print-paper:#fff;--pp-print-ink:#1d2330;--pp-print-rule:#9aa3b5}:root[data-theme=light]{--pp-cover:linear-gradient(160deg, #1f4f74, #163c5a);--pp-cover-ink:#f2cf74;--pp-page:#fbf6e9;--pp-page-ink:#2b2240;--pp-page-line:#1f4f7414}:root{--oow-right:var(--good-soft);--oow-wrong:var(--bad-soft);--oow-print-ink:#000;--oow-print-paper:#fff;--oow-print-rule:#777;--oow-print-sq-light:#fff;--oow-print-sq-dark:#c9c9c9;--pcal-cell:#ffffff0a;--pcal-cell-edge:#ffffff1f;--pcal-solved:#46be7824;--pcal-newYear:#8fc8ff;--pcal-valentine:#ff7a9c;--pcal-spring:#6fd39a;--pcal-aprilFools:#f6a6d6;--pcal-flowers:#f39ac9;--pcal-summer:#ffc94d;--pcal-chessDay:#7fb2ff;--pcal-backToSchool:#f0b050;--pcal-autumn:#f08a4b;--pcal-halloween:#ff9a3c;--pcal-thanksgiving:#e0a050;--pcal-holidays:#ff6b6b;--pcal-print-ink:#000;--pcal-print-paper:#fff;--pcal-print-rule:#666}:root[data-theme=light]{--pcal-cell:#fff;--pcal-cell-edge:#141e3224;--pcal-solved:#2896501a;--pcal-newYear:#1f6fb8;--pcal-valentine:#c2185b;--pcal-spring:#1f7a46;--pcal-aprilFools:#a6377a;--pcal-flowers:#b03a7a;--pcal-summer:#a86b00;--pcal-chessDay:#2457b3;--pcal-backToSchool:#9a5a00;--pcal-autumn:#b4501a;--pcal-halloween:#c05600;--pcal-thanksgiving:#8f5a1a;--pcal-holidays:#c62828}:root{--cq-code-size:clamp(2.2rem, 5vw, 5.5rem);--cq-timer-size:clamp(3rem, 9vw, 7rem);--cq-host-text:clamp(1.05rem, 1.6vw, 1.6rem);--cq-code-bg:#10151f;--cq-code-ink:#ffd56a;--cq-edge:#ffffff24;--cq-chip:#ffffff0f;--cq-chip-on:#e8a33d38;--cq-good:#4fc77f;--cq-good-soft:#4fc77f2e;--cq-bad:#ef6f62;--cq-bad-soft:#ef6f6229;--cq-timer-low:#ff7a6b;--cq-gold:#f5c542;--cq-silver:#c9d2de;--cq-bronze:#d39258}:root[data-theme=light]{--cq-code-bg:#fff8e1;--cq-code-ink:#3b2a00;--cq-edge:#141e3229;--cq-chip:#141e320d;--cq-chip-on:#e8a33d47;--cq-good:#1d8a4a;--cq-good-soft:#1d8a4a24;--cq-bad:#c0392b;--cq-bad-soft:#c0392b1f;--cq-timer-low:#c62828;--cq-gold:#c99700;--cq-silver:#8a96a6;--cq-bronze:#a5632a}:root{--cps-k2:#7fd18b;--cps-g35:#7fb2ff;--cps-g68:#f0a35e;--cps-card:#ffffff0a;--cps-edge:#ffffff1f;--cps-solved:#46be7829;--cps-print-ink:#000;--cps-print-paper:#fff;--cps-print-rule:#666;--cps-side-white:#fff;--cps-side-black:#111}:root[data-theme=light]{--cps-k2:#1f7a3a;--cps-g35:#2457b3;--cps-g68:#a4520c;--cps-card:#fff;--cps-edge:#141e3224;--cps-solved:#2896501a}:root{--fam-kid:#ffb547;--fam-kid-soft:#ffb54729;--fam-grown:#4fd1c5;--fam-grown-soft:#4fd1c529;--fam-chip-ink:#14181f}:root[data-theme=light]{--fam-kid:#b86200;--fam-kid-soft:#e68c141f;--fam-grown:#0b7a70;--fam-grown-soft:#0b7a701a;--fam-chip-ink:#fff}:root{--kst-cover:linear-gradient(150deg, #ffbe5a2e, #a685f024);--kst-paper:linear-gradient(170deg, #ffecc81a, #ffffff08);--kst-edge:#ffbe5a8c;--kst-chip:#ffffff14;--kst-done:#4cc38a47;--kst-done-edge:#4cc38a;--kst-dot:#ffffff38;--kst-dot-on:#ffbe5a;--kst-glow:#ffc93ccc;--kst-glow-fill:#ffc93c61;--kst-wrong:#ff6f9173;--kst-stamp-empty:#ffffff47;--kst-stamp-ink:#ff8fa8;--kst-stamp-bg:#ff8fa824}:root[data-theme=light]{--kst-cover:linear-gradient(150deg, #ffbe5a33, #a685f01f);--kst-paper:linear-gradient(170deg, #fff8ea, #fffdf8);--kst-edge:#d68c1e80;--kst-chip:#0000000d;--kst-done:#1f8a4c29;--kst-done-edge:#1f8a4c;--kst-dot:#00000029;--kst-dot-on:#d68c1e;--kst-glow:#e6a000d9;--kst-glow-fill:#ffc93c73;--kst-wrong:#d6335c59;--kst-stamp-empty:#00000047;--kst-stamp-ink:#c2334f;--kst-stamp-bg:#c2334f14}:root{--ksc-sheet-shadow:0 2px 10px #0000008c;--ksc-sheet-edge:#ffbe5a73}:root[data-theme=light]{--ksc-sheet-shadow:0 1px 6px #00000038;--ksc-sheet-edge:#d68c1e59}:root{--live:#e5484d;--live-ink:#fff;--side-white:#f4f4f4;--side-black:#1b1b1b}:root[data-theme=light]{--live:#d4282e;--live-ink:#fff}:root{--xq-board:#c9a467;--xq-board-2:#b88f50;--xq-line:#4a3118;--xq-river-ink:#4a3118bf;--xq-disc:#f4e6c8;--xq-disc-hi:#fff8e8;--xq-disc-edge:#8b6a3e;--xq-disc-shadow:#00000073;--xq-red:#b3261e;--xq-black:#1b1b1b;--xq-label:var(--text-3);--xq-last:#2e78dc8c;--xq-selected:#2e78dcd9;--xq-hint:#205a28b8;--xq-goal:#e8a33de6;--xq-check:#e5281ed9;--xq-back:#5c4128;--xq-back-hi:#7a5a3a;--xq-back-edge:#2e1f10}:root[data-theme=light]{--xq-back:#6b4b2c;--xq-back-hi:#8f6a44;--xq-back-edge:#3a2713;--xq-board:#e2c48d;--xq-board-2:#d3b073;--xq-line:#5b3c1c;--xq-river-ink:#5b3c1cb3;--xq-disc:#fbf1da;--xq-disc-hi:#fffaf0;--xq-disc-edge:#9a7646;--xq-disc-shadow:#3c280a59;--xq-label:var(--text-2)}:root{--jg-board:#d2ac6c;--jg-board-2:#c19756;--jg-line:#3f2a14;--jg-face:#f1e3c4;--jg-edge:#7d5a2c;--jg-shadow:#00000073;--jg-han:#c0281f;--jg-cho:#0f6b5c;--mk-board:#b98b55;--mk-board-2:#a77a45;--mk-line:#2b1a0abf;--mk-white:#f6eedd;--mk-white-edge:#6b5432;--mk-black:#2a2420;--mk-black-edge:#0d0b09;--mk-black-hi:#5a504a;--mk-shadow:#00000073}:root[data-theme=light]{--jg-board:#e8c890;--jg-board-2:#dcb676;--jg-line:#4d3418;--jg-face:#fbf2dc;--jg-edge:#8f6a38;--jg-shadow:#3c280a59;--jg-han:#c8231a;--jg-cho:#0b6e5e;--mk-board:#d9b27a;--mk-board-2:#cba067;--mk-line:#3c260eb3;--mk-shadow:#3c280a59}:root{--sh-board:#d0a95e;--sh-board-2:#bf9447;--sh-line:#3f2a12;--sh-label:var(--text-3);--sh-tile:#f1d9a4;--sh-tile-edge:#8a6732;--sh-ink:#1b140c;--sh-red:#b3261e;--sh-mark:#5a4326;--sh-shadow:#00000073;--sh-stand:#3a2d1d;--sh-last:#2e78dc61;--sh-last-soft:#2e78dc33;--sh-selected:#2e78dc80;--sh-hint:#205a28b8;--sh-goal:#ffc43df2;--sh-check:#e5281ed9}:root[data-theme=light]{--sh-board:#e6c27a;--sh-board-2:#d9b066;--sh-line:#4a3216;--sh-label:var(--text-2);--sh-tile:#f8e6bb;--sh-tile-edge:#9c7841;--sh-shadow:#3c280a59;--sh-stand:#ead7b0;--sh-goal:#d67800f2}:root{--x12-panel:linear-gradient(150deg, #3c966429, #c8323c14);--x12-edge:#3fa56b;--x12-dot:#ffffff24;--x12-dot-done:#e0464f;--x12-dot-today:#f2c14e}:root[data-theme=light]{--x12-panel:linear-gradient(150deg, #1f6b451a, #c8323c0f);--x12-edge:#1f6b45;--x12-dot:#14281e1f;--x12-dot-done:#c8323c;--x12-dot-today:#b88a1b}:root{--dg-flame:#ff8a3d;--dg-flame-soft:#ff8a3d29;--dg-ring:#ffb347;--dg-ring-done:#5fd38a;--dg-track:#ffffff1f;--dg-met:#e9772e;--dg-frozen:#63b6f0;--dg-frozen-soft:#63b6f02e;--dg-missed:#ffffff12;--dg-double:#c28bff;--dg-double-soft:#c28bff29;--tempo-a:#6c7cf5;--tempo-b:#29c1b4;--tempo-face:#10162b;--tempo-eye:#f4f7ff}:root[data-theme=light]{--dg-flame:#e0631a;--dg-flame-soft:#e0631a1f;--dg-ring:#e88a14;--dg-ring-done:#23a35a;--dg-track:#141e321f;--dg-met:#e0631a;--dg-frozen:#2a86c9;--dg-frozen-soft:#2a86c924;--dg-missed:#141e3212;--dg-double:#7a3fd1;--dg-double-soft:#7a3fd11a;--tempo-a:#4f5fe0;--tempo-b:#13a093;--tempo-face:#1b2240;--tempo-eye:#fff}:root{--card-gold-bg:#1b1508;--card-gold-panel:#2a2110;--card-gold-frame:#d4a72c;--card-gold-frame2:#f6e08a;--card-gold-accent:#f2c94c;--card-gold-text:#fff8e6;--card-gold-muted:#cdbb8e;--card-gold-good:#f6d365;--card-winter-bg:#0f2236;--card-winter-panel:#16314d;--card-winter-frame:#9fd3ff;--card-winter-frame2:#e8f6ff;--card-winter-accent:#bfe6ff;--card-winter-text:#f4fbff;--card-winter-muted:#a9c6de;--card-winter-good:#8ee3ff;--card-neon-bg:#0b0a16;--card-neon-panel:#151330;--card-neon-frame:#ff3cac;--card-neon-frame2:#2bd9fe;--card-neon-accent:#2bd9fe;--card-neon-text:#f6f3ff;--card-neon-muted:#a9a3d6;--card-neon-good:#7dff9b;--card-wood-bg:#3a2414;--card-wood-panel:#4a2f1b;--card-wood-frame:#8b5a2b;--card-wood-frame2:#d9a066;--card-wood-accent:#f0c27b;--card-wood-text:#fff4e3;--card-wood-muted:#d8bf9c;--card-wood-good:#b8e07a;--ps-you:#e8a33d29;--ps-win:#5fbf7f;--ps-lose:#e5675c;--ps-assigned:#63b6f029;--ps-assigned-edge:#63b6f0}:root[data-theme=light]{--ps-you:#d48b1f24;--ps-win:#1d8a4a;--ps-lose:#c0392b;--ps-assigned:#2a86c91a;--ps-assigned-edge:#2a86c9}:root{--cert-gold:#a8741a;--cert-muted:#555;--cert-shadow:0 2px 14px #0009}:root[data-theme=light]{--cert-gold:#a8741a;--cert-muted:#555;--cert-shadow:0 1px 8px #0003}:root{--crown-gold:#f2c14e;--crown-empty:#4a5468;--crown-soft:#f2c14e24;--crown-low:#e5675c}:root[data-theme=light]{--crown-gold:#b98410;--crown-empty:#c3cad6;--crown-soft:#b984101f;--crown-low:#c0392b}:root[data-board=peach],[data-board-preview=peach]{--sq-light:#fbe6c2;--sq-dark:#c0392b;--sq-coord-light:#c0392b;--sq-coord-dark:#fbe6c2;--sq-texture:radial-gradient(circle at 25% 25%, #ffc2d4 0 3%, #e86f8f 3.4% 5%, transparent 5.5%) 0 0 / 25% 25%, radial-gradient(circle at 75% 70%, #ffd84d 0 2.6%, #f0a500 3% 4.4%, transparent 5%) 0 0 / 25% 25%, linear-gradient(135deg, #ffd7782e, transparent 40%)}:root[data-board=peach] .piece[data-piece$=K]:after{content:"";pointer-events:none;background:radial-gradient(circle,#ffd84d 0 22%,#ff8fb1 24% 60%,#0000 62%);border-radius:50%;width:26%;height:26%;position:absolute;top:4%;right:6%}:root[data-board=lantern],[data-board-preview=lantern]{--sq-light:#f3d9a4;--sq-dark:#2c3a6b;--sq-coord-light:#2c3a6b;--sq-coord-dark:#f3d9a4;--sq-texture:radial-gradient(circle at 80% 12%, #fff4c48c, transparent 22%), radial-gradient(ellipse at 20% 85%, #ff962847, transparent 35%)}:root[data-board=pumpkin],[data-board-preview=pumpkin]{--sq-light:#f6b26b;--sq-dark:#3b1f4f;--sq-coord-light:#3b1f4f;--sq-coord-dark:#f6b26b;--sq-texture:radial-gradient(circle at 50% 50%, #ff78142e, transparent 60%), repeating-linear-gradient(45deg, #0000000d 0 2px, transparent 2px 12px)}:root[data-board=snow],[data-board-preview=snow]{--sq-light:#f4f9f4;--sq-dark:#2f7d4f;--sq-coord-light:#2f7d4f;--sq-coord-dark:#f4f9f4;--sq-texture:radial-gradient(circle at 20% 30%, #ffffffd9 0 1.2%, transparent 1.5%) 0 0 / 18% 18%, radial-gradient(circle at 70% 80%, #ffffffb3 0 0.9%, transparent 1.2%) 0 0 / 22% 22%}:root[data-board=pitch],[data-board-preview=pitch]{--sq-light:#8fd16a;--sq-dark:#3f9142;--sq-coord-light:#2f6e31;--sq-coord-dark:#e9f7df;--sq-texture:repeating-linear-gradient(90deg, #ffffff0f 0 12.5%, transparent 12.5% 25%), radial-gradient(circle at 50% 50%, transparent 0 14%, #ffffff73 14.4% 15%, transparent 15.4%)}:root[data-board=holi],[data-board-preview=holi]{--sq-light:#fbe8c8;--sq-dark:#a8458a;--sq-coord-light:#a8458a;--sq-coord-dark:#fbe8c8;--sq-texture:radial-gradient(circle at 20% 22%, #ff4fa352 0 2.2%, transparent 2.8%) 0 0 / 25% 25%, radial-gradient(circle at 72% 30%, #ffc4005c 0 1.8%, transparent 2.4%) 0 0 / 25% 25%, radial-gradient(circle at 36% 74%, #2ebe6e4d 0 1.9%, transparent 2.5%) 0 0 / 25% 25%, radial-gradient(circle at 80% 80%, #3d8bff4d 0 1.6%, transparent 2.2%) 0 0 / 25% 25%}.frame-lixi{background:linear-gradient(135deg,#ffd84d,#e0313a 35%,#9b1b22 70%,#ffd84d);box-shadow:0 0 8px #e0313a73}.frame-lantern{background:radial-gradient(circle at 50% 0,#fff3c4,#0000 50%),linear-gradient(135deg,#ff9f2e,#c2410c 55%,#2c3a6b);box-shadow:0 0 10px #ff9f2e80}.frame-pumpkin{background:repeating-conic-gradient(#ff7a1a 0 30deg, #3b1f4f 30deg 60deg)}.frame-holly{background:radial-gradient(circle at 15% 15%,#dc2626 0 12%,#0000 13%),linear-gradient(135deg,#16a34a,#14532d 60%,#f4f9f4)}.frame-cup{background:linear-gradient(135deg,#fff2a8,#facc15 35%,#166534 65%,#fff2a8);box-shadow:0 0 8px #facc1573}.frame-kingdom{background:conic-gradient(#ffe27a,#e8b923,#9b7bf0,#5ab0f0,#6cc3a0,#e8b923,#ffe27a);box-shadow:0 0 0 1px #a8820f99,0 0 10px #e8b9238c}.frame-kingdom:before{content:"";clip-path:polygon(0 100%,0 20%,25% 60%,50% 0,75% 60%,100% 20%,100% 100%);filter:drop-shadow(0 1px 1px #00000059);background:#e8b923;width:14px;height:8px;position:absolute;top:-7px;left:50%;transform:translate(-50%)}:root[data-text-size]{font-size:calc(100% * var(--a11y-text-scale,1))}:root[data-text-size] body{font-size:calc(15px * var(--a11y-text-scale,1))}:root[data-text-size]{--sidebar-w:calc(212px * var(--a11y-text-scale,1))}:root[data-cb] .board .last-move{background:var(--hl-last);box-shadow:var(--hl-last-edge)}:root[data-cb] .board .last-move.last-move-capture{background:var(--hl-last-capture);box-shadow:var(--hl-last-capture-edge)}:root[data-cb] .board .selected{background:var(--hl-selected);box-shadow:var(--hl-selected-edge)}:root[data-cb] .board .dest:after{background:var(--hl-dest)}:root[data-cb] .board .dest-capture:after{box-shadow:inset 0 0 0 .85cqw var(--hl-dest-capture), inset 0 0 0 1.2cqw var(--hl-dest-rim);background:0 0}:root[data-hl-hivis] .board .last-move{background:var(--hl-last);box-shadow:var(--hl-last-edge)}:root[data-hl-hivis] .board .last-move.last-move-capture{background:var(--hl-last-capture);box-shadow:var(--hl-last-capture-edge)}:root[data-hl-hivis] .board .selected{background:var(--hl-selected);box-shadow:var(--hl-selected-edge)}:root[data-hl-hivis] .board .dest:after{background:var(--hl-dest);box-shadow:var(--hl-dest-edge);inset:31%}:root[data-hl-hivis] .board .dest-capture:after{box-shadow:inset 0 0 0 1.1cqw var(--hl-dest-capture), inset 0 0 0 1.5cqw var(--hl-dest-rim);background:0 0;inset:2%}:root[data-hl-hivis] .xq-pt.xq-target:not(.xq-capture):before{width:40%;height:40%}:root[data-hl-hivis] .sh-sq.sh-target:not(.sh-capture):after{width:40%}:root[data-hl-hivis] .sh-sq.sh-check{box-shadow:var(--hl-check-edge);background:0 0}:root[data-hl-hivis] .b3d-hl{fill:none;stroke-width:3px}:root[data-hl-hivis] .b3d-hl.last-move{stroke:var(--hl-last-fill)}:root[data-hl-hivis] .b3d-hl.last-move.last-move-capture{stroke:var(--hl-last-capture-fill)}:root[data-hl-hivis] .b3d-hl.selected{stroke:var(--hl-selected-fill)}:root[data-contrast=high] .board .piece[data-piece^=w]{filter:drop-shadow(0 0 .25cqw #000000f2)}:root[data-contrast=high] .board .piece[data-piece^=b]{filter:drop-shadow(0 0 .3cqw #fffffff2)}:root[data-contrast=high] .board .coords{font-weight:800}@media (width>=1100px){:root[data-a11y-board=large] .game-shell{grid-template-columns:minmax(0,calc(100dvh - 96px)) minmax(280px,360px);max-width:none}:root[data-a11y-board=large] .game-shell:has(.game-aside){grid-template-columns:26px minmax(0,calc(100dvh - 96px)) minmax(280px,360px)}}@media (width<=1099.98px){:is(:root[data-a11y-board=large] .game-shell,:root[data-a11y-board=large] .game-shell:has(.game-aside)){grid-template-columns:minmax(0,max(640px,100dvh - 96px))}}@media (width<=860px){:root[data-a11y-board=large] .main:has(.game-shell){padding-left:4px;padding-right:4px}}:root[data-a11y-board=large] .board .coords{font-size:max(12px,3.1cqw);font-weight:800}:root[data-a11y-board=large] .kb-cell:focus-visible{box-shadow:inset 0 0 0 5px var(--accent), inset 0 0 0 8px #000000b3}:root[data-a11y-board=large] :focus-visible{outline-offset:3px;outline-width:3px}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%}body{font-family:var(--font);background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;margin:0;font-size:15px;line-height:1.5}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}a:hover:is(:has(*),[class*=card],[class*=tile]){text-decoration:none}h1,h2,h3,h4{letter-spacing:-.01em;margin:0;font-weight:700;line-height:1.2}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.tabular{font-variant-numeric:tabular-nums}.muted{color:var(--text-2)}.faint{color:var(--text-3)}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;overflow:hidden;position:absolute!important}.btn{border-radius:var(--radius-s);border:1px solid var(--border);background:var(--surface-2);min-height:40px;color:var(--text);cursor:pointer;white-space:nowrap;justify-content:center;align-items:center;gap:8px;padding:0 16px;font-weight:500;text-decoration:none;transition:background .12s,border-color .12s,transform 60ms;display:inline-flex}.btn:hover{background:var(--surface-hover);text-decoration:none}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}.btn-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);font-weight:600}.btn-primary:hover{background:var(--accent-strong)}.btn-ghost{background:0 0;border-color:#0000}.btn-ghost:hover{background:var(--surface-2)}.btn-danger{color:var(--bad)}.btn-lg{border-radius:var(--radius);min-height:52px;padding:0 22px;font-size:1.05rem}.btn-sm{min-height:32px;padding:0 10px;font-size:.875rem}.btn-icon{width:40px;padding:0}.btn-block{width:100%}.field{flex-direction:column;gap:6px;display:flex}.field label{color:var(--text-2);font-size:.875rem}.input,.select,.textarea{border-radius:var(--radius-s);border:1px solid var(--border);background:var(--bg-elev);min-height:42px;color:var(--text);width:100%;padding:8px 12px}.textarea{resize:vertical;min-height:90px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem}.input:focus,.select:focus,.textarea:focus{border-color:var(--accent);outline:none}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.panel-pad{padding:16px}.segmented{background:var(--bg-elev);border-radius:var(--radius-s);border:1px solid var(--border);gap:4px;padding:4px;display:flex}.segmented button{cursor:pointer;min-height:34px;color:var(--text-2);background:0 0;border:0;border-radius:4px;flex:1;font-weight:500}.segmented button[aria-pressed=true]{background:var(--surface-hover);color:var(--text)}.chip{background:var(--surface-2);color:var(--text-2);border-radius:999px;align-items:center;gap:6px;padding:3px 10px;font-size:.8rem;display:inline-flex}.error-text{color:var(--bad);font-size:.9rem}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.001ms!important;animation-duration:.001ms!important}}.form-row-2{grid-template-columns:1fr 1fr;gap:10px;display:grid}.details summary{cursor:pointer;color:var(--text-2)}.toggle-row{border-top:1px solid var(--border);cursor:pointer;color:var(--text-2);align-items:center;gap:10px;padding:10px 14px;display:flex}.toggle-row input{width:18px;height:18px;accent-color:var(--accent)}.fen-row{gap:6px;display:flex}.fen-row .input{font-size:.78rem}@media (pointer:coarse){.btn-sm,.segmented button{min-height:40px}.legal-footer a,.legal-footer .linklike{padding-block:10px;display:inline-block}.legal-footer nav{row-gap:0}.topbar .brand{min-height:44px}}.flag{vertical-align:middle;border-radius:3px;flex:none;width:20px;height:15px;line-height:0;display:inline-block;position:relative;overflow:hidden}.flag svg{width:100%;height:100%;display:block}.flag:after{content:"";border-radius:inherit;box-shadow:inset 0 0 0 1px var(--flag-edge);pointer-events:none;position:absolute;inset:0}.offline-strip{border-radius:var(--radius-s);background:var(--surface);border:1px solid var(--border);max-width:1400px;color:var(--text-2);align-items:center;gap:8px;margin:0 auto 12px;padding:8px 12px;font-size:.85rem;display:flex}.offline-strip svg{color:var(--text-3);flex:none}.offline-page{align-items:flex-start;padding-top:32px}.offline-icon{background:var(--surface);border:1px solid var(--border);width:64px;height:64px;color:var(--text-3);border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.offline-actions{flex-wrap:wrap;gap:8px;display:flex}.pwa-toast{z-index:90;border-radius:var(--radius);background:var(--surface-2);border:1px solid var(--border);max-width:calc(100vw - 32px);box-shadow:var(--shadow);align-items:center;gap:10px;padding:10px 10px 10px 14px;font-weight:600;display:flex;position:fixed;bottom:16px;right:16px}.pwa-toast>svg{color:var(--accent);flex:none}.pwa-toast-text{flex:1}.install-banner{display:none}@media (width<=860px){.pwa-toast{left:12px;right:12px;bottom:calc(78px + env(safe-area-inset-bottom))}.install-banner{z-index:55;left:8px;right:8px;bottom:calc(74px + env(safe-area-inset-bottom));border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);align-items:center;gap:10px;padding:8px 6px 8px 10px;display:flex;position:fixed}.install-banner img{border-radius:8px;flex:none}.install-banner-text{flex-direction:column;flex:1;min-width:0;font-size:.85rem;line-height:1.3;display:flex}}.install-app{align-items:flex-start;gap:16px;display:flex}.install-app img{border-radius:12px;flex:none}.install-app-text{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.install-app-text p{margin:0}.install-state{color:var(--text-2);align-items:center;gap:6px;display:flex}.install-state svg{color:var(--good)}body:has(.board-wrap,.xq-board,.sh-board,.bq-board,.fp-board,.variant-board,.kc-board) .install-banner{display:none}.save-prompt{z-index:99;left:calc(var(--sidebar-w,0px) + 20px);background:var(--surface);width:min(380px,100vw - 40px);color:var(--text);border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:var(--radius);box-shadow:var(--shadow);align-items:flex-start;gap:12px;padding:14px 10px 14px 14px;animation:.25s ease-out save-prompt-in;display:flex;position:fixed;bottom:20px}.save-prompt-icon{background:var(--accent-soft);width:34px;height:34px;color:var(--accent-strong);border-radius:50%;flex:none;place-items:center;display:grid}.save-prompt-body{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.save-prompt-body .faint{font-size:.9rem}.save-prompt-actions{flex-wrap:wrap;gap:8px;margin-top:6px;display:flex}@keyframes save-prompt-in{0%{opacity:0;transform:translateY(12px)}}@media (prefers-reduced-motion:reduce){.save-prompt{animation:none}}@media (width<=860px){.save-prompt{width:auto;left:10px;right:10px;bottom:calc(76px + env(safe-area-inset-bottom));max-height:calc(100dvh - 56px - var(--safe-top,0px) - 76px - env(safe-area-inset-bottom) - 16px);overscroll-behavior:contain;overflow-y:auto}body:has(.achievement-toast,.challenge-toast,.mission-toast,.pwa-toast,.install-banner,.cookie-banner) .save-prompt{top:calc(56px + var(--safe-top,0px) + 8px);bottom:auto}}@media (width>=861px){body:has(.cookie-banner) .save-prompt{top:16px;bottom:auto}}@media (height<=640px){.save-prompt{gap:8px;padding:10px 6px 10px 12px}.save-prompt-icon{display:none}.save-prompt-body{gap:2px}.save-prompt-body .faint{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.85rem;line-height:1.35;display:-webkit-box;overflow:hidden}.save-prompt-actions{margin-top:4px}}@media (width<=860px) and (orientation:landscape) and (height<=500px){.save-prompt{width:min(440px,100vw - 20px);right:auto}}.guest-keep{border-radius:var(--radius-s);background:var(--accent-soft);border:1px solid color-mix(in srgb, var(--accent) 35%, transparent);color:var(--text);align-items:flex-start;gap:8px;margin:0;padding:10px 12px;font-size:.9rem;line-height:1.4;display:flex}.guest-keep>svg{color:var(--accent-strong);flex:none;margin-top:2px}html.kids-mode{--radius-s:10px;--radius:16px;--radius-l:24px;--accent:#ff7a59;--accent-strong:#ff6a45;--accent-ink:#2a0d05;--accent-soft:#ff7a5929;--good:#3fc47a;--info:#4aa8f0;--kids-1:#ff5c93;--kids-2:#ffd23f;--kids-3:#4aa8f0;--kids-4:#3fc47a;font-size:17px}html.kids-mode[data-theme=dark]{--bg:#1b1a33;--bg-elev:#232245;--surface:#2a2952;--surface-2:#33325f;--surface-hover:#3c3a6c;--border:#45437a}html.kids-mode[data-theme=light]{--bg:#fff7ec;--bg-elev:#fffaf3;--surface:#fff;--surface-2:#fff0dd;--surface-hover:#ffe6c7;--border:#f3d9b8;--accent:#f0623d;--accent-strong:#e0532f}html.kids-mode .btn{border-radius:999px;font-weight:600}html.kids-mode .btn-lg{padding-block:14px}html.kids-mode .nav-item{border-radius:14px;font-size:1.05rem}html.kids-mode .panel,html.kids-mode .side-card{border-width:2px}html.kids-mode .page-title,html.kids-mode .hub-title{background:linear-gradient(90deg, var(--kids-1), var(--kids-3));color:#0000;-webkit-background-clip:text;background-clip:text}.kids-badge{color:#2a0d05;background:linear-gradient(90deg,#ff5c93,#ffb547);border-radius:999px;align-items:center;gap:4px;padding:2px 10px;font-size:.8rem;font-weight:700;display:inline-flex}.kids-blocked{text-align:center;justify-items:center;gap:12px;max-width:520px;margin:48px auto;padding:24px 16px;display:grid}.kids-blocked-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.kids-settings .kids-pin-row{flex-wrap:wrap;gap:8px;margin:8px 0;display:flex}.kids-settings .kids-pin-row input{letter-spacing:.3em;width:160px}.kids-settings h2{align-items:center;gap:6px;display:flex}.celebration{pointer-events:none;z-index:200;position:fixed;inset:0;overflow:hidden}.confetti{border-radius:3px;width:10px;height:14px;animation:1.9s ease-in forwards confetti-fall;position:absolute;top:-12px}@keyframes confetti-fall{to{transform:translate(var(--drift,0), 105vh) rotate(540deg);opacity:.6}}.celebration-text{background:var(--surface);border:3px solid var(--accent);box-shadow:var(--shadow);color:var(--text);border-radius:999px;padding:14px 28px;font-size:1.6rem;font-weight:800;animation:.5s cubic-bezier(.2,1.6,.4,1) cheer-pop;position:absolute;top:38%;left:50%;transform:translate(-50%,-50%)}@keyframes cheer-pop{0%{transform:translate(-50%,-50%)scale(.3)}}@media (prefers-reduced-motion:reduce){.celebration-text{animation:none}}.bot-avatar{border-radius:50%;flex:none;display:block}.char-grid{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;max-height:300px;padding:2px;display:grid;overflow-y:auto}.char-holiday{border-radius:var(--radius);border:1px dashed var(--border);background:var(--surface);margin-bottom:10px;padding:6px 4px}.char-holiday-head{margin:0 4px 6px;font-size:.85rem;font-weight:600}.char-holiday-grid{grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px;padding:2px;display:grid}.bot-tag{white-space:nowrap;padding:1px 6px;font-size:.68rem}.bot-speech-who{flex:none;justify-items:center;gap:3px;display:grid}.char-card{border-radius:var(--radius);border:2px solid var(--border);background:var(--surface-2);color:var(--text);cursor:pointer;font:inherit;justify-items:center;gap:3px;padding:8px 4px;transition:transform .12s,border-color .12s;display:grid;position:relative}.char-card:hover{transform:translateY(-2px)}.char-card.on{border-color:var(--char,var(--accent));background:var(--surface-hover);box-shadow:0 0 0 2px color-mix(in srgb, var(--char,var(--accent)) 35%, transparent)}.char-name{text-align:center;font-size:.8rem;font-weight:600;line-height:1.15}.char-level{color:var(--text-3);font-size:.72rem}.char-beaten{color:var(--accent);position:absolute;top:4px;right:6px}.char-custom-icon{background:var(--surface);width:52px;height:52px;color:var(--text-2);border-radius:50%;place-items:center;display:grid}.char-detail{border-radius:var(--radius);border-left:4px solid var(--char,var(--accent));background:var(--surface-2);align-items:center;gap:12px;margin-top:10px;padding:10px 12px;display:flex}.char-detail p{margin:2px 0 0;font-size:.88rem}.bot-speech-row{align-items:flex-start;gap:8px;min-height:64px;padding:10px 12px;display:flex}.bot-speech{border:2px solid var(--accent);background:var(--surface-2);border-radius:14px;gap:2px;padding:8px 12px;font-size:.92rem;animation:.25s ease-out speech-in;display:grid;position:relative}.bot-speech strong{color:var(--text-2);font-size:.75rem}.bot-speech:before{content:"";border:7px solid #0000;border-right-color:inherit;border-left:0;position:absolute;top:14px;left:-8px}@keyframes speech-in{0%{opacity:0;transform:translateY(6px)scale(.96)}}.char-badges{margin-top:24px}.char-badges h2{align-items:center;gap:8px;font-size:1.15rem;display:flex}.char-badge-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;display:grid}.char-badge{border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);color:var(--text-2);justify-items:center;gap:4px;max-width:100%;padding:10px 6px;font-size:.82rem;text-decoration:none;display:grid}.char-badge:not(.won) .bot-avatar{filter:grayscale()opacity(.45)}.char-badge.won{color:var(--text);border-color:var(--accent)}.emote-bar{flex-wrap:wrap;align-items:center;gap:4px;padding:8px 10px;display:flex}.emote-btn{border:1px solid var(--border);background:var(--surface-2);cursor:pointer;border-radius:50%;width:36px;height:36px;font-size:1.15rem;line-height:1;transition:transform .1s}.emote-btn:hover:not(:disabled){transform:scale(1.15)}.emote-btn:disabled{opacity:.45;cursor:default}.emote-mute{margin-left:auto}.emote-mute.on{color:var(--bad)}.emote-note{width:100%;font-size:.8rem}.player-bar{position:relative}.emote-bubble{z-index:20;background:var(--surface);border:2px solid var(--border);box-shadow:var(--shadow);pointer-events:none;border-radius:18px;padding:6px 8px;font-size:1.8rem;line-height:1;animation:2.6s ease-out forwards emote-float;position:absolute;top:-18px;right:72px}@keyframes emote-float{0%{opacity:0;transform:translateY(10px)scale(.6)}12%{opacity:1;transform:translateY(0)scale(1.1)}20%{transform:scale(1)}80%{opacity:1}to{opacity:0;transform:translateY(-14px)}}@media (prefers-reduced-motion:reduce){.emote-bubble{animation:none}}.streaks-panel{gap:8px;margin-bottom:16px;display:grid}.streaks-head{align-items:center;gap:12px;display:flex}.streaks-head h2{margin:0;font-size:1.1rem}.streaks-head p{margin:2px 0 0}.streak-flame{color:var(--text-3)}.streak-flame.lit{color:#ff7a2f}.streak-nudge{color:var(--accent);margin:0;font-weight:600}.streaks-freeze{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.freeze-dot{color:var(--text-3);opacity:.4}.freeze-dot.on{color:#6cc8ff;opacity:1}.streaks-help{margin:0;font-size:.82rem}.streak-chip{color:#ff7a2f;vertical-align:middle;background:#ff7a2f1f;border-radius:999px;align-items:center;gap:2px;margin-left:6px;padding:0 7px;font-size:.78rem;font-weight:700;display:inline-flex}.streak-chip:not(.done){opacity:.75;outline:1px dashed #ff7a2f99}.micro-page{max-width:640px;margin:0 auto;padding:16px}.micro-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.micro-hearts{color:var(--text-3);gap:2px;display:inline-flex}.micro-hearts .on{color:#ff4f6d}.micro-stats{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin:12px 0;display:grid}.micro-goal,.micro-streak{align-items:center;gap:12px;display:flex}.micro-goal .segmented{flex-wrap:wrap;margin-top:6px}.micro-goal .segmented button{font-size:.78rem}.micro-streak{color:#ff7a2f}.micro-streak div{color:var(--text);display:grid}.micro-wait{text-align:center;color:var(--bad);font-weight:600}.micro-path{justify-items:center;gap:18px;margin:0;padding:12px 0 24px;list-style:none;display:grid}.micro-node{transform:translateX(var(--offset,0));justify-items:center;gap:4px;display:grid}.micro-node-btn{width:64px;height:64px;font:inherit;background:var(--surface-2);color:var(--text-3);box-shadow:0 5px 0 var(--border);border:0;border-radius:50%;place-items:center;display:grid}.micro-node.done .micro-node-btn{background:var(--good);color:#fff;box-shadow:0 5px 0 color-mix(in srgb, var(--good) 60%, #000)}.micro-node.current .micro-node-btn{background:var(--accent);width:80px;height:80px;color:var(--accent-ink);box-shadow:0 6px 0 color-mix(in srgb, var(--accent) 60%, #000);cursor:pointer;animation:1.6s ease-in-out infinite node-bounce}.micro-node.current .micro-node-btn:disabled{opacity:.5;cursor:default;animation:none}@keyframes node-bounce{50%{transform:translateY(-5px)}}@media (prefers-reduced-motion:reduce){.micro-node.current .micro-node-btn{animation:none}}.micro-node-label{text-align:center;max-width:220px;font-size:.85rem;font-weight:600}.micro-foot{text-align:center;font-size:.85rem}.micro-top{align-items:center;gap:10px;margin-bottom:12px;display:flex}.micro-progress{background:var(--surface-2);border-radius:999px;flex:1;height:14px;overflow:hidden}.micro-progress span{background:var(--good);border-radius:999px;height:100%;transition:width .3s;display:block}.micro-exercise{gap:12px;display:grid}.micro-prompt{margin:0;font-size:1.05rem;font-weight:600}.micro-board{width:min(100%,440px);margin:0 auto}.micro-options{gap:8px;display:grid}.micro-option.right{background:var(--good-soft);border-color:var(--good)}.micro-option.wrong{background:var(--bad-soft);border-color:var(--bad)}.micro-feedback{border-radius:var(--radius-l);gap:8px;margin-top:14px;padding:14px;animation:.2s ease-out speech-in;display:grid;position:sticky;bottom:0}.micro-feedback.ok{background:var(--good-soft);border:2px solid var(--good)}.micro-feedback.bad{background:var(--bad-soft);border:2px solid var(--bad)}.micro-done{text-align:center;justify-items:center;gap:8px;padding-top:40px;display:grid}.micro-xp{color:var(--accent);margin:0;font-size:2.4rem;font-weight:800}.parent-page{max-width:820px;margin:0 auto;padding:16px}.parent-card{margin-bottom:16px}.parent-card h2{align-items:center;gap:8px;margin:0 0 10px;font-size:1.15rem;display:flex}.parent-stats{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px;display:grid}.parent-stats div{border-radius:var(--radius);background:var(--surface-2);padding:8px 10px;display:grid}.parent-stats strong{font-size:1.4rem}.parent-sub{margin:14px 0 6px;font-size:.85rem}.parent-chart{grid-template-columns:repeat(14,1fr);align-items:end;gap:4px;height:120px;display:grid}.parent-bar{grid-template-rows:1fr auto;place-items:end center;min-width:0;height:100%;display:grid}.parent-bar-fill{background:var(--info);border-radius:4px 4px 0 0;width:100%;min-height:2px}.parent-bar-label{color:var(--text-3);max-width:100%;font-size:.65rem;overflow:hidden}html.kids-mode .comments{display:none}.kids-settings{justify-items:start;gap:8px;display:grid}.kids-settings p{margin:0}.kids-settings .kids-pin-row input::placeholder{letter-spacing:normal}.legal-footer{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;margin-top:40px;padding-top:16px;font-size:.85rem;display:flex}.legal-footer nav{flex-wrap:wrap;gap:4px 16px;display:flex}.legal-footer a,.legal-footer .linklike{color:var(--text-2)}.linklike{font:inherit;cursor:pointer;text-underline-offset:2px;background:0 0;border:0;padding:0;text-decoration:underline}.legal-footer a:hover,.legal-footer .linklike:hover{color:var(--text)}.account-notice{border-radius:var(--radius);background:var(--accent-soft);color:var(--text);flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 16px;padding:10px 14px;font-size:.92rem;display:flex}.account-notice>span{flex:240px}.account-notice.bad{background:var(--bad-soft)}.cookie-banner{z-index:60;background:var(--bg-elev);width:min(720px,100vw - 32px);color:var(--text);border:1px solid var(--border);border-radius:var(--radius-l);box-shadow:var(--shadow);flex-wrap:wrap;align-items:center;gap:12px 16px;padding:16px;display:flex;position:fixed;bottom:16px;left:50%;transform:translate(-50%)}.cookie-banner-text{flex:300px}.cookie-banner-text p{color:var(--text-2);margin:4px 0 0;font-size:.9rem}.cookie-banner-actions{flex-wrap:wrap;gap:8px;display:flex}@media (width<=860px){.cookie-banner{bottom:calc(78px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 56px - 78px - env(safe-area-inset-bottom,0px) - 16px);overflow-y:auto}}@media (width<=760px){.cookie-banner-actions,.cookie-banner-actions .btn{flex:auto}}.cookie-dialog{width:min(520px,100vw - 32px);color:var(--text);background:var(--bg-elev);border:1px solid var(--border);border-radius:var(--radius-l);padding:20px}.cookie-dialog::backdrop{background:#00000073}.cookie-dialog-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.cookie-dialog-head h2{margin:0;font-size:1.2rem}.cookie-cats{margin:12px 0;padding:0;list-style:none}.cookie-cats li{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.cookie-cats p{margin:2px 0 0;font-size:.85rem}.cookie-cats label{cursor:pointer}.cookie-switch{width:20px;height:20px;accent-color:var(--accent);flex:none}.cookie-dialog-actions{justify-content:space-between;gap:8px;display:flex}.achievements{flex-direction:column;gap:20px;max-width:1000px;margin:0 auto;display:flex}.ach-summary{grid-template-columns:1fr 1fr 1.3fr;gap:12px;display:grid}.ach-stat{color:var(--accent);align-items:center;gap:14px;display:flex}.ach-stat div{color:var(--text);flex-direction:column;display:flex}.ach-stat strong{font-size:1.4rem}.activity{grid-template-columns:repeat(7,1fr);gap:4px;display:grid}.activity span{aspect-ratio:1;background:var(--surface-2);border-radius:3px}.activity span.on{background:var(--accent)}.ach-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;display:grid}.ach-card{border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);opacity:.6;gap:12px;padding:14px;display:flex}.ach-card.unlocked{opacity:1;border-color:var(--accent)}.ach-card p{margin:2px 0 0;font-size:.85rem}.ach-date{color:var(--accent);font-size:.75rem}.achievement-medal{background:var(--accent-soft);width:40px;height:40px;color:var(--accent);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.achievement-toast{z-index:100;background:var(--surface);border:1px solid var(--accent);border-radius:var(--radius);box-shadow:var(--shadow);align-items:center;gap:12px;padding:12px 12px 12px 14px;animation:.3s ease-out toast-in;display:flex;position:fixed;bottom:20px;right:20px}.achievement-toast a{color:var(--text);flex-direction:column;text-decoration:none;display:flex}@keyframes toast-in{0%{opacity:0;transform:translateY(20px)}}@media (width<=860px){.achievement-toast{bottom:calc(82px + env(safe-area-inset-bottom));left:10px;right:10px}.ach-summary{grid-template-columns:1fr 1fr}.activity{grid-column:span 2}}:root{--safe-top:var(--safe-area-inset-top,env(safe-area-inset-top,0px))}html.native-app{-webkit-tap-highlight-color:transparent}.app{grid-template-columns:var(--sidebar-w) 1fr;min-height:100%;display:grid}.sidebar{z-index:20;height:100dvh;padding:calc(16px + var(--safe-top)) 12px 16px;background:var(--bg-elev);border-right:1px solid var(--border);flex-direction:column;gap:4px;display:flex;position:sticky;top:0;overflow-y:auto}.brand{color:var(--text);align-items:center;gap:10px;padding:6px 10px 18px;display:flex;text-decoration:none!important}.brand-mark{background-position:50%;background-repeat:no-repeat;background-size:contain;display:inline-block}.brand-name{color:var(--text);flex:none;display:block}.nav{flex-direction:column;gap:2px;display:flex}.nav-item{border-radius:var(--radius-s);min-height:44px;color:var(--text-2);align-items:center;gap:12px;padding:0 12px;font-weight:600;display:flex;text-decoration:none!important}.nav-item:hover{background:var(--surface);color:var(--text)}.nav-item.active{background:var(--surface-2);color:var(--text);box-shadow:inset 3px 0 0 var(--accent)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sidebar-spacer{flex:1}.sidebar-bottom{flex-direction:column;gap:4px;display:flex}.auth-buttons{flex-direction:column;gap:8px;padding:0 4px 8px;display:flex}.sidebar-tools{border-top:1px solid var(--border);align-items:center;gap:6px;margin-top:6px;padding:8px 4px 0;display:flex;position:relative}.lang-menu{flex:1;min-width:0}.lang-select{border-radius:var(--radius-s);width:100%;min-height:44px;color:var(--text);background:var(--surface);border:1px solid var(--border);font:inherit;cursor:pointer;text-align:start;align-items:center;gap:8px;padding:0 10px;font-weight:600;display:flex}.lang-select:hover{background:var(--surface-hover)}.lang-select-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.lang-select-caret{color:var(--text-2);flex:none;transition:transform .15s;transform:rotate(-90deg)}.lang-select[aria-expanded=true] .lang-select-caret{transform:rotate(90deg)}.lang-pop{z-index:5;overscroll-behavior:contain;background:var(--bg-elev);border:1px solid var(--border);max-height:min(60vh,520px);box-shadow:var(--shadow);border-radius:12px;flex-direction:column;gap:2px;padding:6px;display:flex;position:absolute;bottom:calc(100% + 6px);left:0;right:0;overflow-y:auto}.lang-pop-item{min-height:44px;color:var(--text);font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:0 10px;font-size:.98rem;font-weight:500;display:flex}.lang-pop-item:hover,.lang-pop-item:focus-visible{background:var(--surface)}.lang-pop-item.selected{background:var(--accent-soft);font-weight:700}.lang-pop-name{flex:1;min-width:0}.lang-pop-check{color:var(--accent);flex:none}.main{min-width:0;padding:24px clamp(12px,3vw,36px) 40px}.topbar,.tabbar,.scrim{display:none}.page-spinner{justify-content:center;min-height:100svh;padding:80px 0;display:flex}#root.ssr-pending{visibility:hidden;pointer-events:none;position:fixed;inset:0;overflow:hidden}.spinner{border:3px solid var(--surface-2);border-top-color:var(--accent);border-radius:50%;width:32px;height:32px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=860px){.app{padding-bottom:calc(68px + env(safe-area-inset-bottom));display:block}.topbar{z-index:50;height:calc(56px + var(--safe-top));padding:var(--safe-top) 8px 0 4px;background:var(--bg-elev);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.topbar .brand{padding:0 10px}.sidebar{z-index:70;width:min(280px,82vw);transition:transform .2s;position:fixed;top:0;left:0;transform:translate(-100%)}.sidebar.open{box-shadow:var(--shadow);transform:none}.scrim{z-index:60;background:#00000073;display:block;position:fixed;inset:0}.main{padding:12px 10px 24px}.tabbar{z-index:50;padding-bottom:env(safe-area-inset-bottom);background:var(--bg-elev);border-top:1px solid var(--border);grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.tab{min-width:0;height:66px;color:var(--text-2);flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:0 2px;font-size:.8125rem;font-weight:650;line-height:1.15;display:flex;text-decoration:none!important}.tab span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.tab.active{color:var(--accent)}.sidebar .nav-item{min-height:48px;color:var(--text);gap:14px;font-size:1.125rem}.sidebar .nav-item>svg{flex:none;width:26px;height:26px}.sidebar .nav-item.nav-sub{min-height:44px;color:var(--text);font-size:1.0625rem;font-weight:600}.sidebar .nav-item.nav-sub>svg{width:20px;height:20px}.sidebar .nav-toggle{border-radius:var(--radius-s);width:44px;height:44px}.sidebar .nav-children{margin-left:26px}}.nav-row{align-items:center;display:flex}.nav-row .nav-item{flex:1;min-width:0}.nav-toggle{width:28px;height:28px;color:var(--text-3);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;transition:transform .15s;display:inline-flex}.nav-toggle:hover{background:var(--surface);color:var(--text)}.nav-toggle.open{transform:rotate(90deg)}.nav-children{border-left:2px solid var(--border);flex-direction:column;gap:2px;margin:2px 0 6px 22px;padding-left:10px;display:flex}.nav-item.nav-sub{min-height:38px;color:var(--text);gap:10px;font-size:.97rem;font-weight:600}.nav-item.nav-sub>svg{opacity:.85;flex:none}.nav-flyout{z-index:80;background:var(--bg-elev);border:1px solid var(--border);min-width:220px;box-shadow:var(--shadow);border-radius:12px;flex-direction:column;gap:2px;padding:6px;animation:.12s ease-out nav-flyout-in;display:flex;position:fixed}.nav-flyout:before{content:"";width:14px;position:absolute;top:0;bottom:0;left:-14px}.nav-flyout-head,.nav-flyout-item{min-height:36px;color:var(--text-2);border-radius:8px;align-items:center;gap:10px;padding:0 12px;font-weight:500;display:flex;text-decoration:none!important}.nav-flyout-head{color:var(--text);border-bottom:1px solid var(--border);border-radius:8px 8px 0 0;margin-bottom:4px;font-weight:700}.nav-flyout-head:hover,.nav-flyout-item:hover{background:var(--surface);color:var(--text)}.nav-flyout-item.active{color:var(--accent)}@keyframes nav-flyout-in{0%{opacity:0;transform:translate(-4px)}}@media (prefers-reduced-motion:reduce){.nav-flyout{animation:none}}.b3d{touch-action:manipulation;cursor:pointer;position:absolute;inset:0;overflow:visible}.b3d-svg{position:absolute;inset:0;overflow:visible}.b3d-sq.light{fill:var(--sq-light)}.b3d-sq.dark{fill:var(--sq-dark)}.b3d-sq{stroke:var(--sq-dark);stroke-width:.3px}.b3d-edge{fill:var(--sq-dark);filter:brightness(.55)}.b3d-edge.side{filter:brightness(.4)}.b3d-hl.last-move{fill:var(--hl-last-fill)}.b3d-hl.last-move.last-move-capture{fill:var(--hl-last-capture-fill)}.b3d-hl.selected{fill:var(--hl-selected-fill)}.b3d-check{fill:#e6141499}.b3d-mark{fill:var(--mark);opacity:.55}.b3d-mark.premove{fill:var(--hl-premove-fill);opacity:1}.b3d-mark.ring{fill:none;stroke:var(--mark);stroke-width:3px;opacity:1}.b3d-dest{fill:#141e284d}.b3d-dest.capture{fill:none;stroke:#141e2859;stroke-width:4px}.b3d-coord text{fill:var(--text-2);font-weight:700}.b3d-piece{pointer-events:none;will-change:left, top;position:absolute}.b3d-piece img{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;width:100%;height:100%;position:absolute;inset:0}.b3d-extrude{filter:brightness(.45)saturate(.8)}.b3d-face{filter:drop-shadow(0 1px #00000040)}.b3d-shadow{background:radial-gradient(#00000061,#0000 70%);border-radius:50%;height:26%;position:absolute;bottom:-6%;left:15%;right:15%}.b3d-promo{z-index:80;background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);align-items:center;gap:4px;padding:6px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.b3d-promo-choice{border-radius:var(--radius-s);cursor:pointer;background:0 0;border:0;width:52px;height:52px}.b3d-promo-choice:hover{background:var(--accent-soft)}.b3d-promo-choice img{width:100%;height:100%}.b3d-tilt{align-items:center;gap:8px;font-size:.85rem;display:flex}@media (prefers-reduced-motion:reduce){.b3d-piece{transition:none!important}}html[data-xp-piece] .board .piece{background-size:var(--xp-piece,100%) var(--xp-piece,100%);background-position:50%}html[data-xp-coords=outside] .board-wrap:has(>.board>.coords)>.board{inset:0 0 4.2% 4.2%;overflow:visible}html[data-xp-coords=outside] .board-wrap:has(>.board>.coords)>.board>.board-squares{border-radius:4px;overflow:hidden}html[data-xp-coords=outside] .board .coord.rank{text-align:center;width:3cqw;height:12.5%;padding-top:0;line-height:12.5cqh;left:-3.6cqw}html[data-xp-coords=outside] .board .coord.file{text-align:center;padding-right:0;bottom:-3.8cqw}html[data-xp-coords=outside] .board .coord.on-light,html[data-xp-coords=outside] .board .coord.on-dark{color:var(--text-3)}html[data-xp-highlight=subtle] .board .last-move{background:#ffd64f38}html[data-xp-highlight=subtle] .board .selected{background:#ffd64f5c}html[data-xp-highlight=outline] .board .last-move{background:0 0;box-shadow:inset 0 0 0 .55cqw #ffc428d9}html[data-xp-highlight=outline] .board .selected{background:0 0;box-shadow:inset 0 0 0 .75cqw #ffc428}html[data-xp-highlight=vivid] .board .last-move{background:#40a0ff80}html[data-xp-highlight=vivid] .board .selected{background:#40a0ffb3}html[data-xp-highlight=vivid] .board .dest:after{background:#1e6edc8c}html[data-xp-highlight] .board .last-move.last-move-capture{background:var(--hl-last-capture);box-shadow:var(--hl-last-capture-edge)}@media (width>=1000px){html[data-xp-board-size] .game-shell{grid-template-columns:minmax(0, calc((100dvh - 150px) * var(--xp-board-size,1))) minmax(300px, 400px)}html[data-xp-board-size] .game-shell:has(.game-aside){grid-template-columns:26px minmax(0, calc((100dvh - 150px) * var(--xp-board-size,1))) minmax(300px, 400px)}}.xp-help-backdrop{z-index:1000;background:#080c128c;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.xp-help{background:var(--surface);width:min(560px,100%);max-height:calc(100dvh - 32px);color:var(--text);border-radius:var(--radius-l);box-shadow:var(--shadow);padding:18px 20px;overflow:auto}.xp-help h2{justify-content:space-between;align-items:center;margin:0 0 4px;font-size:1.15rem;display:flex}.xp-help h3{text-transform:uppercase;letter-spacing:.04em;color:var(--text-3);margin:14px 0 6px;font-size:.8rem}.xp-keys{grid-template-columns:1fr auto;gap:6px 12px;margin:0;display:grid}.xp-keys dt{color:var(--text-2)}.xp-keys dd{flex-wrap:wrap;justify-content:flex-end;gap:4px;margin:0;display:flex}kbd.xp-kbd{border:1px solid var(--border);background:var(--surface-2);min-width:1.6em;font:600 .8rem/1.5 var(--font);text-align:center;white-space:nowrap;border-bottom-width:2px;border-radius:5px;padding:1px 6px;display:inline-block}.xp-toast{z-index:1001;background:var(--surface);color:var(--text);border:1px solid var(--border);box-shadow:var(--shadow);pointer-events:none;border-radius:999px;padding:6px 14px;font-size:.9rem;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.xp-settings{flex-direction:column;gap:4px;display:flex}.xp-packs{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px;margin:6px 0 4px;display:grid}.xp-pack{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);cursor:pointer;justify-content:space-between;align-items:center;gap:6px;padding:8px 10px;display:flex}.xp-pack.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.xp-pack input{accent-color:var(--accent)}.xp-row{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:10px;padding:10px 0;display:flex}.xp-row>label:first-child,.xp-row>.xp-label{flex:180px;min-width:0}.xp-row select,.xp-row input[type=range]{max-width:100%}.xp-row input[type=range]{flex:160px}.xp-value{text-align:end;font-variant-numeric:tabular-nums;min-width:3.5em}.xp-hint{margin:0;font-size:.82rem}.xp-shortcuts{flex-direction:column;gap:14px;max-width:760px;margin:0 auto;display:flex}.xp-sc-table{border-collapse:collapse;table-layout:fixed;width:100%}.xp-sc-table th:first-child{width:46%}.xp-sc-table th:nth-child(3){width:130px}.xp-sc-table td,.xp-sc-table th{border-top:1px solid var(--border);text-align:start;vertical-align:middle;padding:8px 6px}.xp-sc-table th{color:var(--text-3);font-size:.8rem;font-weight:600}.xp-sc-keys{flex-wrap:wrap;gap:4px;display:flex}.xp-sc-actions{flex-wrap:wrap;justify-content:flex-end;gap:4px;display:flex}.xp-sc-conflict{color:var(--bad);font-size:.82rem}.xp-capture{outline:2px solid var(--accent)}@media (width<=560px){.xp-sc-table thead{display:none}.xp-sc-table tr{border-top:1px solid var(--border);grid-template-columns:1fr auto;padding:6px 0;display:grid}.xp-sc-table td{border:0;padding:4px 2px}.xp-sc-table td:first-child{grid-column:1/-1}}.xp-analysis-board{max-width:min(100%,360px);margin:0 auto}.xp-analysis-lines{flex-direction:column;gap:2px;padding:6px 12px;font-size:.85rem;display:flex}.xp-analysis-lines .line{white-space:nowrap;text-overflow:ellipsis;gap:8px;display:flex;overflow:hidden}.xp-analysis-lines .score{font-variant-numeric:tabular-nums;min-width:3.4em;font-weight:700}.xp-analysis-bar{flex-wrap:wrap;align-items:center;gap:6px;padding:6px 12px;display:flex}.xp-analysis-moves{color:var(--text-2);overflow-wrap:anywhere;padding:0 12px 8px;font-size:.85rem}.xp-live-badge{color:var(--bad);align-items:center;gap:4px;font-size:.78rem;font-weight:700;display:inline-flex}.xp-live-badge:before{content:"";background:currentColor;border-radius:50%;width:7px;height:7px}.xp-spec-chat .chat-messages{max-height:220px}.xp-spec-msg{align-items:baseline;gap:6px;display:flex}.xp-spec-msg .text{overflow-wrap:anywhere;flex:1;min-width:0}.xp-spec-msg button{opacity:0}.xp-spec-msg:hover button,.xp-spec-msg button:focus-visible{opacity:1}.xp-multi{flex-direction:column;gap:14px;max-width:1400px;margin:0 auto;display:flex}.xp-multi-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.xp-multi-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:14px;max-width:1100px;display:grid}.xp-multi-grid.n1{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),360px))}.xp-slot{flex-direction:column;gap:6px;padding:10px;display:flex}.xp-slot-head{justify-content:space-between;align-items:center;gap:6px;font-size:.85rem;display:flex}.xp-slot-empty{border:2px dashed var(--border);border-radius:var(--radius);min-height:200px;color:var(--text-3);flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.xp-picker{gap:10px;display:grid}.xp-picker-list{flex-direction:column;gap:4px;max-height:260px;display:flex;overflow:auto}.xp-picker-list button{text-align:start;justify-content:space-between;gap:8px;display:flex}.xp-url-form{gap:6px;display:flex}.xp-url-form input{flex:1;min-width:0}@media (width<=999px){.xp-desktop-only{display:none!important}}.homepref-bar{z-index:3;justify-content:flex-end;min-height:34px;padding:8px 16px 0;display:flex;position:relative}.homepref-menu{position:relative}.homepref-menu>summary{list-style:none}.homepref-menu>summary::-webkit-details-marker{display:none}.homepref-chip{border:1px solid var(--border);cursor:pointer;font:inherit;min-height:26px;font-size:.8rem}.homepref-chip:hover{background:var(--surface-hover);color:var(--text)}.homepref-pop{inset-inline-end:0;border:1px solid var(--border);background:var(--surface);border-radius:10px;flex-direction:column;align-items:stretch;gap:4px;min-width:220px;padding:8px;display:flex;position:absolute;top:calc(100% + 6px);box-shadow:0 8px 24px #00000040}.homepref-pop .btn{justify-content:flex-start}html.embed-mode,html.embed-mode body{background:var(--bg);min-height:0}.embed{flex-direction:column;gap:6px;min-height:100dvh;padding:8px;display:flex}.embed-main{flex:1;justify-content:center;min-width:0;display:flex}.embed-widget{flex-direction:column;gap:6px;width:100%;min-width:0;max-width:min(560px,100dvh - 150px);display:flex}.embed-widget .board{box-shadow:0 4px 14px #00000040}.embed-head{justify-content:space-between;align-items:center;gap:8px;min-width:0;min-height:34px;font-size:.92rem;display:flex}.embed-head .faint{font-size:.8rem}.embed-head-actions{flex:none;gap:4px;display:flex}.embed-level{flex:auto;min-width:0;max-width:180px}.embed-level .select{width:100%;min-height:32px;padding:4px 8px;font-size:.85rem}.embed-status{align-items:center;gap:8px;min-height:28px;font-size:.9rem;font-weight:600;display:flex}.embed-status .faint{margin-left:auto;font-weight:400}.embed-status.tone-good{color:var(--good)}.embed-status.tone-bad{color:var(--bad)}.embed-status .turn-dot{width:12px;height:12px}.embed-actions{gap:6px;display:flex}.embed-actions .btn{flex:1}.embed-widget .history-nav{border:0;padding:0}.embed-msg{text-align:center;padding:24px 8px}.embed-foot{justify-content:center;display:flex}.embed-foot a{color:var(--text-3);align-items:center;gap:6px;font-size:.78rem;font-weight:600;text-decoration:none;display:inline-flex}.embed-foot a:hover{color:var(--accent)}@media (width<=360px){.embed{padding:4px}.embed-head-actions .btn:not(.btn-icon){padding-inline:8px}}.hub.embed-page{max-width:1100px}.embed-builder{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:20px;display:grid}.embed-options{flex-direction:column;gap:14px;display:flex}.embed-options .form-row-2{grid-template-columns:1fr 1fr;gap:10px;display:grid}.embed-code{white-space:pre-wrap;word-break:break-all;min-height:96px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.8rem}.embed-preview{flex-direction:column;align-items:center;gap:8px;display:flex}.embed-preview iframe{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);max-width:100%}@media (width<=860px){.embed-builder{grid-template-columns:minmax(0,1fr)}}.embed-copy-row{flex-wrap:wrap;gap:8px;display:flex}.embed-head .chip{white-space:nowrap;flex:none}
