@charset "UTF-8";._Choose_Main_1kza1_1{position:absolute;width:100%;height:100%;display:flex;flex-flow:column;justify-content:center;align-items:center;z-index:13;background:#0000000d}._Choose_item_1kza1_13{font-family:WebgalUI,serif;cursor:pointer;min-width:50%;padding:.25em 1em;font-size:265%;color:#8e354a;text-align:center;border-radius:4px;border:3px solid rgba(0,0,0,0);box-shadow:0 0 25px #00000040;background:#ffffffa6;margin:.25em 0;transition:background-color .5s,border .5s,font-weight .5s,box-shadow .5s}._Choose_item_1kza1_13:hover{background:#ffffffe6;box-shadow:0 0 25px #00000059;border:3px solid #8E354A}._Choose_item_disabled_1kza1_34{font-family:WebgalUI,serif;cursor:not-allowed;min-width:50%;padding:.25em 1em;font-size:265%;color:#8e354a80;text-align:center;border-radius:4px;border:3px solid rgba(0,0,0,0);box-shadow:0 0 25px #00000040;background:#ffffff80;margin:.25em 0;transition:background-color .5s,border .5s,font-weight .5s,box-shadow .5s}._Choose_item_outer_1kza1_50{color:#000;min-width:50%}._Choose_Main_4xkm5_1{position:absolute;width:100%;height:100%;display:flex;flex-flow:column;justify-content:center;align-items:center;z-index:13;background:#0000000d}._Choose_item_4xkm5_13{cursor:pointer;min-width:50%;padding:.25em 1em;font-size:265%;color:#005caf;text-align:center;border-radius:4px;border:3px solid rgba(0,0,0,0);box-shadow:0 0 25px #00000040;background:#ffffffa6;margin:.25em 0;transition:background-color .5s,border .5s,font-weight .5s,box-shadow .5s}._glabalDialog_container_inner_4xkm5_28{width:100%;height:100%;display:flex;justify-content:center;align-items:center;flex-flow:column;background:linear-gradient(to right,#005caf00,#005caf80 33%,#005cafd9 50%,#005caf80 66%,#005caf00);padding:1em 5em 1.5em}._glabalDialog_container_4xkm5_28{color:#fff;width:100%;border-top:4px solid;border-bottom:4px solid;border-image:linear-gradient(to right,#ffffff0d,#ffffffd9 33%,#fff 50%,#ffffffd9 66%,#ffffff0d) 1}._title_4xkm5_47{font-size:300%;letter-spacing:.05em;text-shadow:0 0 10px rgba(255,255,255,.5)}._Choose_item_4xkm5_13:hover{background:#ffffffe6;box-shadow:0 0 25px #00000059;border:3px solid #005caf}._button_4xkm5_59{font-size:200%;padding:.15em 1em;margin:.2em 1em;cursor:pointer;transition:background-color .33s,color .33s,font-weight .33s,transform .33s;text-shadow:0 0 10px rgb(255,255,255);border-radius:5px}._button_4xkm5_59:hover{font-weight:700;color:#005caf;transform:scale(1.1);text-shadow:0 0 15px rgba(0,0,0,0);background:#ffffffd9}._GlobalDialog_main_u8t2b_2{height:100%;width:100%;position:absolute;z-index:20;background:#0f254063;color:#fff;opacity:.5;animation:_showGlobalDialog_u8t2b_1 .33s forwards;display:flex;justify-content:center;align-items:center;font-family:资源圆体,serif}._glabalDialog_container_inner_u8t2b_17{width:100%;height:100%;display:flex;justify-content:center;align-items:center;flex-flow:column;background:linear-gradient(to right,#005caf00,#005caf80 33%,#005cafd9 50%,#005caf80 66%,#005caf00);padding:1em 5em 1.5em}._glabalDialog_container_u8t2b_17{height:20%;width:100%;border-top:4px solid;border-bottom:4px solid;border-image:linear-gradient(to right,#ffffff0d,#ffffffd9 33%,#fff 50%,#ffffffd9 66%,#ffffff0d) 1}._title_u8t2b_36{font-size:300%;text-shadow:0 0 10px rgba(255,255,255,.5)}._button_list_u8t2b_41{display:flex;margin:auto 0 0}._button_u8t2b_41{font-size:200%;padding:.15em 1em;margin:.2em 1em;cursor:pointer;transition:background-color .33s,color .33s,font-weight .33s,transform .33s;text-shadow:0 0 10px rgb(255,255,255);border-radius:5px}._button_u8t2b_41:hover{font-weight:700;color:#005caf;transform:scale(1.1);text-shadow:0 0 15px rgba(0,0,0,0);background:#ffffffd9}@keyframes _showGlobalDialog_u8t2b_1{0%{opacity:0}to{opacity:1}}._FullScreenPerform_main_1jj6x_2{position:absolute;width:100%;height:100%;top:0}._FullScreenPerform_element_1jj6x_9{position:absolute;display:none;width:100%;height:100%;z-index:11}._fullScreen_video_1jj6x_17{position:absolute;display:block;width:100%;height:100%;z-index:11}@keyframes _slideIn_1jj6x_80{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _typing_1jj6x_86{0%{width:0;height:0}to{width:100%;height:auto;border-right:1px solid}}@keyframes _blinkCursor_1jj6x_1{50%{border-color:transparent}}@keyframes _pixelateAnimation_1jj6x_1{0%{filter:none;opacity:0}50%{filter:blur(5px)}to{filter:none;opacity:1}}@keyframes _revealAnimation_1jj6x_101{0%{opacity:0;clip-path:polygon(0% 0%,0% 0%,0% 100%,0% 100%)}to{opacity:1;clip-path:polygon(0% 0%,100% 0%,100% 100%,0% 100%)}}._fadeIn_1jj6x_74{opacity:0;animation:_intro_showSoftly_1jj6x_1 1.5s ease-out forwards;font-family:资源圆体,serif}._slideIn_1jj6x_80{opacity:0;animation:_slideIn_1jj6x_80 1.5s forwards;font-family:资源圆体,serif}._typingEffect_1jj6x_86{display:block;overflow:hidden;white-space:pre-line;width:0;animation:_typing_1jj6x_86 1.5s forwards,_blinkCursor_1jj6x_1 1s infinite 1.5s;font-family:资源圆体,serif}._pixelateEffect_1jj6x_95{opacity:0;animation:_pixelateAnimation_1jj6x_1 3s forwards;font-family:资源圆体,serif}._revealAnimation_1jj6x_101{opacity:0;animation:_revealAnimation_1jj6x_101 3s forwards;font-family:资源圆体,serif}@keyframes _intro_showSoftly_1jj6x_1{0%{opacity:0}to{opacity:1}}._videoContainer_1jj6x_115{position:absolute;display:block;width:100%;height:100%;z-index:11;background:#000}._main_rdjpk_1{position:absolute;bottom:20px;z-index:9;display:flex;flex-flow:row;justify-content:center;align-items:center;height:70px;right:20px;border-radius:35px;padding:.15em 1.75em;font-size:80%}._button_rdjpk_16{position:relative;top:2px;padding:0;filter:drop-shadow(1px 1px 5px rgb(0,0,0))}._button_text_rdjpk_23{position:relative;bottom:8px;color:#fff;text-shadow:1px 1px 5px rgb(0,0,0);padding-left:3px}._button_on_rdjpk_31{height:100%;display:inline-block;font-size:150%;padding:.25em .3em 0 .15em;transition:background-color .5s;background:#ffffff4d;border-radius:4px;margin:0 .1em}._singleButton_rdjpk_42{height:100%;display:inline-block;color:#fff;font-size:150%;padding:.3em .3em 0 .15em;transition:background-color .5s;cursor:pointer;border-radius:4px;margin:0 .1em;position:relative}._singleButton_rdjpk_42:hover,._singleButton_active_rdjpk_55{background-color:#ffffff4d}._fastSlPreview_rdjpk_59{position:absolute;top:-250px;right:0;background:linear-gradient(315deg,#fdfbfbe6,#ebedeed9);width:900px;height:230px;color:#005caf;border-radius:5px;display:none;animation:_fastSlEnter_rdjpk_1 .33s;transition:opacity .33s}._fastsave_rdjpk_73:hover ._fastSPreview_rdjpk_73,._fastload_rdjpk_77:hover ._fastLPreview_rdjpk_77{display:block}@keyframes _fastSlEnter_rdjpk_1{0%{opacity:0}to{opacity:1}}._slPreviewMain_rdjpk_89{padding:.5em;display:flex;box-sizing:border-box;height:100%;width:100%}._imgContainer_rdjpk_97{display:flex;overflow:hidden;border-radius:5px;flex-shrink:0;height:100%}._textContainer_rdjpk_105{overflow:hidden;padding:0 0 0 .5em}@keyframes cg_softIn_-5{0%{opacity:0;transform:scale(1.15) translate(-50px,-125px) rotateX(-25deg) rotateY(25deg) rotate(10deg)}70%{opacity:1;transform:scale(1) translateZ(0) rotate(-7deg)}to{opacity:1;transform:scale(1) translateZ(0) rotate(-5deg)}}@keyframes cg_softIn_-4{0%{opacity:0;transform:scale(1.15) translate(-50px,-125px) rotateX(-25deg) rotateY(25deg) rotate(8deg)}70%{opacity:1;transform:scale(1) translateZ(0) rotate(-5.6deg)}to{opacity:1;transform:scale(1) translateZ(0) rotate(-4deg)}}@keyframes cg_softIn_-3{0%{opacity:0;transform:scale(1.15) translate(-50px,-125px) rotateX(-25deg) rotateY(25deg) rotate(6deg)}70%{opacity:1;transform:scale(1) translateZ(0) rotate(-4.2deg)}to{opacity:1;transform:scale(1) translateZ(0) rotate(-3deg)}}@keyframes cg_softIn_-2{0%{opacity:0;transform:scale(1.15) translate(-50px,-125px) rotateX(-25deg) rotateY(25deg) rotate(4deg)}70%{opacity:1;transform:scale(1) translateZ(0) rotate(-2.8deg)}to{opacity:1;transform:scale(1) translateZ(0) rotate(-2deg)}}@keyframes cg_softIn_-1{0%{opacity:0;transform:scale(1.15) translate(-50px,-125px) rotateX(-25deg) rotateY(25deg) rotate(2deg)}70%{opacity:1;transform:scale(1) translateZ(0) rotate(-1.4deg)}to{opacity:1;transform:scale(1) translateZ(0) rotate(-1deg)}}@keyframes cg_softIn_0{0%{opacity:0;transform:scale(1.15) translate(-50px,-125px) rotateX(-25deg) rotateY(25deg) rotate(0)}70%{opacity:1;transform:scale(1) translateZ(0) rotate(0)}to{opacity:1;transform:scale(1) translateZ(0) rotate(0)}}@keyframes cg_softIn_1{0%{opacity:0;transform:scale(1.15) translate(-50px,-125px) rotateX(-25deg) rotateY(25deg) rotate(-2deg)}70%{opacity:1;transform:scale(1) translateZ(0) rotate(1.4deg)}to{opacity:1;transform:scale(1) translateZ(0) rotate(1deg)}}@keyframes cg_softIn_2{0%{opacity:0;transform:scale(1.15) translate(-50px,-125px) rotateX(-25deg) rotateY(25deg) rotate(-4deg)}70%{opacity:1;transform:scale(1) translateZ(0) rotate(2.8deg)}to{opacity:1;transform:scale(1) translateZ(0) rotate(2deg)}}@keyframes cg_softIn_3{0%{opacity:0;transform:scale(1.15) translate(-50px,-125px) rotateX(-25deg) rotateY(25deg) rotate(-6deg)}70%{opacity:1;transform:scale(1) translateZ(0) rotate(4.2deg)}to{opacity:1;transform:scale(1) translateZ(0) rotate(3deg)}}@keyframes cg_softIn_4{0%{opacity:0;transform:scale(1.15) translate(-50px,-125px) rotateX(-25deg) rotateY(25deg) rotate(-8deg)}70%{opacity:1;transform:scale(1) translateZ(0) rotate(5.6deg)}to{opacity:1;transform:scale(1) translateZ(0) rotate(4deg)}}@keyframes cg_softIn_5{0%{opacity:0;transform:scale(1.15) translate(-50px,-125px) rotateX(-25deg) rotateY(25deg) rotate(-10deg)}70%{opacity:1;transform:scale(1) translateZ(0) rotate(7deg)}to{opacity:1;transform:scale(1) translateZ(0) rotate(5deg)}}input[type=range]{-webkit-appearance:none;width:500px;height:50px;background:transparent;font-size:100%}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none}input[type=range]:focus{outline:none}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;height:375%;width:7.2%;border-radius:5em;background:#fff;cursor:pointer;margin-top:-14px;box-shadow:0 0 5px #00000080}input[type=range]::-webkit-slider-runnable-track{width:100%;height:20%;cursor:pointer;box-shadow:1px 1px 7px #0000004d;background:#516e41e6;border-radius:2em}input[type=range]:focus::-webkit-slider-runnable-track{background:#516e41e6}input[type=range]::-moz-range-thumb{height:36px;width:7.2%;border-radius:5em;background:#fff;cursor:pointer;box-shadow:0 0 5px #00000080}input[type=range]::-moz-range-track{width:100%;height:20%;cursor:pointer;box-shadow:1px 1px 7px #0000004d;background:#516e41e6;border-radius:2em}.Option_WebGAL_slider{position:relative}.bubble{position:absolute;bottom:calc(100% + 10px);transform:translate(-50%);background:#000000d9;color:#fff;padding:6px 12px;border-radius:6px;font-weight:700;white-space:nowrap;pointer-events:none;opacity:0;animation:bubbleFadeIn .2s ease-out forwards}.bubble:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:6px;border-style:solid;border-color:rgba(0,0,0,.85) transparent transparent transparent}@keyframes bubbleFadeIn{0%{opacity:0;transform:translate(-50%) translateY(4px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.progress-dialog-root.math-app{position:fixed;top:0;right:0;bottom:0;left:0;z-index:300;background:transparent}.progress-dialog-root .modal-scrim{position:fixed}.math-app .progress-danger{color:#963e39;border-color:#c9857b;background:#fff2ed}.progress-options{margin-top:18px;border-top:1px solid #dde3d3;padding-top:14px;display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.progress-options p{flex-basis:100%;margin:0;font-size:13px;color:#6a7f5e}.journey-content{width:100%;height:100%}.math-app>.lesson-completion{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:24px;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 50% 34%,#fff9dfed,#e8f3eeed 55%,#c1e0d5f5);color:#29493f;font-family:inherit}.completion-card{position:relative;text-align:center;display:flex;align-items:center;flex-direction:column;width:min(680px,100%);max-height:100%;padding:30px 42px 26px;border:2px solid #fff9;border-radius:36px;background:linear-gradient(155deg,#fffef8 15%,#fff8e9);box-shadow:0 22px 70px #35695225,inset 0 0 0 6px #ffffff70;animation:completion-arrive .6s cubic-bezier(.2,.9,.3,1.15) both}.completion-ribbon{display:inline-block;padding:7px 28px;background:#357b65;border-radius:8px 8px 20px 20px;color:#fff5dc;font-size:17px;font-weight:800;letter-spacing:4px;box-shadow:0 4px #225b49}.completion-task{margin:17px 0 0;font-size:18px;color:#657b70;font-weight:600;letter-spacing:1px}.completion-award{position:relative;isolation:isolate;margin:12px 0 18px;padding:26px 0 4px;width:100%}.completion-rays{position:absolute;top:-28px;right:10%;bottom:-18px;left:10%;z-index:-1;border-radius:50%;background:repeating-conic-gradient(from -12deg,#f9d87925 0deg 12deg,transparent 12deg 27deg);-webkit-mask-image:radial-gradient(ellipse,#000 20%,transparent 72%);mask-image:radial-gradient(ellipse,#000 20%,transparent 72%);animation:completion-rays 5s ease-out both}.completion-stars{display:flex;align-items:center;justify-content:center;gap:9px;height:110px}.completion-stars span{display:block;width:74px;filter:drop-shadow(0 6px 0 #ce9233) drop-shadow(0 9px 12px #e1ad3440);animation:completion-star .65s cubic-bezier(.2,.9,.35,1.4) calc(.15s + var(--star)*.18s) both}.completion-stars span:nth-child(2),.completion-stars span:nth-child(4){width:86px;transform:translateY(-9px)}.completion-stars span:nth-child(3){width:104px;transform:translateY(-16px)}.completion-stars svg{display:block;width:100%;overflow:visible;fill:#ffd264;stroke:#e9a73d;stroke-width:2;stroke-linejoin:round}.completion-stars .completion-star-shine{fill:#fff2bf;stroke:none}.completion-award strong{display:block;margin-top:14px;color:#9e681d;font-size:18px;letter-spacing:2px;animation:completion-arrive .5s 1.05s both}.completion-card h2{padding:4px 0;margin:0 0 14px;font-size:clamp(25px,3.6vw,38px);font-weight:900;letter-spacing:1px;line-height:1.3;color:#285b49}.completion-message p{margin:0 0 10px;line-height:1.65;font-size:18px;color:#4e665a}.completion-message p+p{font-size:17px;color:#778476}.math-app .completion-continue{min-height:50px;margin-top:14px;padding:12px 32px;border-radius:18px;background:#347e65;color:#fffef0;border:1px solid #28654f;box-shadow:0 5px #215941;font-size:18px;letter-spacing:1px}.math-app .completion-continue:hover{background:#286b55;transform:translateY(-1px)}.math-app .completion-continue:focus-visible{outline:3px solid #d09b2b;outline-offset:6px}.completion-continue span{margin-left:14px}.math-app .completion-build{margin-top:10px;min-height:44px;padding:8px 22px;font-size:17px;border-radius:14px}.completion-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:14px}.math-app .completion-actions button{margin-top:0}@media (max-height:600px){.completion-actions{margin-top:8px;gap:8px}.math-app .completion-actions button{font-size:16px;padding:8px 18px}}.completion-audio-note{margin-top:12px;color:#806b4d}.completion-confetti{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden}.completion-confetti i{position:absolute;left:var(--x);top:-24px;width:10px;height:20px;border-radius:3px;background:var(--color);opacity:0;animation:completion-confetti 3.5s ease-out var(--delay) both}.completion-confetti i:nth-child(3n){border-radius:50%;width:12px;height:12px}@keyframes completion-arrive{0%{opacity:0;transform:translateY(18px) scale(.92)}to{opacity:1;transform:none}}@keyframes completion-star{0%{opacity:0;scale:.15;rotate:-22deg}65%{opacity:1;scale:1.16;rotate:6deg}to{opacity:1;scale:1;rotate:0deg}}@keyframes completion-rays{0%{opacity:0;transform:scale(.5) rotate(-18deg)}35%{opacity:1}to{opacity:.65;transform:scale(1.1) rotate(14deg)}}@keyframes completion-confetti{0%{opacity:0;transform:translate3d(0,-20px,0) rotate(0)}10%{opacity:1}80%{opacity:.85}to{opacity:0;transform:translate3d(var(--drift),105vh,0) rotate(650deg)}}@media (max-height:600px){.math-app>.lesson-completion{padding:12px}.completion-card{width:min(720px,100%);padding:16px 30px 18px;border-radius:24px}.completion-ribbon{font-size:13px;padding:4px 22px}.completion-task{margin-top:9px;font-size:15px}.completion-award{margin:0 0 8px;padding:8px 0 0}.completion-stars{height:72px;gap:9px}.completion-stars span{width:48px}.completion-stars span:nth-child(2),.completion-stars span:nth-child(4){width:58px;transform:translateY(-3px)}.completion-stars span:nth-child(3){width:70px;transform:translateY(-6px)}.completion-award strong{font-size:14px;margin-top:3px}.completion-card h2{font-size:26px;margin-bottom:6px}.completion-message p{font-size:15px;margin-bottom:3px;line-height:1.5}.completion-message p+p{font-size:14px}.completion-linebreak{display:none}.math-app .completion-continue{margin-top:10px;min-height:44px;padding:8px 28px;font-size:16px}.completion-audio-note{margin:6px 0 0;font-size:12px}}@media (prefers-reduced-motion:reduce){.lesson-completion *,.lesson-completion *:before{animation:none!important;transition:none!important}.completion-confetti{display:none}.completion-rays{opacity:.6}}html[data-interface-theme]{--button-glass-primary-ink: var(--ui-on-accent);--button-glass-soft: color-mix(in srgb, var(--ui-soft) 50%, transparent);--button-glass-selected: color-mix(in srgb, var(--ui-selected) 50%, transparent);--button-glass-surface: color-mix(in srgb, var(--ui-surface) 50%, transparent);--button-yard-surface: var(--ui-surface);--button-yard-hover: var(--ui-selected);--button-glass-disabled: color-mix(in srgb, var(--ui-disabled) 50%, transparent);--button-glass-help: color-mix(in srgb, var(--ui-help) 50%, transparent);--button-glass-art: color-mix(in srgb, var(--ui-art-card) 88%, transparent);--button-glass-art-hover: color-mix(in srgb, var(--ui-art-card-hover) 94%, transparent);--button-glass-primary: color-mix(in srgb, color-mix(in srgb, var(--ui-accent) 85%, #16323b) 74%, transparent);--button-glass-primary-hover: color-mix(in srgb, var(--ui-accent-hover) 82%, transparent);--button-glass-hover: color-mix(in srgb, color-mix(in srgb, var(--ui-selected) 85%, var(--ui-accent) 15%) 82%, transparent);--button-glass-help-hover: color-mix(in srgb, color-mix(in srgb, var(--ui-help) 92%, var(--ui-help-text) 8%) 82%, transparent);--button-glass-sheen: none;--button-glass-raised-edge: color-mix(in srgb, var(--ui-selected) 75%, var(--ui-accent) 25%);--button-glass-shadow: inset 0 1px 0 #ffffffa6, inset 0 -1px 0 #10253612, 0 3px 0 var(--ui-separator), 0 5px 10px #10253612;--button-glass-primary-shadow: inset 0 1px 0 #ffffff73, inset 0 -1px 0 #10253626, 0 3px 0 var(--ui-shadow), 0 5px 10px #1025361a}html[data-interface-theme] :is(.math-app,.auth-card) button{--ui-soft: var(--button-glass-soft);--ui-selected: var(--button-glass-selected);--ui-surface: var(--button-glass-surface);--ui-disabled: var(--button-glass-disabled);--ui-help: var(--button-glass-help);--ui-art-card: var(--button-glass-art);--ui-art-card-hover: var(--button-glass-art-hover);backdrop-filter:none;-webkit-backdrop-filter:none}html[data-interface-theme] .math-app :is(.room-hotspot,.yard-object,.iv-site,.ea-cell,.ea-piece,.el-mark){backdrop-filter:none;-webkit-backdrop-filter:none}html[data-interface-theme] .personal-yard.math-app .yard-object,html[data-interface-theme] .personal-yard.math-app .house-world .room-hotspot{background:var(--button-yard-surface)}html[data-interface-theme] .personal-yard.math-app .yard-object:hover:not(:disabled),html[data-interface-theme] .personal-yard.math-app .house-world .room-hotspot:hover:not(:disabled){background:var(--button-yard-hover)}html[data-interface-theme] .math-app .completion-continue{background:var(--button-glass-sheen),#347e65bd;box-shadow:inset 0 1px #ffffff73,0 5px #215941,0 7px 12px #1025361a}html[data-interface-theme] .math-app .completion-continue:hover{background:var(--button-glass-sheen),#286b5580}html[data-interface-theme]{--control-text-halo: none}html[data-interface-theme] body :is(.math-app,.auth-card) button{text-shadow:var(--control-text-halo)}html[data-interface-theme] body .math-app .phase-track button{border:1px solid var(--ui-border)}html[data-interface-theme] body .math-app :is(button[aria-pressed=true],.phase-track button[aria-current=step]){box-shadow:inset 0 -3px 0 var(--ui-accent),0 2px 4px #1025361a}html[data-interface-theme] body .math-app .completion-continue{color:#fffef2;border-color:var(--ui-accent)}@media (hover: hover){html[data-interface-theme] body :is(.math-app,.auth-card) button:hover:not(:disabled):not(:is(.room-hotspot,.yard-object,.iv-site,.ea-cell,.ea-piece,.el-mark,.animal-card)){--ui-soft: var(--button-glass-hover);--ui-surface: var(--button-glass-hover);--ui-selected: var(--button-glass-hover);--ui-help: var(--button-glass-help-hover)}html[data-interface-theme] body .math-app .completion-continue:hover:not(:disabled){background:#286b55d1}}html[data-interface-theme]{--panel-dialogue-alpha: .56;--panel-glass-rgb: 247, 250, 246}html[data-interface-theme=blue]{--panel-glass-rgb: 243, 248, 253}html[data-interface-theme=rose]{--panel-glass-rgb: 255, 247, 246}html[data-interface-theme=dark]{--panel-dialogue-alpha: .66;--panel-glass-rgb: 27, 36, 47}html[data-interface-theme] body .math-app .scene-panel,html[data-interface-theme] body .math-app.vn-mode :is(.dialogue-panel,.town-dialogue,.farm-header,.phase-progress){background:rgba(var(--panel-glass-rgb),var(--panel-dialogue-alpha));backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}html[data-interface-theme] .math-app .lesson-workspace:not([data-visual=story])>.activity-panel,html[data-interface-theme] .math-app .lesson-workspace[data-visual=story]>.activity-panel:has(.lesson-outcome){backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}html[data-interface-theme] body .math-app .lesson-workspace .activity-panel .task-brief{background:rgba(var(--panel-glass-rgb),.12)}html[data-interface-theme] body .math-app .activity-panel .ending-visual{background:transparent}html[data-interface-theme] .math-app .modal-scrim{background:#142c3614;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}html[data-interface-theme] .math-app .math-modal{backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}html[data-interface-theme] body .math-app.vn-mode .farm-brand{text-shadow:var(--control-text-halo)}html[data-interface-theme]{--ui-text:#345340;--ui-muted:#4b6049;--ui-accent:#527a52;--ui-accent-hover:#3a6243;--ui-on-accent:#fffef2;--ui-surface:#fffdf3;--ui-panel:rgba(247,250,246,.48);--ui-header:rgba(248,251,248,.88);--ui-soft:#eff5e5;--ui-selected:#e4edd5;--ui-border:#7c8d6e;--ui-separator:#b7c8ac80;--ui-input:#fff;--ui-shadow:#385b3b;--ui-disabled:#edf1e6;--ui-disabled-text:#526149;--ui-focus:#a0522d;--ui-help:#fff0bd;--ui-help-text:#645015;--ui-help-border:#ac8d38;--ui-error:#8e2e37;--ui-feedback:#7f4c2c;--ui-backdrop:#e7ecd8;--ui-instruction:var(--ui-accent-hover);--ui-paper:#fff7df;--ui-paper-text:#3f523b;--ui-paper-muted:#555d40;--ui-medal-ink:#705319;--ui-error-surface:#fff0f2;--ui-footprint:#526b43;--ui-footprint-extra:#9a542b;--ui-art-card:#d7e4d2;--ui-art-card-hover:#bfd9ba;--ui-art-card-text:#284937;--ui-art-card-muted:#355b40;--ui-art-card-border:#6c8d74;--ui-place-a:#d9ecff;--ui-place-a-border:#4879aa;--ui-place-b:#dff0d5;--ui-place-b-border:#5a8650;--ui-place-extra:#fff0bd;--ui-place-extra-border:#a77920;--ui-place-pool:#edf0f2;--ui-place-pool-border:#7a8990;--ui-place-ink:#263d42}html[data-interface-theme=blue]{--ui-text:#263f59;--ui-muted:#465d75;--ui-accent:#376b9b;--ui-accent-hover:#28577f;--ui-surface:#f7fbff;--ui-panel:rgba(243,248,253,.48);--ui-header:rgba(241,248,255,.9);--ui-soft:#e7f0fa;--ui-selected:#d8e8f7;--ui-border:#708da7;--ui-separator:#9cb7d180;--ui-shadow:#234965;--ui-disabled:#e9eef3;--ui-disabled-text:#53677a;--ui-focus:#204f96;--ui-backdrop:#deeaf4}html[data-interface-theme=rose]{--ui-text:#59323c;--ui-muted:#75515b;--ui-accent:#9c4650;--ui-accent-hover:#7f3440;--ui-surface:#fff8f7;--ui-panel:rgba(255,247,246,.48);--ui-header:rgba(255,245,243,.9);--ui-soft:#fae9e9;--ui-selected:#f3d9de;--ui-border:#ad7a83;--ui-separator:#c3979f80;--ui-shadow:#71313d;--ui-disabled:#f3e9eb;--ui-disabled-text:#775c65;--ui-focus:#8d2945;--ui-backdrop:#f1dfe3}html[data-interface-theme=dark]{color-scheme:dark;--ui-text:#edf2f7;--ui-muted:#cbd5df;--ui-accent:#9bc7ef;--ui-accent-hover:#bbdcf7;--ui-on-accent:#182b3b;--ui-surface:#202a36;--ui-panel:rgba(27,36,47,.58);--ui-header:rgba(26,35,46,.96);--ui-soft:#303e50;--ui-selected:#405b77;--ui-border:#8da4bb;--ui-separator:#8396ac80;--ui-input:#182330;--ui-shadow:#111b26;--ui-disabled:#303a48;--ui-disabled-text:#b2bfcd;--ui-focus:#ffd58a;--ui-help:#584820;--ui-help-text:#fff1b8;--ui-help-border:#c5a25c;--ui-error:#ffb4be;--ui-feedback:#ffd1a8;--ui-backdrop:#18212c;--ui-error-surface:#4c2733;--ui-footprint:#b7d5a2;--ui-footprint-extra:#ffc18d}html[data-interface-theme=dark] .math-app .ex-simple-cycle-board .ex-cycle-token{color:var(--ui-text)}html[data-interface-theme=dark] .math-app .ex-simple-cycle-board .ex-cycle-group-frame{background:var(--ui-selected);border-color:var(--ui-accent)}html[data-interface-theme=dark] .math-app.exploration-lesson .ex-equation{color:var(--ui-accent)}html[data-interface-theme] .math-app{--ink:var(--ui-text);--muted:var(--ui-muted);--green:var(--ui-accent);--green-dark:var(--ui-accent-hover);--paper:var(--ui-surface);--border:var(--ui-border);--vn-glass:var(--ui-panel);--vn-border:var(--ui-border);color:var(--ui-text);background-color:var(--ui-backdrop)}html[data-interface-theme] .math-app :is(.farm-header,.phase-progress){background:var(--ui-header);border-color:var(--ui-separator)}html[data-interface-theme] .math-app :is(.dialogue-panel,.town-dialogue,.math-modal,.activity-panel.has-task-brief,.task-brief){background:var(--ui-panel);border-color:var(--ui-border);color:var(--ui-text)}html[data-interface-theme] .math-app .lesson-workspace[data-visual=story]>.activity-panel{background:none;border-color:transparent}html[data-interface-theme] .math-app .lesson-workspace[data-visual=story] .task-brief{background:var(--ui-panel);border-color:var(--ui-border)}html[data-interface-theme] .math-app :is(.dialogue-text,.speaker-label,.task-brief h2,.task-brief p,.math-modal h2,.farm-brand,.eq-review h3){color:var(--ui-text)}html[data-interface-theme] .math-app :is(.phase-caption,.activity-heading,.speaker-label small,.farm-brand small,.small-note,.modal-top,.help-copy,.eq-help-copy,.eq-board-top span,.review-lines,.slide-caption,.slide-navigation>span,.setting-row){color:var(--ui-muted)}html[data-interface-theme] .math-app .dialogue-text.feedback{color:var(--ui-feedback)}html[data-interface-theme] .math-app button{background:var(--button-glass-sheen),var(--ui-soft);color:var(--ui-text);border-color:var(--ui-border);box-shadow:var(--button-glass-shadow)}html[data-interface-theme] .math-app button:hover:not(:disabled){background:var(--button-glass-sheen),var(--ui-selected)}html[data-interface-theme] .math-app :is(button,a){transition-property:transform,box-shadow}html[data-interface-theme] .math-app button.primary,html[data-interface-theme] .math-app .phase-caption>button,html[data-interface-theme] .math-app .title-menu>.title-primary{background:var(--button-glass-sheen),var(--button-glass-primary);color:var(--button-glass-primary-ink);border-color:var(--ui-accent);box-shadow:var(--button-glass-primary-shadow)}html[data-interface-theme] .math-app button.primary:hover:not(:disabled),html[data-interface-theme] .math-app .phase-caption>button:hover,html[data-interface-theme] .math-app .title-menu>.title-primary:hover{background:var(--button-glass-sheen),var(--button-glass-primary-hover)}html[data-interface-theme] .math-app button[aria-pressed=true],html[data-interface-theme] .math-app .phase-track button[aria-current=step]{background:var(--button-glass-sheen),var(--ui-selected);color:var(--ui-text);border-color:var(--ui-accent);outline-color:var(--ui-accent)}html[data-interface-theme] .math-app .phase-track button{background:var(--button-glass-sheen),var(--ui-surface)}html[data-interface-theme] .math-app .phase-track button>span{background:var(--button-glass-sheen),var(--ui-surface);border-color:var(--ui-border)}html[data-interface-theme] .math-app .phase-track button.done>span{background:var(--button-glass-sheen),var(--ui-selected);color:var(--ui-text)}html[data-interface-theme] .math-app.vn-mode .phase-track button:disabled>span{color:var(--ui-disabled-text);border-color:var(--ui-border)}html[data-interface-theme] .math-app .dialogue-tools>button{background:var(--button-glass-sheen),var(--ui-soft);color:var(--ui-text);border-color:var(--ui-border)}html[data-interface-theme] .math-app button:disabled:not(.animal-card),html[data-interface-theme] .math-app.vn-mode button:disabled:not(.animal-card):not(.primary),html[data-interface-theme] .math-app .phase-track button:disabled{opacity:1;background:var(--ui-disabled);color:var(--ui-disabled-text);border-color:var(--ui-border);box-shadow:none}html[data-interface-theme] .math-app .dialogue-tools>button:last-of-type:not(:disabled){background:var(--button-glass-sheen),var(--ui-help);color:var(--ui-help-text);border-color:var(--ui-help-border)}html[data-interface-theme] .math-app :is(input:not([type=checkbox]):not([type=range]),select,textarea){background:var(--ui-input);color:var(--ui-text);border-color:var(--ui-border)}html[data-interface-theme] .math-app :is(input,select){accent-color:var(--ui-accent)}html[data-interface-theme] .math-app :is(button,input,select,textarea):focus-visible{outline-color:var(--ui-focus)}html[data-interface-theme] .math-app :is(.dialogue-tools,.setting-row,.progress-options,.eq-review){border-color:var(--ui-separator)}html[data-interface-theme] .math-app :is(.host-picker,.host-appearance-settings,.host-license,.audio-settings,.host-license a){color:var(--ui-muted)}html[data-interface-theme] .math-app .setting-row{display:grid;grid-template-columns:minmax(0,1fr) min(210px,45%);align-items:center;gap:16px;min-height:70px;margin:8px 0;padding:10px 14px;border:0;border-radius:10px;background:color-mix(in srgb,var(--ui-surface) 88%,transparent);text-align:left}html[data-interface-theme] .math-app .setting-row>span{color:var(--ui-text);font-weight:600;min-width:0;text-shadow:none}html[data-interface-theme] .math-app .setting-row>input[type=range],html[data-interface-theme] .math-app .setting-row>select{width:100%;max-width:100%;min-width:0;margin:0}html[data-interface-theme] .math-app .setting-row>input[type=checkbox]{justify-self:center;margin:0}html[data-interface-theme] .math-app .interface-theme-settings .setting-row{grid-template-columns:minmax(0,1fr) min(210px,60%)}html[data-interface-theme] .math-app :is(.host-appearance-settings,.character-preview){background:var(--ui-soft);border-color:var(--ui-border);color:var(--ui-text)}html[data-interface-theme] .math-app :is(.host-appearance-settings h3,.character-preview>summary,.character-preview .character>span,.adult-options button){color:var(--ui-text)}html[data-interface-theme] .math-app .math-modal .character>span{background:var(--ui-surface);color:var(--ui-text)}html[data-interface-theme] .math-app :is(.host-license summary,.host-license p,.progress-options p){color:var(--ui-muted)}html[data-interface-theme] .math-app .host-license a{color:var(--ui-instruction)}html[data-interface-theme] .math-app .adult-options{border-color:var(--ui-separator)}html[data-interface-theme] .math-app :is(.journey-list>div,.record-list>div,.target-record span,.board-totals span,.tap-note,.eq-rule,.eq-board,.eq-swaps,.eq-equation,.eq-grouped>.eq-group){background:var(--ui-soft);border-color:var(--ui-border);color:var(--ui-text)}html[data-interface-theme] .math-app :is(.eq-rule-quantity,.eq-equivalent,.eq-swaps small,.eq-board>p,.journey-list span,.record-list span,.record-list small){color:var(--ui-text)}html[data-interface-theme] .math-app .board-label{color:var(--ui-instruction)}html[data-interface-theme] .math-app :is(.recognition p,.thinking-visual p,.two-animals>span,.difference>span,.swap-diagram small,.operation-demo>span,.mystery-card p,.mystery-card>span){color:var(--ui-muted)}html[data-interface-theme] .math-app :is(.record-summary-animals>div>span,.record-summary-animals strong,.replacement-observation .swap-diagram>span,.replacement-observation .swap-diagram>div>span,.equation,.number-entry>span){color:var(--ui-text)}html[data-interface-theme] .math-app .number-entry input::placeholder{color:var(--ui-muted)}html[data-interface-theme] .math-app .animal-card{background:var(--button-glass-sheen),var(--ui-art-card);color:var(--ui-art-card-text);border-color:var(--ui-art-card-border)}html[data-interface-theme] .math-app .animal-card.can-swap:hover:not(:disabled){background:var(--button-glass-sheen),var(--ui-art-card-hover)}html[data-interface-theme] .math-app .animal-card span{color:var(--ui-art-card-text)}html[data-interface-theme] .math-app .animal-card small{color:var(--ui-art-card-muted)}html[data-interface-theme] .math-app :is(.progress-danger,.host-error,.theme-save-error){color:var(--ui-error)}html[data-interface-theme] .math-app .title-content{color:var(--ui-text)}html[data-interface-theme] .math-app :is(.title-content h1,.title-content h1 small,.title-eyebrow,.title-footnote,.title-content .title-replay){color:var(--ui-text)}html[data-interface-theme] .math-app :is(.title-screen h1,.title-screen h1 span,.town-name-preview strong,.town-appearance .character>span,.option-picture i,.option-picture>span,.review-speaker){color:var(--ui-text)}html[data-interface-theme] .math-app :is(.eyebrow,.title-screen>p,.title-note,.title-record>span,.title-footer,.dialogue-tools>small,.dialogue-tools>span,.town-controls>small,.town-name-preview,.town-name-input small,.town-footer,.town-footer a,.eq-own-method,.video-status){color:var(--ui-muted)}html[data-interface-theme] .math-app :is(.title-menu>button>span,.character-preview>summary,.celebration-caption){color:var(--ui-instruction)}html[data-interface-theme] .math-app .title-menu>.title-primary>span{color:var(--ui-on-accent)}html[data-interface-theme] .math-app .title-content h1{text-shadow:none}html[data-interface-theme] .math-app .title-screen{background:linear-gradient(90deg,var(--ui-panel) 0%,var(--ui-panel) 38%,transparent 82%)}html[data-interface-theme=dark] .math-app .title-shade{background:linear-gradient(90deg,#16212cf5,#16212cdd 42%,#16212c20 80%)}html[data-interface-theme] .math-app :is(.opening-actions,.opening-caption,.town-footer){background:var(--ui-panel);color:var(--ui-text);border-color:var(--ui-border)}html[data-interface-theme] .math-app :is(.opening-actions>p,.opening-caption>span){color:var(--ui-muted)}html[data-interface-theme] .math-app :is(.opening-letter,.opening-envelope,.town-letter){background:var(--ui-paper);color:var(--ui-paper-text)}html[data-interface-theme] .math-app :is(.town-letter h1,.town-letter>span,.opening-envelope>i,.paper-record,.paper-record p,.paper-record b,.paper-record>span,.yard-sign){color:var(--ui-paper-text)}html[data-interface-theme] .math-app :is(.opening-letter>span,.town-letter>span){color:var(--ui-paper-muted)}html[data-interface-theme] .math-app :is(.title-friends .character>span,.yard-player .town-player>span,.yard-partner .character>span,.welcome-duo .town-player>span,.welcome-duo .character>span){background:var(--ui-surface);color:var(--ui-text)}html[data-interface-theme] .math-app :is(.town-tool-badges>span,.town-demo-board,.town-keepsake,.yard-medal,.recovered-record,.restart-confirm,.big-check){background:var(--ui-soft);color:var(--ui-text);border-color:var(--ui-border)}html[data-interface-theme] .math-app :is(.yard-medal>b,.yard-medal>small,.town-keepsake b,.keepsake-stars,.recovered-record>span,.recovered-record>small){color:var(--ui-muted)}html[data-interface-theme] .math-app .recovered-record strong{color:var(--ui-text)}html[data-interface-theme] .math-app :is(.lesson-workspace[data-visual=story] .mystery-card,.ending-visual){background:var(--ui-panel);color:var(--ui-text);border-color:var(--ui-border)}html[data-interface-theme] .math-app :is(.mystery-card b,.empty-board,.swap-diagram>span){color:var(--ui-text)}html[data-interface-theme] .math-app .growth-reward{background:var(--ui-help);color:var(--ui-help-text);border-color:var(--ui-help-border)}html[data-interface-theme] .math-app :is(.growth-reward p,.growth-reward .reward-stars){color:var(--ui-help-text)}html[data-interface-theme] .math-app .medal{color:var(--ui-medal-ink)}html[data-interface-theme] .math-app .eq-small-card>b{background:var(--ui-accent);color:var(--ui-on-accent)}html[data-interface-theme] .math-app :is(.save-warning,.town-save-alert){background:var(--ui-help);color:var(--ui-help-text);border-color:var(--ui-help-border)}html[data-interface-theme] .math-app .engine-error{background:var(--ui-surface);color:var(--ui-text)}html[data-interface-theme] .math-app :is(.foot i,.foot b){background:var(--ui-footprint)}html[data-interface-theme] .math-app :is(.foot.missing i,.foot.missing b){background:transparent;border-color:var(--ui-footprint)}html[data-interface-theme] .math-app :is(.foot.extra i,.foot.extra b){background:var(--ui-footprint-extra)}html[data-interface-theme] .math-app .map-instruction{background:var(--ui-surface);color:var(--ui-text)}html[data-interface-theme] .math-app .illustrated-town-map .map-location{background:var(--button-glass-sheen),var(--ui-soft);color:var(--ui-text);border-color:var(--ui-border)}html[data-interface-theme] .math-app .illustrated-town-map .map-location>small{color:inherit}html[data-interface-theme] .math-app .illustrated-town-map .map-location:disabled{opacity:1;background:var(--ui-disabled);color:var(--ui-disabled-text)}html[data-interface-theme] .math-app .illustrated-town-map .map-location[data-highlighted=true]{background:var(--button-glass-sheen),var(--ui-selected);color:var(--ui-text)}html[data-interface-theme] .math-app .illustrated-town-map[data-map-phase=choose] .map-farm{background:var(--button-glass-sheen),var(--button-glass-primary);color:var(--button-glass-primary-ink)}html[data-interface-theme] .math-app .illustrated-town-map[data-map-phase=choose] .map-farm>small{color:inherit}html[data-interface-theme] .math-app .illustrated-town-map[data-map-phase=choose] .map-farm:hover{background:var(--button-glass-sheen),var(--button-glass-primary-hover)}html[data-interface-theme] .math-app .map-image-notice{color:var(--ui-muted);background:var(--ui-surface)}html[data-interface-theme] .math-app .math-modal .text-button{color:var(--ui-text)}html[data-interface-theme] .math-app .eq-yard-decoration>:is(b,span){background:var(--ui-paper);color:var(--ui-paper-text);text-shadow:none}html[data-interface-theme] .auth-page{background:var(--ui-backdrop);color:var(--ui-text)}html[data-interface-theme] .auth-card{background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-border)}html[data-interface-theme] :is(.auth-card>h1,.auth-explanation,.auth-card form,.auth-card label,.auth-status){color:var(--ui-text)}html[data-interface-theme] :is(.auth-eyebrow,.auth-card small,.auth-local){color:var(--ui-muted);border-color:var(--ui-separator)}html[data-interface-theme] .auth-card button{background:var(--button-glass-sheen),var(--ui-soft);color:var(--ui-text);border-color:var(--ui-border);box-shadow:var(--button-glass-shadow)}html[data-interface-theme] .auth-card button:hover:not(:disabled){background:var(--button-glass-sheen),var(--ui-selected)}html[data-interface-theme] .auth-card .auth-primary{background:var(--button-glass-sheen),var(--button-glass-primary);color:var(--button-glass-primary-ink);border-color:var(--ui-accent)}html[data-interface-theme] .auth-card .auth-primary:hover:not(:disabled){background:var(--button-glass-sheen),var(--button-glass-primary-hover)}html[data-interface-theme] .auth-tabs button[aria-pressed=true]{background:var(--button-glass-sheen),var(--ui-selected);color:var(--ui-text);border-color:var(--ui-accent)}html[data-interface-theme] .auth-card button:disabled{opacity:1;background:var(--ui-disabled);color:var(--ui-disabled-text)}html[data-interface-theme] .auth-card input:not([type=checkbox]){background:var(--ui-input);color:var(--ui-text);border-color:var(--ui-border)}html[data-interface-theme] .auth-card input::placeholder{color:var(--ui-muted)}html[data-interface-theme] .auth-card input{accent-color:var(--ui-accent)}html[data-interface-theme] .auth-card :is(button,input):focus-visible{outline-color:var(--ui-focus)}html[data-interface-theme] .auth-error{background:var(--ui-error-surface);color:var(--ui-error);border-color:var(--ui-error)}html[data-interface-theme] :is(.auth-notice,.auth-import){background:var(--ui-soft);color:var(--ui-text);border-color:var(--ui-border)}.interface-theme-settings{width:100%;text-align:left}.interface-theme-settings select{font:inherit;min-height:44px;max-width:65%;padding:7px 10px;border:1.5px solid var(--ui-border,#7c8d6e);border-radius:10px}.interface-theme-settings .small-note{margin:8px 0 14px}.theme-save-error{font-size:14px}.math-app .task-brief h2.lesson-prompt{width:fit-content;max-width:100%;margin-inline:auto;overflow-wrap:normal;word-break:normal;line-break:strict;text-wrap:pretty;font-weight:500}.math-app .task-brief h2.lesson-prompt--center{text-align:center}.math-app .task-brief h2.lesson-prompt--left{text-align:left;max-width:min(100%,40em)}.math-app .lesson-prompt-line{display:block;text-wrap:balance}.math-app .lesson-prompt-request{margin-top:.2em;font-weight:700}.math-app .lesson-prompt-keep{white-space:nowrap}.math-app .lesson-prompt[data-prompt-lines="1"]{font-weight:700}@media (max-height:500px) and (min-width:600px){.math-app .lesson-prompt-line:not(.lesson-prompt-request){display:inline;text-wrap:pretty}.math-app .lesson-prompt-request{margin-top:0}.math-app[data-fit-screen=true] .task-brief:has(.lesson-prompt[data-prompt-lines="3"]){padding-top:1px;padding-bottom:1px}}@font-face{font-family:FarmRounded;src:url(./ResourceHanRoundedCN-Regular-C1HdCLVq.ttf) format("truetype");font-display:swap}.math-app .slide-drawing .animal-board.few{display:flex;justify-content:center;gap:10px}.math-app .slide-drawing .animal-board.few .animal-card{flex:0 1 130px;min-width:0}.math-app .slide-drawing .animal-board .animal-card .animal-icon{width:100%;max-width:100%;height:clamp(60px,10vw,94px)}:root{--ink:#345340;--muted:#7b8772;--green:#527a52;--green-dark:#3a6243;--paper:#fffdf4;--border:#dce3c9;--yellow:#f4d998}html body #root{width:100vw;height:100dvh;overflow:hidden;font-size:16px;transform:none!important}html body{background:#e9efda;color:var(--ink);font-family:FarmRounded,Microsoft YaHei,sans-serif}.math-app,.math-app *{box-sizing:border-box}.math-app{width:100%;height:100%;position:relative;display:flex;flex-direction:column;isolation:isolate;overflow:clip;background:#e7ecd8;font-size:16px;line-height:1.5}.math-app button,.math-app input{font:inherit}.math-app button{min-height:48px;border:1.5px solid #d5ddc5;border-radius:15px;background:#fffcf0;color:var(--ink);padding:10px 23px;cursor:pointer;box-shadow:0 3px #d7dcc5;transition:background .15s,transform .15s,box-shadow .15s;touch-action:manipulation;line-height:1.4}.math-app button:hover:not(:disabled){background:#f4f5df;transform:translateY(-2px);box-shadow:0 5px 0 var(--button-glass-raised-edge,#d2d9c0)}.math-app button:active:not(:disabled){transform:translateY(1px);box-shadow:0 1px 0 var(--button-glass-raised-edge,#d2d9c0)}.math-app button:disabled{cursor:default;opacity:.53;box-shadow:none}.math-app button:focus-visible,.math-app input:focus-visible{outline:3px solid #ca754f;outline-offset:4px}.math-app button.primary{background:var(--green);border-color:var(--green);color:#fffef2;box-shadow:0 4px #385b3b;font-weight:600}.math-app button.primary:hover:not(:disabled){background:var(--green-dark)}.math-app button.primary span{margin-left:15px}.math-app .icon-button{display:inline-grid;place-items:center;padding:0;min-width:48px;width:48px;height:48px;border-radius:50%;font-size:23px;background:#ffffffa8;box-shadow:none}.farm-background{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:-2}.engine-stage{position:absolute;width:1600px;height:900px;visibility:hidden;pointer-events:none;z-index:-3}.farm-header{height:80px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:14px 40px;border-bottom:1px solid #fff9;background:#fdfcf140;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.farm-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)!important;font-size:20px;font-weight:700;letter-spacing:1px}.farm-brand img{width:43px;height:43px}.farm-brand small{display:block;font-size:11px;color:#73816b;letter-spacing:2px;font-weight:400;margin-top:1px}.header-right{display:flex;align-items:center;gap:22px}.phase-label{font-size:14px;letter-spacing:2px;padding:7px 16px;border-radius:30px;background:#fff9}.lesson-workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(65px,155px) minmax(0,870px) minmax(65px,155px);justify-content:center;gap:18px;align-items:center;padding:20px 30px 18px;position:relative}.activity-panel{background:#fffdf4ed;border:1.5px solid #fffdf3;box-shadow:0 9px 35px #51644312,0 1px #a4b18d40;border-radius:25px;align-self:stretch;max-height:510px;margin:auto 0;width:100%;overflow:auto;display:flex;flex-direction:column;justify-content:center;position:relative;padding:46px 25px 16px}.activity-heading{position:absolute;top:0;left:0;width:100%;display:flex;align-items:center;justify-content:space-between;padding:13px 22px;gap:10px;font-size:14px;color:#758166}.target-record{display:flex;gap:9px;font-size:16px;color:var(--ink)}.target-record span{background:#f3eddb;border-radius:9px;padding:5px 12px}.side-character{align-self:end;padding-bottom:8px}.character{width:100%;opacity:.76;transition:opacity .25s,transform .25s;text-align:center;max-width:150px;margin:0 auto}.character.active{opacity:1;transform:translateY(-5px)}.character svg{display:block;width:100%;max-height:240px}.character>span{display:inline-block;background:#fff9;border-radius:12px;padding:3px 12px;font-size:12px;letter-spacing:2px}.animal-icon{display:block;width:95px;height:85px;flex-shrink:0}.animal-board{display:grid;grid-template-columns:repeat(5,minmax(64px,104px));justify-content:center;gap:10px;margin:10px auto;max-width:650px}.animal-board.few{grid-template-columns:repeat(3,minmax(75px,140px));max-width:450px}.math-app .animal-card{min-height:86px;padding:6px 8px;background:#f7f4e6;border:1px solid #e6dfc9;border-radius:15px;display:flex;flex-direction:column;align-items:center;box-shadow:none;cursor:default;opacity:1;color:#72745d}.animal-card .animal-icon{width:80px;height:68px}.animal-card>span{font-size:12px}.animal-card small{color:#79946d}.math-app .animal-card.can-swap{cursor:pointer;border-color:#bacba4;background:#fffdf3;box-shadow:0 4px #dbe1c9}.math-app .animal-card.can-swap:hover:not(:disabled){background:#eef4d9;border-color:#6e945d;transform:translateY(-3px)}.animal-board.few .animal-card .animal-icon{width:115px;height:94px}.animal-board.few .animal-card{padding:10px 12px}.board-label{display:block;text-align:center;font-size:12px;letter-spacing:2px;color:#8c957d;margin-bottom:6px}.board-wrapper{width:100%;min-height:0}.board-totals{display:flex;gap:18px;justify-content:center;margin-top:14px}.board-totals span{font-size:19px;background:#edf2dd;border-radius:11px;padding:6px 19px}.footprints{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px;max-width:530px;margin:10px auto}.foot{width:17px;height:24px;display:flex;flex-direction:column;align-items:center;gap:2px;flex-shrink:0}.foot i{width:9px;height:6px;background:#70875d;border-radius:50%;transform:rotate(-12deg)}.foot b{width:13px;height:14px;background:#70875d;border-radius:55% 45% 40% 40%;transform:rotate(-12deg)}.foot.missing i,.foot.missing b{background:transparent;border:1.5px dashed #b5b59b}.foot.extra i,.foot.extra b{background:#cb8b61}.footprints.grouped .foot:nth-child(2n){margin-right:16px}.animal-card .footprints{gap:2px;margin:3px 0}.animal-card .foot{transform:scale(.65);width:10px;height:16px}.difference{margin:10px auto 0;text-align:center}.difference>span{font-size:11px;color:#7c8770}.equation{text-align:center;font-size:25px;font-weight:700;letter-spacing:2px;margin:14px auto 6px;color:#587849}.recognition{text-align:center}.recognition>.animal-icon{width:170px;height:150px;margin:auto}.recognition p{color:#9a9e86;font-size:13px;margin:12px 0 4px}.recognition .footprints{margin-top:15px;gap:12px}.recognition .foot{transform:scale(1.25);margin:4px}.paper-record{max-width:360px;margin:auto;background:#f9efd2;border:2px solid #d4c8a2;border-radius:14px;transform:rotate(-3deg);padding:24px 28px;box-shadow:7px 9px #dbe0c740;text-align:center}.paper-record>span{font-size:15px;letter-spacing:4px}.paper-record>div,.mystery-card>div{display:flex;align-items:center;justify-content:center;gap:10px}.paper-record b,.mystery-card b{font-size:35px;color:#b6a77c}.paper-record p{margin:8px 0 0;font-size:13px;color:#9b9275}.little-leaf{position:absolute;right:15%;top:36%;color:#b1b780;font-size:50px;transform:rotate(20deg)}.thinking-visual{text-align:center}.thinking-bubble{display:flex;align-items:center;justify-content:center;gap:20px}.thinking-bubble>.animal-icon{width:140px;height:120px}.thinking-bubble>span{font-size:25px}.thinking-visual p{font-size:14px;color:#8c937c;margin:22px 0}.big-check{border-radius:50%;display:grid;place-items:center;width:82px;height:82px;background:#e7efd5;color:#6a8851;font-size:42px!important}.mystery-card{margin:auto;text-align:center;padding:20px}.mystery-card>span{letter-spacing:3px;font-size:16px;color:#80916e}.mystery-card p{font-size:14px;color:#8d957f}.mystery-card .animal-icon{width:120px;height:120px}.two-animals{display:flex;align-items:center;justify-content:center;gap:30px}.two-animals .animal-icon{width:160px;height:150px}.two-animals span{font-size:14px;color:#8e987d}.empty-board{text-align:center;color:#929a7d}.empty-slots{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:22px auto;max-width:500px}.empty-slots i{display:grid;place-items:center;width:49px;height:60px;border:2px dashed #d5d9bf;border-radius:12px;font-style:normal;font-size:20px;color:#c2c6ae}.dialogue-panel{flex-shrink:0;background:#fffdf6f5;border-top:1px solid #fff;box-shadow:0 -7px 30px #54663b0c;padding:16px max(35px,calc((100vw - 1050px)/2)) 10px;z-index:1;min-height:218px}.speaker-label{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:700}.speaker-label>span{width:9px;height:9px;border-radius:50%;background:#71925d}.speaker-label .robot-dot{background:#d0a75f}.speaker-label small{font-weight:400;font-size:11px;color:#9b9f87;letter-spacing:1px;margin-left:7px}.dialogue-text{font-size:23px;line-height:1.5;margin:8px 0 14px;min-height:35px;letter-spacing:.5px}.dialogue-text.feedback{color:#986238}.dialogue-actions{min-height:55px;display:flex;align-items:center}.choices{display:flex;gap:13px;width:100%;justify-content:center;align-items:center;flex-wrap:wrap}.choices>button{min-width:112px;font-size:19px}.tap-note{font-size:13px;color:#849378;margin-right:15px}.dialogue-tools{display:flex;align-items:center;gap:16px;border-top:1px dashed #e4e6d8;margin-top:13px;padding-top:5px;color:#869078;min-height:36px}.math-app .dialogue-tools>button{min-height:36px;box-shadow:none;border:none;background:none;font-size:12px;padding:5px 9px;color:#748464}.dialogue-tools>small{margin-left:auto;font-size:11px;color:#a8ad97}.dialogue-tools>span{font-size:11px;color:#9a7c50}.continue{margin-left:auto;min-width:130px}.picture-choices{gap:12px;flex-wrap:nowrap}.picture-choices>button{display:flex;flex-direction:column;align-items:center;gap:4px;flex:1;font-size:14px;padding:8px 10px;min-height:94px;max-width:270px}.option-picture{display:flex;height:44px;align-items:center;gap:3px;justify-content:center}.option-picture .animal-icon{height:43px;width:48px}.option-picture i{font-style:normal;font-size:23px;color:#a28c55}.option-picture .footprints{margin:0}.option-symbol{font-size:34px;color:#87a070}.option-picture>span:not(.option-symbol){font-size:21px;color:#7a915f}.number-controls{display:flex;align-items:center;justify-content:center;gap:24px;width:100%}.number-entry{display:flex;align-items:center;gap:9px}.number-entry input{width:76px;height:55px;border:2px solid #c7d4b3;background:#fffef7;text-align:center;border-radius:13px;font-size:28px;color:#38563c;-webkit-user-select:text;user-select:text}.number-entry>button{font-size:23px;width:50px;padding:4px;min-width:48px}.number-entry>span{font-size:14px;color:#858f77;white-space:nowrap}.number-pad{display:grid;grid-template-columns:repeat(6,46px);gap:5px}.math-app .number-pad>button{min-height:48px;padding:4px 1px;border-radius:9px;box-shadow:0 2px #dce0ca;font-size:17px}.number-pad>button:nth-child(10),.number-pad>button:last-child{font-size:11px}.numeric-dialogue{padding-top:12px}.numeric-dialogue .dialogue-text{font-size:21px;margin:6px 0 10px}.title-screen{position:relative;flex:1;min-height:0;padding:55px max(80px,calc((100vw - 1120px)/2));display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.eyebrow{font-size:13px;letter-spacing:4px;color:#87976f}.title-screen h1{font-size:65px;font-weight:700;letter-spacing:9px;line-height:1.35;margin:17px 0 14px;color:#3f5f43}.title-screen h1 span{color:#72854e}.title-screen>p{font-size:15px;color:#7b886b;letter-spacing:1px}.title-record{display:flex;align-items:center;gap:11px;margin:20px 0}.title-record .animal-icon{width:82px;height:77px}.title-record span{font-size:25px;color:#85946e}.math-app .enter-farm{font-size:20px;min-width:236px;height:60px;border-radius:17px}.title-note{font-size:11px;letter-spacing:2px;color:#879273;margin-top:14px}.title-friends{position:absolute;left:53%;bottom:15%;width:320px;display:flex;align-items:end;gap:10px}.title-friends .character{max-width:160px;opacity:1}.title-friends .character svg{max-height:320px}.title-footer{display:flex;justify-content:space-between;align-items:center;padding:10px 40px;font-size:11px;color:#81906e;letter-spacing:1px;z-index:1}.math-app .title-footer button{min-height:36px;padding:3px 12px;font-size:12px;box-shadow:none;background:#fff7;border-color:#fff9}.ending-visual{text-align:center}.medal{width:95px;height:95px;display:grid;place-items:center;margin:auto;background:#f0d592;border:7px solid #f9e6b4;border-radius:50%;box-shadow:0 0 0 2px #d4b576;font-size:51px;color:#ad8650}.ending-visual h1{font-size:29px;letter-spacing:5px;margin:14px 0 2px}.ending-visual>p{font-size:15px;color:#95a17e}.recovered-record{display:flex;flex-direction:column;gap:4px;margin:14px auto 0;padding:12px 25px;max-width:330px;background:#f2f1dc;border-radius:14px}.recovered-record>span,.recovered-record>small{font-size:12px;color:#8a957b}.recovered-record strong{font-size:19px;color:#557149;letter-spacing:2px}.modal-scrim{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;background:#2e443a66;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:24px}.math-modal{background:#fffdf3;box-shadow:0 20px 80px #233b3140;border:1px solid white;border-radius:27px;padding:18px 28px 25px;width:min(690px,95vw);max-height:94dvh;overflow:auto;text-align:center}.modal-top{display:flex;align-items:center;justify-content:space-between;color:#8b977d;font-size:12px;letter-spacing:2px}.math-modal h2{font-size:26px;letter-spacing:1px;margin:10px 0 21px;color:#4c6947}.slide-drawing{min-height:160px;display:flex;flex-direction:column;justify-content:center}.slide-drawing .animal-board{grid-template-columns:repeat(5,minmax(62px,95px));width:100%}.slide-drawing .animal-card{min-height:80px}.slide-drawing .animal-card .animal-icon{width:70px;height:60px}.slide-caption{font-size:19px;line-height:1.8;margin:20px auto;max-width:540px;color:#69805b}.slide-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}.slide-navigation>span{font-size:12px;color:#8c967d}.math-app .text-button{background:transparent;border:none;box-shadow:none;font-size:12px;color:#8a977d;min-height:36px;margin-top:8px}.swap-diagram{display:flex;align-items:center;justify-content:center;gap:35px}.swap-diagram>div{display:flex;flex-direction:column;align-items:center}.swap-diagram .animal-icon{width:115px;height:100px}.swap-diagram>span{font-size:35px;color:#a7ad86}.swap-diagram small{font-size:14px;color:#8a967c}.help-copy{font-size:20px;line-height:1.9;max-width:490px;margin:20px auto 30px;color:#6a7f5e}.modal-actions{display:flex;gap:15px;justify-content:center;flex-wrap:wrap;margin-top:20px}.hint-steps p{font-size:23px;margin:7px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:18px 10px;border-bottom:1px solid #e9eadc;font-size:17px}.setting-row input[type=checkbox]{width:28px;height:28px;accent-color:#6a8c5c}.setting-row input[type=range]{width:210px;accent-color:#6a8c5c}.small-note{font-size:12px;line-height:1.8;color:#909a83;margin:18px 0}.adult-options{display:flex;justify-content:center;gap:18px;margin-top:23px;border-top:1px dashed #dedfcd;padding-top:13px}.math-app .adult-options button{background:none;box-shadow:none;border:none;padding:6px;font-size:12px;min-height:40px;color:#8b967c}.restart-confirm{padding:16px;background:#f1e7d4;border-radius:15px;margin:10px auto;font-size:15px}.restart-confirm button{margin:6px;font-size:13px}.math-modal textarea{width:100%;height:130px;font-size:12px;-webkit-user-select:text;user-select:text}.record-list>div{display:flex;flex-direction:column;gap:6px;padding:15px;background:#f1f3e5;border-radius:14px;margin:10px 0}.record-list strong{font-size:16px}.record-list span{color:#648151;font-size:20px}.record-list small{font-size:11px;color:#8a967b}.operation-demo{display:flex;align-items:center;justify-content:center;gap:20px}.operation-demo .animal-icon{width:100px;height:100px}.operation-demo>span{font-size:17px;color:#82926d}.save-warning{position:absolute;z-index:120;top:80px;left:20px;right:20px;max-width:700px;margin:auto;background:#fff0cd;color:#7c623c;border:1px solid #cfab67;border-radius:15px;padding:8px 16px;font-size:13px;display:flex;justify-content:space-between;align-items:center;gap:15px}.save-warning button{font-size:12px;padding:5px 12px}.engine-error{position:absolute;inset:auto 20% 30%;z-index:150;background:#fff8e8;border:2px solid #ddb98b;border-radius:20px;padding:24px;text-align:center}@media (min-width:1500px){.lesson-workspace{grid-template-columns:170px minmax(0,950px) 170px;gap:26px;padding-top:28px;padding-bottom:25px}.activity-panel{max-height:590px}.animal-board{grid-template-columns:repeat(5,118px);gap:12px}.animal-card .animal-icon{width:90px;height:79px}.dialogue-panel{padding-top:22px;padding-bottom:16px}.dialogue-text{font-size:25px;margin:10px 0 18px}.choices>button{min-width:125px}.character svg{max-height:280px}}@media (max-height:780px){.farm-header{height:66px;padding:9px 28px}.farm-brand{font-size:17px}.farm-brand img{width:38px;height:38px}.lesson-workspace{padding:12px 20px;gap:12px;grid-template-columns:100px minmax(0,820px) 100px}.activity-panel{padding-top:43px;padding-bottom:12px}.animal-board{gap:7px;margin:6px auto}.animal-card .animal-icon{height:57px;width:70px}.math-app .animal-card{min-height:74px;padding:4px 7px}.activity-heading{padding:9px 18px}.dialogue-panel{min-height:207px;padding-top:12px}.dialogue-text{font-size:21px;margin:6px 0 10px}.dialogue-tools{margin-top:9px}.character svg{max-height:200px}.picture-choices>button{min-height:86px;font-size:13px}.title-screen{padding-top:20px;padding-bottom:20px}.title-screen h1{font-size:55px}.title-record{margin:12px 0}.title-friends{bottom:13%}.math-modal h2{font-size:23px;margin-top:5px;margin-bottom:14px}.slide-caption{font-size:18px;margin:15px auto}.slide-drawing{min-height:140px}.slide-navigation{margin-top:10px}.footprints{margin:6px auto}.equation{font-size:23px;margin-top:10px}.numeric-dialogue .dialogue-text{margin-bottom:6px}.number-entry input{height:51px}.save-warning{top:68px}}@media (max-width:1100px){.farm-header{padding-left:22px;padding-right:22px}.lesson-workspace{grid-template-columns:65px minmax(0,1fr) 65px;gap:10px;padding-left:16px;padding-right:16px}.side-character .character svg{max-height:150px}.activity-panel{padding-left:15px;padding-right:15px}.dialogue-panel{padding-left:32px;padding-right:32px}.dialogue-text{font-size:20px}.title-screen{padding-left:65px}.title-friends{left:57%;width:235px}.title-screen h1{font-size:51px}.title-screen>p{max-width:420px;line-height:1.9}.number-controls{gap:15px}.number-pad{grid-template-columns:repeat(6,43px)}.number-entry{gap:6px}.number-entry input{width:65px}.choices>button{font-size:17px}.board-totals span{font-size:17px}}@media (max-width:760px){.side-character{display:none}.lesson-workspace{display:flex;padding:10px 12px}.activity-panel{height:100%;max-height:none;border-radius:18px}.farm-header{height:61px;padding:8px 16px}.farm-brand{font-size:16px}.farm-brand small{font-size:9px;letter-spacing:1px}.phase-label{font-size:11px;padding:5px 9px}.header-right{gap:8px}.dialogue-panel{padding:12px 16px 7px}.dialogue-text{font-size:18px;min-height:27px}.dialogue-tools{gap:6px}.dialogue-tools>small{display:none}.choices{gap:8px}.choices>button{min-width:82px;font-size:16px;padding:10px 16px}.picture-choices>button{min-width:0;font-size:11px;padding:6px 3px}.option-picture .animal-icon{width:34px;height:34px}.animal-board{grid-template-columns:repeat(5,minmax(48px,80px));gap:5px}.animal-card .animal-icon{width:52px;height:48px}.activity-heading{padding:8px 13px;font-size:12px}.target-record{font-size:13px;gap:5px}.target-record span{padding:4px 8px}.number-controls{gap:10px;flex-wrap:wrap}.number-pad{grid-template-columns:repeat(6,35px);gap:4px}.number-entry input{width:56px}.number-entry>span{font-size:12px}.number-controls>.primary{padding:10px 17px}.with-keypad{gap:8px}.math-app .number-pad>button{min-height:42px}.title-screen{padding:28px;justify-content:flex-start;padding-top:11vh}.title-screen h1{font-size:44px}.title-screen>p{max-width:300px}.title-friends{left:auto;right:15px;width:170px;bottom:7%}.title-record .animal-icon{width:65px;height:60px}.title-footer{padding:8px 18px}.title-screen .eyebrow{font-size:10px;letter-spacing:2px}.modal-scrim{padding:12px}.math-modal{padding:12px 18px 18px}.math-modal h2{font-size:21px}.help-copy{font-size:18px}.slide-drawing .animal-board{grid-template-columns:repeat(5,minmax(45px,85px))}.slide-drawing .animal-card .animal-icon{width:50px;height:46px}.slide-caption{font-size:16px}.medal{height:75px;width:75px;font-size:38px}.ending-visual h1{font-size:25px}.thinking-bubble>span{font-size:18px}.thinking-bubble>.animal-icon{width:105px;height:100px}.difference .footprints{max-width:340px}.foot{width:13px;height:19px}.foot i{width:7px;height:4px}.foot b{width:10px;height:12px}.equation{font-size:18px;letter-spacing:1px}}@media (prefers-reduced-motion:reduce){.math-app *{transition:none!important;animation:none!important}}.phase-progress{flex-shrink:0;background:#fffdf3e8;border-bottom:1px solid #dce3c9;padding:7px max(18px,calc((100% - 1000px)/2));z-index:2}.phase-track{display:flex;align-items:center;justify-content:space-between;gap:6px;position:relative}.math-app .phase-track button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;border:none;background:#fffdf4;box-shadow:none;padding:4px 6px;min-height:44px;border-radius:10px;font-size:14px}.phase-track button>span{border:2px solid #c7d3b5;border-radius:50%;width:29px;height:29px;display:grid;place-items:center;flex-shrink:0;background:#fffdf4}.phase-track button small{font-size:13px}.phase-track button.done>span{background:#e3edd3;color:#527a52}.math-app .phase-track button[aria-current=step]{background:#e4edd5;color:#365d3c;font-weight:700}.phase-track button[aria-current=step]>span{border-color:#527a52}.phase-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:30px;font-size:12px;color:#657b58}.math-app .phase-caption button{font-size:12px;padding:4px 12px;min-height:34px;box-shadow:none;border-radius:9px}.math-app .replay-entry{font-size:14px;padding:8px 14px;box-shadow:none}.math-app .title-replay{margin-top:15px;max-width:240px}.journey-list{text-align:left;display:grid;gap:10px;margin:15px 0 22px}.journey-list>div{padding:12px;background:#f0f3e5;border-radius:14px;display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}.journey-list strong{flex:1}.journey-list span{font-size:12px;color:#758166}.journey-list>div>div{display:flex;gap:8px}.math-app .journey-list button{font-size:14px;padding:8px 12px}.review-lines{text-align:left;font-size:18px;line-height:1.8}.review-lines p{margin:12px 0}.review-speaker{color:#6c805d}.review-slide{border-bottom:1px dashed #dce3c9;padding:12px 0}.review-slide h2{font-size:19px}@media (max-width:760px){.phase-progress{padding:4px 10px}.phase-track{gap:2px}.math-app .phase-track button{flex-direction:column;gap:3px;padding:3px 0;min-height:55px}.phase-track button small{font-size:10px;white-space:nowrap}.phase-track button>span{width:24px;height:24px;font-size:12px}.phase-caption{font-size:10px;gap:5px}.math-app .phase-caption button{font-size:11px;padding:3px 7px;min-height:38px}.math-app .replay-entry{font-size:12px;padding:7px 8px;min-height:44px}.farm-brand{gap:6px;letter-spacing:0}.farm-brand img{width:30px}.farm-brand small{letter-spacing:0}.math-app .header-right>button{padding:6px 9px;font-size:12px}.math-app .header-right>.icon-button{width:40px;min-width:40px}.dialogue-tools{flex-wrap:wrap}.math-app .dialogue-tools button{min-height:44px}.journey-list>div>div{width:100%}.journey-list>div>div>button{flex:1}.review-lines{font-size:16px}}@media (max-width:760px){.math-app .lesson-workspace{padding-bottom:136px;align-items:stretch}.math-app .lesson-workspace .activity-panel{height:auto;min-height:0;margin:0;padding-bottom:12px;justify-content:flex-start}.math-app .lesson-workspace .board-wrapper{flex-shrink:0}}@media (max-height:600px){.math-app{overflow-y:auto;overflow-x:hidden}.math-app .lesson-workspace{flex:0 0 auto;height:290px;min-height:290px}.math-app .dialogue-panel{flex-shrink:0}.math-app .modal-scrim{position:fixed}}@media (max-width:760px){.math-app .lesson-workspace .activity-panel{padding-top:40px}.math-app .lesson-workspace .animal-board:not(.few){margin:4px auto}.math-app .lesson-workspace .animal-board:not(.few) .animal-card{min-height:74px;padding:2px 4px}.math-app .lesson-workspace .animal-board:not(.few) .animal-card .animal-icon{width:46px;height:38px}.math-app .lesson-workspace .animal-board:not(.few) .animal-card>span{font-size:10px}}.vn-mode{--vn-glass:rgba(244,249,251,.82);--vn-border:rgba(255,255,255,.9)}.vn-mode>.farm-header,.vn-mode .town-surface>.farm-header{position:relative;z-index:5;background:#f8fbf8d1;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.vn-mode>.phase-progress{position:relative;z-index:5;background:#f7faf4d6;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.vn-mode>.farm-background{z-index:-1}.vn-mode .illustrated-farm:after{background:linear-gradient(#183e3210,#112e3c0a)}.vn-mode .lesson-workspace{display:block;flex:1;min-height:0;padding:20px 4% 16px 34%;overflow:visible}.vn-mode .lesson-workspace>.activity-panel{position:relative;z-index:2;width:100%;height:100%;max-height:530px;margin:0 auto;align-self:auto;background:#f1f6ecf0;border:1px solid #fafff3;box-shadow:0 10px 35px #203d3726;padding:52px 24px 18px;border-radius:22px}.vn-mode .lesson-workspace>.speaker-portrait,.vn-mode .town-speaker{display:block;position:absolute;left:-4%;bottom:-160px;width:36%;height:calc(100% + 150px);padding:0;z-index:3;pointer-events:none;overflow:hidden}.vn-mode .speaker-portrait .character{width:100%;height:100%;max-width:none;opacity:1;transform:none;filter:none;margin:0}.vn-mode .speaker-portrait .character>svg,.vn-mode .speaker-portrait .character>.game-art{display:block;width:100%;height:100%;max-height:none;object-fit:contain}.vn-mode .speaker-portrait .character>span{display:none}.vn-mode>.dialogue-panel,.vn-mode .town-dialogue{position:relative;z-index:4;flex-shrink:0;min-height:190px;margin:0 20px 14px;width:calc(100% - 40px);border:1px solid var(--vn-border);border-radius:20px;padding:15px 28px 9px;background:var(--vn-glass);box-shadow:0 8px 30px #24413829;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.vn-mode .dialogue-text{color:#294d48}.vn-mode .dialogue-tools{border-color:#8ca99b55}.vn-mode .speaker-label{color:#30554d}.vn-mode .speaker-label small{color:#62776d}.vn-mode .dialogue-text.feedback{color:#7f4c2c}.vn-mode .animal-icon{background:radial-gradient(ellipse at 50% 65%,#a9c9b8,#c6dccd 76%);border:1px solid #769d8b88;border-radius:15px;padding:5px;box-shadow:inset 0 1px #ffffff80}.vn-mode .animal-card{background:#cbddcd;border-color:#92b29c;color:#355947}.vn-mode .animal-card.can-swap{background:#d4e4d1;border-color:#7da487}.vn-mode .animal-card.can-swap:hover:not(:disabled){background:#bfd9ba}.vn-mode .animal-card .animal-icon{background:none;border:0;padding:0;box-shadow:none;max-width:100%}.vn-mode .board-label{color:#4f735c}.vn-mode .recognition p{color:#506955}.vn-mode .lesson-workspace[data-visual=story]>.activity-panel{background:none;border-color:transparent;box-shadow:none}.vn-mode .lesson-workspace[data-visual=story] .activity-heading>span{background:#f2f8e9e8;border-radius:10px;padding:5px 12px;color:#44634f}.vn-mode .lesson-workspace[data-visual=story] .mystery-card,.vn-mode .ending-visual{background:#f2f7edeb;border:1px solid #ffffffad;border-radius:22px;padding:20px;max-width:450px;margin:auto}.vn-mode .paper-record b,.vn-mode .mystery-card b{color:#7b6939}.vn-mode .paper-record .animal-icon{background:#abc9ba;border-color:#7b9f8b}.vn-mode .town-surface{position:relative;isolation:isolate;overflow:auto}.vn-mode.town-app .town-stage{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;min-height:0;border:0;display:block;overflow:hidden}.vn-mode .town-surface>.town-dialogue{margin-top:auto;max-height:65dvh;overflow:auto}.vn-mode .town-footer{position:relative;z-index:4;background:#f3f8f2c9}.vn-mode .town-prototype{display:none}.vn-mode .town-speaker{left:-4%;bottom:-85px;height:90%;width:36%;max-width:none;background:none;border-radius:0}.vn-mode .town-stage.stage-S00{display:flex;align-items:center;justify-content:center;padding-bottom:200px;background:radial-gradient(ellipse at 25% 20%,#f7efd3,#d7e3c4)}.vn-mode .town-letter{max-width:560px;margin:80px auto 24px}.vn-mode .town-dialogue .dialogue-text{min-height:32px}.vn-mode .town-map{top:105px;right:5%;bottom:275px;left:30%;border:1px solid #fff9;border-radius:26px;background:#eaf2dbf0;box-shadow:0 10px 35px #23462c21}.vn-mode .town-map .map-location{min-width:140px;padding:12px}.vn-mode .map-location>strong{font-size:17px}.vn-mode .town-tool-badges{left:49%;top:35%}.vn-mode .town-tool-badges>span{background:#f5fae7de}.vn-mode .yard-world .yard-player{left:580px;bottom:235px;width:340px}.vn-mode .yard-world .yard-player .town-player>.game-art{width:340px;height:480px}.vn-mode .yard-world .yard-partner{left:880px;bottom:235px;width:260px}.vn-mode .yard-world .yard-partner .character>.game-art{width:260px;height:330px;max-height:none}.vn-mode .yard-player .town-player>span,.vn-mode .yard-partner .character>span{font-size:20px;padding:3px 13px;letter-spacing:0;background:#f6fbf0eb}.vn-mode .yard-player .town-player>svg:not(.game-art){width:290px;height:430px}.vn-mode .yard-partner .character>svg:not(.game-art){width:240px;height:300px}@media (min-width:1500px){.vn-mode .lesson-workspace{padding-left:33%;padding-right:7%}.vn-mode .lesson-workspace>.speaker-portrait{width:35%;bottom:-180px;height:calc(100% + 170px)}.vn-mode>.dialogue-panel{min-height:205px;padding:20px 34px 12px}}@media (max-width:1100px){.vn-mode .lesson-workspace{padding-left:36%;padding-right:20px}.vn-mode .lesson-workspace>.speaker-portrait{width:37%;left:-5%;height:calc(100% + 130px);bottom:-140px}.vn-mode .lesson-workspace>.activity-panel{padding-left:14px;padding-right:14px}.vn-mode .town-map{left:27%;right:3%}.vn-mode .town-map .map-location{min-width:115px;max-width:160px;padding:10px}.vn-mode .map-location>strong{font-size:15px}}@media (max-width:760px){.vn-mode .lesson-workspace{flex:1;min-height:260px;height:auto;padding:10px 10px 12px 125px;align-items:stretch}.vn-mode .lesson-workspace>.activity-panel{height:100%;max-height:none;min-height:0;padding:58px 8px 12px;justify-content:center;border-radius:17px;overflow:auto}.vn-mode .lesson-workspace>.speaker-portrait{position:absolute;display:block;width:155px;height:310px;left:-25px;bottom:0}.vn-mode .lesson-workspace>.speaker-portrait .character>.game-art{width:100%;height:100%;max-height:none}.vn-mode>.dialogue-panel,.vn-mode .town-dialogue{margin:0 8px 8px;width:calc(100% - 16px);padding:12px 13px 7px;min-height:0;border-radius:17px}.vn-mode .dialogue-text{font-size:18px;margin:8px 0 13px}.vn-mode .dialogue-tools{margin-top:9px;gap:4px}.vn-mode .lesson-workspace .animal-board:not(.few){grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:5px}.vn-mode .lesson-workspace .animal-board.few{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:4px}.vn-mode .lesson-workspace .animal-card{min-width:0;padding:3px!important;min-height:72px}.vn-mode .lesson-workspace .animal-card .animal-icon,.vn-mode .lesson-workspace .animal-board.few .animal-card .animal-icon{width:100%;height:50px;max-width:65px;padding:3px;border-radius:10px}.vn-mode .lesson-workspace .recognition>.animal-icon{max-width:100%;height:140px}.vn-mode .lesson-workspace .recognition .footprints{gap:8px}.vn-mode .activity-heading{align-items:flex-start;gap:4px;padding:9px 8px;font-size:11px;flex-wrap:wrap}.vn-mode .target-record{font-size:12px;gap:3px}.vn-mode .target-record span{padding:3px 5px}.vn-mode .lesson-workspace .illustrated-record{min-height:190px;padding-top:0}.vn-mode .illustrated-record .record-table{width:210px;height:145px;bottom:-4px}.vn-mode .illustrated-record .paper-record{max-width:100%;width:200px;padding:14px 8px 18px}.vn-mode .illustrated-record .paper-record>div{gap:4px}.vn-mode .illustrated-record .paper-record .animal-icon{width:43px;height:52px;padding:3px}.vn-mode .illustrated-record .paper-record b{font-size:22px}.vn-mode .illustrated-record .paper-record>span{font-size:12px}.vn-mode .illustrated-record .paper-record p{font-size:10px}.vn-mode .lesson-workspace .two-animals{gap:7px}.vn-mode .lesson-workspace .two-animals .animal-icon{width:75px;height:90px}.vn-mode .lesson-workspace .mystery-card{padding:8px}.vn-mode .lesson-workspace .mystery-card .animal-icon{width:62px;height:72px}.vn-mode .town-speaker{width:210px;height:410px;left:-35px;bottom:130px}.vn-mode .town-surface>.town-dialogue{max-height:65dvh}.vn-mode .town-map{top:95px;right:10px;bottom:290px;left:100px;min-height:220px}.vn-mode .town-map .map-location{min-width:100px;max-width:125px;padding:8px;gap:2px}.vn-mode .town-map .map-location>span{font-size:24px}.vn-mode .town-map .map-location>strong{font-size:12px}.vn-mode .town-map .map-location>small{font-size:9px}.vn-mode .town-map .map-yard{left:6%;bottom:38%}.vn-mode .town-map .map-farm{left:24%!important;top:5%!important}.vn-mode .town-map .map-square{right:5%;bottom:3%}.vn-mode .town-letter{margin:70px 16px 16px;padding:18px 25px}.vn-mode .stage-S00{padding-bottom:230px!important}.vn-mode .town-tool-badges{left:40%;top:25%}}@media (max-height:600px) and (min-width:761px){.vn-mode:not(.town-app)>.farm-background{position:fixed}.vn-mode{overflow:auto}.vn-mode .title-screen{flex:0 0 auto;min-height:430px}.vn-mode .title-footer{flex-shrink:0}.vn-mode .lesson-workspace{flex:0 0 270px;min-height:270px}.vn-mode .lesson-workspace>.speaker-portrait{height:400px;bottom:-130px;width:32%}.vn-mode>.dialogue-panel{min-height:170px}.vn-mode .town-stage{position:fixed!important}.vn-mode .town-surface>.town-dialogue{margin-top:140px;max-height:none}.vn-mode .town-speaker{height:390px;bottom:-80px;width:35%}.vn-mode .town-map{top:65px;right:10px;bottom:185px;left:30%;min-height:150px}.vn-mode .town-map .map-location{min-width:110px;padding:4px}.vn-mode .town-map .map-location>span{font-size:20px}.vn-mode .town-map .map-location>strong{font-size:13px}.vn-mode .town-map .map-location>small{font-size:9px}}@media (max-width:760px) and (max-height:720px){.vn-mode .lesson-workspace{flex:0 0 285px;min-height:285px}.vn-mode .town-surface>.town-dialogue{max-height:none;margin-top:185px}.vn-mode .town-stage{position:fixed!important}.vn-mode .town-speaker{bottom:45px;height:340px;width:190px}.vn-mode .town-map{top:65px;right:10px;bottom:180px;left:120px}}.yard-player .town-player,.yard-partner .character{position:relative}.vn-mode .yard-player .town-player>span,.vn-mode .yard-partner .character>span{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);max-width:310px;width:max-content;line-height:1.35;text-align:center;white-space:normal;overflow-wrap:anywhere;border:1px solid #95ad8d;box-shadow:0 3px 10px #29452d25}.vn-mode .yard-world .yard-player .town-player>span,.vn-mode .yard-world .yard-partner .character>span{font-size:calc(16px / var(--scene-scale,1));max-width:calc(190px / var(--scene-scale,1))}.yard-world .yard-sign .sign-label{position:absolute;left:5%;right:5%;top:43%;bottom:4%;display:flex;align-items:center;justify-content:center;gap:10px}.yard-world .yard-sign .sign-label>svg{width:34px;height:34px;flex-shrink:0}.yard-world .yard-sign .sign-label>span{font-size:23px;line-height:1.25;max-width:220px;overflow-wrap:anywhere;text-align:center;color:#655439}.vn-mode .welcome-duo{right:5%;bottom:5%;gap:16px;opacity:1}.vn-mode .welcome-duo .town-player>.game-art{width:clamp(210px,23vw,340px);height:clamp(330px,47dvh,520px)}.vn-mode .welcome-duo .character{width:clamp(190px,20vw,290px);max-width:none}.vn-mode .welcome-duo .character>.game-art{width:100%;height:clamp(235px,34dvh,375px);max-height:none}.vn-mode .welcome-duo .town-player>span,.vn-mode .welcome-duo .character>span{font-size:17px;padding:4px 13px;letter-spacing:0;background:#fffbea}.vn-mode .arrival-record{min-height:0;align-items:center;padding:0}.vn-mode .arrival-record .paper-record{width:clamp(420px,44vw,700px);max-width:100%;padding:30px 28px 34px;transform:rotate(-2deg)}.vn-mode .arrival-record .paper-record>span{font-size:24px;font-weight:700;letter-spacing:2px}.vn-mode .arrival-record .paper-record>div{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto;gap:14px;margin:16px 0}.vn-mode .arrival-record .paper-record .animal-icon{width:100%;height:clamp(110px,12vw,180px);padding:8px;border-radius:20px}.vn-mode .arrival-record .paper-record b{font-size:clamp(48px,4vw,68px);color:#6b5830}.vn-mode .arrival-record .paper-record p{font-size:18px;line-height:1.5;color:#655e49}@media (max-width:760px){.vn-mode .town-welcome{flex:0 0 auto;min-height:710px;justify-content:flex-start;padding:28px 22px 260px}.vn-mode .welcome-duo{right:50%;transform:translate(50%);bottom:20px;gap:10px}.vn-mode .welcome-duo .town-player>.game-art{width:145px;height:230px}.vn-mode .welcome-duo .character{width:130px}.vn-mode .welcome-duo .character>.game-art{height:175px}.vn-mode .welcome-duo .town-player>span,.vn-mode .welcome-duo .character>span{font-size:14px}.vn-mode .lesson-workspace .arrival-record{min-height:0;padding:0}.vn-mode .arrival-record .paper-record{width:100%;padding:18px 10px 20px}.vn-mode .arrival-record .paper-record>span{font-size:18px}.vn-mode .arrival-record .paper-record>div{gap:5px;margin:10px 0}.vn-mode .arrival-record .paper-record .animal-icon{width:100%;height:82px;padding:4px;border-radius:13px}.vn-mode .arrival-record .paper-record b{font-size:34px}.vn-mode .arrival-record .paper-record p{font-size:13px}}.math-app.vn-mode{--muted:#52634e;--vn-glass:rgba(247,250,246,.94)}.math-app.vn-mode button{border-color:#7c8d6e}.math-app.vn-mode button.primary{border-color:var(--green)}.math-app.vn-mode button:disabled:not(.animal-card):not(.primary){opacity:1;color:#526149;background-color:#edf1e6;box-shadow:none}.math-app.vn-mode .number-entry input{border-color:#7c8d6e}.math-app.vn-mode .number-entry input::placeholder{color:#59634e;opacity:1}.math-app.vn-mode .number-entry>span,.math-app.vn-mode .title-footer{color:#4b6049}.math-app.vn-mode .lesson-workspace>.activity-panel{background:#f8faf0f7;border-color:#839978}.math-app.vn-mode .lesson-workspace[data-visual=story]>.activity-panel{background:none;border-color:transparent}.math-app.vn-mode .animal-card{opacity:1;color:#284937;border:1.5px solid #6c8d74;background:#d7e4d2}.math-app.vn-mode .animal-card .animal-icon{background:none;border:0;padding:0;box-shadow:none}.math-app.vn-mode .animal-card small{color:#355b40}.math-app.vn-mode .observation-card{border-color:transparent;box-shadow:none;border-radius:4px}.math-app.vn-mode .animal-card.can-swap:disabled{opacity:1;box-shadow:none}.math-app.vn-mode .board-label{color:#35533b;font-size:15px;letter-spacing:1px;font-weight:600}.math-app.vn-mode .activity-heading,.math-app.vn-mode .recognition p,.math-app.vn-mode .thinking-visual p,.math-app.vn-mode .two-animals>span,.math-app.vn-mode .difference>span,.math-app.vn-mode .tap-note,.math-app.vn-mode .speaker-label small,.math-app.vn-mode .dialogue-tools,.math-app.vn-mode .dialogue-tools>small,.math-app.vn-mode .dialogue-tools button,.math-app.vn-mode .title-note,.math-app.vn-mode .eyebrow,.math-app.vn-mode .title-screen>p,.math-app.vn-mode .title-record>span,.math-app.vn-mode .small-note,.math-app.vn-mode .modal-top,.math-app.vn-mode .help-copy,.math-app.vn-mode .slide-caption,.math-app.vn-mode .slide-navigation>span,.math-app.vn-mode .record-list small,.math-app.vn-mode .math-modal .text-button,.math-app.vn-mode .adult-options button,.math-app.vn-mode .swap-diagram small,.math-app.vn-mode .operation-demo>span,.math-app.vn-mode .mystery-card p,.math-app.vn-mode .mystery-card>span,.math-app.vn-mode .ending-visual>p,.math-app.vn-mode .recovered-record>span,.math-app.vn-mode .recovered-record>small{color:#4b6049}.math-app.vn-mode .foot.missing i,.math-app.vn-mode .foot.missing b{border-color:#647355}.math-app.vn-mode .phase-track button:disabled{opacity:1;background:#f0f3e9;color:#58654e;border-color:#a4b296;box-shadow:none}.math-app.vn-mode .phase-track button:disabled>span{border-color:#829476;color:#58654e}.math-app.vn-mode .town-controls>small,.math-app.vn-mode .town-name-preview,.math-app.vn-mode .town-name-input small,.math-app.vn-mode .map-location>small,.math-app.vn-mode .town-footer,.math-app.vn-mode .town-footer a,.math-app.vn-mode .town-letter>span,.math-app.vn-mode .town-demo-board{color:#4b6049}.math-app.vn-mode .record-summary{text-align:center}.record-summary-animals{display:flex;justify-content:center;align-items:center;gap:36px;margin:22px auto}.record-summary-animals>div{display:flex;flex-direction:column;align-items:center;gap:12px}.math-app.vn-mode .record-summary-animals .animal-icon{width:140px;height:135px}.record-summary-animals>div>span{font-size:21px;color:#294d38}.record-summary-animals strong{display:inline-block;min-width:30px;font-size:30px;color:#514d2f}.replacement-observation{text-align:center}.replacement-observation .swap-diagram{margin:24px auto;gap:32px}.replacement-observation .swap-diagram .animal-icon{width:145px;height:140px;margin-bottom:12px}.replacement-observation .swap-diagram>span{color:#3a5c41}.replacement-observation .swap-diagram>div>span{color:#294d38;font-size:18px}.math-app.vn-mode .title-friends{left:50%;right:15%;bottom:10%;width:auto;gap:8px}.math-app.vn-mode .title-friends .character{width:56%;max-width:none;flex-shrink:0;filter:none}.math-app.vn-mode .title-friends .character[data-actor=robot]{width:42%}.math-app.vn-mode .title-friends .character>.game-art,.math-app.vn-mode .title-friends .character>svg{width:100%;height:clamp(300px,52dvh,540px);max-height:none}.math-app.vn-mode .title-friends .character[data-actor=robot]>.game-art,.math-app.vn-mode .title-friends .character[data-actor=robot]>svg{height:clamp(235px,39dvh,400px);max-height:none}.math-app.vn-mode .title-friends .character>span{font-size:17px;color:#294d38;background:#fffdf0;padding:4px 14px;letter-spacing:0}@media (max-width:1100px) and (min-width:761px){.math-app.vn-mode .title-friends{left:58%;right:1%;gap:0}.math-app.vn-mode .title-screen>p{max-width:43vw}}@media (max-width:760px){.math-app.vn-mode:has(>.title-screen){overflow:auto}.math-app.vn-mode .title-screen{flex:0 0 auto;min-height:720px;padding-bottom:290px}.math-app.vn-mode .title-friends{left:50%;right:auto;transform:translate(-50%);width:330px;max-width:calc(100% - 36px);bottom:20px}.math-app.vn-mode .title-friends .character>.game-art,.math-app.vn-mode .title-friends .character>svg{height:255px}.math-app.vn-mode .title-friends .character[data-actor=robot]>.game-art,.math-app.vn-mode .title-friends .character[data-actor=robot]>svg{height:200px}.math-app.vn-mode .title-friends .character>span{font-size:14px}.math-app.vn-mode .board-label{font-size:13px;letter-spacing:0}.record-summary-animals{gap:10px;margin:16px auto;flex-wrap:wrap}.math-app.vn-mode .record-summary-animals .animal-icon{width:80px;height:90px}.record-summary-animals>div>span{font-size:17px}.record-summary-animals strong{font-size:23px;min-width:20px}.replacement-observation .swap-diagram{gap:8px;flex-wrap:wrap;margin:16px auto}.replacement-observation .swap-diagram .animal-icon{width:75px;height:90px}.replacement-observation .swap-diagram>span{font-size:22px}.replacement-observation .swap-diagram>div>span{font-size:13px}}.math-app .lesson-workspace>.activity-panel.has-task-brief{padding:0;justify-content:flex-start;overflow:hidden}.has-task-brief .activity-heading{position:static;flex-shrink:0;padding:10px 18px 4px;min-height:30px;font-size:12px}.task-brief{flex-shrink:0;padding:6px 18px 12px;text-align:center;border-bottom:1px solid #b7c8ac80;background:#f4f8ecf0;position:relative;z-index:1}.task-brief h2{font-size:clamp(20px,1.8vw,28px);line-height:1.5;color:#294d38;margin:0;font-weight:700;letter-spacing:.3px;overflow-wrap:anywhere}.task-brief p{font-size:16px;line-height:1.6;color:#415d43;margin:5px 0 0;overflow-wrap:anywhere}.task-brief .target-record{justify-content:center;flex-wrap:wrap;gap:8px;font-size:17px;margin-top:9px;color:#294d38}.task-brief .target-record span{background:#e5eddb;border:1px solid #9eb68e;padding:4px 12px}.activity-visual{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:12px 18px 16px;display:flex;flex-direction:column;align-items:center;justify-content:safe center}.activity-visual>*{flex-shrink:0;max-width:100%}.activity-visual>.board-wrapper{min-height:auto}.activity-visual>.thinking-visual,.activity-visual>.replacement-observation,.activity-visual>.recognition{width:100%}.math-app.vn-mode .lesson-workspace[data-visual=story] .task-brief{border-radius:18px;background:#f7faedf0;border:1px solid #a1b590;margin:0 8px}@media (max-width:1100px){.task-brief h2{font-size:21px}.task-brief p{font-size:15px}}@media (max-width:760px){.has-task-brief .activity-heading{padding:7px 8px 2px;min-height:23px;font-size:11px}.task-brief{padding:5px 9px 9px}.task-brief h2{font-size:18px;line-height:1.5;letter-spacing:0}.task-brief p{font-size:14px;line-height:1.5;margin-top:4px}.task-brief .target-record{font-size:14px;gap:5px;margin-top:7px}.task-brief .target-record span{padding:3px 6px}.activity-visual{padding:9px 8px 12px}.activity-visual .thinking-bubble{gap:8px}.activity-visual .thinking-bubble>.animal-icon{width:36%;max-width:85px;height:90px;flex:0 1 85px}}.math-app .dialogue-tools{gap:12px;flex-wrap:wrap;min-height:56px;padding-top:10px}.math-app .dialogue-tools>button{background:#eff5e5;border:1.5px solid #6f8b5d;border-radius:12px;box-shadow:0 2px #c7d5b8;color:#294e35;font-size:16px;font-weight:600;min-height:46px;padding:8px 15px}.math-app .dialogue-tools>button:hover:not(:disabled){background:#e0edcc;border-color:var(--ui-accent-hover,#4e733e)}.math-app .dialogue-tools>button:disabled{opacity:1;background:#edf0e8;color:#67715f;border-color:#a6b29b;box-shadow:none}.math-app .dialogue-tools>button:last-of-type:not(:disabled){background:#fff0bd;border-color:#ac8d38;color:#645015}.math-app .phase-caption{min-height:50px}.math-app .phase-caption>button{background:#4e7046;color:#fffdf2;border:1px solid #3f6038;font-size:16px;font-weight:600;min-height:44px;padding:9px 16px;border-radius:12px;box-shadow:0 2px #cad5bd}.math-app .phase-caption>button:hover{background:#3e6038}.math-app .tap-note{font-size:20px;font-weight:700;line-height:1.5;color:#2c583b;background:#e6f1d8;border:1px solid #9db98a;border-radius:12px;padding:9px 18px;margin:0;text-align:center}.math-app .board-wrapper:has(.can-swap)>.board-label{font-size:18px}.continue-key{display:inline-block;font:inherit;font-size:13px;background:#ffffff24;border:1px solid #fff8;border-radius:5px;padding:0 5px;margin-left:8px}.ending-visual{position:relative;isolation:isolate}.math-app.vn-mode .activity-visual>.ending-visual{display:grid;grid-template-columns:74px minmax(0,1fr);gap:5px 14px;align-items:center;width:min(550px,100%);padding:12px 16px}.math-app .ending-visual>.medal{grid-column:1;grid-row:1 / 4;width:70px;height:70px;font-size:35px;border-width:5px}.math-app .ending-visual>h1{grid-column:2;grid-row:1;font-size:23px;line-height:1.3;letter-spacing:2px;margin:0}.math-app .ending-visual>.celebration-caption{grid-column:2;grid-row:2;margin:0;font-size:17px!important}.math-app .ending-visual>.growth-reward{grid-column:2;grid-row:3;margin:3px 0 0;padding:5px 10px}.math-app .ending-visual .reward-stars{font-size:20px}.math-app .ending-visual .growth-reward strong{font-size:20px;margin:0}.math-app .ending-visual .growth-reward p{font-size:12px;line-height:1.4;margin:3px 0}.math-app .ending-visual>.recovered-record{grid-column:1 / -1;grid-row:4;display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 10px;padding:6px 10px;margin:3px auto 0;max-width:100%}.math-app .ending-visual>.recovered-record strong{font-size:16px}.growth-reward{background:#fff3cc;border:2px solid #d7b55f;border-radius:16px;padding:12px 22px;margin:15px auto 0;color:#705319;max-width:350px}.growth-reward .reward-stars{display:block;color:#a67512;font-size:27px;letter-spacing:5px;white-space:nowrap}.growth-reward strong{display:block;font-size:22px;margin:3px 0}.growth-reward p{font-size:14px;margin:5px 0 0;color:#68562d}.celebration-caption{font-weight:700;font-size:20px!important}.celebrate .medal{animation:reward-bounce .7s ease-out}.celebrate .growth-reward{animation:reward-bounce .9s ease-out}.reward-sparkles{position:absolute;top:-15px;right:-25px;bottom:-15px;left:-25px;pointer-events:none;overflow:hidden;z-index:-1}.reward-sparkles i{font-size:24px;color:#c49322;position:absolute;left:calc(8% + var(--i)*12%);top:52%;font-style:normal;animation:reward-sparkle 2.4s ease-out both;animation-delay:calc(var(--i)*.07s)}.keepsake-stars{display:block;font-size:18px;color:#856115;margin-top:10px}@keyframes reward-bounce{0%{transform:scale(.85)}45%{transform:scale(1.07)}75%{transform:scale(.98)}to{transform:scale(1)}}@keyframes reward-sparkle{0%{opacity:0;transform:translateY(35px) scale(.5)}20%{opacity:1}to{opacity:0;transform:translateY(-170px) rotate(70deg)}}@media (max-width:760px){.math-app .dialogue-tools{gap:7px;padding-top:9px;min-height:54px}.math-app .dialogue-tools>button{font-size:15px;min-height:44px;padding:8px 10px}.math-app .phase-caption{gap:7px;min-height:50px;flex-wrap:wrap}.math-app .phase-caption>button{font-size:14px;padding:8px 11px;min-height:44px}.math-app .tap-note{font-size:17px;padding:8px 11px}.math-app .board-wrapper:has(.can-swap)>.board-label{font-size:15px}.continue-key{display:none}.growth-reward{padding:9px 10px;margin-top:10px}.growth-reward .reward-stars{font-size:21px;letter-spacing:3px}.growth-reward strong{font-size:18px}.growth-reward p{font-size:13px}.math-app.vn-mode .activity-visual>.ending-visual{grid-template-columns:minmax(0,1fr);padding:10px 8px;gap:5px}.math-app .ending-visual>.medal{display:none}.math-app .ending-visual>h1,.math-app .ending-visual>.celebration-caption,.math-app .ending-visual>.growth-reward,.math-app .ending-visual>.recovered-record{grid-column:1;grid-row:auto}.math-app .ending-visual>h1{font-size:20px}.math-app .ending-visual>.celebration-caption{font-size:16px!important}.math-app .ending-visual .growth-reward strong{font-size:18px}.math-app:has(>.dialogue-panel){overflow-y:auto}.math-app .choices:has(.tap-note)>button{flex-shrink:0}}@media (prefers-reduced-motion:reduce){.celebrate .medal,.celebrate .growth-reward,.reward-sparkles i{animation:none}.reward-sparkles{display:none}}.math-app .farm-header{height:auto;min-height:80px;gap:12px;flex-wrap:wrap}.math-app .farm-header .header-right{gap:16px;flex-shrink:0}.math-app:has(>.dialogue-panel){overflow-y:auto;overflow-x:hidden}.math-app .lesson-workspace{--lesson-visual-min-height:180px;min-height:var(--lesson-min-height,260px);flex-shrink:0}.math-app .lesson-workspace>.activity-panel.has-task-brief{min-height:var(--lesson-panel-min-height,0px)}.math-app .activity-visual>.lesson-content{width:100%;min-height:0}.math-app .dialogue-actions>.lesson-answer{width:100%}.math-app .lesson-answer{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.math-app .lesson-answer-entry{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.math-app .lesson-answer-entry label{display:flex;align-items:center;gap:8px;font-size:20px}.math-app .lesson-answer-entry input{width:76px;min-height:48px;border:2px solid #7c8d6e;border-radius:10px;text-align:center;background:#fff;color:var(--ink);font-size:25px}.math-app .lesson-answer .number-pad{display:grid;grid-template-columns:repeat(6,44px);gap:6px}.math-app .lesson-answer .number-pad>button{min-width:44px;min-height:44px;padding:6px;font-size:18px}.math-app .dialogue-actions>.lesson-choices{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;width:100%}.math-app .math-modal .modal-actions{flex-wrap:wrap}@media (max-height:780px){.math-app .farm-header{min-height:66px}}@media (max-width:760px){.math-app .farm-header{min-height:61px;padding:8px 12px;gap:8px}.math-app .farm-header .farm-brand{min-width:0;font-size:16px}.math-app .farm-header .farm-brand small{font-size:10px;letter-spacing:0}.math-app .farm-header .header-right{gap:7px;margin-left:auto}.math-app .farm-header .header-right>.icon-button{min-width:44px;width:44px;min-height:44px}.math-app .lesson-answer{gap:9px}.math-app .lesson-answer-entry label{font-size:18px}.math-app .lesson-answer .number-pad{grid-template-columns:repeat(6,44px)}.math-app .dialogue-actions>.lesson-choices{justify-content:center;gap:8px}}.math-app[data-fit-screen=true]{--lesson-panel-edge:12px;height:100%;max-height:100dvh;overflow:hidden!important}.math-app .farm-header{height:62px;min-height:62px;padding:6px 22px;flex-wrap:nowrap;gap:8px}.math-app .farm-header .header-right{gap:8px}.math-app .farm-header.scene-panel .header-right>button{min-height:44px}.math-app .farm-header .header-right>.icon-button{height:44px;width:44px;min-width:44px}.math-app>.phase-progress{display:flex;align-items:center;gap:12px;padding:5px 3%;min-height:54px}.math-app .phase-track{flex:1;min-width:0}.math-app .phase-strip{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.math-app .phase-strip>.lesson-pager{width:160px;gap:4px}.math-app .phase-strip>.lesson-pager>span{min-width:64px;font-size:13px}.math-app .phase-caption{min-height:44px;width:170px;flex-shrink:0}.math-app .phase-caption>span{display:none}.math-app .phase-caption>button{width:100%;min-height:44px;font-size:14px;padding:6px 10px}.math-app .phase-track button{min-height:44px;gap:5px;padding:3px}.math-app .phase-track button>span{width:24px;height:24px;font-size:13px}.math-app[data-fit-screen=true] .lesson-workspace{display:block;flex:1 1 0!important;height:auto!important;min-height:0!important;padding:12px var(--lesson-panel-edge) 10px 30%;overflow:visible}.math-app[data-fit-screen=true] .lesson-workspace>.activity-panel.has-task-brief{height:100%;min-height:0;max-height:none;margin:0;overflow:hidden}.math-app[data-fit-screen=true] .lesson-workspace>.speaker-portrait{width:31%;left:-3%;bottom:-90px;height:calc(100% + 80px)}.math-app.vn-mode .speaker-portrait .character>:is(svg,.game-art){width:100%;height:100%;max-height:none}@media (max-width:760px) and (min-height:501px){.math-app.vn-mode .lesson-workspace>.speaker-portrait[data-speaking-actor=robot]{left:0;width:115px}.math-app.vn-mode[data-fit-screen=true] .lesson-workspace>.speaker-portrait[data-speaking-actor=robot]{width:110px}}.math-app[data-fit-screen=true] .activity-heading{padding:6px 14px 0;min-height:18px;font-size:12px}.math-app[data-fit-screen=true] .task-brief{padding:5px 12px 8px}.math-app[data-fit-screen=true] .task-brief h2{font-size:clamp(18px,1.6vw,26px);line-height:1.35}.math-app[data-fit-screen=true] .activity-visual{min-height:0;overflow:hidden;padding:8px 12px;justify-content:center}.math-app[data-fit-screen=true] .activity-visual>*{flex-shrink:1}.math-app[data-fit-screen=true] .lesson-content{display:flex;justify-content:center;align-items:center;height:100%;min-height:0}.math-app[data-fit-screen=true]>.dialogue-panel{min-height:0;flex-shrink:0;padding:8px 20px 6px;margin:0 var(--lesson-panel-edge) 8px;width:calc(100% - 2 * var(--lesson-panel-edge))}.math-app[data-fit-screen=true] .speaker-label{font-size:14px}.math-app[data-fit-screen=true] .dialogue-text{font-size:clamp(17px,1.5vw,22px);line-height:1.4;min-height:0;margin:4px 0 8px}.math-app[data-fit-screen=true] .dialogue-actions{min-height:44px;justify-content:flex-end}.math-app[data-fit-screen=true] .dialogue-tools{min-height:44px;gap:8px;padding-top:5px;margin-top:5px;flex-wrap:nowrap}.math-app[data-fit-screen=true] .dialogue-tools>button{font-size:15px;padding:7px 12px;min-height:44px}.math-app[data-fit-screen=true] .dialogue-tools>.host-appearance-switch,.math-app[data-fit-screen=true] .dialogue-tools>.host-picker,.math-app[data-fit-screen=true] .dialogue-tools>span,.math-app[data-fit-screen=true] .dialogue-tools>button:disabled[title]{display:none}.math-app[data-fit-screen=true] .lesson-answer,.math-app[data-fit-screen=true] .lesson-choices{gap:8px;justify-content:flex-end}.math-app[data-fit-screen=true] .lesson-answer>button,.math-app[data-fit-screen=true] .lesson-choices>button{font-size:16px;padding:8px 13px;min-height:44px}.lesson-pager{display:flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0}.math-app .lesson-pager>button{width:44px;min-width:44px;min-height:44px;padding:5px}.lesson-pager>span{font-size:15px;min-width:40px;text-align:center}.lesson-page-select{display:flex;gap:12px;align-items:center;font-size:17px}.lesson-page-select>select{flex:1;min-height:44px;min-width:0;font:inherit;border:1px solid #7c8d6e;border-radius:10px;background:#fffdf4;padding:5px 10px}.math-app .lesson-paged-modal{display:flex;flex-direction:column;gap:10px;max-height:calc(100dvh - 20px);padding:12px 18px;overflow:hidden;width:min(690px,96vw)}.lesson-paged-modal .modal-top{flex-shrink:0;min-height:44px}.lesson-paged-modal h2{font-size:22px;line-height:1.35;margin:0}.lesson-paged-modal p{font-size:18px;line-height:1.45;margin:0}.lesson-paged-modal .small-note{font-size:14px;line-height:1.4;margin:0}.lesson-paged-modal .setting-row{padding:8px 4px;min-height:44px;font-size:17px}.lesson-paged-modal .setting-row input[type=range]{width:min(210px,50%)}.lesson-paged-modal>button{align-self:center;min-height:44px}.lesson-paged-modal .host-appearance-switch{flex-wrap:wrap;justify-content:center}.lesson-paged-modal .audio-settings{flex-shrink:0}@media (max-width:760px){.math-app[data-fit-screen=true]{--lesson-panel-edge:6px}.math-app .farm-header{height:60px;min-height:60px;padding:5px 8px}.math-app .farm-header .farm-brand{font-size:14px;gap:5px}.math-app .farm-header .farm-brand img{width:28px}.math-app .farm-header .farm-brand small{font-size:10px;max-width:115px}.math-app .farm-header .header-right{gap:5px}.math-app .farm-header .header-right>button{min-height:44px;padding:5px 7px;font-size:12px}.math-app .farm-header .header-right>.icon-button{width:44px;min-width:44px;font-size:21px}.math-app>.phase-progress{min-height:54px;padding:3px 8px;gap:6px}.math-app .phase-track{gap:3px}.math-app .phase-track button{flex-direction:column;gap:1px;padding:1px 0}.math-app .phase-track button small{font-size:10px;white-space:nowrap}.math-app .phase-track button>span{width:20px;height:20px;font-size:11px}.math-app .phase-caption{width:92px}.math-app .phase-caption>button{font-size:12px;padding:4px 6px}.math-app[data-fit-screen=true] .lesson-workspace{padding:6px var(--lesson-panel-edge) 7px 86px}.math-app[data-fit-screen=true] .lesson-workspace>.speaker-portrait{width:110px;height:290px;left:-20px;bottom:0}.math-app[data-fit-screen=true] .activity-heading{padding:5px 8px 0;min-height:15px;font-size:10px}.math-app[data-fit-screen=true] .task-brief{padding:4px 7px 6px}.math-app[data-fit-screen=true] .task-brief h2{font-size:18px;line-height:1.35}.math-app[data-fit-screen=true] .activity-visual{padding:6px}.math-app[data-fit-screen=true]>.dialogue-panel{padding:7px 10px 5px;margin-bottom:6px}.math-app[data-fit-screen=true] .dialogue-text{font-size:17px;margin:4px 0 6px}.math-app[data-fit-screen=true] .speaker-label small{display:none}.math-app[data-fit-screen=true] .lesson-answer,.math-app[data-fit-screen=true] .lesson-choices{justify-content:center;gap:6px}.math-app[data-fit-screen=true] .lesson-answer>button,.math-app[data-fit-screen=true] .lesson-choices>button{font-size:15px;padding:7px 10px}.math-app[data-fit-screen=true] .dialogue-tools{justify-content:center}.math-app .lesson-paged-modal{padding:10px 12px;gap:9px}.lesson-paged-modal h2{font-size:20px}.lesson-paged-modal p{font-size:17px}}@media (max-height:500px) and (min-width:600px){.math-app .farm-header{height:46px;min-height:46px;padding:0 14px}.math-app .farm-header .farm-brand{font-size:15px}.math-app .farm-header .farm-brand img{width:30px}.math-app .farm-header .header-right>button{min-height:44px;padding:5px 10px;font-size:13px}.math-app>.phase-progress{height:48px;min-height:48px;padding:2px 14px}.math-app .phase-track button{flex-direction:row;font-size:13px}.math-app .phase-track button small{font-size:12px}.math-app .phase-caption{width:140px}.math-app .phase-caption>button{font-size:13px}.math-app[data-fit-screen=true] .lesson-workspace{padding:4px var(--lesson-panel-edge) 5px 27%}.math-app[data-fit-screen=true] .activity-heading{display:none}.math-app[data-fit-screen=true] .task-brief{padding:3px 8px 5px}.math-app[data-fit-screen=true] .task-brief h2{font-size:18px}.math-app[data-fit-screen=true] .activity-visual{padding:4px 8px}.math-app[data-fit-screen=true] .lesson-workspace>.speaker-portrait{height:330px;width:28%;left:-3%;bottom:-80px}.math-app[data-fit-screen=true]>.dialogue-panel{padding:5px 12px;margin-bottom:4px}.math-app[data-fit-screen=true] .speaker-label{position:absolute;top:6px;left:12px;font-size:13px;line-height:21px}.math-app[data-fit-screen=true] .speaker-label small{display:none}.math-app[data-fit-screen=true] .dialogue-text{grid-column:1 / -1;font-size:16px;line-height:1.3;padding-left:64px;margin:0}.math-app[data-fit-screen=true] .dialogue-tools{gap:6px}.math-app[data-fit-screen=true] .dialogue-tools>button{font-size:14px;padding:5px 8px}.math-app[data-fit-screen=true] .lesson-answer>button,.math-app[data-fit-screen=true] .lesson-choices>button{font-size:14px;padding:5px 9px}.math-app .lesson-paged-modal{gap:7px;padding:8px 16px;max-height:calc(100dvh - 16px)}.lesson-paged-modal h2{font-size:20px}.lesson-paged-modal p{font-size:17px}}.math-app .farm-header .farm-brand{min-width:0;gap:12px;letter-spacing:0}.math-app .farm-header .lesson-brand-title{white-space:nowrap}.math-app .farm-header .lesson-header-title{font-size:18px;font-weight:600;line-height:1.35;white-space:nowrap;color:var(--ui-text)}.math-app .farm-header .header-right>.replay-entry{min-height:44px;white-space:nowrap}.math-app .farm-header .header-right>.title-entry{min-height:44px;white-space:nowrap}.math-app>.phase-progress .phase-track button{min-width:44px}@media (max-width:760px){.math-app .farm-header{height:auto;min-height:0;flex-wrap:wrap;padding:6px 8px;gap:4px 8px}.math-app .farm-header .farm-brand{width:100%;gap:8px;font-size:16px;min-height:32px}.math-app .farm-header .farm-brand img{width:28px;height:28px;flex-shrink:0}.math-app .farm-header .lesson-header-title{font-size:16px}.math-app .farm-header .header-right{margin-left:auto}.math-app>.phase-progress .phase-track button{min-height:48px}.math-app>.phase-progress .phase-track button small{font-size:11px;line-height:1.15;white-space:normal;overflow-wrap:anywhere}.math-app>.phase-progress .phase-caption{flex-wrap:nowrap}}@media (max-height:500px) and (min-width:600px){.math-app .farm-header .lesson-header-title{font-size:16px}.math-app>.phase-progress .phase-track button{min-height:44px}.math-app>.phase-progress .phase-track button small{white-space:nowrap}}.math-app .lesson-journey{display:flex;flex-direction:column;gap:12px;align-items:stretch}.math-app .lesson-journey .journey-list{margin:0;gap:10px}.math-app .lesson-journey>button{align-self:center;min-height:44px}.math-app .lesson-journey .journey-list>div{background:var(--ui-surface);padding:12px;min-height:64px}.math-app .lesson-journey .journey-list strong{font-size:18px;line-height:1.4}.math-app .lesson-journey .journey-list span{color:var(--ui-muted);font-size:14px}.math-app .lesson-journey .journey-list button{min-height:44px;font-size:16px;padding:8px 12px}@media (max-height:599px){.math-app .lesson-journey{gap:8px}.math-app .lesson-journey .journey-list>div{padding:8px}.math-app .lesson-journey .journey-list>div>div{width:auto;margin-left:auto}}.math-app>.phase-progress .phase-track button small{font-size:14px;line-height:1.25;white-space:normal}.math-app.lesson-scene-replay{position:fixed!important;top:0;right:0;bottom:0;left:0;z-index:1800;width:100vw;height:100dvh;min-height:0;overflow:hidden;background:var(--ui-backdrop);touch-action:pan-y pinch-zoom}.math-app[data-scene-browsing=true]>:not(.lesson-scene-replay):not(.landscape-study-notice){visibility:hidden}.math-app .scene-replay-position{font-size:16px;line-height:1.4;color:var(--ui-muted);margin-right:auto}.math-app.lesson-scene-replay .dialogue-actions{justify-content:flex-end}@media (max-height:599px){.math-app .scene-replay-position{font-size:14px}}.math-app[data-fit-screen=true]{touch-action:pan-y pinch-zoom}.math-app .lesson-dialogue-footer{display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;margin-top:5px;padding-top:5px;border-top:1px dashed var(--ui-separator,#8ca99b55)}.math-app .lesson-dialogue-footer>.dialogue-tools{flex:0 1 auto;max-width:100%;min-width:0;min-height:44px;justify-content:flex-start;flex-wrap:wrap;border:0;margin:0;padding:0}.math-app .lesson-dialogue-footer>.dialogue-actions{flex:1 1 max-content;min-width:0;max-width:100%;min-height:44px;justify-content:flex-end;gap:8px;flex-wrap:wrap}.math-app .lesson-dialogue-footer>.dialogue-actions:empty{display:none}@media (max-height:500px) and (min-width:600px){.math-app .lesson-dialogue-footer{margin-top:4px;padding-top:0;border:0;gap:4px 10px}}.math-app{--lesson-font-diagram-label:clamp(18px,1vw,22px);--lesson-font-diagram-note:clamp(20px,1.1vw,24px);--lesson-line-diagram-label:1.4;--lesson-line-diagram-note:1.45;--lesson-font-equation:clamp(22px,1.2vw,28px);--lesson-line-equation:1.3}.math-app .lesson-diagram-note,.math-app :is(.lesson-workspace,.math-modal) .lesson-diagram-note{display:block;max-width:100%;margin:0;font-size:var(--lesson-font-diagram-note);line-height:var(--lesson-line-diagram-note);color:var(--ui-text);text-align:center;overflow-wrap:anywhere}.landscape-study-notice{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;display:grid;place-items:center;padding:24px;background:var(--ui-panel,#f7faef);color:var(--ui-text,#294d38);text-align:center}.landscape-study-notice>div{max-width:420px}.landscape-study-device{display:grid;place-items:center;width:110px;height:72px;margin:0 auto 24px;border:4px solid currentColor;border-radius:16px;font-size:48px;line-height:1}.landscape-study-notice h1{font-size:26px;line-height:1.4;margin:0 0 18px}.landscape-study-notice p{font-size:17px;line-height:1.6;margin:8px 0}.game-art{display:block;overflow:hidden;object-fit:contain;pointer-events:none}.illustrated-scene{position:absolute;top:0;right:0;bottom:0;left:0;background:#d8e8e1;overflow:hidden}.scene-extension{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;object-fit:cover;filter:blur(22px) brightness(.91);transform:scale(1.08);opacity:.6}.scene-world{position:absolute;left:50%;top:50%;width:1672px;height:941px;transform:translate(-50%,-50%) scale(var(--scene-scale,1));transform-origin:center;pointer-events:none}.scene-world>.world-background{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.scene-world .world-prop{position:absolute;pointer-events:none}.farm-door-slot{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.farm-door-slot .door-matte{position:absolute;top:0;right:0;bottom:0;left:0;background:#765033}.farm-door-slot>img{position:absolute;left:0;top:0;max-width:none;transform-origin:0 0}.farm-world-animals{position:absolute;display:flex;align-items:end;justify-content:center;flex-wrap:wrap;gap:0;width:190px;bottom:393px}.farm-world-animals .game-art{width:34px;height:38px}.farm-background.illustrated-farm{overflow:hidden;background:#cce0d4}.illustrated-farm:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(#fff9e51a,#fff9e52a);pointer-events:none}.character .game-art{width:100%;height:auto;max-height:240px}.character[data-look=round]>.game-art,.character[data-look=square]>.game-art{max-height:185px}.character[data-motion=true]>.game-art{animation:character-beat .38s ease-out both}.character:has(.game-art){opacity:1}.character.active:has(.game-art){transform:none}.character:not(.active):has(.game-art){filter:saturate(.94)}.town-player>.game-art{width:120px;height:175px}.town-appearance .town-player>.game-art,.town-appearance .character>.game-art{height:112px;width:90px}.yard-player .town-player>.game-art{width:190px;height:270px}.yard-partner .character>.game-art{height:180px;max-height:none}.yard-world .yard-player{left:780px;bottom:80px;width:190px}.yard-world .yard-partner{left:1135px;right:auto;bottom:80px;width:150px}.yard-world .yard-sign{left:40px;top:330px;width:300px;height:120px;max-width:none;border:none;background:none;box-shadow:none;transform:none;padding:0;opacity:1;display:flex;justify-content:center;gap:10px;isolation:isolate}.yard-sign .sign-art{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:-1}.yard-world .yard-sign>svg:not(.sign-art){width:34px;height:34px}.yard-world .yard-sign>span{font-size:23px;max-width:225px;white-space:normal;overflow-wrap:anywhere;text-align:center}.yard-dock{left:1290px;top:410px;width:255px;height:162px}.yard-keepsake{left:335px;top:535px;width:210px;height:130px}.yard-world .yard-medal{left:350px;top:551px;width:180px;height:83px;padding:3px 6px;box-shadow:none;border:none;background:#fff8e4e8;border-radius:5px;gap:0}.yard-world .yard-medal>b{font-size:24px;line-height:1}.yard-world .yard-medal>span{font-size:17px}.yard-world .yard-medal>small{font-size:11px}.town-host .character>.game-art{height:240px;max-height:100%;width:170px}.town-host{width:170px;left:10%;bottom:3%}.town-new-partner .character>.game-art{height:185px;max-height:none}.town-new-partner{background:none}.welcome-duo .town-player>.game-art{width:150px;height:230px}.welcome-duo .character>.game-art{max-height:170px}.character-preview .character>.game-art{height:160px;max-height:none}.help-character .character>.game-art{height:105px}.town-map-guide .character>.game-art{height:115px}.town-modal .character>.game-art{height:150px}.animal-icon.game-art{object-fit:contain}.town-scenery .town-farm-art{z-index:0}.illustrated-record{position:relative;width:100%;min-height:235px;display:flex;align-items:flex-start;justify-content:center;padding-top:0}.illustrated-record .record-table{position:absolute;width:400px;max-width:95%;height:210px;bottom:-14px;left:50%;transform:translate(-50%)}.illustrated-record .paper-record{position:relative;isolation:isolate;background:none;border:none;box-shadow:none;width:320px;max-width:90%;padding:16px 24px 22px;margin:0;transform:rotate(-3deg)}.record-paper{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:-1}.illustrated-record .paper-record>.record-paper{max-height:none}.illustrated-record .paper-record .animal-icon{height:62px;width:70px}.illustrated-record .paper-record>span{letter-spacing:2px;font-size:14px}.illustrated-record .paper-record p{font-size:12px;color:#68634e}@media (min-width:1101px){.lesson-workspace:has(.game-art){grid-template-columns:minmax(120px,180px) minmax(0,820px) minmax(100px,150px);gap:16px}.side-character.left .character>.game-art{height:260px;max-height:260px}.side-character.right .character>.game-art{height:160px;max-height:160px}}@media (max-width:1100px){.side-character .character>.game-art{max-height:170px}}@media (max-width:760px){.lesson-workspace>.side-character .character>.game-art{height:88px;max-height:88px}.town-host{left:3%;width:105px}.town-host .character>.game-art{height:160px;width:105px}.town-new-partner .character>.game-art{height:135px}.town-appearance .town-player>.game-art,.town-appearance .character>.game-art{height:96px}.town-map-guide .character>.game-art{height:80px}.welcome-duo .town-player>.game-art{width:105px;height:155px}}@media (max-height:650px) and (min-width:601px){.town-host .character>.game-art{height:125px}.town-appearance .town-player>.game-art,.town-appearance .character>.game-art{height:77px}}@media (prefers-reduced-motion:reduce){.game-art{animation:none!important}}.math-app>.farm-header{background:#fffaf0e8}.title-screen:has(.game-art){background:linear-gradient(90deg,#fffdf4f5 0%,#fffdf4e8 32%,#fffdf444 62%,transparent 78%)}@media (max-width:760px){.title-screen:has(.game-art){background:linear-gradient(90deg,#fffdf4f2,#fffdf4d9 65%,#fffdf44d)}}.character[data-motion=true]>svg{animation:character-beat .38s ease-out both}@keyframes character-beat{0%{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}.character[data-motion=true].pose-greet .character-head{animation:character-nod .65s ease-in-out 1;transform-origin:80px 130px}@keyframes character-nod{0%,to{transform:rotate(0)}45%{transform:rotate(-5deg)}}.character-preview{margin:18px 0;border:1px solid #dce3c9;border-radius:14px;padding:12px;background:#f7f5e6}.character-preview>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#527a52}.character-preview-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.character-preview-card{min-width:0;text-align:center}.character-preview .character{width:105px;max-width:100%}.character-preview .character svg{height:160px}.character-preview-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}.math-app .character-preview-buttons>button{padding:7px 3px;min-height:44px;font-size:14px;box-shadow:none}.town-map-guide{position:absolute;left:9%;top:2%;width:85px;pointer-events:none}.town-map-guide .character svg{height:115px}.help-character .character{width:76px}.help-character .character svg{height:105px}@media (max-width:600px){.town-map-guide{width:58px;left:5%;top:1%}.town-map-guide .character svg{height:80px}.town-map-guide .character>span{font-size:10px;padding:0 6px;letter-spacing:0}}@media (prefers-reduced-motion:reduce){.character,.character *{animation:none!important;transition:none!important}}@media (max-width:760px){.lesson-workspace>.side-character{display:block;position:absolute;bottom:4px;width:59px;z-index:1;pointer-events:none}.lesson-workspace>.side-character.left{left:5px}.lesson-workspace>.side-character.right{right:5px}.lesson-workspace>.side-character .character svg{height:88px}.lesson-workspace>.side-character .character>span{font-size:10px;padding:1px 5px;letter-spacing:0}.lesson-workspace .activity-panel{padding-bottom:100px}}.haru-character{position:relative;min-height:100px;width:100%;height:100%;overflow:hidden;opacity:1!important;filter:none!important;transform:none!important}.vn-mode .lesson-workspace>.speaker-portrait:has(.xiaohe-six-character),.vn-mode .town-speaker:has(.xiaohe-six-character),.xiaohe-six-character{overflow:visible}.vn-mode .lesson-workspace>.speaker-portrait:has(.xiaohe-six-character){z-index:1}.xiaohe-six-character>.haru-canvas{width:148%;max-width:none}.vn-mode .lesson-workspace>.speaker-portrait:has([data-gesture-rig=true]),.vn-mode .town-speaker:has([data-gesture-rig=true]),.haru-character[data-gesture-rig=true]{overflow:visible}.haru-character>.haru-canvas{display:block;width:100%;height:100%;opacity:0;pointer-events:none}.haru-character.haru-ready>.haru-canvas{opacity:1}.haru-fallback{position:absolute;top:0;right:0;bottom:0;left:0}.haru-fallback>.character{height:100%;width:100%}.haru-fallback .game-art{height:100%!important;max-height:none!important;width:100%!important}.help-character>.haru-character{width:110px;height:155px}.host-appearance-settings{margin:16px 0;padding:14px;border:1px solid #b7cdcf;background:#f0f7f7;border-radius:14px}.host-appearance-settings h3{margin:0 0 10px;font-size:18px}.host-appearance-options{display:flex;gap:8px;flex-wrap:wrap}.host-appearance-options>button{min-height:44px}.host-appearance-options>button[aria-pressed=true]{border-width:2px}.host-license{font-size:12px;color:#57716e;line-height:1.7}.host-license summary{cursor:pointer;min-height:34px;display:flex;align-items:center}.host-license a{color:#356c76}.host-compare{background:#e8f2ff!important;border:1px solid #8baec8!important;color:#355e7c!important}.host-error{color:#865738;font-size:12px}.host-picker{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#41677c}.host-picker select{font:inherit;font-size:13px;min-height:44px;max-width:200px;padding:7px 10px;background:#f1f7ff;border:1px solid #8baec8;border-radius:10px;color:#355e7c}.host-picker select:focus-visible{outline:3px solid #75a8cd;outline-offset:2px}@media (max-width:760px){.host-picker select{max-width:170px}.dialogue-tools .host-picker{flex-wrap:wrap;gap:4px}}.math-app.vn-mode .lesson-workspace[data-visual=story]>.activity-panel:has(.lesson-outcome){background:var(--ui-panel);border-color:var(--ui-border);box-shadow:0 10px 35px #203d3726}.math-app .lesson-outcome{width:100%;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:4px;min-height:0;height:100%;box-sizing:border-box}.math-app .lesson-outcome-heading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;flex-shrink:0}.math-app .lesson-outcome-heading>h2,.math-app .lesson-outcome-heading>.ex-outcome-value{margin:0}.math-app .lesson-outcome>.ex-outcome-summary{margin:0;flex-shrink:0}.math-app .lesson-outcome .ex-outcome-value{font-size:24px;font-weight:700;line-height:1.4}.math-app .lesson-outcome-picture{display:flex;align-items:center;justify-content:center;width:min(70%,300px);height:200px;max-height:200px;min-height:60px;flex:0 1 200px}.math-app .lesson-outcome-picture>.game-art{width:100%;height:100%}.math-app .lesson-outcome-animals{display:flex;align-items:center;justify-content:center;width:100%;height:100%;gap:10px}.math-app .lesson-outcome-animals>.game-art{width:calc(50% - 5px);height:100%}.math-app.eq-app .activity-visual .lesson-outcome-picture>.eq-welcome-lantern{width:100%;height:100%;min-height:0;flex-shrink:1}.math-app.eq-app .activity-visual .lesson-outcome-picture>.eq-welcome-lantern>.eq-icon{width:100%;height:100%}.math-app.eq-app .activity-visual .lesson-outcome-picture>.eq-welcome-lantern>span{font-size:clamp(20px,4vh,44px)}.math-app .lesson-outcome>.growth-reward{margin:4px auto 0;padding:6px 18px;flex-shrink:0}.math-app .lesson-outcome .reward-stars{line-height:1.2}.math-app .lesson-outcome .growth-reward strong{line-height:1.3;margin-top:2px}@media (min-height:501px) and (max-height:900px){.math-app .lesson-outcome{gap:4px}.math-app .lesson-outcome-heading{flex-direction:row;flex-wrap:wrap;gap:4px 18px}.math-app .lesson-outcome>.growth-reward{padding:4px 16px}.math-app .lesson-outcome .reward-stars{font-size:24px}.math-app .lesson-outcome .growth-reward strong{font-size:20px;line-height:1.2;margin:0}}@media (max-height:500px){.math-app .lesson-outcome{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,35%);grid-template-rows:auto minmax(0,1fr);height:100%;gap:4px 10px}.math-app .lesson-outcome>.lesson-outcome-heading{grid-column:1;grid-row:1 / 3}.math-app .lesson-outcome .ex-outcome-value{font-size:22px}.math-app .lesson-outcome>.ex-outcome-summary{display:none}.math-app .lesson-outcome>.growth-reward{grid-column:2;grid-row:1;margin:0 auto;padding:4px 10px}.math-app .lesson-outcome .reward-stars{font-size:23px;line-height:1}.math-app .lesson-outcome .growth-reward strong{font-size:18px;line-height:1.2;margin:0}.math-app .lesson-outcome-picture{grid-column:2;grid-row:2;width:100%;height:100%;max-height:100px;min-height:0;justify-self:center}}.math-app .lesson-modal:has(.lesson-video){position:relative;width:min(1080px,96vw);padding:14px 22px 20px}.math-app .lesson-modal:has(.lesson-video) .modal-top{position:absolute;top:8px;right:12px;z-index:1}.lesson-video video{display:block;width:100%;max-height:calc(94dvh - 245px);aspect-ratio:16/9;object-fit:contain;background:#13271f;border-radius:12px}.math-app .lesson-video h2{font-size:22px;min-height:44px;padding:0 54px;display:flex;align-items:center;justify-content:center;margin:8px 0 12px}.lesson-video .video-status{font-size:14px;line-height:1.6;margin:10px 0;color:#62755d}.lesson-video .video-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.math-app .lesson-video .video-actions button{font-size:16px;min-height:48px;padding:10px 17px}@media (max-width:760px){.math-app .lesson-modal:has(.lesson-video){width:100%;padding:10px}.math-app .lesson-video h2{font-size:18px}.math-app .lesson-video .video-actions button{font-size:14px;padding:9px 12px}.lesson-video video{max-height:calc(94dvh - 225px)}}@media (max-height:500px){.math-app .lesson-modal:has(.lesson-video){max-height:98dvh}.lesson-video video{max-height:55dvh}.math-app .lesson-video h2{margin:4px 0;font-size:16px}.lesson-video .video-status{margin:4px 0}}.math-app .math-modal:has(.lesson-help-content){width:min(690px,96vw);max-height:calc(100dvh - 20px);overflow:hidden}.math-app .lesson-help-content{display:flex;flex-direction:column;align-items:center;gap:16px;min-height:0}.math-app .lesson-help-content h2{margin:0;font-size:24px;line-height:1.35}.math-app .lesson-help-content .help-copy{font-size:var(--lesson-font-diagram-note);line-height:var(--lesson-line-diagram-note);margin:8px 0 16px}.math-app .lesson-help-content .modal-actions{display:flex;justify-content:center;gap:14px;margin:0;flex-wrap:wrap}.math-app .lesson-help-content .modal-actions button{min-height:44px}.math-app .math-modal:has(.lesson-help-content)>.help-character{position:relative;display:flex;justify-content:center;width:170px;height:155px;overflow:hidden;margin:8px auto 14px;flex-shrink:0}.math-app .math-modal:has(.lesson-help-content) .help-character>.haru-character{min-height:0;flex-shrink:0}@media (max-height:500px){.math-app .math-modal:has(.lesson-help-content){padding:8px 16px}.math-app .math-modal:has(.lesson-help-content)>.modal-top{margin:0;min-height:44px}.math-app .math-modal:has(.lesson-help-content)>.help-character{margin:0 auto 5px;height:70px}.math-app .math-modal:has(.lesson-help-content) .help-character>.haru-character{width:65px;height:70px}.math-app .math-modal:has(.lesson-help-content) .help-character .character svg{height:70px}.math-app .lesson-help-content{gap:6px}.math-app .lesson-help-content h2{font-size:22px}.math-app .lesson-help-content .help-copy{font-size:20px;margin:0 0 4px}.math-app .lesson-help-content .modal-actions{gap:8px}.math-app .lesson-help-content .operation-demo{margin:0;height:44px}.math-app .lesson-help-content .operation-demo svg{height:40px}.math-app .lesson-help-content .hint-steps{display:flex;gap:18px;flex-wrap:wrap;justify-content:center}.math-app .lesson-help-content .hint-steps p{font-size:22px;line-height:1.4;margin:0}}.math-app .farm-header .header-right>.task-entry{min-height:44px}.math-app .math-modal:has(.task-picker){width:min(1040px,96vw);height:min(740px,calc(100dvh - 20px));display:flex;flex-direction:column;gap:10px;overflow:visible;padding:12px 18px;box-sizing:border-box}.math-modal:has(.task-picker)>.modal-top{flex-shrink:0;min-height:44px}.task-picker{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px;color:var(--ui-text)}.task-picker-heading h2{margin:0;font-size:26px;line-height:1.3}.task-picker-heading p{margin:5px 0 0;font-size:16px;color:var(--ui-muted)}.task-picker-tabs{display:flex;gap:10px;flex-shrink:0}.task-picker-tabs>button{min-height:44px;flex:1}.task-picker-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:14px;flex:1;min-height:0}.math-app .task-card{display:grid;grid-template-columns:36% minmax(0,1fr);min-height:0;text-align:left;padding:0;overflow:hidden;border:1.5px solid var(--ui-border);background:var(--ui-surface);border-radius:16px}.math-app .task-card[aria-current=true]{border-color:var(--ui-accent);box-shadow:0 0 0 2px var(--ui-accent)}.task-picture{display:block;position:relative;min-height:0;overflow:hidden;background:#e7e9d2;isolation:isolate}.task-picture-background{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.task-picture:has(.task-picture-prop) .task-picture-background{filter:blur(2px);opacity:.55;transform:scale(1.04)}.task-picture-prop{position:absolute;top:6%;right:6%;bottom:6%;left:6%;width:88%;height:88%;object-fit:contain;filter:drop-shadow(0 5px 4px #483b3426)}.task-picture-number{position:absolute;top:10px;left:10px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#fff9e9;color:#594d39;font-size:15px;font-weight:700;box-shadow:0 2px 7px #42391b30}.task-art-fallback{display:grid;place-items:center;height:100%;padding:12px;box-sizing:border-box;font-size:18px;color:#544c36}.task-card-copy{display:flex;flex-direction:column;gap:8px;padding:14px;min-width:0;box-sizing:border-box}.task-card-meta{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:14px;line-height:1.4;color:var(--ui-muted)}.task-card-meta small{font-size:14px;white-space:nowrap;flex-shrink:0}.task-card-copy>strong{font-size:22px;line-height:1.3;overflow-wrap:anywhere}.task-card-location{color:var(--ui-muted);font-size:15px}.task-card-action{margin-top:auto;display:block;padding:10px 12px;background:var(--ui-accent);color:var(--ui-on-accent);border-radius:9px;font-size:18px;text-align:center}.task-picker .lesson-pager{margin-top:auto}.task-picker-error{font-size:15px!important;color:var(--ui-error);margin:0}.task-town{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px}.task-districts{display:flex;gap:8px;flex-shrink:0}.task-districts>button{flex:1;min-height:52px;font-size:17px;padding:4px 8px}.task-districts small{display:block;font-size:13px;line-height:1.4;color:var(--ui-muted)}.task-town-body{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:14px;flex:1;min-height:0}.task-map-region{position:relative;min-height:0;overflow:hidden;border-radius:16px;background:#d9e5c8;border:1px solid var(--ui-border);isolation:isolate}.task-map-frame{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center}.task-map-canvas{position:relative;flex-shrink:0;isolation:isolate}.task-map-panorama{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;overflow:hidden}.task-map-panorama>img{position:absolute;width:300%;height:100%;max-width:none;object-fit:fill}.math-app .task-map-pin{position:absolute;transform:translate(-50%,-50%);min-height:72px;min-width:112px;max-width:46%;padding:7px 10px;display:flex;align-items:center;flex-direction:column;gap:2px;background:#fff9edee;color:#514633;border:2px solid #c4ad7d;border-radius:15px;box-shadow:0 4px 12px #433a2c30;line-height:1.25}.task-map-pin .task-pin-number{display:grid;place-items:center;position:absolute;top:-16px;left:calc(50% - 15px);width:30px;height:30px;background:#fff7df;color:#68582e;border:2px solid #c4ad7d;border-radius:50%;font-size:14px;font-weight:700;box-sizing:border-box}.task-map-pin strong{font-size:17px;padding-top:8px}.task-map-pin small{font-size:13px}.math-app .task-map-pin[aria-pressed=true]{background:#fff4d2;border-color:#846529;box-shadow:0 0 0 3px #fff9e9c0,0 5px 12px #433a2c40}.math-app .task-map-pin[data-remembered=true] .task-pin-number{background:#486745;color:#fff;border-color:#486745}.math-app .task-map-pin,.math-app .task-map-pin:hover:not(:disabled),.math-app .task-map-pin:active{transform:translate(-50%,-50%)}.task-map-preview{display:flex;flex-direction:column;min-height:0;overflow:hidden;border:1px solid var(--ui-border);border-radius:16px;background:var(--ui-surface)}.task-map-preview>.task-picture{flex:1;min-height:80px}.task-preview-copy{display:flex;flex-direction:column;gap:10px;padding:14px}.task-preview-copy h3{font-size:23px;line-height:1.3;margin:0}.task-map-memory{font-size:15px!important;line-height:1.5;margin:0;color:var(--ui-muted)}.task-map-start{width:100%;min-height:44px;font-size:18px}.task-map-caption{display:flex;justify-content:space-between;gap:8px;font-size:14px!important;line-height:1.4;margin:0;flex-shrink:0;color:var(--ui-muted)}.task-map-failed{background:radial-gradient(ellipse at 30% 35%,#eedbb1 0,transparent 55%),#cddfba}.task-briefing{display:flex;flex-direction:column;gap:16px}.task-briefing h2,.task-briefing p{margin:0}.task-briefing>button{align-self:center;min-height:44px}@media (min-width:600px) and (min-height:500px) and (max-height:650px){.task-card-copy{padding:8px;gap:4px}.task-card-copy>strong{font-size:19px}.task-card-action{font-size:16px;padding:7px}.task-card-location{font-size:14px}}@media (max-width:599px){.math-app .math-modal:has(.task-picker){padding:10px 12px}.task-picker{gap:10px}.task-picker-cards{grid-template-columns:1fr;grid-template-rows:1fr}.math-app .task-card{grid-template-columns:1fr;grid-template-rows:minmax(90px,1fr) auto}.task-card-copy{padding:12px;gap:9px}.task-card-copy>strong{font-size:23px}.task-town-body{grid-template-columns:1fr;grid-template-rows:minmax(200px,1fr) auto;gap:8px}.task-map-preview{display:grid;grid-template-columns:28% minmax(0,1fr)}.task-preview-copy{padding:10px;gap:6px}.task-preview-copy h3{font-size:20px}.task-preview-copy .task-card-meta{font-size:13px}.task-map-memory{font-size:14px!important}.task-districts>button{font-size:15px;min-height:48px;padding:3px}.task-map-caption{font-size:13px!important;display:block}.task-map-caption>span{display:none}.task-town{gap:8px}}@media (max-height:499px){.math-app .math-modal:has(.task-picker){height:calc(100dvh - 12px);padding:5px 14px;gap:4px}.task-picker{gap:6px}.task-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.task-picker-heading h2{font-size:20px}.task-picker-heading p{margin:0;font-size:14px}.task-picker-cards{grid-template-columns:1fr;grid-template-rows:1fr}.math-app .task-card{grid-template-columns:35% minmax(0,1fr);grid-template-rows:1fr}.task-card-copy{padding:8px 12px;gap:4px}.task-card-copy>strong{font-size:21px}.task-card-location{display:none}.task-card-action{font-size:16px;padding:6px}.task-card-meta{font-size:14px}.task-picker .lesson-pager{height:44px}.task-briefing{gap:9px}.task-briefing p{font-size:16px}.task-town{gap:6px}.task-districts>button{min-height:44px;font-size:15px}.task-districts small{display:inline;margin-left:8px;font-size:12px}.task-town-body{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);grid-template-rows:1fr;gap:10px}.task-map-preview>.task-picture{display:none}.task-preview-copy{padding:8px;gap:5px;flex:1;justify-content:space-between}.task-preview-copy h3{font-size:20px}.task-preview-copy .task-card-meta{font-size:13px}.task-map-memory{font-size:13px!important;line-height:1.3}.task-map-caption{display:none}.math-app .task-map-pin{min-height:44px;min-width:110px;flex-direction:row;flex-wrap:wrap;justify-content:center;padding:4px 7px;gap:2px 5px;border-radius:12px}.task-map-pin .task-pin-number{position:static;width:25px;height:25px;flex-shrink:0}.task-map-pin strong{font-size:15px;padding:0}.task-map-pin small{font-size:12px}.task-map-start{font-size:16px}}@media (max-height:499px){.task-town-body{grid-template-columns:minmax(160px,.8fr) minmax(0,1.2fr)}.math-app .task-map-pin{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;max-width:none}.task-map-pin .task-pin-number{width:34px;height:34px;font-size:16px;border:0;background:transparent}.task-map-pin strong,.task-map-pin small{display:none}}html[data-interface-theme] .math-app .math-modal:has(.task-picker){--picker-panel: #f2f7ef6b;--picker-card: #fcfff880;--picker-control-ink: #fffef2;--picker-glass-start: #244b3edb;--picker-glass-end: #365b4ddb;--picker-glass-hover: #305846db;--picker-glass-selected: #244b3edb;background:var(--picker-panel);border-color:var(--ui-border);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}html[data-interface-theme=blue] .math-app .math-modal:has(.task-picker){--picker-panel: #edf5fb6b;--picker-card: #f5fbff80;--picker-glass-start: #21475fdb;--picker-glass-end: #355d73db;--picker-glass-hover: #2c536ddb;--picker-glass-selected: #21475fdb}html[data-interface-theme=rose] .math-app .math-modal:has(.task-picker){--picker-panel: #fff2f06b;--picker-card: #fff9f780;--picker-glass-start: #683e42db;--picker-glass-end: #81535adb;--picker-glass-hover: #74454ddb;--picker-glass-selected: #683e42db}html[data-interface-theme=dark] .math-app .math-modal:has(.task-picker){--picker-panel: #1625336b;--picker-card: #26394980;--picker-glass-start: #304e66db;--picker-glass-end: #355970db;--picker-glass-hover: #355970db;--picker-glass-selected: #244860db}html[data-interface-theme] .math-app .math-modal:has(.task-picker) button{background:linear-gradient(100deg,var(--picker-glass-start),var(--picker-glass-end));border-color:var(--ui-border);color:var(--picker-control-ink);box-shadow:inset 0 1px #ffffff26,0 2px 6px #1025361a;text-shadow:var(--control-text-halo);backdrop-filter:none;-webkit-backdrop-filter:none}html[data-interface-theme] .math-app .math-modal:has(.task-picker) button:hover:not(:disabled){background:linear-gradient(100deg,var(--picker-glass-hover),var(--picker-glass-start))}html[data-interface-theme] .math-app .math-modal:has(.task-picker) button[aria-pressed=true]{background:var(--picker-glass-selected);border-color:var(--ui-accent);box-shadow:inset 0 -3px #ffffffbf,0 2px 6px #10253626}html[data-interface-theme] .math-app .math-modal:has(.task-picker) button:focus-visible{outline:3px solid var(--ui-accent);outline-offset:3px}html[data-interface-theme] .math-app .math-modal:has(.task-picker) button:disabled{background:var(--button-glass-disabled);opacity:1;box-shadow:none;cursor:not-allowed;border-style:dashed;color:var(--ui-disabled-text)}html[data-interface-theme] .math-app .math-modal:has(.task-picker) .task-card,html[data-interface-theme] .math-app .math-modal:has(.task-picker) .task-map-preview{background:var(--picker-card);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);color:var(--ui-text);border-color:var(--ui-border);text-shadow:var(--control-text-halo)}html[data-interface-theme] .math-app .math-modal:has(.task-picker) .task-card:hover:not(:disabled){background:var(--button-glass-surface);border-color:var(--ui-accent)}html[data-interface-theme] .math-app .math-modal:has(.task-picker) .task-map-preview{background:rgba(var(--panel-glass-rgb),var(--panel-dialogue-alpha))}html[data-interface-theme] .math-app .math-modal:has(.task-picker) .task-card[aria-current=true]{border-color:var(--ui-accent);box-shadow:0 0 0 2px var(--ui-accent)}html[data-interface-theme] .math-app .math-modal:has(.task-picker) .task-card-action{background:transparent;color:var(--ui-text);border:1px solid var(--ui-border)}html[data-interface-theme] .math-app .math-modal:has(.task-picker) .task-districts small{color:inherit}@media (max-height: 499px){html[data-interface-theme] .math-app .math-modal:has(.task-picker) .task-map-pin .task-pin-number{color:var(--picker-control-ink);text-shadow:var(--control-text-halo)}}.math-app.eq-app .lesson-paged-modal:has(.eq-live-builder){width:min(1000px,96vw)}.math-app.eq-app .eq-live-builder{--eq-live-icon:clamp(56px,8dvh,76px);--eq-live-card-width:calc(var(--eq-live-icon) + 28px);display:grid;grid-template-columns:minmax(190px,.4fr) minmax(0,1fr);gap:14px;width:100%;height:clamp(240px,44dvh,440px);flex-shrink:0;min-height:0;color:var(--ui-text)}.math-app.eq-app .eq-live-palette{display:flex;flex-direction:column;gap:8px;min-height:0}.math-app.eq-app .eq-live-palette>strong,.math-app.eq-app .eq-live-preview>strong{font-size:var(--lesson-font-diagram-label);line-height:var(--lesson-line-diagram-label);text-align:center}.math-app.eq-app .eq-live-palette>div{display:grid;gap:8px}.math-app.eq-app .eq-live-palette button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:72px;padding:8px;font-size:var(--lesson-font-diagram-label);line-height:1.4}.math-app.eq-app .eq-live-palette .eq-icon{width:56px;height:56px}.math-app.eq-app .eq-live-preview{position:relative;display:flex;flex-direction:column;gap:6px;padding:8px;border:2px dashed var(--ui-border);border-radius:14px;background:var(--ui-soft);min-width:0;min-height:0}.math-app.eq-app .eq-live-grid{display:grid;justify-content:center;align-content:center;align-items:center;gap:6px;min-width:0;min-height:0;flex:1;grid-auto-rows:max-content}.math-app.eq-app .eq-live-metric{position:absolute;visibility:hidden;pointer-events:none;width:var(--eq-live-card-width);height:calc(var(--eq-live-icon) + 42px)}.math-app.eq-app .eq-live-grid>.eq-live-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%;min-width:44px;min-height:44px;padding:6px;border:1px solid var(--ui-border);font-size:var(--lesson-font-diagram-label);line-height:var(--lesson-line-diagram-label)}.math-app.eq-app .eq-live-card>.eq-icon{width:var(--eq-live-icon);height:var(--eq-live-icon)}.math-app.eq-app .eq-live-card>b{position:absolute;top:1px;right:4px;font-size:20px;line-height:22px;color:var(--ui-muted)}.math-app.eq-app .eq-live-card[data-recent=true]{border-color:var(--ui-accent);box-shadow:0 0 0 2px var(--ui-selected)}.math-app.eq-app .eq-live-pagebar{height:44px;min-height:44px;display:flex;align-items:center;justify-content:center;font-size:var(--lesson-font-diagram-label);line-height:var(--lesson-line-diagram-label)}.math-app.eq-app .eq-live-grid>.eq-live-empty{font-size:var(--lesson-font-diagram-label);line-height:var(--lesson-line-diagram-label);text-align:center;margin:0}.math-app.eq-app .eq-live-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media (max-height:500px) and (min-width:600px){.math-app.eq-app .eq-live-builder{height:calc(100dvh - 176px);grid-template-columns:185px minmax(0,1fr);gap:10px}.math-app.eq-app .eq-live-palette{gap:6px}.math-app.eq-app .eq-live-palette button{min-height:48px;padding:4px;gap:4px}.math-app.eq-app .eq-live-palette .eq-icon{width:40px;height:40px}.math-app.eq-app .eq-live-preview{padding:6px;gap:4px}.math-app.eq-app .eq-live-actions{gap:6px}}.application-content{display:contents}.application-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-block:12px}.application-buttons>button{flex:1;min-width:120px}html[data-interface-theme] .math-app.application-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20000;background:transparent;pointer-events:none;isolation:isolate;overflow:visible}.application-layer>.modal-scrim{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:auto;display:grid;place-items:center;padding:16px}html[data-interface-theme] .math-app.application-layer .math-modal{width:min(580px,100%);max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;background:var(--ui-surface);color:var(--ui-text);border:1px solid var(--ui-border);border-radius:20px;padding:20px 24px;text-align:left}.application-panel{font-size:16px;line-height:1.7;overflow-wrap:anywhere}.application-panel h2{margin:12px 0;font-size:26px}.application-panel p{margin:12px 0;font-weight:400}.application-panel .application-error{color:var(--ui-error)}.application-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.application-layer button,.application-update-notice button{font:inherit;padding:10px 16px;border:1px solid var(--ui-border);border-radius:10px;cursor:pointer;background:var(--ui-soft);color:var(--ui-text)}.application-layer button:hover:not(:disabled),.application-update-notice button:hover:not(:disabled){background:var(--ui-selected);color:var(--ui-text)}html[data-interface-theme] .math-app.application-layer button.primary{background:var(--ui-accent);color:var(--ui-on-accent)}html[data-interface-theme] .math-app.application-layer button.primary:is(:hover,:active):not(:disabled){background:var(--ui-accent-hover);color:var(--ui-on-accent)}.application-layer button:disabled{background:var(--ui-disabled);color:var(--ui-disabled-text);opacity:1;cursor:default}.application-layer button:focus-visible,.application-update-notice button:focus-visible{outline:3px solid var(--ui-focus);outline-offset:3px}.application-update-notice{position:fixed;z-index:1500;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--ui-surface);color:var(--ui-text);border:1px solid var(--ui-border);border-radius:14px;font:14px/1.5 system-ui,sans-serif;box-shadow:0 3px 15px #0002}@media (max-height:450px){.application-layer .math-modal{padding:12px 18px}.application-panel h2{font-size:21px;margin:6px 0}.application-panel p{margin:8px 0}.application-actions{margin-top:10px}.application-update-notice{top:6px;padding:6px 10px}}.math-app .math-modal:has(>.lesson-settings){display:flex;flex-direction:column;width:min(1140px,calc(100vw - 48px));max-height:calc(100dvh - 48px);padding:16px 22px;overflow:hidden;gap:10px}.math-app .math-modal:has(>.lesson-settings)>.modal-top{flex-shrink:0;min-height:44px}.lesson-settings{display:flex;flex-direction:column;gap:16px;min-height:0;text-align:left}.lesson-settings-heading{display:flex;flex-direction:column;align-items:center;gap:16px;flex-shrink:0}.math-app .lesson-settings-heading>h2{text-align:center;font-size:24px;line-height:1.35;margin:0}.lesson-settings-categories{display:flex;justify-content:center;gap:10px;flex-shrink:0}.lesson-settings-categories>button{min-width:120px}.lesson-settings-context{width:min(100%,720px);margin-inline:auto;display:grid;gap:14px}.lesson-settings-body{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;touch-action:pan-y pinch-zoom;scrollbar-gutter:stable;scroll-padding-block:12px;display:flex;flex-direction:column;gap:12px;padding:2px 8px 6px 2px}.lesson-settings-body{scrollbar-color:var(--ui-border) var(--ui-soft)}.lesson-settings-body::-webkit-scrollbar-track{background:var(--ui-soft);box-shadow:none}.lesson-settings-body::-webkit-scrollbar-thumb{background:var(--ui-border);box-shadow:none}.lesson-settings-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.lesson-settings-group{min-width:0;padding:16px;border:1px solid var(--ui-separator);border-radius:16px;background:var(--ui-surface);display:flex;flex-direction:column;align-items:stretch;gap:12px}.lesson-settings-group:has(.setting-row){background:color-mix(in srgb,var(--ui-surface) 24%,transparent)}.lesson-settings-group h3{font-size:19px;line-height:1.4;color:var(--ui-text);margin:0}.math-app .lesson-settings-group p{font-size:16px;line-height:1.5;margin:0}.lesson-settings-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lesson-settings-group>.account-entry{align-self:flex-start}.lesson-settings-footer{display:flex;justify-content:center;flex-shrink:0;gap:12px;padding-top:4px}.math-app .lesson-settings button{min-height:44px;font-size:17px;white-space:normal;padding:8px 12px}.math-app .lesson-settings textarea{width:100%;min-height:130px;resize:vertical;font-size:16px}.math-app .lesson-settings .setting-row{font-size:17px}.lesson-settings .setting-row input[type=checkbox]{flex-shrink:0}.math-app .lesson-settings .interface-theme-settings .small-note{font-size:14px;margin:8px 0 0}.lesson-settings>p[role=status]{margin:0;flex-shrink:0}@media (min-width:800px){.lesson-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1100px){.lesson-settings-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-height:599px),(max-width:599px){.math-app .math-modal:has(>.lesson-settings){width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:10px 12px;gap:6px}.lesson-settings{gap:10px}.lesson-settings-heading{flex-direction:row;justify-content:space-between;flex-wrap:wrap;gap:8px}.math-app .lesson-settings-heading>h2{font-size:20px}.lesson-settings-grid{gap:10px}.lesson-settings-group{padding:12px}}.eq-rules{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px;text-align:center}.eq-rule{display:flex;align-items:center;justify-content:center;gap:12px;flex:1 1 300px;min-width:0;border:1.5px solid #9eb68e;background:#eaf1e2;border-radius:13px;padding:8px}.eq-rule-side{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:center}.eq-rule-quantity{display:flex;align-items:center;gap:4px;font-size:15px;white-space:nowrap}.eq-rule-quantity strong{font-size:24px}.eq-rule-quantity .eq-icon{width:42px;height:42px}.eq-equivalent{font-size:27px;color:#507058}.eq-icon{width:60px;height:60px;flex-shrink:0;display:inline-block;vertical-align:middle}.eq-board-top{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:4px 0 8px;flex-wrap:wrap}.eq-board-top span{font-size:13px;color:#52634e}.eq-board{display:flex;gap:9px;flex-wrap:wrap;align-content:flex-start;min-height:112px;border:2px dashed #90ad8c;background:#eef5e8;padding:12px;border-radius:15px}.eq-board>p{align-self:center;color:#52634e;font-size:17px;margin:auto}.math-app .eq-board-card{display:flex;flex-direction:column;align-items:center;width:82px;min-height:92px;padding:7px}.eq-board-card>span{font-size:14px}.eq-board-card .eq-icon{width:52px;height:52px}.eq-palette{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0}.math-app .eq-palette button{display:flex;align-items:center;font-size:15px;padding:6px 10px}.eq-palette .eq-icon{width:35px;height:35px}.eq-swaps{padding:10px;background:#e8f1e3;border:1px solid #abc2a4;border-radius:12px}.eq-swaps>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.eq-swaps small{font-size:14px;color:#426354}.eq-board-tools{display:flex;gap:8px;flex-wrap:wrap;padding:12px 0}.eq-board-tools button{font-size:14px}.eq-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:center;padding:8px 0}.eq-story-card{display:flex;flex-direction:column;align-items:center;gap:16px;padding:16px 6px;text-align:center;justify-content:center}.eq-story-card p{font-size:21px;max-width:100%;margin:4px 0}.eq-story-card h2{font-size:28px;margin:0}.eq-group{display:inline-flex;gap:4px;flex-wrap:wrap;justify-content:center;max-width:100%}.eq-small-card{position:relative;display:inline-flex;align-items:center;flex-direction:column;font-size:13px}.eq-small-card>.eq-icon{width:46px;height:46px}.eq-small-card>b{position:absolute;top:0;right:0;background:#527a52;color:#fff;border-radius:50%;padding:1px 5px}.eq-grouped{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:center;max-width:100%}.eq-grouped>.eq-group{border:2px dashed #91af8c;border-radius:13px;padding:10px;background:#eef6e9}.eq-explanations{display:flex;flex-wrap:wrap;gap:10px;width:100%;justify-content:center}.eq-explanations>button{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px}.eq-explanations .eq-small-card>.eq-icon{width:28px;height:28px}.eq-explanations .eq-small-card>span{display:none}.eq-explanations .eq-grouped>.eq-group{padding:3px}.eq-explanations .eq-grouped{gap:4px}.eq-welcome-lantern{width:160px;height:170px;position:relative;filter:drop-shadow(0 0 14px #ffce7770)}.eq-welcome-lantern>.eq-icon{width:100%;height:100%}.eq-welcome-lantern>span{position:absolute;left:0;right:0;top:35%;font-size:38px;color:#806153;line-height:1}.eq-flower-choice{display:flex;align-items:center;gap:10px;font-size:17px;flex-wrap:wrap}.eq-flower-choice input{width:24px;height:24px}.eq-optional{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;width:100%;border-top:1px solid #b7c8ac;padding-top:10px}.eq-optional small{width:100%;font-size:15px;text-align:center}.eq-help-copy{font-size:23px;line-height:1.7}.eq-equation{padding:12px;background:#e5efdd;border-radius:12px;font-weight:700}.eq-review{border-top:1px solid #b4cba6;padding:10px 0}.eq-review p{font-size:17px}.eq-yard-decoration{position:absolute;z-index:2;top:12%;right:12%;pointer-events:none;display:flex;flex-direction:column;align-items:center;color:#3a5667;text-shadow:0 1px white}.eq-yard-decoration .eq-welcome-lantern{width:85px;height:100px}.eq-yard-decoration .eq-welcome-lantern>span{font-size:23px}.eq-yard-decoration b{background:#fffbeaeb;padding:3px 9px;border-radius:9px}@media (max-width:760px){.eq-rules{gap:6px}.eq-rule{min-width:100%;padding:5px;gap:6px}.eq-rule-quantity{font-size:13px}.eq-rule-quantity strong{font-size:21px}.eq-rule-quantity .eq-icon{width:30px;height:30px}.eq-board{gap:7px;padding:8px}.math-app .eq-board-card{width:65px;min-height:78px;padding:4px}.eq-board-card .eq-icon{height:43px;width:43px}.math-app .eq-palette button{font-size:14px;padding:5px 7px}.eq-palette .eq-icon{width:30px;height:30px}.eq-swaps button{font-size:14px;padding:7px 9px}.eq-actions{gap:9px}.eq-story-card p{font-size:18px}.eq-grouped{gap:8px}.eq-grouped>.eq-group{padding:6px}.eq-small-card>.eq-icon{width:35px;height:35px}.eq-explanations .eq-small-card>.eq-icon{width:22px;height:22px}.eq-explanations>button{font-size:14px;padding:7px}.eq-help-copy{font-size:19px}.eq-yard-decoration{right:8%;top:10%}}.eq-board-content{display:flex;flex-direction:column;gap:6px;width:100%;height:100%;min-height:0}.eq-card-page{display:grid;justify-content:center;align-content:center;align-items:center;gap:6px;flex:1;min-height:0;width:100%}.eq-card-page>p{grid-column:1 / -1;text-align:center;margin:0;font-size:16px}.math-app .eq-card-page .eq-board-card{width:100%;min-width:44px;min-height:44px;max-height:100%;padding:4px;gap:2px}.eq-card-page .eq-board-card .eq-icon{width:clamp(28px,5dvh,50px);height:clamp(28px,5dvh,50px)}.eq-card-page .eq-board-card>span{font-size:13px;line-height:1.3}.eq-board-controls{display:flex;justify-content:center;align-items:center;gap:6px;flex-shrink:0}.math-app .eq-board-controls>button{min-height:44px;min-width:44px;padding:5px 8px;font-size:15px}.eq-board-controls .lesson-pager{gap:4px}.eq-board-controls .lesson-pager>span{min-width:33px;font-size:13px}.eq-short-answer{display:flex;gap:7px;align-items:center;font-size:18px;white-space:nowrap}.eq-short-answer input{width:62px;min-height:44px;border:2px solid #7c8d6e;border-radius:10px;background:#fff;font-size:23px;text-align:center;color:var(--ink)}.eq-short-answer>span{font-size:16px}.eq-story-card{max-height:100%;min-height:0;padding:0;gap:10px}.eq-story-card .eq-welcome-lantern{width:110px;height:115px;flex-shrink:1;min-height:0}.eq-story-card .eq-welcome-lantern>span{font-size:28px}.eq-story-card>strong{font-size:20px}.eq-story-card>small{font-size:15px}.eq-story-card .eq-grouped{gap:8px}.eq-story-card .eq-small-card>.eq-icon{width:36px;height:36px}.eq-shades{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.eq-shades>button{font-size:16px;padding:7px 12px}.eq-explanation-page{height:100%;display:flex;flex-direction:column;justify-content:center;gap:8px;align-items:center;text-align:center}.eq-explanation-picture{flex:1;min-height:0;display:flex;align-items:center;justify-content:center}.eq-explanation-picture .eq-small-card>.eq-icon{width:32px;height:32px}.eq-explanation-picture .eq-small-card>span{display:none}.eq-explanation-picture .eq-grouped{gap:5px}.eq-explanation-picture .eq-grouped>.eq-group{padding:5px;gap:2px}.eq-explanation-page>strong{font-size:17px}.eq-own-method{font-size:21px;color:#426354}.eq-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}.math-app .eq-tool-grid button{min-height:44px;font-size:17px;padding:9px 12px}.eq-tool-grid>div{display:flex;flex-direction:column;gap:8px}.eq-tool-grid .eq-icon{width:42px;height:42px;vertical-align:middle;margin-right:6px}.eq-modal-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.math-app .eq-modal-actions button{min-height:44px;font-size:16px;padding:7px 12px}.eq-digit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:360px;width:100%;align-self:center}.math-app .eq-digit-grid>button{min-height:44px;font-size:21px;padding:6px}.eq-keypad-output{font-size:26px;line-height:1.4;font-weight:700}.eq-count-row{display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px}.eq-count-row .eq-icon{width:40px;height:40px}.lesson-paged-modal .eq-review{border:0;padding:0}.lesson-paged-modal .eq-review>p{margin:4px 0}.lesson-paged-modal .eq-small-card>.eq-icon{width:38px;height:38px}.lesson-paged-modal .eq-equation{padding:7px;font-size:17px}.lesson-paged-modal .eq-help-copy{font-size:19px}@media (max-width:760px){.eq-rules{gap:5px;margin-top:5px}.eq-rule{padding:4px;gap:5px}.eq-rule-quantity{font-size:12px;gap:3px}.eq-rule-quantity strong{font-size:19px}.eq-rule-quantity .eq-icon{width:28px;height:28px}.eq-equivalent{font-size:23px}.eq-short-answer{font-size:16px}.eq-short-answer input{width:52px;font-size:22px}.eq-short-answer>span{font-size:14px}.eq-story-card .eq-welcome-lantern{width:90px;height:95px}.eq-story-card .eq-small-card>.eq-icon{width:28px;height:28px}.eq-story-card .eq-small-card>span{font-size:11px}.eq-story-card>strong{font-size:18px}.eq-shades{gap:5px}.eq-shades>button{font-size:14px;padding:5px 8px;min-height:44px}.eq-explanation-picture .eq-small-card>.eq-icon{width:22px;height:22px}.eq-explanation-picture .eq-grouped{gap:4px}.eq-explanation-picture .eq-grouped>.eq-group{padding:4px}.eq-explanation-page>strong{font-size:15px}.math-app .eq-tool-grid button{font-size:16px;padding:7px 8px}.eq-tool-grid .eq-icon{width:32px;height:32px}.math-app .eq-modal-actions button{font-size:15px;padding:6px 9px}}@media (max-height:500px) and (min-width:600px){.eq-rules{margin-top:3px;gap:6px}.eq-rule{flex-basis:0;min-width:0;padding:3px;gap:6px}.eq-rule-quantity{font-size:12px}.eq-rule-quantity strong{font-size:19px}.eq-rule-quantity .eq-icon{width:25px;height:25px}.eq-equivalent{font-size:21px}.eq-short-answer{font-size:15px}.eq-short-answer input{min-height:44px;width:50px;font-size:21px}.eq-short-answer>span{font-size:14px}.eq-story-card{gap:5px;flex-direction:row;flex-wrap:wrap}.eq-story-card .eq-welcome-lantern{width:70px;height:75px}.eq-story-card .eq-welcome-lantern>span{font-size:20px}.eq-story-card .eq-small-card>.eq-icon{width:26px;height:26px}.eq-story-card .eq-small-card>span{font-size:11px}.eq-story-card>strong{font-size:17px}.eq-story-card>small{font-size:14px}.eq-explanation-page{gap:3px}.eq-explanation-picture .eq-small-card>.eq-icon{width:25px;height:25px}.math-app .eq-tool-grid button{padding:7px;font-size:16px}.eq-tool-grid .eq-icon{width:30px;height:30px}.lesson-paged-modal .eq-small-card>.eq-icon{width:30px;height:30px}.lesson-paged-modal .eq-small-card>span{font-size:12px}.lesson-paged-modal .eq-grouped>.eq-group{padding:5px}.lesson-paged-modal .eq-help-copy{font-size:18px}.lesson-paged-modal .eq-equation{font-size:16px;padding:5px}}.math-app.eq-welcome[data-fit-screen=true] .lesson-workspace>.speaker-portrait:has(.xiaohe-six-character){overflow-x:visible;overflow-y:clip}.eq-welcome .xiaohe-six-character:not(.haru-ready){overflow:clip}.eq-welcome .eq-card-page>p{display:none}.eq-welcome .eq-explanation-short{display:none}.eq-welcome .eq-welcome-rules{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin-top:4px;color:var(--ui-text)}.eq-welcome .eq-welcome-rules>span{padding:3px 8px;border:1px solid var(--ui-border);background:var(--ui-soft);border-radius:10px;font-size:17px;line-height:24px}.eq-welcome .eq-fruit-plan{display:grid;grid-template-columns:1fr 1fr;gap:10px;justify-items:center;align-items:center;color:var(--ui-text)}.eq-welcome .eq-fruit-plan>div{display:flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid var(--ui-border);background:var(--ui-soft);border-radius:12px;font-size:19px}.eq-welcome .eq-fruit-plan>span,.eq-welcome .eq-fruit-plan>button{grid-column:1 / -1}.eq-welcome .eq-fruit-plan>span{font-size:16px;color:var(--ui-muted)}.eq-welcome .eq-welcome-preview>small{color:var(--ui-muted)}.eq-welcome .eq-welcome-result{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:10px 16px;background:var(--ui-soft);color:var(--ui-text);border:1px solid var(--ui-border);border-radius:14px}.eq-welcome .eq-welcome-result>strong{font-size:22px}.eq-welcome .eq-welcome-result>span{font-size:17px}.eq-welcome .eq-lamp-preview{display:flex;align-items:center;justify-content:center;gap:14px;max-width:100%;color:var(--ui-text)}.eq-welcome .eq-lamp-preview>div:not(.eq-welcome-lantern){display:flex;flex-direction:column;gap:6px;text-align:center}.eq-welcome .eq-lamp-preview strong{font-size:19px}.eq-welcome .eq-lamp-preview span{font-size:17px}.eq-welcome .eq-welcome-decoration .eq-welcome-lantern{width:75px;height:80px;flex-shrink:0}.eq-welcome .eq-welcome-decoration .eq-flower-choice{min-height:44px}.eq-welcome .eq-welcome-ending .eq-welcome-lantern{width:85px;height:90px;flex-shrink:0}.eq-welcome .eq-welcome-ending>.growth-reward{margin:0}@media (max-width:760px){.eq-welcome .eq-fruit-plan{gap:6px}.eq-welcome .eq-fruit-plan>div{padding:6px;gap:4px;font-size:17px;flex-direction:column}.eq-welcome .eq-fruit-plan .eq-icon{width:42px;height:38px}.eq-welcome .eq-fruit-plan>span{font-size:14px}.eq-welcome .eq-welcome-result{padding:8px;gap:6px}.eq-welcome .eq-welcome-result>strong{font-size:18px}.eq-welcome .eq-welcome-result>span{font-size:16px}.eq-welcome .eq-welcome-result>.eq-icon{width:46px;height:42px}.eq-welcome .eq-lamp-preview{gap:8px}.eq-welcome .eq-lamp-preview strong{font-size:17px}.eq-welcome .eq-lamp-preview span{font-size:16px}.eq-welcome .eq-welcome-decoration .eq-welcome-lantern{width:60px;height:64px}.eq-welcome .eq-welcome-ending .eq-welcome-lantern{width:65px;height:70px}.eq-welcome .eq-explanation-picture .eq-small-card>.eq-icon{width:18px;height:18px}.eq-welcome .eq-explanation-picture .eq-grouped{flex-wrap:nowrap;gap:3px}.eq-welcome .eq-explanation-picture .eq-grouped>.eq-group{padding:3px;gap:1px;flex-wrap:nowrap}}@media (max-height:500px) and (min-width:600px){.math-app.eq-welcome[data-fit-screen=true] .lesson-workspace>.speaker-portrait{height:220px;width:25%;left:-2%;bottom:-65px}.eq-welcome .eq-fruit-plan{grid-template-columns:auto auto auto;gap:6px}.eq-welcome .eq-fruit-plan>div{padding:3px 6px;gap:4px;font-size:16px;flex-direction:row}.eq-welcome .eq-fruit-plan .eq-icon{width:28px;height:28px}.eq-welcome .eq-fruit-plan>span{display:none}.eq-welcome .eq-fruit-plan>button{grid-column:3;grid-row:1;font-size:15px;padding:6px 8px}.eq-welcome .eq-welcome-result{flex-direction:row;gap:8px;padding:6px 10px}.eq-welcome .eq-welcome-result>strong{font-size:17px}.eq-welcome .eq-welcome-result>span{font-size:15px}.eq-welcome .eq-welcome-result>.eq-icon{width:36px;height:32px}.eq-welcome .eq-welcome-preview .eq-welcome-lantern{width:44px;height:46px}.eq-welcome .eq-welcome-demo{flex-direction:row;gap:8px}.eq-welcome .eq-welcome-demo .eq-small-card>.eq-icon{width:24px;height:24px}.eq-welcome .eq-welcome-demo>small{font-size:14px;max-width:160px}.eq-welcome .eq-lamp-preview{gap:8px}.eq-welcome .eq-lamp-preview strong{font-size:16px}.eq-welcome .eq-lamp-preview span{font-size:15px}.eq-welcome .eq-welcome-decoration .eq-welcome-lantern{width:45px;height:48px}.eq-welcome .eq-welcome-ending .eq-welcome-lantern{width:50px;height:55px}.eq-welcome .eq-welcome-ending{gap:6px;display:grid;grid-template-columns:auto 1fr}.eq-welcome .eq-welcome-ending .eq-lamp-preview{grid-row:1 / 3}.eq-welcome .eq-welcome-ending>.growth-reward{padding:3px 8px}.eq-welcome .eq-welcome-ending .reward-stars{font-size:18px;line-height:22px;letter-spacing:2px}.eq-welcome .eq-welcome-ending .growth-reward strong{font-size:16px;line-height:24px;margin:0}.eq-welcome .eq-welcome-ending>strong{font-size:16px}.eq-welcome .eq-welcome-ending>small{font-size:14px}.eq-welcome .eq-welcome-rules{margin-top:2px}.eq-welcome .eq-welcome-rules>span{font-size:16px;padding:1px 8px}.eq-welcome .eq-explanation-page{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto 44px;gap:2px 8px;align-content:center;justify-content:center;height:auto;max-height:100%}.eq-welcome .eq-explanation-page>.lesson-pager{grid-column:1 / -1}.eq-welcome .eq-explanation-picture .eq-small-card>.eq-icon{width:18px;height:18px}.eq-welcome .eq-explanation-picture .eq-grouped{flex-wrap:nowrap;gap:3px}.eq-welcome .eq-explanation-picture .eq-grouped>.eq-group{padding:2px;gap:1px;flex-wrap:nowrap}.eq-welcome .eq-explanation-full{display:none}.eq-welcome .eq-explanation-short{display:inline}}.eq-app .eq-icon{object-fit:contain}.math-app.eq-app .eq-skip-story{white-space:nowrap;flex-shrink:0}.eq-app .eq-media-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.eq-app .eq-media-heading>button{font-size:14px;min-height:44px;flex-shrink:0;padding:5px 8px}@media (max-width:760px) and (max-height:500px) and (min-width:600px){.math-app.eq-app[data-fit-screen=true] .dialogue-tools{gap:4px}.math-app.eq-app[data-fit-screen=true] .dialogue-tools>button{width:56px;min-width:44px;padding:4px;white-space:normal;line-height:1.15}}.math-app.eq-app{--eq-object-size:clamp(96px,16dvh,192px);--eq-group-size:clamp(72px,12dvh,144px);--eq-rule-size:clamp(42px,7dvh,76px);--eq-card-size:calc(var(--eq-object-size) + 20px)}.math-app.eq-app .activity-visual .eq-small-card>.eq-icon,.math-app.eq-app .activity-visual .eq-welcome-result>.eq-icon,.math-app.eq-app .activity-visual .eq-fruit-plan .eq-icon{width:var(--eq-object-size);height:var(--eq-object-size)}.math-app.eq-app .activity-visual .eq-small-card>span{font-size:16px;line-height:1.3}.math-app.eq-app .eq-group{display:inline-grid;grid-template-columns:repeat(var(--eq-group-columns,3),max-content);gap:8px;align-items:center;justify-content:center}.math-app.eq-app .eq-grouped .eq-small-card>.eq-icon,.math-app.eq-app .eq-explanation-picture .eq-small-card>.eq-icon{width:var(--eq-group-size);height:var(--eq-group-size)}.math-app.eq-app .eq-explanation-picture .eq-grouped{flex-wrap:wrap;gap:8px}.math-app.eq-app .eq-explanation-picture .eq-grouped>.eq-group{padding:8px;gap:6px}.math-app.eq-app .eq-explanation-page{gap:6px}.math-app.eq-app .eq-explanation-picture{flex:0 1 auto}.math-app.eq-app .eq-fruit-plan>div{flex-direction:column}.math-app.eq-app .activity-visual .eq-welcome-lantern{width:var(--eq-object-size);height:calc(var(--eq-object-size)*1.1);flex-shrink:0}.math-app.eq-app .activity-visual .eq-welcome-lantern>span{font-size:calc(var(--eq-object-size)*.24)}.math-app.eq-app .eq-rule-quantity{position:relative;display:grid;grid-template-columns:auto auto;gap:2px 5px;justify-items:center;align-items:center;font-size:14px}.math-app.eq-app .eq-rule-quantity>.eq-icon{width:var(--eq-rule-size);height:var(--eq-rule-size)}.math-app.eq-app .eq-rule-quantity>span{grid-column:1 / -1}.math-app.eq-app .eq-rule-quantity:has(>b){margin-left:15px}.math-app.eq-app .eq-rule-quantity>b{position:absolute;left:-18px;top:30%}.math-app.eq-app .eq-rule-quantity>strong{font-size:26px}.math-app.eq-app .eq-rule{gap:12px;padding:7px}.math-app.eq-app .eq-rule-side{gap:8px}.math-app.eq-app .eq-board-content{position:relative}.math-app.eq-app .eq-card-metric{position:absolute;visibility:hidden;pointer-events:none;width:var(--eq-card-size);height:calc(var(--eq-object-size) + 34px)}.math-app.eq-app .eq-card-page{gap:8px;grid-auto-rows:max-content}.math-app.eq-app .eq-card-page .eq-board-card{padding:6px;gap:4px;max-height:none;min-height:0}.math-app.eq-app .eq-card-page .eq-board-card .eq-icon{width:var(--eq-object-size);height:var(--eq-object-size)}.math-app.eq-app .eq-card-page .eq-board-card>span{font-size:16px;line-height:20px}.math-app.eq-app .lesson-paged-modal{--eq-group-size:clamp(56px,10dvh,96px);--eq-rule-size:clamp(40px,6dvh,60px)}.math-app.eq-app .lesson-paged-modal .eq-small-card>.eq-icon{width:var(--eq-group-size);height:var(--eq-group-size)}.math-app.eq-app .lesson-paged-modal .eq-small-card>span{font-size:14px;line-height:18px}.math-app.eq-app .lesson-paged-modal .eq-grouped{gap:8px}.math-app.eq-app .lesson-paged-modal .eq-group[data-item-count="4"]{grid-template-columns:repeat(4,max-content)}.math-app.eq-app .lesson-paged-modal .eq-group[data-item-count="5"]{grid-template-columns:repeat(5,max-content)}.math-app.eq-app .lesson-paged-modal .eq-group[data-item-count="6"]{grid-template-columns:repeat(6,max-content)}.math-app.eq-app .lesson-paged-modal .eq-tool-grid .eq-icon{width:56px;height:56px}@media (max-height:500px) and (min-width:600px){.math-app.eq-app{--eq-object-size:76px;--eq-group-size:42px;--eq-rule-size:28px}.math-app.eq-app .eq-rule{padding:3px;gap:6px}.math-app.eq-app .eq-rule-quantity{font-size:11px;gap:0 3px}.math-app.eq-app .eq-rule-quantity>strong{font-size:20px}.math-app.eq-app .eq-rule-side{gap:4px}.math-app.eq-app .activity-panel:has(.eq-rules){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);grid-template-rows:minmax(0,1fr)}.math-app.eq-app .activity-panel:has(.eq-rules)>.task-brief{grid-column:1;grid-row:1;display:flex;flex-direction:column;justify-content:center;min-height:0;border-bottom:0;border-right:1px solid var(--ui-border);padding:3px 5px}.math-app.eq-app .activity-panel:has(.eq-rules)>.activity-visual{grid-column:2;grid-row:1;padding:4px;min-width:0}.math-app.eq-app .task-brief:has(.eq-rules)>h2{font-size:16px;line-height:1.25}.math-app.eq-app .task-brief>.eq-rules{flex-direction:column;margin-top:3px;gap:3px}.math-app.eq-app .eq-rule{flex-basis:auto}.math-app.eq-app .eq-group{gap:4px}.math-app.eq-app .activity-visual .eq-small-card>span{font-size:13px}.math-app.eq-app .eq-explanation-picture .eq-grouped{flex-wrap:nowrap;gap:4px}.math-app.eq-app .eq-explanation-picture .eq-grouped>.eq-group{padding:0;gap:3px;border-width:1px}.math-app.eq-app .eq-explanation-page{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) 44px;gap:2px}.math-app.eq-app .eq-explanation-picture{grid-column:1 / -1;grid-row:1}.math-app.eq-app .eq-explanation-page>strong{grid-column:1;grid-row:2;font-size:14px;text-align:left}.math-app.eq-app .eq-explanation-page>.lesson-pager{grid-column:2;grid-row:2}.math-app.eq-app[data-m003-node=N07] .task-brief{display:flex;align-items:center;justify-content:space-between;gap:6px}.math-app.eq-app[data-m003-node=N07] .task-brief>h2{font-size:16px;line-height:1.2;max-width:42%}.math-app.eq-app[data-m003-node=N07] .eq-welcome-rules{flex-direction:column;gap:2px;margin:0}.math-app.eq-app[data-m003-node=N07] .eq-welcome-rules>span{font-size:14px;line-height:17px;padding:0 3px}.math-app.eq-app .eq-board-content{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px}.math-app.eq-app .eq-card-page{width:100%;height:100%;gap:5px}.math-app.eq-app .eq-board-controls{display:grid;grid-template-columns:58px 58px;gap:4px;align-content:center}.math-app.eq-app .eq-board-controls>button{width:56px;padding:4px;font-size:13px;justify-self:center}.math-app.eq-app .eq-board-controls>.lesson-pager{grid-column:1 / -1;gap:1px}.math-app.eq-app .eq-board-controls>.lesson-pager>span{min-width:27px}.math-app.eq-app .eq-card-metric{height:calc(var(--eq-object-size) + 32px)}.math-app.eq-app .eq-card-page .eq-board-card{padding:4px;gap:2px}.math-app.eq-app .eq-card-page .eq-board-card>span{font-size:13px;line-height:17px}.math-app.eq-app .eq-fruit-plan{gap:6px}.math-app.eq-app .eq-fruit-plan>div{flex-direction:row}.math-app.eq-app .eq-welcome-result{padding:4px 8px}.math-app.eq-app .eq-welcome-demo{flex-direction:column;flex-wrap:nowrap;gap:5px;width:100%}.math-app.eq-app .eq-welcome-demo>.eq-group{grid-template-columns:repeat(var(--eq-group-columns),max-content)}.math-app.eq-app .eq-welcome-demo .eq-small-card>span,.math-app.eq-app .eq-welcome-demo>small{display:none}.math-app.eq-app[data-m003-node=N05] .eq-story-card{display:grid;grid-template-columns:minmax(0,1fr) 100px;width:100%;height:100%;gap:6px}.math-app.eq-app[data-m003-node=N05] .eq-grouped{gap:4px;flex-wrap:nowrap}.math-app.eq-app[data-m003-node=N05] .eq-grouped>.eq-group{padding:0;gap:2px;border-width:1px}.math-app.eq-app[data-m003-node=N05] .eq-small-card>span{display:none}.math-app.eq-app[data-m003-node=N05] .eq-story-card>strong{font-size:17px;line-height:1.4}.math-app.eq-app .eq-welcome-decoration{display:grid;grid-template-columns:auto minmax(0,1fr);width:100%;height:100%;gap:6px}.math-app.eq-app .eq-welcome-decoration>.eq-lamp-preview{grid-column:1;grid-row:1 / 3}.math-app.eq-app .eq-welcome-decoration>.eq-shades{grid-column:2;grid-row:1 / 3;display:grid;grid-template-columns:repeat(2,max-content);gap:4px}.math-app.eq-app .eq-welcome-decoration>.eq-flower-choice{grid-column:2;grid-row:1;margin:0}.math-app.eq-app .eq-welcome-decoration>small{grid-column:2;grid-row:2}.math-app.eq-app .lesson-paged-modal{--eq-group-size:44px;--eq-rule-size:28px}.math-app.eq-app .lesson-paged-modal .eq-grouped{gap:4px}.math-app.eq-app .lesson-paged-modal .eq-grouped>.eq-group{padding:4px;gap:3px}.math-app.eq-app .lesson-paged-modal .eq-small-card>span{font-size:12px;line-height:15px}.math-app.eq-app .lesson-paged-modal .eq-tool-grid .eq-icon{width:40px;height:40px}}.math-app.eq-app .eq-stage-review{display:flex;flex-direction:column;align-items:center;gap:12px;min-height:0}.math-app.eq-app .eq-stage-review-footer{display:flex;flex-direction:column;align-items:center;gap:10px}.math-app.eq-app .eq-stage-review .lesson-diagram-note{margin:0;font-size:var(--lesson-font-diagram-note);line-height:var(--lesson-line-diagram-note)}@media (max-height:599px){.math-app.eq-app .eq-stage-review{gap:7px}.math-app.eq-app .eq-stage-review-footer{flex-direction:row;gap:12px}.math-app.eq-app .eq-stage-review-footer .lesson-pager{margin:0;gap:6px}.math-app.eq-app .eq-stage-review-footer .eq-modal-actions{gap:6px;flex-wrap:nowrap}.math-app.eq-app .eq-stage-review-footer button{padding:5px 8px;font-size:14px}.math-app.eq-app .eq-stage-review>.eq-group{grid-template-columns:repeat(var(--eq-review-columns,6),max-content)}}.math-app.eq-app .eq-card-metric{height:calc(var(--eq-object-size) + 42px)}.math-app.eq-app .eq-board-cue{margin:0;text-align:center;font-size:17px;line-height:1.3;flex-shrink:0;color:var(--ui-text)}.math-app.eq-app .eq-board-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;max-width:100%;padding:18px;text-align:center;border:2px dashed var(--ui-border);border-radius:14px;background:var(--ui-soft)}.math-app.eq-app .eq-board-empty>strong{font-size:21px;line-height:1.3}.math-app.eq-app .eq-board-empty>span{font-size:16px;line-height:1.4;color:var(--ui-muted)}.math-app.eq-app .eq-board-empty>button{min-height:48px;font-size:18px;padding:8px 22px}.math-app.eq-app .eq-card-page .eq-card-action{font-size:14px;line-height:18px;color:var(--ui-accent);font-weight:700}.math-app.eq-app .eq-board-swap{border-width:2px;border-color:var(--ui-accent)}.math-app.eq-app .eq-board-remove{position:relative}.math-app.eq-app .eq-remove-mark{position:absolute;right:4px;top:2px;font-size:20px;line-height:20px;color:var(--ui-muted)}.math-app.eq-app .eq-board-result{border:1px solid var(--ui-border);border-radius:14px;background:var(--ui-soft);color:var(--ui-text)}.math-app.eq-app .eq-board-controls>button{white-space:nowrap}.math-app.eq-app .eq-board-controls{width:100%}.math-app.eq-app .eq-board-controls>.eq-board-cue{flex:1;min-width:0;font-size:15px;text-align:left}.math-app.eq-app .eq-board-swap>.eq-card-name{display:none}@media (max-height:500px) and (min-width:600px){.math-app.eq-app .eq-board-content{grid-template-rows:minmax(0,1fr)}.math-app.eq-app .eq-board-cue{display:none}.math-app.eq-app .eq-card-page{grid-column:1;grid-row:1}.math-app.eq-app .eq-board-controls{grid-column:2;grid-row:1}.math-app.eq-app .eq-card-metric{height:calc(var(--eq-object-size) + 32px)}.math-app.eq-app .eq-board-swap>.eq-card-name{display:none}.math-app.eq-app .eq-card-page .eq-card-action{font-size:13px;line-height:17px}.math-app.eq-app .eq-board-empty{gap:5px;padding:4px;border-width:1px;height:100%}.math-app.eq-app .eq-board-empty>strong{font-size:15px}.math-app.eq-app .eq-board-empty>span{font-size:12px}.math-app.eq-app .eq-board-empty>button{min-height:44px;font-size:14px;padding:5px 8px;white-space:nowrap}.math-app.eq-app .eq-board-content[data-board-state=empty]{grid-template-columns:minmax(0,1fr) auto}.math-app.eq-app .eq-board-content[data-board-state=empty]:not(:has(.eq-board-controls>button)){grid-template-columns:minmax(0,1fr)}.math-app.eq-app .eq-board-controls>button{white-space:normal}}.eq-app .lesson-modal:has(.lesson-video){width:min(1080px,96vw);max-height:calc(100dvh - 20px);padding:10px 16px;gap:6px}.eq-app .lesson-video{display:flex;flex-direction:column;gap:6px;min-height:0}.eq-app .lesson-video h2{margin:0;font-size:22px;line-height:1.35}.eq-app .lesson-video video{max-height:calc(100dvh - 210px);min-height:0}.eq-app .lesson-video .video-status{margin:0;line-height:1.45}.eq-app .lesson-video .video-actions{gap:6px;flex-shrink:0}@media (max-height:500px){.eq-app .lesson-modal:has(.lesson-video){padding:8px 12px}.eq-app .lesson-video h2{display:none}.eq-app .lesson-video video{max-height:calc(100dvh - 170px)}.eq-app .lesson-video .video-actions button{min-height:44px;font-size:14px;padding:5px 8px}}.lesson-step-panel{display:flex;flex-direction:column;gap:10px;font-size:20px}.lesson-step-panel h2{font-size:22px;margin:0}.lesson-step-panel .ts-tabs,.lesson-step-panel .ts-footer{display:flex;align-items:center;justify-content:center;gap:8px}.lesson-step-panel .ts-tabs button{flex:1}.lesson-step-panel button{min-height:44px}.lesson-step-panel button[aria-pressed=true]{outline:3px solid var(--ui-focus)}.lesson-step-panel .ts-condition{margin:0;font-size:18px;line-height:1.25;text-align:center}.lesson-step-panel .ts-digits{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.lesson-step-panel output{text-align:center;font-size:24px}.math-app .lesson-step-panel .primary:disabled{background:var(--ui-soft);color:var(--ui-text);opacity:.55;box-shadow:none;cursor:default}.math-app .lesson-step-panel button,.math-app .lesson-step-panel button:hover,.math-app .lesson-step-panel button:active{transform:none}.lesson-step-panel [data-relation-options]{display:flex;flex-direction:column;gap:8px}@media (max-height:500px) and (orientation:landscape){.lesson-step-panel{gap:6px;font-size:18px}.lesson-step-panel h2{display:none}.lesson-step-panel .ts-tabs,.lesson-step-panel .ts-footer{gap:5px}.lesson-step-panel .ts-tabs button,.lesson-step-panel .ts-footer button{font-size:18px}.lesson-step-panel [data-relation-options]{flex-direction:row;gap:5px}.lesson-step-panel [data-relation-options] button{flex:1;font-size:18px;line-height:1.2;padding:5px}}.ts-launch{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;font-size:19px;text-align:left}.ts-launch button{min-height:44px;flex-shrink:0}.ts-launch p{margin:0}.ts-launch span{line-height:1.25}.ts-solution{width:100%;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}.ts-solution h3,.ts-solution p{margin:0}.ts-solution h3{font-size:22px}.ts-solution p{font-size:26px}.ts-solution strong{font-size:22px}.ts-solution span,.ts-solution small{font-size:18px}.math-app .ts-launch button,.math-app .ts-launch button:hover,.math-app .ts-launch button:active{transform:none}@media (max-height:500px) and (orientation:landscape){.ts-launch{font-size:18px;gap:5px}.ts-solution{gap:2px}.ts-solution h3{font-size:18px}.ts-solution p{font-size:22px;line-height:1.2}.ts-solution strong{font-size:18px;line-height:1.2}.ts-solution span,.ts-solution small{display:none}}.tw-card{text-align:center;width:100%;display:flex;flex-direction:column;align-items:center;gap:8px}.tw-card p,.tw-card h3{margin:0}.tw-common{font-size:24px;font-weight:700}.tw-card-case{border:2px solid #c9aa70;border-radius:12px;padding:12px 16px;width:min(100%,650px);background:#fff4d4;color:#5b4630}.tw-card-case h3{font-size:22px}.tw-card-case strong{font-size:26px}.tw-card-case p{font-size:20px;line-height:1.4}.tw-card .lesson-pager{margin:0}.tw-completed{display:flex;flex-direction:column;align-items:center;width:100%;gap:8px}.tw-completed .reward-card{padding:6px}.tw-completed .tw-card{gap:5px}@media (max-height:500px) and (orientation:landscape){.tw-card{gap:2px}.tw-common{font-size:20px}.tw-card-case{padding:2px 8px}.tw-card-case h3{font-size:18px;display:inline;margin-right:12px}.tw-card-case strong{font-size:20px}.tw-card-case p{font-size:18px;line-height:1.2}.tw-completed{gap:2px}.tw-completed .lesson-reward{display:none}}.tw-completed>span{border:1px solid #bda04c;border-radius:9px;background:#fff0ba;color:#715b21;padding:3px 10px;font-size:18px}@media (max-height:500px) and (orientation:landscape){.tw-completed{position:relative}.tw-completed>span{position:absolute;right:0;top:0;padding:0 4px;font-size:16px;line-height:22px;max-width:51%}.tw-completed:has(>span) .tw-common{align-self:flex-start}}@media (max-height:500px) and (orientation:landscape){.tw-completed .tw-card{gap:1px}.tw-card .tw-common{line-height:24px}.tw-card-case{padding:0 8px}.tw-card-case h3,.tw-card-case strong{line-height:24px}}.lesson-answer-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 16px}.lesson-answer-field{display:flex;align-items:center;gap:6px;font-size:var(--lesson-font-diagram-label)}.lesson-answer-value{display:inline-flex;flex-direction:column;align-items:center;gap:2px}.lesson-answer-value small{font-size:15px;line-height:18px;color:var(--ui-error);white-space:nowrap}.math-app{--lesson-attention-red:#d12b38;--lesson-attention-halo:color-mix(in srgb,var(--lesson-attention-red) 35%,transparent)}html[data-interface-theme=dark] .math-app{--lesson-attention-red:#ff8f9c}html[data-interface-theme] .math-app .lesson-answer-value input:is([aria-invalid=true],[data-answer-pending=true]){border:3px solid var(--lesson-attention-red);outline:2px solid var(--lesson-attention-red);outline-offset:1px;animation:lesson-red-attention 1.6s ease-in-out 3}.math-app .lesson-answer-value input[data-answer-pending=true]{font-size:16px;padding-inline:1px}.lesson-answer-value input[data-answer-pending=true]::placeholder{color:var(--lesson-attention-red);opacity:1}.lesson-answer-value .lesson-answer-pending-message{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@keyframes lesson-red-attention{0%,to{box-shadow:0 0 0 1px var(--lesson-attention-halo)}50%{box-shadow:0 0 0 6px var(--lesson-attention-halo)}}@media (prefers-reduced-motion:reduce){html[data-interface-theme] .math-app .lesson-answer-value input:is([aria-invalid=true],[data-answer-pending=true]){animation:none}}.lesson-answer-controls>button{white-space:nowrap;flex-shrink:0}.lesson-answer-controls>.primary{min-width:64px}.lesson-answer-controls input{width:70px;min-height:44px;padding:4px;border:2px solid var(--ui-border);border-radius:10px;background:var(--ui-input);color:var(--ui-text);font-size:24px;text-align:center}.lesson-answer-field .game-art,.lesson-number-fields .game-art{width:52px;height:44px}.lesson-number-fields{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:8px}.lesson-number-fields>button{display:flex;align-items:center;gap:6px}.lesson-number-fields [aria-pressed=true]{outline:3px solid var(--ui-focus)}.lesson-number-keys{display:grid;grid-template-columns:repeat(6,minmax(44px,1fr));gap:8px;margin:12px auto;max-width:560px}.math-app .lesson-number-keys>button{min-height:48px;font-size:24px;padding:6px}@media (max-height:500px) and (orientation:landscape){.lesson-answer-controls{gap:4px 9px}.lesson-answer-field .game-art{display:none}.lesson-answer-controls input{width:58px}.lesson-answer-field{font-size:18px;gap:4px}.lesson-number-pad h2{margin:0 0 5px}.lesson-number-fields{margin:3px}.lesson-number-keys{margin:6px auto;gap:5px}.math-app .lesson-number-keys>button{min-height:44px}}html[data-interface-theme] .math-app :is(button,input,output)[data-lesson-issue],.math-app [data-lesson-group][data-lesson-issue]{outline:3px solid var(--lesson-attention-red);outline-offset:2px;animation:lesson-red-attention 1.6s ease-in-out 3}html[data-interface-theme] .math-app :is(button,input,output)[data-lesson-issue]{border-color:var(--lesson-attention-red)}.math-app input[data-lesson-issue=pending]{font-size:16px;padding-inline:1px}.math-app input[data-lesson-issue=pending]::placeholder{color:var(--lesson-attention-red);opacity:1}@media (prefers-reduced-motion:reduce){html[data-interface-theme] .math-app :is(button,input,output)[data-lesson-issue],.math-app [data-lesson-group][data-lesson-issue]{animation:none}}.reasoning-routes{display:flex;gap:8px;justify-content:center}.reasoning-routes button{flex:1}.reasoning-equation{font-size:23px;min-height:44px}.reasoning-cards>p{font-size:18px;text-align:center;margin:8px}.reasoning-cards>small{display:block;text-align:center}.reasoning-launch{width:100%;max-width:900px;margin:4px auto}.reasoning-launch .ts-launch{justify-content:center}.reasoning-record{font-size:18px}.math-app .reasoning-editor button{transform:none}.math-app .reasoning-launch button{min-height:44px}.math-app.eq-app[data-fit-screen=true] .lesson-content:has(>.reasoning-launch){flex-direction:column;gap:6px}.math-app.eq-app .lesson-content>.reasoning-launch{flex:0 0 auto}.math-app.eq-app .lesson-content:has(>.reasoning-launch)>.eq-board-content{flex:1;min-height:0;height:auto}.math-app.eq-app .reasoning-launch .ts-launch span{max-width:100%;text-align:center}@media (max-height:500px) and (orientation:landscape){.reasoning-routes{gap:4px}.reasoning-routes button{font-size:17px;padding:5px}.reasoning-equation{font-size:20px;padding:4px}.reasoning-cards>p{font-size:16px;margin:2px}.reasoning-launch{margin:0}.reasoning-launch .ts-launch span{font-size:16px;max-width:58%}}.reasoning-lead{font-size:19px;line-height:1.45;text-align:center;margin:6px 0}@media (max-height:500px) and (orientation:landscape){.reasoning-lead{font-size:16px;margin:2px 0}}.math-app.m001-breakfast>.engine-stage{position:fixed;left:0;top:0}.math-app.m001-breakfast .lesson-workspace>.speaker-portrait:has(.xiaohe-six-character){overflow-x:visible;overflow-y:clip}.math-app.m001-breakfast .dialogue-actions>.choices{flex:1;min-width:0;width:auto}.math-app.m001-breakfast .dialogue-actions>button:not(.continue){flex-shrink:0;min-width:108px;white-space:nowrap}.math-app.m001-breakfast .m001-breakfast-visual{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:0;color:var(--ui-text)}.m001-breakfast .breakfast-trays{display:flex;gap:20px;justify-content:center;max-height:100%}.m001-breakfast .breakfast-trays>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:14px 22px;border:2px solid var(--ui-border);border-radius:18px;background:var(--ui-soft);font-size:20px}.m001-breakfast .breakfast-trays .animal-icon{width:90px;height:82px;object-fit:contain}.m001-breakfast .breakfast-trays span{font-size:16px;color:var(--ui-muted)}.m001-breakfast .breakfast-record{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:16px 28px;border-radius:16px;background:var(--ui-paper);color:var(--ui-paper-text);font-size:20px;max-height:100%}.m001-breakfast .breakfast-record-art{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;width:100%;height:100%;object-fit:cover;opacity:.18;border-radius:inherit}.m001-breakfast .breakfast-record-values{display:flex;gap:28px;font-size:24px}.m001-breakfast .breakfast-record-values b{font-size:32px}.m001-breakfast .breakfast-record>span{font-size:16px}.m001-breakfast .breakfast-record-illustrated{width:min(100%,500px);height:270px;padding:30px 38px;gap:20px;background:transparent;border-radius:0;justify-content:space-around}.m001-breakfast .breakfast-record-illustrated .breakfast-record-art{opacity:1;object-fit:fill;overflow:visible}.m001-breakfast .breakfast-record-illustrated .breakfast-record-values{width:100%;justify-content:space-around;gap:12px}.m001-breakfast .breakfast-record-illustrated .breakfast-record-values b{display:inline-block;min-width:1em;text-align:center}.m001-breakfast .breakfast-record-clues{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;text-align:center}.m001-breakfast .breakfast-imagination{display:flex;flex-direction:column;align-items:center;gap:12px;padding:14px;border:2px dashed var(--ui-border);border-radius:16px;background:var(--ui-soft);font-size:18px}.m001-breakfast .breakfast-imagination>div{display:flex;align-items:center;gap:20px;font-size:30px}.m001-breakfast .breakfast-imagination .animal-icon{width:88px;height:78px;object-fit:contain}.m001-breakfast .breakfast-imagination>span{font-size:16px}.math-app.m001-breakfast .recognition .animal-icon{width:110px;height:96px;object-fit:contain}.math-app.m001-breakfast .recognition{display:flex;flex-direction:column;align-items:center;gap:6px}.math-app.m001-breakfast .recognition p{margin:0;font-size:16px}.math-app.m001-breakfast .breakfast-experiment{display:flex;flex-direction:column;align-items:center;gap:8px}.math-app.m001-breakfast .breakfast-experiment p{margin:0;font-size:16px;text-align:center}.math-app.m001-breakfast .animal-board{gap:10px;flex-wrap:nowrap;justify-content:center}.math-app.m001-breakfast .animal-card{width:88px;min-width:0;min-height:70px;padding:6px}.math-app.m001-breakfast .animal-card .animal-icon{width:64px;height:58px;object-fit:contain}.math-app.m001-breakfast .board-wrapper{display:flex;flex-direction:column;align-items:center;gap:7px}.math-app.m001-breakfast .board-label{font-size:15px}.math-app.m001-breakfast .board-totals{margin:0;gap:16px;font-size:18px}.math-app.m001-breakfast .record-summary-animals .animal-icon{width:88px;height:78px;object-fit:contain}.math-app.m001-breakfast .lesson-workspace .animal-card:has(.footprints){display:grid;grid-template-columns:28px 1fr;grid-template-rows:28px 16px;column-gap:3px;align-items:center;justify-items:center;min-height:54px;height:56px}.math-app.m001-breakfast .lesson-workspace .animal-card:has(.footprints) .animal-icon{grid-column:1;grid-row:1;width:28px!important;height:28px!important;padding:0!important}.math-app.m001-breakfast .lesson-workspace .animal-card:has(.footprints)>span{grid-column:1;grid-row:2;font-size:12px;line-height:16px}.math-app.m001-breakfast .lesson-workspace .animal-card>.footprints{grid-column:2;grid-row:1 / 3;display:grid;grid-template-columns:repeat(2,11px);gap:2px;margin:0}.math-app.m001-breakfast .lesson-workspace .animal-card>.footprints .foot{width:11px;height:17px}@media (max-width:760px){.m001-breakfast .breakfast-trays{gap:10px}.m001-breakfast .breakfast-trays>div{padding:10px;gap:5px;font-size:17px}.m001-breakfast .breakfast-trays .animal-icon{width:64px;height:60px}.m001-breakfast .breakfast-record{padding:10px;gap:8px;font-size:18px}.m001-breakfast .breakfast-record-values{gap:18px;font-size:20px}.m001-breakfast .breakfast-record-illustrated{height:230px;padding:22px 20px;gap:12px}.m001-breakfast .breakfast-record-illustrated>strong{font-size:18px}.m001-breakfast .breakfast-record-clues{gap:6px;font-size:16px}.m001-breakfast .breakfast-imagination{padding:10px;gap:8px;font-size:17px}.m001-breakfast .breakfast-imagination .animal-icon{width:60px;height:56px}.math-app.m001-breakfast .recognition .animal-icon{width:86px;height:78px}.math-app.m001-breakfast .animal-card{width:64px;padding:4px;min-height:62px}.math-app.m001-breakfast .animal-card .animal-icon{width:46px;height:42px}.math-app.m001-breakfast .animal-board{gap:5px}.math-app.m001-breakfast .animal-board:not(.few){display:grid;grid-template-columns:repeat(3,64px)}.math-app.m001-breakfast .lesson-workspace .animal-board:not(.few) .animal-card{min-height:56px;height:56px;padding:2px!important}.math-app.m001-breakfast .lesson-workspace .animal-board:not(.few) .animal-card .animal-icon{height:34px;width:40px}.math-app.m001-breakfast .lesson-workspace .animal-board:not(.few) .animal-card>span{font-size:12px;line-height:16px}.math-app.m001-breakfast .record-summary-animals .animal-icon{width:60px;height:54px}}@media (max-width:760px) and (max-height:720px){.m001-breakfast .breakfast-record-illustrated{padding:12px 14px;gap:6px}.m001-breakfast .breakfast-record-illustrated>strong{line-height:24px}.m001-breakfast .breakfast-record-illustrated .breakfast-record-values{line-height:1.2}.m001-breakfast .breakfast-record-illustrated .breakfast-record-values b{font-size:26px}.m001-breakfast .breakfast-record-illustrated .breakfast-record-clues{font-size:14px;line-height:20px;gap:8px;flex-wrap:nowrap}}@media (max-height:500px) and (min-width:600px){.math-app.m001-breakfast .lesson-workspace>.speaker-portrait{height:220px;width:25%;left:-2%;bottom:-65px}.math-app.m001-breakfast .task-brief{padding:2px 8px}.math-app.m001-breakfast .task-brief .target-record{margin-top:2px}.math-app.m001-breakfast .task-brief .target-record span{padding:1px 6px}.math-app.m001-breakfast .task-brief p{margin-top:1px;line-height:1.35}.m001-breakfast .breakfast-trays>div{flex-direction:row;padding:6px 12px;font-size:17px}.m001-breakfast .breakfast-trays .animal-icon{width:55px;height:48px}.m001-breakfast .breakfast-record{padding:6px 18px;gap:3px;font-size:17px}.m001-breakfast .breakfast-record-values{font-size:18px}.m001-breakfast .breakfast-record-values b{font-size:22px}.m001-breakfast .breakfast-record-illustrated{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:28px 22px;align-content:center;align-items:center;height:120px;width:340px;padding:8px 16px;gap:2px 10px}.m001-breakfast .breakfast-record-illustrated>strong{grid-column:1;grid-row:1;font-size:17px;white-space:nowrap}.m001-breakfast .breakfast-record-illustrated .breakfast-record-values{grid-column:2;grid-row:1;font-size:18px;line-height:26px;gap:8px}.m001-breakfast .breakfast-record-clues{grid-column:1 / -1;grid-row:2;font-size:15px;line-height:20px;gap:14px}.m001-breakfast .breakfast-imagination{flex-direction:row;gap:12px;padding:8px;font-size:16px}.m001-breakfast .breakfast-imagination .animal-icon{width:46px;height:42px}.m001-breakfast .breakfast-imagination>span{max-width:140px}.math-app.m001-breakfast .recognition{flex-direction:row;gap:12px}.math-app.m001-breakfast .recognition .animal-icon{width:70px;height:62px}.math-app.m001-breakfast .animal-card{width:64px;min-height:44px;padding:3px}.math-app.m001-breakfast .animal-card .animal-icon{width:44px;height:36px}.math-app.m001-breakfast .animal-card>span{font-size:13px}.math-app.m001-breakfast .board-wrapper{gap:3px}.math-app.m001-breakfast .board-totals{font-size:16px}.math-app.m001-breakfast .board-wrapper,.math-app.m001-breakfast .breakfast-experiment{display:flex;flex-direction:row;align-items:center;gap:12px}.math-app.m001-breakfast .board-label{max-width:90px;font-size:14px}.math-app.m001-breakfast .board-wrapper>.board-label{width:70px;flex-shrink:0}.math-app.m001-breakfast .animal-board.few{display:flex;width:auto;flex:none}.math-app.m001-breakfast .board-totals{grid-column:2;grid-row:2;flex-direction:column;gap:4px;flex-shrink:0;min-width:100px;white-space:nowrap}.math-app.m001-breakfast .board-totals>span{padding:2px 8px;line-height:22px}.math-app.m001-breakfast .animal-board:not(.few){display:flex;width:auto}.math-app.m001-breakfast .lesson-workspace .animal-board:not(.few) .animal-card{min-height:56px;height:56px;padding:2px!important}.math-app.m001-breakfast .lesson-workspace .animal-board:not(.few) .animal-card .animal-icon{height:34px;width:40px}.math-app.m001-breakfast .lesson-workspace .animal-board:not(.few) .animal-card>span{font-size:12px;line-height:16px}.math-app.m001-breakfast .lesson-workspace .animal-board.few .animal-card{min-height:54px;height:56px;padding:2px!important}.math-app.m001-breakfast .lesson-workspace .animal-board.few .animal-card .animal-icon{height:34px;width:40px}.math-app.m001-breakfast .lesson-workspace .animal-board.few .animal-card>span{font-size:12px;line-height:16px}.math-app.m001-breakfast .record-summary-animals .animal-icon{width:50px;height:42px}}.math-app.m001-desktop-fit>.engine-stage{position:fixed;left:0;top:0}.math-app.m001-desktop-fit .lesson-workspace>.speaker-portrait:has(.xiaohe-six-character){overflow-x:visible;overflow-y:clip}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .board-wrapper{width:100%;display:flex;flex-direction:column;align-items:center;gap:6px}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .animal-board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;width:min(100%,700px);max-width:700px;margin:0 auto}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .animal-board.many{grid-template-columns:repeat(9,minmax(0,1fr))}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .animal-card{min-height:72px;padding:4px 6px}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .animal-card .animal-icon{width:56px;height:44px;max-width:100%;object-fit:contain}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .animal-card>span{font-size:15px;line-height:18px}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .animal-card:has(.footprints){display:grid;grid-template-columns:minmax(0,1fr) 32px;grid-template-rows:40px 18px;column-gap:4px;align-items:center;justify-items:center;height:72px}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .animal-card:has(.footprints) .animal-icon{grid-column:1;grid-row:1;height:40px}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .animal-card:has(.footprints)>span{grid-column:1;grid-row:2}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .animal-card>.footprints{grid-column:2;grid-row:1 / 3;display:grid;grid-template-columns:repeat(2,14px);gap:3px;margin:0}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .animal-card>.footprints .foot{width:14px;height:21px}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .board-label{font-size:16px;line-height:24px}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .board-totals{margin:0;gap:12px;font-size:18px}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .board-totals>span{padding:3px 10px;line-height:24px}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .equation{font-size:22px;margin:0;line-height:30px}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .board-wrapper:has(>.difference){display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.55fr);align-items:center;column-gap:16px}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .board-wrapper:has(>.difference)>.board-label{grid-column:1 / -1}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .board-wrapper:has(>.difference)>.animal-board{grid-column:1;grid-row:2}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .board-wrapper>.difference{grid-column:2;grid-row:2;display:flex;flex-direction:column;align-items:center;gap:8px;margin:0;padding:8px;font-size:16px}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .difference>.footprints{max-width:240px;margin:0;gap:5px}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .board-wrapper:has(>.difference)>.board-totals{grid-column:1 / -1;grid-row:3}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .thinking-bubble{padding:18px;gap:18px}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .thinking-bubble>.animal-icon{width:110px;height:100px;object-fit:contain}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .record-summary-animals .animal-icon{width:100px;height:90px;object-fit:contain}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .board-wrapper:has(>.equation){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:center}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .board-wrapper:has(>.equation)>.board-label{grid-column:1;grid-row:1}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .board-wrapper:has(>.equation)>.equation{grid-column:2;grid-row:1}.math-app.m001-desktop-fit:not(.m001-breakfast) .lesson-workspace .board-wrapper:has(>.equation)>.animal-board{grid-column:1 / -1;grid-row:2}.math-app.m001-story[data-fit-screen=true]>.engine-stage{position:fixed;left:0;top:0}.math-app.m001-story[data-fit-screen=true] .lesson-workspace>.speaker-portrait:has(.xiaohe-six-character){overflow-x:visible;overflow-y:clip}.m001-story .breakfast-result{position:relative;display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--ui-text);width:100%}.m001-story .breakfast-result>strong{font-size:22px;background:var(--ui-panel);border-radius:10px;padding:2px 8px}.m001-story .breakfast-portions{display:flex;justify-content:center;gap:18px;width:100%}.m001-story .breakfast-portions>div{display:grid;justify-items:center;gap:5px;padding:12px 20px;border:2px solid var(--ui-border);border-radius:16px;background:var(--ui-soft);font-size:20px}.m001-story .breakfast-portions .animal-icon{width:80px;height:66px;object-fit:contain}.m001-story .breakfast-checked{font-size:16px;color:var(--ui-muted);background:var(--ui-panel);border-radius:8px;padding:1px 6px}.m001-story .breakfast-overview,.m001-story .breakfast-old-result{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;color:var(--ui-text)}.m001-story .breakfast-medal{font-size:28px;color:var(--ui-accent)}.m001-story .breakfast-award-title{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;background:var(--ui-panel);border-radius:12px;padding:2px 8px}.m001-story .breakfast-room-marks{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.m001-story .breakfast-room-marks>span{display:flex;flex-direction:column;gap:2px;padding:6px 12px;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-soft);font-size:18px}.m001-story .breakfast-room-marks small{font-size:16px}.m001-story .breakfast-overview .growth-reward{margin:0;padding:8px 12px}.m001-story .breakfast-old-result p{margin:0}.m001-story .breakfast-menu-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.m001-story .breakfast-method-note{font-size:18px;text-align:center;color:var(--ui-text)}.m001-story .breakfast-swap-context{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:clamp(6px,1.2vh,16px);width:min(100%,760px);height:100%;max-height:390px;min-height:0;text-align:center;color:var(--ui-text)}.m001-story .breakfast-swap-pair{display:grid;grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:clamp(8px,1.4vw,20px);min-height:0}.m001-story .breakfast-swap-card{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px;min-width:0;min-height:0;padding:12px;border:2px solid var(--ui-border);border-radius:18px;background:var(--ui-soft);font-size:20px}.math-app.m001-story .breakfast-swap-card .animal-icon{width:100%;height:100%;min-height:0;max-width:none;background:none;border:0;box-shadow:none;padding:0}.m001-story .breakfast-swap-symbol{align-self:center;min-height:0;line-height:1;font-size:44px;color:var(--ui-muted)}.m001-story .breakfast-swap-caption{font-size:18px;line-height:1.4}.math-app.m001-story[data-fit-screen=true] .replacement-observation .swap-diagram{margin:4px auto;gap:16px}.math-app.m001-story[data-fit-screen=true] .replacement-observation .animal-icon{width:70px;height:62px;margin-bottom:4px;object-fit:contain}.math-app.m001-story[data-fit-screen=true] .replacement-observation .swap-diagram>div>span{font-size:16px}.math-app.m001-story[data-fit-screen=true] .mystery-card{padding:8px;margin:0}.math-app.m001-story[data-fit-screen=true] .mystery-card p{margin:4px 0 0}.math-app.m001-story[data-fit-screen=true] .mystery-card .animal-icon{width:80px;height:70px;object-fit:contain}@media (max-width:760px){.m001-story .breakfast-swap-context{max-height:270px;gap:6px}.m001-story .breakfast-swap-pair{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:6px}.m001-story .breakfast-swap-card{padding:6px;gap:4px;font-size:17px;border-radius:12px}.m001-story .breakfast-swap-symbol{font-size:28px}.m001-story .breakfast-swap-caption{font-size:15px}.m001-story .breakfast-result{gap:6px}.m001-story .breakfast-result>strong{font-size:18px}.m001-story .breakfast-portions{gap:8px}.m001-story .breakfast-portions>div{padding:6px;font-size:17px;gap:4px}.m001-story .breakfast-portions .animal-icon{width:48px;height:40px}.m001-story .breakfast-checked{font-size:14px}.m001-story .breakfast-overview{gap:6px;width:100%}.m001-story .breakfast-medal{font-size:20px;line-height:28px}.m001-story .breakfast-award-title{gap:6px;flex-wrap:nowrap}.m001-story .breakfast-award-title>span{font-size:14px}.m001-story .breakfast-room-marks{gap:5px;flex-wrap:nowrap;width:100%}.m001-story .breakfast-room-marks>span{font-size:16px;padding:2px 4px;line-height:20px;flex:1;gap:0}.m001-story .breakfast-room-marks small{font-size:15px;line-height:20px}.m001-story .breakfast-overview .growth-reward{padding:3px 8px}.m001-story .breakfast-overview .reward-stars{font-size:18px;line-height:22px;letter-spacing:2px}.m001-story .breakfast-overview .growth-reward strong{font-size:16px;line-height:24px;margin:0}.math-app.m001-story[data-fit-screen=true] .mystery-card .animal-icon{width:64px;height:54px}}@media (max-height:500px) and (min-width:600px){.m001-story .breakfast-swap-context{width:min(100%,480px);max-height:170px;grid-template-rows:minmax(0,1fr);gap:0}.m001-story .breakfast-swap-pair{grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);gap:8px}.m001-story .breakfast-swap-card{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr);align-items:center;padding:1px 4px;border-width:1px;gap:6px;font-size:15px;line-height:20px}.m001-story .breakfast-swap-symbol{font-size:28px}.m001-story .breakfast-swap-caption{display:none}.math-app.m001-story[data-fit-screen=true] .lesson-workspace>.speaker-portrait{height:220px;width:25%;left:-2%;bottom:-65px}.m001-story .breakfast-result{gap:4px;display:grid;grid-template-columns:auto 1fr;align-items:center;justify-items:center;font-size:16px}.m001-story .breakfast-result>strong{font-size:17px;max-width:95px}.m001-story .breakfast-portions{gap:8px}.m001-story .breakfast-portions>div{grid-template-columns:38px auto;grid-template-rows:22px 22px;align-items:center;gap:0 5px;padding:4px 8px;font-size:16px}.m001-story .breakfast-portions .animal-icon{grid-row:1 / 3;width:38px;height:38px}.m001-story .breakfast-checked{grid-column:1 / -1;font-size:14px}.m001-story .breakfast-overview{display:grid;grid-template-columns:auto 1fr;gap:4px 10px}.m001-story .breakfast-award-title{grid-column:1;grid-row:1 / 3;flex-direction:column;gap:0}.m001-story .breakfast-medal{font-size:20px}.m001-story .breakfast-room-marks{grid-column:2;grid-row:1;gap:5px}.m001-story .breakfast-room-marks>span{font-size:15px;padding:2px 5px}.m001-story .breakfast-overview .growth-reward{grid-column:2;grid-row:2;padding:0 4px;display:flex;gap:8px;align-items:center}.m001-story .breakfast-overview .reward-stars{font-size:18px;line-height:24px;letter-spacing:1px}.m001-story .breakfast-overview .growth-reward strong{font-size:16px;line-height:24px;margin:0}.m001-story .breakfast-old-result{display:grid;grid-template-columns:auto auto;gap:4px 12px;font-size:16px}.m001-story .breakfast-method-note{font-size:16px}.math-app.m001-story[data-fit-screen=true] .replacement-observation{display:flex;align-items:center;gap:12px}.math-app.m001-story[data-fit-screen=true] .replacement-observation .board-label{font-size:14px;width:60px}.math-app.m001-story[data-fit-screen=true] .replacement-observation .swap-diagram{margin:0;gap:12px}.math-app.m001-story[data-fit-screen=true] .replacement-observation .animal-icon{width:42px;height:36px;margin:0}.math-app.m001-story[data-fit-screen=true] .replacement-observation .swap-diagram>div>span{font-size:15px;line-height:20px}.math-app.m001-story[data-fit-screen=true] .mystery-card{padding:2px 8px;display:flex;align-items:center;gap:10px}.math-app.m001-story[data-fit-screen=true] .mystery-card>span{font-size:15px;letter-spacing:0}.math-app.m001-story[data-fit-screen=true] .mystery-card .animal-icon{width:28px;height:28px}.math-app.m001-story[data-fit-screen=true] .mystery-card b{font-size:22px;line-height:28px}.math-app.m001-story[data-fit-screen=true] .mystery-card p{display:none}}.math-app.m001-exchange-board>.engine-stage{position:fixed;left:0;top:0}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .board-wrapper{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;width:min(100%,800px);height:100%;min-height:0;max-height:450px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .board-label{margin:0;font-size:16px;line-height:24px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px;width:100%;max-width:none;height:100%;min-height:0;margin:0}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-card{display:grid;grid-template-columns:minmax(0,1fr) 34px;grid-template-rows:minmax(0,1fr) 18px;gap:2px 4px;align-items:center;justify-items:center;width:100%;height:100%;min-width:0;min-height:0;padding:6px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-card .animal-icon{grid-column:1;grid-row:1;width:100%;height:100%;max-width:130px;min-height:0;padding:0}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-card>span{grid-column:1;grid-row:2;font-size:14px;line-height:18px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-card:not(:has(.footprints)){grid-template-columns:minmax(0,1fr)}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-card>.footprints{grid-column:2;grid-row:1 / 3;display:grid;grid-template-columns:repeat(2,14px);gap:3px;margin:0}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-card .foot{width:14px;height:21px;transform:none}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .board-totals{display:flex;justify-content:center;gap:12px;margin:0;font-size:18px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .board-totals>span{padding:3px 10px;font-size:18px;line-height:24px;white-space:nowrap}@media (max-width:760px){.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .board-wrapper{gap:5px;max-height:360px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .board-label{font-size:14px;line-height:20px;letter-spacing:0}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-board{gap:4px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-card{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 16px;gap:1px;padding:3px!important}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-card:has(.footprints){grid-template-rows:minmax(0,1fr) 16px 14px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-card>span{font-size:12px;line-height:16px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-card>.footprints{grid-column:1;grid-row:3;display:flex;flex-wrap:nowrap;gap:1px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-card .foot{width:9px;height:14px;gap:1px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-card .foot i{width:5px;height:3px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-card .foot b{width:8px;height:9px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .board-totals{gap:6px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .board-totals>span{font-size:16px;line-height:22px;padding:2px 6px}}@media (max-width:760px) and (min-height:501px) and (max-height:720px){.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .task-brief p,.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .board-label{display:none}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .board-wrapper{grid-template-rows:minmax(0,1fr) auto}}@media (max-height:500px) and (min-width:600px){.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .task-brief{padding:2px 8px 4px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .task-brief h2{font-size:16px;line-height:1.3}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .task-brief p{display:none}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .target-record{margin-top:3px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .target-record>span{padding:1px 6px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .board-wrapper{grid-template-columns:minmax(0,1fr) 72px;grid-template-rows:minmax(0,1fr);gap:6px;max-height:140px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .board-label{display:none}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-board{grid-template-columns:repeat(8,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:3px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-card{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 16px;gap:1px;padding:2px!important}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-card:has(.footprints){grid-template-rows:minmax(0,1fr) 16px 14px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-card>span{font-size:12px;line-height:16px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-card>.footprints{grid-column:1;grid-row:3;display:flex;flex-wrap:nowrap;gap:1px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-card .foot{width:9px;height:14px;gap:1px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-card .foot i{width:5px;height:3px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .animal-card .foot b{width:8px;height:9px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .board-totals{flex-direction:column;align-self:center;gap:4px}.math-app.m001-exchange-board[data-fit-screen=true] .lesson-workspace .board-totals>span{font-size:14px;line-height:20px;padding:2px 4px}}.math-app.m001-landscape{--m001-animal-size:clamp(64px,9vh,132px)}.math-app.m001-landscape>.engine-stage{position:fixed;left:0;top:0}.math-app.m001-landscape .animal-card[hidden]{display:none!important}.m001-landscape .m001-board-pages{width:100%;display:flex;flex-direction:column;align-items:center;gap:4px;min-height:0}.m001-landscape .m001-board-page-controls{display:flex;align-items:center;justify-content:center;gap:12px;font-size:14px}.m001-landscape .m001-review,.m001-landscape .m001-review-frame{display:flex;flex-direction:column;gap:8px;min-height:0}.m001-landscape .m001-review :is(.slide-navigation,.modal-actions){margin:0;flex-shrink:0}.m001-landscape .m001-review .review-condition{font-size:var(--lesson-font-diagram-label);line-height:var(--lesson-line-diagram-label)}.m001-landscape .m001-review .animal-board{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;width:100%;margin:0 auto}.m001-landscape .m001-review .animal-card{min-width:0;min-height:0;padding:4px}.m001-landscape .m001-review .animal-card .animal-icon{width:var(--m001-animal-size);height:var(--m001-animal-size);max-width:100%}.m001-landscape .m001-review .animal-card .footprints{margin:2px 0}.m001-landscape .m001-review .slide-drawing{min-height:0;gap:6px}@media (max-height:599px){.m001-landscape .m001-review .animal-board:has(>.animal-card:nth-child(7)){grid-template-columns:repeat(8,minmax(0,1fr))}.m001-landscape .m001-review .animal-board:has(>.animal-card:nth-child(9)){grid-template-columns:repeat(9,minmax(0,1fr))}}@media (orientation:landscape) and (min-height:600px){.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .animal-icon{width:var(--m001-animal-size);height:var(--m001-animal-size);max-width:100%;object-fit:contain}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .animal-board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:none;gap:6px;width:100%;height:auto;min-height:0;max-width:960px;margin:0 auto}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .animal-board.few{grid-template-columns:repeat(3,minmax(0,160px));justify-content:center}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .animal-board.many{grid-template-columns:repeat(9,minmax(0,1fr))}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .animal-card{width:100%;min-width:0;min-height:0;height:auto;padding:4px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 16px;justify-items:center;align-items:center;gap:1px}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .animal-card:has(.footprints){grid-template-columns:minmax(0,1fr) 30px;grid-template-rows:auto 16px;column-gap:2px;height:auto;min-height:0}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .animal-card .animal-icon,.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .animal-card:has(.footprints) .animal-icon{grid-column:1;grid-row:1;width:var(--m001-animal-size)!important;height:var(--m001-animal-size)!important;padding:0;max-width:100%}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .animal-card>span{grid-column:1;grid-row:2;font-size:14px;line-height:16px}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .animal-card>.footprints{grid-column:2;grid-row:1 / 3;display:grid;grid-template-columns:repeat(2,13px);gap:2px;margin:0}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .animal-card .foot{width:13px;height:20px;transform:none}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .animal-board.many .animal-card:has(.footprints){grid-template-columns:minmax(0,1fr);grid-template-rows:auto 18px 20px}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .animal-board.many .animal-card>.footprints{grid-column:1;grid-row:3;display:flex;flex-wrap:nowrap}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .board-wrapper{width:100%;height:auto;min-height:0;max-height:100%;display:flex;flex-direction:column;align-items:center;gap:6px}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .board-label{font-size:var(--lesson-font-diagram-label);line-height:var(--lesson-line-diagram-label);margin:0}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .board-totals{margin:0;gap:12px}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .board-totals>span{font-size:var(--lesson-font-diagram-note);line-height:var(--lesson-line-diagram-note);padding:2px 10px}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .equation{font-size:var(--lesson-font-equation);line-height:var(--lesson-line-equation);margin:0}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .board-wrapper:is(:has(>.board-totals),:has(>.equation)){display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:6px 12px}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .board-wrapper:is(:has(>.board-totals),:has(>.equation))>.board-label{grid-column:1;grid-row:2;text-align:left}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .board-wrapper:is(:has(>.board-totals),:has(>.equation))>:is(.board-totals,.equation){grid-column:2;grid-row:2}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .board-wrapper:is(:has(>.board-totals),:has(>.equation))>:is(.animal-board,.m001-board-pages){grid-column:1 / -1;grid-row:1}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .board-wrapper:has(>.difference){display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;gap:8px 12px}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .board-wrapper:has(>.difference)>.board-label{grid-column:1;grid-row:3}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .board-wrapper:has(>.difference)>.animal-board{grid-column:1 / -1;grid-row:1;grid-template-columns:repeat(6,minmax(0,1fr))}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .board-wrapper:has(>.difference)>.animal-board:has(>.animal-card:nth-child(7)){grid-template-columns:repeat(8,minmax(0,1fr))}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .board-wrapper>.difference{grid-column:1 / -1;grid-row:2;display:flex;flex-direction:column;align-items:center;gap:8px;margin:0;padding:0;width:100%}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .difference>.footprints{max-width:100%;margin:0;gap:5px}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .difference>.footprints.grouped .foot:nth-child(2n){margin-right:6px}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .board-wrapper:has(>.difference)>.board-totals{grid-column:2;grid-row:3}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .board-wrapper:has(>.difference) .animal-card:has(.footprints){grid-template-columns:minmax(0,1fr);grid-template-rows:auto 16px 20px}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .board-wrapper:has(>.difference) .animal-card>.footprints{grid-column:1;grid-row:3;display:flex;flex-wrap:nowrap}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .recognition{gap:8px}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .recognition>.animal-icon{width:calc(var(--m001-animal-size)*1.2);height:calc(var(--m001-animal-size)*1.2)}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace .breakfast-swap-card .animal-icon{width:100%;height:100%;max-width:none}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace :is(.record-summary-animals>div>span,.breakfast-checked,.replacement-observation .swap-diagram>div>span,.mystery-card p,.breakfast-imagination>span,.recognition p,.breakfast-method-note,.breakfast-record-clues,.breakfast-experiment p,.breakfast-old-result>p,.breakfast-old-result>span){font-size:var(--lesson-font-diagram-note);line-height:var(--lesson-line-diagram-note)}.math-app.m001-landscape[data-fit-screen=true] .lesson-workspace :is(.breakfast-swap-caption,.breakfast-trays span,.mystery-card>span){font-size:var(--lesson-font-diagram-label);line-height:var(--lesson-line-diagram-label)}.math-app.m001-landscape .m001-board-page-controls>span{font-size:var(--lesson-font-diagram-label);line-height:var(--lesson-line-diagram-label)}.math-app.m001-landscape .math-modal .slide-caption{font-size:var(--lesson-font-diagram-note);line-height:var(--lesson-line-diagram-note)}.math-app.m001-landscape .math-modal .swap-diagram small{font-size:var(--lesson-font-diagram-label);line-height:var(--lesson-line-diagram-label)}.math-app.m001-landscape[data-fit-screen=true] .dialogue-actions .option-picture{height:58px}.math-app.m001-landscape[data-fit-screen=true] .dialogue-actions .option-picture .animal-icon{width:62px;height:56px}.math-app.m001-landscape[data-fit-screen=true]:has(>.numeric-dialogue) .lesson-workspace .animal-board{grid-template-columns:repeat(9,minmax(0,1fr))}.math-app.m001-landscape[data-fit-screen=true]:has(>.numeric-dialogue) .lesson-workspace .animal-card:has(.footprints){grid-template-columns:minmax(0,1fr);grid-template-rows:auto 16px 20px}.math-app.m001-landscape[data-fit-screen=true]:has(>.numeric-dialogue) .lesson-workspace .animal-card>.footprints{grid-column:1;grid-row:3;display:flex;flex-wrap:nowrap}.math-app.m001-landscape[data-fit-screen=true]:has(>.numeric-dialogue) .lesson-workspace .m001-board-pages .animal-board{grid-template-columns:repeat(6,minmax(0,1fr))}.math-app.m001-landscape[data-fit-screen=true]:has(>.numeric-dialogue) .lesson-workspace .m001-board-pages .animal-card:has(.footprints){grid-template-columns:minmax(0,1fr) 30px;grid-template-rows:auto 16px}.math-app.m001-landscape[data-fit-screen=true]:has(>.numeric-dialogue) .lesson-workspace .m001-board-pages .animal-card>.footprints{grid-column:2;grid-row:1 / 3;display:grid;grid-template-columns:repeat(2,13px)}}.er-work{width:100%;max-width:900px;margin:auto;display:flex;flex-direction:column;justify-content:center;gap:8px;text-align:center}.er-routes,.er-positions{display:flex;justify-content:center;gap:8px}.er-routes>button,.er-positions>button{flex:1;min-height:48px}.er-positions>button{display:flex;flex-direction:column;align-items:center;justify-content:center}.er-fields,.er-clues{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.er-fields button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px}.er-fields strong{min-width:30px;font-size:24px}.er-choices{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.er-choices>button{flex:1;min-width:130px;min-height:48px}.er-work button[aria-pressed=true]{outline:3px solid var(--ui-focus);background:var(--ui-soft);color:var(--ui-text)}.er-work p{margin:0;font-size:18px}.er-feedback{color:var(--ui-text)}.er-clues>button{min-height:48px}.math-app .er-work button{transform:none}.er-work[data-readonly=true] button{opacity:1}@media (max-height:500px) and (orientation:landscape){.er-work,.er-routes,.er-positions,.er-choices,.er-fields,.er-clues{gap:5px}.er-work button{font-size:16px;padding:4px 8px;min-height:44px}.er-fields strong{font-size:20px}.er-work p{font-size:15px}.er-positions small{font-size:13px}.er-choices>button{min-width:110px}}@media (max-height:500px) and (orientation:landscape){.er-fields:has(button:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}.er-fields:has(button:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}.er-fields button{font-size:14px}.er-fields strong{min-width:20px}.er-work,.er-clues,.er-fields{gap:3px}}.er-expression,.er-response{display:flex;flex-direction:column;gap:8px;min-width:0}.er-area-original{min-width:0}.er-area .er-fields strong small{font-size:14px;margin-left:2px}.er-area-original .ea-visual.is-compact{--ea-height:clamp(150px,23vh,260px)}.er-area-original .ea-workspace{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:12px}.er-area-original .ea-piece svg{width:100px;height:90px}.er-area-original .ea-visual>.ea-operation{display:none}@media (min-height:900px){.er-area-original .ea-piece svg{width:150px;height:140px}}@media (max-height:850px) and (orientation:landscape){.er-area{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:center;gap:8px}.er-area .er-expression{gap:5px}.er-area-original .ea-visual.is-compact{--ea-height:100px}.er-area-original .ea-workspace{gap:5px}.er-area-original .ea-tray{flex-direction:column;gap:3px}.er-area-original .ea-piece{flex-direction:row;min-width:0;gap:3px;padding:2px!important}.er-area-original .ea-piece svg{width:42px;height:40px!important}.er-area-original .ea-piece span{font-size:14px;white-space:nowrap}.er-area .er-routes>button{padding:4px;font-size:14px}.er-area .er-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.er-area .er-feedback{grid-column:1 / -1}}@media (min-height:501px) and (max-height:850px) and (orientation:landscape){.er-area-original .ea-visual.is-compact{--ea-height:160px}.er-area-original .ea-piece svg{width:60px;height:58px!important}.er-area-original .ea-piece span{font-size:16px}.er-area-original .ea-grid-note{font-size:14px!important}.er-area .er-routes>button{font-size:16px}}@media (max-height:500px) and (orientation:landscape){.er-area{gap:3px 8px}.er-area .er-feedback{font-size:14px;line-height:1.2}.er-area:has(.er-feedback) .ea-piece svg{height:34px!important}.er-area-original .ea-visual.is-compact{--ea-height:90px}.er-area .er-fields:has(button:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}.er-area .er-fields:has(button:nth-child(4)) button{flex-direction:column;justify-content:center;gap:0;padding:0 2px;line-height:1}.er-area .er-fields:has(button:nth-child(4)) button span{font-size:14px;line-height:1}.er-area .er-fields:has(button:nth-child(4)) button strong{line-height:1}}.er-cycle .er-positions>button{min-width:0;gap:4px;padding:10px 6px}.er-cycle .er-positions .ex-cycle-symbol>.game-art{width:80px;height:80px}.er-cycle .er-positions small{white-space:nowrap}@media (min-height:900px){.er-cycle .er-positions .ex-cycle-symbol>.game-art{width:110px;height:110px}}@media (max-height:500px) and (orientation:landscape){.er-cycle .er-positions>button{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:1fr 1fr;gap:0 2px;padding:4px;min-height:64px}.er-cycle .er-positions>button>.ex-cycle-symbol{grid-row:1 / 3}.er-cycle .er-positions>button>small{align-self:end}.er-cycle .er-positions>button>span:last-child{align-self:start;white-space:nowrap}.er-cycle .er-positions .ex-cycle-symbol>.game-art{width:44px;height:44px}}.er-reference{width:100%;min-width:0}.er-reference figure{margin:0;min-width:0;display:flex;flex-direction:column;align-items:center}.er-reference figcaption{font-size:18px;line-height:1.25}.er-clothing{display:flex;flex-direction:column;gap:12px}.er-clothing-group{display:flex;align-items:center;gap:12px}.er-clothing-group>strong{font-size:18px;flex-shrink:0}.er-clothing-group>div{display:flex;justify-content:space-evenly;gap:8px;flex:1;min-width:0}.er-clothing figure{flex:1}.er-clothing .ex-combo-icon{width:86px;height:76px;max-width:100%}.er-logic-table{border-collapse:separate;border-spacing:3px;width:100%;table-layout:fixed;text-align:center;color:var(--ui-text)}.er-logic-table caption{font-size:16px;margin-bottom:4px}.er-logic-table th{font-size:18px;line-height:1.2;padding:3px 0;white-space:nowrap}.er-logic-table td{height:34px;font-size:24px;border:1px solid var(--ui-border);border-radius:4px;background:var(--ui-surface)}.er-jobs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.er-jobs>span{display:flex;justify-content:space-between;align-items:center;gap:5px;padding:7px;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-surface);font-size:18px}.er-jobs strong{white-space:nowrap}.er-schedule-reference,.er-guarantee-reference{display:flex;flex-direction:column;gap:8px}.er-schedule-reference p{font-size:16px;line-height:1.2}.er-timeline{display:flex;flex-direction:column;gap:5px}.er-timeline .ex-schedule-bar{font-weight:700}.er-badge-kinds{display:flex;justify-content:space-evenly;gap:6px}.er-badge-kinds figure{flex:1}.er-badge-kinds .ex-guarantee-symbol{margin:auto;width:64px;height:64px;max-width:100%}.er-counterexample{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;padding:6px;border:1px dashed var(--ui-border);border-radius:8px;background:var(--ui-surface)}.er-counterexample .ex-guarantee-symbol{width:46px;height:46px}.er-guarantee-reference p{font-size:16px;line-height:1.2}@media (min-height:900px){.er-clothing .ex-combo-icon{width:120px;height:100px}.er-badge-kinds .ex-guarantee-symbol{width:80px;height:80px}}@media (max-height:850px) and (orientation:landscape){.er-has-reference:not(.er-area){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:center;gap:12px}.er-clothing-group{gap:6px}.er-clothing-group>div{gap:4px}.er-clothing .ex-combo-icon{width:65px;height:60px}.er-reference figcaption{font-size:16px}.er-logic .er-clues{grid-template-columns:1fr}.er-logic .er-clues>button{font-size:16px;min-height:44px;padding:5px 7px}.er-jobs>span{font-size:15px;padding:5px}.er-choices>button{min-width:0}.er-response .er-feedback{font-size:15px;line-height:1.2}}@media (max-height:500px) and (orientation:landscape){.er-has-reference:not(.er-area){grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:6px}.er-response,.er-expression,.er-clothing{gap:3px}.er-clothing-group>strong{font-size:13px}.er-reference figcaption{font-size:13px;white-space:nowrap}.er-clothing .ex-combo-icon{width:30px;height:26px}.er-logic-table{border-spacing:1px}.er-logic-table caption{display:none}.er-logic-table th{font-size:13px;padding:1px 0}.er-logic-table td{height:19px;font-size:18px;padding:0;line-height:1}.er-logic .er-clues{grid-template-columns:repeat(2,minmax(0,1fr))}.er-logic .er-clues>button{font-size:14px;padding:3px 4px;line-height:1.2}.er-clothing-group>div{gap:2px}.er-combinations .er-fields button{gap:2px;font-size:13px;padding:3px 5px}.er-combinations .er-fields:has(button:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}.er-combinations .er-fields:has(button:nth-child(3)) button{flex-direction:column;justify-content:center}.er-combinations .er-routes>button{padding:3px 5px;font-size:14px}.er-jobs{gap:3px}.er-jobs>span{font-size:13px;padding:1px 2px;line-height:1.2;white-space:nowrap}.er-schedule-reference{gap:3px}.er-schedule-reference p{font-size:13px;line-height:1.1}.er-timeline{gap:3px}.er-timeline .ex-schedule-lane{gap:3px;font-size:13px}.er-timeline .ex-schedule-lane>span{width:62px}.er-timeline .ex-schedule-lane>div{height:18px}.er-timeline .ex-schedule-bar{font-size:13px}.er-guarantee-reference{gap:3px}.er-badge-kinds{gap:2px}.er-badge-kinds .ex-guarantee-symbol{width:22px;height:22px}.er-counterexample{gap:3px;padding:2px}.er-counterexample .ex-guarantee-symbol{width:22px;height:22px}.er-guarantee-reference p{font-size:13px;line-height:1.1}.er-has-reference .er-choices{gap:3px}.er-has-reference .er-choices>button{font-size:14px;line-height:1.15;padding:3px;flex-basis:0;min-height:44px}.er-response .er-feedback{font-size:13px;line-height:1.1}}.sl-equation{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;font-size:25px}.sl-equation button{min-width:56px;font-size:25px}.sl-operators{display:flex;gap:8px}.sl-relations button{font-size:20px}.sl-work{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.sl-work>.sd-task{flex:1;min-height:0}.sl-transfer{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.sl-transfer-answers{display:flex;flex-wrap:wrap;gap:14px;justify-content:center}.sl-transfer-answers label{display:flex;align-items:center;gap:8px;font-size:21px}.sl-transfer-answers input{width:78px;min-height:44px;text-align:center;font-size:24px}.sl-help-diagram{width:100%;text-align:center}.sl-help-diagram h3{font-size:22px}.sl-help-diagram p{font-size:24px}.sl-help-diagram p:last-child{font-size:20px}.sl-solution p{line-height:1.25}.sl-solution>span{font-size:20px}@media (max-height:500px) and (orientation:landscape){.sl-equation,.sl-equation button{font-size:22px}.sl-transfer,.sl-work{gap:4px}.sl-transfer-answers{gap:8px}.sl-transfer-answers label{font-size:18px}.sl-transfer:has(.sl-solution) .ts-launch{display:none}.sl-transfer .sl-solution h3{display:none}.sl-transfer .sl-solution>strong{display:none}.sl-help-diagram h3{margin:3px;font-size:18px}.sl-help-diagram p{margin:4px;font-size:22px}.sl-help-diagram p:last-child{font-size:18px}.sl-solution>span{display:block;font-size:18px}.sl-work .ts-launch{font-size:18px}}.sl-work>.sd-task{container-type:size}.sl-work>.ts-launch{flex-shrink:0}.sl-work .sd-task-state{height:100%;display:flex;flex-direction:column;justify-content:center}.sl-work .sd-placement-pictures{flex-shrink:0;align-items:center}.sl-work .lesson-object-surface,.sl-work .unknown-placement .lesson-object-surface,.sl-work .sd-task-state .lesson-object-group[data-place=pool][data-single-page=true] .lesson-object-surface{height:clamp(60px,calc(100cqh - 125px),200px);width:min(100%,clamp(100px,calc(100cqh - 100px),245px));aspect-ratio:auto}@media (max-height:500px) and (orientation:landscape){.sl-work .lesson-object-surface,.sl-work .unknown-placement .lesson-object-surface,.sl-work .sd-task-state .lesson-object-group[data-place=pool][data-single-page=true] .lesson-object-surface{height:clamp(30px,calc(100cqh - 35px),62px);width:min(100%,150px)}}@media (max-height:500px) and (orientation:landscape){.sl-solution h3{display:none}}.lesson-story-illustration{width:100%;height:100%;min-height:0;display:flex;align-items:center;justify-content:center;padding:8px}.lesson-story-illustration .game-art{max-height:none}.lesson-story-arrival{display:flex;align-items:end;justify-content:center;width:100%;height:100%;gap:20px}.lesson-story-arrival>.story-guests{width:65%;height:100%;max-height:440px}.lesson-story-arrival>.story-box{width:28%;height:50%;max-height:240px;align-self:center}.lesson-story-tables{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:24px;width:100%;height:100%;max-height:380px}.lesson-story-tables>div{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;height:100%;gap:7px}.lesson-story-tables .game-art{width:100%;height:80%}.lesson-story-tables strong{font-size:var(--lesson-font-diagram-label)}.lesson-story-commission{display:flex;align-items:center;justify-content:center;gap:30px;width:100%;height:100%}.lesson-story-card{border:3px solid var(--ui-border);border-radius:18px;background:var(--ui-paper);color:var(--ui-paper-text);padding:12px 22px;box-shadow:6px 6px 0 var(--ui-soft);width:min(65%,600px)}.lesson-story-card h3{font-size:var(--lesson-font-diagram-note);margin:0 0 8px}.lesson-story-card>div{display:flex;align-items:center;justify-content:center;gap:16px;font-size:var(--lesson-font-diagram-label)}.lesson-story-card .game-art{width:100px;height:75px}.lesson-story-card p{font-size:var(--lesson-font-diagram-label);margin:6px 0 0}.lesson-story-commission>.story-box{width:25%;height:65%;max-height:230px}.lesson-story-separate{display:flex;align-items:center;justify-content:center;gap:25px;width:100%;height:100%}.lesson-story-separate>.game-art{width:30%;height:80%}.lesson-story-separate>span{font-size:42px}.lesson-story-separate>div{width:50%;display:flex;flex-direction:column;align-items:center;font-size:var(--lesson-font-diagram-note)}.lesson-story-separate>div .game-art{width:100%;height:180px}.lesson-story-ribbons{width:100%;height:100%;display:flex;gap:20px;align-items:center}.lesson-story-ribbons>.game-art{width:25%;height:65%}.lesson-story-ribbons>.lesson-story-tables{width:70%;height:85%}@media (max-height:500px) and (orientation:landscape){.lesson-story-illustration{padding:2px}.lesson-story-tables{gap:12px}.lesson-story-card{padding:4px 12px}.lesson-story-card h3{display:none}.lesson-story-card .game-art{width:60px;height:44px}.lesson-story-card p{margin:0;font-size:18px}.lesson-story-card>div{font-size:20px;gap:8px}.lesson-story-separate>div .game-art{height:85px}.lesson-story-separate>div{font-size:20px}}.lesson-object-group{--place-bg:var(--ui-place-pool);--place-edge:var(--ui-place-pool-border);min-width:0;border:2px solid var(--place-edge);border-radius:18px;background:var(--place-bg);color:var(--ui-place-ink);padding:10px;display:flex;flex-direction:column;gap:7px;align-items:center}[data-place=a],[data-zone=a]{--place-bg:var(--ui-place-a);--place-edge:var(--ui-place-a-border)}[data-place=b],[data-zone=b]{--place-bg:var(--ui-place-b);--place-edge:var(--ui-place-b-border)}[data-place=extra],[data-zone=extra]{--place-bg:var(--ui-place-extra);--place-edge:var(--ui-place-extra-border)}[data-zone=pool]{--place-bg:var(--ui-place-pool);--place-edge:var(--ui-place-pool-border)}.lesson-object-picture{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:100%}.lesson-object-surface{position:relative;display:flex;justify-content:center;align-items:center;width:min(100%,clamp(68px,20vh,200px));height:auto;aspect-ratio:1}.lesson-object-surface>.game-art{width:100%;height:100%;max-width:280px}.lesson-object-group[data-surface=true] .lesson-object-surface>.lesson-object-items{position:absolute;top:23%;right:18%;bottom:25%;left:18%;width:auto;min-height:0;align-content:center}.lesson-object-group[data-surface=true] .lesson-object-items>div{width:100%;display:flex;justify-content:center}.lesson-object-group[data-surface=true] .lesson-object-items .sd-token{width:100%;max-width:48px;height:auto;aspect-ratio:1}.lesson-object-group[data-place=pool][data-surface=true] .lesson-object-surface>.game-art{visibility:hidden}.lesson-place-icon{width:30px;height:28px;vertical-align:middle;margin-right:4px}.lesson-object-picture>strong{font-size:var(--lesson-font-diagram-label);line-height:1.4;color:var(--ui-place-ink)}.lesson-object-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:100%;align-items:center;justify-items:center;min-height:44px}.lesson-object-items .sd-token{width:clamp(36px,5.5vh,62px);height:clamp(36px,5.5vh,62px)}.lesson-object-group>.lesson-pager{margin:0;gap:4px}.lesson-object-group .lesson-pager button{min-width:44px;padding:4px}@media (max-height:500px) and (orientation:landscape){.lesson-object-group{padding:5px;gap:3px;border-radius:12px}.lesson-object-surface{height:60px}.lesson-object-items{gap:2px}.lesson-object-items .sd-token{width:36px;height:36px}.lesson-object-picture>strong{font-size:18px}.lesson-object-picture{gap:0}}.sd-token{width:clamp(38px,5.4vh,66px);height:clamp(38px,5.4vh,66px);flex-shrink:0}.sd-intro,.sd-task,.sd-explanation,.sd-complete{width:100%;text-align:center}.sd-intro>.sd-token{width:clamp(90px,19vh,180px);height:clamp(90px,19vh,180px)}.sd-intent{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap}.sd-intent>div{display:flex;flex-direction:column;align-items:center;gap:8px}.sd-intent .sd-token{width:clamp(78px,15vh,160px);height:clamp(78px,15vh,160px)}.sd-intent>p{flex-basis:100%;margin:0}.sd-intent strong,.sd-trays,.sd-group>strong{font-size:var(--lesson-font-diagram-label);line-height:1.4}.sd-intent>span{font-size:var(--lesson-font-diagram-note)}.sd-answer{display:flex;justify-content:center;gap:20px;margin-top:14px;flex-wrap:wrap}.sd-answer label{display:flex;align-items:center;gap:8px;font-size:var(--lesson-font-diagram-label)}.sd-answer input{width:72px!important;min-height:44px;font-size:24px;text-align:center;border:2px solid var(--ui-border);border-radius:10px}.sd-trays{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.sd-trays>span,.sd-group{background:var(--ui-soft);border:1px solid var(--ui-border);border-radius:14px;padding:10px}.sd-placement-pictures{display:grid;gap:10px;width:min(100%,1040px);margin:auto;align-items:start}.unknown-placement .sd-placement-pictures{max-width:780px}.unknown-placement .lesson-object-group{background:transparent;border-color:transparent}.unknown-placement .lesson-object-surface{width:min(100%,clamp(100px,25vh,245px));height:auto;max-width:420px}.sd-placement-heading{font-size:var(--lesson-font-diagram-label);margin:0 0 6px}.sd-task-state .lesson-object-group[data-place=pool][data-single-page=true] .lesson-object-surface{width:min(100%,clamp(100px,28vh,280px));height:clamp(68px,20vh,200px);aspect-ratio:auto}.sd-task-state .lesson-object-group[data-place=pool][data-single-page=true] .lesson-object-items{display:grid;top:4%;right:3%;bottom:4%;left:3%;min-height:0}.sd-task-state .lesson-object-group[data-place=pool][data-single-page=true] .lesson-object-items>div{min-height:0;height:100%}.sd-task-state .lesson-object-group[data-place=pool][data-single-page=true] .lesson-object-items .sd-token{width:100%;height:100%;max-width:48px;max-height:48px}.math-app .sd-board-tokens>button[data-zone],.math-app .sd-destinations>button[data-zone]{background:var(--place-bg);color:var(--ui-place-ink);border:2px solid var(--place-edge)}.sd-destinations>button{display:flex;align-items:center;justify-content:center;gap:5px}.sd-destinations .game-art{width:62px;height:44px}.sd-board-tokens>button>.sd-board-destination{display:flex;align-items:center;justify-content:center;gap:3px}.sd-board-destination>.game-art{width:35px;height:27px}.sd-groups{display:flex;justify-content:center;gap:12px;align-items:start}.sd-group{flex:1;max-width:420px;min-width:0}.sd-tokens{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));justify-items:center;min-height:48px}.sd-equation{font-size:clamp(22px,2.1vw,28px);line-height:1.4;margin:8px 0;color:var(--ui-text)}.sd-explanation>.lesson-diagram-note{margin:8px 0 0}.sd-board-tokens{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.sd-board-tokens>button{display:flex;flex-direction:column;align-items:center;padding:4px;min-height:44px}.sd-board-tokens>button>span{font-size:18px;line-height:1.4}.sd-destinations,.sd-board-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.sd-destinations [aria-pressed=true]{outline:3px solid var(--ui-focus)}.sd-board h2{margin:0 0 8px}.sd-board p{margin:8px 0}.sd-board .lesson-pager{margin:6px 0}@media (max-height:500px) and (orientation:landscape){.sd-intent{gap:10px}.sd-intent .sd-token{width:70px;height:70px}.sd-intent>p{display:none}.sd-intro>.sd-token{width:80px;height:80px}.sd-intro p{margin:4px 0}.sd-answer{margin-top:6px}.sd-explanation .sd-token{width:28px;height:28px}.sd-groups{gap:8px}.sd-group{padding:4px}.sd-equation{margin:4px 0}.sd-board .sd-token{width:27px;height:27px}.sd-board h2{font-size:22px}.sd-board p{font-size:20px!important;line-height:1.3;margin:3px 0}.sd-board-tokens{grid-template-columns:repeat(6,1fr);gap:3px}.sd-board-tokens>button{flex-direction:row;justify-content:center;gap:4px;padding:2px}}.sd-bars{width:100%;display:flex;flex-direction:column;gap:6px;text-align:center}.sd-bar-row{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:8px}.sd-bar-row>strong{font-size:var(--lesson-font-diagram-label)}.sd-bar-track{display:flex;min-width:0;height:44px}.sd-bar-track>span{display:flex;align-items:center;justify-content:center;min-width:0;border:2px solid var(--ui-accent);font-size:var(--lesson-font-diagram-label);color:var(--ui-text);background:var(--ui-soft)}.sd-bar-track>.sd-bar-extra{border-style:dashed;background:var(--ui-surface)}@media (max-height:500px) and (orientation:landscape){.math-app[data-fit-screen=true] .lesson-workspace .sd-intent>p{display:none}.sd-intent>div{flex-direction:row}.sd-intent .sd-token{width:60px;height:60px}.sd-bar-track{height:36px}.sd-bars{gap:4px}.sd-bar-row{grid-template-columns:56px minmax(0,1fr)}.sd-board .sd-board-tokens{grid-template-columns:repeat(6,1fr)}.sd-board .sd-board-tokens>button{flex-direction:column}.sd-board .sd-token{width:38px;height:38px}.sd-task-state>p{display:none}.sd-placement-pictures{gap:4px}.sd-task-state .lesson-object-surface{height:62px;max-width:150px}.sd-task-state .lesson-object-items,.sd-task-state .lesson-object-group>.lesson-pager{display:none}.sd-task-state .lesson-object-group{padding:3px}.unknown-placement .lesson-object-surface{height:68px;max-width:200px}.sd-task-state .lesson-object-group[data-place=pool][data-single-page=true] .lesson-object-surface{height:62px}.sd-task-state .lesson-object-group[data-place=pool][data-single-page=true] .lesson-object-surface>.game-art{visibility:hidden}.sd-task-state .lesson-place-icon{display:none}.sd-destinations .game-art{width:38px;height:30px}.sd-destinations>button{padding:3px 6px;font-size:18px}.sd-board-destination>.game-art{width:27px;height:20px}}@media (max-height:500px) and (orientation:landscape){.math-app .math-modal .sd-review-visual .sd-intent>p{display:none}.sd-complete{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 12px}.sd-complete>h2{grid-column:1;margin:0;font-size:22px}.sd-complete>.lesson-diagram-note{grid-column:1}.sd-complete>.growth-reward{grid-column:2;grid-row:1 / 3;margin:0}}.iv-visual{width:100%;min-height:0;text-align:center}.iv-canvas{position:relative;width:100%;height:clamp(190px,31vh,320px);isolation:isolate}.iv-path{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible;pointer-events:none}.iv-path>path,.iv-path>ellipse{fill:none;stroke:#c7aa79;stroke-width:14;stroke-linecap:round}.iv-path>path:not(:first-child){stroke-width:3;stroke:#927341}.iv-path>.iv-gap-highlight{stroke:#b55b39!important;stroke-width:7!important}.math-app .iv-site{position:absolute;transform:translate(-50%,-100%);width:clamp(44px,8.5%,88px);height:clamp(68px,13vh,105px);padding:0;border:0;background:transparent!important;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;overflow:visible;min-height:44px;z-index:2;color:var(--ui-text);opacity:1!important}.iv-site>.game-art{height:calc(100% - 16px);width:100%;max-height:none;filter:drop-shadow(0 2px 1px #0002)}.iv-site:not(:disabled):hover{outline:3px solid var(--ui-focus)}.iv-site-mark{position:absolute;top:100%;font-size:18px;line-height:1.3;font-weight:700;white-space:nowrap}.iv-soil{display:flex;width:44px;height:44px;align-items:center;justify-content:center;border:2px dashed #8d7853;border-radius:50%;background:#e6d5ac;font-size:24px;line-height:1}.iv-site.is-gate .iv-soil{border-radius:6px;background:#e7eee4;border-style:solid;color:#445c48;font-size:20px}.iv-gap-label{position:absolute;top:70%;transform:translate(-50%);font-size:18px;line-height:1.4;white-space:nowrap}.iv-measure{position:absolute;bottom:0;left:50%;transform:translate(-50%);font-size:var(--lesson-font-diagram-label);white-space:nowrap}.iv-endpoint{position:absolute;top:59%;font-size:18px}.iv-start{left:7%}.iv-end{right:7%}.iv-loop-note{position:absolute;left:50%;top:53%;transform:translate(-50%,-50%);font-size:18px;line-height:1.4;max-width:45%;color:var(--ui-text)}.iv-scene-caption{font-size:var(--lesson-font-diagram-label);line-height:1.4;margin:0 0 4px}.iv-board-summary{margin:5px 0 0}.iv-board{text-align:center}.iv-board h2{margin:0}.iv-board>p{margin:5px 0}.iv-board .iv-canvas{height:250px}.iv-live-count{font-size:20px}.iv-equation{font-size:var(--lesson-font-equation,24px);line-height:1.4;margin:6px 0}.iv-explanation{width:100%;text-align:center}@media (max-height:500px) and (orientation:landscape){.iv-canvas{height:145px}.math-app .iv-site{height:63px;width:clamp(44px,8%,63px)}.iv-site-mark,.iv-gap-label,.iv-loop-note{font-size:18px}.iv-gap-label{top:70%}.iv-scene-caption{font-size:18px;line-height:1.3;margin:0}.iv-visual>.iv-board-summary{display:none}.iv-board .iv-canvas{height:142px}.iv-board>p{font-size:18px!important;line-height:1.3;margin:2px 0}.iv-board .iv-live-count{display:none}.iv-board .modal-actions{gap:5px}.iv-equation{margin:2px 0;font-size:22px}.iv-explanation .iv-canvas{height:110px}.iv-explanation .iv-site{height:54px}.iv-explanation .iv-gap-label{display:none}.iv-explanation .iv-measure{font-size:18px}}.iv-ring .iv-measure{left:auto;right:0;top:0;bottom:auto;transform:none}.iv-ring .iv-start{left:47%;top:28%}@media (max-height:500px) and (orientation:landscape){.iv-explanation .iv-ring .iv-site{height:48px}.iv-ring .iv-measure{font-size:18px}}.math-app .iv-site:hover,.math-app .iv-site:active,.math-app .iv-canvas button.iv-site,.math-app .iv-canvas button.iv-site:hover,.math-app .iv-canvas button.iv-site:active{transform:translate(-50%,-100%)}.iv-loop-note{left:0;top:auto;bottom:0;transform:none;max-width:100%;white-space:nowrap;text-align:left}@media (max-height:500px) and (orientation:landscape){.iv-canvas{height:120px}.iv-line .iv-measure{display:none}.iv-ring .iv-site{height:50px}.iv-explanation .iv-canvas{height:100px}.iv-explanation .iv-ring .iv-site{height:48px}.iv-loop-note{font-size:18px}}.lesson-workspace .iv-visual{height:100%;display:flex;flex-direction:column}.lesson-workspace .iv-visual>.iv-canvas{flex:1;min-height:0;height:auto;container-type:size}.lesson-workspace .iv-scene-caption,.lesson-workspace .iv-board-summary{flex-shrink:0}.lesson-workspace .iv-explanation{height:100%;display:flex;flex-direction:column}.lesson-workspace .iv-explanation>.iv-visual{height:auto;flex:1;min-height:0}.lesson-workspace .iv-explanation>.iv-equation{flex-shrink:0}.lesson-workspace .iv-canvas button.iv-site{height:clamp(44px,49cqh,105px)}@media (max-height:500px) and (orientation:landscape){.iv-loop-note{display:none}}.iv-site>.iv-sapling-fallback{height:calc(100% - 16px);width:100%}.iv-inspect-endpoint .iv-soil{font-size:18px;border-style:solid;border-color:var(--ui-focus);box-shadow:0 0 0 4px #c7aa7940}.iv-inspect-endpoint.is-inspected .iv-soil{background:#f5dfb4;box-shadow:0 0 0 5px #b55b3940}.iv-inspect-endpoint:focus-visible{outline:3px solid var(--ui-focus);outline-offset:4px}.iv-ring .iv-site-mark{left:calc(100% + 2px);top:calc(100% - 24px)}@media (max-height:500px) and (orientation:landscape){.iv-board .iv-canvas{height:170px}.math-app .iv-board .iv-ring button.iv-site{height:80px}}.ts-equation,.ts-palette{display:flex;align-items:center;justify-content:center;gap:8px}.ts-equation{font-size:24px;flex-wrap:wrap}.ts-equation button{min-width:64px;font-size:24px}.ts-equation>strong{min-width:32px;text-align:center}.ts-palette button{min-width:64px;font-size:24px}.ts-relations button{font-size:20px}.tw-transfer .ts-launch{grid-column:1/-1}.td-launch>span{min-width:0}.td-badge{display:inline-block;margin-left:6px;border:1px solid var(--ui-help-border);border-radius:6px;padding:1px 5px;background:var(--ui-help);color:var(--ui-help-text);font-size:15px;line-height:20px;vertical-align:middle;white-space:nowrap}.td-field-hint{margin:0;text-align:center;font-size:18px;line-height:1.3;color:var(--ui-help-text);background:var(--ui-help);border:1px dashed var(--ui-help-border);border-radius:7px;padding:4px 8px}.td-field-hint[data-discovery-issue=error]{background:var(--ui-surface);color:var(--ui-error);border:2px solid var(--ui-error)}.td-badge[data-discovery-issue=error]{background:var(--ui-surface);color:var(--ui-error);border-color:var(--ui-error)}html[data-interface-theme] .math-app .ts-editor button[data-discovery-issue]{border:3px solid var(--lesson-attention-red);outline:2px solid var(--lesson-attention-red);outline-offset:2px;animation:lesson-red-attention 1.6s ease-in-out 3}html[data-interface-theme] .math-app .td-launch>button[data-discovery-alert=true]{border:3px solid var(--lesson-attention-red);outline:2px solid var(--lesson-attention-red);outline-offset:2px}.td-launch .td-attention{animation:lesson-red-attention 1.6s ease-in-out 3}.ts-editor [data-relation-options][data-discovery-issue=pending]{outline:3px solid var(--lesson-attention-red);outline-offset:3px;animation:lesson-red-attention 1.6s ease-in-out 3}.td-field-hint[data-discovery-issue],.td-badge[data-discovery-issue]{border-color:var(--lesson-attention-red);border-style:solid}html[data-interface-theme] .math-app.discovery-guidance :is(.dialogue-actions,.tw-reasons) button[data-discovery-issue],.math-app.discovery-guidance .ts-editor output[data-discovery-issue],.math-app.discovery-guidance .tw-transfer fieldset[data-discovery-issue],.math-app.discovery-guidance .tw-transfer label[data-discovery-issue],.math-app.discovery-guidance .tw-reason-options[data-discovery-issue]{outline:3px solid var(--lesson-attention-red);outline-offset:2px;animation:lesson-red-attention 1.6s ease-in-out 3}html[data-interface-theme] .math-app.discovery-guidance :is(.dialogue-actions,.tw-reasons) button[data-discovery-issue]{border-color:var(--lesson-attention-red)}.math-app.discovery-guidance .iv-board[data-needs-placement=true] button[data-planted=false]:not(:disabled){outline:3px solid var(--lesson-attention-red);outline-offset:2px;animation:lesson-red-attention 1.6s ease-in-out 3}.tw-reason-options{display:flex;flex-direction:column;gap:8px}.tw-transfer .lesson-answer-value{vertical-align:middle}.tw-transfer .tw-transfer-answer>label{display:flex;align-items:center;gap:4px}.tw-short-reason[data-discovery-issue]{color:var(--lesson-attention-red)}.tree-operation-prompt{flex-shrink:0;margin:0;font-size:18px;line-height:1.3;text-align:left;color:var(--ui-text)}.iv-boundary-actions{display:flex;justify-content:center;margin:4px 0}.math-app.discovery-guidance .iv-board[data-needs-start=true] button[data-tree-site="0"],.math-app.discovery-guidance .iv-board button[data-boundary-target],.math-app.discovery-guidance .iv-boundary-actions button[data-discovery-issue]{outline:3px solid var(--lesson-attention-red);outline-offset:2px;animation:lesson-red-attention 1.6s ease-in-out 3}@media (prefers-reduced-motion:reduce){.math-app.discovery-guidance .iv-board[data-needs-start=true] button[data-tree-site="0"],.math-app.discovery-guidance .iv-board button[data-boundary-target],.math-app.discovery-guidance .iv-boundary-actions button[data-discovery-issue]{animation:none}}@media (max-height:500px) and (orientation:landscape){.math-app.discovery-guidance .iv-board[data-boundary-operation] .iv-canvas{height:130px}.math-app.discovery-guidance .iv-board[data-boundary-operation] .iv-canvas button.iv-site{height:44px}.math-app.discovery-guidance .iv-boundary-actions>button,.math-app.discovery-guidance .iv-board[data-boundary-operation] .modal-actions>button{min-height:44px;padding:4px 8px;font-size:18px}.math-app.discovery-guidance .lesson-workspace .iv-visual>.iv-board-summary{display:none}.math-app.discovery-guidance:not(.tree-board-pending) .task-brief>p{display:none}.math-app.discovery-guidance .tw-transfer:has(.ts-launch):not(:has(.tw-result)){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 8px}.math-app.discovery-guidance .tw-transfer:has(.ts-launch):not(:has(.tw-result))>.ts-launch{grid-column:1;grid-row:1}.math-app.discovery-guidance .tw-transfer:has(.ts-launch):not(:has(.tw-result))>.tw-transfer-answer{grid-column:2;grid-row:1}}@media (prefers-reduced-motion:reduce){html[data-interface-theme] .math-app.discovery-guidance :is(.dialogue-actions,.tw-reasons) button[data-discovery-issue],.math-app.discovery-guidance .ts-editor output[data-discovery-issue],.math-app.discovery-guidance .tw-transfer fieldset[data-discovery-issue],.math-app.discovery-guidance .tw-transfer label[data-discovery-issue],.math-app.discovery-guidance .tw-reason-options[data-discovery-issue],.math-app.discovery-guidance .iv-board[data-needs-placement=true] button[data-planted=false]:not(:disabled){animation:none}}@media (prefers-reduced-motion:reduce){.td-launch .td-attention,html[data-interface-theme] .math-app .ts-editor button[data-discovery-issue],.ts-editor [data-relation-options][data-discovery-issue=pending]{animation:none}}@media (max-width:700px) and (max-height:500px) and (orientation:landscape){.math-app.discovery-guidance .farm-header{flex-wrap:nowrap;min-height:46px;height:46px;padding:0 8px}.math-app.discovery-guidance .farm-header .farm-brand{width:auto;flex:1;overflow:hidden}.math-app.discovery-guidance .farm-header .lesson-brand-title{display:none}.math-app.discovery-guidance .farm-header .lesson-header-title{overflow:hidden;text-overflow:ellipsis}.math-app.discovery-guidance .lesson-dialogue-footer,.math-app.discovery-guidance .dialogue-tools{gap:4px}.math-app.discovery-guidance .dialogue-tools>button{padding-inline:5px}.math-app.discovery-guidance .lesson-answer{gap:4px}.math-app.discovery-guidance .lesson-answer>button{padding-inline:6px}.math-app.discovery-guidance .lesson-answer-field{gap:4px}.math-app.discovery-guidance .td-launch{font-size:15px;gap:4px}.math-app.discovery-guidance .td-launch>button{font-size:16px;padding-inline:6px}.math-app.discovery-guidance .lesson-step-panel{gap:4px}.math-app.discovery-guidance .lesson-step-panel .ts-equation button,.math-app.discovery-guidance .lesson-step-panel .ts-palette button{min-height:44px;padding:4px 8px;font-size:22px}.math-app.discovery-guidance .lesson-step-panel .td-field-hint{font-size:16px;line-height:1.2;padding:2px 5px}.math-app.discovery-guidance .lesson-workspace{padding-left:14%}.math-app.discovery-guidance .tw-work{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:8px}.math-app.discovery-guidance .tw-work>.iv-visual{height:100%;min-height:0}.math-app.discovery-guidance .tw-work>.td-launch{flex-direction:column;width:auto;align-items:stretch;justify-content:center;gap:4px}.math-app.discovery-guidance .tw-work>.tree-operation-prompt{align-self:center;font-size:16px}}@media (max-height:500px) and (orientation:landscape){.td-launch{font-size:16px}.td-launch>button{padding-inline:8px}.td-badge{font-size:14px;line-height:18px;margin-left:4px;padding-inline:3px}.td-field-hint{font-size:16px;line-height:1.2;padding:2px 5px}}@media (max-height:500px) and (orientation:landscape){.ts-equation,.ts-palette{gap:5px}.ts-equation,.ts-equation button,.ts-palette button{font-size:22px}.tw-transfer:has(.ts-launch){display:flex;gap:4px}.tw-transfer:has(.ts-launch) .tw-transfer-answer{min-height:44px}.tw-transfer:has(.ts-launch) .tw-short-reason{display:none}.tw-transfer:has(.ts-launch):has(.tw-result) .ts-launch{display:none}}.th-diagram{text-align:center;width:100%}.th-diagram svg{display:block;height:180px;width:100%;font-size:20px;fill:var(--ui-text)}.th-diagram p{margin:4px 0}@media (max-height:500px) and (orientation:landscape){.th-diagram svg{height:105px}.th-diagram .iv-equation{font-size:22px}}.th-map{position:relative;height:150px;width:100%}.th-map svg{position:absolute;top:0;right:0;bottom:0;left:0;height:90px}.th-position{position:absolute;top:92px;transform:translate(-50%);font-size:20px;white-space:nowrap}.th-omission{position:absolute;left:58%;top:20px;transform:translate(-50%);font-size:20px;white-space:nowrap}.th-quantity{position:absolute;left:0;right:0;bottom:0;font-size:20px}@media (max-height:500px) and (orientation:landscape){.th-map{height:82px}.th-map svg{height:42px}.th-position{top:40px;font-size:18px;line-height:20px}.th-omission{top:0;font-size:18px;line-height:20px}.th-quantity{font-size:18px;line-height:20px}.th-diagram .iv-equation{margin:2px 0;line-height:1.2}}.tw-work{height:100%;min-height:0;display:flex;flex-direction:column;gap:8px;width:100%}.tw-work>.iv-visual{flex:1;min-height:0;height:auto}.tw-expression{display:flex;align-items:center;gap:8px;width:100%;font-size:20px}.tw-expression label{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.tw-expression label>span{white-space:nowrap}.tw-expression input{width:100%;min-width:0;min-height:44px;font:inherit;padding:5px 9px;border:2px solid var(--ui-border,#c49e91);border-radius:10px;background:var(--ui-surface,#fff9f6);color:var(--ui-text)}.tw-expression strong{overflow-wrap:anywhere;font-size:22px}.tw-expression button{flex-shrink:0;min-height:44px}.tw-transfer{display:flex;flex-direction:column;gap:8px;width:100%;font-size:20px}.tw-transfer-answer{display:flex;align-items:center;gap:18px}.tw-transfer-answer input{width:80px;min-height:44px;font:inherit;text-align:center}.tw-transfer fieldset{display:flex;flex-direction:column;gap:5px;border:0;padding:0;margin:0}.tw-transfer legend{font-weight:700}.tw-transfer fieldset label{display:flex;align-items:center;gap:8px;min-height:44px}.tw-transfer input[type=radio]{width:22px;height:22px;flex-shrink:0}.tw-transfer p{margin:0}.tw-hint{color:var(--ui-text);font-size:18px}.tw-result{font-size:22px}.tw-pad h2{margin:0}.tw-pad output{display:block;font-size:24px;min-height:40px;overflow-wrap:anywhere}.tw-keys{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:8px 0}.tw-keys button{min-height:44px}.tw-write-note{font-size:18px;margin:0;text-align:left}@media (max-height:500px) and (orientation:landscape){.tw-work{gap:2px}.tw-expression{font-size:18px;gap:5px}.tw-expression input{font-size:18px}.tw-transfer{display:grid;grid-template-columns:1fr auto;gap:3px 8px;font-size:18px}.tw-transfer .tw-expression{grid-column:1/-1}.tw-transfer fieldset{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px}.tw-transfer legend{display:none}.tw-transfer fieldset label{font-size:18px;line-height:1.2;min-height:44px}.tw-transfer-answer{grid-column:1/-1}.tw-transfer-answer input{min-height:44px}.tw-transfer .tw-hint,.tw-transfer .tw-result{grid-column:1/-1;font-size:18px}.tw-transfer:has(.tw-result) fieldset{display:none}.tw-keys{grid-template-columns:repeat(5,1fr);gap:4px;margin:4px 0}.tw-pad output{min-height:32px;font-size:22px}.tw-pad h2{font-size:20px}.tw-pad>.primary{min-height:44px}.tw-write-note{display:none}}.tw-short-reason,.tw-reason-button{display:none}.tw-reasons{display:flex;flex-direction:column;gap:8px}.tw-reasons h2{margin:0}.tw-reasons button{min-height:44px}.tw-reasons button[aria-pressed=true]{outline:3px solid var(--ui-focus)}@media (max-height:500px) and (orientation:landscape){.tw-reason-button{display:inline-flex}.tw-transfer{grid-template-columns:minmax(0,1fr) auto}.tw-transfer .tw-expression{grid-column:1}.tw-transfer-answer{grid-column:2}.tw-transfer-answer input{width:54px}.tw-transfer fieldset{display:none}.tw-transfer .tw-short-reason{display:block;grid-column:1/-1;font-size:18px;line-height:1.2}.tw-transfer:has(.tw-result) .tw-short-reason{display:none}.tw-transfer:has(.tw-result) .tw-transfer-answer{grid-column:1/-1}.tw-transfer:has(.tw-result) .tw-expression{grid-column:1/-1}.tw-transfer .tw-result{font-size:18px;line-height:1.2}.tw-reasons{gap:5px}.tw-reasons h2{font-size:20px}}.cycle-performance{width:100%;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:12px;text-align:center}.cycle-performance h2,.cycle-performance p{margin:0}.cycle-performance-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:4px;margin:0;list-style:none}.cycle-performance-cards>li{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;padding:12px 4px;background:var(--ui-soft);color:var(--ui-text);border:2px solid var(--ui-border);border-radius:16px}.cycle-performance-cards>li.is-playing{background:var(--ui-selected);outline:4px solid var(--ui-accent);outline-offset:1px;box-shadow:0 0 0 6px var(--ui-soft)}.cycle-performance-cards .ex-cycle-symbol>.game-art{width:96px;height:96px;max-width:100%}.cycle-performance-cards>li>span:last-of-type{font-size:22px;font-weight:700}.cycle-performance-cards small{font-size:18px;white-space:nowrap}.cycle-performance-position{font-size:24px;font-weight:700;line-height:1.4}.cycle-performance-note{font-size:18px;line-height:1.4}@media (max-height:500px) and (orientation:landscape){.cycle-performance{gap:5px}.cycle-performance h2{font-size:20px}.cycle-performance-cards{gap:8px;padding:4px}.cycle-performance-cards>li{padding:4px;gap:1px;border-radius:12px}.cycle-performance-cards .ex-cycle-symbol>.game-art{width:44px;height:44px}.cycle-performance-cards>li>span:last-of-type{font-size:18px}.cycle-performance-cards small{font-size:16px}.cycle-performance-position{font-size:20px}.cycle-performance-note{font-size:16px}}.exploration-lesson .ex-story{height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.exploration-lesson .ex-story>.game-art{width:min(75%,540px);height:min(72%,300px);min-height:0}.exploration-lesson .ex-story>p{margin:0;text-align:center}.exploration-lesson .ex-story.has-context{display:grid;grid-template-columns:minmax(100px,35%) minmax(0,1fr);gap:14px}.exploration-lesson .ex-story.has-context>.game-art{width:100%;height:180px;max-height:100%;justify-self:center}.exploration-lesson .ex-story-context>p{margin:0 0 10px}.exploration-lesson .ex-story-tags{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;font-size:20px;line-height:1.4}.exploration-lesson .ex-story-tags>span{background:#fff9ec;border:1px solid #b7a78c;border-radius:10px;padding:7px 12px;color:#354c3d}.exploration-lesson .ex-story-pieces{display:flex;gap:16px;justify-content:center;align-items:center}.exploration-lesson .ex-story-pieces>div{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:18px}.exploration-lesson .ex-story-pieces svg{height:100px;width:130px}.exploration-lesson .ex-task,.exploration-lesson .ex-explanation{height:100%;min-height:0;width:100%}.exploration-lesson :is(.ex-task,.ex-explanation):has(>:is(.ex-combinations,.el-visual,.ex-schedule,.ex-guarantee)){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.exploration-lesson :is(.ex-task,.ex-explanation)>:is(.ex-combinations.is-compact,.el-visual,.ex-schedule,.ex-guarantee){height:auto;width:100%;flex:0 0 auto;margin:0}.exploration-lesson :is(.ex-task,.ex-explanation):has(>:is(.ex-combinations,.el-visual,.ex-schedule,.ex-guarantee))>p{margin:0;text-align:center;flex:0 0 auto}@media (max-height:500px){.exploration-lesson :is(.ex-task,.ex-explanation):has(>:is(.ex-combinations,.el-visual,.ex-schedule,.ex-guarantee)){gap:4px}}.exploration-lesson .lesson-paged-modal:has(>.ex-explanation)>.modal-actions{margin:0;flex-shrink:0}.exploration-lesson .lesson-paged-modal:has(>.ex-explanation)>h2{flex-shrink:0}@media (max-height:500px){.exploration-lesson .lesson-paged-modal:has(>.ex-explanation){gap:4px}}.exploration-lesson .ex-equation{font-size:var(--lesson-equation-size,24px);line-height:1.4;text-align:center;margin:8px 0;color:var(--math-ink,#304f40);font-weight:700}.exploration-lesson .ex-board{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;gap:8px}.exploration-lesson .ex-board>h2{margin:0;font-size:22px}.exploration-lesson .ex-board-content{min-height:0;flex:1}.exploration-lesson .ex-board-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.exploration-lesson .ex-board-actions button{min-height:44px}@media (max-height:500px){.exploration-lesson .ex-board{gap:4px}.exploration-lesson .ex-board>h2{font-size:18px}.exploration-lesson .ex-story>.game-art{height:100px;width:180px}.exploration-lesson .ex-story>p{font-size:18px}.exploration-lesson .ex-equation{font-size:20px;margin:2px 0}}@media (max-height:500px){.exploration-lesson .ex-story.has-context{grid-template-columns:120px minmax(0,1fr);gap:10px}.exploration-lesson .ex-story.has-context>.game-art{height:95px}.exploration-lesson .ex-story-context>p{margin:0 0 4px;font-size:18px}.exploration-lesson .ex-story-tags{font-size:18px;gap:4px}.exploration-lesson .ex-story-tags>span{padding:3px 8px}.exploration-lesson .ex-story-pieces svg{height:70px;width:110px}.exploration-lesson .ex-story-pieces{gap:8px}}.ex-cycle{display:flex;flex-direction:column;gap:14px;max-width:100%;min-width:0;color:var(--ui-text,#342b25)}.ex-cycle-sequence{display:grid;gap:14px 22px;min-width:0;width:100%}.ex-cycle-token{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:104px;padding:8px;border:2px solid #b7a78c;border-radius:14px;background:#fff9ed;color:#3e3226;font-size:18px;line-height:1.25}.ex-cycle-token:disabled{opacity:1;color:#3e3226;cursor:default}.ex-cycle-token.is-marked{border-color:#2c7563;background:#e0f2e4;box-shadow:inset 0 0 0 2px #2c7563}.ex-cycle-symbol{display:inline-flex;align-items:center;justify-content:center;font-size:32px;line-height:1.1;flex-shrink:0}.ex-cycle-symbol>.game-art{width:54px;height:54px;display:block}.ex-cycle-index{font-size:18px}.ex-cycle-target{font-size:24px;font-weight:700;text-align:center}.ex-cycle-options{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 18px;font-size:20px}.ex-cycle-options>.ex-cycle-option{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;background:#fff8ec;border-radius:8px;color:#3e3226}.ex-cycle-options .ex-cycle-symbol>.game-art{width:32px;height:32px}.ex-cycle-options b{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #82715c;border-radius:50%;flex-shrink:0}.ex-cycle-equation{font-size:20px;line-height:1.4;margin:0}.exploration-lesson .ex-task>.ex-cycle{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.7fr);grid-template-rows:auto auto auto;align-content:center;gap:12px 24px;height:100%}.exploration-lesson .ex-task>.ex-cycle>.ex-cycle-rule,.exploration-lesson .ex-explanation>.ex-cycle>.ex-cycle-rule{display:none}.exploration-lesson .ex-task .ex-cycle-sequence{grid-column:1;grid-row:1 / 4}.exploration-lesson .ex-task .ex-cycle-target{grid-column:2;align-self:end}.exploration-lesson .ex-task .ex-cycle-options{grid-column:2;align-self:center}.exploration-lesson .ex-task .ex-cycle-note{grid-column:2;align-self:start;text-align:center}.exploration-lesson .ex-task>.ex-cycle[data-response=period]{display:flex;justify-content:center;align-items:center}.exploration-lesson .ex-task>.ex-cycle[data-response=period]>.ex-cycle-sequence{width:min(100%,680px)}.exploration-lesson .ex-task>.ex-cycle[data-response=period]>.ex-cycle-note{display:none}.exploration-lesson .ex-explanation:has(>.ex-cycle){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}.exploration-lesson .ex-explanation>.ex-cycle{width:min(100%,820px);height:auto;align-items:center}.exploration-lesson .ex-explanation .ex-cycle-sequence{width:min(100%,680px)}.exploration-lesson .ex-explanation .ex-cycle-note,.exploration-lesson .ex-explanation .ex-cycle-equation{display:none}.exploration-lesson .ex-explanation:has(>.ex-cycle)>.ex-equation{margin:0}.exploration-lesson .ex-board .ex-cycle{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(220px,1fr);grid-template-rows:auto minmax(0,1fr);gap:18px 28px;height:100%;align-items:center}.exploration-lesson .ex-board .ex-cycle-rule{grid-column:1 / -1;align-self:start}.exploration-lesson .ex-board .ex-cycle-sequence{grid-column:1;grid-row:2}.exploration-lesson .ex-board .ex-cycle-target,.exploration-lesson .ex-board .ex-cycle-options,.exploration-lesson .ex-board .ex-cycle-note{display:none}@media (max-height:500px) and (orientation:landscape){.ex-cycle{gap:5px}.ex-cycle-sequence{gap:6px 10px}.ex-cycle-token{min-height:64px;padding:3px 2px;gap:1px}.ex-cycle-symbol>.game-art{height:32px;width:32px}.ex-cycle-options{gap:3px 8px;font-size:18px}.ex-cycle-options>.ex-cycle-option{padding:2px 3px;gap:3px}.ex-cycle-options .ex-cycle-symbol>.game-art{height:24px;width:24px}.ex-cycle-options b{width:24px;height:24px}.ex-cycle-target{font-size:20px}.exploration-lesson .ex-task>.ex-cycle{gap:4px 12px}.exploration-lesson .ex-task .ex-cycle-token>span:nth-child(2){display:none}.exploration-lesson .ex-task .ex-cycle-note{display:none}.exploration-lesson .ex-task>.ex-cycle[data-response=period]>.ex-cycle-sequence{grid-template-columns:repeat(var(--cycle-all-columns),minmax(0,1fr))!important}.exploration-lesson .ex-task>.ex-cycle[data-response=period] .ex-cycle-token>span:nth-child(2){display:block}.exploration-lesson .ex-explanation:has(>.ex-cycle){gap:4px}.exploration-lesson .ex-explanation>.ex-cycle{gap:3px;display:grid;grid-template-columns:145px minmax(0,1fr)}.exploration-lesson .ex-explanation .ex-cycle-sequence{grid-column:1 / -1;grid-template-columns:repeat(var(--cycle-all-columns),minmax(0,1fr))!important}.exploration-lesson .ex-explanation .ex-cycle-target{font-size:18px}.exploration-lesson .ex-explanation .ex-cycle-token{min-height:72px}.exploration-lesson .ex-explanation .ex-cycle-options{gap:2px 4px}.exploration-lesson .ex-explanation:has(>.ex-cycle)>.ex-equation{font-size:18px}.exploration-lesson .ex-board .ex-cycle{gap:5px 16px;grid-template-columns:minmax(0,1fr) minmax(240px,1fr)}.exploration-lesson .ex-board .ex-cycle-token{min-height:74px}}.ex-cycle-token{padding:4px;gap:2px}.ex-cycle-token .ex-cycle-symbol>.game-art{width:42px;height:42px}.exploration-lesson .ex-explanation>.ex-cycle[data-response=action]{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.75fr);grid-template-rows:auto auto;gap:10px 24px}.exploration-lesson .ex-explanation>.ex-cycle[data-response=action]>.ex-cycle-sequence{grid-column:1;grid-row:1 / 3}.exploration-lesson .ex-explanation>.ex-cycle[data-response=action]>.ex-cycle-target{grid-column:2;align-self:end}.exploration-lesson .ex-explanation>.ex-cycle[data-response=action]>.ex-cycle-options{grid-column:2;align-self:start}@media (max-height:500px) and (orientation:landscape){.ex-cycle-token{padding:2px;gap:0}.ex-cycle-token .ex-cycle-symbol>.game-art{width:28px;height:28px}.exploration-lesson .ex-explanation>.ex-cycle[data-response=action]{grid-template-columns:145px minmax(0,1fr);gap:3px}.exploration-lesson .ex-explanation>.ex-cycle[data-response=action]>.ex-cycle-sequence{grid-column:1 / -1;grid-row:1}.exploration-lesson .ex-explanation>.ex-cycle[data-response=action]>.ex-cycle-target{grid-column:1;grid-row:2;align-self:center}.exploration-lesson .ex-explanation>.ex-cycle[data-response=action]>.ex-cycle-options{grid-column:2;grid-row:2;align-self:center}.exploration-lesson .ex-explanation>.ex-cycle[data-response=action] .ex-cycle-token>span:nth-child(2){display:none}.exploration-lesson .ex-explanation>.ex-cycle[data-response=action] .ex-cycle-token{min-height:58px}}.exploration-lesson .ex-cycle-token{padding:4px 2px;position:relative}.ex-cycle-index{white-space:nowrap}.ex-cycle.is-editable .ex-cycle-token.is-marked:after{content:"✓";position:absolute;top:2px;right:5px;color:#205541;font-size:18px}@media (min-height:900px){.exploration-lesson .ex-cycle-token{min-height:146px;padding:8px}.ex-cycle-token .ex-cycle-symbol>.game-art{width:72px;height:72px}.ex-cycle-sequence{gap:20px 26px}}@media (max-height:500px) and (orientation:landscape){.exploration-lesson .ex-task .ex-cycle[data-response=action] .ex-cycle-token{min-height:54px;padding:2px;line-height:1.2}.exploration-lesson .ex-task .ex-cycle[data-response=action] .ex-cycle-token .ex-cycle-symbol>.game-art{width:24px;height:24px}}.ex-cycle-rule,.ex-cycle-note{font-size:20px;margin:0;line-height:1.4}.exploration-lesson .ex-simple-cycle-board .ex-cycle{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:20px;height:100%}.exploration-lesson .ex-simple-cycle-board .ex-cycle-rule{font-size:20px;text-align:center}.exploration-lesson .ex-simple-cycle-board .ex-cycle-sequence{grid-template-columns:repeat(var(--cycle-all-columns),minmax(0,1fr))!important;grid-template-rows:minmax(90px,auto) 28px;gap:10px 8px;isolation:isolate;width:100%;align-items:stretch}.exploration-lesson .ex-simple-cycle-board .ex-cycle-token{z-index:1;min-height:90px;padding:8px 2px;color:#3e3226;transition:background .15s,border-color .15s}.exploration-lesson .ex-simple-cycle-board .ex-cycle:has(.ex-cycle-group-frame) .ex-cycle-token.is-marked{background:transparent;border-color:transparent;box-shadow:none}.exploration-lesson .ex-simple-cycle-board .ex-cycle-token.is-marked:after{content:none}.ex-cycle-group-frame{grid-row:1;z-index:0;pointer-events:none;border:3px solid #2c7563;background:#e0f2e4;border-radius:18px}.ex-cycle-group-label{grid-row:2;text-align:center;font-size:20px;line-height:28px;pointer-events:none}.ex-cycle-selection-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.exploration-lesson .ex-simple-cycle-board .ex-board-actions>button:not(.primary){width:48px;padding:4px;font-size:25px}.exploration-lesson .ex-simple-cycle-board .ex-board-actions>.primary{min-width:126px}@media (max-height:500px) and (orientation:landscape){.exploration-lesson .ex-simple-cycle-board .ex-cycle{gap:10px}.exploration-lesson .ex-simple-cycle-board .ex-cycle-rule{font-size:18px}.exploration-lesson .ex-simple-cycle-board .ex-cycle-sequence{grid-template-rows:minmax(78px,auto) 24px;gap:6px 6px}.exploration-lesson .ex-simple-cycle-board .ex-cycle-token{min-height:78px;padding:4px 1px;line-height:1.2}.exploration-lesson .ex-simple-cycle-board .ex-cycle-token>span:nth-child(2){display:block}.ex-cycle-group-label{font-size:18px;line-height:24px}}.ex-cycle-answer,.ex-cycle-choices{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.ex-cycle-choices button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:48px;min-width:76px;padding:5px 10px}.ex-cycle-choices button[aria-pressed=true]{background:var(--ui-selected,#e0f2e4);color:var(--ui-text,#342b25);box-shadow:inset 0 0 0 2px currentColor}.ex-cycle-choices .ex-cycle-symbol>.game-art{width:30px;height:30px}@media (max-height:500px) and (orientation:landscape){.ex-cycle-answer,.ex-cycle-choices{gap:4px}.ex-cycle-choices button{min-width:64px;min-height:44px;padding:3px 6px;font-size:16px}.ex-cycle-choices .ex-cycle-symbol>.game-art{width:22px;height:22px}.ex-cycle-index{font-size:15px}}.ex-combinations{display:flex;flex-direction:column;gap:9px;max-width:100%;color:var(--ui-text,#342b25)}.ex-combo-wardrobe{display:flex;gap:14px;justify-content:center;align-items:flex-start}.ex-combo-rack{min-width:0;flex:1}.ex-combo-rack>b{display:block;font-size:20px;text-align:center;margin-bottom:5px}.ex-combo-rack>div{display:flex;justify-content:center;gap:5px;flex-wrap:wrap}.ex-combo-rack button{display:flex;flex-direction:column;align-items:center;min-height:70px;min-width:64px;max-width:110px;padding:5px;border:2px solid #b7a78c;border-radius:10px;background:#fff9ed;color:#3e3226;font-size:18px;line-height:1.25}.ex-combo-rack button:disabled,.ex-combo-gallery button:disabled{opacity:1;cursor:default;color:#3e3226}.ex-combo-rack button.is-chosen{border-color:#287363;background:#e0f2e4}.ex-combo-icon{width:60px;height:44px;display:block;flex-shrink:0}.ex-combo-build{display:flex;align-items:center;gap:14px;justify-content:center;border:1px dashed #b7a78c;border-radius:12px;padding:7px}.ex-combo-build p{margin:2px 0;font-size:18px}.ex-combo-build button{min-height:44px;padding:8px 12px;border-radius:10px;font-size:20px}.ex-combo-outfit{height:98px;width:85px;position:relative;flex-shrink:0}.ex-combo-outfit>.ex-combo-icon:first-child{position:absolute;left:9px;top:0;width:68px;z-index:2}.ex-combo-mannequin{position:absolute;top:25px;left:0;width:85px;height:60px}.ex-combo-outfit>.ex-combo-icon:last-child{position:absolute;left:18px;top:48px;width:50px;height:38px;z-index:3}.ex-combo-outfit{display:block;overflow:visible}.ex-combo-worn-body,.ex-combo-worn-hat,.ex-combo-worn-neck{pointer-events:none}.ex-combo-story-items{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px}.ex-combo-story-items>span{display:flex;flex-direction:column;align-items:center;gap:3px;max-width:90px;min-width:72px;font-size:18px;line-height:1.3;text-align:center}.ex-combo-story-items .ex-combo-icon{width:66px;height:44px}.ex-combo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.ex-combo-gallery button{display:flex;align-items:center;justify-content:center;gap:4px;min-height:90px;border:1px solid #b7a78c;border-radius:12px;background:#fff9ed;color:#3e3226;padding:4px;min-width:0;font-size:18px;line-height:1.25}.ex-combo-gallery button span{max-width:90px;overflow-wrap:anywhere}.ex-combo-gallery .ex-combo-outfit{width:68px;height:84px;transform:scale(.85);transform-origin:center;flex-shrink:0;margin:-5px}.ex-combo-count,.ex-combo-empty{font-size:20px;line-height:1.4;margin:0;text-align:center}.exploration-lesson .ex-task .ex-combinations.is-compact,.exploration-lesson .ex-explanation .ex-combinations.is-compact{height:100%;justify-content:center;gap:6px}.exploration-lesson .ex-task .ex-combinations.is-compact.has-gallery>.ex-combo-wardrobe,.exploration-lesson .ex-explanation .ex-combinations.is-compact.has-gallery>.ex-combo-wardrobe{display:none}.exploration-lesson .ex-combinations.is-compact>.lesson-pager{margin:0;min-height:44px;flex-shrink:0}.exploration-lesson .ex-combinations.is-compact>.lesson-pager button{min-height:44px}.exploration-lesson .ex-explanation .ex-combinations.is-compact{height:auto}.exploration-lesson .ex-board .ex-combinations:not(.is-compact){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 14px;align-items:start}.exploration-lesson .ex-board .ex-combinations:not(.is-compact)>.ex-combo-wardrobe{grid-column:1;grid-row:1 / 4;flex-direction:column;gap:8px}.exploration-lesson .ex-board .ex-combinations:not(.is-compact)>.ex-combo-build{grid-column:1;grid-row:4;flex-wrap:nowrap}.exploration-lesson .ex-board .ex-combinations:not(.is-compact)>.ex-combo-build>.ex-combo-outfit{width:85px;height:104px;transform:none;margin:0}.exploration-lesson .ex-board .ex-combinations:not(.is-compact)>.ex-combo-build>div:last-child{min-width:0}.exploration-lesson .ex-board .ex-combinations:not(.is-compact)>.ex-combo-gallery{grid-column:2;grid-row:1 / 3}.exploration-lesson .ex-board .ex-combinations:not(.is-compact) .ex-combo-gallery button{flex-direction:column;min-height:130px;gap:0}.exploration-lesson .ex-board .ex-combinations:not(.is-compact)>.lesson-pager{grid-column:2;grid-row:3;margin:0}.exploration-lesson .ex-board .ex-combinations:not(.is-compact)>.ex-combo-count{grid-column:2;grid-row:4}.exploration-lesson .ex-board .ex-combinations:not(.is-compact)>.ex-combo-empty{grid-column:2;grid-row:1 / 4}@media (max-height:500px) and (orientation:landscape){.ex-combinations{gap:5px}.ex-combo-wardrobe{gap:8px}.ex-combo-rack button{min-height:54px;min-width:55px;font-size:18px;max-width:90px}.ex-combo-icon{width:45px;height:31px}.ex-combo-build{padding:3px}.ex-combo-build>.ex-combo-outfit{display:none}.ex-combo-build p{display:inline;margin-right:8px}.ex-combo-gallery button{min-height:65px;font-size:18px}.ex-combo-gallery .ex-combo-outfit{transform:scale(.65);margin:-16px}.ex-combo-gallery{gap:4px}.ex-combo-count,.ex-combo-empty{font-size:18px}}@media (max-height:500px) and (orientation:landscape){.ex-combo-story-items{gap:4px}.ex-combo-story-items>span{gap:1px;min-width:72px;max-width:80px}.ex-combo-story-items .ex-combo-icon{width:56px;height:28px}.exploration-lesson .ex-combinations.is-compact .ex-combo-rack button{max-width:93px;padding:3px 5px}.exploration-lesson .ex-task .ex-combinations.is-compact.has-gallery .ex-combo-gallery button,.exploration-lesson .ex-explanation .ex-combinations.is-compact.has-gallery .ex-combo-gallery button{min-height:66px}.exploration-lesson .ex-board .ex-combinations.is-compact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px 12px;align-items:center}.exploration-lesson .ex-board .ex-combinations.is-compact>.ex-combo-wardrobe{grid-column:1;grid-row:1 / 3;flex-direction:column;gap:5px}.exploration-lesson .ex-board .ex-combinations.is-compact .ex-combo-rack{flex:none}.exploration-lesson .ex-board .ex-combinations.is-compact .ex-combo-rack>b{font-size:18px;margin-bottom:2px}.exploration-lesson .ex-board .ex-combinations.is-compact>.ex-combo-build{grid-column:2;grid-row:1;display:block;text-align:center;padding:4px}.exploration-lesson .ex-board .ex-combinations.is-compact>.ex-combo-build p:last-child{display:block;font-size:18px;margin:2px 0}.exploration-lesson .ex-board .ex-combinations.is-compact>.ex-combo-gallery{grid-column:2;grid-row:2}.exploration-lesson .ex-board .ex-combinations.is-compact .ex-combo-gallery button{flex-direction:column;gap:0;min-height:85px;font-size:18px;padding:3px}.exploration-lesson .ex-board .ex-combinations.is-compact .ex-combo-gallery button>.ex-combo-outfit{display:block;transform:scale(.58);height:70px;margin:-15px 0}.exploration-lesson .ex-board .ex-combinations.is-compact>.ex-combo-count{grid-column:1;grid-row:3;text-align:left}.exploration-lesson .ex-board .ex-combinations.is-compact>.ex-combo-empty{grid-column:2;grid-row:2}.exploration-lesson .ex-board .ex-combinations.is-compact>.ex-combo-wardrobe{grid-column:1;grid-row:1 / 3}.exploration-lesson .ex-board .ex-combinations.is-compact .ex-combo-rack>b{display:none}.exploration-lesson .ex-board .ex-combinations.is-compact>.ex-combo-build{grid-column:1;grid-row:3}.exploration-lesson .ex-board .ex-combinations.is-compact>.ex-combo-gallery{grid-column:2;grid-row:1 / 3}.exploration-lesson .ex-board .ex-combinations.is-compact>.lesson-pager{grid-column:2;grid-row:3}.exploration-lesson .ex-board .ex-combinations.is-compact>.ex-combo-count{grid-column:1 / -1;grid-row:4;text-align:center}.exploration-lesson .ex-board .ex-combinations.is-compact>.ex-combo-build p:first-child{display:none}.exploration-lesson .ex-board .ex-combinations.is-compact.has-gallery>.ex-combo-build p:last-child{display:none}.exploration-lesson .ex-task .ex-combinations.is-compact:not(.has-gallery)>.ex-combo-empty{display:none}.exploration-lesson .ex-task .ex-combinations.is-compact>.ex-combo-wardrobe{display:grid;grid-template-columns:minmax(0,var(--combo-left-count)) minmax(0,var(--combo-right-count));gap:8px}.exploration-lesson .ex-task .ex-combinations.is-compact .ex-combo-rack>div{flex-wrap:nowrap;gap:2px}.exploration-lesson .ex-task .ex-combinations.is-compact .ex-combo-rack button{min-width:0;max-width:none;flex:1;padding:2px;font-size:18px}.exploration-lesson .ex-task .ex-combinations.is-compact .ex-combo-rack b{margin-bottom:2px}.exploration-lesson .ex-task .ex-combinations.is-compact.has-gallery,.exploration-lesson .ex-explanation .ex-combinations.is-compact.has-gallery{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:1px 8px;align-content:center}.exploration-lesson .ex-task .ex-combinations.is-compact.has-gallery>.ex-combo-gallery,.exploration-lesson .ex-explanation .ex-combinations.is-compact.has-gallery>.ex-combo-gallery{grid-column:1 / -1;grid-row:1}.exploration-lesson .ex-task .ex-combinations.is-compact.has-gallery>.lesson-pager,.exploration-lesson .ex-explanation .ex-combinations.is-compact.has-gallery>.lesson-pager{grid-column:2;grid-row:2}.exploration-lesson .ex-task .ex-combinations.is-compact.has-gallery>.ex-combo-count,.exploration-lesson .ex-explanation .ex-combinations.is-compact.has-gallery>.ex-combo-count{grid-column:1;grid-row:2;text-align:left;align-self:center}.exploration-lesson .ex-task .ex-combinations.is-compact.has-gallery .ex-combo-gallery button,.exploration-lesson .ex-explanation .ex-combinations.is-compact.has-gallery .ex-combo-gallery button{min-height:52px;padding:2px}.exploration-lesson .ex-explanation:has(.ex-combinations)>.ex-equation{margin:0;font-size:20px;line-height:1.3}.exploration-lesson .ex-explanation:has(>.ex-combinations.is-compact){gap:1px}.exploration-lesson .ex-board .ex-combinations.is-compact{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.exploration-lesson .ex-board .ex-combinations.is-compact .ex-combo-rack>div{gap:3px}.exploration-lesson .ex-board .ex-combinations.is-compact .ex-combo-rack button{padding:3px;max-width:90px}.exploration-lesson .ex-board .ex-combinations.is-compact .ex-combo-rack .ex-combo-icon{height:28px}.exploration-lesson .ex-board .ex-combinations.is-compact>.ex-combo-build{display:flex;align-items:center;justify-content:center;gap:4px;padding:3px}.exploration-lesson .ex-board .ex-combinations.is-compact>.ex-combo-build>.ex-combo-outfit{display:block;width:46px;height:56px;transform:none;margin:0;flex-shrink:0}.exploration-lesson .ex-board .ex-combinations.is-compact>.ex-combo-build>div:last-child{min-width:0}}.exploration-lesson :is(.ex-task,.ex-explanation) .ex-combinations.is-compact.has-gallery[data-adaptive=true]{display:flex;flex-direction:column;height:auto;flex:0 0 auto;gap:6px}.exploration-lesson :is(.ex-task,.ex-explanation) .ex-combinations.is-compact.has-gallery[data-adaptive=true] .ex-combo-gallery button{min-height:90px;padding:4px;line-height:1.25}.exploration-lesson :is(.ex-task,.ex-explanation) .ex-combinations.is-compact.has-gallery[data-adaptive=true] .ex-combo-gallery .ex-combo-outfit{width:68px;height:84px;transform:scale(.85);margin:-5px}.exploration-lesson :is(.ex-task,.ex-explanation) .ex-combinations.is-compact.has-gallery[data-adaptive=true][data-density=dense] .ex-combo-gallery button{min-height:46px;padding:0;line-height:1.2}.exploration-lesson :is(.ex-task,.ex-explanation) .ex-combinations.is-compact.has-gallery[data-adaptive=true][data-density=dense] .ex-combo-gallery .ex-combo-outfit{width:40px;height:46px;transform:none;margin:0}.exploration-lesson :is(.ex-task,.ex-explanation) .ex-combinations.is-compact.has-gallery[data-adaptive=true][data-hide-count=true]>.ex-combo-count{display:none}@media (max-height:500px) and (orientation:landscape){.exploration-lesson :is(.ex-task,.ex-explanation) .ex-combinations.is-compact.has-gallery[data-adaptive=true]{gap:1px}}.ea-visual{width:100%;max-width:820px;margin:auto;color:var(--ui-text,#3d4034)}.ea-workspace{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(210px,1.3fr);gap:20px;align-items:center}.ea-tray{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;align-items:center}.ea-piece{border:3px solid transparent!important;border-radius:12px;padding:8px!important;min-width:100px;display:flex;flex-direction:column;align-items:center;gap:4px;background:var(--ui-surface,#fff9e9)!important;color:inherit!important;opacity:1!important}.ea-piece.is-active{border-color:#436f9d!important}.ea-piece svg{width:90px;height:85px;fill:#7ea5d2;stroke:#344e6e;stroke-width:1.5}.ea-piece:nth-child(2) svg{fill:#92b77d;stroke:#405a36}.ea-piece span{font-size:20px}.ea-tools{display:flex;justify-content:center;gap:8px;width:100%}.ea-tools button{font-size:18px!important;min-height:44px}.ea-target-wrap{max-width:420px;width:100%;justify-self:center}.ea-grid{display:grid;gap:2px;background:transparent;padding:2px;width:min(100%,calc(var(--ea-height,200px) * var(--ea-ratio)));margin:auto;box-sizing:border-box}.ea-cell{width:100%!important;min-width:0!important;min-height:0!important;height:100%;padding:0!important;border:2px solid #7b796a!important;border-radius:4px!important;background:#fff9e9!important;color:#24364b!important;opacity:1!important;box-shadow:none!important;font-size:18px!important}.ea-cell.piece-a{background:#8cafd5!important}.ea-cell.piece-b{background:#a7c58b!important;color:#324d26!important}.ea-cell.outside{visibility:hidden}.ea-cell:enabled:hover{outline:3px solid #c58637;outline-offset:-3px;transform:none!important}.ea-grid-note{margin:8px 0 0!important;text-align:center;font-size:18px!important}.ea-operation{margin:10px 0 0!important;min-height:1.45em;text-align:center;font-size:20px!important}.ea-tray>.ea-operation{flex-basis:100%}.ea-visual.is-compact{--ea-height:180px}.ea-visual.is-compact .ea-piece svg{height:65px}.ea-visual.is-compact .ea-operation{font-size:18px!important}@media (max-height:500px){.ea-visual,.ea-visual.is-compact{--ea-height:105px}.ea-visual.is-explanation{--ea-height:85px}.ex-board-content .ea-visual{--ea-height:190px}.ea-workspace{grid-template-columns:minmax(185px,.9fr) minmax(180px,1fr);gap:10px}.ea-piece{padding:4px!important;min-width:80px}.ea-piece svg{width:65px;height:55px!important}.ea-piece span{font-size:18px}.ea-grid-note,.ea-visual.is-static>.ea-operation{display:none!important}.ea-operation{font-size:18px!important;margin-top:2px!important}.ea-tray{gap:5px}}.exploration-lesson .ex-task:has(>.ea-visual),.exploration-lesson .ex-explanation:has(>.ea-visual){display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px}.exploration-lesson .ex-task>.ea-visual,.exploration-lesson .ex-explanation>.ea-visual{--ea-height:clamp(180px,29vh,230px);margin:0 auto;flex-shrink:0}.exploration-lesson .ex-task>.ea-visual .ea-workspace,.exploration-lesson .ex-explanation>.ea-visual .ea-workspace{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:16px}.exploration-lesson .ex-task>.ea-visual .ea-piece svg,.exploration-lesson .ex-explanation>.ea-visual .ea-piece svg{width:116px;height:110px}.exploration-lesson .ex-explanation:has(>.ea-visual)>.ex-equation{margin:0}@media (max-height:500px){.exploration-lesson .ex-task:has(>.ea-visual),.exploration-lesson .ex-explanation:has(>.ea-visual){gap:2px}.exploration-lesson .ex-task>.ea-visual{--ea-height:120px}.exploration-lesson .ex-task>.ea-visual .ea-piece svg,.exploration-lesson .ex-explanation>.ea-visual .ea-piece svg{width:100px;height:75px!important}.exploration-lesson .ex-explanation:has(>.ea-visual){--ea-height:125px;display:grid;grid-template-columns:minmax(185px,.9fr) minmax(180px,1fr);grid-template-rows:auto auto;column-gap:10px;row-gap:2px;align-items:center;align-content:center}.exploration-lesson .ex-explanation>.ea-visual{--ea-height:125px}.exploration-lesson .ex-explanation>.ea-visual,.exploration-lesson .ex-explanation>.ea-visual>.ea-workspace{display:contents}.exploration-lesson .ex-explanation>.ea-visual .ea-piece{padding:2px!important;gap:2px}.exploration-lesson .ex-explanation>.ea-visual .ea-piece svg{height:70px!important}.exploration-lesson .ex-explanation>.ea-visual .ea-piece span{line-height:1.15}.exploration-lesson .ex-explanation .ea-tray{grid-column:1;grid-row:1;align-self:center}.exploration-lesson .ex-explanation .ea-target-wrap{grid-column:2;grid-row:1 / 3}.exploration-lesson .ex-explanation:has(>.ea-visual)>.ex-equation{grid-column:1;grid-row:2;font-size:18px;line-height:1.3}}.el-visual{max-width:860px;width:100%;margin:auto;color:var(--ui-text,#3d4034)}.el-workspace{display:grid;grid-template-columns:minmax(175px,1fr) minmax(290px,1.5fr);gap:18px;align-items:center}.el-clues{background:var(--ui-surface,#fff9eb);border:2px solid #b5af94;border-radius:12px;padding:10px 14px}.el-rule{margin:0 0 8px!important;font-size:20px!important}.el-clues ol{padding-left:1.3em;margin:0}.el-clues li{font-size:20px;line-height:1.45;margin:4px 0}.el-table{border-collapse:separate;border-spacing:3px;width:100%;table-layout:fixed;text-align:center}.el-table caption{font-size:18px;line-height:1.4;margin-bottom:6px}.el-table th{font-size:18px;line-height:1.35;padding:4px 2px;color:inherit}.el-table th.is-target{background:#f5dc97;border-radius:8px;color:#51401c}.el-table td{padding:0}.el-mark{width:100%;min-width:44px!important;min-height:44px!important;height:48px;padding:0!important;border:2px solid #a7aa96!important;border-radius:7px!important;background:var(--ui-surface,#fffdf1)!important;font-size:28px!important;font-weight:700!important;line-height:1!important;color:inherit!important;opacity:1!important;box-shadow:none!important}.el-mark.is-a{background:#d6e9c7!important;color:#38582c!important}.el-mark.is-extra{background:#ede4d6!important;color:#775a43!important}.el-mark:enabled:hover{outline:3px solid #a67a34;outline-offset:-3px;transform:none!important}.el-tools{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:10px}.el-tools button{font-size:18px!important;min-height:44px!important}.el-tools .is-active{outline:3px solid #456e91;outline-offset:1px}.el-tools span{font-size:18px!important;margin:0!important;flex-basis:100%;text-align:center}.el-visual.is-compact .el-mark{height:44px}.el-visual.is-compact .el-table{border-spacing:2px}.el-visual.is-compact .el-table th{line-height:1.2;padding:0}.el-visual.is-compact .el-table caption{margin-bottom:3px;line-height:1.2}.el-visual.is-compact .el-clues li,.el-visual.is-compact .el-rule{font-size:18px!important}@media (max-height:500px){.el-workspace{grid-template-columns:minmax(190px,1.1fr) minmax(270px,1.4fr);gap:10px}.el-clues{padding:6px 10px}.el-clues li,.el-rule{font-size:18px!important;line-height:1.35;margin:2px 0}.el-mark{height:44px;font-size:24px!important}.el-table th{font-size:18px;padding:0;white-space:nowrap}.el-table caption{font-size:18px;margin-bottom:1px}.el-visual.is-static .el-mark{height:26px!important;min-height:26px!important;font-size:22px!important}.el-visual.is-static .el-table{border-spacing:1px}.el-visual.is-static .el-table th{line-height:1.2}.el-visual.is-interactive .el-table caption{display:none!important}.el-table-wrap>.lesson-pager{margin:3px 0 0!important}.el-tools{margin-top:4px;gap:6px}.el-tools span{display:none!important}.el-tools button{padding:4px 8px!important}}@media (max-height:500px){.activity-visual .el-visual.is-static .el-table caption{display:none!important}.activity-visual .el-visual.is-static .el-mark{height:24px!important;min-height:24px!important}.ex-explanation:has(.el-visual)>.ex-equation{line-height:1.25}}@media (max-height:500px){.activity-visual .ex-explanation:has(.el-visual)>.ex-equation{display:none!important}}@media (max-height:500px){.exploration-lesson .lesson-paged-modal:has(>.ex-explanation>.el-visual){gap:2px}.exploration-lesson .lesson-paged-modal .el-visual.is-static .el-mark{display:block;height:24px!important;min-height:24px!important}.exploration-lesson .lesson-paged-modal .el-clues{padding:4px 8px}.exploration-lesson .lesson-paged-modal .el-clues li{margin:0;line-height:1.25}.exploration-lesson .lesson-paged-modal .el-rule{margin-bottom:2px!important}}.ex-schedule{display:flex;flex-direction:column;gap:12px;width:100%;min-width:0}.ex-schedule-rule{margin:0}.ex-schedule-cards{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.ex-schedule-cards button{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:110px;min-height:84px;padding:10px;font-size:var(--lesson-label-size,20px)}.ex-schedule-cards strong{font-size:var(--lesson-equation-size,24px)}.ex-schedule-cards b{font-size:18px}.ex-schedule-cards .is-selected{border:3px solid #739859;background:#edf5e5}.ex-schedule-auto{font-size:var(--lesson-label-size,20px);line-height:1.4;text-align:center}.ex-schedule-timeline{display:flex;flex-direction:column;gap:9px}.ex-schedule-axis{display:flex;justify-content:space-between;margin-left:95px;font-size:18px}.ex-schedule-lane{display:flex;gap:8px;align-items:center;font-size:18px}.ex-schedule-lane>span{width:87px;flex-shrink:0}.ex-schedule-lane>div{height:35px;position:relative;flex:1;border:1px solid #ad9b78;background:#fff9eb}.ex-schedule-bar{position:absolute;top:0;height:100%;display:flex;align-items:center;justify-content:center;border:1px solid #526d4a;box-sizing:border-box;overflow:hidden;background:#b5d39c;color:#263322;font-size:18px}.ex-schedule-bar.type-auto{background:#d9e6ef;border-color:#8297a8}.ex-schedule-bar.type-finish{background:#f2ce7c}.ex-schedule.is-compact{gap:7px}.ex-schedule.is-compact .ex-schedule-cards button{min-height:64px;padding:6px}.ex-schedule.is-compact .ex-schedule-axis{font-size:18px}@media (max-height:500px){.ex-schedule{gap:6px}.ex-schedule-cards{gap:8px}.ex-schedule-cards button{min-height:62px;padding:5px;min-width:97px}.ex-schedule-cards strong{font-size:22px}.ex-schedule-timeline{gap:5px}.ex-schedule-lane>div{height:29px}.ex-schedule-rule{font-size:20px}}.ex-schedule.is-method{display:grid;grid-template-columns:1fr 1.25fr;align-items:start;gap:8px}.ex-schedule.is-method>.ex-schedule-rule{grid-column:1/-1;font-size:18px}.ex-schedule.is-method>.ex-schedule-cards{grid-column:1;grid-row:2/span 2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.ex-schedule.is-method .ex-schedule-cards button{min-width:0;font-size:18px}.ex-schedule.is-method>.ex-schedule-auto{grid-column:2;grid-row:2;font-size:18px;line-height:1.3}.ex-schedule.is-method>.ex-schedule-timeline{grid-column:2;grid-row:3;gap:4px}.ex-schedule.is-method .ex-schedule-lane>div{height:26px}.ex-schedule.is-method .ex-schedule-status{font-size:18px;margin:0}.ex-schedule.is-method .ex-schedule-cards button{position:relative;display:grid;grid-template-columns:1fr auto;gap:2px;line-height:1.25}.ex-schedule.is-method .ex-schedule-cards button>span{grid-column:1/-1}.ex-schedule.is-method .ex-schedule-cards strong{font-size:22px}.ex-schedule.is-method .ex-schedule-cards b{font-size:18px;line-height:1.2}.activity-visual .ex-schedule.is-method>.ex-schedule-auto{display:none!important}@media (max-height:500px){.ex-schedule,.ex-schedule.is-method{display:flex;flex-direction:column;gap:5px}.ex-schedule-rule{font-size:18px!important;line-height:1.3}.ex-schedule-cards,.ex-schedule.is-method>.ex-schedule-cards{display:flex;flex-wrap:nowrap;gap:5px}.ex-schedule-cards button,.ex-schedule.is-method .ex-schedule-cards button{display:grid;grid-template-columns:1fr auto;gap:2px;min-width:97px;min-height:58px;font-size:18px;padding:4px}.ex-schedule-cards button>span{grid-column:1/-1}.ex-schedule-cards strong{font-size:20px}.ex-schedule-auto,.ex-schedule.is-method>.ex-schedule-auto{font-size:18px;line-height:1.3}.ex-schedule-timeline,.ex-schedule.is-method>.ex-schedule-timeline{gap:3px;width:100%}.ex-schedule-lane>div,.ex-schedule.is-method .ex-schedule-lane>div{height:22px}.activity-visual .ex-schedule.is-static>.ex-schedule-rule,.activity-visual .ex-schedule.is-static>.ex-schedule-auto,.activity-visual .ex-schedule.is-static .ex-schedule-status,.activity-visual .ex-schedule.is-static .ex-schedule-axis{display:none!important}.ex-schedule>.lesson-pager{margin:1px 0 0!important}}@media (max-height:500px){.ex-schedule.is-timeline-page>.ex-schedule-rule,.ex-schedule.is-timeline-page .ex-schedule-axis{display:none!important}}@media (max-height:500px){.activity-visual .ex-explanation:has(.ex-schedule)>.ex-equation{display:none!important}}@media (max-height:500px){.exploration-lesson .lesson-paged-modal .ex-schedule-timeline{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;align-items:center}.exploration-lesson .lesson-paged-modal .ex-schedule-axis{grid-column:1;grid-row:1}.exploration-lesson .lesson-paged-modal .ex-schedule-lane{grid-column:1}.exploration-lesson .lesson-paged-modal .ex-schedule-status{grid-column:1 / -1;grid-row:4}.exploration-lesson .lesson-paged-modal:has(>.ex-explanation>.ex-schedule){gap:2px}.exploration-lesson .lesson-paged-modal .ex-explanation:has(>.ex-schedule){gap:1px}.exploration-lesson .lesson-paged-modal .ex-explanation:has(>.ex-schedule)>.ex-equation{line-height:1.2}}.ex-schedule-lane>span{width:95px;white-space:nowrap}.ex-schedule-axis{margin-left:103px}.ex-schedule-cards b,.ex-schedule.is-method .ex-schedule-cards b{font-size:14px;white-space:nowrap}.ex-schedule.is-static[data-layout] .ex-schedule-cards button{display:grid;grid-template-columns:1fr auto;gap:2px;line-height:1.25;min-width:0;min-height:64px;padding:6px;font-size:18px}.ex-schedule.is-static[data-layout] .ex-schedule-cards button>span{grid-column:1/-1}.ex-schedule.is-static[data-layout] .ex-schedule-cards strong{font-size:22px}.ex-schedule.is-static[data-layout=stacked]{display:flex;flex-direction:column;gap:8px}.ex-schedule.is-static[data-layout=stacked]>.ex-schedule-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));gap:8px;width:100%}.ex-schedule.is-static[data-layout=stacked]>.ex-schedule-timeline{width:100%;min-width:0}.ex-schedule.is-static[data-layout=side-by-side]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:start;gap:8px}.ex-schedule.is-static[data-layout=side-by-side]>.ex-schedule-rule{grid-column:1/-1;grid-row:1}.ex-schedule.is-static[data-layout=side-by-side]>.ex-schedule-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-column:1;grid-row:2;gap:6px}.ex-schedule.is-static[data-layout=side-by-side]>.ex-schedule-timeline{grid-column:2;grid-row:2;min-width:0}.ex-schedule.is-static[data-layout=side-by-side]>.ex-schedule-auto{grid-column:1/-1;grid-row:3}.ex-guarantee{display:flex;flex-direction:column;gap:12px;width:100%;min-width:0}.ex-guarantee-rule{margin:0;text-align:center}.ex-guarantee-kinds{display:flex;gap:15px;justify-content:center;flex-wrap:wrap}.ex-guarantee-kind{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:100px;font-size:var(--lesson-label-size,20px)}.ex-guarantee-symbol{display:block;width:80px;height:80px;flex-shrink:0}.ex-guarantee-kind button{min-height:44px;padding:5px 12px;font-size:20px}.ex-guarantee-surface{display:flex;gap:10px;justify-content:center;align-items:center;flex-wrap:wrap;min-height:105px;padding:10px;background:#fbf2df;border:2px dashed #b6a17d;border-radius:16px}.ex-guarantee-surface>button{display:flex;flex-direction:column;align-items:center;padding:5px;background:#fffaf0;min-width:85px;min-height:95px;font-size:18px}.ex-guarantee-surface .ex-guarantee-symbol{width:65px;height:65px}.ex-guarantee-surface .is-pair{border:3px solid #71984e}.ex-guarantee-status{margin:0;text-align:center}.ex-guarantee-design-note{font-size:18px;line-height:1.4;margin:0;text-align:center}.ex-guarantee.is-compact{gap:7px}.ex-guarantee.is-compact .ex-guarantee-symbol{width:65px;height:65px}.ex-guarantee.is-compact .ex-guarantee-surface{min-height:80px;padding:6px}@media (max-height:500px){.ex-guarantee{gap:6px}.ex-guarantee-kinds{gap:9px}.ex-guarantee-kind{min-width:85px;gap:3px}.ex-guarantee-symbol{width:62px;height:62px}.ex-guarantee-surface{min-height:75px;padding:6px;gap:6px}.ex-guarantee-surface>button{min-height:73px;min-width:65px;padding:3px}.ex-guarantee-surface .ex-guarantee-symbol{width:48px;height:48px}.ex-guarantee-rule{font-size:20px}.ex-guarantee-kind button{font-size:18px}}.ex-guarantee-kind{position:relative}.ex-guarantee-own-count{position:absolute;top:0;right:4px;display:flex;align-items:center;justify-content:center;min-width:25px;height:25px;border-radius:50%;background:#f1d59e;color:#4b3d26;font-size:18px;border:1px solid #9e8051}.ex-guarantee.is-static{gap:6px}.ex-guarantee.is-static .ex-guarantee-symbol{width:48px;height:48px}.ex-guarantee.is-static .ex-guarantee-kind{font-size:18px;gap:2px}.ex-guarantee.is-static .ex-guarantee-surface{min-height:0;padding:5px}.ex-guarantee.is-static .ex-guarantee-surface>button{min-height:0;padding:3px;font-size:18px}.ex-guarantee-surface{background:var(--ui-surface,#fbf2df);border-color:var(--ui-border,#b6a17d)}.exploration-lesson .ex-explanation:has(>.ex-guarantee.is-method){gap:2px}@media (min-height:501px){.exploration-lesson .activity-visual .ex-explanation:has(>.ex-guarantee.is-method){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:repeat(4,auto);align-content:center;justify-items:center;gap:6px 12px}.exploration-lesson .activity-visual .ex-explanation>.ex-guarantee.is-method{display:contents}.exploration-lesson .activity-visual .ex-guarantee.is-method>:is(.ex-guarantee-rule,.ex-guarantee-kinds,.ex-guarantee-surface){grid-column:1 / -1;width:100%}.exploration-lesson .activity-visual .ex-guarantee.is-method>.ex-guarantee-status{grid-column:1;grid-row:4}.exploration-lesson .activity-visual .ex-explanation:has(>.ex-guarantee.is-method)>.ex-equation{grid-column:2;grid-row:4}}@media (max-height:500px){.ex-guarantee-rule{font-size:18px!important;line-height:1.3}.ex-guarantee.is-static .ex-guarantee-kinds{flex-wrap:nowrap;gap:5px}.ex-guarantee.is-static .ex-guarantee-kind{flex-direction:row;min-width:0;gap:2px}.ex-guarantee.is-static .ex-guarantee-kind>.ex-guarantee-symbol{width:24px;height:24px}.ex-guarantee.is-static .ex-guarantee-kind strong{font-size:18px;font-weight:400;white-space:nowrap}.ex-guarantee.is-static .ex-guarantee-surface .ex-guarantee-symbol{width:44px;height:44px}.activity-visual .ex-guarantee.is-static>.ex-guarantee-rule,.activity-visual .ex-guarantee.is-static>.ex-guarantee-status,.activity-visual .ex-guarantee.is-empty>.ex-guarantee-surface{display:none!important}.ex-guarantee.is-empty.is-static .ex-guarantee-kind{flex-direction:column}.ex-guarantee.is-empty.is-static .ex-guarantee-kind>.ex-guarantee-symbol{width:58px;height:58px}.ex-guarantee.is-interactive .ex-guarantee-kinds{flex-wrap:nowrap;gap:8px}.ex-guarantee.is-interactive .ex-guarantee-symbol{width:48px;height:48px}.ex-guarantee.is-interactive .ex-guarantee-kind{min-width:90px;font-size:18px}.ex-guarantee.is-interactive .ex-guarantee-surface>button{min-width:78px;min-height:72px}.ex-guarantee-design-note{font-size:18px;line-height:1.3}.ex-guarantee>.lesson-pager{margin:0!important}}@media (max-height:500px){.activity-visual .ex-guarantee.is-static:not(.is-method)>.ex-guarantee-rule{display:block!important}.activity-visual .ex-explanation:has(.ex-guarantee)>.ex-equation{display:none!important}.ex-guarantee.is-interactive .ex-guarantee-kind>.ex-guarantee-symbol{width:36px;height:36px}.ex-guarantee.is-interactive .ex-guarantee-kind strong{line-height:1.2;font-size:18px}.ex-guarantee.is-interactive .ex-guarantee-kind{gap:3px}}@media (max-height:500px){.activity-visual .ex-guarantee.is-static.is-sample>.ex-guarantee-rule{display:none!important}.ex-guarantee.is-empty.is-static .ex-guarantee-kind>.ex-guarantee-symbol{width:42px;height:42px}}@media (max-height:500px){.exploration-lesson .lesson-paged-modal .ex-guarantee.is-method{display:grid;grid-template-columns:minmax(110px,.65fr) minmax(0,2fr);gap:4px 10px;align-items:center}.exploration-lesson .lesson-paged-modal .ex-guarantee.is-method .ex-guarantee-rule{grid-column:1 / -1}.exploration-lesson .lesson-paged-modal .ex-guarantee.is-method .ex-guarantee-kinds{grid-column:1;grid-row:2 / 4;flex-direction:column;gap:2px}.exploration-lesson .lesson-paged-modal .ex-guarantee.is-method .ex-guarantee-surface{grid-column:2;grid-row:2}.exploration-lesson .lesson-paged-modal .ex-guarantee.is-method .ex-guarantee-status{grid-column:2;grid-row:3}.exploration-lesson .lesson-paged-modal:has(>.ex-explanation>.ex-guarantee){gap:2px}.exploration-lesson .lesson-paged-modal .ex-guarantee.is-method .ex-guarantee-kinds{gap:0}.exploration-lesson .lesson-paged-modal .ex-guarantee.is-method .ex-guarantee-kind,.exploration-lesson .lesson-paged-modal .ex-guarantee.is-method .ex-guarantee-kind strong{line-height:1.15}.exploration-lesson .lesson-paged-modal .ex-guarantee.is-method .ex-guarantee-surface{flex-wrap:nowrap;gap:4px}.exploration-lesson .lesson-paged-modal .ex-guarantee.is-method .ex-guarantee-surface>button{min-width:0;flex:1;padding:2px}.exploration-lesson .lesson-paged-modal .ex-guarantee.is-method .ex-guarantee-surface .ex-guarantee-symbol{width:36px;height:36px}.exploration-lesson .lesson-paged-modal .ex-guarantee.is-method .ex-guarantee-surface>button>span{font-size:18px;line-height:1.15}.exploration-lesson .lesson-paged-modal .ex-guarantee .ex-guarantee-status{font-size:18px;line-height:1.3}.exploration-lesson .lesson-paged-modal .ex-guarantee.is-method{row-gap:1px}.exploration-lesson .lesson-paged-modal .ex-explanation:has(>.ex-guarantee.is-method){gap:1px}}.town-root{position:relative;width:100%;height:100%;isolation:isolate}.journey-farm{position:absolute;top:0;right:0;bottom:0;left:0}.town-app{position:relative;z-index:1;background:#f3efd9}.town-surface{height:100%;display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain}.town-app .farm-header{flex-shrink:0;background:#fffaf0e8;z-index:2}.town-app .farm-brand small{letter-spacing:1px}.town-app .header-right>button:not(.icon-button),.math-app .header-right>button:not(.icon-button){min-height:40px;padding:7px 15px;font-size:14px}.town-stage{position:relative;flex:1;min-height:175px;overflow:hidden;background:#dce6ca;border-bottom:1px solid #d8dfc5}.town-scenery,.town-landscape{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.town-landscape{display:block}.town-prototype{position:absolute;right:20px;top:15px;font-size:11px;letter-spacing:1px;background:#fff8d9c9;color:#827851;padding:5px 11px;border-radius:20px}.town-dialogue{position:relative;flex-shrink:0;background:#fffdf5;padding:16px max(28px,calc((100vw - 1040px)/2)) 8px;border-top:2px solid #fff8;z-index:2}.town-dialogue .dialogue-text{margin:7px 0 12px;font-size:22px;min-height:34px}.town-controls{display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap;min-height:55px}.town-controls>small{width:100%;text-align:center;font-size:11px;color:#8d937e;margin-top:-8px}.town-choice-row{display:flex;align-items:center;justify-content:center;gap:13px;flex-wrap:wrap}.town-continue{margin-left:auto;min-width:130px}.town-app button[aria-pressed=true]{background:#e5edce;border-color:#68865a;box-shadow:0 3px #a9bd8c;outline:2px solid #9eb785;outline-offset:2px}.town-name-choice{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;width:100%}.town-name-preview{font-size:13px;color:#7b856c;margin:0}.town-name-preview strong{font-size:16px;color:#536c4d}.town-name-input{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;font-size:15px;width:100%;margin:7px 0}.town-name-input input{width:200px;border:2px solid #b9c9a7;border-radius:10px;padding:9px 12px;background:#fff;color:#345340;-webkit-user-select:text;user-select:text}.town-name-input small{font-size:12px;color:#879173}.town-appearance{display:flex;justify-content:center;gap:18px}.town-app .town-appearance>button{padding:5px 24px 8px;display:flex;flex-direction:column;align-items:center;font-size:13px;min-width:125px;border-radius:18px}.town-appearance .town-player svg,.town-appearance .character svg{height:112px;width:82px}.town-appearance .character{width:100%;max-width:none;opacity:1;transform:none}.town-appearance .character>span{font-size:12px;letter-spacing:0;padding:0;background:transparent}.town-player{display:flex;flex-direction:column;align-items:center}.town-player svg{display:block;width:120px;height:175px}.town-player>span{font-size:12px;background:#fff7de;border-radius:12px;padding:2px 10px}.sign-option svg{width:35px;height:35px}.town-app .sign-option{display:flex;align-items:center;gap:9px;padding:7px 18px}.yard-sign{position:absolute;left:16%;top:45%;max-width:260px;display:flex;align-items:center;gap:9px;border:3px solid #ae9367;box-shadow:4px 6px #8c86631a;background:#fcf2d4;color:#6e654c;border-radius:12px;padding:10px 17px;transform:rotate(-3deg);opacity:.8}.yard-sign.is-hung{opacity:1}.yard-sign svg{width:36px;height:36px}.yard-sign>span{font-size:19px;white-space:nowrap}.yard-player{position:absolute;left:47%;bottom:5%;width:110px}.yard-player .town-player svg{height:140px;width:100px}.yard-partner{position:absolute;right:17%;bottom:5%;width:110px}.yard-partner .character{width:100%;max-width:none;opacity:1}.yard-partner .character svg{height:145px}.yard-partner .character>span{font-size:12px;letter-spacing:0;background:#fff8df}.yard-medal{position:absolute;left:4%;top:12%;background:#fff8dceb;border:2px solid #d7bd78;border-radius:14px;display:flex;flex-direction:column;align-items:center;padding:10px 18px;box-shadow:0 6px 20px #806b3c14}.yard-medal>b{font-size:36px;color:#b99a4c}.yard-medal>span{font-size:15px}.yard-medal>small{font-size:10px;color:#92906e}.town-new-partner{position:absolute;right:22%;bottom:5%;width:145px;background:#fff7e361;border-radius:50%}.town-new-partner .character{max-width:none;width:100%;opacity:1}.town-new-partner .character svg{max-height:190px}.town-tool-badges{position:absolute;top:25%;left:25%;display:flex;gap:20px;flex-wrap:wrap}.town-tool-badges>span{font-size:20px;background:#fff8dc;border:2px solid #d6c795;border-radius:16px;padding:16px 23px;box-shadow:4px 6px #b5b58d33}.town-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-shrink:0;background:#f6f3e4;color:#8c927d;padding:4px 26px;font-size:10px;min-height:24px}.town-footer a{color:#7f8a72;text-decoration:underline;text-underline-offset:3px}.town-letter{position:relative;margin:20px auto;max-width:540px;padding:22px 45px;background:#fff8df;border:2px solid #ddcca0;border-radius:9px 24px;box-shadow:9px 12px #a6af8030;transform:rotate(-1deg);color:#746448}.town-letter>span{font-size:11px;letter-spacing:3px;color:#a5936b}.town-letter h1{font-size:38px;line-height:1.4;margin:12px 0 17px;letter-spacing:3px;color:#57704e}.town-letter p{font-size:16px;line-height:1.9;margin:8px 0}.town-letter .letter-signature{text-align:right;margin-right:25px}.letter-seal{position:absolute;right:25px;top:70px;transform:rotate(20deg);opacity:.75}.letter-seal svg{width:65px;height:65px}.stage-S00{min-height:360px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 25% 20%,#f7efd3,#d7e3c4)}.town-map{position:absolute;top:0;right:0;bottom:0;left:0;max-width:1100px;margin:auto;background:radial-gradient(ellipse at 25% 65%,#f3efd6,#dce6c8)}.map-path{position:absolute;width:55%;height:80px;top:55%;left:18%;border:15px dashed #d9c293;border-radius:50%;transform:rotate(-12deg)}.town-app .map-location{position:absolute;display:flex;flex-direction:column;align-items:center;gap:4px;background:#fffbeb;box-shadow:0 7px #c0cba1;min-width:175px;padding:15px 20px;border:2px solid #c6d0ac;transform:none}.map-location>span{font-size:37px;line-height:1.1;color:#88a070}.map-location>strong{font-size:20px;max-width:240px;overflow-wrap:anywhere}.map-location>small{font-size:11px;color:#8d947e}.map-yard{left:9%;bottom:12%;transform:rotate(-4deg)!important}.town-app .map-farm{left:43%;top:16%;border-color:#809e66;box-shadow:0 7px #b4c78d}.map-square{right:4%;bottom:12%;opacity:.72}.town-welcome{position:relative;flex:1;padding:55px max(60px,calc((100vw - 1100px)/2));background:radial-gradient(ellipse at 70% 65%,#dfe9c9,#f8f0d7);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:420px}.town-welcome h1{font-size:52px;letter-spacing:5px;line-height:1.45;margin:18px 0;color:#466748}.town-welcome h1>span{color:#89965d}.town-welcome>p{font-size:16px;margin:15px 0 25px;max-width:480px}.town-welcome>.text-button{margin-top:17px}.welcome-duo{position:absolute;right:11%;bottom:12%;display:flex;align-items:flex-end;gap:20px;pointer-events:none}.welcome-duo .town-player svg{height:230px;width:145px}.welcome-duo .character{width:145px;opacity:1}.welcome-duo .character svg{max-height:230px}.town-modal-scrim{position:fixed}.town-modal .character{width:110px;max-width:none;margin:auto}.town-modal .character svg{max-height:150px}.town-modal .modal-top>button{padding:3px 14px;min-height:42px;box-shadow:none}.town-modal .town-choice-row{margin:16px 0}.town-demo-board{height:155px;border:2px dashed #becba7;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#f2f4e3;color:#9ba58b}.demo-pot{font-size:80px;line-height:1;color:#b48a6c}.town-modal .help-copy{margin:16px auto;font-size:18px}.town-modal>button{margin:8px}.town-keepsake{padding:17px;border:2px solid #dbc68b;border-radius:15px;margin:20px auto;background:#fff6d9}.town-keepsake b{color:#a68d50}.town-save-alert{position:fixed;z-index:1000;left:50%;top:50%;transform:translate(-50%,-50%);width:min(90vw,560px);padding:25px;background:#fff5dc;box-shadow:0 0 0 100vmax #293b2855,0 15px 60px #5555;border:2px solid #c6a36d;border-radius:20px;display:flex;flex-direction:column;align-items:center;gap:15px;color:#72593b;text-align:center}.town-save-alert button{font:inherit;padding:12px 25px;border:1px solid #9a8354;border-radius:12px;background:#f0dbac;cursor:pointer}.town-save-alert span{font-size:14px}@media (min-width:1500px){.town-dialogue{padding-top:20px;padding-bottom:12px}.town-dialogue .dialogue-text{font-size:25px}.town-letter{padding:32px 55px;max-width:620px}.town-letter h1{font-size:45px}.town-letter p{font-size:19px}.yard-player .town-player svg{height:175px}.yard-partner .character svg{height:180px}}@media (max-width:1000px){.town-dialogue{padding-left:25px;padding-right:25px}.yard-sign{left:9%;top:40%}.yard-sign>span{font-size:16px}.welcome-duo{right:5%;bottom:8%;opacity:.7}.town-welcome{padding:35px}.town-welcome h1{font-size:44px}.town-welcome .town-choice-row{position:relative;z-index:1}.town-app .map-location{min-width:145px;padding:12px}.map-location>strong{font-size:16px}.map-square{right:3%}.town-new-partner{right:16%}.town-tool-badges{left:15%}}@media (max-width:600px){.town-app .farm-header{height:60px;padding:8px 14px}.town-app .farm-brand{font-size:15px}.town-app .farm-brand img{width:34px;height:34px}.town-app .header-right{gap:6px}.town-app .header-right>button:not(.icon-button){font-size:12px;min-height:40px;padding:6px 10px}.town-stage{min-height:225px}.town-dialogue{padding:12px 16px 5px}.town-dialogue .dialogue-text{font-size:18px;min-height:50px;line-height:1.6}.town-controls{gap:11px}.town-choice-row{gap:10px}.town-choice-row>button{padding:9px 15px;font-size:16px}.town-name-choice{gap:9px}.town-name-choice>.town-choice-row{width:100%}.town-name-preview{font-size:12px}.town-appearance{gap:15px}.town-app .town-appearance>button{min-width:110px;padding:3px 16px 7px}.town-appearance .town-player svg,.town-appearance .character svg{height:96px}.town-controls>.primary{min-height:48px;padding:10px 20px}.town-app .sign-option{padding:8px 12px;font-size:15px}.sign-option svg{width:28px;height:28px}.town-footer{padding:5px 14px}.town-footer>span{font-size:9px}.town-prototype{font-size:9px;right:10px;top:9px}.town-letter{margin:18px;max-width:380px;padding:20px 27px}.town-letter h1{font-size:31px}.town-letter p{font-size:14px}.letter-seal{right:20px;top:55px}.letter-seal svg{width:50px;height:50px}.stage-S00{min-height:350px}.yard-sign{left:4%;top:35%;padding:7px 11px;max-width:225px}.yard-sign svg{width:26px;height:26px}.yard-sign>span{font-size:14px}.yard-player{left:37%;bottom:3%;width:85px}.yard-player .town-player svg{height:110px;width:80px}.yard-partner{right:10%;bottom:2%;width:85px}.yard-partner .character svg{height:120px}.yard-medal{left:4%;top:5%;padding:6px 12px}.yard-medal>b{font-size:25px}.yard-medal>span{font-size:12px}.yard-medal>small{font-size:9px}.town-new-partner{right:9%;bottom:0;width:115px}.town-new-partner .character svg{height:155px}.town-tool-badges{left:6%;top:32%;gap:8px;max-width:155px}.town-tool-badges>span{padding:8px 11px;font-size:16px}.town-app .map-location{min-width:120px;max-width:165px;padding:10px}.map-location>span{font-size:30px}.map-location>strong{font-size:15px}.map-location>small{font-size:10px}.map-yard{left:4%;bottom:10%}.map-farm{left:43%!important;top:10%!important}.map-square{right:4%;bottom:8%;min-width:110px!important}.town-welcome{padding:30px 24px;justify-content:flex-start}.town-welcome h1{font-size:36px}.town-welcome>p{font-size:14px;max-width:300px}.town-welcome .eyebrow{font-size:10px;letter-spacing:2px}.welcome-duo{right:20px;bottom:25px;gap:0;opacity:.55}.welcome-duo .town-player svg{height:155px;width:105px}.welcome-duo .character{width:105px}.welcome-duo .character svg{height:155px}.town-dialogue .dialogue-tools{flex-wrap:wrap}.town-dialogue .dialogue-tools>small{display:block;font-size:10px}.town-dialogue .dialogue-tools>span{width:100%;font-size:11px}.town-name-input input{width:175px}}@media (max-height:650px) and (min-width:601px){.town-stage{min-height:150px}.stage-S00{min-height:255px}.town-letter{padding:12px 30px;margin:10px auto}.town-letter h1{font-size:28px;margin:8px 0}.town-letter p{font-size:13px;margin:4px 0}.town-dialogue{padding:8px 25px 3px}.town-dialogue .dialogue-text{font-size:18px;min-height:27px;margin:5px 0 8px}.town-appearance .town-player svg,.town-appearance .character svg{height:77px}.town-app .town-appearance>button{padding:2px 16px 5px}.town-controls{gap:10px;min-height:48px}.town-app .farm-header{height:52px;padding:6px 20px}.town-app .farm-brand img{height:34px;width:34px}.town-footer{min-height:20px}.yard-player .town-player svg{height:95px}.yard-partner .character svg{height:100px}.town-new-partner .character svg{height:125px}.town-new-partner{width:100px}.yard-sign{padding:5px 12px;top:26%}.town-tool-badges{top:20%}.town-tool-badges>span{padding:8px 12px;font-size:16px}.town-app .map-location{padding:7px 12px;min-width:135px}.map-location>span{font-size:25px}.map-location>strong{font-size:15px}.map-farm{top:4%!important}.map-yard,.map-square{bottom:4%}.town-welcome{min-height:300px;padding:25px 45px}.town-welcome h1{font-size:35px;margin:8px 0}.town-welcome>p{margin:10px 0}.welcome-duo .character svg{height:170px}.welcome-duo .town-player svg{height:170px}.welcome-duo{bottom:5%}}@media (max-height:500px) and (min-width:601px){.stage-S02,.stage-S03,.stage-S05,.stage-S06{display:none}.town-dialogue{flex:1;display:flex;flex-direction:column;justify-content:center}.town-stage{min-height:110px}.stage-S00{min-height:245px}.town-appearance .town-player svg,.town-appearance .character svg{height:85px}.town-controls{gap:15px}.town-controls.controls-S02,.town-controls.controls-S05{flex:1}.town-letter h1{font-size:25px}.town-dialogue .dialogue-tools{margin-top:8px}.town-footer,.town-new-partner{display:none}}.personal-yard .town-surface{height:100dvh;min-height:0;overflow:visible;display:flex;flex-direction:column;background-size:cover;background-position:center}.personal-yard.vn-mode .town-surface>.town-stage,.personal-yard .town-stage{position:relative!important;inset:auto;flex:1;min-height:0;width:100%;display:block}.yard-visit-bar{position:relative;z-index:4;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px;background:var(--ui-panel);color:var(--ui-text);border-top:1px solid var(--ui-border)}.yard-visit-bar p{margin:0;font-size:16px}.yard-visit-bar>div{display:flex;flex-wrap:wrap;gap:10px}.town-app .yard-visit-bar button{min-height:44px;font-size:16px;padding:8px 14px}.yard-objects{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;pointer-events:none}.personal-yard.math-app .yard-object{position:absolute;pointer-events:auto;min-height:44px;min-width:64px;padding:8px 12px;line-height:1.2;font-size:16px;white-space:nowrap;background:var(--ui-surface);color:var(--ui-text);border:1px solid var(--ui-border);box-shadow:0 3px 0 var(--ui-shadow);transform:translate(-50%,-50%);transition:background .15s}.personal-yard.math-app .scene-world .yard-object{transform:translate(-50%,-50%) scale(calc(1 / var(--scene-scale,1)))}.yard-object-sign{left:11%;top:50%}.yard-object-door{left:38%;top:43%}.yard-object-flower{left:78%;top:82%}.yard-object-partner{left:64%;top:58%}.yard-object-keepsake{left:26%;top:73%}.personal-yard .scene-world .yard-object-flower{top:min(82%,calc(50% + var(--scene-visible-height,941px)/2 - 30px/var(--scene-scale,1)))}.personal-yard.vn-mode .yard-world .yard-player{bottom:min(235px,calc(50% + var(--scene-visible-height,941px)/2 - 488px - 32px/var(--scene-scale,1)))}.yard-memory-card{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:12px;background:var(--ui-soft);border:1px solid var(--ui-border);border-radius:16px;color:var(--ui-text)}.yard-memory-card p{margin:0;line-height:1.6}.yard-memory-card .eq-welcome-lantern{width:80px;height:90px}.yard-welcome-lamp{position:absolute;left:42%;top:35%;width:78px;padding-top:18px;pointer-events:none}.yard-welcome-lamp:before{content:"";position:absolute;left:calc(50% - 1px);top:0;width:2px;height:22px;background:#795a36;box-shadow:1px 0 1px #fff4c180;border-radius:2px}.yard-welcome-lamp .eq-welcome-lantern{width:78px;height:112px}.yard-welcome-lamp .eq-welcome-lantern>span{font-size:22px;text-align:center;top:34%}.yard-world .yard-welcome-lamp{left:626px;top:285px}.personal-yard .yard-world .yard-object-door{left:35%;top:46%}.yard-welcome-flower{position:absolute;left:25%;top:47%;width:36px;height:36px;pointer-events:none;filter:drop-shadow(1px 2px 2px #60462855)}.yard-welcome-flower>.eq-icon{width:100%;height:100%}.yard-world .yard-welcome-flower{left:326px;top:412px}@media (max-width:600px){.personal-yard .farm-header{height:auto;min-height:64px;flex-wrap:wrap;gap:8px}.personal-yard .farm-brand{flex-shrink:0}.personal-yard .header-right{margin-left:auto}.yard-visit-bar{padding:10px 12px;flex-direction:column;align-items:stretch;gap:8px}.yard-visit-bar p{font-size:14px;text-align:center}.yard-visit-bar>div{justify-content:center;gap:8px}.town-app .yard-visit-bar button{font-size:14px;padding:8px 10px}.personal-yard.math-app .yard-object{font-size:14px;min-width:60px;padding:7px 9px}}@media (max-height:500px) and (min-width:601px){.personal-yard .farm-header{min-height:52px}.yard-visit-bar{padding:7px 18px}.yard-memory-card{gap:6px;padding:8px}.yard-memory-card .eq-welcome-lantern{width:50px;height:55px}}@media (max-width:600px){.journey-farm .phase-label{display:none}}.town-host{position:absolute;left:5%;bottom:4%;width:120px}.town-host .character{width:100%;max-width:none;opacity:1}.town-host .character svg{max-height:175px}@media (max-width:600px){.town-host{left:3%;width:85px;bottom:2%}.town-host .character svg{max-height:115px}}@media (max-height:500px) and (min-width:601px){.town-host{width:75px;bottom:0}.town-host .character svg{max-height:110px}}.opening-sequence{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;background:#e9eedc}.opening-scene{position:relative;flex:1;min-height:240px;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;overflow:hidden}.opening-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;padding:16px 24px;background:#fffcf0f7;flex-shrink:0;border-top:1px solid #d4dfc9;z-index:1}.opening-actions>p{width:100%;text-align:center;margin:0;color:#775b3e;font-size:15px}.town-app .opening-actions>button{min-height:48px;padding:10px 20px}.town-app .opening-actions>.opening-depart{font-size:21px;padding:13px 32px;min-height:57px}.opening-letter{position:relative;max-width:620px;width:calc(100% - 48px);padding:32px 45px;margin:24px auto;background:#fff9e8f5;box-shadow:0 15px 50px #233b4240;border:1px solid #e5d2a0;border-radius:5px 24px;box-sizing:border-box;color:#48614b}.opening-letter>span{font-size:13px;letter-spacing:3px}.opening-letter h1{font-size:clamp(27px,3.1vw,42px);margin:16px 0 22px;letter-spacing:3px}.opening-letter p{font-size:clamp(16px,1.6vw,21px);line-height:1.7;margin:10px 0}.opening-letter .opening-signature{text-align:right;margin-top:20px}.town-app .opening-play{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);background:#fffcf3eb;color:#3c5d48;border:2px solid white;font-size:22px;min-height:64px;padding:14px 26px}.opening-accessible-copy{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;margin:-1px}@media (max-width:700px){.opening-actions{padding:12px;gap:9px}.town-app .opening-actions>button{font-size:15px;padding:9px 14px;min-height:46px}.town-app .opening-actions>.opening-depart{font-size:19px;min-height:52px}.opening-letter{padding:24px;width:calc(100% - 32px);margin:16px}.opening-letter h1{margin-bottom:14px}.opening-letter p{font-size:17px}.opening-scene:has(.opening-letter){overflow:auto;align-items:safe center}}@media (max-height:550px) and (min-width:701px){.opening-actions{padding:8px}.opening-letter{padding:16px 30px;max-width:750px;margin:12px}.opening-letter h1{font-size:25px;margin:9px 0}.opening-letter p{font-size:15px;line-height:1.45;margin:5px 0}.opening-letter .opening-signature{margin-top:8px}}.opening-scene{isolation:isolate}.opening-shot{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;z-index:-1;animation:opening-reveal .65s ease-out both}.opening-background{display:block;width:100%;height:100%;object-fit:cover;animation:opening-camera 5s ease-out both;animation-play-state:inherit}.opening-scene-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(transparent 55%,#183b334d)}.opening-caption{position:absolute;bottom:clamp(20px,5vh,60px);left:50%;transform:translate(-50%);width:max-content;max-width:calc(100% - 48px);box-sizing:border-box;margin:0;padding:16px 28px;border:1px solid #fff9;border-radius:8px 20px;background:#fffaeaf2;box-shadow:0 8px 30px #203b2929;color:#315947;font-size:clamp(21px,2.3vw,34px);line-height:1.6;text-align:center}.opening-caption>span{display:block;font-size:14px;letter-spacing:3px;color:#6d8268;margin-bottom:3px}.opening-envelope{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%) rotate(-1deg);width:min(540px,75%);padding:38px 24px;box-sizing:border-box;text-align:center;background:#fff8e4ed;border:1px solid #dfd4b0;border-radius:5px 23px;box-shadow:0 12px 40px #25463330;color:#4d6b53}.opening-envelope>span{display:block;font-size:clamp(17px,2vw,26px);letter-spacing:3px}.opening-envelope>strong{display:block;font-size:clamp(27px,3vw,42px);margin:20px 0}.opening-envelope>i{font-size:35px;font-style:normal;color:#89a478}@keyframes opening-reveal{0%{opacity:0}to{opacity:1}}@keyframes opening-camera{0%{transform:scale(1.015) translate(-.3%)}to{transform:scale(1.055) translate(.3%)}}@media (max-width:700px){.opening-caption{bottom:24px;max-width:calc(100% - 28px);width:calc(100% - 28px);padding:13px 17px;font-size:22px}.opening-envelope{top:39%;padding:30px 20px;width:82%}}@media (max-height:550px){.opening-envelope{top:34%;padding:12px 20px}.opening-envelope>strong{margin:8px 0;font-size:27px}.opening-envelope>span{font-size:16px}.opening-envelope>i{display:none}.opening-caption{bottom:12px;padding:7px 20px;font-size:20px}.opening-caption>span{font-size:11px;margin:0}}@media (prefers-reduced-motion:reduce){.opening-shot,.opening-background{animation:none}}html .math-app.town-app .town-title{position:relative;display:flex;flex:1;align-items:center;min-height:100%;overflow:hidden;isolation:isolate;background-position:center;background-size:cover;color:#fff}html .math-app.town-app .town-title .title-shade{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:linear-gradient(90deg,#122d424d,#122d421a 32%,transparent 62%);pointer-events:none}html .math-app.town-app .town-title .title-content{box-sizing:border-box;width:100%;padding:36px clamp(32px,6vw,120px);color:#fff}html .math-app.town-app .town-title .title-content h1{margin:0 0 32px;color:#fff;font-size:clamp(36px,3.5vw,58px);letter-spacing:.12em;line-height:1.25;text-shadow:0 2px 12px #10253680,0 1px 3px #10253680}html .math-app.town-app .town-title .title-content h1 small{display:block;margin-top:12px;color:#fff;font-size:18px;font-weight:400;letter-spacing:.45em}html .math-app.town-app .town-title .title-menu{display:flex;flex-direction:column;align-items:stretch;width:min(340px,100%);max-width:none;gap:12px}html .math-app.town-app .town-title :is(.title-menu,.title-utilities)>button{position:relative;isolation:isolate;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:3px 12px;min-height:58px;padding:10px 22px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#fff;font-size:23px;font-weight:600;font-style:italic;letter-spacing:.16em;line-height:1.4;text-align:center;text-shadow:0 1px 5px #102536b3;transform:none;transition:transform .22s ease}html .math-app.town-app .town-title :is(.title-menu,.title-utilities)>button:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;border-radius:3px;background:linear-gradient(90deg,#16384bb3,#244b6266);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);transform:skew(-10deg);transition:background .22s ease,box-shadow .22s ease;pointer-events:none}html .math-app.town-app .town-title .title-menu>.title-primary:before{background:linear-gradient(90deg,#315d70d1,#527c8b8c);box-shadow:inset 3px 0 #f4f4e7cc}html .math-app.town-app .town-title :is(.title-menu,.title-utilities)>button:hover:not(:disabled){background:transparent;box-shadow:none;transform:translate(6px)}html .math-app.town-app .town-title :is(.title-menu,.title-utilities)>button:hover:before{background:linear-gradient(90deg,#406d80e6,#628b9bb3);box-shadow:inset 3px 0 #fff9}html .math-app.town-app .town-title :is(.title-menu,.title-utilities)>button:focus-visible{outline:2px solid #fff;outline-offset:5px}html .math-app.town-app .town-title .title-menu>button>span{flex:0 1 auto;width:auto;color:inherit}html .math-app.town-app .town-title .title-menu>button>small{color:#fff;font-size:13px;font-style:normal;font-weight:400;letter-spacing:.04em}html .math-app.town-app .town-title :is(.title-primary,.title-story)>small{flex-basis:100%}html .math-app.town-app .town-title .title-utilities{display:flex;flex-wrap:wrap;gap:10px;max-width:380px;margin-top:24px}html .math-app.town-app .town-title .title-utilities>button{min-height:44px;padding:8px 16px;font-size:15px;font-weight:400;letter-spacing:.04em}html .math-app.town-app .town-title .title-footnote{display:flex;flex-direction:column;gap:4px;position:absolute;right:24px;bottom:14px;max-width:none;margin:0;color:#fff;font-size:12px;text-shadow:0 1px 4px #102536}.town-app:has(.town-title) .town-surface{overflow:auto}.town-app:has(.town-title) .town-footer{display:none}@media (max-height: 800px){html .math-app.town-app .town-title .title-content{padding-top:24px;padding-bottom:24px}html .math-app.town-app .town-title .title-content h1{font-size:38px;margin:0 0 24px}html .math-app.town-app .town-title .title-menu{gap:10px}html .math-app.town-app .town-title .title-menu>button{min-height:52px;padding:8px 18px;font-size:21px}html .math-app.town-app .town-title .title-utilities{margin-top:18px}}@media (max-height: 550px) and (min-width: 601px){html .math-app.town-app .town-title .title-content{padding:12px 5vw}html .math-app.town-app .town-title .title-content h1{font-size:30px;margin:0 0 10px}html .math-app.town-app .town-title .title-content h1 small{display:inline;font-size:14px;margin-left:16px;letter-spacing:.2em}html .math-app.town-app .town-title .title-menu{width:310px;gap:4px}html .math-app.town-app .town-title .title-menu>button{min-height:44px;padding:5px 16px;font-size:19px}html .math-app.town-app .town-title .title-primary>small{font-size:12px}html .math-app.town-app .town-title .title-utilities{position:absolute;right:24px;bottom:18px;margin:0;max-width:260px;justify-content:flex-end}html .math-app.town-app .town-title .title-footnote{display:none}}@media (max-width: 600px){html .math-app.town-app .town-title .title-content{padding:28px}html .math-app.town-app .town-title .title-content h1{font-size:34px}html .math-app.town-app .town-title .title-menu{width:min(310px,100%)}html .math-app.town-app .town-title .title-utilities{gap:8px}html .math-app.town-app .town-title .title-utilities>button{padding:8px 12px}}@media (prefers-reduced-motion: reduce){html .math-app.town-app .town-title :is(.title-menu,.title-utilities)>button,html .math-app.town-app .town-title :is(.title-menu,.title-utilities)>button:before{transition:none}html .math-app.town-app .town-title :is(.title-menu,.title-utilities)>button:hover:not(:disabled){transform:none}}.town-app .town-surface:has(.illustrated-town-map)>.stage-S09{position:relative!important;inset:auto;flex:1 0 360px;min-height:360px;overflow:hidden}.town-app .town-surface:has(.illustrated-town-map)>.town-dialogue{margin-top:0;max-height:none}.town-app .stage-S09 .illustrated-town-map{position:absolute;top:10px;right:28px;bottom:12px;left:25%;min-height:0;max-width:none;margin:0;padding:0;display:flex;flex-direction:column;background:none;border:0;border-radius:0;box-shadow:none}.map-instruction{flex:none;margin:0 0 8px;padding:9px 16px;border-radius:13px;background:#fffdf0;color:#36584b;text-align:center;font-size:clamp(15px,1.3vw,20px);font-weight:700;line-height:1.45}.town-map-picture{position:relative;flex:1;min-height:0;display:grid;place-items:center}.town-map-canvas{position:relative;flex:none;max-width:100%;overflow:hidden;border-radius:20px;background:#d8e8cc;box-shadow:0 5px 24px #28463d26}.town-map-canvas>img{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none}.town-app .illustrated-town-map .map-location{min-width:0;max-width:none;width:29%;min-height:48px;padding:6px 8px;gap:1px;border:2px solid #fffdf1;background:#fffdf1f5;box-shadow:0 3px 8px #28473338;border-radius:12px;transform:translate(-50%,-50%)!important;color:#35594c;opacity:1;line-height:1.3}.town-app .illustrated-town-map .map-location>strong{font-size:clamp(13px,1.2vw,20px);max-width:100%;overflow-wrap:anywhere;line-height:1.3}.town-app .illustrated-town-map .map-location>small{font-size:clamp(11px,.95vw,15px);color:#536b59}.town-app .illustrated-town-map .map-yard{left:25%;top:71%;bottom:auto;right:auto}.town-app .illustrated-town-map .map-farm{left:68%!important;top:38%!important;bottom:auto;right:auto}.town-app .illustrated-town-map .map-square{left:82%;top:88%;bottom:auto;right:auto;width:26%}.town-app .illustrated-town-map .map-location:disabled{opacity:1;cursor:default;filter:none}.town-app .illustrated-town-map .map-location[data-highlighted=true]{border:3px solid #c68d26;background:#fff7cf;box-shadow:0 0 0 4px #fffce6b8,0 5px 16px #54402444}.town-app .illustrated-town-map[data-map-phase=choose] .map-farm{background:#416f4c;border-color:#fff8d2;color:#fff;box-shadow:0 0 0 3px #81a873,0 4px 12px #28473355}.town-app .illustrated-town-map[data-map-phase=choose] .map-farm>small{color:#fff5d3}.town-app .illustrated-town-map .map-location:focus-visible{outline:4px solid #274f86;outline-offset:4px}.town-app .stage-S09 .town-speaker{left:-3%;bottom:-75px;width:29%;height:calc(100% + 50px)}.map-image-notice{color:#485f4c;text-align:center;padding:4px}.map-image-failed{border:2px dashed #9aac8b}@media (max-width:900px){.town-app .stage-S09 .town-speaker{display:none}.town-app .stage-S09 .illustrated-town-map{top:8px;right:12px;bottom:12px;left:12px}.town-app .town-surface:has(.illustrated-town-map)>.stage-S09{flex-basis:330px;min-height:330px}}@media (max-width:600px){.town-app .town-surface:has(.illustrated-town-map)>.stage-S09{flex-basis:310px;min-height:310px}.map-instruction{font-size:15px;padding:8px 10px;margin-bottom:6px}.town-app .illustrated-town-map .map-location{padding:4px;min-height:48px;border-radius:9px}.town-app .illustrated-town-map .map-location>strong{font-size:13px}.town-app .illustrated-town-map .map-location>small{font-size:11px}}.construction-shell{display:flex;flex-direction:column;gap:10px;min-height:0;flex:1;width:100%;color:var(--ui-text)}.math-modal:has(.construction-shell){width:min(920px,calc(100vw - 24px));height:min(650px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);padding:16px;display:flex;flex-direction:column;overflow:hidden;gap:8px}.construction-wallet,.construction-tabs,.construction-actions,.construction-options{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.construction-wallet{justify-content:space-between;padding:8px 14px;border-radius:12px;background:var(--ui-selected);font-size:20px;flex-shrink:0}.construction-tabs button{flex:1;min-height:44px}.construction-tabs{flex-wrap:nowrap}.construction-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:24px;min-height:0;flex:1;align-items:center;padding:8px 20px}.construction-picture{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;min-height:0;gap:10px;border-radius:24px;background:var(--ui-soft);padding:14px;box-sizing:border-box}.construction-picture>.game-art{width:100%;height:100%;min-height:0;max-height:250px;flex:1}.construction-picture>span{flex-shrink:0;text-align:center;font-size:18px}.construction-details{display:flex;flex-direction:column;gap:12px;min-width:0}.construction-details h2{margin:0;font-size:28px}.construction-details p{margin:0;font-size:20px;line-height:1.5}.construction-details .construction-note{font-size:18px;color:var(--ui-muted)}.construction-shell button{min-height:44px;font-size:18px;padding:8px 14px}.construction-options{justify-content:flex-start;gap:6px}.construction-options button{padding:6px 12px}.construction-actions{justify-content:flex-start}.construction-placement{font-size:18px;color:var(--ui-accent)}.construction-shell .lesson-pager{margin:0;flex-shrink:0}.construction-status{margin:0;text-align:center;font-size:17px;color:var(--ui-feedback)}.construction-edit-options{display:flex;flex-direction:column;gap:8px}.construction-error{margin:auto;padding:20px;line-height:1.6}.construction-art-fallback{font-size:18px;text-align:center}.yard-construction{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:3}.yard-built-item{position:absolute;transform:translate(-50%,-100%)}.yard-built-item>.game-art{width:100%;height:100%}.yard-chosen-memories{position:absolute;left:355px;top:555px;display:flex;gap:4px}.yard-chosen-memories>div{width:54px;height:70px}.yard-chosen-memories .game-art{width:100%;height:100%}.yard-world:has(.yard-chosen-memories>div) .yard-medal{display:none}.chapter-photo .yard-construction{z-index:5}.chapter-stars{font-size:110px;color:var(--ui-accent)}.chapter-photo{position:relative;flex:1;min-height:0;width:100%;background:var(--ui-soft);border-radius:16px;overflow:hidden}.chapter-photo>.illustrated-scene{position:absolute;top:0;right:0;bottom:0;left:0}.chapter-party{display:flex;flex-direction:column;gap:8px;flex:1;min-height:0}.chapter-party>.construction-actions{justify-content:center;flex-shrink:0}.photo-person{position:absolute;z-index:4}.photo-person>.game-art{height:100%;width:100%}.photo-host{left:450px;top:370px;width:240px;height:480px}.photo-player{left:700px;top:450px;width:220px;height:400px}.photo-robot{left:960px;top:540px;width:230px;height:310px}.photo-banner{position:absolute;left:300px;right:300px;top:90px;text-align:center;padding:18px;font-size:34px;background:var(--ui-panel);color:var(--ui-text);border-radius:18px;z-index:5}.yard-star-entry{white-space:nowrap}.yard-visit-bar .yard-star-entry{font-size:18px}.construction-categories{display:flex;gap:8px;justify-content:center;flex-shrink:0}.construction-categories button{min-width:88px}.house-item{z-index:2}.house-item.slot-room-rug{z-index:1}.house-person{position:absolute;z-index:3}.house-person>.game-art{width:100%;height:100%}.house-player{left:870px;top:380px;width:200px;height:360px}.house-partner{left:390px;top:495px;width:180px;height:230px}.house-partner-bow{position:absolute;left:61px;top:90px;width:59px;height:45px}.house-partner-bow>.game-art{width:100%;height:100%}.house-memories{position:absolute;left:1340px;top:485px;display:flex;gap:16px;z-index:2}.house-memories>div{width:66px;height:75px}.house-memories .game-art{width:100%;height:100%}.room-hotspot{position:absolute;z-index:5;pointer-events:auto;transform:translate(-50%,-50%) scale(calc(1 / var(--scene-scale)));min-height:44px;min-width:76px;padding:8px 14px;font-size:18px;background:var(--ui-panel);border:1px solid var(--ui-border);color:var(--ui-text);border-radius:14px;white-space:nowrap}.house-exit{left:180px;top:450px}.house-keepsakes{left:1460px;top:655px}.math-app .house-world .room-hotspot,.math-app .house-world .room-hotspot:hover,.math-app .house-world .room-hotspot:active{transform:translate(-50%,-50%) scale(calc(1 / var(--scene-scale)))}@media (max-height:520px){.construction-shell:has(.construction-categories){display:grid;grid-template-columns:1.25fr 1fr;grid-template-rows:auto 44px minmax(0,1fr) 44px;gap:5px 12px}.construction-shell:has(.construction-categories)>.construction-wallet{grid-column:1/3;grid-row:1}.construction-shell:has(.construction-categories)>.construction-tabs{grid-column:1;grid-row:2}.construction-shell:has(.construction-categories)>.construction-categories{grid-column:2;grid-row:2;gap:4px}.construction-shell:has(.construction-categories)>.construction-categories button{min-width:65px;flex:1}.construction-shell:has(.construction-categories)>.construction-content{grid-column:1/3;grid-row:3;height:100%;box-sizing:border-box}.construction-shell:has(.construction-categories)>.lesson-pager{grid-column:1/3;grid-row:4}.construction-shell:has(.construction-categories) .construction-actions{gap:5px;flex-wrap:nowrap}.construction-shell:has(.construction-categories) .construction-actions button{font-size:16px;padding:5px 9px}.construction-edit-options{flex-direction:row;gap:12px;flex-wrap:wrap}.construction-status{position:absolute;left:12px;right:12px;bottom:6px;background:var(--ui-panel);border:1px solid var(--ui-border);border-radius:8px;padding:4px}.construction-shell:has(.construction-status){padding-bottom:32px}.construction-shell{position:relative}.math-modal:has(.construction-shell){padding:8px 12px;gap:3px;height:calc(100dvh - 12px);max-height:calc(100dvh - 12px)}.construction-shell{gap:5px}.construction-wallet{padding:4px 12px;font-size:18px}.construction-shell button{padding:5px 10px}.construction-content{gap:16px;padding:0 12px}.construction-picture{padding:8px;gap:3px}.construction-picture>.game-art{max-height:155px}.construction-details{gap:5px}.construction-details h2{font-size:23px}.construction-details p{font-size:18px;line-height:1.3}.construction-details .construction-note,.construction-placement{font-size:16px}.construction-shell .lesson-pager{min-height:44px}.construction-tabs{gap:6px}.construction-status{font-size:15px}.chapter-stars{font-size:70px}}@media (max-width:600px) and (min-height:521px){.construction-content{grid-template-columns:1fr;padding:0 8px;gap:10px;grid-template-rows:minmax(100px,1fr) auto}.construction-wallet{font-size:17px}.construction-details h2{font-size:23px}.construction-picture>.game-art{max-height:140px}.construction-details p{font-size:18px}}.auth-page{width:100%;height:100%;overflow:auto;background:linear-gradient(135deg,#e8f4ef,#edf3ff 65%,#fff0f4);color:#294b49;font:17px/1.55 Microsoft YaHei,sans-serif;padding:32px 18px;display:flex;align-items:safe center;justify-content:center;-webkit-user-select:text;user-select:text}.auth-card{width:min(100%,480px);margin:auto;background:#fffffff2;padding:28px;border:2px solid #a7c7c4;border-radius:24px;box-shadow:0 12px 45px #38546b18;display:flex;flex-direction:column;gap:14px;overflow-wrap:anywhere}.auth-card h1{font-size:30px;line-height:1.4;margin:0}.auth-card p{margin:0}.auth-eyebrow{font-size:14px;color:#527779}.auth-explanation{font-size:16px}.auth-card button{min-height:46px;padding:10px 16px;background:#eef5f4;border:2px solid #86aaa6;border-radius:12px;font:inherit;color:#254f4a;cursor:pointer}.auth-card button:focus-visible,.auth-card input:focus-visible{outline:3px solid #547fd1;outline-offset:3px}.auth-card button:disabled{opacity:.6;cursor:wait}.auth-card .auth-primary{background:#316a60;color:#fff;border-color:#23584e;font-weight:700}.auth-tabs{display:flex;gap:10px}.auth-tabs button{flex:1}.auth-tabs button[aria-pressed=true]{background:#dcebed;border-color:#315f6c;font-weight:700}.auth-card form{display:flex;flex-direction:column;gap:12px}.auth-card label{display:flex;flex-direction:column;gap:5px}.auth-card input:not([type=checkbox]){width:100%;min-width:0;min-height:48px;border:2px solid #97b8b5;border-radius:10px;padding:8px 12px;font:inherit;background:#fff;color:#234743;box-sizing:border-box}.auth-card .auth-show{flex-direction:row;align-items:center;gap:9px;min-height:44px}.auth-show input{width:22px;height:22px}.auth-card small,.auth-local{font-size:14px;color:#4e6b6b;line-height:1.6}.auth-local{padding-top:14px;border-top:1px solid #bdd4d5}.auth-error{color:#8e2e37;background:#fff0f2;padding:12px;border:1px solid #d9a4ae;border-radius:10px}.auth-notice{background:#e6f4ea;padding:12px;border-radius:10px}.auth-status{font-weight:700}.auth-import{display:flex;flex-direction:column;gap:10px;padding:14px;border:2px dashed #7b9ea8;border-radius:12px}.math-app .header-right>.account-entry{min-height:44px;white-space:nowrap}.auth-page *{box-sizing:border-box}@media (max-width:600px){.auth-page{padding:18px 12px}.auth-card{padding:22px 18px;gap:12px}.auth-card h1{font-size:26px}.math-app .header-right>.account-entry{font-size:12px;padding:6px 9px}}.auth-cloud{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #a7c7c4;border-radius:12px;background:#edf5f2}.cloud-header-status{font-size:14px;line-height:1.4;white-space:nowrap;color:inherit}.auth-phone,.auth-section{display:flex;flex-direction:column;gap:12px}.auth-section{border-top:1px solid #bdd4d5;padding-top:16px}.auth-section h2{font-size:20px;line-height:1.4;margin:0}.auth-mock{padding:10px;border:1px solid #cab87d;border-radius:10px;background:#fff8dd;color:#5b4a18;font-size:15px}.auth-card .auth-consent{display:flex;flex-direction:row;align-items:flex-start;gap:10px;font-size:15px}.auth-consent input{flex:0 0 22px;width:22px;height:22px;margin-top:2px}.auth-card details{font-size:15px;line-height:1.6}.auth-card summary{cursor:pointer;padding:6px 0}.auth-card details p{padding-top:8px}.auth-grant-history{padding-left:20px;max-height:180px;overflow:auto}.auth-game-host{display:contents}.auth-game-host[hidden]{display:none}.journey-page{min-height:100dvh;overflow:auto;background:var(--ui-page,#eef3ee);color:var(--ui-ink,#294f43);padding:24px}.journey-shell{max-width:1050px;margin:auto;background:var(--ui-surface,#fffdf7);border:1px solid var(--ui-border,#c8d8ca);border-radius:20px;padding:28px}.journey-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.journey-header h1{font-size:30px;margin:8px 0}.journey-header p,.journey-hint{font-size:14px;line-height:1.7;opacity:.8}.journey-page button{padding:10px 16px;border:1px solid var(--ui-border,#c8d8ca);border-radius:10px;color:inherit;background:var(--ui-surface,#fffdf7);font:inherit;cursor:pointer}.journey-page button:hover{background:var(--ui-selected,#e7f0e5)}.journey-page button:disabled{opacity:.45;cursor:default}.journey-page .auth-primary{background:var(--ui-primary,#356451);color:var(--ui-primary-ink,#fffdf3)}.journey-page .auth-primary:hover{filter:brightness(1.1)}.journey-create{padding:20px;background:var(--ui-surface-soft,#f1f5ee);border:1px solid var(--ui-border,#c8d8ca);border-radius:14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin:20px 0}.journey-create label,.journey-dialog label{display:grid;gap:8px;font-size:14px}.journey-page input{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px 12px;background:var(--ui-surface,#fffdf7);border:1px solid var(--ui-border,#c8d8ca);border-radius:9px;color:inherit}.journey-create small{grid-column:1/-1;font-size:12px;line-height:1.6;opacity:.75}.journey-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:24px}.journey-toolbar [role=tablist]{display:flex;gap:8px;flex-wrap:wrap}.journey-toolbar [aria-selected=true]{background:var(--ui-selected,#e7f0e5);border-color:var(--ui-accent,#4f7c5f);font-weight:700}.journey-list{display:grid;gap:12px}.journey-card{border:1px solid var(--ui-border,#c8d8ca);border-radius:13px;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:20px;min-width:0}.journey-card>div:first-child{min-width:0}.journey-card h2{font-size:18px;margin:7px 0;overflow-wrap:anywhere}.journey-card time{font-size:12px;opacity:.75}.journey-tag{font-size:11px;opacity:.75}.journey-summary{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;margin:10px 0 0;line-height:1.7;overflow-wrap:anywhere}.journey-actions{display:flex;gap:8px;flex-shrink:0;flex-wrap:wrap}.journey-actions button{font-size:13px;padding:8px 12px}.journey-actions .journey-delete{color:#a24b43}.journey-empty{padding:40px 16px;text-align:center;font-size:14px;opacity:.75}.journey-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;padding-top:18px;border-top:1px solid var(--ui-border,#c8d8ca)}.journey-footer span{font-size:12px;opacity:.7}.journey-dialog{max-width:540px;width:calc(100vw - 32px);max-height:90dvh;overflow:auto;box-sizing:border-box;border:1px solid var(--ui-border,#c8d8ca);border-radius:16px;padding:24px;background:var(--ui-surface,#fffdf7);color:inherit}.journey-dialog::backdrop{background:#102e3980}.journey-dialog form{display:grid;gap:15px}.journey-dialog h2,.journey-dialog p{margin:0}.journey-dialog p{font-size:14px;line-height:1.7}.journey-dialog strong{overflow-wrap:anywhere}.journey-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}.journey-page button:focus-visible,.journey-page input:focus-visible{outline:3px solid var(--ui-accent,#4f7c5f);outline-offset:3px}@media (max-width:850px){.journey-page{padding:14px}.journey-shell{padding:20px}.journey-card{align-items:flex-start;flex-direction:column;gap:14px}.journey-actions{width:100%;justify-content:flex-end}.journey-header h1{font-size:26px}}@media (max-width:550px){.journey-page{padding:8px}.journey-shell{padding:16px;border-radius:14px}.journey-header{gap:12px}.journey-create{padding:14px;grid-template-columns:1fr}.journey-create small{grid-column:auto}.journey-toolbar{align-items:flex-start}.journey-toolbar button{padding:8px 10px;font-size:12px}.journey-footer{flex-wrap:wrap}.journey-footer button{margin-left:auto}}.journey-page{height:100dvh;min-height:0;box-sizing:border-box;background:var(--ui-backdrop,#eef3ee);color:var(--ui-text,#294f43);font:16px/1.55 system-ui,Microsoft YaHei,sans-serif}.journey-page .auth-primary{background:var(--ui-accent,#356451);color:var(--ui-on-accent,#fffdf3)}.journey-create,.journey-page .auth-cloud,.journey-page .auth-notice{background:var(--ui-soft,#eff5e5);color:var(--ui-text,#294f43)}.journey-page .auth-error{color:var(--ui-error,#8e2e37);background:var(--ui-error-surface,#fff0f2)}.town-title .title-utilities .journey-entry,.town-title .title-utilities .journey-entry:hover,.town-title .title-utilities .journey-entry:active{background:var(--ui-surface,#fffdf3);background-image:none;color:var(--ui-text,#345340);border:1px solid var(--ui-border,#7c8d6e);opacity:1}.town-title .title-utilities .journey-entry:hover{background:var(--ui-selected,#e4edd5)}.journey-page button:disabled{opacity:1;background:var(--ui-disabled,#edf1e6);color:var(--ui-disabled-text,#526149);border-color:var(--ui-border,#7c8d6e)}.journey-footer{position:sticky;bottom:0;background:var(--ui-surface,#fffdf3);z-index:2;padding-block:14px;margin-bottom:0}.journey-footer .journey-dialog-actions{margin:0;flex-wrap:wrap}@media (max-width:550px){.journey-footer{gap:10px}.journey-footer .journey-dialog-actions{margin-left:auto}}.journey-footer{justify-content:flex-end}.journey-card>h2{min-width:0}.journey-page .auth-primary:is(:hover,:active):not(:disabled){background:var(--ui-accent-hover,#3a6243);color:var(--ui-on-accent,#fffef2);border-color:var(--ui-accent-hover,#3a6243);filter:none}.journey-footer:has(.journey-return){justify-content:space-between}.journey-footer .journey-return{margin-left:0}@font-face{font-family:资源圆体;src:url(./ResourceHanRoundedCN-Regular-C1HdCLVq.ttf) format("truetype")}@font-face{font-family:思源宋体;src:url(./SourceHanSerifCN-Regular-B_f-kQ2u.ttf) format("truetype")}@font-face{font-family:WebgalUI;src:url(./OPPOSans-R-tAcFw8I3.ttf) format("truetype")}a{transition:color 1s}a:link,a:visited,a:hover,a:active{color:#434343}body{background-color:#000;font-size:16px;margin:0;font-family:WebgalUI,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow:hidden;-webkit-user-select:none;user-select:none}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root{width:2560px;height:1440px;overflow:hidden;font-size:160%}::-webkit-scrollbar{width:12px}::-webkit-scrollbar-track{box-shadow:0 0 10px #fff3;-webkit-box-shadow:0 0 10px rgba(255,255,255,.2);background:#fff3;border-radius:10px}::-webkit-scrollbar-thumb{border-radius:10px;background:#ffffff80;box-shadow:0 0 10px #00000026;-webkit-box-shadow:0 0 10px rgba(0,0,0,.15)}.App{height:100%;width:100%;background:#000;overflow:hidden;perspective:0;-webkit-overflow-scrolling:auto}#pixiCanvas{z-index:5}@keyframes centerIn{0%{opacity:0;transform:scale(1)}to{opacity:1;transform:scale(1)}}@keyframes upIn{0%{opacity:0;transform:scale(1) translateY(3%)}to{opacity:1;transform:scale(1) translate(0)}}@keyframes leftIn{0%{opacity:0;transform:scale(1) translate(-3%)}to{opacity:1;transform:scale(1) translate(0)}}@keyframes rightIn{0%{opacity:0;transform:scale(1) translate(3%)}to{opacity:1;transform:scale(1) translate(0)}}@keyframes bg_down{0%{opacity:0;transform:scale(1.1) translateY(-3%)}to{opacity:1;transform:scale(1) translate(0)}}@keyframes bg_softIn{0%{opacity:0}to{opacity:1}}@keyframes hideBG{0%{opacity:1}to{opacity:0}}@keyframes shake{0%{transform:translate(0)}25%{transform:translate(-2%)}75%{transform:translate(2%)}to{transform:translate(0)}}@keyframes moveBaF{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes showSoftly{0%{opacity:0}to{opacity:1}}@keyframes elementFadeIn{0%{transform:translate(-15px,-20px) scale(1.03);opacity:0}to{opacity:1}}@keyframes controlButtonHover{0%{background-color:#0000;box-shadow:none}to{background-color:#ffffff40;box-shadow:5px 5px 15px #000000a6}}@keyframes controlButtonHoverBack{}@keyframes TitleButtonOnChoose{0%{transform:scale(1)}to{transform:scale(1.1)}}@keyframes TitleButtonNoneChoose{0%{transform:scale(1.1)}}@keyframes TitleModelHover{0%{background-color:#00000059}to{background-color:#000000a6}}@keyframes TitleModelNoneHover{0%{background-color:#000000a6}to{background-color:#00000059}}@keyframes bg_focusLeft{0%{transform:scale(1) translate(0);filter:blur(0)}to{transform:scale(1.15) translate(5%);filter:blur(1px)}}@keyframes bg_focusRight{0%{transform:scale(1) translate(0);filter:blur(0)}to{transform:scale(1.15) translate(-5%);filter:blur(1px)}}@keyframes bg_LtoR{0%{transform:scale(1.15) translate(5%);filter:blur(1px)}to{transform:scale(1.15) translate(-5%);filter:blur(1px)}}@keyframes bg_RtoL{0%{transform:scale(1.15) translate(-5%);filter:blur(1px)}to{transform:scale(1.15) translate(5%);filter:blur(1px)}}@keyframes bg_LtoC{0%{transform:scale(1.15) translate(5%);filter:blur(1px)}to{transform:scale(1) translate(0);filter:blur(0)}}@keyframes bg_RtoC{0%{transform:scale(1.15) translate(-5%);filter:blur(1px)}to{transform:scale(1) translate(0);filter:blur(0)}}@keyframes bg_focus{0%{transform:scale(1) translate(0);filter:blur(0)}to{transform:scale(1.15);filter:blur(1px)}}@keyframes bg_LtoF{0%{transform:scale(1.15) translate(5%);filter:blur(1px)}to{transform:scale(1.15);filter:blur(1px)}}@keyframes bg_RtoF{0%{transform:scale(1.15) translate(-5%);filter:blur(1px)}to{transform:scale(1.15);filter:blur(1px)}}@keyframes bg_FtoL{0%{transform:scale(1.15);filter:blur(1px)}to{transform:scale(1.15) translate(5%);filter:blur(1px)}}@keyframes bg_FtoR{0%{transform:scale(1.15);filter:blur(1px)}to{transform:scale(1.15) translate(-5%);filter:blur(1px)}}@keyframes bg_FtoC{0%{transform:scale(1.15);filter:blur(1px)}to{transform:scale(1) translate(0);filter:blur(0)}}*,*:before,*:after{box-sizing:border-box}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul[role=list],ol[role=list]{list-style:none}html:focus-within{scroll-behavior:smooth}body{min-height:100vh;text-rendering:optimizeSpeed;line-height:1.5}a:not([class]){text-decoration-skip-ink:auto}img,picture{max-width:100%;display:block}input,button,textarea,select{font:inherit}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
