/* The small, passive order belongs to the instruction; pebbles own the scene. */
.play-shell.child-ui[data-exercise-id=follow-the-path] .play-scene{grid-template-rows:auto auto minmax(0,1fr);gap:8px}
.exercise-page .play-shell.child-ui[data-exercise-id=follow-the-path] .play-scene>.game-field{grid-row:3}
.exercise-page .play-shell.child-ui .path-field{display:flex;align-items:center;justify-content:center;padding:0;min-height:0;overflow:visible}
.path-model{display:flex;align-items:center;justify-content:center;gap:4px;pointer-events:none;user-select:none;min-height:82px;padding-bottom:26px}
.path-step{position:relative;display:grid;place-items:center;width:56px;height:56px;border:2px solid transparent;border-radius:50%;background:none;color:var(--text)}
.path-step>svg{width:52px;height:52px}
.path-step.is-current{border-color:var(--success)}
.path-arrow{display:grid;place-items:center;color:var(--practice-edge)}
.child-ui .path-arrow>.ui-symbol{width:26px;height:20px;stroke-width:1.5}
.step-check,.point-check{display:none;position:absolute;color:var(--text);pointer-events:none}
.step-check{left:50%;top:calc(100% + 2px);transform:translateX(-50%);color:var(--success)}
.child-ui .path-step .step-check>.ui-symbol{display:block;width:24px;height:24px;stroke-width:3}
.path-step.is-done .step-check{display:block}
.path-board{position:relative;width:min(100%,640px);height:clamp(240px,42dvh,340px)}
.path-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.path-lines line{stroke:var(--success);stroke-width:3;fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round}
html[data-motion=calm] .path-lines .is-new{stroke-dasharray:1;animation:path-draw 200ms ease-out both}
@keyframes path-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.path-board .path-point{position:absolute;display:grid;place-items:center;transform:translate(-50%,-50%);width:120px;height:120px;padding:0;border:3px solid transparent;background:none;border-radius:50%;color:var(--ink-on-pebble)}
.path-point>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
.path-point>svg{position:relative;width:76%;height:76%;pointer-events:none;stroke-width:4}
.path-point>svg>*{vector-effect:non-scaling-stroke}
.path-point[aria-pressed=true]{border-color:var(--success)}
.path-board .path-point:active:not(:disabled){transform:translate(-50%,-50%)}
.path-complete .path-point.is-last .point-check{display:block}
.path-complete .path-point.is-last>svg{visibility:hidden}
.path-complete .path-lines line{stroke:var(--link);stroke-width:5}
.path-complete .path-point[aria-pressed=true]{border-color:var(--link)}
.point-check{left:50%;top:50%;transform:translate(-50%,-50%);color:var(--ink-on-pebble)}
.child-ui .path-point .point-check>.ui-symbol{display:block;width:56px;height:56px;stroke-width:3}
.path-point:disabled{opacity:1}
@media(max-width:600px){.play-shell.child-ui[data-exercise-id=follow-the-path] .play-help>.child-word{display:none}.exercise-page .play-shell.child-ui[data-exercise-id=follow-the-path] .play-tools .play-help{min-width:44px;min-height:56px;padding:4px}.play-shell.child-ui[data-exercise-id=follow-the-path] .play-top{gap:6px}.path-model{gap:2px}.child-ui .path-arrow>.ui-symbol{width:20px}.path-step{width:52px;height:52px}.path-step>svg{width:48px;height:48px}.path-board{height:260px}.path-board .path-point{width:104px;height:104px}}
@media(max-height:500px) and (orientation:landscape){.path-model{min-height:70px}.path-step{width:44px;height:44px}.path-step>svg{width:44px;height:44px}.path-board{width:400px;height:140px}.path-board .path-point{width:72px;height:72px}.child-ui .path-arrow>.ui-symbol{width:20px}}
@media(prefers-reduced-motion:reduce){html[data-motion=calm] .path-lines .is-new{animation:none;stroke-dasharray:none}}





