.xq-home { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:clamp(1rem,4vw,3rem); background:#f9f0db; padding:clamp(1rem,3vw,2rem); border-radius:18px; }
.xq-cover { width:min(100%,16rem); border-radius:14px; }
.xq-menu { display:grid; gap:.7rem; text-align:left; }
.xq-option { padding:.8rem 1rem; border-radius:12px; border:2px solid #ccae85; background:#fffaf0; color:#57371f; font:inherit; cursor:pointer; text-align:left; }
.xq-option small,.xq-option strong { display:block; }
.xq-option:hover { background:#ffedcb; }
.xq-board {
  position:relative; display:grid; grid-template-columns:repeat(9,minmax(0,1fr));
  width:min(100%,33rem); box-sizing:border-box; margin:0 auto 1rem;
  border:clamp(3px,1vw,9px) solid #815131; border-radius:9px;
  background: url('./grid.svg') center/100% 100% no-repeat,
    repeating-linear-gradient(2deg,transparent 0 6px,#a86b2e0c 7px,transparent 9px 16px),
    linear-gradient(115deg,#f4d296,#f7dcaa 40%,#e5b677);
  box-shadow:0 4px 0 #563723;
}
.xq-point { display:grid; place-items:center; position:relative; min-width:0; padding:0; border:0; aspect-ratio:1; background:transparent; cursor:pointer; touch-action:manipulation; }
.xq-stone { display:block; width:94%; height:94%; border-radius:50%; object-fit:contain; pointer-events:none; filter:drop-shadow(0 1px 1px #633a1670); }
.xq-point.recent { background:#fffd754f; }
.xq-point.chosen,.xq-point:focus-visible { outline:3px solid #006663; outline-offset:-3px; border-radius:8px; }
.xq-point.checked .xq-stone { outline:3px dashed #ae150e; }
.xq-point.target::after { content:''; position:absolute; width:24%; height:24%; border-radius:50%; background:#19635c; box-shadow:0 0 0 1px #fff8; }
.xq-point.target:has(.xq-stone)::after { width:90%; height:90%; border:3px dashed #19635c; background:transparent; }
@media(max-width:600px) {
  .xq-cover { width:min(100%,9rem); }
  .xq-board { width:calc(100vw - 12px); margin-left:calc(50% - 50vw + 6px); }
}
