.chess-scene{isolation:isolate}.chess-animation{position:absolute;inset:0;width:100%;height:100%;opacity:0;pointer-events:none;overflow:visible;mix-blend-mode:multiply}
.chess-ready .chess-animation{opacity:1}.chess-ready .chess-fallback{opacity:0}
.chess-king{transform-box:view-box;animation-duration:6.8s;animation-iteration-count:infinite;animation-play-state:paused;animation-timing-function:cubic-bezier(.4,0,.25,1)}
.chess-king-classic{transform-origin:620px 832px;animation-name:chess-classic-touch}
.chess-king-robot{transform-origin:930px 827px;animation-name:chess-robot-touch}
.chess-spark{opacity:0;animation:chess-contact-spark 6.8s linear infinite paused}
.chess-running .chess-king,.chess-running .chess-spark{animation-play-state:running}
body:has(dialog[open]) .chess-king,body:has(dialog[open]) .chess-spark{animation-play-state:paused}
@keyframes chess-classic-touch{0%,10%,57%,100%{transform:rotate(0)}32%{transform:rotate(4.4deg)}42%{transform:rotate(2.6deg)}49%{transform:rotate(-.3deg)}}
@keyframes chess-robot-touch{0%,10%,57%,100%{transform:rotate(0)}32%{transform:rotate(-4.4deg)}42%{transform:rotate(-2.6deg)}49%{transform:rotate(.3deg)}}
@keyframes chess-contact-spark{0%,31%,38%,100%{opacity:0}32.5%{opacity:1}35%{opacity:.2}}
.chess-motion-control{position:absolute;z-index:2;right:7%;bottom:4%;border:1px solid #dce4f0;border-radius:20px;background:#f8faffdf;color:#627189;font:inherit;font-size:10px;padding:7px 11px;cursor:pointer;backdrop-filter:blur(8px)}
.chess-motion-control:hover{color:#315efb;border-color:#b8c9f1}.chess-motion-control:focus-visible{outline:2px solid #315efb;outline-offset:3px}.chess-motion-control[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.chess-scene .chess-animation{display:none}.chess-scene .chess-fallback{opacity:1}.chess-motion-control{display:none}}
