body[data-game=hop]{--accent:var(--c-hop)}.hop-board{cursor:pointer;max-width:520px;margin:0 auto}.hop-cell rect{fill:var(--surface);stroke:var(--border);stroke-width:2px;transition:fill .12s}.hop-num{text-anchor:middle;fill:var(--text);pointer-events:none;font:700 38px/1 system-ui,sans-serif}.hop-cell.is-goal .hop-num{fill:#e69f00;font-size:44px}.hop-cell.is-visited rect{fill:color-mix(in srgb, var(--accent) 18%, var(--surface))}.hop-cell.is-visited .hop-num{fill:var(--text-muted)}.hop-cell.is-start rect{stroke:var(--accent);stroke-width:5px}.hop-cell.is-current rect{fill:var(--accent);stroke:var(--accent)}.hop-cell.is-current .hop-num{fill:#fff}.hop-cell.is-reachable rect{stroke:var(--accent);stroke-width:4px;stroke-dasharray:10 7;fill:color-mix(in srgb, var(--accent) 7%, var(--surface))}.hop-cell.is-invalid rect{fill:color-mix(in srgb, #d55e00 25%, var(--surface));animation:.3s hop-shake}@keyframes hop-shake{25%{transform:translate(-5px)}75%{transform:translate(5px)}}.hop-path{fill:none;stroke:var(--accent);stroke-width:8px;stroke-linecap:round;stroke-linejoin:round;opacity:.45;pointer-events:none}.hop-steps text{fill:var(--text-muted);pointer-events:none;font:600 18px/1 system-ui,sans-serif}.hop-board.is-finished{cursor:default}.hop-board.is-finished .hop-cell.is-goal rect{fill:color-mix(in srgb, #e69f00 30%, var(--surface))}
