#board { position: relative; display: grid; touch-action: none; user-select: none; }
.cell { box-sizing: border-box; width: 64px; height: 64px; border: 1px solid #bbb;
        display: flex; align-items: center; justify-content: center; background: #fff; }
.cell.visited { background: #fde7c8; }
.cell.head { background: #f7b267; }
.num { position: relative; z-index: 2; width: 30px; height: 30px; border-radius: 50%;
       background: #222; color: #fff; display: flex; align-items: center;
       justify-content: center; font: bold 16px sans-serif; }
#board svg { position: absolute; inset: 0; z-index: 1; pointer-events: none; width: 100%;
    height: 290px;}
#status { font: 16px sans-serif; margin-bottom: 8px; min-height: 1.2em; }