.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;-ms-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 */z-index:11!important}piece.anim{z-index:8}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-wrap coords.squares{bottom:0;left:0;text-transform:uppercase;text-align:right;flex-flow:column-reverse;height:100%;width:12.5%}.cg-wrap coords.squares.black{flex-flow:column}.cg-wrap coords.squares.left{text-align:left}.cg-wrap coords.squares coord{padding:6% 4%}.cg-wrap coords.squares.rank2{transform:translateX(100%)}.cg-wrap coords.squares.rank3{transform:translateX(200%)}.cg-wrap coords.squares.rank4{transform:translateX(300%)}.cg-wrap coords.squares.rank5{transform:translateX(400%)}.cg-wrap coords.squares.rank6{transform:translateX(500%)}.cg-wrap coords.squares.rank7{transform:translateX(600%)}.cg-wrap coords.squares.rank8{transform:translateX(700%)}.cg-wrap piece{background-size:95%;background-position:50%;background-repeat:no-repeat;filter:drop-shadow(0 2px 6px rgba(0,0,0,.7))}.cg-wrap piece.king.white{background-image:url(https://cdn.jsdelivr.net/gh/lichess-org/lila@master/public/piece/maestro/wK.svg)}.cg-wrap piece.queen.white{background-image:url(https://cdn.jsdelivr.net/gh/lichess-org/lila@master/public/piece/maestro/wQ.svg)}.cg-wrap piece.rook.white{background-image:url(https://cdn.jsdelivr.net/gh/lichess-org/lila@master/public/piece/maestro/wR.svg)}.cg-wrap piece.bishop.white{background-image:url(https://cdn.jsdelivr.net/gh/lichess-org/lila@master/public/piece/maestro/wB.svg)}.cg-wrap piece.knight.white{background-image:url(https://cdn.jsdelivr.net/gh/lichess-org/lila@master/public/piece/maestro/wN.svg)}.cg-wrap piece.pawn.white{background-image:url(https://cdn.jsdelivr.net/gh/lichess-org/lila@master/public/piece/maestro/wP.svg)}.cg-wrap piece.king.black{background-image:url(https://cdn.jsdelivr.net/gh/lichess-org/lila@master/public/piece/maestro/bK.svg)}.cg-wrap piece.queen.black{background-image:url(https://cdn.jsdelivr.net/gh/lichess-org/lila@master/public/piece/maestro/bQ.svg)}.cg-wrap piece.rook.black{background-image:url(https://cdn.jsdelivr.net/gh/lichess-org/lila@master/public/piece/maestro/bR.svg)}.cg-wrap piece.bishop.black{background-image:url(https://cdn.jsdelivr.net/gh/lichess-org/lila@master/public/piece/maestro/bB.svg)}.cg-wrap piece.knight.black{background-image:url(https://cdn.jsdelivr.net/gh/lichess-org/lila@master/public/piece/maestro/bN.svg)}.cg-wrap piece.pawn.black{background-image:url(https://cdn.jsdelivr.net/gh/lichess-org/lila@master/public/piece/maestro/bP.svg)}cg-board{background-color:#2a2e38;background-image:repeating-conic-gradient(#1b1d24 0 25%,#2a2e38 0 50%);background-size:25% 25%}cg-board square.move-dest{background:radial-gradient(rgba(244,180,30,.5) 20%,rgba(244,180,30,0) 22%)}cg-board square.oc.move-dest{background:radial-gradient(transparent 0,transparent 79%,rgba(244,180,30,.55) 80%)}cg-board square.move-dest:hover{background:rgba(244,180,30,.22)}cg-board square.last-move{background-color:rgba(244,180,30,.22)}cg-board square.selected{background-color:rgba(244,180,30,.32)}cg-board square.check{background:radial-gradient(ellipse at center,rgba(231,60,60,.95) 0,rgba(231,0,0,.7) 25%,rgba(169,0,0,0) 89%,rgba(158,0,0,0) 100%)}.cg-wrap coords{font-family:var(--font-display,sans-serif);font-size:8px;font-weight:600}.orientation-black .files :nth-child(odd),.orientation-black .ranks :nth-child(2n),.orientation-white .files :nth-child(2n),.orientation-white .ranks :nth-child(odd){color:rgba(255,255,255,.35)}.orientation-black .files :nth-child(2n),.orientation-black .ranks :nth-child(odd),.orientation-white .files :nth-child(odd),.orientation-white .ranks :nth-child(2n){color:rgba(255,255,255,.55)}