:root{color:#33312e;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f2ebdf;font-family:ui-rounded,PingFang SC,Hiragino Sans GB,system-ui,sans-serif;font-weight:500}html{overscroll-behavior-x:none;overflow-x:hidden}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:4px;outline:3px solid #287cad}button{color:inherit}h1,h2,h3,p{margin:0}button svg{flex-shrink:0}a{color:inherit}svg{vertical-align:middle}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}body{padding-top:env(safe-area-inset-top,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}body .app-shell{padding-bottom:calc(95px + env(safe-area-inset-bottom,0px))}.app-shell.practice-shell{padding-bottom:env(safe-area-inset-bottom,0px)}body .bottom-nav{width:calc(100% - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));height:calc(85px + env(safe-area-inset-bottom,0px));padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}.storage-warning{background:#fff0d4;border:1px solid #ead7b3;border-radius:15px;padding:12px;font-size:14px}.storage-start-error{max-width:620px;margin:60px auto;padding:24px;line-height:1.8}.storage-start-error button{min-height:48px;margin-top:20px;padding:8px 24px}:root{--paper:#fff9f0;--ink:#263847;--muted:#77716a;--pink:#e9517e;--line:#eee4d7;--radius:26px;--shadow:0 5px 20px #88694308}.app-shell{background:var(--paper);max-width:900px;min-height:100dvh;color:var(--ink);margin:auto;padding-bottom:95px;position:relative;overflow:hidden}main{max-width:820px;margin:auto;padding:36px 42px 20px}.brand{justify-content:space-between;align-items:center;display:flex}.eyebrow{color:#978471;letter-spacing:3px;font-size:13px}.brand h1{letter-spacing:6px;font-size:42px;font-weight:900;line-height:1.6}.brand-dot{color:#88bea3;vertical-align:top;font-size:24px;display:inline-block;transform:rotate(13deg)}.brand p{color:#64615a;font-size:16px}.avatar{color:#7f7467;justify-items:center;gap:6px;font-size:12px;display:grid}.avatar>svg{background:#f4e6d1;border:4px solid #fff;border-radius:50%;width:50px;height:50px;padding:12px}.welcome{background:linear-gradient(115deg,#f5edd4,#eef2dc);border-radius:32px;align-items:center;min-height:235px;margin:28px 0;padding:30px;display:flex;position:relative;overflow:hidden}.welcome:after{content:"";background:#cde4c85e;border-radius:50%;width:220px;height:100px;position:absolute;bottom:-65px;right:-70px}.welcome h2{letter-spacing:1px;margin:12px 0 9px;font-size:29px;line-height:1.55}.welcome p{color:#7b806e;font-size:14px;line-height:1.8}.pill{color:#8a7651;background:#fff9e9;border-radius:20px;padding:6px 12px;font-size:12px;display:inline-block}.companion{flex-shrink:0;width:235px}.welcome>.companion{width:260px;position:absolute;bottom:8px;right:18px}.small{width:150px}.section-title{justify-content:space-between;align-items:center;margin:26px 0 15px;display:flex}.section-title h2{font-size:22px}.section-title>span{color:#9a8d7e;font-size:13px}.subject-list{gap:15px;display:grid}.subject-card{text-align:left;min-height:118px;box-shadow:var(--shadow);border:1px solid #fff8;border-radius:24px;align-items:center;gap:22px;padding:20px 26px;display:flex}.subject-card.math{color:#ab345a;background:linear-gradient(115deg,#ffe2e6,#ffd3dd)}.subject-card.chinese{color:#976017;background:linear-gradient(115deg,#fff0ca,#ffe5b9)}.subject-card.english{color:#29658c;background:linear-gradient(115deg,#e0f3fb,#cdeaf9)}.subject-symbol{letter-spacing:-3px;background:#fff9;border-radius:21px;place-items:center;width:72px;height:72px;font-size:30px;font-weight:900;display:grid;transform:rotate(-6deg);box-shadow:0 3px #fff5,inset 0 0 0 3px #fff6}.english .subject-symbol{letter-spacing:-1px;font-size:23px}.card-copy{gap:7px;display:grid}.card-copy strong{letter-spacing:2px;font-size:28px;font-weight:850}.card-copy>span{color:#685b53;font-size:15px}.card-end{justify-items:center;gap:6px;margin-left:auto;display:grid}.math .card-end{color:#fff;background:#eb5b86;border-radius:50%;padding:10px;box-shadow:0 3px #d84e77}.card-end small{white-space:nowrap;font-size:12px}.gentle-note{color:#8c806f;justify-content:center;align-items:center;gap:10px;padding:24px 0 5px;font-size:14px;display:flex}.gentle-note svg{color:#dda94e}.bottom-nav{z-index:5;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);border-top:1px solid var(--line);width:100%;max-width:900px;padding:10px 18px calc(10px + env(safe-area-inset-bottom));background:#fffdf8f5;justify-content:space-around;height:85px;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-nav button{color:#98958e;background:0 0;border:0;justify-items:center;gap:5px;min-width:80px;font-size:12px;display:grid}.bottom-nav button.active{color:var(--pink)}.page-header{align-items:center;gap:10px;min-height:48px;margin-bottom:24px;display:flex}.page-header h1{font-size:28px}.icon-button{background:0 0;border:0;border-radius:16px;place-items:center;min-width:48px;min-height:48px;display:grid}.empty-state{text-align:center;justify-items:center;gap:20px;padding:50px 10px;display:grid}.empty-state p{color:var(--muted);line-height:1.8}.primary{background:var(--pink);color:#fff;border:0;border-radius:22px;justify-content:center;align-items:center;gap:12px;min-height:56px;padding:14px 24px;font-size:20px;font-weight:700;display:flex;box-shadow:inset 0 2px #ffffff45}.secondary{border:1px solid var(--line);background:#fffdf8;border-radius:20px;min-height:52px;padding:12px 20px;font-size:17px}.primary:hover{filter:brightness(1.04)}button:active:not(:disabled){transform:translateY(1px)}@media (min-width:1024px){.app-shell{border-radius:36px;min-height:calc(100dvh - 48px);margin:24px auto;box-shadow:0 12px 70px #9c815e15}.bottom-nav{border-radius:0 0 36px 36px;bottom:24px}}@media (max-width:600px){main{padding:24px 20px 16px}.brand h1{letter-spacing:4px;font-size:32px}.eyebrow{letter-spacing:2px;font-size:11px}.brand p{font-size:13px}.welcome{min-height:215px;margin:22px 0;padding:22px}.welcome h2{font-size:24px}.welcome>.companion{width:172px;bottom:5px;right:-7px}.welcome p{font-size:12px}.subject-card{gap:16px;min-height:104px;padding:16px}.subject-symbol{width:58px;height:58px;font-size:26px}.card-copy strong{font-size:26px}.card-copy>span,.section-title>span,.gentle-note{font-size:12px}.page-header{margin-bottom:18px}.page-header h1{font-size:25px}}.theme-make-ten{--accent:#d94673;--tint:#ffe1e9;--wash:#fff3f5}.theme-break-ten{--accent:#b86b25;--tint:#ffebc9;--wash:#fff8e9}.theme-flatten-ten{--accent:#237fa7;--tint:#d5eefb;--wash:#eff9ff}.theme-borrow-ten{--accent:#ad588e;--tint:#f5ddec;--wash:#fff2fa}.math-heading{justify-content:space-between;align-items:center;margin:0 0 20px;display:flex}.math-heading h1{letter-spacing:5px;margin-bottom:10px;font-size:40px}.math-heading p{font-size:17px}.math-heading small{color:var(--muted);margin-top:9px;font-size:12px;display:block}.math-heading .companion{width:150px;height:140px}.method-list{gap:18px;display:grid}.method-card{background:var(--tint);text-align:left;min-height:136px;color:var(--accent);border:1px solid #fff;border-radius:25px;align-items:center;gap:24px;padding:22px 24px;display:flex}.method-card .card-copy strong{font-size:29px}.method-card .card-copy small{color:var(--accent);background:#fff9;border-radius:15px;width:fit-content;padding:5px 10px;font-size:12px}.method-art{flex-shrink:0;width:84px;height:84px;position:relative}.method-art>span{background:var(--accent);color:#fff;border:3px solid #fff;border-radius:20px;place-items:center;width:62px;height:70px;font-size:33px;font-weight:850;display:grid;position:absolute;top:0;left:0;transform:rotate(-8deg);box-shadow:inset 0 0 0 3px #ffffff40}.method-art>b{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#fff8;border:3px solid #fff;border-radius:17px;place-items:center;width:45px;height:47px;font-size:24px;display:grid;position:absolute;bottom:0;right:0;transform:rotate(9deg)}.method-end{justify-items:end;gap:18px;margin-left:auto;display:grid}.method-end>svg{box-sizing:content-box;background:#fffb;border-radius:50%;padding:6px}.method-end>b{white-space:nowrap;background:#fff9;border-radius:10px;padding:6px 9px;font-size:18px}.lesson-banner{background:var(--tint);border-radius:28px;justify-content:space-between;align-items:center;min-height:175px;padding:22px 28px;display:flex}.lesson-banner h2{margin:8px 0;font-size:25px;line-height:1.5}.lesson-banner p{color:#756967;font-size:14px}.lesson-content{border:1px solid var(--line);background:#fffdf9;border-radius:26px;margin:22px 0;padding:25px}.lesson-content h2{font-size:23px}.method-steps{counter-reset:step;flex-wrap:wrap;gap:14px;margin:22px 0;padding:0;list-style:none;display:flex}.method-steps li{counter-increment:step;align-items:center;gap:8px;font-size:15px;display:flex}.method-steps li:before{content:counter(step);background:var(--accent);color:#fff;border-radius:50%;place-items:center;width:26px;height:26px;display:grid}.muted{color:var(--muted)}@media (max-width:600px){.math-heading h1{font-size:34px}.math-heading p{font-size:14px}.math-heading .companion{width:110px;height:120px}.method-card{gap:14px;min-height:126px;padding:18px 15px}.method-art{width:61px;height:75px}.method-art>span{width:49px;height:62px;font-size:27px}.method-art>b{width:34px;height:38px;font-size:19px}.method-card .card-copy strong{font-size:25px}.method-card .card-copy>span{font-size:12px}.method-card .card-copy small{padding:4px 7px;font-size:10px}.method-end>b{padding:5px;font-size:14px}.method-end{gap:16px}.lesson-banner{min-height:140px;padding:18px}.lesson-banner .companion{width:100px}.lesson-banner h2{font-size:21px}.lesson-banner p{font-size:12px}.lesson-content{padding:20px}.method-steps{gap:10px}.method-steps li{font-size:13px}}.math-diagram{width:100%;max-width:350px;margin:0 auto;display:block;overflow:visible}.diagram-reveal{animation:.2s ease-out reveal}.diagram-node.current rect{stroke-width:2.5px}.lesson-example{grid-template-columns:1.1fr 1fr;align-items:center;gap:22px;display:grid}.example-equation{text-align:center;letter-spacing:1px;margin:8px 0 0;font-size:30px;font-weight:850}.example-equation b{background:#ffebc9;border-radius:9px;padding:3px 7px}.lesson-example aside{border-left:1px solid var(--line);padding-left:25px}.lesson-example aside h3{color:var(--accent);margin-bottom:12px;font-size:17px}.lesson-example aside p{color:#756b60;font-size:16px;line-height:1.9}.lesson-example aside .companion{margin-top:20px}.lesson-start{gap:15px;display:grid}.lesson-start label{color:var(--muted);justify-content:space-between;align-items:center;font-size:14px;display:flex}select{border:1px solid var(--line);min-height:48px;color:var(--ink);background:#fffdf9;border-radius:15px;padding:10px}.lesson-start .primary,.practice-page .primary{background:var(--accent)}.lesson-start small{text-align:center;color:#8c8175;font-size:12px}.practice-shell{padding-bottom:0}.practice-shell main{max-width:none;padding:26px 32px 20px}.practice-header{gap:8px;margin-bottom:14px}.practice-header h1{color:var(--accent);font-size:25px}.question-count{white-space:nowrap;margin-left:18px;font-size:19px}.question-count small{color:#8c877f;font-size:15px}.star-counter{border:1px solid var(--line);background:#fffdf8;border-radius:23px;justify-content:center;align-items:center;gap:8px;min-width:77px;margin-left:auto;padding:10px 12px;font-size:18px;display:flex}.star-counter svg{color:#f0b642;stroke:#dda323}.session-progress{background:#eee9df;border-radius:20px;height:10px;margin-bottom:22px;overflow:hidden}.session-progress>span{background:#83caa2;border-radius:20px;height:100%;transition:width .2s;display:block}.practice-workspace{gap:18px;display:grid}.math-work{border:1px solid var(--line);text-align:center;background:#fffdf9;border-radius:28px;padding:20px 20px 0;position:relative;overflow:hidden}.practice-caption{color:#8e8171;margin-bottom:17px;font-size:14px}.equation{font-variant-numeric:tabular-nums;justify-content:center;align-items:center;gap:15px;font-size:64px;font-weight:850;line-height:1.25;display:flex}.equation .operator,.equation .operand{color:var(--accent)}.answer-box{background:#dff1fa;border-radius:15px;min-width:69px;padding:2px 13px}.answer-box.solved{color:#217754;background:#dff2df}.answer-companion{justify-content:center;align-items:center;gap:22px;margin:20px 0 6px;display:flex}.answer-companion>span{color:#8c8173;text-align:left;font-size:16px;line-height:1.8}.answer-companion .companion{width:120px;height:115px}.practice-controls{width:100%;max-width:500px;margin:auto}.practice-controls form{grid-template-columns:1fr 110px;align-items:center;gap:14px;display:grid}.answer-label{font-size:21px;font-weight:700}.practice-controls input{border:2px solid var(--tint);text-align:center;width:110px;height:62px;color:var(--accent);background:#fffdf9;border-radius:16px;font-size:32px;font-weight:800}.number-pad{grid-column:1/-1;grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.number-pad button{background:#fffdf9;border:1px solid #e7e5dc;border-radius:16px;min-height:60px;font-size:29px;font-weight:750;box-shadow:0 3px #ede6d9}.number-pad button:nth-child(3n+1){background:#fff0cf}.number-pad button:nth-child(3n+2){background:#e3f2fd}.number-pad button:nth-child(3n){background:#e4f2df}.number-pad button.pad-word{color:#7c756a;background:#f1ece3;font-size:16px}.practice-controls form>.primary{grid-column:1/-1;margin-top:6px}.primary:disabled{opacity:.5;cursor:default}.has-diagram .math-work{padding-bottom:8px}.has-diagram .math-diagram{max-width:340px}.guide-controls,.review-controls{text-align:center}.step-label{color:var(--accent);background:var(--tint);border-radius:15px;margin-bottom:12px;padding:6px 12px;font-size:13px;display:inline-block}.guide-controls h2,.review-controls h2{font-size:22px;line-height:1.6}.guide-hint{color:#827565;margin:7px 0 0;font-size:15px;line-height:1.7}.number-choices{justify-content:center;gap:10px;margin:20px 0 12px;display:flex}.number-choices button{background:#ffebc3;border:1px solid #fff;border-radius:16px;flex:1;min-width:58px;max-width:75px;min-height:62px;font-size:29px;font-weight:800;box-shadow:0 3px #e8dfd0}.number-choices button:nth-child(2){background:#d8efff}.number-choices button:nth-child(3){background:#ddf3d6}.number-choices button:nth-child(4){background:#ebdefa}.number-choices button:nth-child(5){background:#f9dce8}.guide-feedback{color:#8c705b;min-height:26px;font-size:14px;line-height:1.7}.success-art{padding:30px 0 12px}.success-art>svg:first-child{color:#f5c356;filter:drop-shadow(0 4px #f1dfaf)}.success-art h2{letter-spacing:4px;color:var(--accent);margin:10px 0;font-size:45px}.success-art p{font-size:20px}.success-art p span{color:#b78523}.success-art .companion{width:170px;margin:15px auto 0;display:block}.result-actions{text-align:center;gap:14px;display:grid}.result-actions p{color:var(--muted);margin:0 0 10px}.review-controls .primary{width:100%;margin-top:22px}.review-equation{color:#3c6b79;margin:13px 0;font-size:26px;font-weight:700}.session-summary{text-align:center;justify-items:center;gap:20px;max-width:520px;margin:45px auto;display:grid}.big-star{color:#efbf4f}.session-summary h1{font-size:35px}.session-summary>p{color:#817465}.session-summary>.primary{width:100%}.summary-numbers{gap:45px;margin:10px 0;display:flex}.summary-numbers>div{gap:7px;display:grid}.summary-numbers strong{color:var(--accent);font-size:40px}.summary-numbers span{color:#8c8277;font-size:14px}.session-note{font-size:12px}.exit-confirm{background:#fff0d4;border:1px solid #ead7b3;border-radius:20px;margin-bottom:15px;padding:15px}.exit-confirm p{font-size:14px;line-height:1.8}.exit-confirm>div{gap:10px;margin-top:10px;display:flex}.exit-confirm button{min-height:48px;font-size:14px}.is-correct .math-work{border-color:#e0edda}@keyframes reveal{0%{opacity:0}to{opacity:1}}@media (min-width:900px) and (min-aspect-ratio:6/5){.practice-shell{max-width:1100px}.practice-workspace{grid-template-columns:1.15fr 1fr;align-items:center;gap:30px;min-height:570px}.practice-shell main{padding:25px 40px}.practice-workspace .math-work{flex-direction:column;justify-content:center;min-height:500px;display:flex}.has-diagram .math-work{justify-content:flex-start;padding-top:20px}.has-diagram .math-diagram{max-width:320px}.answer-companion{margin-top:50px}.answer-companion .companion{width:165px;height:160px}.practice-controls{padding:0 10px}.equation{gap:10px;font-size:52px}.has-diagram .practice-caption{margin-bottom:12px}.lesson-content{margin-bottom:16px}}@media (max-width:600px){.lesson-example{grid-template-columns:1fr}.lesson-example aside{display:none}.lesson-example .math-diagram{max-width:280px}.example-equation{font-size:29px}.lesson-banner .eyebrow{font-size:10px}.practice-shell main{padding:14px 16px}.practice-header h1{font-size:23px}.practice-header .icon-button{min-width:38px}.question-count{margin-left:8px;font-size:17px}.star-counter{min-width:65px;padding:9px 10px;font-size:16px}.practice-caption{margin-bottom:14px;font-size:12px}.session-progress{height:9px;margin-bottom:16px}.math-work{border-radius:23px;padding:16px 10px 0}.equation{gap:10px;font-size:44px}.answer-box{border-radius:12px;min-width:54px;padding:3px 9px}.answer-companion{gap:17px;margin-top:12px}.answer-companion .companion{width:95px;height:94px}.answer-companion>span{font-size:14px}.practice-workspace{gap:16px}.practice-controls form{grid-template-columns:1fr 95px;gap:10px}.answer-label{font-size:19px}.practice-controls input{width:95px;height:54px;font-size:30px}.number-pad{gap:9px}.number-pad button{border-radius:13px;min-height:52px;font-size:26px}.practice-controls .primary{min-height:52px;font-size:18px}.has-diagram .math-diagram{max-width:260px}.has-diagram .practice-caption{margin-bottom:8px}.has-diagram .equation{font-size:38px}.guide-controls h2,.review-controls h2{font-size:18px}.step-label{margin-bottom:8px;padding:5px 10px;font-size:12px}.guide-hint{font-size:13px}.number-choices{gap:8px;margin:13px 0 10px}.number-choices button{border-radius:13px;min-width:0;min-height:56px;font-size:26px}.guide-feedback{font-size:12px}.review-equation{margin:8px 0;font-size:21px}.review-controls .primary{margin-top:14px}.success-art{padding-top:20px}.success-art>svg:first-child{width:72px;height:72px}.success-art h2{font-size:36px}.success-art .companion{width:140px}.session-summary{margin:30px auto}.session-summary h1{font-size:29px}}@media (max-height:750px) and (max-width:600px){.has-diagram .math-diagram{max-width:220px}.practice-shell main{padding-top:8px}.practice-header{margin-bottom:7px}.session-progress{margin-bottom:10px}.practice-workspace{gap:10px}.answer-companion{display:none}.math-work{padding-top:12px}.guide-hint{margin-top:2px}.number-choices{margin-top:9px}}.math-work:focus{outline:none}.math-work:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.lesson-example .math-diagram{max-width:280px}.lesson-banner{min-height:145px;padding-top:14px;padding-bottom:14px}.lesson-banner .companion{height:120px}.lesson-content{margin-top:18px}.lesson-start{gap:10px}.theme-within-20{--accent:#35836a;--tint:#dcf0e3;--wash:#f2faf4}.theme-within-50{--accent:#5a74b4;--tint:#e2e9fc;--wash:#f5f7ff}.range-message{color:#8c705b;grid-column:1/-1;min-height:22px;font-size:14px}.range-intro{color:var(--muted);margin-top:18px;line-height:1.9}.range-practice .practice-header h1{font-size:23px}@media (max-width:600px){.range-practice .practice-header{flex-wrap:wrap;gap:4px}.range-practice .practice-header h1{font-size:19px}.range-practice .question-count{margin-left:auto;font-size:15px}.range-practice .star-counter{gap:4px;min-width:49px;margin-left:5px;padding:8px 7px;font-size:14px}.range-practice .equation{gap:8px;font-size:38px}.method-card.theme-within-20 .card-copy strong,.method-card.theme-within-50 .card-copy strong{letter-spacing:0;font-size:19px}.method-card.theme-within-20,.method-card.theme-within-50{gap:10px}}.record-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:18px 0;display:flex}.record-row:last-child{border-bottom:0}.record-row p{color:var(--muted);margin-top:7px;font-size:12px}.record-row>span{text-align:right;font-size:14px;line-height:1.8}.record-row button:disabled{opacity:.45}.record-row strong{font-size:16px}.session-summary>.secondary{width:100%}.session-summary .primary:disabled{opacity:.45}@media (max-width:600px){.math-heading h1{letter-spacing:1px;font-size:29px}.subject-card .card-copy>span{line-height:1.6}.record-row{gap:10px}}.wrong-details{margin-top:12px;font-size:13px}.wrong-details summary{cursor:pointer;color:#a45673;align-items:center;min-height:44px;display:flex}.wrong-details ul{margin:6px 0;padding:0;list-style:none}.wrong-details li{padding:8px 0;line-height:1.7}.wrong-details li span{color:var(--muted);font-size:12px;display:block}.difficulty-description{color:var(--muted);margin:0;font-size:13px;line-height:1.7}.range-levels{grid-template-columns:1fr 1fr;gap:14px;margin-top:20px;display:grid}.level-card{text-align:left;border:1px solid color-mix(in srgb,var(--accent) 24%,white);background:var(--wash);color:#273d4a;border-radius:20px;gap:7px;min-height:132px;padding:18px;display:grid;position:relative}.level-card strong{color:var(--accent);font-size:23px}.level-card span{font-weight:750}.level-card small{color:var(--muted)}.level-card svg{color:var(--accent);position:absolute;top:16px;right:15px}.subtraction-special{background:linear-gradient(135deg,var(--wash),#fff8ee);justify-content:space-between;align-items:center;gap:18px;display:flex}.subtraction-special h2{margin:7px 0}.subtraction-special p{color:var(--muted);margin:0;line-height:1.7}.subtraction-special .primary{flex-shrink:0;width:auto;min-width:130px;margin:0}@media (max-width:600px){.range-levels{grid-template-columns:1fr}.level-card{min-height:112px}.subtraction-special{flex-direction:column;align-items:stretch}.subtraction-special .primary{width:100%}}.settings-intro{background:#f8efdf;border-radius:24px;justify-content:space-between;align-items:center;padding:22px 26px;display:flex}.settings-intro h2{font-size:24px}.settings-intro p,.backup-card p{color:var(--muted);margin-top:8px;font-size:13px;line-height:1.7}.settings-intro .companion{width:110px}.backup-card{border:1px solid var(--line);background:#fff;border-radius:24px;gap:12px;margin-top:18px;padding:22px;display:grid}.backup-card .primary,.backup-card .secondary{width:100%}.visually-hidden{clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.update-notice{z-index:7;left:50%;bottom:calc(96px + env(safe-area-inset-bottom,0px));background:#fffdf8;border:1px solid #e8d8bd;border-radius:18px;align-items:center;gap:16px;width:min(100% - 32px,620px);padding:14px 16px;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 8px 28px #4d372326}.update-notice span{gap:4px;display:grid}.update-notice small{color:var(--muted);line-height:1.5}.update-notice button{background:var(--pink);color:#fff;border:0;border-radius:14px;flex-shrink:0;margin-left:auto;padding:10px 15px}@media (max-width:600px){.update-notice{align-items:flex-start}.update-notice small{font-size:11px}}:root{--v2-paper:#fff9f1;--v2-surface:#fffefb;--v2-ink:#12162c;--v2-muted:#666275;--v2-pink:#f43682;--v2-action:#d92e70;--v2-pink-soft:#ffe2ed;--v2-blue:#dceeff;--v2-yellow:#ffe27c;--v2-green:#dff6df;--v2-line:#eee8e4;--v2-shadow:0 8px 24px #30244a14, 0 2px 0 #ffffffb8 inset;--v2-space-1:4px;--v2-space-2:8px;--v2-space-3:12px;--v2-space-4:16px;--v2-space-6:24px;--v2-space-8:32px;--v2-font-caption:12px;--v2-font-body:16px;--v2-font-section:22px;--v2-font-title:32px;--v2-line-body:1.6;--v2-font-family:ui-rounded, "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;--v2-radius-card:28px;--v2-radius-button:18px;--v2-radius-pill:999px;--v2-motion:.18s ease}body:has(.v2-shell){overscroll-behavior-x:none;min-width:0;overflow-x:hidden}.v2-shell{--paper:var(--v2-paper);--ink:var(--v2-ink);--muted:var(--v2-muted);--line:var(--v2-line);--pink:var(--v2-action);--shadow:var(--v2-shadow);background:var(--v2-paper);isolation:isolate;font-family:var(--v2-font-family);touch-action:pan-y pinch-zoom}.v2-shell:before,.v2-shell:after{content:"";z-index:-1;pointer-events:none;border-radius:50%;width:240px;height:170px;position:absolute}.v2-shell:before{background:#cce8ff85;top:-70px;right:-55px}.v2-shell:after{background:#ffe0ec80;bottom:130px;left:-105px}.v2-shell main{max-width:850px;padding-bottom:34px}.v2-shell .eyebrow{color:#b34d78;letter-spacing:.08em;font-size:12px;font-weight:800}.v2-shell .brand{align-items:flex-start}.v2-shell .brand h1{color:var(--v2-ink);letter-spacing:.05em;text-shadow:2px 3px #fff;margin:6px 0 5px;font-size:clamp(34px,5vw,49px);line-height:1.25}.v2-shell .brand p{color:var(--v2-muted);font-size:14px}.v2-shell .brand-dot{color:#f4b928}.v2-shell .avatar{color:var(--v2-ink);font-weight:800}.v2-shell .avatar>svg{color:#eb4b89;background:#fff;box-shadow:0 3px #efdfd2}.v2-shell .page-header{margin-bottom:18px}.v2-shell .page-header h1{letter-spacing:.04em;font-weight:900}.v2-shell .icon-button{border:1px solid var(--v2-line);background:#fff;border-radius:50%;min-width:48px;min-height:48px;box-shadow:0 3px #e9e3df}.v2-shell .sticker-scene{isolation:isolate;position:relative;overflow:hidden}.v2-shell .sticker-scene:before,.v2-shell .sticker-scene:after{content:"";z-index:-1;pointer-events:none;border-radius:48% 52% 55% 45%;position:absolute}.v2-shell .sticker-scene:before{background:#ffbedfba;width:270px;height:185px;top:-46px;left:-27px;transform:rotate(-14deg)}.v2-shell .sticker-scene:after{background:#a9d8ffac;width:210px;height:170px;bottom:-74px;right:-44px;transform:rotate(18deg)}.v2-shell .character-art{object-fit:contain;filter:drop-shadow(0 7px 2px #50394918);width:245px;height:auto;display:block}.v2-shell .character-art.small{width:160px}.v2-shell .welcome{min-height:265px;box-shadow:var(--v2-shadow);background:radial-gradient(circle at 95% 10%,#c9e7ff 0 12%,#0000 12.5%),linear-gradient(145deg,#fff1bd 0%,#ffe9d8 44%,#fff8ea 100%);border:2px solid #fff;border-radius:34px;margin:24px 0 22px;padding:31px 33px}.v2-shell .welcome:before{background:#ff9bccb0;top:-35px;left:-30px}.v2-shell .welcome-copy{z-index:2;max-width:60%;position:relative}.v2-shell .welcome h2{letter-spacing:.04em;margin:16px 0 9px;font-size:clamp(25px,4vw,36px);font-weight:900;line-height:1.4}.v2-shell .welcome p{color:#514d5a;font-size:15px;line-height:1.7}.v2-shell .welcome .character-art{z-index:1;width:280px;position:absolute;bottom:-7px;right:7px}.v2-shell .pill{color:#a92e66;background:#fff;padding:8px 14px;font-size:12px;font-weight:800;box-shadow:0 3px #f2d9d4}.v2-shell .scene-star{z-index:3;color:#ffd344;text-shadow:1px 2px #e6a80d;font-size:26px;position:absolute}.v2-shell .scene-star.one{top:24px;right:18px}.v2-shell .scene-star.two{font-size:18px;bottom:15px;left:17px}.v2-shell .section-title{margin:25px 0 14px}.v2-shell .section-title h2{font-size:var(--v2-font-section);font-weight:900}.v2-shell .section-title>span{color:var(--v2-muted)}.v2-shell .subject-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.v2-shell .subject-card{border-radius:var(--v2-radius-card);min-width:0;min-height:120px;box-shadow:var(--v2-shadow);color:var(--v2-ink);transition:transform var(--v2-motion), box-shadow var(--v2-motion);border:2px solid #fff;gap:15px;padding:17px}.v2-shell button.subject-card:hover,.v2-shell button.method-card:hover,.v2-shell .level-card:hover{transform:translateY(-2px);box-shadow:0 11px 28px #30244a1d}.v2-shell button.subject-card:disabled{opacity:1}.v2-shell .subject-card.math{background:linear-gradient(125deg,#ffe4ed,#ffcfe3)}.v2-shell .subject-card.chinese{background:linear-gradient(125deg,#fff0bf,#ffe2bd)}.v2-shell .subject-card.english{background:linear-gradient(125deg,#e4f4ff,#c9e8ff)}.v2-shell .subject-card.thinking{background:linear-gradient(125deg,#e9e8ff,#dcd8fa)}.v2-shell .subject-symbol{color:#11152a;background:#fffdfbea;border-radius:20px;flex:none;width:62px;height:62px;font-size:25px;box-shadow:0 4px #ffffff8a}.v2-shell .card-copy{min-width:0}.v2-shell .card-copy strong{color:var(--v2-ink);letter-spacing:.02em;font-size:23px;font-weight:900}.v2-shell .card-copy>span{color:#545468;font-size:13px;line-height:1.5}.v2-shell .card-end{color:#bc426f}.v2-shell .math .card-end{background:var(--v2-action);color:#fff}.v2-shell .subject-card:disabled .card-end{color:#6b6683}.v2-shell .continue-card{border-radius:var(--v2-radius-card);box-shadow:var(--v2-shadow);background:#fffefa;border:2px solid #fff;justify-content:space-between;align-items:center;gap:18px;margin-top:18px;padding:20px 22px;display:flex}.v2-shell .continue-card h2{margin:6px 0;font-size:20px;line-height:1.35}.v2-shell .continue-card p{color:var(--v2-muted);font-size:13px;line-height:1.5}.v2-shell .continue-action{background:var(--v2-action);color:#fff;border:0;border-radius:19px;flex:none;place-items:center;width:58px;height:58px;display:grid;box-shadow:0 4px #ad2458}.v2-shell .gentle-note{color:var(--v2-muted)}.v2-shell.has-primary-nav{padding-bottom:0}.v2-shell.has-primary-nav main{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}.v2-shell .bottom-nav{left:50%;bottom:max(10px, env(safe-area-inset-bottom,0px));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#11152ce6;border:1px solid #ffffff45;border-radius:999px;justify-content:space-between;width:min(100% - 28px,348px);height:64px;padding:5px 7px;transition:background-color .22s;transform:translate(-50%);box-shadow:0 8px 22px #0f142a35}.v2-shell .bottom-nav.is-scrolling{background:#11152cb8}.v2-shell .bottom-nav button{color:#ececf5;border-radius:999px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;min-width:0;min-height:50px;font-size:12px;font-weight:750;display:flex}.v2-shell .bottom-nav button.active{color:#11152c;background:#fff9ee}.v2-shell .bottom-nav button svg{width:21px;height:21px}.v2-shell.lesson-shell{padding-bottom:0}.v2-shell.lesson-shell main{padding-bottom:calc(30px + env(safe-area-inset-bottom,0px))}.v2-shell .math-heading.math-hero,.v2-shell .math-heading.arithmetic-hero{min-height:220px;box-shadow:var(--v2-shadow);background:linear-gradient(120deg,#fff0c5,#ffe9ef 60%,#dcefff);border:2px solid #fff;border-radius:34px;margin-bottom:22px;padding:26px 30px}.v2-shell .math-hero h2{margin:12px 0 8px;font-size:32px;font-weight:900;line-height:1.35}.v2-shell .math-heading p{color:#514c5d;font-size:15px;line-height:1.6}.v2-shell .math-heading .character-art{align-self:end;width:195px;height:auto;margin:-30px -8px -28px 0}.v2-shell .math-entry{width:100%;min-height:130px}.v2-shell .arithmetic-hero{min-height:190px!important}.v2-shell .arithmetic-hero h1{letter-spacing:.02em;margin:13px 0 5px;font-size:34px}.v2-shell .arithmetic-hero .character-art{width:170px}.v2-shell .method-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.v2-shell .training-group+.training-group{margin-top:27px}.v2-shell .method-card{border-radius:var(--v2-radius-card);min-width:0;min-height:140px;box-shadow:var(--v2-shadow);transition:transform var(--v2-motion), box-shadow var(--v2-motion);border:2px solid #fff;gap:12px;padding:17px}.v2-shell .method-card .card-copy strong{font-size:22px}.v2-shell .method-card .card-copy>span{color:#454253}.v2-shell .method-card .card-copy small{color:#583e57;font-size:11px;line-height:1.3}.v2-shell .method-art{width:60px;height:76px}.v2-shell .method-art>span{border-radius:17px;width:53px;height:61px;font-size:27px}.v2-shell .method-art>b{width:34px;height:36px;font-size:18px}.v2-shell .method-end{gap:10px}.v2-shell .method-end>b{font-size:12px}.v2-shell .theme-make-ten{--accent:#cf2e6a;--tint:#ffe1ed;--wash:#fff0f5}.v2-shell .theme-break-ten{--accent:#b45b28;--tint:#ffe6b3;--wash:#fff6df}.v2-shell .theme-flatten-ten{--accent:#2774a0;--tint:#d9efff;--wash:#eff9ff}.v2-shell .theme-borrow-ten{--accent:#9c5090;--tint:#f3dff5;--wash:#fff1fb}.v2-shell .theme-within-20{--accent:#237e69;--tint:#dff5e8;--wash:#f2fbf5}.v2-shell .theme-within-50{--accent:#596dc1;--tint:#e1e7ff;--wash:#f5f6ff}.v2-shell .lesson-banner{background:linear-gradient(120deg, var(--tint), #fff7eb);min-height:175px;box-shadow:var(--v2-shadow);border:2px solid #fff;border-radius:31px;padding:22px 26px}.v2-shell .lesson-banner h2{color:var(--v2-ink);font-size:26px;font-weight:900;line-height:1.4}.v2-shell .lesson-banner .character-art{align-self:end;width:155px;height:auto;margin:-20px -10px -24px 0}.v2-shell .lesson-content{background:var(--v2-surface);box-shadow:var(--v2-shadow);border:2px solid #fff;border-radius:30px;padding:25px}.v2-shell .lesson-content h2{color:var(--v2-ink);font-size:23px;font-weight:900}.v2-shell .method-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0 23px;display:grid}.v2-shell .method-steps li{background:var(--wash);color:#363344;border-radius:16px;min-height:48px;padding:9px 12px;font-size:14px;font-weight:700}.v2-shell .method-steps li:before{flex:none;width:29px;height:29px;font-size:15px}.v2-shell .lesson-example{border-top:1px dashed #e7dce3;gap:18px;padding-top:16px}.v2-shell .example-equation{color:var(--v2-ink);font-size:31px}.v2-shell .example-equation b{background:var(--v2-yellow)}.v2-shell .lesson-example .math-diagram{max-width:300px}.v2-shell .lesson-example aside{color:var(--v2-muted)}.v2-shell .lesson-example aside .character-art{width:150px;margin:8px auto 0}.v2-shell .lesson-start{max-width:700px;box-shadow:var(--v2-shadow);background:#fffefa;border:2px solid #fff;border-radius:28px;margin:18px auto 0;padding:20px}.v2-shell .lesson-start label{color:var(--v2-ink);font-weight:800}.v2-shell .lesson-start select{max-width:67%;color:var(--v2-ink);background:#fff;border:2px solid #e8deea;border-radius:17px}.v2-shell .lesson-start .primary{background:var(--v2-action);border-radius:19px;min-height:60px;box-shadow:0 4px #ac2358}.v2-shell .level-card{background:var(--wash);transition:transform var(--v2-motion), box-shadow var(--v2-motion);border:2px solid #fff;box-shadow:0 4px 12px #30244a10}.v2-shell .subtraction-special .primary{background:var(--v2-action)}@media (max-width:680px){.v2-shell main{padding:22px 18px 25px}.v2-shell .subject-list,.v2-shell .method-list{grid-template-columns:1fr}.v2-shell .welcome{min-height:245px;padding:24px}.v2-shell .welcome .character-art{width:230px;right:-18px}.v2-shell .welcome-copy{max-width:60%}.v2-shell .welcome h2{font-size:26px}.v2-shell .welcome p{font-size:12px}.v2-shell .subject-card{min-height:99px}.v2-shell .subject-symbol{width:58px;height:58px}.v2-shell .method-card{min-height:116px}.v2-shell .method-end>b{font-size:13px}.v2-shell .lesson-example{grid-template-columns:1fr}.v2-shell .lesson-example aside{display:none}.v2-shell .math-heading.math-hero,.v2-shell .math-heading.arithmetic-hero{min-height:190px;padding:22px}.v2-shell .math-heading .character-art{width:155px}.v2-shell .math-hero h2{font-size:26px}.v2-shell .arithmetic-hero h1{font-size:27px}.v2-shell .lesson-banner .character-art{width:125px}}@media (max-width:360px){.v2-shell .brand h1{letter-spacing:.02em;font-size:32px}.v2-shell .brand p{font-size:12px}.v2-shell .welcome{min-height:225px;padding:20px}.v2-shell .welcome .character-art{width:190px;right:-23px}.v2-shell .welcome-copy{max-width:62%}.v2-shell .welcome h2{font-size:22px}.v2-shell .welcome p{font-size:11px}.v2-shell .card-copy strong,.v2-shell .method-card .card-copy strong{font-size:21px}.v2-shell .method-end>b{display:none}.v2-shell .lesson-banner h2{font-size:21px}.v2-shell .lesson-banner .character-art{width:105px}.v2-shell .lesson-start label{flex-direction:column;align-items:stretch;gap:8px}.v2-shell .lesson-start select{max-width:100%}}@media (min-width:900px){.v2-shell .bottom-nav{bottom:18px}}@media (prefers-reduced-motion:reduce){.v2-shell button{transition:none!important}.v2-shell .bottom-nav{transition:none}}.practice-shell{--paper:var(--v2-paper);--ink:var(--v2-ink);--muted:var(--v2-muted);--line:var(--v2-line);--pink:var(--v2-action);background:radial-gradient(circle at 95% 5%, #dbefff 0 80px, transparent 81px), radial-gradient(circle at 0 100%, #ffe3ee 0 110px, transparent 111px), var(--v2-paper);color:var(--v2-ink);font-family:var(--v2-font-family)}.practice-shell main{max-width:1000px;padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}.practice-shell .practice-page{max-width:920px;margin:auto}.practice-shell .practice-header{min-width:0;margin-bottom:14px}.practice-shell .practice-header .icon-button{background:#fff;border:1px solid #eee8e4;border-radius:50%;flex:none;min-width:48px;min-height:48px;box-shadow:0 3px #e9e2df}.practice-shell .practice-header h1{min-width:0;color:var(--v2-ink);font-size:clamp(20px,3vw,27px);font-weight:900;line-height:1.25}.practice-shell .question-count{margin-left:auto;font-weight:850}.practice-shell .question-count small{color:var(--v2-muted)}.practice-shell .star-counter{background:#fff;border:1px solid #f3e7de;margin-left:0;box-shadow:0 2px #f3e8df}.practice-shell .session-progress{background:#e9e5e7;height:10px;margin-bottom:18px}.practice-shell .session-progress>span{background:linear-gradient(90deg, #ff8bb7, var(--v2-pink))}.practice-shell .practice-workspace{gap:17px}.practice-shell .math-work:focus-visible{outline:none}.practice-shell .math-work{box-shadow:var(--v2-shadow);background:#fffefd;border:2px solid #fff;border-radius:32px;padding:21px 20px 8px}.practice-shell .math-work:before{content:"✦";color:#ffca49;pointer-events:none;font-size:21px;position:absolute;top:13px;right:20px}.practice-shell .practice-caption{background:var(--v2-yellow);color:#514123;border-radius:999px;margin:0 auto 16px;padding:6px 15px;font-size:13px;font-weight:800;display:inline-block}.practice-shell .equation{color:#111629;gap:clamp(8px,2vw,19px);font-size:clamp(43px,7vw,68px);font-weight:900}.practice-shell .equation .operator{color:#248fe1}.practice-shell .equation .operand{color:var(--v2-pink)}.practice-shell .answer-box{background:#fff;border:2px dashed #9594a8;border-radius:17px;min-width:1.45em}.practice-shell .answer-box.solved{color:#197550;background:#dff7e7;border:2px solid #a8eac1}.practice-shell .has-diagram .math-work{padding-bottom:4px}.practice-shell .has-diagram .math-diagram{width:min(100%,340px);max-width:340px;height:auto;overflow:visible}.practice-shell .math-diagram path{stroke:#343b57;stroke-width:2.5px}.practice-shell .math-diagram .diagram-node rect{stroke:#fff;stroke-width:3px;filter:drop-shadow(0 3px 1px #24243a16)}.practice-shell .math-diagram .diagram-node text{fill:#14182c}.practice-shell .math-diagram .node-parent rect{fill:#ffe17a}.practice-shell .math-diagram .node-split-left rect{fill:#ffe0ed}.practice-shell .math-diagram .node-split-right rect{fill:#dcedff}.practice-shell .math-diagram .node-operand rect{fill:#e6efff}.practice-shell .math-diagram .node-intermediate rect,.practice-shell .math-diagram .node-final rect{fill:#d8f3e3}.practice-shell .math-diagram .diagram-node.current rect{fill:#fff;stroke:var(--v2-pink);stroke-width:3.5px;stroke-dasharray:6 4;filter:drop-shadow(0 0 6px #f4368266)}.practice-shell .math-diagram .diagram-node.current text{fill:var(--v2-action)}.practice-shell .math-diagram g:not(.diagram-node)>rect{fill:#fffefb}.practice-shell .math-diagram g:not(.diagram-node)>text{fill:#414962;font-weight:800}.practice-shell .practice-controls{max-width:560px}.practice-shell .guide-controls,.practice-shell .review-controls,.practice-shell .range-practice .practice-controls>form,.practice-shell .result-actions{box-shadow:var(--v2-shadow);background:#fffefd;border:2px solid #fff;border-radius:29px;padding:19px 22px 20px}.practice-shell .step-label{background:var(--v2-pink-soft);color:#b42561;font-size:13px;font-weight:800}.practice-shell .guide-controls h2,.practice-shell .review-controls h2{color:#171b30;font-size:clamp(19px,3vw,24px);font-weight:900;line-height:1.45}.practice-shell .guide-hint{color:#5e5c6c;font-size:15px}.practice-shell .number-choices{gap:11px;margin:19px 0 12px}.practice-shell .number-choices button{color:#171b30;border:2px solid #fff;border-radius:19px;max-width:88px;min-height:66px;font-size:30px;box-shadow:0 4px #e6dde0}.practice-shell .number-choices button:first-child{background:#ffe1aa}.practice-shell .number-choices button:nth-child(2){background:#cdeaff}.practice-shell .number-choices button:nth-child(3){background:#d9f2d9}.practice-shell .number-choices button:nth-child(4){background:#eadcff}.practice-shell .number-choices button:nth-child(5){background:#fbd9e8}.practice-shell .guide-feedback,.practice-shell .range-message{color:#625f6d;font-size:14px;font-weight:700}.practice-shell .is-wrong .guide-feedback,.practice-shell .is-wrong .range-message{color:#a73363;background:#fff0f5;border-radius:14px;padding:6px 10px}.practice-shell .is-correct .guide-feedback{color:#248051}.practice-shell .review-celebration{color:#b72e67;justify-content:center;align-items:center;gap:10px;margin:-5px 0 6px;font-size:15px;font-weight:800;display:flex}.practice-shell .review-celebration .character-art{object-fit:contain;width:65px;height:60px;display:block}.practice-shell .review-equation{color:#2e5578;font-weight:850}.practice-shell .primary{background:var(--v2-pink);border-radius:20px;min-height:60px;font-weight:850;box-shadow:0 4px #c82966}.practice-shell .secondary{background:#fffefd;border-radius:19px}.practice-shell .range-practice .math-work{flex-direction:column;justify-content:center;align-items:center;min-height:250px;display:flex}.practice-shell .answer-companion{gap:8px;margin:13px 0 0}.practice-shell .answer-companion .character-art{object-fit:contain;width:90px;height:84px}.practice-shell .answer-companion>span{color:#5e5c6c;font-weight:700}.practice-shell .answer-label{color:#171b30;font-weight:850}.practice-shell .practice-controls input{color:#151a2c;background:#fff7fa;border-color:#f39ac0}.practice-shell .number-pad button{color:#151a2c;border:2px solid #fff;border-radius:17px;min-height:63px;box-shadow:0 3px #e6dde0}.practice-shell .number-pad button:nth-child(3n+1){background:#fff0c7}.practice-shell .number-pad button:nth-child(3n+2){background:#dbf0ff}.practice-shell .number-pad button:nth-child(3n){background:#e2f4e4}.practice-shell .number-pad button.pad-word{background:#f6edf1}.practice-shell .range-message{grid-column:1/-1;min-height:23px}.practice-shell .result-actions h2{color:#197550;font-weight:900}.practice-shell .session-summary{box-shadow:var(--v2-shadow);background:#fffefd;border:2px solid #fff;border-radius:31px;padding:28px}.practice-shell .session-summary h1{color:#171b30;font-weight:900}.practice-shell .summary-numbers strong{color:var(--v2-pink)}@media (min-width:900px) and (min-aspect-ratio:6/5){.practice-shell .practice-workspace{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start;gap:24px;min-height:0}.practice-shell .practice-workspace .math-work{min-height:0}.practice-shell .has-diagram .math-diagram{max-width:330px}.practice-shell .range-practice .math-work{min-height:440px}}@media (min-width:601px) and (max-width:899px){.practice-shell .has-diagram .math-diagram{max-width:290px}.practice-shell .review-controls .primary{margin-top:10px}}@media (max-width:600px){.practice-shell main{padding:14px 13px calc(22px + env(safe-area-inset-bottom,0px))}.practice-shell .practice-header{gap:6px;margin-bottom:10px}.practice-shell .practice-header h1{font-size:clamp(17px,5.2vw,23px)}.practice-shell .question-count{white-space:nowrap;font-size:16px}.practice-shell .question-count small{font-size:13px}.practice-shell .star-counter{gap:3px;min-width:53px;padding:8px;font-size:14px}.practice-shell .star-counter svg{width:19px;height:19px}.practice-shell .session-progress{margin-bottom:12px}.practice-shell .math-work{border-radius:27px;padding:13px 9px 3px}.practice-shell .practice-caption{margin-bottom:9px;font-size:14px}.practice-shell .has-diagram .equation{gap:8px;font-size:clamp(34px,10vw,42px)}.practice-shell .has-diagram .math-diagram{max-width:min(100%,278px)}.practice-shell .practice-workspace{gap:12px}.practice-shell .guide-controls,.practice-shell .review-controls,.practice-shell .range-practice .practice-controls>form,.practice-shell .result-actions{border-radius:24px;padding:13px 15px 14px}.practice-shell .guide-controls h2,.practice-shell .review-controls h2{font-size:18px}.practice-shell .guide-hint{font-size:15px;line-height:1.5}.practice-shell .step-label{font-size:14px}.practice-shell .number-choices{gap:7px;margin:11px 0 7px}.practice-shell .number-choices button{border-radius:15px;min-height:56px;font-size:25px}.practice-shell .range-practice .math-work{min-height:220px}.practice-shell .range-practice .equation{gap:8px;font-size:clamp(42px,11vw,54px)}.practice-shell .answer-companion .character-art{width:75px;height:70px}.practice-shell .number-pad button{min-height:54px}}@media (max-width:340px){.practice-shell .practice-header h1{font-size:17px}.practice-shell .star-counter{min-width:45px;padding:6px}.practice-shell .has-diagram .math-diagram{max-width:250px}.practice-shell .equation .answer-box{min-width:1.25em}}@media (prefers-reduced-motion:no-preference){.practice-shell .is-correct .math-work{animation:.42s ease-out practice-celebrate}.practice-shell .is-wrong .guide-feedback,.practice-shell .is-wrong .range-message{animation:.28s ease-out practice-nudge}@keyframes practice-celebrate{50%{box-shadow:0 0 0 8px #dff6df, var(--v2-shadow)}}@keyframes practice-nudge{50%{transform:translate(3px)}}}.practice-shell .session-summary{background:#fffefd;gap:16px;max-width:570px;margin:18px auto 30px;padding:18px 22px 24px}.practice-shell .summary-hero{background:linear-gradient(140deg,#dcefff,#ffe6ef 63%,#fff0bd);border-radius:25px;width:100%;min-height:215px;padding:25px 15px 15px;position:relative;overflow:hidden}.practice-shell .summary-hero:before,.practice-shell .summary-hero:after{content:"✦";color:#ffc637;font-size:27px;position:absolute}.practice-shell .summary-hero:before{top:28px;left:30px}.practice-shell .summary-hero:after{color:var(--v2-pink);font-size:18px;top:45px;right:35px}.practice-shell .summary-hero .character-art{object-fit:contain;width:115px;height:115px;margin:-5px auto -8px;display:block}.practice-shell .summary-star{color:#bb8212;background:var(--v2-yellow);border-radius:16px;place-items:center;width:46px;height:46px;display:grid;position:absolute;top:16px;right:16px;transform:rotate(12deg)}.practice-shell .summary-hero .eyebrow{color:#a83267;letter-spacing:.1em;font-size:12px;font-weight:850}.practice-shell .summary-hero h1{color:#161a30;margin:4px 0 3px;font-size:clamp(28px,5vw,38px)}.practice-shell .summary-hero p{color:#55526a;font-size:15px}.practice-shell .summary-numbers{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;margin:0;display:grid}.practice-shell .summary-numbers>div{background:#fff7e9;border-radius:18px;min-width:0;padding:13px 7px}.practice-shell .summary-numbers>div:nth-child(2){background:#e8f5ff}.practice-shell .summary-numbers>div:nth-child(3){background:#ffe9f0}.practice-shell .summary-numbers strong{font-size:clamp(28px,5vw,37px);line-height:1.15}.practice-shell .summary-numbers span{color:#4c4b5f;font-weight:750}.practice-shell .session-note{color:#656276;font-size:12px;line-height:1.5}.practice-shell .summary-actions{gap:11px;width:100%;display:grid}.practice-shell .summary-actions button{width:100%}.practice-shell .summary-actions .secondary{font-weight:800}.practice-shell .is-wrong .guide-feedback,.practice-shell .is-wrong .range-message{font-size:15px;line-height:1.55}.practice-shell .is-wrong .guide-feedback:before,.practice-shell .is-wrong .range-message:before{content:"✦";color:var(--v2-pink);margin-right:7px}.practice-shell .is-correct .review-celebration{color:#a52e68}.practice-shell .is-correct .review-celebration:after{content:"✦";color:#f6b72f;font-size:21px}.practice-shell .range-practice.is-correct .result-actions{background:linear-gradient(160deg,#fffefd,#e9f9ee)}.practice-shell .range-practice.is-correct .result-actions h2{font-size:25px}.practice-shell .range-practice.is-wrong .practice-controls>form{border-color:#ffd4e3}.v2-shell .records-page,.v2-shell .settings-page{max-width:780px;margin:auto}.v2-shell .records-page .page-header h1{color:var(--v2-ink)}.v2-shell .records-hero,.v2-shell .settings-intro{isolation:isolate;min-height:185px;box-shadow:var(--v2-shadow);background:linear-gradient(115deg,#ffe6ed,#fff2c7 65%,#dbeeff);border:2px solid #fff;border-radius:31px;align-items:center;padding:25px 28px;display:flex;position:relative;overflow:hidden}.v2-shell .records-hero>div,.v2-shell .settings-intro-copy{z-index:2;max-width:62%;position:relative}.v2-shell .records-hero h2,.v2-shell .settings-intro h2{color:#161a30;margin:10px 0;font-size:clamp(24px,3vw,31px);font-weight:900;line-height:1.25}.v2-shell .records-hero p,.v2-shell .settings-intro p{color:#555269;font-size:14px;line-height:1.55}.v2-shell .records-hero .character-art,.v2-shell .settings-intro .character-art{z-index:1;width:175px;height:auto;position:absolute;bottom:-14px;right:16px}.v2-shell .records-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:19px 0;display:grid}.v2-shell .records-stats>div{min-width:0;min-height:115px;box-shadow:var(--v2-shadow);background:#fffefb;border:2px solid #fff;border-radius:23px;align-content:center;justify-items:center;gap:4px;display:grid}.v2-shell .records-stats>div:first-child{background:#fff0c7}.v2-shell .records-stats>div:nth-child(2){background:#e2f2ff}.v2-shell .records-stats>div:nth-child(3){background:#ffe5ee}.v2-shell .records-stats .stat-icon{color:#ed4b8a;font-size:20px;line-height:1}.v2-shell .records-stats strong{color:#151a30;font-size:clamp(27px,4vw,35px);font-weight:900;line-height:1.15}.v2-shell .records-stats span:last-child{color:#4f4d63;font-size:13px;font-weight:750}.v2-shell .records-panel{box-shadow:var(--v2-shadow);background:#fffefd;border:2px solid #fff;border-radius:29px;margin:17px 0;padding:22px 24px}.v2-shell .records-panel-head{justify-content:space-between;align-items:end;gap:12px;margin-bottom:12px;display:flex}.v2-shell .records-panel-head h2{color:#161a30;margin-top:4px;font-size:22px;font-weight:900}.v2-shell .records-note{color:#6e6a7d;font-size:12px;line-height:1.55}.v2-shell .records-footnote{text-align:center;padding:7px 8px 22px}.v2-shell .records-empty{color:#666176;background:#fff8ef;border-radius:18px;padding:17px;line-height:1.6}.v2-shell .calendar-switch{white-space:nowrap;align-items:center;gap:7px;display:flex}.v2-shell .calendar-switch strong{color:#24243a;text-align:center;min-width:88px;font-size:14px}.v2-shell .calendar-switch button{border-radius:50%;min-width:37px;min-height:37px;padding:0;font-size:27px;line-height:1}.v2-shell .calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;padding:11px 4px;display:grid}.v2-shell .calendar-weekday{text-align:center;color:#818092;font-size:12px;font-weight:800}.v2-shell .calendar-day{aspect-ratio:1;color:#27283b;border-radius:50%;place-items:center;min-width:0;font-size:15px;font-weight:800;display:grid;position:relative}.v2-shell .calendar-day.has-session{background:#ffe28a}.v2-shell .calendar-day.is-today{outline-offset:-2px;outline:2px solid #ee4b89}.v2-shell .calendar-day i{background:#dd3e7d;border-radius:50%;width:4px;height:4px;position:absolute;bottom:4px}.v2-shell .record-row,.v2-shell .record-row>div{min-width:0}.v2-shell .record-row strong{color:#191d32;font-size:17px}.v2-shell .record-row p{color:#706c7d;font-size:13px}.v2-shell .record-row>span{color:#be376c;flex:none;font-size:13px;font-weight:800}.v2-shell .record-row>span small{color:#777185;font-weight:600}.v2-shell .wrong-row>.secondary{color:#ab2d63;background:#fff1f6;border:1px solid #efdde2;flex:none;align-items:center;gap:4px;min-height:48px;font-weight:800;display:flex}.v2-shell .wrong-row .secondary:disabled{color:#817c87;background:#f5f2ef}.v2-shell .wrong-details summary{color:#bc3671;font-weight:800}.v2-shell .wrong-details li{border-top:1px dashed #eee4e7}.v2-shell .wrong-details li b{color:#22243c;font-size:15px}.v2-shell .wrong-details li span{color:#716b7d}.v2-shell .settings-page{gap:18px;display:grid}.v2-shell .settings-intro{background:linear-gradient(115deg,#dcefff,#ffe7ef 60%,#fff0c7);min-height:190px}.v2-shell .settings-link{text-align:left;width:100%;min-height:77px;box-shadow:var(--v2-shadow);background:#fffefd;border:2px solid #fff;border-radius:23px;align-items:center;gap:14px;padding:13px 18px;display:flex}.v2-shell .settings-link-icon{color:#2388d0;background:#e2f0ff;border-radius:15px;flex:none;place-items:center;width:47px;height:47px;display:grid}.v2-shell .settings-link>span:nth-child(2){flex:1;gap:3px;display:grid}.v2-shell .settings-link strong{color:#171b30;font-size:17px;font-weight:900}.v2-shell .settings-link small{color:#696579;font-size:13px}.v2-shell .settings-link>svg{color:#ad356a}.v2-shell .backup-card{box-shadow:var(--v2-shadow);background:#fffefd;border:2px solid #fff;border-radius:29px;gap:14px;margin:0;padding:23px;display:grid}.v2-shell .backup-card-heading{align-items:center;gap:12px;display:flex}.v2-shell .backup-card-icon{background:var(--v2-yellow);color:#a57014;border-radius:16px;flex:none;place-items:center;width:45px;height:45px;display:grid;transform:rotate(-7deg)}.v2-shell .backup-card-heading strong{color:#171b30;font-size:20px;font-weight:900;display:block}.v2-shell .backup-card-heading small{color:#656174;margin-top:3px;font-size:12px;display:block}.v2-shell .backup-description{color:#58566b;margin-top:0;font-size:14px}.v2-shell .backup-card .primary{background:var(--v2-pink);border-radius:18px;min-height:60px;box-shadow:0 4px #be2b68}.v2-shell .backup-card .secondary{background:#fff9f2;border:2px solid #eee3e4;border-radius:18px;min-height:57px;font-weight:800}.v2-shell .backup-card>p:last-child{color:#666176;font-size:13px}@media (max-width:600px){.v2-shell .records-hero,.v2-shell .settings-intro{min-height:165px;padding:19px 20px}.v2-shell .records-hero>div,.v2-shell .settings-intro-copy{max-width:62%}.v2-shell .records-hero h2,.v2-shell .settings-intro h2{font-size:23px}.v2-shell .records-hero p,.v2-shell .settings-intro p{font-size:12px}.v2-shell .records-hero .character-art,.v2-shell .settings-intro .character-art{width:140px;right:2px}.v2-shell .records-stats>div{min-height:102px}.v2-shell .records-panel{padding:17px 16px}.v2-shell .record-row{gap:9px}.v2-shell .history-row>span{font-size:12px}.practice-shell .session-summary{margin:12px auto 22px;padding:13px}}@media (max-width:360px){.v2-shell .calendar-panel .records-panel-head{flex-direction:column;align-items:flex-start}.v2-shell .calendar-switch strong{min-width:72px;font-size:12px}.v2-shell .calendar-switch button{min-width:32px;min-height:32px}.v2-shell .records-hero>div,.v2-shell .settings-intro-copy{max-width:59%}.v2-shell .records-hero .character-art,.v2-shell .settings-intro .character-art{width:118px;right:-5px}.v2-shell .records-stats span:last-child{font-size:11px}.v2-shell .record-row strong{font-size:15px}}@media (prefers-reduced-motion:no-preference){.practice-shell .is-correct .review-celebration .character-art,.practice-shell .range-practice.is-correct .answer-companion .character-art{animation:.5s ease-out ux2b-cheer}@keyframes ux2b-cheer{50%{transform:translateY(-5px)rotate(-4deg)}}}.v2-shell .profile-switcher{max-width:135px;box-shadow:var(--v2-shadow);background:#fffdf9;border:2px solid #fff;border-radius:999px;align-items:center;gap:5px;padding:5px 8px;display:flex}.v2-shell .profile-switching{text-align:center;color:var(--v2-ink);padding-top:40vh;font-size:20px;font-weight:800}.v2-shell .profile-avatar{background:#ffe4ee;border-radius:50%;flex:none;place-items:center;width:42px;height:42px;font-size:27px;display:grid}.v2-shell .profile-avatar img{object-fit:cover;border-radius:50%;width:100%;height:100%}.v2-shell .profile-switcher select{width:82px;min-width:0;color:var(--v2-ink);font:800 13px var(--v2-font-family);background:0 0;border:0}.v2-shell .records-learner{color:#a42c60;background:#ffe4ee;border-radius:999px;margin-left:auto;padding:6px 10px;font-size:13px;font-weight:800}.v2-shell .profile-manager{box-shadow:var(--v2-shadow);background:#fffefd;border:2px solid #fff;border-radius:29px;gap:16px;padding:21px;display:grid}.v2-shell .profile-manager-title h2{margin:4px 0;font-size:23px}.v2-shell .profile-manager-title p,.v2-shell .profile-message{color:var(--v2-muted);font-size:13px;line-height:1.5}.v2-shell .profile-list{gap:12px;display:grid}.v2-shell .profile-row{background:#fff7e9;border-radius:21px;align-items:flex-start;gap:12px;padding:14px;display:flex}.v2-shell .profile-fields{flex:1;gap:9px;min-width:0;display:grid}.v2-shell .profile-fields label,.v2-shell .profile-create label{color:#555269;gap:4px;font-size:12px;font-weight:800;display:grid}.v2-shell .profile-fields input,.v2-shell .profile-fields select,.v2-shell .profile-create input,.v2-shell .profile-create select{color:#171b30;background:#fff;border:1px solid #eadce1;border-radius:13px;width:100%;min-height:43px;padding:8px 11px;font-size:15px}.v2-shell .profile-upload input{min-height:0;padding:7px;font-size:12px}.v2-shell .profile-reset{color:#a42c60;text-align:left;background:0 0;border:0;font-size:12px;font-weight:800}.v2-shell .profile-file-message{color:var(--v2-muted);line-height:1.4}.v2-shell .profile-actions{justify-items:stretch;gap:6px;display:grid}.v2-shell .profile-actions .secondary,.v2-shell .profile-archive .secondary{min-height:38px;padding:6px 10px;font-size:12px;font-weight:800}.v2-shell .profile-remove{color:#a42c60;background:0 0;border:0;min-height:36px;font-size:12px;font-weight:800}.v2-shell .profile-actions small{color:#a42c60;text-align:center;font-weight:800}.v2-shell .profile-create{background:#eaf5ff;border-radius:20px;gap:12px;padding:15px;display:grid}.v2-shell .profile-create h3{font-size:18px}.v2-shell .profile-create>div{grid-template-columns:1fr 1fr;gap:10px;display:grid}.v2-shell .profile-create .primary{min-height:50px;font-size:16px}.v2-shell .profile-archive{background:#f5f2f6;border-radius:16px;padding:10px}.v2-shell .profile-archive summary{cursor:pointer;font-weight:800}.v2-shell .profile-archive>div{justify-content:space-between;align-items:center;gap:8px;padding:9px 0;font-size:13px;display:flex}@media (max-width:390px){.v2-shell .profile-row{flex-wrap:wrap}.v2-shell .profile-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.v2-shell .profile-create>div{grid-template-columns:1fr}}.thinking-page,.schulte-page{color:var(--v2-ink)}.thinking-hero,.schulte-intro,.schulte-result{border-radius:var(--v2-radius-card);box-shadow:var(--v2-shadow);background:linear-gradient(135deg,#fff0c7,#ffe8f0 58%,#dceeff);border:2px solid #fff;padding:24px;position:relative;overflow:hidden}.thinking-hero{justify-content:space-between;align-items:center;gap:12px;min-height:180px;display:flex}.thinking-hero h2{margin:8px 0;font-size:clamp(24px,5vw,32px);line-height:1.3}.thinking-hero p,.schulte-intro p,.schulte-result p{color:var(--v2-muted);line-height:1.6}.thinking-hero .character-art{flex:none;width:min(30%,150px)}.thinking-card{text-align:left;width:100%;min-height:92px;box-shadow:var(--v2-shadow);color:var(--v2-ink);background:#fffefb;border:2px solid #fff;border-radius:24px;align-items:center;gap:14px;margin:10px 0;padding:14px 18px;display:flex}.thinking-active{cursor:pointer}.thinking-active:hover{transform:translateY(-2px)}.thinking-card:nth-of-type(3n+1){background:#ffe6f0}.thinking-card:nth-of-type(3n+2){background:#e3f2ff}.thinking-card:nth-of-type(3n){background:#fff1c9}.thinking-card>span:nth-child(2){flex:1;gap:4px;display:grid}.thinking-card strong{font-size:20px;font-weight:900;display:block}.thinking-card small{color:var(--v2-muted);font-size:13px}.thinking-symbol{min-width:62px;height:62px;color:var(--v2-pink);background:#fff;border-radius:20px;place-items:center;padding:4px;font-size:24px;font-weight:900;display:grid}.thinking-planned{opacity:.65}.thinking-note{color:var(--v2-muted);font-size:14px;line-height:1.6}.schulte-page{max-width:640px;padding-bottom:max(24px, env(safe-area-inset-bottom,0px));margin:0 auto}.schulte-page .page-header h1{font-size:clamp(20px,4vw,26px)}.schulte-intro,.schulte-result{text-align:center;padding:26px 20px}.schulte-intro .character-art,.schulte-result .character-art{width:min(45%,170px);margin:0 auto}.schulte-intro h2,.schulte-result h2{margin:8px 0;font-size:30px}.schulte-intro .primary,.schulte-result .primary,.schulte-result .secondary{width:min(100%,380px);min-height:58px;margin:16px auto 0}.schulte-play{border-radius:var(--v2-radius-card);box-shadow:var(--v2-shadow);background:#fffdf9;border:2px solid #fff;padding:18px}.schulte-target{text-align:center;background:linear-gradient(110deg,#ffe5ee,#e0f1ff);border-radius:24px;padding:16px 12px}.schulte-target>span{color:#8c446a;font-size:14px;font-weight:800}.schulte-target h2{margin:5px 0;font-size:clamp(25px,7vw,38px);font-weight:900}.schulte-target p{margin:5px 0 0;font-size:14px;line-height:1.5}.schulte-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(8px,2vw,14px);width:min(100%,410px);margin:22px auto;display:grid}.schulte-grid-two{grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,310px)}.schulte-grid button{aspect-ratio:1;min-width:0;color:var(--v2-ink);touch-action:manipulation;background:#ddecff;border:3px solid #fff;border-radius:24px;font-size:clamp(36px,11vw,62px);font-weight:900;box-shadow:0 5px #a8cee8}.schulte-grid button:nth-child(3n+2){background:#ffe0ec;box-shadow:0 5px #ecc2d2}.schulte-grid button:nth-child(3n){background:#ffeaa2;box-shadow:0 5px #dfce89}.schulte-grid button.found{color:#566c61;opacity:.72;background:#daf2df;box-shadow:0 3px #b8dfc0}.schulte-grid button:focus-visible,.thinking-card:focus-visible{outline-offset:3px;outline:4px solid #2679c5}.schulte-hint{text-align:center;color:#a82c64;min-height:28px;font-weight:800}.schulte-play .thinking-note{text-align:center}.schulte-result-stats{justify-content:center;gap:12px;margin:18px 0;display:flex}.schulte-result-stats div{background:#fff;border-radius:18px;gap:5px;min-width:120px;padding:16px;display:grid}.schulte-result-stats strong{font-size:24px}.schulte-result-stats span{color:var(--v2-muted);font-size:13px}.schulte-celebrate{color:#ffbf22;font-size:34px;display:block}@media (max-width:360px){.thinking-hero,.schulte-play{padding:14px}.thinking-hero .character-art{width:95px}.schulte-grid{gap:8px}.schulte-grid button{border-radius:18px}}@media (prefers-reduced-motion:no-preference){.schulte-celebrate{animation:.35s ease-out both schulte-pop}@keyframes schulte-pop{0%{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}}.memory-game-page{max-width:740px;padding-bottom:max(28px, env(safe-area-inset-bottom,0px));color:var(--v2-ink);margin:0 auto}.memory-game-page .page-header h1{font-size:clamp(19px,4vw,27px)}.memory-summary,.memory-play{border-radius:var(--v2-radius-card);box-shadow:var(--v2-shadow);background:#fffdf8;border:2px solid #fff;padding:clamp(16px,4vw,28px)}.memory-summary{text-align:center;background:linear-gradient(140deg,#ffe5ef,#fff4ca 55%,#deefff)}.memory-summary .character-art{width:min(44%,160px);margin:auto}.memory-summary h2{margin:8px 0;font-size:clamp(27px,7vw,38px)}.memory-summary p{color:var(--v2-muted);line-height:1.6}.memory-summary button{width:min(100%,390px);min-height:58px;margin:12px auto 0}.memory-progress{background:linear-gradient(110deg,#ffe5ee,#e2f1ff);border-radius:20px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:13px 16px;display:flex}.memory-progress strong{font-size:17px}.memory-progress span{color:#8e3464;font-weight:800}.memory-board{flex-wrap:wrap;justify-content:center;gap:clamp(8px,2vw,14px);margin:18px auto;display:flex}.memory-object-card{min-width:0;min-height:112px;color:var(--v2-ink);touch-action:manipulation;background:#e5f2ff;border:2px solid #fff;border-radius:20px;flex:0 clamp(86px,23vw,116px);align-content:center;justify-items:center;gap:3px;font-weight:900;display:grid;position:relative;box-shadow:0 4px #c2dcec}.memory-object-card:nth-child(3n+2){background:#ffe8f0;box-shadow:0 4px #edcad9}.memory-object-card:nth-child(3n){background:#fff0c6;box-shadow:0 4px #ead89e}.memory-object-card.memory-slot{background:#fff;border:3px dashed #eb7aa4}.memory-object-card.selected{outline-offset:2px;outline:4px solid #2a8be8}.memory-object-card.correct{border-color:#5fcf8e}.memory-object-card.incorrect{border-color:#f1a1af}.memory-object-card small{color:#8e3464;font-size:11px}.memory-object-art{width:68px;max-width:90%;height:68px}.memory-cover{color:#bf6695;place-items:center;width:66px;height:66px;font-size:42px;display:grid}.memory-countdown,.memory-pause,.memory-feedback{text-align:center;font-size:20px;font-weight:900}.memory-pause,.memory-feedback{background:#fff4ce;border-radius:22px;padding:14px}.memory-pause .primary,.memory-feedback .primary{min-height:56px;margin-top:8px}.memory-answer{text-align:center;gap:12px;display:grid}.memory-answer>p{margin:0;font-weight:800}.memory-choices{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.memory-choices button{min-width:78px;min-height:92px;color:var(--v2-ink);touch-action:manipulation;background:#fff;border:2px solid #e4d8d9;border-radius:16px;justify-items:center;gap:2px;font-weight:800;display:grid}.memory-choices .memory-object-art{width:52px;height:52px}.memory-answer>button{min-height:56px}.memory-error{color:#a82c64;text-align:center;font-weight:800}.memory-settings{border-radius:var(--v2-radius-card);box-shadow:var(--v2-shadow);background:#fffdf8;border:2px solid #fff;margin-top:20px;padding:18px}.memory-settings .section-title{margin-top:0}.memory-setting{border-top:1px solid #eee5e3;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:12px 0;font-weight:800;display:flex}.memory-setting>div{align-items:center;gap:9px;display:flex}.memory-setting button{width:48px;height:48px;color:var(--v2-ink);background:#ffe8f0;border:2px solid #e7dce0;border-radius:15px;font-size:24px;font-weight:900}.memory-setting strong{text-align:center;min-width:56px}.memory-settings>.primary{width:100%;min-height:56px}.memory-card-position{touch-action:manipulation;background:0 0;border:0;border-radius:16px;flex:0 clamp(86px,23vw,112px);justify-items:center;gap:3px;min-width:0;padding:0;display:grid}.memory-card-position.memory-slot{outline-offset:3px;outline:3px dashed #ed91b4}.memory-card-position.selected{outline-offset:3px;outline:4px solid #2a8be8}.memory-card-position.correct{outline:3px solid #5fcf8e}.memory-card-position.incorrect{outline:3px solid #f1a1af}.memory-card-position small{color:#8e3464;font-size:11px;font-weight:800}.playing-card{aspect-ratio:.71;background:#fff;border:2px solid #ddd9df;border-radius:12px;place-items:center;width:100%;min-height:116px;display:grid;position:relative;box-shadow:0 3px #ddd8db}.playing-card.red{color:#dc4562}.playing-card.black{color:#26314c}.playing-card.back{color:#fff;background:repeating-linear-gradient(45deg,#b3daf4,#b3daf4 7px,#83c5ed 7px 14px);border-color:#6eaad9}.playing-card.back>span{aspect-ratio:1;background:#ed8db8;border:2px solid #fff;border-radius:50%;place-items:center;width:58%;font-size:30px;display:grid}.card-corner{font-size:clamp(15px,5vw,21px);font-weight:900;line-height:1;display:grid;position:absolute;top:4px;left:5px}.card-corner small{font-size:15px}.card-corner.mirrored{inset:auto 5px 4px auto;transform:rotate(180deg)}.card-suit{font-size:clamp(34px,12vw,52px)}.card-choices button{background:0 0;border:0;flex:0 clamp(64px,19vw,85px);min-width:0;min-height:0;padding:0}.card-choices .playing-card{min-height:90px}.card-choices .card-suit{font-size:clamp(25px,8vw,36px)}.card-choices .card-corner{font-size:15px}.thinking-card:disabled{opacity:.48;cursor:default;transform:none}@media (max-width:360px){.memory-object-card{flex-basis:82px;min-height:98px}.memory-object-art{width:56px;height:56px}}@media (prefers-reduced-motion:reduce){.memory-game-page *,.thinking-page *{transition-duration:.01ms!important;animation-duration:.01ms!important}}.visual-game-page{-webkit-user-select:none;user-select:none;max-width:720px;margin:0 auto}.visual-game-page .page-header h1{font-size:clamp(19px,5vw,27px)}.visual-summary,.visual-play{box-shadow:var(--v2-shadow);background:#fffdfa;border:2px solid #fff;border-radius:32px;padding:clamp(18px,5vw,32px)}.visual-summary{text-align:center;background:linear-gradient(135deg,#ffe6f0,#fff9e9 64%,#dff0ff);justify-items:center;gap:17px;display:grid}.visual-summary h2{font-size:clamp(26px,7vw,38px)}.visual-summary p{color:#62586b;line-height:1.6}.visual-summary .primary,.visual-summary .secondary{width:100%}.visual-progress{background:linear-gradient(110deg,#ffe4ef,#e8f4ff);border-radius:20px;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;font-size:14px;display:flex}.visual-progress strong{white-space:nowrap}.visual-progress span{color:#a53e73;text-align:right;font-weight:800}.visual-target{justify-items:center;gap:8px;margin:20px auto;font-weight:800;display:grid}.visual-target .visual-shape{width:clamp(100px,30vw,160px);height:auto}.visual-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.visual-options button,.visual-item,.visual-category{touch-action:manipulation;background:#fff;border:2px solid #dedde7;border-radius:22px;place-items:center;min-height:94px;display:grid;box-shadow:0 4px #dddbe6}.visual-options button{padding:7px}.visual-options button.correct{background:#e7f9ee;border-color:#54bf8a}.visual-options button:disabled{opacity:1}.visual-shape{aspect-ratio:1;width:min(100%,100px)}.visual-message{color:#9c2d61;text-align:center;background:#fff0f5;border-radius:16px;margin:15px 0;padding:11px 15px;font-weight:800}.visual-feedback{text-align:center;gap:15px;margin-top:22px;display:grid}.visual-feedback h2{font-size:23px}.visual-feedback .primary{width:100%}.rotation-explanation{text-align:left;background:#eaf5ff;border-radius:22px;gap:12px;padding:16px;display:grid}.rotation-explanation h3{text-align:center;font-size:18px}.rotation-explanation>p,.rotation-mirror p{color:#40475b;font-size:14px;line-height:1.6}.rotation-explanation-steps{grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);align-items:center;gap:6px;display:grid}.rotation-explanation-steps>div{background:#fff;border-radius:16px;justify-items:center;gap:4px;min-width:0;padding:8px 2px;display:grid}.rotation-explanation-steps strong{font-size:13px}.rotation-explanation-steps .visual-shape{width:min(100%,96px)}.rotation-explanation-arrow{color:#2586c8;justify-items:center;font-size:35px;line-height:1;display:grid}.rotation-explanation-arrow small{color:#29435b;text-align:center;font-size:12px;font-weight:800;line-height:1.4}.rotation-mirror{background:#fff2f5;border-radius:16px;align-items:center;gap:10px;padding:8px;display:flex}.rotation-mirror .visual-shape{flex:none;width:66px}.rotation-mirror strong{color:#a53e73;display:block}.visual-rule{text-align:center;margin:17px 0;font-size:16px;font-weight:850}.visual-items{flex-wrap:wrap;justify-content:center;gap:10px;margin:15px 0 24px;display:flex}.visual-item{width:84px;min-height:90px;padding:5px}.visual-item.selected{background:#e7f4ff;border-color:#268fed}.visual-item .visual-shape{width:70px}.visual-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.visual-category{align-content:start;gap:3px;min-height:135px;padding:8px 4px}.visual-category .visual-shape{width:54px}.visual-category strong{font-size:13px}.visual-category small{color:#806f86;font-size:12px}@media (max-width:360px){.visual-options{gap:7px}.visual-items{gap:6px}.visual-item{width:72px}.visual-category .visual-shape{width:46px}}@media (prefers-reduced-motion:reduce){.visual-game-page *{transition:none!important;animation:none!important}}.logic-game-page{max-width:720px;color:var(--v2-ink);-webkit-user-select:none;user-select:none;margin:0 auto}.logic-game-page .page-header h1{font-size:clamp(19px,5vw,27px)}.logic-summary,.logic-play{box-shadow:var(--v2-shadow);background:#fffdfa;border:2px solid #fff;border-radius:32px;padding:clamp(16px,4vw,30px)}.logic-summary{text-align:center;background:linear-gradient(135deg,#ffe6f0,#fff9e9 64%,#dff0ff);justify-items:center;gap:17px;display:grid}.logic-summary h2{font-size:clamp(26px,7vw,38px)}.logic-summary p{color:#62586b;line-height:1.6}.logic-summary .primary,.logic-summary .secondary{width:100%}.logic-progress{background:linear-gradient(110deg,#ffe4ef,#e8f4ff);border-radius:20px;justify-content:space-between;gap:10px;padding:12px 16px;font-size:14px;display:flex}.logic-progress span{color:#a53e73;text-align:right;font-weight:800}.logic-sequence{flex-wrap:wrap;justify-content:center;gap:8px;margin:24px auto;display:flex}.logic-sequence-item{aspect-ratio:1;background:#f1f7ff;border-radius:17px;place-items:center;width:clamp(54px,17vw,82px);display:grid}.logic-sequence-item .visual-shape{width:86%}.logic-missing{color:#af366b;background:#fff0f5;border:2px dashed #ec79a3;font-size:38px;font-weight:900}.logic-prompt{text-align:center;margin:18px 0 12px;font-weight:900}.logic-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.logic-options button{touch-action:manipulation;background:#fff;border:2px solid #dedde7;border-radius:20px;place-items:center;min-height:96px;padding:8px;display:grid;box-shadow:0 4px #dddbe6}.logic-options button.correct{background:#e7f9ee;border-color:#54bf8a}.logic-options button:disabled{opacity:1}.logic-options .visual-shape{width:min(100%,90px)}.logic-feedback{text-align:center;gap:12px;margin-top:22px;display:grid}.logic-feedback h2{font-size:22px}.logic-feedback p{color:#62586b}.logic-feedback .primary{width:100%}.logic-message{color:#9c2d61;text-align:center;background:#fff0f5;border-radius:16px;margin:14px 0;padding:12px;font-weight:800}.logic-conditions{flex-wrap:wrap;justify-content:center;gap:9px;margin:22px 0;display:flex}.logic-condition{background:#e9f4ff;border-radius:16px;align-items:center;gap:7px;min-height:49px;padding:7px 12px;font-weight:850;display:inline-flex}.logic-condition:nth-child(2){background:#ffe6f0}.logic-condition:nth-child(3){background:#fff1c9}.logic-condition>span{font-size:27px;line-height:1}.logic-condition>i{border:2px solid #263847;border-radius:50%;width:22px;height:22px}.logic-reference{background:#fff8e6;border-radius:14px;justify-content:center;align-items:center;gap:7px;padding:8px;font-size:13px;display:flex}.logic-reference .visual-shape{width:36px}.logic-route-rules{text-align:center;gap:7px;margin:19px 0;display:grid}.logic-route-rules>div{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.logic-route-rules>div span{background:#fff0c7;border-radius:13px;padding:7px 10px;font-weight:800}.logic-route-rules small{color:#65596c}.logic-route-grid{gap:clamp(4px,1.5vw,9px);max-width:460px;margin:0 auto;display:grid}.logic-route-grid button{aspect-ratio:1;touch-action:manipulation;background:#e8f5ff;border:2px solid #c8d8e7;border-radius:17px;place-items:center;min-width:0;font-size:clamp(23px,7vw,37px);display:grid;position:relative}.logic-route-grid button.obstacle{background:#e5e8f2}.logic-route-grid button.visited{background:#e5f8e9;border-color:#52b97e}.logic-route-grid button.current{background:#ffe1ee;border-color:#f56a9f}.logic-route-grid button:disabled{opacity:1}.logic-route-grid button small{color:#327552;font-size:11px;font-weight:900;position:absolute;bottom:2px;right:4px}.logic-route-actions{grid-template-columns:1fr 1fr;gap:9px;margin-top:18px;display:grid}.logic-route-actions button{min-height:50px}@media (max-width:360px){.logic-sequence{gap:5px}.logic-options{gap:7px}}.creative-page{max-width:740px;color:var(--v2-ink);margin:0 auto}.creative-page .page-header h1{font-size:clamp(20px,5vw,28px)}.creative-intro,.creative-finish{text-align:center;background:linear-gradient(135deg,#ffe4ef,#fff9e7 65%,#e2f2ff);border-radius:30px;justify-items:center;gap:17px;padding:28px;display:grid}.creative-intro h2,.creative-finish h2{font-size:clamp(26px,6vw,36px)}.creative-intro p,.creative-finish p{color:#655d6a;line-height:1.6}.creative-intro .primary,.creative-finish .primary,.creative-finish .secondary{width:100%}.creative-work{box-shadow:var(--v2-shadow);background:#fffdfa;border:2px solid #fff;border-radius:30px;gap:14px;padding:clamp(12px,3vw,25px);display:grid}.creative-prompt{text-align:center;gap:5px;display:grid}.creative-prompt strong{font-size:clamp(18px,4.5vw,25px)}.creative-prompt small{color:#6d6771}.creative-canvas{aspect-ratio:4/3;touch-action:none;-webkit-user-select:none;user-select:none;background:#fffef9;border:2px solid #d8e7ef;border-radius:20px;width:100%;display:block}.creative-tools{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.creative-tools button{background:#fff;border:2px solid #e2dde6;border-radius:14px;min-width:0;min-height:48px;padding:5px;font-weight:800}.creative-tools button.selected{background:#ffe2ed;border-color:#ee5b91}.creative-tools button:disabled{opacity:.45}.creative-palette{justify-content:center;gap:14px;display:flex}.creative-palette button{border:3px solid #fff;border-radius:50%;width:43px;height:43px;box-shadow:0 0 0 1px #d7d3d9}.creative-palette button.selected{box-shadow:0 0 0 3px #25354a}.creative-actions{grid-template-columns:1fr 1.5fr;gap:9px;display:grid}.creative-actions button{min-height:54px}.creative-status{text-align:center;background:#e8f6ed;border-radius:14px;margin-top:12px;padding:12px;font-weight:800}@media (max-width:360px){.creative-tools{gap:4px}.creative-tools button{font-size:12px}.creative-palette{gap:10px}}.creative-record{background:#fff;border:1px solid #ece2e8;border-radius:16px;margin-top:10px;padding:12px}.creative-record summary{cursor:pointer;flex-wrap:wrap;align-items:center;gap:7px;display:flex}.creative-record summary small{color:#6d6771}.creative-record summary span{color:#ad3670;margin-left:auto;font-weight:800}.creative-record .creative-canvas{max-width:480px;margin:14px auto 0}.creative-record-actions{flex-wrap:wrap;gap:10px;margin-top:14px;display:flex}.creative-record-actions button{flex:150px;min-height:48px}.creative-delete{margin-top:12px}.creative-story-intro{box-shadow:var(--v2-shadow);text-align:center;background:#fffdfa;border-radius:28px;gap:14px;padding:22px;display:grid}.creative-story-intro p,.creative-hint{color:#655d6a}.creative-story-panels{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.creative-story-panels>div{background:#eef7ff;border-radius:18px;gap:7px;min-width:0;padding:8px;display:grid}.creative-story-panels svg{width:100%}.creative-story-panels strong{font-size:clamp(12px,3vw,16px)}.creative-story-intro .primary{width:100%}.creative-directions,.creative-stickers{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.creative-directions button{background:#fff1f6;border:2px solid #f2d3df;border-radius:15px;min-height:44px;padding:7px 12px;font-weight:800}.creative-directions button.selected,.creative-stickers button.selected{background:#ffddea;border-color:#ec598d}.creative-stickers button{background:#fff;border:2px solid #e4dfe8;border-radius:15px;min-width:49px;min-height:49px;font-size:28px}.creative-hint{text-align:center;margin:0;font-size:13px}.creative-object-art{width:150px;max-width:48%}.creative-prompt .creative-object-art{justify-self:center;width:90px}.creative-ideas{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.creative-ideas button{background:#fff1f6;border:2px solid #f2d3df;border-radius:16px;min-height:46px;padding:8px 14px;font-weight:800}.creative-ideas button.selected{background:#ffddea;border-color:#ec598d}.creative-inspiration{background:#fff7fa;border:2px solid #f5d8e4;border-radius:18px;padding:12px}.creative-inspiration summary{color:#a12e67;cursor:pointer;min-height:34px;font-weight:800}.creative-inspiration p{color:#655d6a;margin:6px 0 12px;font-size:13px}.creative-inspiration-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.creative-inspiration-card{text-align:center;background:#fff;border-radius:14px;align-content:center;justify-items:center;gap:4px;min-width:0;min-height:110px;padding:7px;display:grid}.creative-inspiration-card svg{width:100%;max-width:150px;max-height:100px}.creative-inspiration-card small{color:#655d6a}.creative-inspiration-icon{font-size:36px}.english-shell.v2-shell main{max-width:1140px}.english-page{color:var(--v2-ink);min-width:0}.english-header h1{overflow-wrap:anywhere;font-size:clamp(19px,3.3vw,30px)}.english-hero{background:linear-gradient(130deg,#d9edff,#ffe7f0 60%,#fff2c9);border-radius:30px;justify-content:space-between;align-items:center;gap:15px;padding:clamp(20px,4vw,36px);display:flex}.english-hero h2{margin:18px 0 12px;font-size:clamp(27px,4vw,40px);line-height:1.35}.english-hero p{color:var(--v2-muted);line-height:1.65}.english-overview{flex-wrap:wrap;justify-content:space-between;gap:8px;margin:26px 0 12px;display:flex}.english-note{color:var(--v2-muted);margin:14px 0;font-size:14px;line-height:1.65}.english-catalog{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.english-course-card{text-align:left;background:#e1f0ff;border:2px solid #fff;border-radius:24px;align-items:center;gap:12px;min-width:0;min-height:103px;padding:18px 14px;display:flex;box-shadow:0 4px #c8daed}.english-course-card:nth-child(3n+2){background:#ffe4ee;box-shadow:0 4px #edcbd8}.english-course-card:nth-child(3n){background:#fff2c5;box-shadow:0 4px #ecdfa9}.english-course-card.unavailable{box-shadow:none;color:#726b76;background:#f0ece6}.english-course-number{background:#fff9;border-radius:15px;flex:0 0 40px;place-items:center;height:46px;font-size:21px;font-weight:900;display:grid}.english-course-copy{flex:1;gap:7px;min-width:0;display:grid}.english-course-copy strong{overflow-wrap:anywhere;font-size:17px}.english-course-copy small{font-size:12px}.english-course-card>svg{flex-shrink:0}.english-continue{text-align:left;background:#fff1c8;border:2px solid #fff;border-radius:23px;justify-content:space-between;align-items:center;width:100%;padding:20px;display:flex}.english-continue>span{gap:5px;display:grid}.english-future{border:2px dashed #d4cce1;border-radius:22px;margin-top:25px;padding:22px;line-height:1.65}.english-future p{color:var(--v2-muted);margin-top:7px}.english-reader-layout{box-shadow:var(--v2-shadow);background:#fffefa;border-radius:30px;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:center;gap:22px;padding:22px;display:grid}.english-book-picture{background:#f4f1e9;border-radius:18px;place-items:center;min-width:0;display:grid;overflow:hidden}.english-book-picture img{object-fit:contain;width:100%;max-height:65vh;display:block}.english-reader-tools{align-content:center;gap:12px;min-width:0;display:grid}.english-sentence{white-space:pre-line;overflow-wrap:anywhere;font-size:clamp(23px,3.2vw,34px);font-weight:800;line-height:1.55}.english-page-turn{grid-template-columns:1fr 1fr;gap:9px;display:grid}.english-page button.primary,.english-page button.secondary{min-width:0;min-height:54px}.english-page button:disabled{opacity:.5;cursor:default}.english-audio{background:#f0f7ff;border:1px solid #dce6ed;border-radius:16px;min-width:0;padding:12px}.english-audio summary{cursor:pointer;min-height:28px;font-weight:800}.english-audio-fields{gap:10px;margin-top:10px;display:grid}.english-audio label{gap:5px;min-width:0;display:grid}.english-audio select{width:100%;min-width:0;max-width:100%;min-height:44px;font-size:14px}.english-audio p{color:var(--v2-muted);margin-top:8px;font-size:12px;line-height:1.6}.english-voice-status:empty{display:none}.english-voice-status{color:#6d6177;font-size:13px;line-height:1.6}.english-level-section{margin-top:30px;scroll-margin-top:12px}.english-levels{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;display:grid}.english-level{background:#ffe5ee;border:2px solid #fff;border-radius:25px;align-content:start;gap:13px;min-width:0;padding:22px 17px;display:grid}.english-level.l2{background:#deefff}.english-level.l3{background:#fff0bf}.english-level p,.english-level small{color:var(--v2-muted);line-height:1.55}.english-start,.english-finish{text-align:center;background:linear-gradient(140deg,#ffe2ee,#fff3cf,#deefff);border-radius:30px;justify-items:center;gap:18px;max-width:650px;margin:auto;padding:30px;display:grid}.english-start>*,.english-finish>*{max-width:100%}.english-start p,.english-finish p{color:var(--v2-muted);line-height:1.7}.english-start button,.english-finish button,.english-start .english-audio{width:100%}.english-quiz-progress{background:linear-gradient(90deg,#ffe1ef,#e1f0ff);border-radius:22px;flex-wrap:wrap;justify-content:space-between;gap:6px;margin-bottom:16px;padding:14px 20px;display:flex}.english-question-layout{box-shadow:var(--v2-shadow);background:#fffefa;border-radius:30px;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:24px;padding:25px;display:grid}.english-question-prompt,.english-question-answer{align-content:start;gap:15px;min-width:0;display:grid}.english-question-layout.has-prompt-image{grid-template-columns:repeat(2,minmax(0,1fr))}.english-question-title{grid-column:1/-1}.has-prompt-image .english-question-answer{align-self:center}.english-question-title,.english-question-prompt h2{font-size:clamp(21px,2.5vw,27px);line-height:1.5}.english-prompt-image{object-fit:contain;border-radius:18px;width:100%;max-height:40vh}.english-listen{background:#fff1b7;border:2px solid #ffe194;border-radius:24px;justify-content:center;align-items:center;gap:18px;min-height:62px;font-size:22px;font-weight:900;display:flex}.english-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.english-options button{background:#fff;border:3px solid #e0dce7;border-radius:20px;min-width:0;min-height:62px;padding:7px;overflow:hidden;box-shadow:0 4px #e0dce7}.english-options button.selected{background:#fff0f6;border-color:#df3279;box-shadow:0 4px #df3279}.english-options button img{object-fit:contain;border-radius:12px;width:100%;height:145px;display:block}.english-options button span{overflow-wrap:anywhere;font-size:clamp(20px,2.4vw,27px);font-weight:800}.english-subtitle{overflow-wrap:anywhere;background:#f2f7fc;border-radius:16px;gap:9px;padding:13px;display:grid}.english-subtitle label{align-items:center;gap:9px;min-height:36px;font-weight:800;display:flex}.english-subtitle input{accent-color:#d92e76;width:22px;height:22px}.english-subtitle p{font-size:19px;font-weight:700;line-height:1.6}.english-subtitle small{color:var(--v2-muted)}.english-order{text-align:center;flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.english-order>div{border:2px dashed #d8c8dc;border-radius:14px;gap:6px;width:95px;padding:7px;display:grid}.english-order img{object-fit:contain;width:100%;height:60px}.english-order p{width:100%;font-size:13px}.english-feedback,.english-error{overflow-wrap:anywhere;background:#fff0d1;border-radius:16px;padding:14px;line-height:1.7}.english-feedback.correct{background:#e4f5e8}.english-error{background:#ffe6ee;margin-top:14px}.english-submit{width:100%}.english-records .records-panel-head{flex-wrap:wrap;gap:12px}.english-records .history-row{flex-wrap:wrap;gap:14px}@media (max-width:850px){.english-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.english-reader-layout{gap:15px;padding:16px}.english-question-layout{gap:18px;padding:18px}}@media (max-width:600px){.english-reader-layout,.english-question-layout,.english-question-layout.has-prompt-image{grid-template-columns:minmax(0,1fr);padding:15px}.english-levels,.english-catalog{grid-template-columns:1fr}.english-hero .character-art.small{width:105px}.english-hero{padding:21px 16px}.english-hero h2{font-size:27px}.english-book-picture img{max-height:45vh}.english-options button img{height:112px}.english-start,.english-finish{padding:24px 17px}.english-header h1{letter-spacing:0}}@media (min-width:900px){.english-options.ordered-options{grid-template-columns:repeat(3,minmax(0,1fr))}.ordered-options button img{height:110px}}@media (min-width:900px) and (max-height:850px){.english-header.page-header{margin-bottom:12px}.english-quiz-progress{margin-bottom:12px;padding:10px 18px}.english-question-layout{gap:18px;padding:16px}.english-question-answer{gap:8px}.ordered-options button img{height:88px}.english-subtitle{gap:6px;padding:10px}.english-subtitle label{min-height:28px}.english-subtitle p{font-size:17px}.english-order{gap:8px}.english-order>div{gap:4px;width:80px;padding:5px}.english-order img{height:34px}}.english-record-wrong{overflow-wrap:anywhere;flex-basis:100%;min-width:0}.english-record-wrong summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:800}.english-record-wrong ul{padding-left:20px}.english-record-wrong li{padding:10px 0;line-height:1.6}.english-shell.has-primary-nav main{padding-bottom:calc(140px + env(safe-area-inset-bottom,0px))}.english-shell .english-course-card{scroll-margin-bottom:140px}@media (max-width:600px){.english-shell.lesson-shell main{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}.english-shell .bottom-nav{bottom:max(18px, env(safe-area-inset-bottom,0px))}}@media (min-width:900px) and (max-width:1400px) and (orientation:landscape){.app-shell.english-shell{max-width:1280px}.english-shell.v2-shell main{max-width:1200px;padding:24px 30px calc(40px + env(safe-area-inset-bottom,0px))}.english-shell.v2-shell.has-primary-nav main{padding-bottom:calc(140px + env(safe-area-inset-bottom,0px))}.english-shell .english-reader-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.english-shell .english-book-picture img{max-height:48dvh}.english-question-layout.has-prompt-image{column-gap:26px}.has-prompt-image .english-prompt-image{max-height:36dvh}.has-prompt-image .text-options button{min-height:76px}.english-question-layout:not(.has-prompt-image){grid-template-columns:minmax(0,1fr)}.english-question-layout:not(.has-prompt-image) .english-question-prompt{grid-template-columns:minmax(0,1.5fr) minmax(130px,.8fr) minmax(180px,1fr);align-items:center;gap:12px}.english-question-layout:not(.has-prompt-image) .english-question-prompt h2{grid-area:1/1}.english-question-layout:not(.has-prompt-image) .english-listen{grid-area:1/2}.english-question-layout:not(.has-prompt-image) .english-audio{grid-area:1/3}.english-question-layout:not(.has-prompt-image) .english-voice-status{grid-area:2/1/auto/-1}.english-question-layout .english-options.image-options{grid-template-columns:repeat(4,minmax(0,1fr))}.english-question-layout .english-options.ordered-options{grid-template-columns:repeat(5,minmax(0,1fr))}.english-question-layout .image-options button img{height:clamp(110px,16dvh,160px)}}.browse-shell.has-primary-nav main{padding-bottom:calc(140px + env(safe-area-inset-bottom,0px))}.browse-shell .records-page,.browse-shell .settings-page{max-width:none}.browse-shell .thinking-card>span:nth-child(2),.browse-shell .settings-link>span:nth-child(2){min-width:0}.browse-shell .thinking-card strong,.browse-shell .record-row strong{overflow-wrap:anywhere}.browse-shell .thinking-card>svg{flex:none}.browse-shell .profile-fields input[type=file]{max-width:100%}.browse-shell .profile-fields select,.browse-shell .profile-create select{height:44px}@media (min-width:701px){.app-shell.browse-shell{max-width:1280px}.browse-shell.v2-shell main{max-width:1200px;padding:28px 30px 40px}.browse-shell.has-primary-nav main{padding-bottom:calc(140px + env(safe-area-inset-bottom,0px))}.browse-shell .thinking-page{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.browse-shell .thinking-page>:not(.thinking-card){grid-column:1/-1}.browse-shell .thinking-page>.page-header{margin-bottom:2px}.browse-shell .thinking-page>.section-title{margin:8px 0 0}.browse-shell .thinking-page>.thinking-card{min-height:112px;margin:0}.browse-shell .thinking-hero{min-height:190px}.browse-shell .records-page{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px;display:grid}.browse-shell .records-page>:not(.records-panel){grid-column:1/-1}.browse-shell .records-page>.page-header,.browse-shell .records-stats,.browse-shell .records-panel{margin:0}.browse-shell .records-panel{min-width:0;padding:22px}.browse-shell .records-panel-head{flex-wrap:wrap;align-items:flex-start}.browse-shell .record-row{flex-wrap:wrap;gap:10px}.browse-shell .calendar-day{justify-self:center;width:min(100%,44px)}.browse-shell .settings-page{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);align-items:start}.browse-shell .settings-intro,.browse-shell .settings-link{grid-column:1/-1}.browse-shell .profile-manager,.browse-shell .backup-card{min-width:0}.browse-shell .profile-row{flex-wrap:wrap}.browse-shell .profile-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.browse-shell .profile-create>div{grid-template-columns:1fr}.browse-shell .backup-card .primary,.browse-shell .backup-card .secondary{width:100%}}@media (min-width:900px) and (orientation:landscape){.browse-shell .welcome{min-height:220px;padding:26px 32px}.browse-shell .welcome .character-art{width:245px;right:40px}.browse-shell .math-heading.math-hero,.browse-shell .math-heading.arithmetic-hero{min-height:190px}.browse-shell .thinking-hero .character-art{width:170px}}@media (max-width:700px){.browse-shell .bottom-nav{bottom:max(18px, env(safe-area-inset-bottom,0px))}.browse-shell .record-row,.browse-shell .records-panel-head{flex-wrap:wrap}.browse-shell .section-title{gap:10px}.browse-shell .section-title>span{text-align:right}}@media (max-width:360px){.browse-shell .settings-intro h2{font-size:20px}}
