.cg-wrap{box-sizing:content-box;position:relative;display:block}cg-container{display:block}cg-board,cg-container{position:absolute;width:100%;height:100%;top:0}cg-board{left:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;line-height:0;background-size:cover}.cg-wrap.manipulable cg-board{cursor:pointer}cg-board square{position:absolute;top:0;left:0;width:12.5%;height:12.5%;pointer-events:none}cg-board square.move-dest{pointer-events:auto}.cg-wrap piece,cg-board square.last-move{will-change:transform}.cg-wrap piece{position:absolute;top:0;left:0;width:12.5%;height:12.5%;background-size:cover;z-index:2;pointer-events:none}cg-board piece.dragging{cursor:move
  /* !important to override z-index from 3D piece inline style */}piece.fading{z-index:1;opacity:.5}.cg-wrap piece.ghost{opacity:.3}.cg-wrap piece svg{overflow:hidden;position:relative;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:2;opacity:.6}.cg-wrap .cg-custom-svgs,.cg-wrap .cg-shapes,.cg-wrap cg-auto-pieces{overflow:visible;position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.cg-wrap cg-auto-pieces{z-index:2}.cg-wrap cg-auto-pieces piece{opacity:.3}.cg-wrap .cg-shapes{overflow:hidden;opacity:.6;z-index:2}.cg-wrap .cg-custom-svgs{z-index:9}.cg-wrap .cg-custom-svgs svg{overflow:visible}.cg-wrap coords{position:absolute;display:flex;pointer-events:none;opacity:.8;font-family:sans-serif;font-size:9px}.cg-wrap coords.ranks{left:4px;top:-20px;flex-flow:column-reverse;height:100%;width:12px}.cg-wrap coords.ranks.black{flex-flow:column}.cg-wrap coords.ranks.left{left:-15px;align-items:flex-end}.cg-wrap coords.files{bottom:-4px;left:24px;flex-flow:row;width:100%;height:16px;text-transform:uppercase;text-align:center}.cg-wrap coords.files.black{flex-flow:row-reverse}.cg-wrap coords coord{flex:1 1 auto}.cg-wrap coords.ranks coord{transform:translateY(39%)}cg-board{background-color:#ebecd0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cg id='a'%3E%3Cg id='b'%3E%3Cg id='c'%3E%3Cg id='d'%3E%3Crect x='1' width='1' height='1' fill='%23779556'/%3E%3Crect y='1' width='1' height='1' fill='%23779556'/%3E%3C/g%3E%3Cuse x='2' href='%23d'/%3E%3C/g%3E%3Cuse x='4' href='%23c'/%3E%3C/g%3E%3Cuse y='2' href='%23b'/%3E%3C/g%3E%3Cuse y='4' href='%23a'/%3E%3C/svg%3E");border-radius:4px;box-shadow:0 0 0 1px hsla(0,0%,100%,.06),0 8px 32px rgba(0,0,0,.5)}cg-board square.move-dest{background:radial-gradient(rgba(0,153,51,.55) 22%,transparent 0)}cg-board square.premove-dest{background:radial-gradient(rgba(102,102,255,.5) 22%,transparent 0)}cg-board square.oc.move-dest{background:radial-gradient(transparent 0,transparent 79%,rgba(0,153,51,.4) 80%)}cg-board square.oc.premove-dest{background:radial-gradient(transparent 0,transparent 79%,rgba(102,102,255,.3) 80%)}cg-board square.move-dest:hover{background:rgba(0,153,51,.3)}cg-board square.premove-dest:hover{background:rgba(102,102,255,.25)}cg-board square.last-move{background-color:rgba(255,100,52,.35)}cg-board square.selected{background-color:rgba(0,153,51,.45)}cg-board square.check{background:radial-gradient(ellipse at center,rgba(255,59,59,.9) 0,rgba(255,59,59,.6) 25%,rgba(255,59,59,0) 89%,transparent 100%)}cg-board square.current-premove{background-color:rgba(102,102,255,.45)}.cg-wrap coords{font-family:JetBrains Mono,Inter,monospace;font-size:10px;font-weight:700}.cg-wrap.orientation-black coords.files coord:nth-child(odd),.cg-wrap.orientation-black coords.ranks coord:nth-child(odd),.cg-wrap.orientation-white coords.files coord:nth-child(2n),.cg-wrap.orientation-white coords.ranks coord:nth-child(2n){color:hsla(62,42%,87%,.85)}.cg-wrap.orientation-black coords.files coord:nth-child(2n),.cg-wrap.orientation-black coords.ranks coord:nth-child(2n),.cg-wrap.orientation-white coords.files coord:nth-child(odd),.cg-wrap.orientation-white coords.ranks coord:nth-child(odd){color:rgba(119,149,86,.85)}.cg-wrap piece.pawn.white{background-image:url(/pieces/staunty/wP.svg)}.cg-wrap piece.knight.white{background-image:url(/pieces/staunty/wN.svg)}.cg-wrap piece.bishop.white{background-image:url(/pieces/staunty/wB.svg)}.cg-wrap piece.rook.white{background-image:url(/pieces/staunty/wR.svg)}.cg-wrap piece.queen.white{background-image:url(/pieces/staunty/wQ.svg)}.cg-wrap piece.king.white{background-image:url(/pieces/staunty/wK.svg)}.cg-wrap piece.pawn.black{background-image:url(/pieces/staunty/bP.svg)}.cg-wrap piece.knight.black{background-image:url(/pieces/staunty/bN.svg)}.cg-wrap piece.bishop.black{background-image:url(/pieces/staunty/bB.svg)}.cg-wrap piece.rook.black{background-image:url(/pieces/staunty/bR.svg)}.cg-wrap piece.queen.black{background-image:url(/pieces/staunty/bQ.svg)}.cg-wrap piece.king.black{background-image:url(/pieces/staunty/bK.svg)}.cg-wrap{border-radius:6px;overflow:hidden}.cg-wrap cg-container:after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:4px;box-shadow:inset 0 0 0 1px hsla(0,0%,100%,.04);z-index:20}.cg-wrap piece.ghost{opacity:.35}piece.anim{z-index:8;transition:none}cg-board piece.dragging{cursor:grabbing;z-index:11!important;filter:drop-shadow(0 4px 8px rgba(0,0,0,.4))}.light cg-board{background-color:#ebecd0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cg id='a'%3E%3Cg id='b'%3E%3Cg id='c'%3E%3Cg id='d'%3E%3Crect x='1' width='1' height='1' fill='%23779556'/%3E%3Crect y='1' width='1' height='1' fill='%23779556'/%3E%3C/g%3E%3Cuse x='2' href='%23d'/%3E%3C/g%3E%3Cuse x='4' href='%23c'/%3E%3C/g%3E%3Cuse y='2' href='%23b'/%3E%3C/g%3E%3Cuse y='4' href='%23a'/%3E%3C/svg%3E");box-shadow:0 0 0 1px rgba(0,0,0,.1),0 4px 16px rgba(0,0,0,.12)}.light cg-board square.last-move{background-color:rgba(255,196,0,.38)}.light cg-board square.selected{background-color:rgba(20,85,30,.45)}.light .cg-wrap.orientation-black coords.files coord:nth-child(odd),.light .cg-wrap.orientation-black coords.ranks coord:nth-child(odd),.light .cg-wrap.orientation-white coords.files coord:nth-child(2n),.light .cg-wrap.orientation-white coords.ranks coord:nth-child(2n){color:rgba(119,149,86,.9)}.light .cg-wrap.orientation-black coords.files coord:nth-child(2n),.light .cg-wrap.orientation-black coords.ranks coord:nth-child(2n),.light .cg-wrap.orientation-white coords.files coord:nth-child(odd),.light .cg-wrap.orientation-white coords.ranks coord:nth-child(odd){color:hsla(62,42%,87%,.9)}