.path-card-grid{position:relative;display:grid;grid-template-columns:repeat(3,40px);grid-template-rows:repeat(3,40px);transform:rotate(-8deg);border:1px solid #c7bba8;border-radius:6px;overflow:hidden;background:#fbf8f0;transition:transform .5s var(--ease-out)}.path-card-grid>span{display:grid;place-items:center;border-right:1px solid #dfd8ca;border-bottom:1px solid #dfd8ca;font:20px var(--serif);position:relative;z-index:1}.path-card-grid svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.path-card-grid svg path{fill:none;stroke:#b5a184;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;opacity:.5}.card:hover .path-card-grid{transform:rotate(-3deg) translateY(-3px)}.path-progress{display:flex;justify-content:space-between;font-size:10px;color:#697959;margin:21px auto 10px;max-width:340px;font-variant-numeric:tabular-nums}.path-grid.game-board{position:relative;grid-template-columns:repeat(7,1fr);gap:0;padding:0;border:2px solid #c5cfb8;border-radius:9px;overflow:hidden;margin:10px auto 18px;touch-action:none;user-select:none;-webkit-user-select:none;background:#faf9f3}.path-cell.cell{border-radius:0;background:transparent;border-right:1px solid #e1e5d8;border-bottom:1px solid #e1e5d8;position:relative;display:grid;place-items:center;min-width:0;touch-action:none}.path-cell.cell:nth-child(7n){border-right:0}.path-cell.cell:nth-child(n+43){border-bottom:0}.path-cell.cell.path-visited{background:#ecf2df}.path-cell.cell.path-end{background:#e3edcf;box-shadow:inset 0 0 0 2px #a7bc8c}.path-cell.cell:hover{background:#eef1e5;box-shadow:none}.path-cell:focus-visible{outline:2px solid #698751;outline-offset:-3px}.path-number{position:relative;z-index:3;width:72%;height:72%;max-width:32px;max-height:32px;border-radius:50%;display:grid;place-items:center;background:#9c8ac2;color:white;font:600 15px var(--sans);box-shadow:0 1px 2px #4a3f6a15;pointer-events:none}.path-number.first-number{background:#fcfff5;color:#68874f;border:2px solid #9ab77c}.path-visited .path-number{background:#718a59;color:white}.path-visited .first-number{background:#fafff0;color:#607e47}.path-trace,.path-walls{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.path-trace{z-index:1}.path-walls{z-index:2}.path-keyboard{text-align:center;font-size:9px;line-height:1.7;color:var(--muted);margin:14px 0 0}.finishing-state .path-grid{overflow:visible}.finishing-state .path-cell{border-color:#e1e5d8}.finishing-state .path-trace{opacity:.8}.finishing-state .path-cell:disabled{color:inherit}.finishing-state .path-cell:hover{background:#ecf2df}@media(max-width:540px){.path-card-grid{grid-template-columns:repeat(3,28px);grid-template-rows:repeat(3,28px)}.path-card-grid>span{font-size:17px}.path-progress{font-size:9px}.path-number{font-size:13px}.path-keyboard{display:none}}@media(hover:none){.card:hover .path-card-grid{transform:rotate(-8deg)}}@media(prefers-reduced-motion:reduce){.card:hover .path-card-grid{transform:rotate(-8deg)}}
