/* Characters wake only in sections unlocked by the existing lesson sequence. */
.living-path .path-motion-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 4px 16px;font-size:12px;color:#657267}.path-motion-bar button{font-size:12px;min-height:44px;padding:7px 0;white-space:nowrap}
.living-path .path-unit{margin:0 0 40px}.living-path .path-unit>header{padding:22px 26px;border:1px solid #d7e4d3;background:#edf4e8;border-radius:22px;text-align:center;margin:0 0 50px}.living-path .path-unit>header h2{display:block;font-size:25px;margin:7px 0}.living-path .path-unit>header>.eyebrow{display:block}.living-path .unit-locked>header{background:#f0f0ed;border-color:#dedfda;color:#727770}.living-path .unit-locked header p,.living-path .unit-locked .path-unit-count,.living-path .unit-locked header .eyebrow{color:#71766f}
.living-path .path-context[data-unit-state=locked]{background:#737a74;box-shadow:0 4px 0 #5c635e,0 9px 20px #23382e10}.living-path .path-context[data-unit-state=completed]{background:#416f56}
.living-path .path-stops{padding:0;margin:0;position:relative}.living-path .path-stops:before{display:none}.living-path .path-stop{display:block;position:relative;height:170px;min-height:170px;margin:0;padding:0;border:0;box-shadow:none;background:none;isolation:isolate}.living-path .path-stop.is-current{margin:0;padding:0;background:none;box-shadow:none;border:0}
.path-node{position:absolute;top:0;left:var(--bend);transform:translateX(-50%);width:180px;display:flex;align-items:center;flex-direction:column;text-align:center;z-index:2}
.living-path .path-node-button{display:grid;place-items:center;width:76px;height:70px;min-height:70px;min-width:76px;border-radius:50%;border:0;padding:0;background:#ee795c;color:#fff;box-shadow:0 7px 0 #bd5540,inset 0 2px 0 #ffffff36;transition:transform .15s,box-shadow .15s;position:relative}.living-path .path-node-button .icon{width:29px;height:29px}@media(hover:hover) and (pointer:fine){.living-path .path-node-button:not(:disabled):hover{transform:translateY(-2px);filter:brightness(1.04)}}.living-path .path-node-button:not(:disabled):active{transform:translateY(5px);box-shadow:0 2px 0 #bd5540}.living-path .path-node-button:focus-visible{outline:3px solid #197e78;outline-offset:9px}
.living-path .done .path-node-button{background:#5b8867;box-shadow:0 7px 0 #3e6248,inset 0 2px 0 #ffffff36}.living-path .locked .path-node-button{background:#dedfda;color:#969c94;box-shadow:0 7px 0 #c2c6be;opacity:1;cursor:not-allowed}.living-path .is-current .path-node-button:before{content:"";position:absolute;inset:-10px -10px -17px;border:4px solid #e9cbbc;border-top-color:#ed795c;border-radius:50%;pointer-events:none}
.path-start-bubble{position:absolute;top:-42px;border:2px solid #e4dfd6;border-radius:12px;background:#fff;color:#b55039;font-size:11px;font-weight:800;letter-spacing:1px;padding:8px 12px;box-shadow:0 2px 0 #ece6dc}.path-start-bubble:after{content:"";position:absolute;width:10px;height:10px;background:#fff;border-right:2px solid #e4dfd6;border-bottom:2px solid #e4dfd6;transform:rotate(45deg);bottom:-7px;left:calc(50% - 6px)}
.living-path .path-node-copy{padding-top:17px;width:100%}.living-path .path-kind{font-size:9px;letter-spacing:.3px;color:#758071}.living-path .path-node h3{font-size:15px;font-weight:700;margin:4px 0;line-height:1.35;color:#35483b}.living-path .path-node .path-stop-state{font-size:10px;margin-top:4px;color:#667160}.living-path .locked h3,.living-path .locked .path-kind,.living-path .locked .path-stop-state{color:#777d74}
.path-actor{position:absolute;top:-27px;width:clamp(115px,30%,215px);margin:0;z-index:1;pointer-events:none;text-align:center;transform:translateX(-50%);transition:filter .7s,opacity .7s}.actor-right{left:77%}.actor-left{left:21%}.path-actor[data-awake=false]{filter:grayscale(1);opacity:.48}.actor-stage{position:relative;aspect-ratio:1;width:100%;isolation:isolate}.actor-body{position:absolute;inset:0;transform-origin:50% 90%;animation-play-state:paused}.actor-body img{display:block;width:100%;height:100%;object-fit:contain;position:relative;z-index:1}.actor-shadow{position:absolute;bottom:6%;left:23%;width:54%;height:5%;border-radius:50%;background:#6e79551c;transform-origin:center;}.path-actor figcaption{position:relative;margin-top:-4px;font-size:12px;color:#55705a;line-height:1.5}.path-actor figcaption strong{font-size:13px}.path-actor figcaption span{display:block;max-width:170px;margin:3px auto 0;font-size:11px}.path-actor[data-awake=false] figcaption{color:#606860}
/* Motion is finite and selected by the director, not CSS loops. */
.actor-rope{position:absolute;left:22%;width:56%;top:65%;height:29%;border:3px solid #238d89;border-top:0;border-radius:0 0 50% 50%;transform-origin:50% 0;visibility:hidden}.rope-back{z-index:0}.rope-front{z-index:3}
.actor-dato[data-behavior=practice] .actor-rope{visibility:visible}
.actor-note{display:none}
.actor-pose{position:absolute;left:0;bottom:0;width:100%;aspect-ratio:1;background-size:200% 200%;background-repeat:no-repeat;background-position:0 0;opacity:0;z-index:1;transition:opacity 120ms linear;pointer-events:none}
.actor-dato .actor-pose{background-size:300% 300%}
.path-actor[data-poses=ready] .actor-body>img{visibility:hidden}
.living-path[data-motion=paused] .actor-pose{transition:none}
@media(min-width:901px){.living-path{max-width:760px;margin:0 auto}}
@media(max-width:600px){.living-path .path-motion-bar{font-size:10px;gap:8px;margin-bottom:12px}.path-motion-bar button{font-size:10px}.living-path .path-unit>header{padding:17px 14px;margin-bottom:48px}.living-path .path-unit>header h2{font-size:20px}.living-path .path-unit header p{font-size:12px}.living-path .path-stop{height:160px;min-height:160px}.path-node{width:132px}.living-path .path-node-button{width:66px;height:62px;min-width:66px;min-height:62px}.living-path .path-node h3{font-size:13px}.living-path .path-node-copy{padding-top:17px}.living-path .path-kind{font-size:8px}.living-path .path-stop-state{font-size:9px}.path-actor{width:clamp(102px,33%,145px);top:0}.actor-right{left:79%}.actor-left{left:19%}.path-actor figcaption span{display:none}.path-actor figcaption strong{font-size:11px}.actor-rope{border-width:2px}.path-layout .path-aside .path-companion{display:none}.living-path .path-unit{margin-bottom:26px}.path-start-bubble{font-size:10px;top:-40px}.actor-note{font-size:17px}}
@media(prefers-reduced-motion:reduce){.living-path .path-actor *{animation:none!important;transition:none!important}.path-actor{transition:none}.rope-front{display:none}.actor-note{display:none}.living-path .path-node-button{transition:none}}

.living-path .path-stop.has-actor:last-child{min-height:330px}
@media(max-width:600px){.living-path .path-stop.has-actor:last-child{min-height:230px}}

.living-path .path-node-button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;cursor:pointer}.living-path .done .path-node-button:not(:disabled):active{box-shadow:0 2px 0 #3e6248}
