.bk-wrap{--bk-coord: #4a321b;--bk-ko: #234b73;--bk-banner-bg: #f6e3b4;--bk-banner-text: #3a2716;--bk-terr-black: #1b1712;--bk-terr-white: #fbf7ef;--bk-terr-edge: #3d2a17;--bk-dead: #c8372b}:root[data-theme=dark] .bk-wrap{--bk-coord: #f3e6cf;--bk-ko: #9cc3ec;--bk-banner-bg: #4a3a16;--bk-banner-text: #fff1d6;--bk-terr-black: #0a0a0a;--bk-terr-white: #f4efe6;--bk-terr-edge: #0d0805;--bk-dead: #e0483a}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .bk-wrap{--bk-coord: #f3e6cf;--bk-ko: #9cc3ec;--bk-banner-bg: #4a3a16;--bk-banner-text: #fff1d6;--bk-terr-black: #0a0a0a;--bk-terr-white: #f4efe6;--bk-terr-edge: #0d0805;--bk-dead: #e0483a}}.bk-wrap{--bk-bleed: 0px;--bk-cap: var(--board-max, min(640px, calc(100vh - 220px) ));--bk-size: max(min(100% + var(--bk-bleed), var(--bk-cap)), min(100% + var(--bk-bleed), 280px));width:var(--bk-size);margin-inline:calc((100% - var(--bk-size)) / 2);container-type:inline-size}@supports (height: 100svh){.bk-wrap{--bk-cap: var(--board-max, min(640px, calc(100svh - 220px) ))}}@media(max-width:767px){.bk-wrap{--bk-bleed: 16px}}.bk-board{aspect-ratio:1 / 1;border-radius:2.4%;box-shadow:0 5px 0 0 var(--board-frame),0 14px 24px -10px #2b21188c;touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.bk-board.is-pointing{cursor:pointer}.bk-board:focus-visible{outline-offset:4px}.bk-board__svg{display:block;width:100%;height:auto;border-radius:inherit}.bk-wood{fill:var(--board-wood-1)}.bk-grain{fill:none;stroke:var(--board-grain);stroke-width:2.5;opacity:.22}.bk-line{stroke:var(--board-line);stroke-width:1;vector-effect:non-scaling-stroke}.bk-line--edge{stroke-width:2}.bk-star{fill:var(--board-line)}.bk-coord{fill:var(--bk-coord);font-family:var(--font-sans);font-weight:600;font-variant-numeric:tabular-nums;text-anchor:middle;dominant-baseline:central}[data-layer=points] rect{width:60px;height:60px;fill:transparent}[data-layer=stones],[data-layer=marks],[data-layer=overlay],[data-layer=fx]{pointer-events:none}[data-layer=stones]{filter:drop-shadow(0 1.5px 1px rgb(0 0 0 / .35))}.bk-stone__body,.bk-ghost__body{stroke-width:1.5}.bk-stone--black .bk-stone__body,.bk-ghost--black .bk-ghost__body{fill:var(--stone-black-2);stroke:var(--stone-black-edge)}.bk-stone__shine{fill:var(--stone-black-1);opacity:.55}.bk-stone--white .bk-stone__body,.bk-ghost--white .bk-ghost__body{fill:var(--stone-white-1);stroke:var(--stone-white-edge)}.bk-last{fill:none;stroke-width:3}.bk-last--on-black{stroke:var(--marker-on-black)}.bk-last--on-white{stroke:var(--marker-on-white)}.bk-ko{fill:none;stroke:var(--bk-ko);stroke-width:3}.bk-terr--black{fill:var(--bk-terr-black)}.bk-terr--white{fill:var(--bk-terr-white);stroke:var(--bk-terr-edge);stroke-width:1.5}.bk-stone--dead{opacity:.45}.bk-dead{fill:none;stroke:var(--bk-dead);stroke-width:2.5;stroke-linecap:round}.bk-ghost--hover .bk-ghost__body{opacity:.45}.bk-ghost--preview .bk-ghost__body,.bk-ghost--pending .bk-ghost__body{opacity:.6}.bk-ghost__ring{fill:none;stroke:var(--color-accent);stroke-width:2.5;stroke-dasharray:6 5}.bk-cursor{fill:none;stroke:var(--color-focus);stroke-width:3}@media(prefers-reduced-motion:no-preference){.bk-stone.is-new{transform-box:fill-box;transform-origin:center;animation:bk-place .12s ease-out}}@keyframes bk-place{0%{transform:scale(.85)}}.bk-fading{animation:bk-fade .2s ease-in forwards}@keyframes bk-fade{to{opacity:0}}@media(prefers-reduced-motion:no-preference){.bk-terr-row,[data-kind=final]>.bk-dead{animation:bk-ink .2s ease-out backwards}.bk-terr-row>.bk-terr{transform-box:fill-box;transform-origin:center;animation:bk-stamp .2s cubic-bezier(.2,.7,.3,1) backwards;animation-delay:inherit}.bk-terr-row[data-row="1"]{animation-delay:40ms}.bk-terr-row[data-row="2"]{animation-delay:80ms}.bk-terr-row[data-row="3"]{animation-delay:.12s}.bk-terr-row[data-row="4"]{animation-delay:.16s}.bk-terr-row[data-row="5"]{animation-delay:.2s}.bk-terr-row[data-row="6"]{animation-delay:.24s}.bk-terr-row[data-row="7"]{animation-delay:.28s}.bk-terr-row[data-row="8"]{animation-delay:.32s}[data-kind=final]>.bk-dead{animation-delay:.36s}}@keyframes bk-ink{0%{opacity:0}}@keyframes bk-stamp{0%{transform:scale(1.6)}}.bk-status{--bk-status-lines: 3;height:calc(var(--bk-status-lines) * 1.35em);margin:var(--space-4) 0 0;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--bk-status-lines);font-size:var(--text-sm);line-height:1.35}@container (min-width: 600px){.bk-status{--bk-status-lines: 2}}.bk-banner:not(:empty){padding:1px var(--space-2);border-radius:999px;background:var(--bk-banner-bg);color:var(--bk-banner-text);font-weight:600;-webkit-box-decoration-break:clone;box-decoration-break:clone}.bk-banner:not(:empty){margin-inline-end:var(--space-2)}.bk-wrap .bk-bar{justify-content:space-between;align-items:center;gap:var(--space-2);margin-top:var(--space-2)}.bk-slot{display:inline-grid;min-width:0}.bk-slot>*{grid-area:1 / 1}.bk-slot>[hidden]{display:inline-grid!important;visibility:hidden}.bk-bar .bk-estimate{min-width:0}.bk-bar .board-sound{flex:none}.bk-bar .bk-pass,.bk-bar .bk-toggle{display:inline-grid;place-items:center;max-width:12em;padding-block:2px;line-height:1.15;text-align:center}.bk-pass__label,.bk-toggle__label,.bk-pass:before,.bk-pass:after,.bk-toggle:before,.bk-toggle:after{grid-area:1 / 1}.bk-pass__label,.bk-toggle__label{place-self:stretch;display:grid;place-items:center}.bk-pass:before,.bk-pass:after,.bk-toggle:before,.bk-toggle:after{visibility:hidden;font-weight:700}.bk-toggle:before{content:attr(data-reserve-on);content:attr(data-reserve-on) / ""}.bk-toggle:after{content:attr(data-reserve-off);content:attr(data-reserve-off) / ""}.bk-pass:before{content:attr(data-reserve-idle);content:attr(data-reserve-idle) / ""}.bk-pass:after{content:attr(data-reserve-armed);content:attr(data-reserve-armed) / ""}.bk-pass[data-armed]{border-color:var(--color-accent);box-shadow:inset 0 0 0 1px var(--color-accent);color:var(--color-accent);font-weight:700}.bk-pass:disabled,.bk-toggle:disabled{opacity:.45;cursor:default}.bk-panel{height:calc(2 * 1.35em + 3 * 1.9em + 13px);margin-top:var(--space-3);padding-top:var(--space-2);border-top:1px solid var(--color-border);font-size:var(--text-sm);overflow:hidden}.bk-panel__caption{height:2.7em;margin:0 0 var(--space-1);overflow:hidden;color:var(--color-text-muted);line-height:1.35}.bk-panel[data-mode=captures] .bk-col-score,.bk-panel:not([data-mode=captures]) .bk-col-captured{display:none}.bk-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.bk-table th,.bk-table td{height:1.9em;padding:0 var(--space-2) 0 0;text-align:end;font-weight:400}.bk-table tbody th{text-align:start;font-weight:600}.bk-table thead{color:var(--color-text-muted)}.bk-chip{display:inline-block;width:.8em;height:.8em;margin-inline-end:var(--space-2);border-radius:50%;border:1.5px solid var(--stone-black-edge);background:var(--stone-black-2);box-shadow:0 0 0 1px var(--color-border);vertical-align:-.05em}.bk-chip--white{border-color:var(--stone-white-edge);background:var(--stone-white-1)}.bd-rule-badge{display:inline-flex;align-items:center;gap:var(--space-2);margin-top:var(--space-2);padding:2px var(--space-3) 2px var(--space-2);border:1px solid var(--color-border);border-radius:999px;font-size:var(--text-sm)}.bd-rule-badge:before{content:"";width:18px;height:12px;background:radial-gradient(circle at 6px,var(--stone-black-2) 5.5px,transparent 6px),radial-gradient(circle at 12px,var(--stone-white-1) 5px,var(--stone-white-edge) 5.5px,transparent 6px)}.bd-hard-hint,.bdai-status__sides,.bdai-status__ply{font-size:var(--text-sm);color:var(--color-text-muted)}.bd-hard-hint{margin-top:var(--space-2)}.bdai-status__turn{font-size:var(--text-lg);font-weight:700}.bd-dot{padding:7px;border-radius:50%;background:var(--stone-black-2);box-shadow:inset 0 0 0 1px var(--stone-white-edge)}.bd-dot--white{background:var(--stone-white-1)}.bd-dot--random{background:linear-gradient(90deg,var(--stone-black-2) 50%,var(--stone-white-1) 0)}.bdai-page:not([data-phase*=T]) .bk-estimate{visibility:hidden}@media(max-width:899px){.bd-hard-hint{order:2}.bdai-page .ai-layout{position:relative;margin-top:var(--space-2);padding-bottom:147px}.bdai-page .bk-panel{position:absolute;inset:auto 0 0}}
