.cw-root{--bg:#f5f6fb;--surface:#fff;--fg:#151a2b;--muted:#5c6378;--line:#e2e5f0;--accent:#4f46e5;--accent-hover:#4338ca;--accent-weak:#eef2ff;--on-accent:#fff;--wrong:#dc2626;--wrong-weak:#fef2f2;--right:#15803d;--right-weak:#ecfdf3;--paper:#fff;--paper-ink:#1b1f2e;--font-body:var(--font-geist-sans), "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;--font-mono:var(--font-geist-mono), "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace}@media (prefers-color-scheme:dark){.cw-root:not([data-theme=light]){--bg:#0e1120;--surface:#161a2c;--fg:#e8eaf4;--muted:#a2a8bf;--line:#2a3050;--accent:#8b85ff;--accent-hover:#a29dff;--accent-weak:#232650;--on-accent:#0e1120;--wrong:#f87171;--wrong-weak:#3a1b20;--right:#4ade80;--right-weak:#12301f;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}.cw-root[data-theme=dark]{--bg:#0e1120;--surface:#161a2c;--fg:#e8eaf4;--muted:#a2a8bf;--line:#2a3050;--accent:#8b85ff;--accent-hover:#a29dff;--accent-weak:#232650;--on-accent:#0e1120;--wrong:#f87171;--wrong-weak:#3a1b20;--right:#4ade80;--right-weak:#12301f;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.cw-root,.cw-root *{box-sizing:border-box}.cw-root{color:var(--fg);font-family:var(--font-body);background:0 0;padding-inline:16px;font-size:15px;line-height:1.5}.cw-root .wrap{max-width:1100px;margin:0 auto;padding-block:14px 40px}.cw-root header.page{gap:4px;margin-bottom:12px;display:grid}.cw-root .eyebrow{font-family:var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:12px}.cw-root h1{text-wrap:balance;letter-spacing:-.01em;margin:0;font-size:clamp(20px,2.2vw,24px);font-weight:650;line-height:1.15}.cw-root .lede{color:var(--muted);max-width:70ch;margin:0}.cw-root details.try{max-width:70ch;color:var(--muted)}.cw-root details.try summary{cursor:pointer;color:var(--fg);font-weight:550}.cw-root details.try ol{gap:4px;margin:8px 0 0;padding-left:20px;display:grid}.cw-root details.try p{margin:8px 0 0}.cw-root .layout{grid-template-columns:minmax(0,1fr) 290px;align-items:start;gap:20px;display:grid}@media (max-width:880px){.cw-root .layout{grid-template-columns:minmax(0,1fr)}}.cw-root .player{--cell:96px;background:var(--surface);border:1px solid var(--line);border-radius:16px;gap:10px;min-width:0;padding:14px;display:grid}.cw-root .player-top{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 12px;display:flex}.cw-root .crumb{color:var(--muted);font-size:13px}.cw-root .crumb b{color:var(--fg);font-weight:600}.cw-root .qlabel{font-family:var(--font-mono);color:var(--muted);font-size:12px}.cw-root .qarea{background:var(--paper);border:1px solid var(--line);padding:calc(var(--cell) * .12);justify-content:center;align-items:flex-start;gap:calc(var(--cell) * .36);border-radius:14px;display:flex}.cw-root .stage svg{width:calc(var(--cell) * 3.48);height:auto;display:block}.cw-root .prompt{text-align:center;color:var(--muted);margin:0;font-size:13.5px}.cw-root .options{gap:calc(var(--cell) * .12);display:grid}.cw-root .qgap{display:none}.cw-root .lay-side .qarea{gap:calc(var(--cell) * .18)}.cw-root .lay-side .qgap{flex:0 1 calc(var(--cell) * .94);min-width:0;display:block}.cw-root .lay-side .options{grid-template-columns:repeat(2, var(--cell));padding-top:calc(var(--cell) * .12)}.cw-root .lay-under .qarea,.cw-root .narrow .qarea{align-items:center;gap:calc(var(--cell) * .2);flex-direction:column}.cw-root .lay-under .options{grid-template-columns:repeat(6, var(--cell))}.cw-root .narrow .options{grid-template-columns:repeat(3, var(--cell))}.cw-root .optwrap{width:var(--cell);height:var(--cell);position:relative}.cw-root .opt{cursor:pointer;outline-offset:2px;background:#fff;border:0;border-radius:1px;width:100%;height:100%;padding:0;transition:opacity .35s;display:block}.cw-root .opt svg{width:100%;height:100%;display:block}.cw-root .opt:disabled{cursor:default}.cw-root .opt.live:hover{outline:2px solid var(--accent)}.cw-root .opt:focus-visible,.cw-root button:focus-visible,.cw-root .choice:focus-visible,.cw-root input:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.cw-root .opt.tried{outline:3px solid var(--wrong)}.cw-root .opt.key{outline:3px solid var(--right)}.cw-root .opt.cut{opacity:.22}.cw-root .reason{text-align:center;white-space:nowrap;color:#b91c1c;pointer-events:none;text-shadow:0 0 1.5px #fff,0 0 1.5px #fff,0 0 3px #fff,0 0 3px #fff;background:0 0;padding:1px 2px;font-size:10.5px;line-height:1.2;position:absolute;bottom:3px;left:50%;transform:translate(-50%)}.cw-root .reason svg{filter:drop-shadow(0 0 1px #fff)drop-shadow(0 0 1px #fff)}.cw-root .reason.boxed{white-space:normal;text-shadow:none;background:#ffffffeb;border-radius:4px;left:3px;right:3px;transform:none}.cw-root .reason.boxed svg{filter:none}.cw-root .reason .tgi{vertical-align:-4px;width:16px;height:16px;margin:0 1px;overflow:visible}.cw-root .reason .sgi{vertical-align:-3px;width:14px;height:14px;margin:0 1px;overflow:visible}.cw-root .cutx{pointer-events:none;z-index:1;width:8px;height:8px;position:absolute;top:0;right:0;transform:translate(50%,-50%)}.cw-root .cutx svg{width:8px;height:8px;display:block;overflow:visible}.cw-root .tgx{vertical-align:top;width:0;height:0;display:inline-block;overflow:hidden}.cw-root .panel{border-top:1px solid var(--line);gap:6px;min-height:0;padding-top:8px;display:grid}.cw-root .status{align-items:center;gap:8px;font-size:18px;font-weight:650;display:inline-flex}.cw-root .status.right{color:var(--right)}.cw-root .status.wrong{color:var(--wrong)}.cw-root .status small{color:var(--muted);font-size:13px;font-weight:450}.cw-root .muted{color:var(--muted);margin:0}.cw-root .row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.cw-root .btn{font:inherit;border:1px solid var(--line);background:var(--surface);color:var(--fg);cursor:pointer;border-radius:10px;padding:10px 16px;font-size:14px;font-weight:600}.cw-root .btn:hover{border-color:var(--accent)}.cw-root .btn.primary{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.cw-root .btn.primary:hover{background:var(--accent-hover)}.cw-root .btn.quiet{color:var(--muted);background:0 0;border-color:#0000;padding-inline:8px}.cw-root .btn.quiet:hover{color:var(--fg)}.cw-root .btn:disabled{opacity:.45;cursor:default}.cw-root .hintbox{border:1px solid var(--line);background:var(--accent-weak);border-radius:12px;gap:4px;padding:12px 14px;display:grid}.cw-root .hintbox .tag{font-family:var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--accent);font-size:11.5px}.cw-root .drillx{grid-template-columns:minmax(0,1fr) 190px;align-items:start;gap:14px;display:grid}.cw-root .drillx dl{grid-template-columns:auto 1fr;gap:6px 14px;margin:0;font-size:14.5px;display:grid}.cw-root .drillx dt{font-weight:600}.cw-root .drillx dd{margin:0}.cw-root .drillx .solved svg{width:100%;height:auto;display:block}@media (max-width:640px){.cw-root .drillx{grid-template-columns:1fr}.cw-root .drillx .solved{max-width:220px}}.cw-root .walk{gap:6px;display:grid}.cw-root .walk-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.cw-root .moves{flex-wrap:wrap;gap:4px;display:flex}.cw-root .move{font-family:var(--font-mono);letter-spacing:.06em;text-transform:uppercase;border:1px solid var(--line);color:var(--muted);border-radius:999px;padding:2px 8px;font-size:10px}.cw-root .move.done{background:var(--accent-weak);color:var(--accent);border-color:#0000}.cw-root .move.now{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.cw-root .rulelabel{color:var(--muted);font-size:12px}.cw-root .rulelabel b{color:var(--fg);font-weight:600}.cw-root .caption{max-width:72ch;margin:0;font-size:14px;line-height:1.35}.cw-root .feedback{border-radius:8px;max-width:76ch;margin:0;padding:5px 10px;font-size:13px;line-height:1.4}.cw-root .feedback.ok{background:var(--right-weak)}.cw-root .feedback.no{background:var(--wrong-weak)}.cw-root .feedback.info{background:var(--accent-weak)}.cw-root .choices{flex-wrap:wrap;gap:5px;display:flex}.cw-root .checkrow{margin-top:6px}.cw-root .checkrow .btn{padding:9px 18px}.cw-root .choice{font:inherit;border:1.5px solid var(--line);background:var(--surface);color:var(--fg);cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:4px 9px;font-size:12.5px;line-height:1.3;display:inline-flex}.cw-root .choice:hover:not(:disabled){border-color:var(--accent)}.cw-root .choice:disabled{cursor:default}.cw-root .choice.sel{border-color:var(--accent);background:var(--accent-weak)}.cw-root .choice.correct{border-color:var(--right);background:var(--right-weak)}.cw-root .choice.picked-wrong{border-color:var(--wrong);background:var(--wrong-weak)}.cw-root .choice.dir{justify-content:center;width:48px;height:48px;padding:0}.cw-root .choice.dir svg{width:30px;height:30px}.cw-root .choices.tiles{gap:5px}.cw-root .choice.tile{text-align:center;flex-direction:column;gap:1px;width:100px;padding:3px 2px;font-size:10.5px;line-height:1.1}.cw-root .choice.tile svg{background:#fff;border-radius:2px;width:32px;height:32px;display:block}.cw-root .choice.tile.missed{border-style:dashed}.cw-root .walk-foot{justify-content:space-between;align-items:center;gap:10px;display:flex}.cw-root .walk-foot .btn{border-radius:8px;padding:5px 12px;font-size:13px}.cw-root .walk-head .rulelabel{flex:auto;min-width:0}.cw-root .choose{color:var(--accent);margin:2px 0 -2px;font-size:12px;font-weight:600}.cw-root .dots{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.cw-root .dot{background:var(--line);border-radius:50%;width:8px;height:8px}.cw-root .dot.past{background:var(--accent);opacity:.45}.cw-root .dot.on{background:var(--accent)}.cw-root .cardbox{border:1px solid var(--line);border-radius:14px;gap:12px;padding:16px;display:grid}.cw-root .cardbox h3{margin:0;font-size:17px;font-weight:650}.cw-root .cardbox dl{grid-template-columns:max-content minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.cw-root .cardbox dt{font-family:var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding-top:2px;font-size:11.5px}.cw-root .cardbox dd{margin:0}@media (max-width:480px){.cw-root .cardbox dl{grid-template-columns:minmax(0,1fr)}}.cw-root .whylist{gap:8px;margin:0;padding:0;list-style:none;display:grid}.cw-root .whylist li{grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px;display:grid}.cw-root .whylist .mini{background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:2px}.cw-root .whylist .mini svg{width:100%;display:block}.cw-root .controls{background:var(--surface);border:1px solid var(--line);top:calc(16px + env(safe-area-inset-top,0px));border-radius:16px;gap:16px;padding:16px;display:grid;position:sticky}@media (max-width:880px){.cw-root .controls{position:static}}.cw-root .controls h2{font-family:var(--font-mono);letter-spacing:.07em;text-transform:uppercase;color:var(--muted);margin:0;font-size:12px;font-weight:500}.cw-root .ctl{gap:8px;display:grid}.cw-root .ctl .row .btn{padding:7px 11px;font-size:13px}.cw-root .toggle{cursor:pointer;align-items:flex-start;gap:10px;font-size:14px;display:flex}.cw-root .toggle input{accent-color:var(--accent);flex:none;width:16px;height:16px;margin-top:3px}.cw-root .toggle span small{color:var(--muted);font-size:12.5px;display:block}.cw-root .budget{color:var(--muted);background:var(--bg);border-radius:10px;padding:10px 12px;font-size:13px;line-height:1.6}.cw-root .budget b{color:var(--fg);font-weight:600}.cw-root .qgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.cw-root .qgrid .btn{text-align:left;padding:6px 8px;font-size:12.5px}.cw-root .ctl .btn.on{border-color:var(--accent);background:var(--accent-weak)}.cw-root .reviewnote{background:var(--accent-weak);color:var(--fg);border-radius:10px;padding:10px 12px;font-size:13px;line-height:1.45}.cw-root .src{color:var(--muted);margin:0;font-size:12.5px}.cw-root .src code{font-family:var(--font-mono);font-size:12px}.cw-root .m{transition:opacity .3s}.cw-root .choice .sw{vertical-align:-3px;width:16px;height:16px;margin-right:6px}@media (prefers-reduced-motion:reduce){.cw-root .m,.cw-root .opt{transition:none}}.cw-root .player.core .qarea{align-items:center}.cw-root .player.core.lay-side .options{padding-top:0}.cw-root .player.core .options.two{grid-template-columns:repeat(2, var(--cell))}.cw-root .player.core .options.three{grid-template-columns:repeat(3, var(--cell))}.cw-root .player.core .optwrap{height:calc(var(--cell) + 18px);padding-top:18px}.cw-root .player.core .optwrap .cutx{top:18px;left:0;right:auto;transform:translate(-50%,-50%)}.cw-root .player.core .opt.cut{opacity:1;outline-offset:-2px;background:#fff;outline:2.5px dashed #d45d5d}.cw-root .player.core .opt.cut svg{opacity:1}.cw-root .player.core .opt.cut.pick{outline:none}.cw-root .player.core .pring{width:var(--cell);height:var(--cell);outline:3px solid var(--wrong);outline-offset:2px;pointer-events:none;border-radius:1px;position:absolute;top:18px;left:0}.cw-root .player.core.hue .pring{outline-style:dashed}.cw-root .player.core.nohover .choice:hover:not(:disabled){border-color:var(--line)}.cw-root .player.core.nohover .opt.live:hover{outline:none}.cw-root .player.core .drillx dd.gen{font-weight:500}.cw-root .player.core .opt{height:var(--cell)}.cw-root .player.core .olet{font-family:var(--font-body);color:#6b7280;font-size:11px;font-weight:600;line-height:12px;position:absolute;top:2px;left:1px}.cw-root .player.core .omark{font-family:var(--font-body);white-space:nowrap;font-size:10.5px;font-weight:650;line-height:14px;position:absolute;top:1px;right:1px}.cw-root .player.core .omark.ans{color:var(--right)}.cw-root .player.core .omark.pick{color:var(--wrong)}.cw-root .player.core.hue .opt.tried{outline-style:dashed}.cw-root .player.core .choice.correct:before{content:"✓"}.cw-root .player.core .choice.picked-wrong:before{content:"✕"}.cw-root .player.core .drillx dd.pre{white-space:pre-line}.cw-root #genpick{max-width:256px}.cw-root .player.core .choice.tile.bare{width:52px;padding:3px}.cw-root .player.core .choice.tile.bare svg{width:44px;height:44px}
