:root{font-family:Inter,ui-rounded,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:#142b4e;background:#f6f9ff;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.46;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #67b9ee;outline-offset:3px}button:hover:not(:disabled){filter:brightness(.97)}.app-shell{min-height:100vh;background:radial-gradient(ellipse 750px 400px at 90% 0%,#e4e1ff 0%,transparent 75%),linear-gradient(180deg,#f5faff,#f9f8ff)}.masthead{height:80px;border-bottom:1px solid #e1eafa;background:#ffffffbe;display:flex;align-items:center;justify-content:space-between;padding:0 max(4vw,24px);-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px)}.brand,.header-right{display:flex;align-items:center;gap:13px}.brand-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;color:#fff;background:linear-gradient(140deg,#4960e8,#ad5de7);font-size:29px;box-shadow:0 7px 15px #8582da50}.brand strong{font-size:24px;font-weight:900;letter-spacing:-.06em}.brand small{display:block;font-size:10px;font-weight:800;color:#8c8fb6;letter-spacing:.16em;text-transform:uppercase}.header-right .connection{font-size:11px;color:#4b977c;font-weight:700}.icon-button{background:#f3f2ff;border:none;border-radius:15px;padding:12px}.content{width:min(1110px,calc(100% - 32px));margin:0 auto;padding:40px 0 65px}.hero{text-align:center;padding:19px 0 48px}.pill,.week-tag{display:inline-flex;background:#ebebff;color:#6264bd;padding:7px 17px;border-radius:30px;font-size:11px;letter-spacing:.075em;font-weight:900;text-transform:uppercase}.hero h1{margin:18px 0 11px;font-size:clamp(33px,5.5vw,56px);letter-spacing:-.065em;line-height:1.13;font-weight:900}.hero h1 em{font-style:normal;color:#705cda}.hero p{font-size:16px;color:#7882a2;margin:0 0 23px}.profiles{display:flex;justify-content:center;gap:14px}.profile{border:2px solid #e4e5f2;background:#fff;padding:10px 24px;border-radius:19px;box-shadow:0 4px 14px #aeb4d522;display:grid;grid-template-columns:auto 1fr;gap:0 9px;text-align:left;align-items:center;font-size:15px;font-weight:850;color:#35416b;min-width:180px}.profile span{grid-row:span 2;font-size:28px}.profile small{display:block;font-size:11px;font-weight:600;color:#96a0b6}.profile.active{border-color:#7668e7;background:#f2f0ff;box-shadow:0 5px 20px #8471df22}.section-head{display:flex;align-items:center;justify-content:space-between;margin:4px 0 19px;gap:12px}.section-head h2,.panel h2{margin:4px 0;font-size:25px;letter-spacing:-.04em;font-weight:900}.overline{font-size:10px;letter-spacing:.13em;font-weight:900;color:#828ba8;text-transform:uppercase}.muted-button,.toolnav button,.action-row>button:not(.primary){color:#5e64a5;background:#f0f0ff;border:1px solid #e0e0f7;padding:12px 18px;border-radius:12px;font-size:12px;font-weight:850}.pack-row{display:flex;flex-wrap:wrap;gap:15px;margin-bottom:42px}.pack-card{background:#fff;border:2px solid #e7e9f6;box-shadow:0 5px 12px #b3bcd117;text-align:left;padding:18px 22px;border-radius:20px;min-width:270px;display:flex;align-items:center;gap:15px;color:#142b4e}.pack-card.selected{border-color:#7769e5;background:#f8f7ff}.pack-card .pack-emoji{font-size:32px}.pack-card strong{display:block;margin:4px 0;font-size:15px}.pack-card small{display:block;font-weight:750;font-size:11px;color:#8a90a7}.pack-card .gold{margin-left:auto}.mode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.mode-card{min-height:296px;display:flex;flex-direction:column;border:1px solid #e6e9f4;box-shadow:0 8px 26px #a9b4d51e;border-radius:23px;padding:23px;position:relative;overflow:hidden;background:#fff}.mode-card:before{position:absolute;content:"";width:140px;height:140px;right:-45px;top:-70px;border-radius:50%;opacity:.6}.tone-0:before{background:#ede4ff}.tone-1:before{background:#d8f8f2}.tone-2:before{background:#fff1d0}.tone-3:before{background:#fce4eb}.mode-illustration{font-size:49px;z-index:1;line-height:1.7}.mode-card h3{font-size:20px;letter-spacing:-.04em;margin:7px 0}.mode-card p{font-size:13px;line-height:1.6;color:#8490a6;margin:0 0 16px}.play-button,.primary{background:#5f58d8;color:#fff;border:0;padding:13px 20px;border-radius:13px;font-size:13px;font-weight:900}.play-button{margin-top:auto;text-align:left;display:flex;justify-content:space-between;align-items:center}.play-button span{font-size:20px}.tone-1 .play-button{background:#1da590}.tone-2 .play-button{background:#e6a13f}.tone-3 .play-button{background:#e46781}.bottom-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:18px;margin-top:20px}.reward-card,.stat-card{background:#fff;border:1px solid #e7e9f4;border-radius:21px;padding:22px 25px;min-height:142px}.reward-card{display:flex;gap:20px;align-items:center;background:linear-gradient(110deg,#fff8e9,#fff);border-color:#f6e7c5}.coin-art{font-size:59px}.reward-card h3{margin:7px 0;font-size:19px}.reward-card p,.stat-card p{margin:6px 0;color:#8891a6;font-size:12px;line-height:1.55}.stat-card div{margin:17px 0 8px;font-size:14px}.stat-card strong{font-size:21px;color:#665dd7}.toolnav{display:flex;gap:10px;justify-content:center;margin-top:26px}.panel{background:#fff;padding:32px;border-radius:24px;border:1px solid #e4eafa;box-shadow:0 8px 25px #acb8da20}.editor{max-width:850px;margin:auto}.editor>p{color:#7785a0;line-height:1.6}.file-pick{display:inline-flex;position:relative;overflow:hidden;align-items:center;justify-content:center;border:1px solid #bcb7ed;background:#f0edff;color:#5847b2;border-radius:13px;padding:12px 17px;font-size:13px;font-weight:800;cursor:pointer}.file-pick input{position:absolute;opacity:0;inset:0;cursor:pointer}.form-grid{display:grid;grid-template-columns:1fr 120px 1fr;gap:12px;margin:22px 0}.form-grid label,.form-label{display:block;color:#405378;font-weight:800;font-size:13px}.form-grid input,.form-label textarea{width:100%;display:block;margin-top:9px;padding:12px;border-radius:12px;border:1px solid #d6ddec;background:#fbfdff;color:#233c58}.form-label textarea{resize:vertical;min-height:160px}.action-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0}.raw{overflow:auto;max-height:230px;white-space:pre-wrap;font-size:12px}.audio-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 0;border-bottom:1px solid #edf0f7}.audio-row strong,.audio-row small{display:block}.audio-row small{color:#8491aa;margin-top:3px}.audio-row input{max-width:220px;font-size:11px}.quest{max-width:760px;margin:18px auto}.quest-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.quest-top h1{margin:8px 0;font-size:clamp(28px,4vw,38px);letter-spacing:-.055em}.lock-mark{background:#fff0ed;color:#bd6770;border-radius:13px;font-size:11px;font-weight:800;padding:12px}.progress-track{height:11px;background:#e2e9f8;border-radius:40px;overflow:hidden}.progress-track span{display:block;height:100%;background:linear-gradient(90deg,#8c81eb,#5f56d8);border-radius:40px;transition:width .4s}.quest-counter{text-align:right;font-size:11px;letter-spacing:.09em;color:#7a80a4;font-weight:900;padding:10px 0 16px}.quest-card{text-align:center;padding:34px 40px}.scene{position:relative;height:200px;background:radial-gradient(circle at center,#fff0d9,#fff9ed 65%,transparent 66%);display:grid;place-items:center}.scene-image{font-size:95px;filter:drop-shadow(0 12px 8px #7774a433);animation:bob 3s ease-in-out infinite}.scene-star{position:absolute;top:8px;right:25%;color:#e9a942;font-size:30px}.scene-small{height:110px;font-size:68px}.quest-card h2{font-size:28px;letter-spacing:-.045em;margin:9px 0}.quest-card>p,.prompt-description{font-size:14px;color:#78849a;line-height:1.7}.sound-button{display:block;margin:21px auto;padding:13px 21px;border:1px solid #aacde8;background:#eaf6ff;border-radius:30px;color:#236292;font-weight:850}.reveal-button{display:block;margin:12px auto 20px}.revealed{display:flex;flex-direction:column;align-items:center;gap:8px;margin:10px auto 24px;animation:reveal .4s ease}.revealed strong{font-size:36px;letter-spacing:-.04em;color:#6454d2}.revealed span{font-size:15px;color:#72809e}.revealed button{background:#fff;border:1px solid #d5ddf4;border-radius:12px;padding:9px 15px;font-weight:800;color:#595f97}.wide{display:block;margin:20px auto 0;max-width:320px;width:100%}.forge-target{background:#f4f0ff;border:2px dashed #b1a5ed;border-radius:13px;min-height:60px;display:flex;align-items:center;justify-content:center;font-size:29px;font-weight:900;letter-spacing:.2em;margin:20px auto;color:#4f4dbc;padding:10px;overflow-wrap:anywhere}.tiles{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;margin-top:20px}.tiles button{min-width:39px;padding:10px;border-radius:10px;border:1px solid #d5d9ed;background:#fff;color:#425185;box-shadow:0 3px #e7e8f2;font-weight:950}.prompt-icon{font-size:68px;padding:17px 0}.answer-form{max-width:520px;margin:24px auto;text-align:left}.answer-form label{font-size:13px;font-weight:850;color:#58627c}.input-row{display:flex;gap:9px;margin-top:9px}.input-row input{border:2px solid #d9e2f1;border-radius:13px;padding:15px;width:100%;min-width:0;color:#233953;font-size:17px}.input-row button{white-space:nowrap}.outcome{padding:15px;background:#f6f9fe;border-radius:15px;margin:25px auto}.outcome p{font-size:15px;font-weight:800}.success{color:#1a9878!important;font-weight:850}.wrong{color:#c04c5b!important}.wrong strong{font-size:18px}.audio-warning{border:1px solid #f6cf9a;background:#fff9ed;padding:12px;border-radius:12px;color:#98622d!important;font-size:12px!important}.below-note{font-size:12px;color:#858fac;text-align:center;line-height:1.7}.victory{text-align:center;padding:60px 38px;background:radial-gradient(circle at top,#fff1ca,#fff 65%);border-color:#f6df9d}.confetti{font-size:28px;letter-spacing:.6em}.trophy{font-size:100px;animation:bob 1.5s ease-in-out infinite}.victory h1{font-size:47px;margin:8px 0;letter-spacing:-.055em}.victory p{color:#78829d}.reward-big{font-size:32px;padding:25px;color:#b9781d}.victory small{display:block;max-width:360px;margin:0 auto 22px;color:#9b9a9e}.victory button{margin:12px auto 0}.toast{position:fixed;bottom:24px;right:24px;z-index:20;background:#23345e;color:#fff;padding:18px 22px;border-radius:15px;box-shadow:0 9px 27px #1a2d5240;font-size:14px;max-width:min(380px,90%)}.toast button{background:transparent;color:#fff;border:none;font-size:20px;margin-left:10px}.loading{text-align:center;padding:30vh 0;font-size:20px}.app-shell footer{text-align:center;font-size:11px;color:#9da6bb;padding:30px 0 35px}@keyframes bob{50%{transform:translateY(-9px)}}@keyframes reveal{0%{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}@media(max-width:960px){.mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mode-card{min-height:250px}}@media(max-width:600px){.masthead{height:68px;padding:0 14px}.brand strong{font-size:20px}.brand-icon{width:37px;height:37px}.connection{display:none}.content{width:calc(100% - 26px);padding-top:22px}.hero{padding:10px 0 30px}.hero p{font-size:13px}.profiles{gap:8px}.profile{min-width:0;padding:9px 12px;font-size:12px}.profile span{font-size:23px}.section-head h2{font-size:21px}.section-head .muted-button{white-space:nowrap;padding:10px}.pack-card{flex:1;min-width:250px}.mode-grid{gap:10px}.mode-card{padding:16px;min-height:270px}.mode-illustration{font-size:35px}.mode-card h3{font-size:17px}.mode-card p{font-size:11px}.bottom-grid{grid-template-columns:1fr}.panel{padding:20px}.form-grid{grid-template-columns:1fr 1fr}.form-grid label:last-child{grid-column:span 2}.toolnav{flex-wrap:wrap}.quest-card{padding:22px 15px}.input-row{flex-direction:column}.quest-top h1{font-size:26px}.quest-top{align-items:flex-start}.lock-mark{max-width:150px}.audio-row{align-items:flex-start;flex-direction:column}.audio-row input{max-width:100%}}.profile-form{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:20px 0}.profile-form label,.learner-setting label{display:flex;flex-direction:column;gap:7px;font-weight:750;font-size:13px;color:#405378}.profile-form input,.profile-form select,.learner-setting select,.onboarding select{padding:11px 12px;border:1px solid #d6ddec;border-radius:11px;background:#fff;color:#233c58;min-width:130px}.profile-form input{min-width:190px}.onboarding{max-width:650px;margin:45px auto}.onboarding .brand-icon{margin-bottom:15px}.onboarding h1{font-size:38px;letter-spacing:-.04em;margin:0}.onboarding p,.private-note{color:#78849a;line-height:1.6}.private-note{font-size:12px}.learner-setting{display:flex;flex-wrap:wrap;align-items:end;gap:16px;padding:14px 0;border-bottom:1px solid #edf0f7}.current-badge{font-size:10px;font-weight:900;color:#247f69;background:#dff8e7;border-radius:30px;padding:6px 10px;margin-left:auto}.current-week{font-size:12px;color:#5d7394;margin:8px 0}.section-head .action-row{margin:0}.add-profile{border-style:dashed}@media(max-width:600px){.profiles{flex-wrap:wrap}.profile{min-width:140px}.section-head{flex-wrap:wrap}.profile-form{flex-direction:column;align-items:stretch}.profile-form input,.profile-form select{width:100%}}.mode-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.parent-hero{padding-bottom:22px}.parent-nav{margin:22px 0 30px;flex-wrap:wrap}.pin-panel{max-width:560px}.pin-form{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin:20px 0}.pin-form label{display:flex;flex-direction:column;gap:8px;color:#405378;font-size:14px;font-weight:800}.pin-form input{padding:15px;border:2px solid #d8dff1;border-radius:12px;font-size:20px;max-width:280px;letter-spacing:.23em}.pin-form .primary{max-width:280px}.answer-sheet{width:100%;border-collapse:collapse;margin:24px 0}.answer-sheet th,.answer-sheet td{text-align:left;border-bottom:1px solid #e4eafa;padding:12px}.answer-sheet th{background:#f6f7ff;color:#5d6393}@media(max-width:600px){.mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.parent-nav{justify-content:flex-start}.pin-form input{max-width:100%}}@media print{.masthead,.toolnav,.parent-nav,.profiles,.hero,.action-row,.panel button,.app-shell footer{display:none!important}.content{width:100%;padding:0}.panel{border:none;box-shadow:none}.answer-sheet{font-size:14pt}}.translation-prompt{font-size:clamp(19px,3.5vw,28px)!important;font-weight:850;color:#293f69!important;line-height:1.45;margin:12px auto;max-width:650px}.study-note{display:block;max-width:500px;margin:5px auto 10px;color:#64728f;font-size:13px;line-height:1.5}.mode-card .lock-reason{font-weight:800;color:#a45358;margin-top:12px}
