.board-match{--board-ink:#17243c;--board-dark:#789d9b;--board-light:#f2e8cf;max-width:670px;margin:auto;padding:12px 0 6px;color:var(--board-ink);text-align:center}
.board-players{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.board-players>span{display:flex;align-items:center;gap:7px;border:1px solid #dfe5e9;border-radius:999px;background:#fff;padding:6px 12px;font-weight:650;min-width:0;overflow-wrap:anywhere}
.board-players>span.active{background:#e5f4ea;border-color:#76a992}
.board-mark{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#285c70}
.board-mark.side-0{color:#152841;background:#ecd6a5}
.board-status{font-weight:750;margin:7px 0 12px;min-height:1.55em}
.board-squares{width:min(100%,560px);margin:auto;aspect-ratio:1;display:grid;grid-template-columns:repeat(var(--board-size),minmax(0,1fr));border:clamp(3px,.9vw,8px) solid #213e4d;border-radius:10px;overflow:hidden;background:#213e4d;box-shadow:0 12px 32px #1a34431f;touch-action:manipulation}
.board-cell{position:relative;display:grid;place-items:center;aspect-ratio:1;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:var(--board-light);color:#142238;font:700 clamp(20px,7vw,52px)/1 system-ui,sans-serif;cursor:pointer;text-shadow:0 1px 1px #0005}
.board-cell.dark{background:var(--board-dark)}
.board-cell[data-side="0"]{color:#fff9ea;-webkit-text-stroke:1px #2b3b44;text-shadow:0 2px 0 #233b4d80}
.board-cell:focus-visible{outline:3px solid #542e9e;outline-offset:-3px;z-index:1}
.board-cell.last{box-shadow:inset 0 0 0 3px #f4c858}
.board-cell.picked{background:#fad06e}
.board-cell.available::after{content:'';position:absolute;inset:30%;border-radius:50%;background:#102e4c45;border:2px solid #fff9;pointer-events:none}
.board-cell.available[data-side="0"]::after,.board-cell.available[data-side="1"]::after{inset:5%;background:transparent;border:4px solid #f9d775}
.board-cell.captured{color:#102a4666;filter:saturate(.4)}
.board-draughts .board-cell{font-size:clamp(15px,5.4vw,36px)}
.board-tic-tac-toe{--board-light:#f7f3ff;--board-dark:#e7f2ef}
.board-tic-tac-toe .board-squares{width:min(100%,390px);gap:4px}
.board-tic-tac-toe .board-cell{font-size:clamp(32px,14vw,92px);font-weight:900}
.board-tic-tac-toe .board-cell[data-side="0"]{color:#287466;text-shadow:none;-webkit-text-stroke:0}
.board-tic-tac-toe .board-cell[data-side="1"]{color:#8e3f63;text-shadow:none}
.board-promotion{display:flex;justify-content:center;gap:7px;margin:12px auto}
.board-promotion[hidden]{display:none}
.board-promotion button{border:1px solid #aeb8c4;background:#fff;border-radius:9px;min-width:46px;min-height:46px;font-size:30px;cursor:pointer}
.board-actions{margin-top:13px}
