:root[data-board-theme="walnut"]{--square-light:#efd4a8;--square-dark:#aa7753}
:root[data-board-theme="moss"]{--square-light:#e3e9c9;--square-dark:#839b78}
:root[data-board-theme="ink"]{--square-light:#f2ede4;--square-dark:#68798b}
#board .square:not(.vanished,.last,.premove){background-color:var(--square-light,#bac8dd)}
#board .square.dark:not(.vanished,.last,.premove){background-color:var(--square-dark,#6f88ac)}
:root[data-board-coords="edges"] #board .square:not([data-board-edge="true"]) .coord,:root[data-board-coords="off"] #board .coord{display:none}
#board .square:focus-visible{z-index:1;outline:3px solid #2e2d67;outline-offset:-4px}
#board.touch-drag{touch-action:none}
#board .drag-source .piece{opacity:.35}
#board .drag-target{outline:4px dashed #804717;outline-offset:-4px}
#board .square{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.moving-in-hand{position:fixed;z-index:1000;pointer-events:none;transform:translate(-50%,-55%);display:grid;place-items:center;filter:drop-shadow(0 5px 4px #19212466)}
.moving-in-hand svg{width:88%;height:88%}
.board-preferences{margin-top:14px;border-top:1px solid var(--line,#506070);padding-top:12px}
.board-preferences summary{cursor:pointer;font-weight:650}
.board-preferences label{display:grid;gap:4px;margin-top:10px}
.board-preferences select{width:100%}
.board-preferences label:last-of-type{display:flex;align-items:center;gap:8px}
