/*! tailwindcss v4.1.12 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.block{display:block}.hidden{display:none}.inline{display:inline}.w-full{width:100%}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.resize{resize:both}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#302e2b;margin:0}@media (max-width:800px){body,html{touch-action:none;overscroll-behavior:none;-ms-touch-action:none;-webkit-user-select:none;-webkit-touch-callout:none;overflow:hidden}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}body.force-grab,body.force-grab *{cursor:grab!important}.container{align-items:flex-start;min-height:100vh;padding:10px}.chessboard-container,.chessboard-wrapper,.container{display:flex;justify-content:center;width:100%;box-sizing:border-box}.chessboard{display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(8,1fr);width:90vmin;height:90vmin;-webkit-user-select:none;-moz-user-select:none;user-select:none}body.dragging,body.dragging *{cursor:grabbing!important}.bot-thinking-indicator{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background-color:rgba(0,0,0,.8);color:white;padding:1rem 2rem;border-radius:8px;display:flex;align-items:center;gap:.5rem;z-index:1000;font-size:1rem;font-weight:500}.thinking-spinner{width:20px;height:20px;border:2px solid transparent;border-top-color:white;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@media (max-width:600px){.chessboard{width:100%;max-width:100%;height:auto;aspect-ratio:1/1}}.piece{width:90%;height:90%;-o-object-fit:contain;object-fit:contain;-moz-user-select:none;user-select:none;-webkit-user-select:none;z-index:2000;position:relative}.piece.animating{z-index:3000;will-change:transform;transition:transform 1s ease-out;animation-duration:1s;opacity:0}.animating-clone{display:block!important;opacity:1!important;position:absolute!important;left:0!important;top:0!important;width:100%!important;height:100%!important;-o-object-fit:contain!important;object-fit:contain!important;pointer-events:none!important;z-index:4000!important}.piece:active{cursor:grabbing!important}.piece.dragging{opacity:0}.custom-drag-image{opacity:1;z-index:100;display:block;transition:none;position:absolute;pointer-events:none}.drag-over{position:relative;--light-square-highlight-color:rgb(245,245,140);--dark-square-highlight-color:rgb(186,201,73)}.drag-over:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;border:var(--hover-border-width) solid rgba(255,255,255,.65);box-sizing:border-box;pointer-events:none;z-index:1}.selected.dark,.selected.light{position:relative}.selected.dark:after,.selected.light:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(255,255,51,.5);pointer-events:none;z-index:1}*,:after,:before{box-sizing:border-box}:root{--light-square-color:rgb(235,236,208);--dark-square-color:rgb(115,149,82);--dark-square-red-highlight-color:rgb(212,110,81);--light-square-red-highlight-color:rgb(237,126,106);--color-transparent-black-14:rgba(0,0,0,0.14)}.square{position:relative;width:100%;height:100%;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center}.light{background-color:var(--light-square-color);color:var(--light-square-highlight-color)}.dark{background-color:var(--dark-square-color);color:var(--dark-square-highlight-color)}.highlight.dark,.highlight.light{position:relative}.highlight.dark:after,.highlight.light:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(255,255,51,.5);pointer-events:none;z-index:0}.premove.dark,.premove.light{position:relative}.premove.dark:after,.premove.light:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(244,42,50,.22);pointer-events:none;z-index:0}.legal-move.light:before{background-color:rgb(202,203,179)}.legal-move.dark:before,.legal-move.light:before{content:"";position:absolute;width:33.33%;height:33.33%;border-radius:50%;top:50%;left:50%;transform:translate(-50%,-50%);z-index:4000}.legal-move.dark:before{background-color:rgb(99,128,70)}.capture-hint:before{content:"";position:absolute;width:100%;height:100%;top:0;left:0;border-radius:50%;box-sizing:border-box;border:var(--border-width) solid rgba(0,0,0,.14);background:transparent;pointer-events:none;z-index:4000}.hover-square{position:relative;--light-square-highlight-color:rgb(245,245,140);--dark-square-highlight-color:rgb(186,201,73)}.hover-square:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;border:var(--hover-border-width) solid rgba(255,255,255,.65);box-sizing:border-box;pointer-events:none}