:root{font-family:ui-sans-serif,system-ui,-apple-system,sans-serif;color:#193a36;background:#f2f0e8}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 15% 5%,#dcebe0,transparent 55%)}main{max-width:1120px;margin:auto;padding:38px 24px}header{margin-bottom:30px}.eyebrow{font-size:11px;letter-spacing:.2em;font-weight:750;color:#5d7b6c}h1{font:clamp(42px,7vw,70px) Georgia,serif;margin:10px 0 4px;letter-spacing:-.04em}p{line-height:1.6}.subtitle{color:#648076;margin:0}.layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);gap:36px}.table{background:#fffdf5;padding:19px;border:1px solid #c9d5c7;border-radius:20px;box-shadow:0 14px 38px #193a3612;align-self:start}.topline{display:flex;justify-content:space-between;font-size:13px;font-weight:650;margin-bottom:15px;gap:8px}#board{display:grid;aspect-ratio:1;border:5px solid #294f46;border-radius:5px;overflow:hidden;gap:1px;background:#294f46}.cell{position:relative;border:0;border-radius:0;min-width:0;min-height:0;padding:0;background:#e5e9d7;display:grid;place-items:center;cursor:pointer;color:#173d35;font-size:clamp(14px,3vw,29px)}.cell.dark{background:#c9d6bd}.cell.selected{box-shadow:inset 0 0 0 4px #d79739}.cell.legal:after{content:'';width:20%;height:20%;border-radius:50%;background:#35846788}.cell.shoot.legal:after{background:#b56c32}.cell:focus-visible{outline:3px solid #c77326;outline-offset:-3px;z-index:2}.stone{width:68%;height:68%;border-radius:50%;display:grid;place-items:center;box-shadow:0 3px 4px #12392c40;font-size:.8em}.jade{background:radial-gradient(circle at 33% 25%,#6baf85,#174d42 65%);color:#e5f7d5;border:2px solid #386e50}.pearl{background:radial-gradient(circle at 32% 25%,#fffef8,#d8cfac);color:#695d3b;border:2px solid #fff9e4}.arrow{font-size:.85em;color:#785e40;font-weight:700}.tiny{position:absolute;font-size:8px;bottom:2px;left:3px;opacity:.6}.legend{display:flex;justify-content:space-between;gap:6px;font-size:11px;color:#607269;margin-top:14px}aside{padding:10px 0}h2{font:30px Georgia,serif;margin:12px 0}#status{min-height:52px;color:#547064;font-size:14px}.steps{display:flex;gap:8px;margin:18px 0 24px;font-size:12px}.steps span{border-bottom:2px solid #d1d8c9;padding-bottom:7px;flex:1}.steps .on{border-color:#276751;font-weight:750}.controls{display:flex;gap:8px;flex-wrap:wrap}button,select{font:inherit}button:not(.cell),select{border:1px solid #bccabb;background:#fffdf6;color:#294b40;border-radius:9px;padding:10px 12px;font-size:13px;cursor:pointer}button:hover{filter:brightness(.96)}button:disabled{opacity:.45;cursor:default}label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;margin:18px 0 12px;color:#587164}select{display:block;width:100%;margin-top:7px}.primary{background:#214f42!important;color:#fffdf2!important;width:100%}.hint{font-size:13px;color:#8b5a1d;min-height:20px}.last{font-size:12px;color:#60766a}details{font-size:13px;border-top:1px solid #ccd6c8;padding-top:18px;margin-top:20px}summary{cursor:pointer;font-weight:650}footer{font-size:11px;line-height:1.8;color:#688075;margin-top:30px}a{color:inherit}@media(max-width:700px){main{padding:24px 14px}.layout{grid-template-columns:1fr;gap:18px}header{margin-bottom:20px}.table{padding:12px}aside{padding:4px}h2{font-size:27px}#status{min-height:0}.cell{font-size:24px}.legend{font-size:10px}.tiny{font-size:7px}}@media(prefers-reduced-motion:no-preference){.stone{animation:appear .18s ease-out}@keyframes appear{from{transform:scale(.9)}to{transform:scale(1)}}}
