.chess-module__Se3PfG__page{color:#222;width:100%;height:100dvh;font-family:var(--font-geist-sans);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fff;position:relative;overflow:hidden}.chess-module__Se3PfG__surface{width:min(var(--board-size), calc(100vw - 64px), 90dvh);aspect-ratio:1;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.chess-module__Se3PfG__board{aspect-ratio:1;width:100%;position:relative}.chess-module__Se3PfG__relationOverlay{z-index:2;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.chess-module__Se3PfG__moveRelation{fill:none;stroke:#111;stroke-dasharray:1;stroke-dashoffset:1px;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.75px;opacity:.88;vector-effect:non-scaling-stroke;animation:chess-module__Se3PfG__relation-draw .13s cubic-bezier(.25, .7, .35, 1) var(--edge-delay) both}.chess-module__Se3PfG__attackRelation{fill:none;stroke:#b4232d;stroke-dasharray:.035 .045;stroke-dashoffset:1px;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.25px;opacity:.72;vector-effect:non-scaling-stroke;animation:chess-module__Se3PfG__attack-draw .15s cubic-bezier(.25, .7, .35, 1) var(--edge-delay) both}.chess-module__Se3PfG__edgeLabel{fill:#111;letter-spacing:0;opacity:0;pointer-events:none;animation:chess-module__Se3PfG__edge-label-in 80ms ease-out var(--edge-delay) both;font-family:Times New Roman,Times,serif}.chess-module__Se3PfG__steadyEdges .chess-module__Se3PfG__moveRelation,.chess-module__Se3PfG__steadyEdges .chess-module__Se3PfG__attackRelation{stroke-dashoffset:0;animation:none}.chess-module__Se3PfG__steadyEdges .chess-module__Se3PfG__edgeLabel{opacity:1;animation:none}.chess-module__Se3PfG__squares{grid-template:repeat(8,1fr)/repeat(8,1fr);width:100%;height:100%;display:grid}.chess-module__Se3PfG__page button{cursor:pointer;-webkit-tap-highlight-color:transparent}.chess-module__Se3PfG__square{background:#f1f1f1;border:0;place-items:center;min-width:0;padding:0;display:grid;position:relative}.chess-module__Se3PfG__dark{background:#bcbcbc}.chess-module__Se3PfG__square[data-last=true]{box-shadow:inset 0 0 0 2px #888}.chess-module__Se3PfG__square[data-selected=true],.chess-module__Se3PfG__square[data-check=true]{box-shadow:inset 0 0 0 3px #222}.chess-module__Se3PfG__square svg{z-index:1;pointer-events:none;width:78%;height:78%;position:relative}.chess-module__Se3PfG__semanticPiece{z-index:1;letter-spacing:0;pointer-events:none;text-align:center;white-space:normal;justify-items:center;max-width:100%;font:clamp(9px,1.45vw,20px)/.96 Times New Roman,Times,serif;display:inline-grid;position:relative}.chess-module__Se3PfG__semanticPiece>span{display:block}.chess-module__Se3PfG__square[data-legal=true]:after{content:"";background:#2226;border-radius:50%;width:15%;height:15%;position:absolute}.chess-module__Se3PfG__square[data-legal=true][data-occupied=true]:after{background:0 0;border:2px solid #2228;width:86%;height:86%}.chess-module__Se3PfG__page :is(button,summary,select,[tabindex="0"]):focus-visible{outline-offset:2px;outline:2px solid #111}.chess-module__Se3PfG__square:focus-visible{z-index:2;outline-offset:-3px!important}.chess-module__Se3PfG__teamPanels{z-index:5;pointer-events:none;position:absolute;inset:0}.chess-module__Se3PfG__teamPanel{color:#222;width:clamp(130px,13vw,220px);font:.78rem/1.1 Times New Roman,Times,serif;position:absolute;top:50%;transform:translateY(-50%)}.chess-module__Se3PfG__whiteTeam{text-align:left;left:32px}.chess-module__Se3PfG__blackTeam{text-align:right;right:32px}.chess-module__Se3PfG__teamName{margin:0 0 .85rem;font-size:1rem}.chess-module__Se3PfG__teamPanel dl{margin:0}.chess-module__Se3PfG__teamPanel dl>div{align-items:baseline;gap:.5rem;margin-block:.38rem;display:grid}.chess-module__Se3PfG__whiteTeam dl>div{grid-template-columns:3.65rem minmax(0,1fr)}.chess-module__Se3PfG__blackTeam dl>div{grid-template-columns:minmax(0,1fr) 3.65rem}.chess-module__Se3PfG__teamPanel dt{color:#777;font-size:.64rem}.chess-module__Se3PfG__teamPanel dd{overflow-wrap:anywhere;min-width:0;margin:0}.chess-module__Se3PfG__controls{z-index:6;color:#222;font:.64rem var(--font-geist-mono), monospace;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:32px;left:50%;transform:translate(-50%)}.chess-module__Se3PfG__controlPanel{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem 1.5rem;width:min(100vw - 64px,960px);display:flex;position:absolute;bottom:calc(100% + 12px);left:50%;transform:translate(-50%)}.chess-module__Se3PfG__expandButton{color:#666;font:inherit;background:0 0;border:0;border-bottom:1px solid #0000;padding:.35rem 0}.chess-module__Se3PfG__expandButton:hover,.chess-module__Se3PfG__expandButton[aria-expanded=true]{color:#111;border-bottom-color:currentColor}.chess-module__Se3PfG__controlActions,.chess-module__Se3PfG__actions{flex-wrap:wrap;align-items:center;gap:1.15rem;display:flex}.chess-module__Se3PfG__actions button,.chess-module__Se3PfG__history summary{color:#666;cursor:pointer;font:inherit;background:0 0;border:0;border-bottom:1px solid #0000;padding:.35rem 0}.chess-module__Se3PfG__actions button:hover,.chess-module__Se3PfG__actions button[aria-pressed=true],.chess-module__Se3PfG__history[open] summary{color:#111;border-bottom-color:currentColor}.chess-module__Se3PfG__actions button:disabled{opacity:.3;cursor:default;border-bottom-color:#0000}.chess-module__Se3PfG__parameter{color:#666;align-items:center;gap:.55rem;display:flex}.chess-module__Se3PfG__parameter input{accent-color:#222;cursor:ew-resize;width:clamp(5.5rem,10vw,9rem);margin:0}.chess-module__Se3PfG__parameter output{color:#111;text-align:right;min-width:2.55rem}.chess-module__Se3PfG__history{position:relative}.chess-module__Se3PfG__history summary{list-style:none}.chess-module__Se3PfG__history summary::-webkit-details-marker{display:none}.chess-module__Se3PfG__moves{background:#fff;outline:1px solid #ddd;width:190px;max-height:180px;padding:12px;position:absolute;bottom:calc(100% + 12px);right:0;overflow:auto}.chess-module__Se3PfG__moveRow{grid-template-columns:32px 1fr 1fr;padding-block:5px;display:grid}.chess-module__Se3PfG__result{text-align:center;width:100%;font:.64rem var(--font-geist-mono), monospace;position:absolute;top:calc(100% + 16px)}.chess-module__Se3PfG__promotion{z-index:5;background:#fffffff2;flex-direction:column;justify-content:center;align-items:center;gap:16px;display:flex;position:absolute;inset:0}.chess-module__Se3PfG__promotionChoices{display:flex}.chess-module__Se3PfG__promotionChoices button{width:clamp(40px,8vw,72px);height:clamp(40px,8vw,72px)}.chess-module__Se3PfG__promotionChoices button:hover{background:#eee}.chess-module__Se3PfG__promotionChoices svg{width:100%;height:100%}.chess-module__Se3PfG__textButton{min-height:44px;font-size:12px}.chess-module__Se3PfG__srOnly{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes chess-module__Se3PfG__relation-draw{0%{opacity:0;stroke-dashoffset:1px}to{opacity:.88;stroke-dashoffset:0}}@keyframes chess-module__Se3PfG__attack-draw{0%{opacity:0;stroke-dashoffset:1px}to{opacity:.72;stroke-dashoffset:0}}@keyframes chess-module__Se3PfG__edge-label-in{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.chess-module__Se3PfG__moveRelation,.chess-module__Se3PfG__attackRelation,.chess-module__Se3PfG__edgeLabel{animation-duration:.01ms}}@media (max-width:640px){.chess-module__Se3PfG__controls{bottom:16px}.chess-module__Se3PfG__controlPanel{width:calc(100vw - 32px)}.chess-module__Se3PfG__whiteTeam{left:16px}.chess-module__Se3PfG__blackTeam{right:16px}.chess-module__Se3PfG__controlActions{gap:.5rem 1.15rem}.chess-module__Se3PfG__surface{width:min(var(--board-size), calc(100vw - 32px), 90dvh)}}
.chess-module__Qpv0ga__page{--paper:#fff;--ink:#111;--attack:#b4232d;--muted:#666;--motion-cell:#111;--motion-piece:#fff;background:var(--paper);width:100%;height:100dvh;color:var(--ink);font-family:var(--font-geist-sans);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;position:relative;overflow:hidden}.chess-module__Qpv0ga__page[data-theme=dark]{--paper:#111;--ink:#fff;--attack:#ff1838;--muted:#aaa;--motion-cell:#fff;--motion-piece:#111;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.chess-module__Qpv0ga__surface{width:min(var(--board-size), calc(100vw - 64px), 90dvh);aspect-ratio:1;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.chess-module__Qpv0ga__board{aspect-ratio:1;width:100%;position:relative}.chess-module__Qpv0ga__relationOverlay{z-index:2;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.chess-module__Qpv0ga__moveRelation{fill:none;stroke:var(--ink);stroke-dasharray:none;stroke-dashoffset:0;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.75px;opacity:.88;vector-effect:non-scaling-stroke;animation:chess-module__Qpv0ga__relation-draw .13s cubic-bezier(.25, .7, .35, 1) var(--edge-delay) both}.chess-module__Qpv0ga__attackRelation{fill:none;stroke:var(--attack);stroke-dasharray:none;stroke-dashoffset:0;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.25px;opacity:.72;vector-effect:non-scaling-stroke;animation:chess-module__Qpv0ga__attack-draw .15s cubic-bezier(.25, .7, .35, 1) var(--edge-delay) both}.chess-module__Qpv0ga__edgeLabel{fill:var(--ink);letter-spacing:0;opacity:0;pointer-events:none;animation:chess-module__Qpv0ga__edge-label-in 80ms ease-out var(--edge-delay) both;font-family:Times New Roman,Times,serif}.chess-module__Qpv0ga__motionTarget{opacity:0}.chess-module__Qpv0ga__motionTrack{z-index:3;width:12.5%;height:12.5%;animation:chess-module__Qpv0ga__motion-track var(--motion-travel-duration) var(--motion-fade-in-duration) cubic-bezier(.22, .72, .2, 1) both;pointer-events:none;position:absolute}.chess-module__Qpv0ga__motionFadeIn,.chess-module__Qpv0ga__motionFadeOut{width:100%;height:100%}.chess-module__Qpv0ga__motionFadeIn{animation:chess-module__Qpv0ga__motion-fade-in var(--motion-fade-in-duration) ease-out both}.chess-module__Qpv0ga__motionFadeOut{animation:chess-module__Qpv0ga__motion-fade-out var(--motion-fade-out-duration) var(--motion-fade-out-delay) ease-in both}.chess-module__Qpv0ga__motionCell{background:var(--motion-cell);width:100%;height:100%}.chess-module__Qpv0ga__motionRelations{z-index:2;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.chess-module__Qpv0ga__differenceRelations,.chess-module__Qpv0ga__differenceMotionRelations{z-index:4;clip-path:inset(var(--motion-from-y) calc(87.5% - var(--motion-from-x)) calc(87.5% - var(--motion-from-y)) var(--motion-from-x));mix-blend-mode:difference;pointer-events:none;animation:chess-module__Qpv0ga__motion-clip var(--motion-travel-duration) var(--motion-fade-in-duration) cubic-bezier(.22, .72, .2, 1) both;position:absolute;inset:0;overflow:hidden}.chess-module__Qpv0ga__differenceRelations .chess-module__Qpv0ga__relationOverlay,.chess-module__Qpv0ga__differenceMotionRelations .chess-module__Qpv0ga__motionRelations{filter:invert()}.chess-module__Qpv0ga__page[data-theme=dark] .chess-module__Qpv0ga__differenceRelations .chess-module__Qpv0ga__relationOverlay,.chess-module__Qpv0ga__page[data-theme=dark] .chess-module__Qpv0ga__differenceMotionRelations .chess-module__Qpv0ga__motionRelations{filter:none}.chess-module__Qpv0ga__motionPotentialRelation{opacity:.88;animation:none}.chess-module__Qpv0ga__motionPotentialLabel{opacity:1;animation:none}.chess-module__Qpv0ga__motionPiece{width:100%;height:100%;color:var(--motion-piece);place-items:center;display:grid}.chess-module__Qpv0ga__motionPiece .chess-module__Qpv0ga__semanticPiece{color:inherit}.chess-module__Qpv0ga__aggregateCanvas{z-index:1;opacity:0;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.chess-module__Qpv0ga__aggregateCanvas[data-visible=true]{opacity:1}.chess-module__Qpv0ga__squares{z-index:3;border-top:1px solid var(--ink);border-left:1px solid var(--ink);grid-template:repeat(8,1fr)/repeat(8,1fr);width:100%;height:100%;display:grid;position:relative}.chess-module__Qpv0ga__page button{cursor:pointer;-webkit-tap-highlight-color:transparent}.chess-module__Qpv0ga__square{box-sizing:border-box;border:0;border-right:1px solid var(--ink);border-bottom:1px solid var(--ink);min-width:0;color:inherit;background:0 0;place-items:center;padding:0;display:grid;position:relative}.chess-module__Qpv0ga__dark{background:0 0}.chess-module__Qpv0ga__square[data-last=true]{box-shadow:inset 0 0 0 2px #888}.chess-module__Qpv0ga__square[data-selected=true],.chess-module__Qpv0ga__square[data-check=true]{box-shadow:inset 0 0 0 3px var(--ink)}.chess-module__Qpv0ga__square svg{z-index:1;pointer-events:none;width:78%;height:78%;position:relative}.chess-module__Qpv0ga__semanticPiece{z-index:1;letter-spacing:0;pointer-events:none;text-align:center;white-space:normal;justify-items:center;max-width:100%;font:clamp(9px,1.45vw,20px)/.96 Times New Roman,Times,serif;display:inline-grid;position:relative}.chess-module__Qpv0ga__semanticPiece>span{display:block}.chess-module__Qpv0ga__square[data-legal=true]:after{content:"";background:var(--ink);opacity:.35;border-radius:50%;width:15%;height:15%;position:absolute}.chess-module__Qpv0ga__square[data-legal=true][data-occupied=true]:after{border:2px solid var(--ink);opacity:.5;background:0 0;width:86%;height:86%}.chess-module__Qpv0ga__page :is(button,summary,select,[tabindex="0"]):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.chess-module__Qpv0ga__square:focus-visible{z-index:2;outline-offset:-3px!important}.chess-module__Qpv0ga__controls{z-index:6;color:var(--ink);font:.64rem var(--font-geist-mono), monospace;flex-direction:column;align-items:flex-end;display:flex;position:absolute;top:50%;right:32px;transform:translateY(-50%)}.chess-module__Qpv0ga__controlPanel{flex-direction:column;align-items:flex-end;gap:1.1rem;width:max-content;display:flex;position:absolute;top:50%;right:calc(100% + 20px);transform:translateY(-50%)}.chess-module__Qpv0ga__expandButton{color:var(--muted);font:inherit;background:0 0;border:0;border-bottom:1px solid #0000;padding:.35rem 0}.chess-module__Qpv0ga__expandButton:hover,.chess-module__Qpv0ga__expandButton[aria-expanded=true]{color:var(--ink);border-bottom-color:currentColor}.chess-module__Qpv0ga__controlActions{flex-direction:column;align-items:flex-end;gap:1.1rem;display:flex}.chess-module__Qpv0ga__actions{flex-direction:column;align-items:flex-end;gap:.25rem;display:flex}.chess-module__Qpv0ga__actions button,.chess-module__Qpv0ga__history summary{color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0;border-bottom:1px solid #0000;padding:.35rem 0}.chess-module__Qpv0ga__actions button:hover,.chess-module__Qpv0ga__actions button[aria-pressed=true],.chess-module__Qpv0ga__history[open] summary{color:var(--ink);border-bottom-color:currentColor}.chess-module__Qpv0ga__actions button:disabled{opacity:.3;cursor:default;border-bottom-color:#0000}.chess-module__Qpv0ga__parameter{color:var(--muted);justify-content:flex-end;align-items:center;gap:.55rem;display:flex}.chess-module__Qpv0ga__parameter input{width:clamp(5.5rem,10vw,9rem);accent-color:var(--ink);cursor:ew-resize;margin:0}.chess-module__Qpv0ga__parameter output{min-width:2.55rem;color:var(--ink);text-align:right}.chess-module__Qpv0ga__history{position:relative}.chess-module__Qpv0ga__history summary{list-style:none}.chess-module__Qpv0ga__history summary::-webkit-details-marker{display:none}.chess-module__Qpv0ga__moves{background:var(--paper);outline:1px solid var(--muted);width:190px;max-height:180px;padding:12px;position:absolute;bottom:calc(100% + 12px);right:0;overflow:auto}.chess-module__Qpv0ga__moveRow{grid-template-columns:32px 1fr 1fr;padding-block:5px;display:grid}.chess-module__Qpv0ga__result{text-align:center;width:100%;font:.64rem var(--font-geist-mono), monospace;position:absolute;top:calc(100% + 16px)}.chess-module__Qpv0ga__promotion{z-index:5;background:#fffffff2;flex-direction:column;justify-content:center;align-items:center;gap:16px;display:flex;position:absolute;inset:0}.chess-module__Qpv0ga__promotionChoices{display:flex}.chess-module__Qpv0ga__promotionChoices button{width:clamp(40px,8vw,72px);height:clamp(40px,8vw,72px)}.chess-module__Qpv0ga__promotionChoices button:hover{background:#eee}.chess-module__Qpv0ga__promotionChoices svg{width:100%;height:100%}.chess-module__Qpv0ga__textButton{min-height:44px;font-size:12px}.chess-module__Qpv0ga__srOnly{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes chess-module__Qpv0ga__relation-draw{0%{opacity:0;stroke-dashoffset:1px}to{opacity:.88;stroke-dashoffset:0}}@keyframes chess-module__Qpv0ga__attack-draw{0%{opacity:0;stroke-dashoffset:1px}to{opacity:.72;stroke-dashoffset:0}}@keyframes chess-module__Qpv0ga__edge-label-in{0%{opacity:0}to{opacity:1}}@keyframes chess-module__Qpv0ga__motion-track{0%{top:var(--motion-from-y);left:var(--motion-from-x)}to{top:var(--motion-to-y);left:var(--motion-to-x)}}@keyframes chess-module__Qpv0ga__motion-clip{0%{clip-path:inset(var(--motion-from-y) calc(87.5% - var(--motion-from-x)) calc(87.5% - var(--motion-from-y)) var(--motion-from-x))}to{clip-path:inset(var(--motion-to-y) calc(87.5% - var(--motion-to-x)) calc(87.5% - var(--motion-to-y)) var(--motion-to-x))}}@keyframes chess-module__Qpv0ga__motion-fade-in{0%{opacity:0}to{opacity:1}}@keyframes chess-module__Qpv0ga__motion-fade-out{0%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.chess-module__Qpv0ga__moveRelation,.chess-module__Qpv0ga__attackRelation,.chess-module__Qpv0ga__edgeLabel,.chess-module__Qpv0ga__motionTrack,.chess-module__Qpv0ga__motionFadeIn,.chess-module__Qpv0ga__motionFadeOut,.chess-module__Qpv0ga__differenceRelations,.chess-module__Qpv0ga__differenceMotionRelations,.chess-module__Qpv0ga__motionPotentialRelation,.chess-module__Qpv0ga__motionPotentialLabel{animation-duration:.01ms;animation-delay:0s}}@media (max-width:640px){.chess-module__Qpv0ga__controls{top:auto;bottom:16px;right:16px;transform:none}.chess-module__Qpv0ga__controlPanel{top:auto;bottom:calc(100% + 12px);right:0;transform:none}.chess-module__Qpv0ga__surface{width:min(var(--board-size), calc(100vw - 32px), 90dvh)}}
.chess-module__qMCbGa__page{--paper:#fff;--ink:#111;--attack:#b4232d;--muted:#666;--motion-cell:#111;--motion-piece:#fff;background:var(--paper);width:100%;height:100dvh;color:var(--ink);font-family:var(--font-geist-sans);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;position:relative;overflow:hidden}.chess-module__qMCbGa__page[data-theme=dark]{--paper:#111;--ink:#fff;--attack:#ff1838;--muted:#aaa;--motion-cell:#fff;--motion-piece:#111;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.chess-module__qMCbGa__surface{width:min(var(--board-size), calc(100vw - 64px), 90dvh);aspect-ratio:1;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.chess-module__qMCbGa__board{aspect-ratio:1;width:100%;position:relative}.chess-module__qMCbGa__twistedCanvas{z-index:2;position:absolute;inset:0;overflow:hidden}.chess-module__qMCbGa__twistedCanvas canvas{touch-action:none;display:block;width:100%!important;height:100%!important}.chess-module__qMCbGa__page[data-space=twisted] .chess-module__qMCbGa__aggregateCanvas{display:none}.chess-module__qMCbGa__page[data-space=twisted] :is(.chess-module__qMCbGa__relationOverlay,.chess-module__qMCbGa__squares,.chess-module__qMCbGa__motionTrack,.chess-module__qMCbGa__motionRelations,.chess-module__qMCbGa__differenceRelations,.chess-module__qMCbGa__differenceMotionRelations){visibility:hidden}.chess-module__qMCbGa__relationOverlay{z-index:2;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.chess-module__qMCbGa__moveRelation{fill:none;stroke:var(--ink);stroke-dasharray:none;stroke-dashoffset:0;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.75px;opacity:.88;vector-effect:non-scaling-stroke;animation:chess-module__qMCbGa__relation-draw .13s cubic-bezier(.25, .7, .35, 1) var(--edge-delay) both}.chess-module__qMCbGa__attackRelation{fill:none;stroke:var(--attack);stroke-dasharray:none;stroke-dashoffset:0;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.25px;opacity:.72;vector-effect:non-scaling-stroke;animation:chess-module__qMCbGa__attack-draw .15s cubic-bezier(.25, .7, .35, 1) var(--edge-delay) both}.chess-module__qMCbGa__edgeLabel{fill:var(--ink);letter-spacing:0;opacity:0;pointer-events:none;animation:chess-module__qMCbGa__edge-label-in 80ms ease-out var(--edge-delay) both;font-family:Times New Roman,Times,serif}.chess-module__qMCbGa__motionTarget{opacity:0}.chess-module__qMCbGa__motionTrack{z-index:3;width:12.5%;height:12.5%;animation:chess-module__qMCbGa__motion-track var(--motion-travel-duration) var(--motion-fade-in-duration) cubic-bezier(.22, .72, .2, 1) both;pointer-events:none;position:absolute}.chess-module__qMCbGa__motionFadeIn,.chess-module__qMCbGa__motionFadeOut{width:100%;height:100%}.chess-module__qMCbGa__motionFadeIn{animation:chess-module__qMCbGa__motion-fade-in var(--motion-fade-in-duration) ease-out both}.chess-module__qMCbGa__motionFadeOut{animation:chess-module__qMCbGa__motion-fade-out var(--motion-fade-out-duration) var(--motion-fade-out-delay) ease-in both}.chess-module__qMCbGa__motionCell{background:var(--motion-cell);width:100%;height:100%}.chess-module__qMCbGa__motionRelations{z-index:2;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.chess-module__qMCbGa__differenceRelations,.chess-module__qMCbGa__differenceMotionRelations{z-index:4;clip-path:inset(var(--motion-from-y) calc(87.5% - var(--motion-from-x)) calc(87.5% - var(--motion-from-y)) var(--motion-from-x));mix-blend-mode:difference;pointer-events:none;animation:chess-module__qMCbGa__motion-clip var(--motion-travel-duration) var(--motion-fade-in-duration) cubic-bezier(.22, .72, .2, 1) both;position:absolute;inset:0;overflow:hidden}.chess-module__qMCbGa__differenceRelations .chess-module__qMCbGa__relationOverlay,.chess-module__qMCbGa__differenceMotionRelations .chess-module__qMCbGa__motionRelations{filter:invert()}.chess-module__qMCbGa__page[data-theme=dark] .chess-module__qMCbGa__differenceRelations .chess-module__qMCbGa__relationOverlay,.chess-module__qMCbGa__page[data-theme=dark] .chess-module__qMCbGa__differenceMotionRelations .chess-module__qMCbGa__motionRelations{filter:none}.chess-module__qMCbGa__motionPotentialRelation{opacity:.88;animation:none}.chess-module__qMCbGa__motionPotentialLabel{opacity:1;animation:none}.chess-module__qMCbGa__motionPiece{width:100%;height:100%;color:var(--motion-piece);place-items:center;display:grid}.chess-module__qMCbGa__motionPiece .chess-module__qMCbGa__semanticPiece{color:inherit}.chess-module__qMCbGa__aggregateCanvas{z-index:1;opacity:0;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.chess-module__qMCbGa__aggregateCanvas[data-visible=true]{opacity:1}.chess-module__qMCbGa__squares{z-index:3;border-top:1px solid var(--ink);border-left:1px solid var(--ink);grid-template:repeat(8,1fr)/repeat(8,1fr);width:100%;height:100%;display:grid;position:relative}.chess-module__qMCbGa__page button{cursor:pointer;-webkit-tap-highlight-color:transparent}.chess-module__qMCbGa__square{box-sizing:border-box;border:0;border-right:1px solid var(--ink);border-bottom:1px solid var(--ink);min-width:0;color:inherit;background:0 0;place-items:center;padding:0;display:grid;position:relative}.chess-module__qMCbGa__dark{background:0 0}.chess-module__qMCbGa__square[data-last=true]{box-shadow:inset 0 0 0 2px #888}.chess-module__qMCbGa__square[data-selected=true],.chess-module__qMCbGa__square[data-check=true]{box-shadow:inset 0 0 0 3px var(--ink)}.chess-module__qMCbGa__square svg{z-index:1;pointer-events:none;width:78%;height:78%;position:relative}.chess-module__qMCbGa__semanticPiece{z-index:1;letter-spacing:0;pointer-events:none;text-align:center;white-space:normal;justify-items:center;max-width:100%;font:clamp(9px,1.45vw,20px)/.96 Times New Roman,Times,serif;display:inline-grid;position:relative}.chess-module__qMCbGa__semanticPiece>span{display:block}.chess-module__qMCbGa__square[data-legal=true]:after{content:"";background:var(--ink);opacity:.35;border-radius:50%;width:15%;height:15%;position:absolute}.chess-module__qMCbGa__square[data-legal=true][data-occupied=true]:after{border:2px solid var(--ink);opacity:.5;background:0 0;width:86%;height:86%}.chess-module__qMCbGa__page :is(button,summary,select,[tabindex="0"]):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.chess-module__qMCbGa__square:focus-visible{z-index:2;outline-offset:-3px!important}.chess-module__qMCbGa__controls{z-index:6;color:var(--ink);font:.64rem var(--font-geist-mono), monospace;flex-direction:column;align-items:flex-end;display:flex;position:absolute;top:50%;right:32px;transform:translateY(-50%)}.chess-module__qMCbGa__controlPanel{flex-direction:column;align-items:flex-end;gap:1.1rem;width:max-content;display:flex;position:absolute;top:50%;right:calc(100% + 20px);transform:translateY(-50%)}.chess-module__qMCbGa__expandButton{color:var(--muted);font:inherit;background:0 0;border:0;border-bottom:1px solid #0000;padding:.35rem 0}.chess-module__qMCbGa__expandButton:hover,.chess-module__qMCbGa__expandButton[aria-expanded=true]{color:var(--ink);border-bottom-color:currentColor}.chess-module__qMCbGa__controlActions{flex-direction:column;align-items:flex-end;gap:1.1rem;display:flex}.chess-module__qMCbGa__actions{flex-direction:column;align-items:flex-end;gap:.25rem;display:flex}.chess-module__qMCbGa__actions button,.chess-module__qMCbGa__history summary{color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0;border-bottom:1px solid #0000;padding:.35rem 0}.chess-module__qMCbGa__actions button:hover,.chess-module__qMCbGa__actions button[aria-pressed=true],.chess-module__qMCbGa__history[open] summary{color:var(--ink);border-bottom-color:currentColor}.chess-module__qMCbGa__actions button:disabled{opacity:.3;cursor:default;border-bottom-color:#0000}.chess-module__qMCbGa__parameter{color:var(--muted);justify-content:flex-end;align-items:center;gap:.55rem;display:flex}.chess-module__qMCbGa__parameter input{width:clamp(5.5rem,10vw,9rem);accent-color:var(--ink);cursor:ew-resize;margin:0}.chess-module__qMCbGa__parameter output{min-width:2.55rem;color:var(--ink);text-align:right}.chess-module__qMCbGa__history{position:relative}.chess-module__qMCbGa__history summary{list-style:none}.chess-module__qMCbGa__history summary::-webkit-details-marker{display:none}.chess-module__qMCbGa__moves{background:var(--paper);outline:1px solid var(--muted);width:190px;max-height:180px;padding:12px;position:absolute;bottom:calc(100% + 12px);right:0;overflow:auto}.chess-module__qMCbGa__moveRow{grid-template-columns:32px 1fr 1fr;padding-block:5px;display:grid}.chess-module__qMCbGa__result{text-align:center;width:100%;font:.64rem var(--font-geist-mono), monospace;position:absolute;top:calc(100% + 16px)}.chess-module__qMCbGa__promotion{z-index:5;background:#fffffff2;flex-direction:column;justify-content:center;align-items:center;gap:16px;display:flex;position:absolute;inset:0}.chess-module__qMCbGa__promotionChoices{display:flex}.chess-module__qMCbGa__promotionChoices button{width:clamp(40px,8vw,72px);height:clamp(40px,8vw,72px)}.chess-module__qMCbGa__promotionChoices button:hover{background:#eee}.chess-module__qMCbGa__promotionChoices svg{width:100%;height:100%}.chess-module__qMCbGa__textButton{min-height:44px;font-size:12px}.chess-module__qMCbGa__srOnly{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes chess-module__qMCbGa__relation-draw{0%{opacity:0;stroke-dashoffset:1px}to{opacity:.88;stroke-dashoffset:0}}@keyframes chess-module__qMCbGa__attack-draw{0%{opacity:0;stroke-dashoffset:1px}to{opacity:.72;stroke-dashoffset:0}}@keyframes chess-module__qMCbGa__edge-label-in{0%{opacity:0}to{opacity:1}}@keyframes chess-module__qMCbGa__motion-track{0%{top:var(--motion-from-y);left:var(--motion-from-x)}to{top:var(--motion-to-y);left:var(--motion-to-x)}}@keyframes chess-module__qMCbGa__motion-clip{0%{clip-path:inset(var(--motion-from-y) calc(87.5% - var(--motion-from-x)) calc(87.5% - var(--motion-from-y)) var(--motion-from-x))}to{clip-path:inset(var(--motion-to-y) calc(87.5% - var(--motion-to-x)) calc(87.5% - var(--motion-to-y)) var(--motion-to-x))}}@keyframes chess-module__qMCbGa__motion-fade-in{0%{opacity:0}to{opacity:1}}@keyframes chess-module__qMCbGa__motion-fade-out{0%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.chess-module__qMCbGa__moveRelation,.chess-module__qMCbGa__attackRelation,.chess-module__qMCbGa__edgeLabel,.chess-module__qMCbGa__motionTrack,.chess-module__qMCbGa__motionFadeIn,.chess-module__qMCbGa__motionFadeOut,.chess-module__qMCbGa__differenceRelations,.chess-module__qMCbGa__differenceMotionRelations,.chess-module__qMCbGa__motionPotentialRelation,.chess-module__qMCbGa__motionPotentialLabel{animation-duration:.01ms;animation-delay:0s}}@media (max-width:640px){.chess-module__qMCbGa__controls{top:auto;bottom:16px;right:16px;transform:none}.chess-module__qMCbGa__controlPanel{top:auto;bottom:calc(100% + 12px);right:0;transform:none}.chess-module__qMCbGa__surface{width:min(var(--board-size), calc(100vw - 32px), 90dvh)}}
.chess-module__U0wSEG__page{--paper:#fff;--ink:#111;--attack:#b4232d;--muted:#666;--motion-cell:#111;--motion-piece:#fff;--grid-stroke:1px;--move-stroke:1.75px;--attack-stroke:1.25px;background:var(--paper);width:100%;height:100dvh;color:var(--ink);font-family:var(--font-geist-sans);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;position:relative;overflow:hidden}.chess-module__U0wSEG__page[data-theme=dark]{--paper:#111;--ink:#fff;--attack:#ff1838;--muted:#aaa;--motion-cell:#fff;--motion-piece:#111;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.chess-module__U0wSEG__surface{width:min(var(--board-size), calc(100vw - 64px), 90dvh);aspect-ratio:1;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.chess-module__U0wSEG__board{aspect-ratio:1;width:100%;position:relative}.chess-module__U0wSEG__relationOverlay{z-index:2;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.chess-module__U0wSEG__moveRelation{fill:none;stroke:var(--ink);stroke-dasharray:none;stroke-dashoffset:0;stroke-linecap:round;stroke-linejoin:round;stroke-width:var(--move-stroke);opacity:.88;vector-effect:non-scaling-stroke;animation:chess-module__U0wSEG__relation-draw .13s cubic-bezier(.25, .7, .35, 1) var(--edge-delay) both}.chess-module__U0wSEG__attackRelation{fill:none;stroke:var(--attack);stroke-dasharray:none;stroke-dashoffset:0;stroke-linecap:round;stroke-linejoin:round;stroke-width:var(--attack-stroke);opacity:.72;vector-effect:non-scaling-stroke;animation:chess-module__U0wSEG__attack-draw .15s cubic-bezier(.25, .7, .35, 1) var(--edge-delay) both}.chess-module__U0wSEG__edgeLabel{fill:var(--ink);letter-spacing:0;opacity:0;pointer-events:none;animation:chess-module__U0wSEG__edge-label-in 80ms ease-out var(--edge-delay) both;font-family:Times New Roman,Times,serif}.chess-module__U0wSEG__motionTarget{opacity:0}.chess-module__U0wSEG__motionTrack{z-index:3;width:12.5%;height:12.5%;animation:chess-module__U0wSEG__motion-track var(--motion-travel-duration) var(--motion-fade-in-duration) cubic-bezier(.22, .72, .2, 1) both;pointer-events:none;position:absolute}.chess-module__U0wSEG__motionFadeIn,.chess-module__U0wSEG__motionFadeOut{width:100%;height:100%}.chess-module__U0wSEG__motionFadeIn{animation:chess-module__U0wSEG__motion-fade-in var(--motion-fade-in-duration) ease-out both}.chess-module__U0wSEG__motionFadeOut{animation:chess-module__U0wSEG__motion-fade-out var(--motion-fade-out-duration) var(--motion-fade-out-delay) ease-in both}.chess-module__U0wSEG__motionCell{background:var(--motion-cell);width:100%;height:100%}.chess-module__U0wSEG__motionRelations{z-index:2;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.chess-module__U0wSEG__differenceRelations,.chess-module__U0wSEG__differenceMotionRelations{z-index:4;clip-path:inset(var(--motion-from-y) calc(87.5% - var(--motion-from-x)) calc(87.5% - var(--motion-from-y)) var(--motion-from-x));mix-blend-mode:difference;pointer-events:none;animation:chess-module__U0wSEG__motion-clip var(--motion-travel-duration) var(--motion-fade-in-duration) cubic-bezier(.22, .72, .2, 1) both;position:absolute;inset:0;overflow:hidden}.chess-module__U0wSEG__differenceRelations .chess-module__U0wSEG__relationOverlay,.chess-module__U0wSEG__differenceMotionRelations .chess-module__U0wSEG__motionRelations{filter:invert()}.chess-module__U0wSEG__page[data-theme=dark] .chess-module__U0wSEG__differenceRelations .chess-module__U0wSEG__relationOverlay,.chess-module__U0wSEG__page[data-theme=dark] .chess-module__U0wSEG__differenceMotionRelations .chess-module__U0wSEG__motionRelations{filter:none}.chess-module__U0wSEG__motionPotentialRelation{opacity:.88;animation:none}.chess-module__U0wSEG__motionPotentialLabel{opacity:1;animation:none}.chess-module__U0wSEG__motionPiece{width:100%;height:100%;color:var(--motion-piece);place-items:center;display:grid}.chess-module__U0wSEG__motionPiece .chess-module__U0wSEG__semanticPiece{color:inherit}.chess-module__U0wSEG__aggregateCanvas{z-index:1;opacity:0;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.chess-module__U0wSEG__aggregateCanvas[data-visible=true]{opacity:1}.chess-module__U0wSEG__squares{z-index:3;border-top:var(--grid-stroke) solid var(--ink);border-left:var(--grid-stroke) solid var(--ink);grid-template:repeat(8,1fr)/repeat(8,1fr);width:100%;height:100%;display:grid;position:relative}.chess-module__U0wSEG__page button{cursor:pointer;-webkit-tap-highlight-color:transparent}.chess-module__U0wSEG__square{box-sizing:border-box;border:0;border-right:var(--grid-stroke) solid var(--ink);border-bottom:var(--grid-stroke) solid var(--ink);min-width:0;color:inherit;background:0 0;place-items:center;padding:0;display:grid;position:relative}.chess-module__U0wSEG__dark{background:0 0}.chess-module__U0wSEG__square[data-last=true]{box-shadow:inset 0 0 0 2px #888}.chess-module__U0wSEG__square[data-selected=true],.chess-module__U0wSEG__square[data-check=true]{box-shadow:inset 0 0 0 3px var(--ink)}.chess-module__U0wSEG__square svg{z-index:1;pointer-events:none;width:78%;height:78%;position:relative}.chess-module__U0wSEG__semanticPiece{z-index:1;letter-spacing:0;pointer-events:none;text-align:center;white-space:normal;justify-items:center;max-width:100%;font:clamp(9px,1.45vw,20px)/.96 Times New Roman,Times,serif;display:inline-grid;position:relative}.chess-module__U0wSEG__semanticPiece>span{display:block}.chess-module__U0wSEG__square[data-legal=true]:after{content:"";background:var(--ink);opacity:.35;border-radius:50%;width:15%;height:15%;position:absolute}.chess-module__U0wSEG__square[data-legal=true][data-occupied=true]:after{border:2px solid var(--ink);opacity:.5;background:0 0;width:86%;height:86%}.chess-module__U0wSEG__page :is(button,summary,select,[tabindex="0"]):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.chess-module__U0wSEG__square:focus-visible{z-index:2;outline-offset:-3px!important}.chess-module__U0wSEG__controls{z-index:6;color:var(--ink);font:.64rem var(--font-geist-mono), monospace;flex-direction:column;align-items:flex-end;display:flex;position:absolute;top:50%;right:32px;transform:translateY(-50%)}.chess-module__U0wSEG__controlPanel{flex-direction:column;align-items:flex-end;gap:1.1rem;width:max-content;display:flex;position:absolute;top:50%;right:calc(100% + 20px);transform:translateY(-50%)}.chess-module__U0wSEG__expandButton{color:var(--muted);font:inherit;background:0 0;border:0;border-bottom:1px solid #0000;padding:.35rem 0}.chess-module__U0wSEG__expandButton:hover,.chess-module__U0wSEG__expandButton[aria-expanded=true]{color:var(--ink);border-bottom-color:currentColor}.chess-module__U0wSEG__controlActions{flex-direction:column;align-items:flex-end;gap:1.1rem;display:flex}.chess-module__U0wSEG__actions{flex-direction:column;align-items:flex-end;gap:.25rem;display:flex}.chess-module__U0wSEG__actions button,.chess-module__U0wSEG__history summary{color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0;border-bottom:1px solid #0000;padding:.35rem 0}.chess-module__U0wSEG__actions button:hover,.chess-module__U0wSEG__actions button[aria-pressed=true],.chess-module__U0wSEG__history[open] summary{color:var(--ink);border-bottom-color:currentColor}.chess-module__U0wSEG__actions button:disabled{opacity:.3;cursor:default;border-bottom-color:#0000}.chess-module__U0wSEG__parameter{color:var(--muted);justify-content:flex-end;align-items:center;gap:.55rem;display:flex}.chess-module__U0wSEG__parameter input{width:clamp(5.5rem,10vw,9rem);accent-color:var(--ink);cursor:ew-resize;margin:0}.chess-module__U0wSEG__parameter output{min-width:2.55rem;color:var(--ink);text-align:right}.chess-module__U0wSEG__history{position:relative}.chess-module__U0wSEG__history summary{list-style:none}.chess-module__U0wSEG__history summary::-webkit-details-marker{display:none}.chess-module__U0wSEG__moves{background:var(--paper);outline:1px solid var(--muted);width:190px;max-height:180px;padding:12px;position:absolute;bottom:calc(100% + 12px);right:0;overflow:auto}.chess-module__U0wSEG__moveRow{grid-template-columns:32px 1fr 1fr;padding-block:5px;display:grid}.chess-module__U0wSEG__result{text-align:center;width:100%;font:.64rem var(--font-geist-mono), monospace;position:absolute;top:calc(100% + 16px)}.chess-module__U0wSEG__promotion{z-index:5;background:#fffffff2;flex-direction:column;justify-content:center;align-items:center;gap:16px;display:flex;position:absolute;inset:0}.chess-module__U0wSEG__promotionChoices{display:flex}.chess-module__U0wSEG__promotionChoices button{width:clamp(40px,8vw,72px);height:clamp(40px,8vw,72px)}.chess-module__U0wSEG__promotionChoices button:hover{background:#eee}.chess-module__U0wSEG__promotionChoices svg{width:100%;height:100%}.chess-module__U0wSEG__textButton{min-height:44px;font-size:12px}.chess-module__U0wSEG__srOnly{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes chess-module__U0wSEG__relation-draw{0%{opacity:0;stroke-dashoffset:1px}to{opacity:.88;stroke-dashoffset:0}}@keyframes chess-module__U0wSEG__attack-draw{0%{opacity:0;stroke-dashoffset:1px}to{opacity:.72;stroke-dashoffset:0}}@keyframes chess-module__U0wSEG__edge-label-in{0%{opacity:0}to{opacity:1}}@keyframes chess-module__U0wSEG__motion-track{0%{top:var(--motion-from-y);left:var(--motion-from-x)}to{top:var(--motion-to-y);left:var(--motion-to-x)}}@keyframes chess-module__U0wSEG__motion-clip{0%{clip-path:inset(var(--motion-from-y) calc(87.5% - var(--motion-from-x)) calc(87.5% - var(--motion-from-y)) var(--motion-from-x))}to{clip-path:inset(var(--motion-to-y) calc(87.5% - var(--motion-to-x)) calc(87.5% - var(--motion-to-y)) var(--motion-to-x))}}@keyframes chess-module__U0wSEG__motion-fade-in{0%{opacity:0}to{opacity:1}}@keyframes chess-module__U0wSEG__motion-fade-out{0%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.chess-module__U0wSEG__moveRelation,.chess-module__U0wSEG__attackRelation,.chess-module__U0wSEG__edgeLabel,.chess-module__U0wSEG__motionTrack,.chess-module__U0wSEG__motionFadeIn,.chess-module__U0wSEG__motionFadeOut,.chess-module__U0wSEG__differenceRelations,.chess-module__U0wSEG__differenceMotionRelations,.chess-module__U0wSEG__motionPotentialRelation,.chess-module__U0wSEG__motionPotentialLabel{animation-duration:.01ms;animation-delay:0s}}@media (max-width:640px){.chess-module__U0wSEG__controls{top:auto;bottom:16px;right:16px;transform:none}.chess-module__U0wSEG__controlPanel{top:auto;bottom:calc(100% + 12px);right:0;transform:none}.chess-module__U0wSEG__surface{width:min(var(--board-size), calc(100vw - 32px), 90dvh)}}.chess-module__U0wSEG__multiPage{--paper:#fff;--ink:#111;--attack:#b4232d;--muted:#666;background:var(--paper);width:100%;height:100dvh;color:var(--ink);font-family:var(--font-geist-sans);position:relative;overflow:hidden}.chess-module__U0wSEG__multiPage[data-theme=dark]{--paper:#111;--ink:#fff;--attack:#ff1838;--muted:#aaa}.chess-module__U0wSEG__tileField{display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.chess-module__U0wSEG__page[data-grid-board=true]{background:0 0;width:100%;min-width:0;height:100%;min-height:0;overflow:visible}.chess-module__U0wSEG__page[data-grid-board=true] .chess-module__U0wSEG__surface{width:100%}.chess-module__U0wSEG__page[data-grid-board=true] .chess-module__U0wSEG__board{pointer-events:none}.chess-module__U0wSEG__page[data-grid-board=true] .chess-module__U0wSEG__squares{border-top:0;border-left:0}.chess-module__U0wSEG__page[data-grid-board=true] .chess-module__U0wSEG__controls,.chess-module__U0wSEG__page[data-grid-board=true] .chess-module__U0wSEG__result{display:none}@media (max-width:640px){.chess-module__U0wSEG__controls{top:auto;bottom:16px;right:16px;transform:none}.chess-module__U0wSEG__controlPanel{top:auto;bottom:calc(100% + 12px);right:0;transform:none}}
