@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--bg:#fbf9ff;--ink:#302741;--muted:#92869f;--purple:#7852ce;--purple-dark:#5935ac;--lavender:#eee6fc;--lime:#c5ed77;--green:#426b2f;--line:#e9e2f0;--font:'DM Sans',system-ui,sans-serif;--heading:'Manrope',var(--font)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;overscroll-behavior:none}body{font:16px/1.5 var(--font);color:var(--ink);background:radial-gradient(ellipse at 25% 20%,#e5dcf8,transparent 52%),radial-gradient(ellipse at 80% 80%,#e5edda,transparent 52%),#f0ecf5;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{color:inherit;border:0;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #aa83e4;outline-offset:4px}a{color:var(--purple-dark);text-underline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--heading);line-height:1.3}button,a{outline-offset:4px}.icon{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.phone{position:relative;display:grid;grid-template-rows:calc(76px + env(safe-area-inset-top)) minmax(0,1fr) calc(76px + env(safe-area-inset-bottom));background:var(--bg);width:100%;max-width:520px;height:100dvh;margin:auto;overflow:hidden}.app-header{display:flex;align-items:center;justify-content:space-between;padding:0 24px;gap:12px}.wordmark{display:flex;align-items:center;gap:7px;font:800 25px/1 var(--heading);letter-spacing:-1.3px;background:transparent;padding:8px 0}.logo-star{display:grid;place-items:center;width:28px;height:28px;color:var(--purple);transform:rotate(-12deg)}.logo-star .icon{width:28px;height:28px;stroke:none;fill:currentColor}.logo-period{color:#a0be62;margin-left:-6px}.header-badges{display:flex;align-items:center;gap:15px}.streak{display:flex;align-items:center;gap:5px;font-size:14px;color:#d4905c}.streak .icon{width:20px;height:20px;fill:#ffca91;stroke:#df975b;stroke-width:1.3}.streak b{font-weight:750}.xp-pill{display:flex;align-items:center;gap:4px;border-radius:30px;background:#f0e9fc;color:#8560c9;padding:7px 10px;font-size:13px}.xp-pill .icon{width:17px;height:17px;fill:#a381dc;stroke:none}.xp-pill b{font-weight:750}.xp-pill small{font-size:9px;font-weight:700}.main-view{min-height:0;outline:none}.bottom-nav{display:flex;align-items:center;justify-content:space-around;border-top:1px solid #eee8f4;background:#fffefa;padding:7px 16px max(8px,env(safe-area-inset-bottom));z-index:5}.nav-button{background:transparent;display:flex;align-items:center;flex-direction:column;gap:4px;min-width:62px;min-height:51px;justify-content:center;font-size:10px;font-weight:650;color:#aaa0b6;padding:4px 7px}.nav-button>span:first-child{position:relative;display:grid;place-items:center;width:35px;height:27px;border-radius:10px}.nav-button .icon{width:21px;height:21px}.nav-button.active{color:var(--purple)}.nav-button.active>span:first-child{background:#eee5ff}.nav-button.active .icon{stroke-width:2.4}.nav-button.active [data-icon=play]{fill:currentColor}.nav-dot{position:absolute;right:1px;top:0;width:7px;height:7px;border:2px solid white;background:#efa179;border-radius:50%}.play-view{height:100%;display:grid;grid-template-rows:35px 32px minmax(0,1fr) auto}.round-toolbar{display:flex;align-items:center;justify-content:space-between;padding:0 25px}.mix-button{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700;color:#88769f;background:transparent;padding:4px 0}.mix-button>.icon:first-child{width:14px;height:14px}.mix-button>.icon:last-child{width:12px;height:12px}.round-counter{font-size:9px;font-weight:700;color:#b3a6c2;letter-spacing:1.7px}.round-progress{display:flex;align-items:center;gap:13px;padding:0 25px 12px}.progress-segments{display:flex;gap:5px;flex:1}.progress-segments>span{height:6px;border-radius:10px;background:#eae3f4;flex:1}.progress-segments>span.filled{background:#a6ca67}.progress-segments>span.current{background:#bba4e9}.round-progress>span{font-size:11px;font-weight:700;color:#806797;min-width:30px}.round-progress i{font-style:normal;color:#b9adc6;font-weight:500}.challenge-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px 25px 0;scrollbar-width:thin;scrollbar-color:#d8c9ed transparent}.challenge-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:22px}.subject-chip{display:flex;align-items:center;gap:5px;background:#efe7fc;border-radius:7px;color:#8055c2;padding:5px 8px;font-size:10px;font-weight:700}.subject-chip>span{font-size:12px}.source-chip{display:flex;align-items:center;gap:5px;background:transparent;color:#b0a2bd;font-size:8px;font-weight:700;letter-spacing:.9px;padding:7px 0}.source-chip .icon{width:12px;height:12px}.subject-biology,.subject-geography,.subject-sports{background:#edf3e2;color:#7e995c}.subject-german,.subject-history,.subject-art{background:#f9e8df;color:#c48e71}.subject-english,.subject-french,.subject-latin{background:#e5edf8;color:#7a91bc}.subject-physics,.subject-chemistry,.subject-cs{background:#f4e8f4;color:#b27cae}.question-intro{position:relative;display:flex;gap:9px;align-items:flex-start;margin-bottom:20px;min-height:95px}.question-intro>div{flex:1;min-width:0}.mini-label{font-size:9px;font-weight:700;letter-spacing:1.3px;color:#a896b8;display:block;line-height:1.6}.question-intro h1{font-size:23px;line-height:1.4;font-weight:800;letter-spacing:-.7px;margin-top:7px}.buddy{width:130px;height:auto;flex-shrink:0}.question-buddy{width:64px;height:69px;align-self:flex-end;margin-right:-7px;margin-bottom:3px}.material{font-size:14px;line-height:1.8;background:#f2edf8;border:1px solid #e8e0f1;border-radius:13px;padding:16px 18px;white-space:pre-line;margin-bottom:20px;overflow-wrap:anywhere}.material.formula{font:600 22px/1.65 var(--font);letter-spacing:-.3px;color:#5b4977;text-align:center;padding:15px}.answer-options{display:grid;gap:10px}.answer{position:relative;display:flex;align-items:center;gap:12px;min-height:59px;width:100%;border:1.5px solid #e6deed;border-bottom-width:3px;border-radius:12px;background:#fff;padding:12px 13px;text-align:left;font-size:14px;font-weight:550;line-height:1.55;transition:border-color .15s,background .15s,transform .15s;overflow-wrap:anywhere}.answer:hover:not(:disabled){border-color:#c6b2e3;background:#fdfbff}.answer:active:not(:disabled){transform:translateY(2px)}.answer-key{border:1px solid #e5ddee;border-radius:7px;color:#b09bc4;font:700 11px var(--heading);width:27px;height:28px;flex-shrink:0;display:grid;place-items:center;background:#fbf8ff}.answer-key .icon{width:16px;height:16px}.answer>span:nth-child(2){flex:1;min-width:0}.answer-end{width:18px;flex-shrink:0;color:#a68cc9;opacity:0}.answer-end .icon{width:17px;height:17px}.answer.selected{background:#efe7fc;border-color:#b599de;color:#62449a}.answer.selected .answer-key{background:#c5adeb;color:white;border-color:#c5adeb}.answer.selected .answer-end{opacity:1}.answer.right-answer{border-color:#a9c980;background:#f1f7e9;color:#54743a;opacity:1}.answer.right-answer .answer-key{background:#cde2b4;border-color:#cde2b4;color:#5e7d41}.answer.right-answer .answer-end{color:#83a460;opacity:1}.answer.wrong-answer{border-color:#e3b59e;background:#fcf0e9;color:#a8775c}.answer.wrong-answer .answer-key{background:#efd2c0;border-color:#efd2c0;color:#a7775c}.answer.wrong-answer .answer-end{display:none}.answer.dimmed{opacity:.55}.hint-button{display:flex;align-items:center;justify-content:center;gap:6px;color:#a18cb5;background:transparent;font-size:11px;min-height:42px;margin:8px auto 0;padding:8px 12px}.hint-button .icon{width:15px;height:15px}.hint-note{background:#fff8e9;border:1px solid #f0e5c7;padding:12px 15px;border-radius:10px;font-size:12px;color:#a68c61;line-height:1.7}.action-dock{padding:16px 25px 14px;background:linear-gradient(transparent,var(--bg) 12px);position:relative;z-index:2}.primary{width:100%;border-radius:12px;border:1px solid #6b43bb;border-bottom:5px solid #5833a0;background:#8057d0;color:white;display:flex;align-items:center;justify-content:center;gap:10px;min-height:55px;padding:13px 15px 12px;font-family:var(--heading);font-weight:800;font-size:14px;letter-spacing:.1px;transition:transform .1s,background .1s}.primary>.icon{width:18px;height:18px}.primary:hover:not(:disabled){background:#7548c9}.primary:active:not(:disabled){transform:translateY(3px);border-bottom-width:2px;margin-top:3px}.primary:disabled{background:#e5deed;border-color:#e5deed;border-bottom-color:#d9cfe6;color:#b3a5c2}.dock-note{font-size:9px;color:#b3a5c0;text-align:center;margin-top:9px;line-height:1.6}.dock-positive{background:linear-gradient(transparent,#f4f8ee 12px)}.dock-learning{background:linear-gradient(transparent,#fbf4eb 12px)}.primary.green{background:#a7ca78;border-color:#98b96c;border-bottom-color:#7d9e52;color:#36521e}.primary.green:hover:not(:disabled){background:#9fc46e}.primary.orange{background:#efbf91;border-color:#dfac7f;border-bottom-color:#cc986c;color:#715034}.primary.orange:hover:not(:disabled){background:#eab787}.answer-feedback{margin-top:20px;padding:15px 13px;background:#edf5e3;border:1px solid #dce9cc;border-radius:12px;display:flex;align-items:flex-start;gap:10px;position:relative;animation:pop-in .2s ease-out}.feedback-symbol{height:25px;width:25px;border-radius:50%;display:grid;place-items:center;color:#7b9e50;background:#d7e8c0;flex-shrink:0}.feedback-symbol .icon{width:15px;height:15px}.answer-feedback h2{font-size:13px;font-weight:800;color:#637e44}.answer-feedback p{font-size:11px;color:#8a9d75;line-height:1.8;margin-top:4px}.answer-feedback.learning{background:#fbf1e7;border-color:#f0dfcb}.answer-feedback.learning h2{color:#aa8461}.answer-feedback.learning p{color:#ad9479}.answer-feedback.learning .feedback-symbol{background:#f1dfc5;color:#bd966b}.tiny-stars{position:absolute;right:15px;top:7px;font-size:25px;color:#b5ce8e}.question-end-spacer{height:12px}.lesson-greeting{display:flex;justify-content:center;align-items:center;padding:5px 0 0;margin-bottom:15px}.lesson-greeting .buddy{width:110px}.speech{font:700 12px var(--heading);background:#f0e8fb;border:1px solid #e4d8f3;color:#9272b6;border-radius:15px 15px 15px 3px;padding:12px 15px;margin-left:-5px;margin-top:-30px;transform:rotate(3deg)}.lesson-title{text-align:center;margin-bottom:23px}.lesson-title h1{font-size:25px;letter-spacing:-.7px;margin-top:7px}.lesson-title>p{font-size:11px;color:#ab9cb9;margin-top:7px}.lesson-step-label{display:flex;justify-content:center;align-items:center;margin-bottom:15px;gap:8px}.lesson-step-label>span{height:24px;width:24px;border:1px solid #e0d5ed;border-radius:50%;display:grid;place-items:center;font-size:10px;color:#b8a8c8}.lesson-step-label>span.lit{background:#ad93dc;color:white;border-color:#ad93dc}.lesson-step-label>span .icon{width:13px;height:13px}.lesson-step-label>i{width:40px;height:2px;background:#e7deef}.teaching-card{background:white;border:1px solid #e8e0f0;border-bottom:4px solid #e3d9ed;border-radius:17px;padding:26px;min-height:185px;position:relative;overflow:hidden;animation:pop-in .25s ease}.teaching-card h2{font-size:12px;color:#9d81bf;position:relative;margin-bottom:15px}.teaching-card>p{font-size:20px;line-height:1.65;letter-spacing:-.3px;position:relative;color:#69537f;font-weight:550}.step-watermark{font:800 115px/.9 var(--heading);position:absolute;right:12px;bottom:-13px;color:#f5f0fa}.lesson-reassurance{font-size:10px;color:#b4a7c0;text-align:center;margin:22px 10px}.takeaway{display:flex;gap:10px;background:#f0f5e7;border:1px solid #e2e9d4;border-radius:11px;margin-top:15px;padding:16px;color:#8a9a6d;animation:pop-in .2s ease}.takeaway>span>.icon{width:20px;height:20px}.takeaway b{font-size:10px}.takeaway p{font-size:12px;line-height:1.8;margin-top:4px}.summary-view{height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto;text-align:center;position:relative}.summary-scroll{min-height:0;overflow-y:auto;padding:5px 30px 20px}.summary-buddy{margin:17px auto 15px}.summary-buddy .buddy{width:160px}.summary-view h1{font-size:32px;letter-spacing:-1.2px;margin:9px auto 12px;max-width:300px;line-height:1.25}.summary-copy{font-size:13px;color:#a293af;line-height:1.9;max-width:310px;margin:auto}.xp-reward{display:flex;justify-content:center;align-items:center;gap:8px;margin:24px 0;color:#a38c55}.xp-reward>.icon{fill:#eed797;stroke:none;width:32px;height:32px}.xp-reward strong{font:800 40px var(--heading);letter-spacing:-1.7px}.xp-reward>span{font-size:11px;text-align:left;width:45px;line-height:1.5}.round-recap{background:white;border:1px solid var(--line);border-radius:14px;max-width:320px;margin:0 auto;padding:7px 18px;text-align:left}.round-recap>div{display:flex;align-items:center;gap:12px;padding:11px 0;font-size:12px;color:#a392b0}.round-recap>div+div{border-top:1px solid #f2edf7}.round-recap>div>span{color:#ab92ce;width:22px;display:grid;place-items:center}.round-recap .icon{width:18px;height:18px}.round-recap b{font-weight:650;color:#7e6993}.secondary-link{background:transparent;color:#9b88b1;font-size:10px;font-weight:650;display:flex;align-items:center;justify-content:center;gap:7px;margin:9px auto -3px;min-height:30px;padding:4px 8px}.secondary-link .icon{width:14px;height:14px}.confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none}.confetti>i{position:absolute;top:-14px;left:calc(var(--i)*8% + 2%);width:6px;height:12px;background:#cbb1ed;border-radius:2px;animation:confetti-fall 2s ease-out both;animation-delay:calc(var(--i)*.07s)}.confetti>i:nth-child(3n){background:#d8e7b1;transform:rotate(30deg)}.confetti>i:nth-child(3n+1){background:#f2c795}.secondary-view{height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto}.secondary-scroll{min-height:0;overflow-y:auto;padding:21px 25px 25px;scrollbar-width:thin;scrollbar-color:#d8c9ed transparent}.page-eyebrow{font-size:9px;color:#ae9abe;letter-spacing:1.7px;font-weight:700;margin-bottom:9px}.secondary-view h1{font-size:29px;font-weight:800;letter-spacing:-1.2px;line-height:1.3}.page-subtitle{font-size:12px;line-height:1.8;color:#ab9bb8;margin-top:12px;margin-bottom:23px;max-width:340px}.review-illustration{text-align:center;margin:5px auto 20px}.review-illustration .buddy{width:148px}.review-callout{text-align:center;padding:0 15px 25px}.review-callout strong{font:750 18px var(--heading);letter-spacing:-.4px}.review-callout p{font-size:12px;color:#aa9bb7;line-height:1.9;margin-top:10px}.review-list{display:grid;gap:10px}.review-item{display:flex;align-items:center;gap:12px;padding:15px 14px;background:white;border:1px solid var(--line);border-bottom-width:3px;border-radius:12px;text-align:left}.review-subject{width:35px;height:35px;display:grid;place-items:center;background:#f4eefc;border-radius:10px;color:#ad95ca;font-size:17px;font-weight:650;flex-shrink:0}.review-item>span:nth-child(2){flex:1;min-width:0}.review-item b{display:block;font-size:12px;font-weight:650}.review-item small{font-size:9px;color:#b1a0bf;display:block;margin-top:5px}.review-item>.icon{width:17px;height:17px;color:#b29dca}.mix-card{display:flex;gap:12px;align-items:center;text-align:left;padding:19px 16px;background:#eee5fa;border:1px solid #ddceef;border-bottom:4px solid #d3c0eb;border-radius:15px;width:100%;margin:0 0 20px;color:#8967b2}.mix-art{background:#dfcff2;width:43px;height:43px;border-radius:12px;display:grid;place-items:center;flex-shrink:0}.mix-art .icon{width:23px;height:23px}.mix-card>span:nth-child(2){flex:1;min-width:0}.mix-card strong{display:block;font:750 13px var(--heading)}.mix-card small{font-size:10px;display:block;margin-top:6px;color:#ab8fc7}.mix-card>.icon{width:18px;height:18px}.subject-tiles{display:grid;grid-template-columns:1fr 1fr;gap:13px}.subject-tile{border:1px solid var(--line);border-bottom:3px solid #e5dced;border-radius:14px;padding:17px;background:white;text-align:left;min-width:0;min-height:137px;transition:transform .15s}.subject-tile:hover{transform:translateY(-2px);border-color:#d1bee7}.subject-tile.is-active{background:#f7f2ff;border-color:#c6ace7}.tile-icon{width:35px;height:35px;border-radius:10px;background:#f0e7fb;color:#a488c7;display:grid;place-items:center;font:700 20px var(--heading);margin-bottom:13px}.subject-tile strong{display:block;font:750 13px var(--heading);letter-spacing:-.2px;overflow-wrap:anywhere;line-height:1.5}.tile-bottom{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#b3a1c2;margin-top:9px}.tile-bottom .icon{width:13px;height:13px}.coverage-small{font-size:10px;color:#b5a6c1;line-height:1.9;margin-top:23px}.level-card{display:flex;align-items:center;justify-content:center;gap:17px;background:#f2ebfc;border:1px solid #e7dcf5;padding:18px 17px;border-radius:16px;margin-top:20px}.level-card>.buddy{width:110px}.level-card h2{font-size:28px;letter-spacing:-1px;margin-top:3px;color:#7b579f}.level-card p{font-size:11px;color:#ac96c1;margin-top:7px}.level-track{height:7px;background:#e9dff5;border-radius:6px;overflow:hidden;margin:22px 0 8px}.level-track>span{height:100%;display:block;background:#b494de;border-radius:6px}.next-level{font-size:10px;text-align:right;color:#b09abc}.profile-numbers{display:grid;grid-template-columns:repeat(3,1fr);margin:25px 0;gap:12px}.profile-numbers>div{display:flex;align-items:center;flex-direction:column;border:1px solid var(--line);border-radius:12px;padding:15px 5px;background:#fff}.profile-numbers .icon{width:18px;height:18px;color:#b8a1cf}.profile-numbers b{font:800 22px var(--heading);margin:6px 0 4px;letter-spacing:-.5px;color:#8c729f}.profile-numbers small{font-size:8px;color:#b3a1bd;text-align:center}.settings-list{border-top:1px solid var(--line)}.settings-list>button{width:100%;min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:transparent;border-bottom:1px solid var(--line);font-size:12px;padding:10px 0}.settings-list>button>span:first-child{display:flex;align-items:center;gap:11px}.settings-list .icon{width:19px;height:19px;color:#ad99c0}.settings-list>button>.icon{width:15px;height:15px;color:#b6a5c6}.settings-list small{font-size:11px;color:#b09dbf}.toggle{width:34px;height:21px;border-radius:15px;background:#e7dfee;padding:3px;flex-shrink:0;position:relative}.toggle:before{content:'';width:15px;height:15px;border-radius:50%;background:#fff;position:absolute;left:3px;transition:transform .2s}.toggle.on{background:#a5be7e}.toggle.on:before{transform:translateX(13px)}.profile-footnote{text-align:center;font-size:9px;line-height:1.9;color:#b5a7bf;margin:25px 10px 0}.loading-screen,.center-screen{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center}.loading-screen>.buddy{width:150px;margin-bottom:20px;animation:buddy-float 2s ease-in-out infinite}.loading-screen h1{font-size:29px;font-weight:800;letter-spacing:-1px;margin-top:9px;line-height:1.35}.loading-dots{display:flex;gap:7px;margin-top:25px}.loading-dots>i{height:7px;width:7px;border-radius:50%;background:#b59bd7;animation:dots-pulse 1s ease-in-out infinite}.loading-dots>i:nth-child(2){animation-delay:.15s}.loading-dots>i:nth-child(3){animation-delay:.3s}.center-screen>p{font-size:13px;line-height:1.9;color:#ac9bb9;margin:15px 0 25px}.center-screen h1{font-size:26px;letter-spacing:-.8px}.center-screen>.buddy{margin-bottom:20px}.icon-button{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#f3edf9;color:#a68cbc}.icon-button .icon{width:18px;height:18px}.skip-link{position:fixed;left:20px;top:-100px;z-index:100;background:white;padding:15px;border-radius:8px}.skip-link:focus{top:10px}dialog{position:fixed;inset:auto 0 0;margin:0 auto;border:1px solid #e8e0f0;border-radius:24px 24px 0 0;width:100%;max-width:520px;max-height:85dvh;padding:10px 25px max(28px,env(safe-area-inset-bottom));color:var(--ink);background:#fffdfa;box-shadow:0 -10px 80px #3b245a20;overscroll-behavior:contain}dialog::backdrop{background:#30204165;backdrop-filter:blur(3px)}.sheet-handle{width:35px;height:4px;background:#e4d8ed;border-radius:3px;margin:0 auto 17px}.sheet-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:19px}.sheet-header h2{font-size:20px;letter-spacing:-.7px}.sheet-header .icon-button{width:31px;height:31px;flex-shrink:0}.sheet-content{font-size:13px;line-height:1.9;color:#9b87ab}.sheet-content p{margin:13px 0}.sheet-content strong,.sheet-content b{color:#8b709e}.sheet-content label{display:block;font-size:12px;margin-bottom:8px}.text-input{width:100%;padding:13px 14px;border:1px solid #e0d4ec;border-radius:10px;background:white;font-size:16px;color:var(--ink);margin-bottom:17px}.source-badge{display:inline-flex;background:#efe6fa;padding:4px 9px;border-radius:7px;font-size:11px;color:#9472b4}.source-reference{background:#f6f0fa;border:1px solid #e8ddf0;border-radius:12px;padding:16px;margin:18px 0;line-height:1.9}.source-reference p{font-size:12px;margin:6px 0}.source-reference small{font-size:10px}.secondary{display:flex;align-items:center;justify-content:center;gap:10px;background:#f1e9fb;border:1px solid #e2d4f0;border-bottom:3px solid #d9c8ea;border-radius:10px;padding:12px 16px;text-decoration:none;font-size:12px;font-weight:650;color:#9a7eb7}.secondary .icon{width:15px;height:15px}#toast{position:fixed;left:50%;bottom:95px;max-width:calc(100vw - 40px);width:max-content;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:#654d83;color:#fff;padding:12px 18px;border-radius:12px;font-size:12px;z-index:100;transition:opacity .15s,transform .15s;box-shadow:0 8px 25px #31204020}#toast.show{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:650px){body{padding:25px 0}.phone{height:calc(100dvh - 50px);max-height:960px;border-radius:28px;border:1px solid #e0d5ed;box-shadow:0 15px 100px #39205d12;grid-template-rows:78px minmax(0,1fr) 75px}.question-intro h1{font-size:25px}.challenge-scroll{padding-top:16px}.answer{min-height:62px}.question-buddy{width:73px;height:80px}.app-header{padding:0 30px}.round-toolbar,.round-progress{padding-left:30px;padding-right:30px}.challenge-scroll,.secondary-scroll{padding-left:30px;padding-right:30px}.action-dock{padding-left:30px;padding-right:30px}dialog{inset:0;margin:auto;border-radius:24px;padding:15px 28px 28px;max-width:465px;height:fit-content;max-height:85dvh}.sheet-handle{display:none}.sheet-header{margin-top:6px}.summary-buddy{margin-top:24px}.summary-buddy>.buddy{width:170px}}
@media(max-width:370px){.phone{grid-template-rows:calc(66px + env(safe-area-inset-top)) minmax(0,1fr) calc(66px + env(safe-area-inset-bottom))}.app-header{padding:0 18px}.wordmark{font-size:23px}.header-badges{gap:10px}.round-toolbar,.round-progress{padding-left:20px;padding-right:20px}.round-counter{font-size:8px}.play-view{grid-template-rows:31px 29px minmax(0,1fr) auto}.challenge-scroll{padding:8px 20px 0}.challenge-heading{margin-bottom:15px}.question-intro{margin-bottom:16px;min-height:85px}.question-intro h1{font-size:21px}.question-buddy{width:52px;height:58px;margin-right:-6px}.source-chip{font-size:7px;letter-spacing:.5px}.source-chip>.icon{width:11px;height:11px}.subject-chip{font-size:9px;padding:5px 6px}.mini-label{font-size:8px;letter-spacing:1px}.material{padding:13px;font-size:12px;margin-bottom:15px}.material.formula{font-size:19px}.answer{padding:10px 11px;min-height:55px;font-size:13px;gap:9px}.answer-options{gap:8px}.answer-key{width:24px;height:25px}.answer-end{width:13px}.answer-end>.icon{width:13px}.action-dock{padding:12px 20px 10px}.primary{font-size:13px;min-height:52px}.dock-note{font-size:8px;margin-top:7px}.bottom-nav{padding-top:4px}.nav-button{font-size:9px;min-height:47px;gap:2px}.nav-button .icon{width:20px;height:20px}.hint-button{font-size:10px;margin-top:5px;min-height:38px}.secondary-scroll{padding:18px 20px 22px}.secondary-view h1{font-size:26px}.subject-tiles{gap:10px}.subject-tile{padding:14px;min-height:128px}.subject-tile strong{font-size:12px}.mix-card{padding:16px 12px;gap:10px}.mix-card strong{font-size:12px}.mix-card small{font-size:9px}.lesson-greeting .buddy{width:92px}.speech{font-size:10px;padding:10px 11px}.lesson-title h1{font-size:24px}.teaching-card{padding:22px 20px;min-height:170px}.teaching-card>p{font-size:19px}.lesson-title{margin-bottom:18px}.profile-numbers{gap:8px}.profile-numbers small{font-size:7px}.level-card{gap:8px;padding:16px 10px}.level-card>.buddy{width:94px}.level-card h2{font-size:26px}.summary-view h1{font-size:28px}.summary-buddy>.buddy{width:137px}.summary-copy{font-size:12px}.summary-buddy{margin-top:8px}.xp-reward{margin:18px 0}.summary-scroll{padding-left:22px;padding-right:22px}}
@media(max-height:730px){.phone{grid-template-rows:calc(63px + env(safe-area-inset-top)) minmax(0,1fr) calc(64px + env(safe-area-inset-bottom))}.play-view{grid-template-rows:29px 27px minmax(0,1fr) auto}.question-intro{min-height:70px}.question-intro h1{font-size:20px}.challenge-heading{margin-bottom:15px}.question-buddy{width:53px;height:59px}.answer{min-height:51px;padding-top:9px;padding-bottom:9px}.answer-options{gap:8px}.action-dock{padding-top:12px;padding-bottom:9px}.dock-note{font-size:8px}.primary{min-height:49px;padding-top:11px;padding-bottom:10px}.lesson-greeting{margin-bottom:10px}.lesson-greeting>.buddy{width:85px}.lesson-title{margin-bottom:15px}.lesson-title h1{font-size:23px}.teaching-card{min-height:155px;padding:20px}.teaching-card>p{font-size:18px}}
@keyframes pop-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes buddy-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-7px) rotate(2deg)}}@keyframes dots-pulse{0%,100%{opacity:.4;transform:translateY(0)}50%{opacity:1;transform:translateY(-4px)}}@keyframes confetti-fall{0%{opacity:1;transform:translateY(-10px) rotate(0)}80%{opacity:.8}100%{opacity:0;transform:translateY(420px) rotate(250deg)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.confetti{display:none}}

/* Safe areas also apply when launched as an installed app. */
.app-header{padding-top:env(safe-area-inset-top)}.bottom-nav{padding-bottom:calc(8px + env(safe-area-inset-bottom))}.material sup{font-size:.65em;line-height:0;vertical-align:super}.hint-button{min-height:44px}

.compact-answers{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.compact-answers .answer{min-height:94px;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px;padding:12px 14px}.compact-answers .answer>span:nth-child(2){flex:initial;font-size:15px;font-weight:650;line-height:1.5}.compact-answers .answer-key{width:23px;height:24px;font-size:10px}.compact-answers .answer-end{position:absolute;right:12px;top:15px}.compact-answers .answer-key .icon{width:14px;height:14px}
@media(max-width:370px){.compact-answers{gap:10px}.compact-answers .answer{min-height:86px;padding:11px 12px;gap:6px}.compact-answers .answer>span:nth-child(2){font-size:13px}}
.question-id{font-size:12px;opacity:.7;margin:.5em 0 0}.question-id code{user-select:all;-webkit-user-select:all;word-break:break-all}
