.chess-board{display:grid;grid-template-columns:auto 1fr}.chess-board>.board{display:grid;grid-template-columns:repeat(8,min(60px,10vw,10vh));grid-template-rows:repeat(8,min(60px,10vw,10vh));border:solid 1px grey}.chess-board>.row-marks,.chess-board>.column-marks{display:grid;justify-content:center;align-items:center;font-size:min(2rem,5vw,5vh)}.chess-board>.row-marks{grid-template-columns:min(60px,10vw,10vh);grid-template-rows:repeat(8,min(60px,10vw,10vh))}.chess-board>.column-marks{grid-template-columns:repeat(8,min(60px,10vw,10vh));grid-template-rows:min(60px,10vw,10vh);grid-column:2}.chess-board .mark{display:flex;align-items:center;justify-content:center}.cell{display:flex;align-items:center;justify-content:center;font-size:min(1.5rem,4vw,4vh);font-weight:700;text-align:center;background-color:#fffc;color:#000;cursor:crosshair}.cell:not(.knight):hover{background-image:url(/knight-travails-react/assets/crosshairs-64a3f536.svg)}.cell:not(.knight).black:hover{filter:invert();background-color:#fff}.cell.black{background-color:#000c;color:#fff}.cell>.knight{display:block;max-width:50%}.cell>.knight.selected{transform:scale(1.2)}.cell.black>.knight{filter:invert()}.cell:hover>.knight{cursor:move;transform:scale(1.2)}.cell>.crosshair{display:block;max-width:50%}.cell.black>.crosshair{filter:invert()}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}.root{display:grid;gap:20px}.controls-container{display:flex;gap:20px}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;justify-content:center;align-items:center;height:100vh}button{flex:1;border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:min(1em,5vw,4vh);font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}@media only screen and (max-width: 400px){.controls-container{flex-direction:column}}@media only screen and (max-height: 460px){.root{grid-template-columns:auto auto}.controls-container{flex-direction:column}button{font-size:2vw}}
