.workspace{align-items:start}.preview{min-width:0;background:#20352f}.bar{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;justify-content:flex-start}.bar h2{margin:.35rem 0}.bar span{margin-left:auto;font-size:.85rem}#board{width:100%;max-width:525px;aspect-ratio:1;display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(8,1fr);border:5px solid #4b5949;box-sizing:border-box;margin:.6rem auto}#board button{position:relative;display:grid;place-items:center;width:100%;height:100%;min-width:0;padding:0;border:0;border-radius:0;background:#c8bb94;color:#eff8dc}#board button.dark{background:#7b9988}#board button.last{box-shadow:inset 0 0 0 2px #c99b4b}#board button.selected,#board button:focus-visible{outline:3px solid #f5a73c;outline-offset:-3px;z-index:1}#board button.legal::after{content:"";position:absolute;width:24%;height:24%;border-radius:50%;background:#f6b451;box-shadow:0 0 0 2px #4c543b}#board .stone{display:grid;place-items:center;border-radius:50%;width:71%;height:71%;border:2px solid #2e4035;background:radial-gradient(circle at 35% 25%,#58665c,#25352e 65%);box-shadow:0 2px 2px #26352b88;box-sizing:border-box;font:700 clamp(.6rem,1.8vw,1rem) monospace;color:#fff6d8}#board .p2{background:radial-gradient(circle at 35% 25%,#fff6de,#d3c7a6 72%);color:#403a30}.controls label{display:grid;gap:.22rem;margin-bottom:.55rem}.controls [hidden],[hidden]{display:none!important}.controls p{font-size:.91rem}#history{max-height:240px;overflow:auto;columns:2}#status{min-height:2.4em}

:root:not([data-theme="light"]) #board button{background:#ada17d}:root:not([data-theme="light"]) #board button.dark{background:#6d8a79}
:root[data-theme="light"] .preview{background:#e7efe9}
