#lesson .modal-card{width:min(100%,620px)!important;max-height:calc(100dvh - 24px)!important;padding:18px 20px!important;overflow:auto}#lesson .modal-head{margin-bottom:8px!important}#lesson .modal-head h2{font-size:clamp(18px,3vw,24px)!important;line-height:1.15}#lesson .task-status{margin:7px 0!important;padding:8px 10px!important}#lesson .problem{margin-top:8px!important;padding:13px!important}#lesson .problem p{margin:0 0 10px!important;font-size:clamp(17px,2.8vw,21px)!important;line-height:1.25}#lesson .answer-row{gap:8px!important}#lesson .answer-row input{padding:10px!important;min-height:42px}#lesson .answer-row .button{padding:10px 13px!important;min-height:42px}.task-nav,.island-actions{margin-top:10px!important;gap:8px!important}.task-nav button,.island-actions button{padding:10px 12px!important}.mobile-dock{justify-content:center!important}.mobile-dock .help-round{width:78px!important;height:78px!important;margin-top:-26px!important;font-size:24px!important}.map-companion{right:23px!important;bottom:20px!important}.companion-avatar{width:88px!important;height:88px!important;font-size:52px!important;animation-duration:1.45s!important}.map-companion strong{font-size:12px!important;padding:4px 10px!important}.companion-bubble{right:68px!important;top:-19px!important;font-size:12px!important;padding:7px 11px!important}.companion-celebrates .companion-avatar{animation:companion-party .42s linear 4!important}.checkpoint-burst{position:fixed;z-index:80;inset:0;display:flex;align-items:center;justify-content:center;gap:10vw;pointer-events:none}.checkpoint-burst span{font-size:clamp(36px,8vw,88px);animation:checkpoint-pop 1.35s cubic-bezier(.11,.8,.23,1) both}.checkpoint-burst span:nth-child(2){animation-delay:.08s}.checkpoint-burst span:nth-child(3){animation-delay:.16s}.checkpoint-burst span:nth-child(4){animation-delay:.24s}.checkpoint-burst span:nth-child(5){animation-delay:.32s}@keyframes companion-party{0%,100%{transform:translateY(0) rotate(-4deg) scale(1)}25%{transform:translateY(-18px) rotate(12deg) scale(1.18)}50%{transform:translateY(0) rotate(-12deg) scale(1.07)}75%{transform:translateY(-13px) rotate(9deg) scale(1.16)}}@keyframes checkpoint-pop{0%{opacity:0;transform:translateY(55px) scale(.25) rotate(-25deg)}35%{opacity:1;transform:translateY(-50px) scale(1.28) rotate(20deg)}100%{opacity:0;transform:translateY(-140px) scale(.65) rotate(55deg)}}@media(max-width:560px){#lesson .modal-card{max-height:calc(100dvh - 12px)!important;padding:15px 14px!important;border-radius:21px 21px 0 0!important}#lesson .problem p{font-size:18px!important}.map-companion{right:12px!important;bottom:15px!important}.companion-avatar{width:76px!important;height:76px!important;font-size:45px!important}.companion-bubble{right:56px!important;font-size:11px}.mobile-dock .help-round{width:74px!important;height:74px!important}}@media(prefers-reduced-motion:reduce){.checkpoint-burst span,.companion-celebrates .companion-avatar{animation:none!important}}
