/* Checkers solver. Neutral grey board in both themes; the discs are the puzzle colours. */
.ck .split > *, .ck .panel { min-width: 0; }
:root { --ck-light: #ecece6; --ck-dark: #8e8f88; }
.ck-top { justify-content: space-between; align-items: center; gap: 8px; }
.ck-brush, .ck-you { margin-top: 12px; align-items: center; gap: 8px; }
.ck-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; }
.ck-dot.b { background: #1b1b1b; box-shadow: inset 0 0 0 2px #555; }
.ck-dot.w { background: #f7f5ee; box-shadow: inset 0 0 0 1px #888; }
.ck-dot.k { box-shadow: inset 0 0 0 2px #555, 0 0 0 2px var(--canvas), 0 0 0 3px currentColor; }
.ck-boardwrap { position: relative; max-width: 520px; margin: 14px auto 0; }
.ck-board { display: grid; grid-template-columns: repeat(8, 1fr); border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); user-select: none; -webkit-user-select: none; }
.ck-sq { position: relative; aspect-ratio: 1; background: var(--ck-light); border: 0; padding: 0; min-width: 0; display: block; }
button.ck-sq { background: var(--ck-dark); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ck-sq .n { position: absolute; left: 3px; top: 2px; font-family: var(--mono); font-size: 10px; line-height: 1; color: rgba(0,0,0,.85); pointer-events: none; }
.ck-sq.last::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); }
.ck-sq.sel::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.36); }
.ck-sq.tg::after { content: ""; position: absolute; left: 37%; top: 37%; width: 26%; height: 26%; border-radius: 50%; background: rgba(255,255,255,.55); }
.ck-sq.gone .pc { opacity: .35; }
.ck-sq:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; z-index: 2; }
.ck-sq .pc { position: absolute; inset: 12%; border-radius: 50%; pointer-events: none; display: flex; align-items: center; justify-content: center; }
.ck-sq .pc.b { background: radial-gradient(circle at 50% 45%, #2e2e2e 0 55%, #121212 56% 100%); box-shadow: 0 2px 0 #000, inset 0 0 0 2px #444; }
.ck-sq .pc.w { background: radial-gradient(circle at 50% 45%, #ffffff 0 55%, #e4e1d6 56% 100%); box-shadow: 0 2px 0 #9b9a92, inset 0 0 0 1px #8c8b84; }
.ck-sq .pc svg { width: 52%; height: 52%; }
.ck-sq .pc.b svg { fill: #e9e6da; } .ck-sq .pc.w svg { fill: #1b1b1b; }
.ck-arrows { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.ck-turn { margin-top: 14px; align-items: center; gap: 10px; }
.ck-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ck-pv { font-family: var(--mono); font-size: 15px; margin-top: 10px; color: var(--body); word-break: break-word; }
.ck-run { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-top: 12px; }
.ck-choice { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
@media (max-width: 420px) { .ck-sq .n { font-size: 8px; } }
