.dad-letter{width:100%;max-width:520px;margin:18px 0;color:var(--ink);text-align:left}.dad-letter summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:4px 9px 4px 0;cursor:pointer;list-style:none;font-size:.86rem;color:var(--blue)}.dad-letter summary::-webkit-details-marker{display:none}.letter-envelope{position:relative;display:block;width:46px;height:40px;flex:none;perspective:100px}.letter-envelope>svg:first-child{width:46px;height:40px;overflow:visible}.envelope-back{fill:var(--white);stroke:var(--line);stroke-width:1.5}.envelope-flap{fill:var(--pink);transform-origin:25px 13px}.envelope-flap,.envelope-front{stroke:var(--line);stroke-width:1}.envelope-front{fill:var(--paper)}.letter-envelope .letter-heart{position:absolute;width:15px;height:15px;left:16px;top:20px;color:var(--green);fill:var(--pink)}.letter-arrow{font-size:1.4rem;margin-left:auto}.dad-letter[open] .letter-arrow{transform:rotate(45deg)}.dad-letter[open] .envelope-flap{animation:letter-open .42s ease-out both}.dad-letter[open] .letter-heart{animation:letter-love .7s ease-out both}.letter-paper{position:relative;margin:7px 0 0;padding:20px 24px;background:var(--white);border-radius:5px 16px 16px 16px;box-shadow:0 5px 16px var(--shadow);animation:letter-arrives .24s ease-out}.letter-paper>.drawn-icon{width:20px;height:20px;color:var(--green);fill:var(--pink);margin-bottom:9px}.letter-paper p{margin:0;font-size:1rem;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.story-stable>.dad-letter{margin:13px 0 18px}.dad-note-editor>p{max-width:680px}.dad-note-editor .note-provenance{font-size:.8rem;line-height:1.5;color:var(--muted)}.saved-dad-notes{padding:0;margin:20px 0;list-style:none}.saved-dad-notes li{display:flex;align-items:start;gap:18px;padding:16px 0;border-bottom:1px solid var(--line)}.saved-dad-notes li>div{flex:1 1;min-width:0}.saved-dad-notes p{margin:0 0 7px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.94rem;line-height:1.55}.saved-dad-notes span{font-size:.73rem;color:var(--muted)}.saved-dad-notes button{min-height:44px;padding:8px 12px;border:1px solid var(--line);background:var(--paper);color:var(--blue);font-size:.8rem}.dad-note-form{max-width:660px}.dad-note-form>label{display:block;font-size:.87rem;font-weight:700;margin-bottom:8px}.dad-note-form textarea{display:block;width:100%;resize:vertical;min-height:110px;border:1px solid var(--line);border-radius:10px;background:var(--paper);padding:13px;color:var(--ink);font:inherit;font-size:1rem;line-height:1.5}.note-length{font-size:.74rem;color:var(--muted);margin:8px 0 15px}.note-form-actions{display:flex;align-items:end;gap:15px}.note-form-actions label{display:grid;gap:7px;font-size:.81rem;flex:1 1}.note-form-actions select{height:46px;padding:8px 12px;border:1px solid var(--line);border-radius:9px;background:var(--white);color:var(--ink);font:inherit}.note-form-actions .button{min-height:46px;margin:0;padding:11px 24px}.note-feedback{font-size:.86rem;line-height:1.5;color:var(--blue);margin:16px 0 0}.dad-note-editor button:disabled{opacity:.5;cursor:default}.adaptive-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}.adaptive-plan{padding:18px 0;border-top:1px solid var(--line)}.adaptive-plan h3{margin:0 0 8px;font-size:1.05rem}.adaptive-plan p{font-size:.87rem;line-height:1.55;margin:7px 0}.adaptive-plan .adaptive-evidence{font-size:.76rem;color:var(--muted)}.adaptive-plan strong{font-weight:700}.stable-invitation{font-size:.86rem;color:var(--green);margin:18px 0 4px;line-height:1.5}@keyframes letter-open{0%{transform:rotateX(0deg)}to{transform:rotateX(160deg)}}@keyframes letter-love{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-11px) scale(1.13)}}@keyframes letter-arrives{0%{opacity:.6;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}@media(max-width:700px){.dad-letter{margin:14px 0}.dad-letter summary{font-size:.82rem}.letter-paper{padding:17px 20px}.letter-paper p{font-size:.94rem}.saved-dad-notes li{gap:10px}.saved-dad-notes p{font-size:.86rem}.saved-dad-notes button{padding:8px;font-size:.74rem}.note-form-actions{flex-wrap:wrap}.note-form-actions label{min-width:130px}.note-form-actions .button{font-size:.86rem;padding-inline:16px}.adaptive-plan-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.dad-letter[open] .envelope-flap,.dad-letter[open] .letter-heart,.letter-paper{animation:none!important}.dad-letter[open] .envelope-flap{transform:rotateX(160deg)}}.practice-preference{margin:25px 0 0;padding-top:24px;border-top:1px solid var(--line);text-align:center}.practice-preference h2{font-size:1.35rem;margin:0 0 12px}.practice-preference>div{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.practice-preference button{min-height:46px;padding:10px 17px;border:1px solid var(--line);color:var(--blue);background:var(--white);font-size:.85rem}.practice-preference button[aria-pressed=true]{background:var(--mint);border-color:var(--green);color:var(--green)}.practice-preference p{font-size:.76rem;color:var(--muted);margin:12px 0 0}.practice-preference button:disabled{opacity:.5}.story-stable{padding-top:42px}.stable-heading{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:32px}.stable-heading h1{font-size:clamp(2.7rem,4.8vw,4rem);margin-bottom:14px;max-width:790px;text-wrap:balance}.stable-heading p{font-size:1rem}.star-purse{display:grid;grid-template-columns:28px auto;column-gap:10px;align-items:center;padding:17px 24px;border-radius:24px 24px 30px 30px;background:var(--green);color:var(--white);transform:rotate(3deg);box-shadow:0 8px 22px var(--shadow);flex-shrink:0}.star-purse .drawn-icon{width:28px;color:var(--mint);filter:drop-shadow(0 2px 2px var(--shadow))}.star-purse strong{font-family:Georgia,serif;font-size:2rem;font-weight:400}.star-purse>span{grid-column:1/-1;font-size:.68rem;letter-spacing:.05em;text-align:center}.session-ribbon{display:flex;align-items:center;gap:22px;position:relative;padding:21px 28px;background:var(--mint);border-radius:15px;margin-bottom:26px;box-shadow:inset 0 2px 0 var(--white),0 5px 16px var(--shadow)}.session-ribbon h2{font-size:1.6rem;margin-bottom:8px}.session-ribbon p{font-size:.84rem}.ribbon-emblem{width:56px;height:56px;display:grid;place-items:center;border-radius:50%;background:var(--green);color:var(--white);box-shadow:0 4px 14px var(--shadow);flex-shrink:0}.ribbon-emblem .drawn-icon{width:30px;height:30px}.session-star-stamp{margin-left:auto;display:flex;gap:8px;align-items:center;white-space:nowrap;font-size:1.4rem;color:var(--green)}.session-star-stamp .drawn-icon{width:22px}.featured-stable{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(260px,1fr);background:var(--white);border-radius:26px;box-shadow:0 16px 44px var(--shadow);overflow:hidden;position:relative}.featured-world{position:relative;min-width:0;padding:16px 5px 30px;background:linear-gradient(180deg,var(--sky),var(--paper));display:flex;align-items:center;justify-content:center;isolation:isolate}.featured-world:after{content:"";position:absolute;inset:auto 10% 25px;height:18px;background:var(--deep);filter:blur(14px);opacity:.1;border-radius:50%;z-index:-1}.featured-world .meadow-world{width:100%;min-height:440px}.world-caption{position:absolute;bottom:22px;left:25px;right:25px;display:flex;gap:8px;align-items:center;justify-content:center;font-size:.55rem;letter-spacing:.13em;color:var(--blue);font-weight:700}.world-caption-dot{width:5px;height:5px;background:var(--green);border-radius:50%}.horse-profile{padding:38px 34px;display:flex;flex-direction:column;justify-content:center;min-width:0}.friend-tag{display:flex;align-items:center;gap:8px;font-size:.75rem;color:var(--green)}.friend-tag .drawn-icon{width:20px;height:20px}.horse-profile h2{font-size:clamp(3.2rem,4.4vw,4.8rem);margin:15px 0 3px;overflow-wrap:anywhere}.profile-breed{font-size:.76rem;color:var(--blue)}.horse-personality{font-family:Georgia,serif;font-size:1.25rem;line-height:1.45;margin:22px 0;color:var(--ink)}.horse-favorite{display:flex;gap:13px;align-items:flex-start;padding:19px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:0 0 24px}.horse-favorite>.drawn-icon{width:24px;height:24px;color:var(--green);margin-top:3px;flex-shrink:0}.horse-favorite span{font-size:.56rem;letter-spacing:.14em;color:var(--green);font-weight:700}.horse-favorite p{font-size:.78rem;margin-top:4px}.button.pet-button{background:var(--sky);color:var(--blue);font-size:.83rem;padding:13px 12px;box-shadow:inset 0 2px 0 var(--white),0 4px 12px var(--shadow);min-height:56px;transition:background .2s,box-shadow .2s}.button.pet-button .drawn-icon{width:21px;height:21px;flex-shrink:0}.button.pet-button:hover{background:var(--mint);box-shadow:inset 0 2px 0 var(--white),0 6px 18px var(--shadow)}.button.pet-button:active{transform:translateY(1px)}.pet-response{min-height:52px;font-size:.72rem;margin-top:13px;text-align:center;color:var(--green)}.pet-response span{display:block;animation:pet-response-appear .3s ease-out}.friend-unlock{display:flex;align-items:center;gap:14px;background:var(--sky);border-radius:12px;padding:14px 16px}.friend-unlock>.drawn-icon{width:27px;height:27px;color:var(--blue);flex-shrink:0}.friend-unlock strong{display:block;font-size:.9rem;color:var(--blue)}.friend-unlock p>span{font-size:.7rem;display:block;margin-top:4px}.collection-heading{display:flex;justify-content:space-between;gap:20px;align-items:baseline;margin:47px 0 24px}.collection-heading h2{font-size:2rem}.collection-heading p{font-size:.8rem}.story-stable .collection-gallery{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.story-stable .horse-choice{display:flex;flex-direction:column;align-items:center;position:relative;width:100%;padding:15px 8px 14px;border:0;background:var(--white);border-radius:15px;box-shadow:0 4px 12px var(--shadow);text-align:center;overflow:visible;transition:box-shadow .2s,background .2s,transform .2s;color:var(--ink)}.story-stable .horse-choice:hover{transform:translateY(-4px);background:var(--mint);box-shadow:0 9px 24px var(--shadow)}.story-stable .horse-choice.selected{background:var(--mint);outline:2px solid var(--green);outline-offset:3px}.story-stable .horse-choice:focus-visible{outline:3px solid var(--blue);outline-offset:5px}.story-stable .horse-choice.locked{background:color-mix(in srgb,var(--white) 38%,var(--paper));box-shadow:none;border:1px dashed var(--line)}.story-stable .horse-choice.locked.selected{background:var(--sky);outline-color:var(--blue)}.horse-choice-status{height:25px;display:flex;gap:5px;align-items:center;align-self:flex-end;margin-right:3px;font-size:.66rem;color:var(--green)}.horse-choice-status .drawn-icon{width:16px;height:16px}.story-stable .horse-choice .horse-art{margin:-10px -8px 0;width:calc(100% + 16px);max-width:none;aspect-ratio:1.2}.story-stable .horse-choice.locked .horse-art{opacity:.6}.horse-choice-name{font-family:Georgia,serif;font-size:1.24rem;line-height:1.2}.horse-choice-breed{font-size:.56rem;line-height:1.4;min-height:32px;margin-top:7px;color:var(--muted);display:flex;align-items:center;justify-content:center}.horse-choice-footer{font-size:.56rem;margin-top:8px;color:var(--green)}.stable-milestone{display:flex;align-items:center;gap:19px;padding:25px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:36px}.milestone-icon{background:var(--mint);border-radius:15px;padding:12px;display:flex;transform:rotate(-7deg);color:var(--green)}.milestone-icon .drawn-icon{width:25px;height:25px}.stable-milestone strong{font-size:.88rem}.stable-milestone p{font-size:.76rem;margin-top:4px}.stable-milestone progress{margin-left:auto;width:220px;flex-shrink:0}.story-stable .stable-next{margin:35px auto 0;text-align:center;max-width:600px}.story-stable .stable-next p{font-family:Georgia,serif;font-size:1.1rem;line-height:1.55;color:var(--green);margin-bottom:22px}.story-stable .stable-next .button{font-size:.86rem;min-height:52px}.friend-preview .featured-world{background:linear-gradient(180deg,var(--sky),var(--white))}@keyframes pet-response-appear{0%{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media(max-width:1000px){.featured-stable{grid-template-columns:minmax(0,1.35fr) minmax(245px,1fr)}.featured-world .meadow-world{min-height:390px}.horse-profile{padding:28px 25px}.horse-profile h2{font-size:3.3rem}.story-stable .collection-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.horse-choice-name{font-size:1.45rem}.horse-choice-breed{font-size:.7rem;min-height:20px}.horse-choice-footer{font-size:.65rem}.story-stable .horse-choice .horse-art{width:100%;max-width:230px;aspect-ratio:1.45}.horse-choice-status{font-size:.7rem}.stable-heading h1{font-size:2.9rem}.stable-heading p{font-size:.9rem}}@media(max-width:700px){.story-stable{padding-top:28px}.stable-heading{gap:15px;margin-bottom:24px}.stable-heading h1{font-size:2.45rem;line-height:1.02}.stable-heading p{font-size:.8rem}.star-purse{padding:12px 13px;gap:0 6px;border-radius:20px}.star-purse .drawn-icon{width:20px}.star-purse strong{font-size:1.6rem}.star-purse>span{font-size:.56rem}.session-ribbon{gap:13px;padding:18px 16px;border-radius:13px;margin-bottom:22px}.ribbon-emblem{width:38px;height:38px}.ribbon-emblem .drawn-icon{width:21px;height:21px}.session-ribbon h2{font-size:1.33rem}.session-ribbon p{font-size:.72rem}.session-star-stamp{display:none}.featured-stable{grid-template-columns:1fr;border-radius:22px}.featured-world{padding:2px 0 29px}.featured-world .meadow-world{min-height:280px;max-height:360px}.world-caption{bottom:14px;font-size:.48rem}.horse-profile{padding:26px 25px 19px;display:grid;grid-template-columns:1fr auto;gap:0 10px}.friend-tag{grid-column:1/-1;font-size:.7rem}.horse-profile h2{grid-column:1/-1;font-size:3.3rem;margin-top:10px}.profile-breed{grid-column:1/-1;font-size:.74rem}.horse-personality{grid-column:1/-1;font-size:1.16rem;margin:17px 0}.horse-favorite{grid-column:1/-1;margin-bottom:20px;padding:15px 0}.horse-favorite span{font-size:.53rem}.horse-favorite p{font-size:.75rem}.friend-unlock,.pet-button,.pet-response{grid-column:1/-1}.pet-response{min-height:36px;font-size:.74rem}.collection-heading{display:block;margin:33px 0 20px}.collection-heading h2{font-size:1.9rem}.collection-heading p{font-size:.76rem;margin-top:8px}.story-stable .collection-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.story-stable .horse-choice{padding:11px 8px 14px;border-radius:13px}.horse-choice-name{font-size:1.43rem}.horse-choice-breed{font-size:.62rem;min-height:28px}.horse-choice-footer{font-size:.59rem}.story-stable .horse-choice .horse-art{aspect-ratio:1.2;margin-top:-9px}.stable-milestone{display:grid;grid-template-columns:auto 1fr;gap:12px 16px;padding:22px 0;margin-top:27px}.stable-milestone progress{grid-column:1/-1;width:100%;margin:5px 0 0}.stable-milestone strong{font-size:.84rem}.stable-milestone p{font-size:.71rem}.story-stable .stable-next p{font-size:1rem}.story-stable .stable-next .button{width:100%;font-size:.8rem}}@media(max-width:360px){.stable-heading h1{font-size:2.1rem}.star-purse{padding:11px 10px}.star-purse strong{font-size:1.4rem}.star-purse .drawn-icon{width:16px}.star-purse{grid-template-columns:19px auto}.horse-profile{padding:23px 19px 16px}.horse-profile h2{font-size:2.9rem}.featured-world .meadow-world{min-height:235px}.session-ribbon{gap:10px;padding:17px 12px}.session-ribbon h2{font-size:1.2rem}.ribbon-emblem{width:31px;height:31px}}.featured-world{flex-direction:column;scroll-margin-top:16px;padding-bottom:20px}.featured-world:focus-visible{outline:3px solid var(--blue);outline-offset:-5px}.featured-world .world-caption{position:static;margin-top:-12px;margin-bottom:14px}.world-interaction{width:min(100% - 40px,370px);text-align:center}.world-interaction .pet-button{width:100%;background:var(--white)}.world-interaction .pet-button:hover{background:var(--mint)}.world-interaction .pet-response{min-height:42px;margin:12px 0 0}.featured-world .meadow-world{flex-shrink:0}.horse-profile .horse-favorite:last-child{margin-bottom:0}@media(max-width:700px){.featured-world{padding-bottom:13px;scroll-margin-top:12px}.featured-world .world-caption{margin-top:-3px;margin-bottom:14px}.world-interaction{width:calc(100% - 40px)}.world-interaction .pet-response{min-height:38px;margin-top:12px}.featured-world .meadow-world{max-height:310px}}.stable-play-scene{position:relative;width:100%;flex-shrink:0}.care-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.care-buttons .care-button{grid-column:auto;min-width:0;min-height:66px;display:flex;flex-direction:column;gap:5px;font-size:.84rem;padding:9px 6px;background:var(--white);color:var(--blue);box-shadow:0 4px 12px var(--shadow);line-height:1.2}.care-buttons .care-button:hover{background:var(--mint)}.care-buttons .drawn-icon{width:25px;height:25px}.care-effect{position:absolute;inset:0;pointer-events:none;color:var(--blue)}.care-prop{position:absolute;left:68%;top:47%;width:47px;height:47px;animation:care-heart 1.4s ease-out both}.care-prop>.drawn-icon{width:100%;height:100%;filter:drop-shadow(0 3px 4px var(--shadow))}.care-effect-brush .care-prop{left:65%;top:57%;animation:care-brush 1.5s ease-in-out both}.care-effect-treat .care-prop{left:81%;top:49%;animation:care-treat 1.4s ease-in-out both}.care-twinkle{position:absolute;width:16px;height:16px;color:var(--blue);left:68%;top:48%;animation:care-spark 1.5s ease-out both}.care-twinkle-1{left:76%;top:44%;animation-delay:.1s}.care-twinkle-2{left:79%;top:54%;animation-delay:.2s}@keyframes care-heart{0%{opacity:0;transform:translateY(14px) scale(.5)}25%{opacity:1;transform:translateY(0) scale(1.15)}70%{opacity:1}to{opacity:0;transform:translateY(-46px) scale(.8)}}@keyframes care-brush{0%{opacity:0;transform:translate(-20px,-12px) rotate(-15deg)}15%,80%{opacity:1}25%,65%{transform:translate(5px,9px) rotate(10deg)}45%,85%{transform:translate(-15px,-12px) rotate(-15deg)}to{opacity:0;transform:translate(10px,16px)}}@keyframes care-treat{0%{opacity:0;transform:translate(15px,22px) rotate(20deg)}25%{opacity:1;transform:translate(0) rotate(-10deg)}60%{opacity:1;transform:translate(-12px) scale(.85)}to{opacity:0;transform:translate(-16px,2px) scale(.3)}}@keyframes care-spark{0%,10%{opacity:0;transform:translateY(5px) scale(.4)}35%{opacity:1;transform:translateY(-12px) scale(1)}to{opacity:0;transform:translateY(-48px) scale(.2)}}@media(max-width:700px){.care-buttons .care-button{min-height:62px;font-size:.83rem}.care-prop{width:35px;height:35px}.care-twinkle{width:12px;height:12px}.stable-heading h1{font-size:2.3rem}.stable-heading p{max-width:25ch}}@media(prefers-reduced-motion:reduce){.care-effect .care-prop,.care-effect .care-twinkle{animation:none;opacity:0}}.unicorn-voice{margin-top:20px;padding-top:24px;border-top:1px solid var(--line);grid-column:1/-1}.unicorn-voice-eyebrow{display:block;color:#78623e;font-size:.68rem;letter-spacing:.08em;margin-bottom:9px}.unicorn-voice h3{font-family:Georgia,serif;font-weight:400;font-size:1.5rem;line-height:1.2;margin:0 0 10px}.unicorn-voice>p{font-size:.8rem;line-height:1.5}.unicorn-voice-options{display:flex;flex-wrap:wrap;gap:8px;margin:17px 0}.unicorn-voice-options button{min-height:44px;border:1px solid #b4c9c9;background:#f6faf8;border-radius:12px;padding:9px 12px;color:#254d50;font:inherit;font-size:.76rem;line-height:1.3;display:flex;gap:7px;align-items:center;text-align:left}.unicorn-voice-options button:hover{background:#e4efea}.unicorn-voice-options button[aria-pressed=true]{background:#e4efea;border-color:#527d69;box-shadow:inset 0 0 0 1px #527d69}.unicorn-voice button:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.unicorn-caption{border-left:3px solid #ceb26f;padding:11px 13px;background:#fbf7ec;border-radius:0 10px 10px 0;min-height:112px}.unicorn-caption p{font-family:Georgia,serif;font-size:1rem;line-height:1.5;color:#405146}.unicorn-caption>span{display:block;font-size:.7rem;line-height:1.5;margin-top:9px;color:#5c645c}.unicorn-stop{min-height:44px;margin-top:12px;font-size:.8rem}.unicorn-voice small{display:block;font-size:.65rem;line-height:1.4;margin-top:12px;color:var(--muted)}.unicorn-voice audio{display:none}.story-stable .horse-choice-name{font-size:clamp(.95rem,1.5vw,1.24rem)}@media(max-width:1000px){.story-stable .horse-choice-name{font-size:1.3rem}}@media(max-width:700px){.story-stable .horse-choice-name{font-size:clamp(1rem,4.5vw,1.4rem)}.unicorn-caption{min-height:104px}}.interactive-math.math-visual{padding:0;background:none;border:0;margin:4px 0 0}.interactive-math{width:100%;min-width:0;margin:4px 0 0;color:var(--ink)}.im-guide{display:flex;align-items:flex-start;gap:12px;text-align:left;margin-bottom:16px}.im-guide .im-hand{flex:0 0 40px;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--mint);color:var(--green);font-size:29px}.im-guide h2{font-size:clamp(22px,3vw,29px);line-height:1.2;margin:0 0 7px;letter-spacing:-.02em}.im-guide p{font-size:17px;line-height:1.4;margin:0;color:var(--muted)}.im-playmat{position:relative;min-width:0;overflow:clip;padding:16px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(145deg,var(--paper),var(--white));box-shadow:inset 0 2px 12px var(--shadow)}.im-status{font-size:17px;line-height:1.4;text-align:center;min-height:2.8em;margin:14px 4px;color:var(--ink)}.im-main-action{width:100%;min-height:54px;white-space:normal;line-height:1.25}.im-array{display:grid;gap:5px;max-width:390px;margin:auto}.im-row{min-height:44px;display:flex;gap:8px;align-items:center;justify-content:center;padding:6px 8px;border:1px solid var(--line);border-radius:12px;background:var(--white);color:var(--blue);transition:background .25s var(--im-delay,0s),box-shadow .25s var(--im-delay,0s);cursor:pointer}.im-row svg{display:block;width:100%;max-width:250px;height:24px;overflow:visible}.im-row span{font-size:18px;font-weight:750}.im-row.im-counted{background:var(--mint);box-shadow:inset 4px 0 var(--green);color:var(--green)}.im-row.im-counted svg{animation:im-count .35s var(--im-delay,0s) both}.interactive-math button:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.im-share{width:100%;height:auto;max-height:275px;display:block;color:var(--blue)}.im-moving-shoe{transition:transform .45s var(--im-delay,0s);color:var(--blue)}.im-group-outline{fill:var(--white);stroke:var(--line);stroke-width:1.5;opacity:0;transition:opacity .35s,fill .2s}.im-shared .im-group-outline{opacity:1}.im-group-outline.im-group-selected{fill:var(--mint);stroke:var(--green)}.im-group-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:8px}.im-group-buttons button{width:44px;min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--white);color:var(--green);font-size:20px;font-weight:700;cursor:pointer}.im-group-buttons button[aria-pressed=true]{background:var(--mint);border-color:var(--green)}.im-takeaway{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;max-width:300px;margin:12px auto}.im-takeaway button{min-width:44px;min-height:54px;padding:7px;background:var(--white);border:1px solid var(--line);border-radius:12px;color:var(--blue);cursor:pointer;transition:background .25s}.im-takeaway svg{height:34px;width:30px;transition:opacity .35s,translate .35s}.im-takeaway .im-removed-shoe{background:var(--paper)}.im-takeaway .im-removed-shoe svg{opacity:.18;translate:0 -8px}.im-takeaway button:disabled{cursor:default}.im-field{display:grid;gap:2px;min-height:150px;align-items:stretch;transition:gap .35s}.im-patch{padding:10px 4px;background:var(--sky);border:1px solid var(--blue);border-radius:3px;display:flex;flex-direction:column;justify-content:center;gap:10px;min-width:0;transition:translate .35s,border-radius .35s,background .35s}.im-patch:last-child{background:var(--mint);border-color:var(--green)}.im-patch.im-open{border-radius:14px;translate:-2px 0}.im-patch.im-open:last-child{translate:2px 0}.im-patch svg{width:100%;min-height:60px;max-height:115px;overflow:visible}.im-patch b,.im-patch strong{text-align:center;font-size:clamp(12px,2.5vw,19px)}.im-square{fill:var(--blue);opacity:.12;transition:opacity .3s var(--im-delay,0s)}.im-patch:last-child .im-square{fill:var(--green)}.im-grown .im-square{opacity:.9}.im-blocks{width:100%;display:block;overflow:visible}.im-block{fill:var(--blue);animation:im-block-arrive .35s var(--im-delay,0s) both}.im-one{fill:var(--green)}.im-block.im-away{opacity:.16;animation:im-block-leave .4s var(--im-delay,0s) both}.im-bundle{fill:var(--mint);stroke:var(--green);stroke-width:2;stroke-dasharray:4 3;animation:im-block-arrive .35s both}.im-base-scene{max-width:360px;margin:14px auto}.im-two-parts{display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:5px;align-items:center;text-align:center;min-height:145px}.im-two-parts>div{border-radius:14px;background:var(--white);padding:10px 0;border:1px solid var(--line)}.im-two-parts span{font-weight:700;font-size:16px}.im-small-add{display:block;width:100%;max-height:175px;color:var(--blue)}@keyframes im-count{0%{opacity:.5;translate:0 3px}to{opacity:1;translate:0 0}}@keyframes im-block-arrive{0%{opacity:.2;translate:0 8px}to{opacity:1;translate:0 0}}@keyframes im-block-leave{0%{opacity:1;translate:0 0}to{opacity:.16;translate:0 -8px}}@media(max-width:480px){.im-playmat{padding:10px;border-radius:17px}.im-guide{gap:9px}.im-guide p,.im-status{font-size:16px}.im-guide .im-hand{flex-basis:32px;width:32px;height:32px;font-size:24px}.im-takeaway{gap:4px;grid-template-columns:repeat(4,minmax(0,1fr))}.im-row{padding:5px 7px}.im-row svg{max-width:225px}.im-group-buttons{gap:5px}.im-two-parts{gap:3px;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr)}.im-two-parts span{font-size:14px}}@media(prefers-reduced-motion:reduce){.interactive-math *,.interactive-math :after,.interactive-math :before{animation-duration:.001ms!important;animation-delay:0s!important;transition-duration:.001ms!important;transition-delay:0s!important}}.im-strategy-row{cursor:default;transition:background .3s var(--im-delay,0s),opacity .3s var(--im-delay,0s)}.im-strategy-row.im-row-outline{border-style:dashed;background:var(--paper)}.im-strategy-row.im-row-outline span,.im-strategy-row.im-row-outline svg{opacity:.2}.im-strategy-row.im-half-aside{opacity:.23;background:var(--paper)}.im-strategy-options:empty{display:none}.im-strategy-choice{min-height:44px;width:100%;padding:8px 12px;margin-bottom:10px;border:1px solid var(--blue);background:var(--white);color:var(--blue);border-radius:12px;font-size:16px}.im-finger-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-width:360px;margin:auto}.im-finger-row button{min-width:44px;min-height:98px;padding:4px;border:1px solid var(--line);border-radius:12px;background:var(--white);color:var(--ink);font-weight:700}.im-finger-row svg{display:block;width:100%;height:70px}.im-finger-row button:disabled{opacity:1;cursor:default}.im-finger-row button:not(:disabled){border:2px solid var(--blue);background:var(--sky)}.im-finger-row .im-bent{background:var(--mint)!important}@media(max-width:380px){.im-finger-row{gap:4px;grid-template-columns:repeat(auto-fit,minmax(44px,1fr))}}.written-math{max-width:650px;margin:20px auto;padding:28px;border:1px solid var(--line);border-radius:24px;background:var(--white);color:var(--ink)}.written-math h2{font-size:clamp(25px,4vw,34px);line-height:1.18;margin:10px 0}.written-intro{font-size:17px;line-height:1.4}.written-paper{max-width:350px;margin:20px auto;padding:14px 20px;border-radius:12px;background:repeating-linear-gradient(0deg,var(--paper) 0,var(--paper) 35px,var(--line) 36px,var(--paper) 37px);border:1px solid var(--line);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.written-grid{display:grid;font-size:clamp(29px,6vw,43px);font-weight:700;line-height:1.35;text-align:center;min-height:48px}.written-grid>span{min-width:0;border-radius:6px}.written-carries{font-size:21px;color:var(--green);min-height:29px}.written-active-column{background:var(--sky);box-shadow:inset 0 -2px var(--blue)}.written-result{border-top:3px solid var(--ink);padding-top:4px;color:var(--green)}.written-step-card{padding:15px 16px;background:var(--mint);border-radius:14px;margin:14px 0}.written-step-label{font-size:11px;font-weight:700;letter-spacing:.1em;color:var(--green)}.written-step-card h3{font-family:inherit;font-size:clamp(19px,3vw,25px);line-height:1.3;margin:6px 0}.written-step-card p{font-size:16px;line-height:1.4;margin-top:10px}.written-answer-form{display:grid;gap:10px}.written-answer-form label{font-size:15px}.written-answer-form input{width:100%;max-width:180px;justify-self:center;text-align:center;font-size:28px;min-height:48px;border:2px solid var(--blue);background:var(--white);color:var(--ink)}.written-pad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.written-pad button{min-height:48px;border:1px solid var(--line);background:var(--paper);color:var(--ink);font-size:23px;font-weight:700;border-radius:10px}.written-pad button:nth-child(10){font-size:16px}.written-math .button{width:100%;min-height:50px;white-space:normal;line-height:1.3}.written-finish p,.written-step-success p{margin:14px 0;font-size:18px;line-height:1.4}.written-pause{display:block;min-height:44px;margin:10px auto 0;font-size:15px}.written-help-offer,.written-pause{text-align:center}.written-help-offer p{font-size:17px;margin:0 0 12px}.written-help-actions{display:grid;gap:10px}@media(max-width:480px){.written-math{margin:8px auto;padding:17px 13px;border-radius:18px}.written-paper{margin:12px auto;padding:8px 18px;max-width:270px}.written-grid{min-height:37px;line-height:1.15}.written-carries{min-height:24px}.written-intro{font-size:15px}.written-step-card{padding:11px;margin:10px 0}.written-pad{gap:5px}.written-pad button{min-height:46px}.written-math h2{margin:7px 0}}.written-check-actions{position:sticky;bottom:0;background:var(--white);z-index:2;padding:8px 0}.written-check-actions .answer-feedback{margin-top:0}