/* Candidate on exact v14: compact teaching hierarchy and safe controls. */
.ws-page{grid-template-columns:minmax(0,1fr);gap:12px}.ws-main{max-width:780px;margin:auto;width:100%}.ws-hero{padding:8px 0}.ws-hero h1{font-size:48px;margin:4px 0}.ws-caption{margin-bottom:4px}.ws-meaning{margin:5px 0 10px}.ws-chunks{margin-top:12px;gap:8px}.ws-chunks .ws-button{padding:8px;min-width:50px}.ws-phonics-tools{margin:12px 0;gap:14px}.ws-phonics-tools .ws-button{color:#82415f;font-weight:700}.ws-example-inline{margin:12px 0 0;padding:12px 16px;border-radius:16px;background:#fff4eb;text-align:left}.ws-example-inline p{font-size:20px;color:#684759;margin:6px 0}.ws-example-inline small{display:block;color:#765667}.ws-example-inline .ws-text{padding:8px 10px}.ws-example{display:none}.ws-practice{position:static;max-width:780px;width:100%;margin:auto;padding:16px;background:#fff;border:1px solid #eedce6;border-radius:14px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}.ws-practice-art,.ws-practice>p{display:none}.ws-practice h2{font-size:14px;margin:0;flex:1}.ws-practice .ws-primary{background:#fff1f7;color:#8d496a;box-shadow:none}.ws-footer{z-index:15}.ws-page{padding-bottom:100px}
.oral-deck{padding:16px 22px;min-height:100dvh}.deck-head{margin-bottom:12px}.deck-stack{margin:0;padding:0}.deck-back,.deck-card-top{display:none}.deck-card{border:0;background:transparent;box-shadow:none;padding:0;min-height:0;display:flex;flex-direction:column;align-items:center}.deck-card h1{font-size:21px;margin:4px 0 10px;line-height:1.5}.deck-answer{border-radius:18px;background:#fff0f6;border:1px solid #edcbdc;padding:12px 20px;min-height:52px;margin:0;max-width:100%}.deck-character{height:228px;width:100%;display:flex;justify-content:center}.deck-character .deck-partner{display:block;width:220px;max-width:100%;height:228px;margin:0;object-fit:contain}.deck-name{margin:5px}.deck-picture{height:74px;margin:4px}.deck-hints{gap:12px}.deck-mic-area{padding:8px 0;min-height:0}.deck-mic{width:78px;height:78px;margin-bottom:8px}.deck-mic-area p{font-size:13px}.deck-mic-area>small{display:none}#deck-level{display:block;width:140px;height:12px;margin:5px auto}.deck-footer{padding:10px 0 calc(10px + env(safe-area-inset-bottom));z-index:10}.deck-footer .btn{min-width:130px}.deck-answer:has(p){font-size:18px}
.radio-host{left:31%;top:9%;width:37%;height:73%;object-fit:contain;clip-path:inset(0 0 31% 0)}.radio-script{z-index:5;left:34%;top:64%;width:36%;height:28%;transform:none;padding:8px}.radio-script b{font-size:13px;margin:3px 0}#radio-progress{width:100%;height:8px;accent-color:#d6538c}.episode-radio-studio{max-height:360px}.completion-mascot{width:230px;height:230px;object-fit:contain;margin:auto}.unit-theme{display:flex;gap:24px;padding:24px;background:#fff1f8;border-radius:22px;align-items:center}.unit-theme>img{width:180px;height:260px;object-fit:contain}.unit-theme p{margin:10px 0;line-height:1.65}.unit-theme .btn{margin:5px;white-space:normal}.unit-theme small{display:block}.campus-world{max-height:320px}.campus-dialogue{margin-top:8px;padding:10px}.campus-line{margin-bottom:6px}.campus-dialogue p{margin:4px 0}.campus-answers{margin:6px 0}.campus-bubble{max-width:65%;font-size:12px}.campus-controls{margin-top:6px}.campus-task{padding:8px}.campus-locations{margin:7px 0}.campus-prop span{top:30px}
@media(max-width:500px){.word-study{padding-left:14px;padding-right:14px}.ws-head{margin-bottom:8px}.ws-batches{margin:5px 0}.ws-words{padding:5px 0}.ws-hero h1{font-size:38px}.ws-chunks b{font-size:21px}.ws-ipa{margin:4px 0}.ws-status{font-size:12px}.ws-phonics-tools{gap:10px}.ws-example-inline{padding:10px}.ws-example-inline p{font-size:17px}.oral-deck{padding:10px 16px}.deck-head{margin-bottom:8px}.deck-character,.deck-character .deck-partner{height:205px}.deck-card h1{font-size:18px}.deck-answer{padding:8px 14px;min-height:40px}.deck-hints .deck-link{min-height:36px;padding:6px}.deck-mic{width:70px;height:70px}.deck-mic-area{padding-top:5px}.deck-footer{position:sticky}.campus-world{aspect-ratio:1.65;max-height:235px}.campus-person{height:76px;width:48px}.campus-avatar{height:80px;width:80px}.campus-controls{flex-direction:row;gap:6px}.campus-controls small{font-size:10px;max-width:38%}.campus-controls button{min-width:38px;padding:7px}.campus-dialogue button{padding:7px 10px;min-height:40px}.campus-line{flex-wrap:nowrap}.campus-line p{min-width:0}.unit-theme{display:block;padding:16px}.unit-theme>img{float:right;width:95px;height:160px}.radio-station-label{font-size:12px;padding:4px}.radio-script{padding:4px}.radio-script b{font-size:11px}.radio-script small{font-size:8px}.radio-script span{font-size:9px}}
@media(max-height:720px){.deck-character,.deck-character .deck-partner{height:170px}.deck-hints{margin:0}.deck-head{margin-bottom:4px}.deck-card h1{margin:0 0 5px}.deck-mic-area p{line-height:1.3}}

.episode-radio-studio:after{content:"";position:absolute;inset:0;background-image:inherit;background-size:100% 100%;clip-path:polygon(0 55%,100% 55%,100% 100%,0 100%);z-index:3;pointer-events:none}.radio-host{left:24%;top:22%;width:34%;height:96%;clip-path:none;z-index:2}.radio-station-label{z-index:4}.radio-script{z-index:5}

.result-partner{float:right;width:75px;height:105px;object-fit:contain}.saved-completion{display:inline-flex;flex-direction:column;align-items:center;max-width:230px;padding:12px}.saved-completion .completion-mascot{width:130px;height:150px}


/* R18 mobile map + direct-start repair */
.map-journey{position:relative;overflow:hidden;border-radius:28px;background:
 radial-gradient(circle at 15% 15%,#fff5fa 0 18px,transparent 19px),
 radial-gradient(circle at 86% 42%,#fff4f8 0 24px,transparent 25px),
 linear-gradient(180deg,#fff 0%,#fffafd 50%,#fff 100%)}
.map-route{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;overflow:visible}
.map-route path{fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.map-route .route-shadow{stroke:#faedf3;stroke-width:14}
.map-route .route-line{stroke:#efb0cb;stroke-width:3;stroke-dasharray:2 12}
.map-journey .map-node{z-index:3}
.map-journey .node-button{filter:drop-shadow(0 7px 7px #b7417414)}
.map-journey .map-node.current .node-button{transform:scale(1.06)}
.map-journey .map-node.current .node-button:before{box-shadow:0 0 0 7px #f8d7e5aa}
.map-journey .map-node.locked{opacity:.97}
.map-journey .map-node.locked .node-base{fill:#aaa8b2}
.map-journey .map-node.locked .node-rim{fill:#c8c5d0}
.map-journey .map-node.locked .node-face{fill:#ddd9e3}
.map-character-current{z-index:2;transform:translateX(-50%);width:94px!important}
.map-character-current .companion-motion{width:94px!important;height:168px!important;filter:drop-shadow(0 8px 9px #8f506326)}
.map-character-current .map-companion-img{display:block;width:94px;height:168px;object-fit:contain;filter:drop-shadow(0 8px 9px #8f506326);background:transparent}
.unit-banner{display:flex;align-items:center;justify-content:space-between;gap:14px}
.unit-banner .guide span{font-size:24px;line-height:1;display:block;transform:translateY(-1px)}
@media(max-width:700px){
 .topbar{height:62px;padding:0 18px}
 .mobile-logo{width:116px;height:38px}
 .workspace{padding:14px 18px calc(var(--bottom-nav-height,100px) + env(safe-area-inset-bottom) + 20px)}
 .unit-banner{margin-bottom:12px;padding:15px 17px;border-radius:20px;box-shadow:0 5px 0 #d78796}
 .unit-banner small{font-size:10px;letter-spacing:.75px}
 .unit-banner h1{font-size:23px;margin-top:4px;padding-right:0}
 .unit-banner .guide{position:static;flex:0 0 46px;width:46px;height:46px;padding:0;border-radius:15px;display:grid;place-items:center}
 .map-journey{max-width:390px;margin:0 auto;border-radius:24px}
 .map-journey .map-node{width:88px}
 .map-journey .node-button{width:80px;height:90px}
 .map-journey .node-art{width:80px;height:90px}
 .map-character-current{width:88px!important}
 .map-character-current .companion-motion{width:88px!important;height:156px!important}
 .map-character-current .map-companion-img{width:88px;height:156px}
 .mobile-nav{padding-top:7px}
 .mobile-nav button{padding:4px 0}
}


/* R19 mobile visual acceptance: compact, readable route hierarchy */
.unit-progress{display:block;margin-top:7px;font-size:11px;font-weight:700;letter-spacing:.3px;color:#fff;opacity:.9}
.map-step-label{position:absolute;top:72px;left:50%;transform:translateX(-50%);min-width:92px;max-width:116px;text-align:center;font-size:11px;line-height:1.25;font-weight:700;color:#756b79;white-space:nowrap;padding:4px 7px;border-radius:10px}
.map-step-label b{font-size:9px;color:#a8939f;margin-right:2px}
.map-node.current .map-step-label{background:#fff;border:1px solid #f1c7da;color:#b56b79;box-shadow:0 3px 10px #9a456414}
.map-node.current .map-step-label b{color:#dc8f9b}
.map-node.locked .map-step-label{color:#a7a1ad}
.map-journey{background:linear-gradient(180deg,#fff 0%,#fffbfd 50%,#fff 100%)}
.map-route .route-shadow{stroke:#f7e3ec;stroke-width:10}
.map-route .route-line{stroke:#e98db6;stroke-width:4;stroke-dasharray:1 10}
.map-journey .map-node.current .node-button:before{box-shadow:0 0 0 5px #f8d7e577}
.map-character-current{width:76px!important}
.map-character-current .map-companion-img{width:76px;height:132px}
@media(max-width:700px){
 .topbar{height:54px;padding:0 14px}
 .mobile-logo{width:104px;height:34px}
 .topstats{gap:8px;font-size:12px}
 .profile-dot{width:32px;height:32px;border-radius:12px}
 .workspace{padding:10px 14px calc(var(--bottom-nav-height,92px) + env(safe-area-inset-bottom) + 16px)}
 .unit-banner{margin-bottom:8px;padding:12px 14px;border-radius:18px;box-shadow:0 4px 0 #d78796}
 .unit-banner small{font-size:9px;letter-spacing:.8px}
 .unit-banner h1{font-size:21px;line-height:1.2;margin-top:4px}
 .unit-progress{font-size:10px;margin-top:5px}
 .unit-banner .guide{flex:0 0 42px;width:42px;height:42px;min-width:42px;min-height:42px;border-radius:14px}
 .unit-banner .guide span{font-size:21px}
 .map-journey{max-width:370px;border-radius:20px}
 .map-journey .map-node{width:76px}
 .map-journey .node-button{width:68px;height:76px}
 .map-journey .node-art{width:68px;height:76px}
 .map-step-label{top:62px;min-width:82px;max-width:98px;font-size:10px;padding:3px 5px}
 .map-step-label b{font-size:8px}
 .map-character-current{width:70px!important}
 .map-character-current .map-companion-img{width:70px;height:120px}
 .map-journey .map-node.current .node-button{transform:scale(1.03)}
 .map-journey .map-node.current .node-button:before{inset:-2px;box-shadow:0 0 0 4px #f8d7e566}
 .mobile-nav{padding:6px 6px max(7px,env(safe-area-inset-bottom))}
 .mobile-nav button{min-height:46px;padding:3px 0;font-size:10px}
 .mobile-nav img{width:27px;height:28px;margin-bottom:3px}
}



/* R20 map labels: side-aligned, never collide with route */
.map-step-label{position:absolute;top:25px;width:92px;min-width:0;max-width:none;display:flex;align-items:center;gap:5px;font-size:11px;line-height:1.15;font-weight:700;color:#817684;white-space:nowrap;padding:5px 7px;border-radius:11px;transform:none;text-align:left;z-index:4}
.map-step-label em{font-style:normal;overflow:hidden;text-overflow:ellipsis}
.map-step-label b{flex:0 0 18px;width:18px;height:18px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:9px;background:#f1edf2;color:#8e8291}
.map-step-label.label-right{left:76px;right:auto}
.map-step-label.label-left{right:76px;left:auto;flex-direction:row-reverse;text-align:right}
.map-node.current .map-step-label{top:22px;background:#fff;border:1px solid #efbfd4;color:#b56b79;box-shadow:0 4px 12px #8f3d6117}
.map-node.current .map-step-label b{background:#f0a8b0;color:#fff}
.map-node.locked .map-step-label{color:#8f8794;background:#fffafcaa}
.map-node.locked .map-step-label b{background:#e5e1e7;color:#77717c}
@media(max-width:700px){
 .map-step-label{top:22px;width:86px;font-size:10.5px;padding:4px 6px;gap:4px}
 .map-step-label b{flex-basis:17px;width:17px;height:17px;font-size:8px}
 .map-step-label.label-right{left:68px}
 .map-step-label.label-left{right:68px}
 .map-node.current .map-step-label{top:20px}
}



/* R21 Duolingo-reference trio action button: three animated characters = one real lesson entry */
.map-trio-button{position:absolute;z-index:7;transform:translateX(-50%);width:138px;height:124px;border:0;background:transparent;padding:0;display:block;color:#6f5d6b;text-align:center;filter:none}
.map-trio-button:focus-visible{outline:3px solid #42b3e3;outline-offset:5px;border-radius:24px}
.map-trio-people{position:relative;display:block;width:126px;height:94px;margin:0 auto;pointer-events:none}
.map-trio-person{position:absolute;bottom:0;width:58px;height:92px;transform-origin:50% 90%}
.map-trio-person.slot-1{left:0;z-index:1;animation:mapTrioSway 3.8s ease-in-out infinite}
.map-trio-person.slot-2{left:34px;z-index:3;width:62px;height:98px;animation:mapTrioBounce 3.2s ease-in-out .25s infinite}
.map-trio-person.slot-3{right:0;z-index:2;animation:mapTrioSway 4.1s ease-in-out .55s infinite reverse}
.map-trio-pose{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 5px #87596c22);pointer-events:none}
.map-trio-pose.pose-b{opacity:0;animation:mapTrioPose 6.4s ease-in-out infinite}
.map-trio-person.slot-2 .pose-b{animation-delay:1.1s}
.map-trio-person.slot-3 .pose-b{animation-delay:2.2s}
.map-trio-copy{display:inline-flex;min-width:112px;max-width:136px;min-height:30px;align-items:center;justify-content:center;gap:5px;background:#fff;border:1px solid #efc5d7;box-shadow:0 3px 0 #f2dce6,0 5px 14px #9e536f12;border-radius:13px;padding:5px 8px;line-height:1.1;pointer-events:none}
.map-trio-copy b{font-size:10.5px;color:#b56b79;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:72px}
.map-trio-copy small{font-size:8.5px;color:#9e8b96;white-space:nowrap}
.map-trio-button:active .map-trio-copy{transform:translateY(2px);box-shadow:0 1px 0 #f2dce6}
@keyframes mapTrioSway{0%,100%{transform:rotate(-1.5deg) translateY(0)}50%{transform:rotate(2deg) translateY(-4px)}}
@keyframes mapTrioBounce{0%,100%{transform:translateY(0) scale(1)}45%{transform:translateY(-7px) scale(1.015)}60%{transform:translateY(-3px) scale(.995)}}
@keyframes mapTrioPose{0%,62%,100%{opacity:0}70%,88%{opacity:1}}
@media(max-width:700px){
 .map-trio-button{width:126px;height:112px}
 .map-trio-people{width:116px;height:84px}
 .map-trio-person{width:52px;height:82px}
 .map-trio-person.slot-2{left:31px;width:56px;height:88px}
 .map-trio-copy{min-width:104px;max-width:124px;min-height:28px;padding:4px 7px}
 .map-trio-copy b{font-size:10px;max-width:64px}
 .map-trio-copy small{font-size:8px}
}
@media(prefers-reduced-motion:reduce){
 .map-trio-person,.map-trio-pose.pose-b{animation:none!important}
 .map-trio-pose.pose-b{display:none}
}



/* R22 trio lesson card: people and lesson content live inside one clickable card */
.map-trio-button{
 position:absolute;z-index:7;transform:translateX(-50%);
 width:148px;height:132px;border:1.5px solid color-mix(in srgb,var(--unit-main) 42%,#fff);border-radius:22px;
 background:linear-gradient(180deg,#fff 0%,var(--unit-soft) 100%);
 padding:7px 7px 8px;display:grid;grid-template-rows:16px 1fr 32px;
 color:#6f5d6b;text-align:left;box-shadow:0 5px 0 color-mix(in srgb,var(--unit-main) 20%,#fff),0 10px 24px color-mix(in srgb,var(--unit-deep) 12%,transparent);
 overflow:hidden;isolation:isolate;
}
.map-trio-button:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 14%,#ffe9f3 0 22px,transparent 23px);z-index:-1}
.map-trio-button:hover{transform:translateX(-50%) translateY(-2px)}
.map-trio-button:active{transform:translateX(-50%) translateY(3px);box-shadow:0 2px 0 #f0d8e3,0 5px 14px #8c4b6510}
.map-trio-kicker{display:block;font-size:8.5px;font-weight:800;letter-spacing:.8px;color:var(--unit-deep);padding-left:3px}
.map-trio-people{position:relative;display:block;width:132px;height:73px;margin:0 auto;pointer-events:none}
.map-trio-person{position:absolute;bottom:-1px;width:56px;height:76px;transform-origin:50% 90%}
.map-trio-person.slot-1{left:0;z-index:1}
.map-trio-person.slot-2{left:38px;z-index:3;width:60px;height:82px}
.map-trio-person.slot-3{right:0;z-index:2}
.map-trio-copy{display:flex;width:100%;height:30px;align-items:center;justify-content:space-between;gap:7px;border-top:1px solid color-mix(in srgb,var(--unit-main) 22%,#fff);padding:5px 3px 0;pointer-events:none;background:transparent;box-shadow:none;border-radius:0;min-width:0;max-width:none}
.map-trio-copy>span{display:grid;gap:2px;min-width:0}
.map-trio-copy b{display:block;font-size:11px;line-height:1.05;color:var(--unit-deep);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:92px}
.map-trio-copy small{display:block;font-size:8px;color:#a18b97;white-space:nowrap}
.map-trio-copy i{font-style:normal;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--unit-main);color:#fff;font-size:18px;line-height:1;flex:0 0 22px}
@media(max-width:700px){
 .map-trio-button{width:140px;height:128px;border-radius:21px;padding:6px 6px 7px;grid-template-rows:15px 1fr 30px}
 .map-trio-people{width:130px;height:71px}
 .map-trio-person{width:54px;height:74px}
 .map-trio-person.slot-2{left:38px;width:58px;height:80px}
 .map-trio-copy{height:29px;padding-top:4px}
 .map-trio-copy b{font-size:10.5px;max-width:90px}
 .map-trio-copy small{font-size:8px}
}



/* R25 unit color binding: one unit = one character + one color system */
.workspace .unit-banner{background:var(--unit-main);box-shadow:0 4px 0 var(--unit-deep)}
.workspace .map-route .route-line{stroke:color-mix(in srgb,var(--unit-main) 72%,#fff)}
.workspace .map-route .route-shadow{stroke:color-mix(in srgb,var(--unit-main) 18%,#fff)}
.workspace .map-node.current .node-base{fill:var(--unit-deep)}
.workspace .map-node.current .node-rim{fill:color-mix(in srgb,var(--unit-main) 72%,#fff)}
.workspace .map-node.current .node-face{fill:var(--unit-main)}
.workspace .map-node.current .map-step-label{border-color:color-mix(in srgb,var(--unit-main) 40%,#fff);color:var(--unit-deep)}
.workspace .map-node.current .map-step-label b{background:var(--unit-main);color:#fff}



/* R26 reference-video character placement: same unit character appears three times, no enclosing card */
.map-trio-button{display:none!important}
.map-character-button{
 position:absolute;z-index:6;transform:translateX(-50%);
 width:82px;height:120px;padding:0;border:0;background:transparent;
 display:grid;grid-template-rows:96px 18px;justify-items:center;align-items:end;
 color:var(--unit-main);filter:none;overflow:visible;
}
.map-character-button img{
 display:block;width:78px;height:96px;object-fit:contain;
 filter:drop-shadow(0 6px 5px color-mix(in srgb,var(--unit-deep) 18%,transparent));
 pointer-events:none;transform-origin:50% 92%;
}
.map-character-stars{
 font-size:9px;letter-spacing:2px;color:color-mix(in srgb,var(--unit-main) 28%,#d7d2d8);
 line-height:1;white-space:nowrap;pointer-events:none;
}
.map-character-button:focus-visible{outline:3px solid #42b3e3;outline-offset:5px;border-radius:24px}
.map-character-button:active img{transform:translateY(2px) scale(.98)}
.map-character-button.action-waiting img{animation:mapMomentWave 3.3s ease-in-out infinite}
.map-character-button.action-correct img{animation:mapMomentCelebrate 2.8s ease-in-out .35s infinite}
.map-character-button.action-wrong img{animation:mapMomentThink 4s ease-in-out .6s infinite}
@keyframes mapMomentWave{0%,100%{transform:translateY(0) rotate(-1deg)}45%{transform:translateY(-5px) rotate(2deg)}65%{transform:translateY(-2px) rotate(-1deg)}}
@keyframes mapMomentCelebrate{0%,100%{transform:translateY(0) scale(1)}42%{transform:translateY(-8px) scale(1.025)}58%{transform:translateY(-3px) scale(.995)}}
@keyframes mapMomentThink{0%,100%{transform:translateY(0) rotate(0)}35%{transform:translateY(-3px) rotate(-2deg)}70%{transform:translateY(-3px) rotate(2deg)}}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:700px){
 .map-character-button{width:74px;height:108px;grid-template-rows:88px 16px}
 .map-character-button img{width:70px;height:88px}
 .map-character-stars{font-size:8px;letter-spacing:1.6px}
}
@media(prefers-reduced-motion:reduce){
 .map-character-button img{animation:none!important}
}



/* R27 real motion clips: use actual pose-changing video, not whole-sticker bobbing */
.map-character-button .map-character-video{
 display:block;width:78px;height:96px;object-fit:contain;
 background:transparent;border:0;border-radius:0;
 mix-blend-mode:multiply;
 filter:drop-shadow(0 6px 5px color-mix(in srgb,var(--unit-deep) 18%,transparent));
 pointer-events:none;
}
.map-character-button:active .map-character-video{transform:translateY(2px) scale(.98)}
.map-character-button.action-waiting img,
.map-character-button.action-correct img,
.map-character-button.action-wrong img{animation:none!important}
@media(max-width:700px){
 .map-character-button .map-character-video{width:70px;height:88px}
}
@media(prefers-reduced-motion:reduce){
 .map-character-button .map-character-video{display:none}
 .map-character-button video+ .map-character-stars{margin-top:88px}
}



/* R27b transparent real animation WebP */
.map-character-button .map-character-motion{
 display:block;width:78px;height:96px;object-fit:contain;
 background:transparent;border:0;border-radius:0;
 filter:drop-shadow(0 6px 5px color-mix(in srgb,var(--unit-deep) 18%,transparent));
 pointer-events:none;
 animation:none!important;
}
.map-character-button:active .map-character-motion{transform:translateY(2px) scale(.98)}
@media(max-width:700px){
 .map-character-button .map-character-motion{width:70px;height:88px}
}



/* R29 size/spacing after real-device review */
.map-character-button{width:96px;height:142px;grid-template-rows:116px 18px}
.map-character-button .map-character-motion{width:92px;height:116px}
.map-character-stars{font-size:9.5px;letter-spacing:2.2px}
@media(max-width:700px){
 .map-character-button{width:90px;height:132px;grid-template-rows:110px 18px}
 .map-character-button .map-character-motion{width:86px;height:108px}
 .map-character-stars{font-size:9px;letter-spacing:2px}
}



/* R31 user eight-point map correction: exact placement, clean character motion, rewards, larger fixed nav */
.map-step-label{width:22px!important;min-width:22px!important;max-width:22px!important;height:22px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;display:grid!important;place-items:center!important;top:24px!important;gap:0!important}
.map-step-label.label-right{left:74px!important;right:auto!important}
.map-step-label.label-left{right:74px!important;left:auto!important}
.map-step-label b{width:22px!important;height:22px!important;flex:0 0 22px!important;margin:0!important;font-size:10px!important;border-radius:50%!important;background:#eeeaf0!important;color:#7e7682!important;display:grid!important;place-items:center!important}
.map-node.current .map-step-label,.map-node.locked .map-step-label{background:transparent!important;border:0!important;box-shadow:none!important}
.map-node.current .map-step-label b{background:var(--unit-main)!important;color:#fff!important}
.map-character-button{width:108px!important;height:154px!important;grid-template-rows:128px 20px!important;cursor:pointer}
.map-character-button .map-character-motion.clean-character-motion{display:block!important;width:102px!important;height:128px!important;object-fit:contain!important;background:transparent!important;border:0!important;filter:none!important;opacity:1!important;will-change:transform;backface-visibility:hidden;transform:translateZ(0);animation:none!important}
.map-character-button.action-waiting .clean-character-motion{animation:mapMomentWaveClean 3.5s ease-in-out infinite!important}
.map-character-button.action-correct .clean-character-motion{animation:mapMomentCelebrateClean 3s ease-in-out .25s infinite!important}
.map-character-button.action-wrong .clean-character-motion{animation:mapMomentThinkClean 4.2s ease-in-out .4s infinite!important}
.map-character-button:active .clean-character-motion{animation-play-state:paused!important;transform:translateY(2px) scale(.98)!important}
.map-character-stars{font-size:10.5px!important;letter-spacing:2.4px!important}
@keyframes mapMomentWaveClean{0%,100%{transform:translate3d(0,0,0) rotate(-.6deg)}50%{transform:translate3d(0,-5px,0) rotate(1.2deg)}}
@keyframes mapMomentCelebrateClean{0%,100%{transform:translate3d(0,0,0) scale(1)}44%{transform:translate3d(0,-7px,0) scale(1.018)}62%{transform:translate3d(0,-2px,0) scale(.998)}}
@keyframes mapMomentThinkClean{0%,100%{transform:translate3d(0,0,0) rotate(0)}38%{transform:translate3d(0,-3px,0) rotate(-1.1deg)}72%{transform:translate3d(0,-3px,0) rotate(1.1deg)}}
.map-reward-button{position:absolute;z-index:5;transform:translateX(-50%);width:112px;height:112px;padding:0;border:0;background:transparent;display:grid;place-items:center;cursor:pointer;overflow:visible}
.map-reward-button .map-reward-art{display:block;width:108px;height:108px;overflow:visible;filter:drop-shadow(0 7px 8px color-mix(in srgb,var(--unit-deep) 18%,transparent));transition:transform .18s ease,filter .18s ease}
.map-reward-button.ready .map-reward-art{animation:rewardFloat 3.2s ease-in-out infinite}
.map-reward-button.locked{opacity:.56;filter:saturate(.72)}
.map-reward-button:focus-visible{outline:3px solid #42b3e3;outline-offset:4px;border-radius:28px}
.map-reward-button:active .map-reward-art{transform:translateY(2px) scale(.97)}
@keyframes rewardFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@media(max-width:700px){
 .workspace{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
 .map-character-button{width:102px!important;height:148px!important;grid-template-rows:124px 20px!important}
 .map-character-button .map-character-motion.clean-character-motion{width:96px!important;height:122px!important}
 .map-character-stars{font-size:10px!important;letter-spacing:2.2px!important}
 .map-reward-button{width:104px;height:106px}
 .map-reward-button .map-reward-art{width:100px;height:102px}
 .mobile-nav{min-height:96px!important;padding:8px 8px max(9px,env(safe-area-inset-bottom))!important;align-items:center!important}
 .mobile-nav button{min-height:66px!important;padding:4px 1px!important;font-size:12px!important;font-weight:750!important;line-height:1.1!important}
 .mobile-nav img{width:39px!important;height:39px!important;margin-bottom:4px!important;object-fit:contain!important}
}
@media(prefers-reduced-motion:reduce){.map-character-button .clean-character-motion,.map-reward-button.ready .map-reward-art{animation:none!important}}

/* R31 reward art must keep the supplied pink appearance even before unlock */
.map-reward-button.locked{opacity:1!important;filter:none!important}

/* R32 user correction: Ruby clothing pink, real character motion, no map numbers, exact reward assets */
.map-step-label{display:none!important}
.workspace .unit-banner{background:#f0a8b0!important;box-shadow:0 4px 0 #d78796!important}
.workspace .map-route .route-line{stroke:#f0a8b0!important}
.workspace .map-route .route-shadow{stroke:#f9dfe3!important}
.workspace .map-node.current .node-base{fill:#d78796!important}
.workspace .map-node.current .node-rim{fill:#f6c7cd!important}
.workspace .map-node.current .node-face{fill:#f0a8b0!important}
.map-character-button .clean-character-motion{display:none!important}
.map-character-button .map-character-video{
 display:block!important;width:102px!important;height:128px!important;object-fit:contain!important;
 background:#fff!important;border:0!important;border-radius:0!important;mix-blend-mode:multiply!important;
 filter:none!important;opacity:1!important;transform:none!important;animation:none!important;pointer-events:none!important
}
.map-character-button.action-waiting .map-character-video,
.map-character-button.action-correct .map-character-video,
.map-character-button.action-wrong .map-character-video{animation:none!important}
.map-character-button:active .map-character-video{transform:translateY(2px) scale(.985)!important}
.map-character-stars{color:#f0a8b0!important}
.map-reward-button .map-reward-art{display:block!important;width:112px!important;height:112px!important;object-fit:contain!important;filter:drop-shadow(0 7px 8px rgba(190,110,130,.16))!important}
.map-reward-button.locked{opacity:1!important;filter:none!important}
.mobile-nav button.active{color:#d78796!important}
.mobile-nav button.active:before{background:#fff0f3!important}
@media(max-width:700px){
 .map-character-button .map-character-video{width:96px!important;height:122px!important}
 .map-reward-button .map-reward-art{width:104px!important;height:104px!important}
}

/* R32b true transparent character animation derived frame-by-frame from the real motion videos */
.map-character-button .map-character-video,.map-character-button .clean-character-motion{display:none!important}
.map-character-button .map-character-real-animation{
 display:block!important;width:102px!important;height:128px!important;object-fit:contain!important;
 background:transparent!important;border:0!important;filter:none!important;opacity:1!important;
 pointer-events:none!important;transform:none!important;animation:none!important
}
.map-character-button:active .map-character-real-animation{transform:translateY(2px) scale(.985)!important}
@media(max-width:700px){.map-character-button .map-character-real-animation{width:96px!important;height:122px!important}}

/* R35: no connector line, thinner map buttons, slightly larger character buttons */
.map-route{display:none!important}
.map-character-button{width:116px!important;height:166px!important;grid-template-rows:140px 20px!important}
.map-character-button .map-character-real-animation{width:110px!important;height:138px!important}
.map-character-stars{font-size:11px!important;letter-spacing:2.5px!important}
@media(max-width:700px){
 .map-character-button{width:112px!important;height:162px!important;grid-template-rows:136px 20px!important}
 .map-character-button .map-character-real-animation{width:106px!important;height:134px!important}
}

/* R40 mobile motion repair: original poses, immediate posters, visible-only canvas playback. */
.map-character-button .map-character-media{
 position:relative;display:block;width:110px;height:138px;align-self:end;
 background:transparent;border:0;pointer-events:none;overflow:visible;
}
.map-character-media .map-character-canvas{display:none;position:absolute;top:0;left:50%;height:100%;width:auto;max-width:100%;transform:translateX(-50%);pointer-events:none}
.map-character-media[data-motion-ready="true"] .map-character-canvas{display:block}
.map-character-media[data-motion-ready="true"] .map-character-real-animation{opacity:0!important}
.map-character-button:active .map-character-media{transform:translateY(2px) scale(.985)}
.map-character-button:active .map-character-real-animation{transform:none!important}
@media(max-width:700px){.map-character-button .map-character-media{width:106px;height:134px}}
