/* Scoped original board UI, OnlineTools Kenya 1.5.0. GPL-2.0-or-later. */
.otk-game-kit .w23c-square-board{width:100%;max-width:550px;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));border:3px solid #234561;border-radius:8px;overflow:hidden;margin:0 auto;box-shadow:0 9px 24px #18385820;touch-action:manipulation}.otk-game-kit .w23c-square{position:relative;display:grid;place-items:center;aspect-ratio:1;min-width:0;min-height:0;width:100%;padding:0;border:0;border-radius:0;font-size:clamp(15px,3vw,32px);line-height:1;color:#102f49}.otk-game-kit .w23c-square.is-light{background:#e5edf2}.otk-game-kit .w23c-square.is-dark{background:#557b91}.otk-game-kit .w23c-square.is-selected{box-shadow:inset 0 0 0 3px #ffe38b}.otk-game-kit .w23c-square.is-last:after{content:"";position:absolute;inset:2px;border:2px solid #9dddff;pointer-events:none}.otk-game-kit .w23c-square.is-hint{box-shadow:inset 0 0 0 4px #f6b943}.otk-game-kit .w23c-square:focus-visible{outline:-webkit-focus-ring-color auto 1px;outline:3px solid #fff;outline-offset:-4px;z-index:1}.otk-game-kit .w23c-disc{width:74%;height:74%;border-radius:50%;display:grid;place-items:center;font-size:clamp(12px,2.4vw,25px);font-weight:900;border:2px solid #1b3149;box-shadow:inset 0 0 0 3px #ffffff38,0 2px 0 #182b44}.otk-game-kit .w23c-disc.is-p1{background:#084ec0;color:#fff;border-color:#053774}.otk-game-kit .w23c-disc.is-p2{background:#f2c764;color:#453008;border-color:#75540b}.otk-game-kit .w23c-disc.is-king{border-style:double;border-width:4px}.otk-game-kit .w23c-coordinate{position:absolute;left:2px;bottom:1px;font-size:8px;line-height:1;color:#102f49;font-weight:800;pointer-events:none}.otk-game-kit .w23c-square.is-dark .w23c-coordinate{color:#fff}.otk-game-kit .w23c-target{width:24%;height:24%;background:#ffe7a9;border:2px solid #574411;border-radius:50%;font-size:0;pointer-events:none}.otk-game-kit .w23c-square.is-legal:hover{box-shadow:inset 0 0 0 3px #f3c969}.otk-game-kit .w23c-square-board.is-reversi{border-color:#164b43;background:#164b43;gap:1px}.otk-game-kit .is-reversi .w23c-square{background:#2b7a69}.otk-game-kit .is-reversi .w23c-disc.is-p1{background:#172b3e;color:#bcd0e1;border-color:#061724}.otk-game-kit .is-reversi .w23c-disc.is-p2{background:#fff9ec;color:#385461;border-color:#d9d4c6}.otk-game-kit .is-reversi .w23c-coordinate{color:#fff}.otk-game-kit .w23c-table{margin:15px 0 0;font-size:12px}.otk-game-kit .w23c-table>summary{cursor:pointer;min-height:32px;font-weight:700;color:#365a7e}.otk-game-kit .w23c-table table{table-layout:fixed}.otk-game-kit .w23c-table td,.otk-game-kit .w23c-table th{padding:6px;font-size:11px}.otk-game-kit .w23c-replay{display:flex;gap:7px;flex-wrap:wrap;justify-content:center;width:100%}.otk-game-kit .w23c-replay>span{width:100%;text-align:center;font-size:12px;color:#405b77}.otk-game-kit .w23c-domino-top{display:flex;justify-content:space-between;gap:7px;flex-wrap:wrap;font-size:11px;font-weight:750;color:#34546c;margin:0 0 15px}.otk-game-kit .w23c-endpoints{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:7px;align-items:center;text-align:center;padding:12px 9px;background:#17483f;color:#fff;border-radius:13px 13px 0 0}.otk-game-kit .w23c-endpoints strong{font-size:16px;line-height:1.3}.otk-game-kit .w23c-endpoints span{font-size:10px;line-height:1.4;color:#e1f3ee}.otk-game-kit .w23c-chain{display:flex;flex-wrap:wrap;gap:6px;padding:20px 13px;align-content:center;align-items:center;justify-content:center;min-height:148px;border:1px solid #96b2ac;border-top:0;background:#e5efe8;border-radius:0 0 13px 13px}.otk-game-kit .w23c-chain>p{font-size:12px;text-align:center;color:#4b6659;margin:0}.otk-game-kit .w23c-tile{width:70px;height:38px;background:#fffdf4;border:1px solid #7f877d;border-radius:5px;box-shadow:0 2px 0 #727f7540;display:flex;padding:3px}.otk-game-kit .w23c-tile.is-reversed{flex-direction:row-reverse}.otk-game-kit .w23c-pips{position:relative;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);width:50%;gap:2px;padding:2px}.otk-game-kit .w23c-pips+.w23c-pips{border-left:1px solid #7f877d}.otk-game-kit .w23c-pips i{border-radius:50%;aspect-ratio:1;min-width:0;align-self:center}.otk-game-kit .w23c-pips i.is-pip{background:#263d49}.otk-game-kit .w23c-pips em{position:absolute;inset:0;display:grid;place-items:center;color:#7b8179;font:600 12px system-ui}.otk-game-kit .w23c-hand-label{font-size:15px;text-align:center;margin:22px 0 12px}.otk-game-kit .w23c-hand{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.otk-game-kit .w23c-hand-button{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f5f7f8;border:1px solid #aab8be;padding:5px;border-radius:9px;min-height:72px;max-width:100%;color:#355365}.otk-game-kit .w23c-hand-button.is-playable{border:2px solid #0053e2;background:#eef4ff;padding:4px}.otk-game-kit .w23c-hand-button.is-selected{background:#dbe9ff;box-shadow:0 0 0 3px #86b1ff}.otk-game-kit .w23c-tile-label{font-size:10px;font-weight:800;margin:5px 0 0}.otk-game-kit .w23c-place{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:16px}.otk-game-kit .w23c-handoff{text-align:center;padding:24px 10px;background:#fff;border-radius:14px;margin-top:18px}.otk-game-kit .w23c-handoff h3{font-size:22px;margin:0 0 10px}.otk-game-kit .w23c-handoff p{font-size:13px;margin:0 0 15px;color:#405b73}.otk-game-kit .w23c-chain-tile{display:inline-flex}.otk-game-kit[data-otk-tool=dominoes] .gk-surface{overflow:visible}.otk-game-kit[data-otk-tool=dominoes] .gk-gate{border-radius:18px}
@media(max-width:1050px){.otk-game-kit:is([data-otk-tool=english-draughts],[data-otk-tool=reversi],[data-otk-tool=dominoes]) .gk-layout{grid-template-columns:1fr}.otk-game-kit:is([data-otk-tool=english-draughts],[data-otk-tool=reversi],[data-otk-tool=dominoes]) .gk-side{border-left:0;border-top:1px solid #d5e0ee}.otk-game-kit .w23c-square{font-size:27px}.otk-game-kit .w23c-disc{font-size:23px}}
@media(max-width:600px){.otk-game-kit:is([data-otk-tool=english-draughts],[data-otk-tool=reversi],[data-otk-tool=dominoes]) .gk-main{padding:9px}.otk-game-kit:is([data-otk-tool=english-draughts],[data-otk-tool=reversi],[data-otk-tool=dominoes]) .gk-surface{padding:8px}.otk-game-kit .w23c-disc{font-size:18px;border-width:1px}.otk-game-kit .w23c-disc.is-king{border-width:3px}.otk-game-kit .w23c-square-board{border-width:2px}.otk-game-kit .w23c-endpoints strong{font-size:13px}.otk-game-kit .w23c-endpoints span{font-size:9px}.otk-game-kit .w23c-chain{padding:15px 7px;gap:4px}.otk-game-kit .w23c-chain .w23c-tile{width:61px;height:34px}.otk-game-kit .w23c-hand{gap:6px}.otk-game-kit .w23c-table th,.otk-game-kit .w23c-table td{font-size:9px;padding:4px}}
@media print{.otk-game-kit .w23c-hand,.otk-game-kit .w23c-handoff{display:none!important}}

/* Compact devices keep complete metric words in two readable columns. */
@media(max-width:380px){:is([data-otk-tool="english-draughts"],[data-otk-tool="reversi"],[data-otk-tool="dominoes"]) .gk-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}:is([data-otk-tool="english-draughts"],[data-otk-tool="reversi"],[data-otk-tool="dominoes"]) .gk-metric{min-width:0}:is([data-otk-tool="english-draughts"],[data-otk-tool="reversi"],[data-otk-tool="dominoes"]) .gk-metric strong{word-break:normal;overflow-wrap:normal}}

/* dark-mode:start — generated by scripts/dark-mode.py from build/game-kit-assets/wave23-classic.css; do not edit by hand */
@media screen{
 html[data-theme="dark"] .otk-game-kit .w23c-square-board:not([data-otk-paper],[data-otk-paper] *){border:3px solid #234561;box-shadow:0 9px 24px #18385820}
 html[data-theme="dark"] .otk-game-kit .w23c-square:not([data-otk-paper],[data-otk-paper] *){border:0;color:#ededed}
 html[data-theme="dark"] .otk-game-kit .w23c-square.is-light:not([data-otk-paper],[data-otk-paper] *){background:#2f2f2f}
 html[data-theme="dark"] .otk-game-kit .w23c-square.is-dark:not([data-otk-paper],[data-otk-paper] *){background:#557b91}
 html[data-theme="dark"] .otk-game-kit .w23c-square.is-selected:not([data-otk-paper],[data-otk-paper] *){box-shadow:inset 0 0 0 3px #3f3308}
 html[data-theme="dark"] .otk-game-kit .w23c-square.is-last:not([data-otk-paper],[data-otk-paper] *):after{border:2px solid #244758}
 html[data-theme="dark"] .otk-game-kit .w23c-square.is-hint:not([data-otk-paper],[data-otk-paper] *){box-shadow:inset 0 0 0 4px #5f4a25}
 html[data-theme="dark"] .otk-game-kit .w23c-square:focus-visible:not([data-otk-paper],[data-otk-paper] *){outline:-webkit-focus-ring-color auto 1px;outline:3px solid #313131}
 html[data-theme="dark"] .otk-game-kit .w23c-disc:not([data-otk-paper],[data-otk-paper] *){border:2px solid #1b3149;box-shadow:inset 0 0 0 3px rgba(33,33,33,0.22),0 2px 0 #182b44}
 html[data-theme="dark"] .otk-game-kit .w23c-disc.is-p1:not([data-otk-paper],[data-otk-paper] *){background:#084ec0;color:#fff;border-color:#053774}
 html[data-theme="dark"] .otk-game-kit .w23c-disc.is-p2:not([data-otk-paper],[data-otk-paper] *){background:#55441e;color:#fae0b6;border-color:#75540b}
 html[data-theme="dark"] .otk-game-kit .w23c-coordinate:not([data-otk-paper],[data-otk-paper] *){color:#ededed}
 html[data-theme="dark"] .otk-game-kit .w23c-square.is-dark .w23c-coordinate:not([data-otk-paper],[data-otk-paper] *){color:#fff}
 html[data-theme="dark"] .otk-game-kit .w23c-target:not([data-otk-paper],[data-otk-paper] *){background:#3d2f04;border:2px solid #574411}
 html[data-theme="dark"] .otk-game-kit .w23c-square.is-legal:hover:not([data-otk-paper],[data-otk-paper] *){box-shadow:inset 0 0 0 3px #54431c}
 html[data-theme="dark"] .otk-game-kit .w23c-square-board.is-reversi:not([data-otk-paper],[data-otk-paper] *){border-color:#164b43;background:#164b43}
 html[data-theme="dark"] .otk-game-kit .is-reversi .w23c-square:not([data-otk-paper],[data-otk-paper] *){background:#2b7a69}
 html[data-theme="dark"] .otk-game-kit .is-reversi .w23c-disc.is-p1:not([data-otk-paper],[data-otk-paper] *){background:#172b3e;color:#bcd0e1;border-color:#696969}
 html[data-theme="dark"] .otk-game-kit .is-reversi .w23c-disc.is-p2:not([data-otk-paper],[data-otk-paper] *){background:#221d11;color:#c2c2c2;border-color:#464133}
 html[data-theme="dark"] .otk-game-kit .is-reversi .w23c-coordinate:not([data-otk-paper],[data-otk-paper] *){color:#fff}
 html[data-theme="dark"] .otk-game-kit .w23c-table>summary:not([data-otk-paper],[data-otk-paper] *){color:#b9b9b9}
 html[data-theme="dark"] .otk-game-kit .w23c-replay>span:not([data-otk-paper],[data-otk-paper] *){color:#b8b8b8}
 html[data-theme="dark"] .otk-game-kit .w23c-domino-top:not([data-otk-paper],[data-otk-paper] *){color:#c1c1c1}
 html[data-theme="dark"] .otk-game-kit .w23c-endpoints:not([data-otk-paper],[data-otk-paper] *){background:#17483f;color:#fff}
 html[data-theme="dark"] .otk-game-kit .w23c-endpoints span:not([data-otk-paper],[data-otk-paper] *){color:#e1f3ee}
 html[data-theme="dark"] .otk-game-kit .w23c-chain:not([data-otk-paper],[data-otk-paper] *){border:1px solid #3b5a54;border-top:0;background:#28312b}
 html[data-theme="dark"] .otk-game-kit .w23c-chain>p:not([data-otk-paper],[data-otk-paper] *){color:#9bb9aa}
 html[data-theme="dark"] .otk-game-kit .w23c-tile:not([data-otk-paper],[data-otk-paper] *){background:#1f1d16;border:1px solid #5d665b;box-shadow:0 2px 0 #727f7540}
 html[data-theme="dark"] .otk-game-kit .w23c-pips+.w23c-pips:not([data-otk-paper],[data-otk-paper] *){border-left:1px solid #5d665b}
 html[data-theme="dark"] .otk-game-kit .w23c-pips i.is-pip:not([data-otk-paper],[data-otk-paper] *){background:#263d49}
 html[data-theme="dark"] .otk-game-kit .w23c-pips em:not([data-otk-paper],[data-otk-paper] *){color:#8a9088}
 html[data-theme="dark"] .otk-game-kit .w23c-hand-button:not([data-otk-paper],[data-otk-paper] *){background:#191919;border:1px solid #425158;color:#c3c3c3}
 html[data-theme="dark"] .otk-game-kit .w23c-hand-button.is-playable:not([data-otk-paper],[data-otk-paper] *){border:2px solid #0053e2;background:#292929}
 html[data-theme="dark"] .otk-game-kit .w23c-hand-button.is-selected:not([data-otk-paper],[data-otk-paper] *){background:#313131;box-shadow:0 0 0 3px #4c5f81}
 html[data-theme="dark"] .otk-game-kit .w23c-handoff:not([data-otk-paper],[data-otk-paper] *){background:#212121}
 html[data-theme="dark"] .otk-game-kit .w23c-handoff p:not([data-otk-paper],[data-otk-paper] *){color:#b8b8b8}
 @media(max-width:1050px){
  html[data-theme="dark"] .otk-game-kit:is([data-otk-tool=english-draughts],[data-otk-tool=reversi],[data-otk-tool=dominoes]) .gk-side:not([data-otk-paper],[data-otk-paper] *){border-left:0;border-top:1px solid #3d3d3d}
 }
}
/* dark-mode:end */
