@font-face{font-family:Rubik;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/rubik-hebrew-400-normal-Dp0lvSRB.woff2)format("woff2"),url(/assets/rubik-hebrew-400-normal-BQDoxs6C.woff)format("woff")}@font-face{font-family:Rubik;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/rubik-hebrew-500-normal-B_5jqoVI.woff2)format("woff2"),url(/assets/rubik-hebrew-500-normal--anb7y8_.woff)format("woff")}@font-face{font-family:Rubik;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/rubik-hebrew-700-normal-Da14F88e.woff2)format("woff2"),url(/assets/rubik-hebrew-700-normal-B2Hm7hpE.woff)format("woff")}@font-face{font-family:Rubik;font-style:normal;font-display:swap;font-weight:900;src:url(/assets/rubik-hebrew-900-normal-CNJSgxQA.woff2)format("woff2"),url(/assets/rubik-hebrew-900-normal-B3V9FX5z.woff)format("woff")}@font-face{font-family:Rubik;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/rubik-latin-400-normal-j0pmKyiQ.woff2)format("woff2"),url(/assets/rubik-latin-400-normal-BV1Ho3GG.woff)format("woff")}@font-face{font-family:Rubik;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/rubik-latin-500-normal-1os41rQk.woff2)format("woff2"),url(/assets/rubik-latin-500-normal-LZYVHeqz.woff)format("woff")}@font-face{font-family:Rubik;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/rubik-latin-700-normal-D-tMm-eS.woff2)format("woff2"),url(/assets/rubik-latin-700-normal-KHOtubUA.woff)format("woff")}@font-face{font-family:Rubik;font-style:normal;font-display:swap;font-weight:900;src:url(/assets/rubik-latin-900-normal-Cz6GdZLE.woff2)format("woff2"),url(/assets/rubik-latin-900-normal-CBojinpD.woff)format("woff")}:root{--purple:#6c4cf5;--purple-d:#4a2fc9;--pink:#ff5a8a;--yellow:#ffd23f;--green:#3fbf6a;--blue:#4f8cff;--orange:#ff9f1c;--ink:#2b2350;--ink-soft:#6b6491;--paper:#fff;--paper-2:#f6f3ff;--radius:22px;--shadow:0 10px 30px #2b235040;--font:"Rubik", system-ui, sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;color:var(--ink);font-family:var(--font);-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;touch-action:none;background:#1b1640;margin:0;overflow:hidden}button{cursor:pointer;color:inherit;border:none;font-family:inherit}button:disabled{cursor:default}.mexpr{vertical-align:baseline;direction:ltr;unicode-bidi:isolate;flex-flow:wrap;justify-content:center;align-items:center;column-gap:.28em;display:inline-flex}.mtok{white-space:nowrap}.math{font-weight:700}.no-pointer{pointer-events:none}.btn{border-radius:16px;padding:12px 22px;font-size:18px;font-weight:700;transition:transform .12s,box-shadow .12s,filter .12s;box-shadow:0 5px #0000002e}.btn:active:not(:disabled){transform:translateY(4px);box-shadow:0 1px #0000002e}.btn:disabled{filter:grayscale(.7)opacity(.55)}.btn-primary{background:linear-gradient(180deg, #ffb54d, var(--orange));color:#fff;text-shadow:0 2px #0000002e;box-shadow:0 5px #d97a00}.btn-primary:active:not(:disabled){box-shadow:0 1px #d97a00}.btn-soft{background:var(--paper-2);color:var(--purple-d);box-shadow:0 5px #d8d0ff}.btn-danger{color:#fff;background:#ff6b6b;box-shadow:0 5px #c94444}.btn-big{padding:14px 30px;font-size:22px}.btn-huge{border-radius:24px;padding:18px 54px;font-size:32px;animation:1.8s ease-in-out infinite pulse}.btn-small{padding:6px 14px;font-size:15px}.link-btn{color:var(--ink-soft);background:0 0;padding:4px;font-size:14px}.icon-btn{background:var(--paper-2);border-radius:50%;flex-shrink:0;width:44px;height:44px;font-size:20px}.row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;display:flex}.row.center{justify-content:center}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.06)}}.screen{background:radial-gradient(circle at 30% 20%,#8a6bff 0%,#5b3fe0 40%,#2d1f7a 100%);flex-direction:column;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0;overflow:auto}.loading{color:#fff;font-size:28px}.floaters span{color:#ffffff2e;font-weight:900;animation:linear infinite floatUp;position:absolute;bottom:-80px}@keyframes floatUp{0%{transform:translateY(0)rotate(0)}to{transform:translateY(-120vh)rotate(360deg)}}.title-card{text-align:center;color:#fff;position:relative}.logo-gates{font-size:64px;animation:3s ease-in-out infinite bob}.logo{text-shadow:0 6px #3a22a8,0 12px 30px #0006;margin:0;font-size:clamp(48px,11vw,110px);font-weight:900;line-height:1}.logo span{color:var(--yellow);display:block}.tagline{opacity:.9;margin:14px 0 36px;font-size:22px}@keyframes bob{0%,to{transform:translateY(0)}50%{transform:translateY(-12px)}}.screen-title{color:#fff;text-align:center;text-shadow:0 4px #0003;margin:8px 0 20px;font-size:clamp(28px,5vw,44px);font-weight:900}.profile-grid{flex-wrap:wrap;justify-content:center;gap:20px;max-width:1000px;display:flex}.profile-card{background:var(--paper);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;align-items:center;gap:6px;width:210px;padding:16px;transition:transform .15s;display:flex}.profile-card:hover{transform:translateY(-6px)rotate(-1deg)}.profile-main{background:0 0;flex-direction:column;align-items:center;gap:6px;width:100%;display:flex}.profile-card.add{color:#fff;background:#ffffff26;border:3px dashed #fff9;justify-content:center;min-height:220px}.plus{font-size:64px;font-weight:900}.profile-name{font-size:24px;font-weight:800}.profile-meta{color:var(--ink-soft);font-size:14px}.profile-avatar{border:5px solid #fff;border-radius:50%;justify-content:center;align-items:flex-end;width:110px;height:110px;display:flex;overflow:hidden;box-shadow:0 4px 12px #0003}.profile-avatar .face{border-radius:50%;width:70px;height:70px;margin-bottom:14px;position:relative}.profile-avatar .hair{border-radius:40px 40px 10px 10px;height:30px;position:absolute;top:-4px;left:-3px;right:-3px}.profile-avatar .eye{background:#1d1d2b;border-radius:50%;width:9px;height:9px;position:absolute;top:34px}.profile-avatar .eye.l{left:20px}.profile-avatar .eye.r{right:20px}.profile-avatar .smile{border-bottom:3px solid #7a2e2e;border-radius:0 0 20px 20px;width:18px;height:9px;margin-left:-9px;position:absolute;bottom:12px;left:50%}.wizard{flex-direction:column;align-items:center;width:min(760px,100%);display:flex}.wizard-dots{gap:10px;margin-bottom:8px;display:flex}.wizard-dots i{background:#ffffff4d;border-radius:50%;width:14px;height:14px;transition:background .2s,transform .2s}.wizard-dots i.on{background:var(--yellow);transform:scale(1.2)}.wizard-nav{justify-content:center;gap:16px;margin-top:26px;display:flex}.name-input{text-align:center;width:min(420px,100%);box-shadow:var(--shadow);color:var(--ink);-webkit-user-select:text;user-select:text;border:4px solid #fff;border-radius:20px;outline:none;padding:14px 20px;font-family:inherit;font-size:34px;font-weight:700}.name-input:focus{border-color:var(--yellow)}.picker-label{color:inherit;margin:14px 0 8px;font-weight:700}.wizard>.picker-label{color:#fff;margin-top:26px;font-size:20px}.big-choices{flex-wrap:wrap;justify-content:center;gap:18px;display:flex}.big-choices.column{flex-direction:column;width:min(480px,100%)}.big-choice{background:var(--paper);border-radius:var(--radius);border:4px solid #0000;flex-direction:column;align-items:center;padding:16px 30px;font-size:48px;transition:transform .12s;display:flex;box-shadow:0 6px #0003}.big-choice span{font-size:22px;font-weight:700}.big-choice.on{border-color:var(--yellow);background:#fffbe8;transform:scale(1.06)}.big-choice.wide{text-align:start;flex-direction:row;gap:16px;font-size:40px}.bc-text{flex-direction:column;display:flex}.bc-text b{font-size:22px}.bc-text small{color:var(--ink-soft);font-size:15px;font-weight:400}.grade-grid{grid-template-columns:repeat(3,110px);gap:16px;display:grid}.grade-btn{background:var(--paper);height:110px;color:var(--purple);border:4px solid #0000;border-radius:26px;font-size:52px;font-weight:900;box-shadow:0 6px #0003}.grade-btn.on{background:var(--yellow);color:var(--ink);border-color:#fff;transform:scale(1.08)}.look-step{background:var(--paper);border-radius:var(--radius);box-shadow:var(--shadow);flex-wrap:wrap;justify-content:center;align-items:center;gap:20px;padding:16px;display:flex}.avatar-preview{background:radial-gradient(circle at 50% 35%,#fff 0%,#e9e2ff 70%);border-radius:20px;width:200px;height:240px;position:relative}.avatar-preview.large{width:260px;height:320px}.look-editor{min-width:260px}.swatches,.chips{flex-wrap:wrap;gap:8px;display:flex}.swatch{border:3px solid #fff;border-radius:50%;width:40px;height:40px;box-shadow:0 2px 6px #00000040}.swatch.on{outline:4px solid var(--purple);transform:scale(1.1)}.chip{background:var(--paper-2);border-radius:999px;padding:8px 14px;font-size:16px;font-weight:600}.chip.on{background:var(--purple);color:#fff}.game{position:fixed;inset:0}.game canvas{touch-action:none}.hud{pointer-events:none;z-index:15;position:absolute;inset:0}.hud>*{pointer-events:auto}.hud-top{pointer-events:none;justify-content:space-between;align-items:flex-start;gap:10px;display:flex;position:absolute;top:12px;left:12px;right:12px}.hud-top>*{pointer-events:auto}.hud-player{box-shadow:var(--shadow);background:#ffffffe0;border-radius:999px;align-items:center;gap:10px;padding:6px 16px 6px 6px;display:flex}.hud-avatar{color:#fff;border:3px solid #fff;border-radius:50%;place-items:center;width:44px;height:44px;font-size:22px;font-weight:900;display:grid}.hud-name{font-size:17px;font-weight:800}.hud-world{color:var(--ink-soft);font-size:13px}.hud-stats{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.pill{background:#ffffffe6;border-radius:999px;align-items:center;gap:6px;padding:8px 14px;font-size:18px;display:flex;box-shadow:0 4px 12px #00000026}.pill b{text-align:center;min-width:22px;font-weight:800}.pill.coins{animation:.35s ease-out pop}.pill.buff{background:#fff3c4;font-weight:700}@keyframes pop{0%{transform:scale(1.25)}to{transform:scale(1)}}.energy-bar{background:#e5e0f5;border-radius:999px;width:80px;height:12px;overflow:hidden}.energy-bar.big{width:200px;height:18px}.energy-bar div{background:linear-gradient(90deg,#3fbf6a,#ffd23f);border-radius:999px;height:100%;transition:width .3s}.hud-btn{background:#ffffffeb;border-radius:50%;width:48px;height:48px;font-size:22px;box-shadow:0 4px 12px #00000026}.quest-tracker{pointer-events:none;flex-direction:column;gap:8px;max-width:300px;display:flex;position:absolute;top:78px;right:12px}.quest-card{color:#fff;border-right:5px solid var(--yellow);background:#2b2350c7;border-radius:16px;padding:10px 14px;animation:.4s ease-out slideIn}.quest-title{color:var(--yellow);font-size:15px;font-weight:800}.quest-step{margin-top:2px;font-size:15px}@keyframes slideIn{0%{opacity:0;transform:translate(40px)}}.interact-prompt{box-shadow:0 6px 0 #d8d0ff, var(--shadow);white-space:nowrap;background:#fff;border-radius:999px;align-items:center;gap:12px;padding:14px 26px;font-size:22px;font-weight:800;animation:.3s ease-out bounceIn,2s ease-in-out .3s infinite wiggle;display:flex;position:absolute;bottom:34px;left:50%;transform:translate(-50%)}.interact-prompt kbd{background:var(--purple);color:#fff;box-shadow:0 3px 0 var(--purple-d);border-radius:10px;padding:2px 12px;font-family:inherit;font-size:20px}@keyframes bounceIn{0%{opacity:0;transform:translate(-50%)scale(.6)}}@keyframes wiggle{0%,to{transform:translate(-50%)scale(1)}50%{transform:translate(-50%)scale(1.05)}}.toasts{pointer-events:none;flex-direction:column;align-items:center;gap:8px;display:flex;position:absolute;top:80px;left:50%;transform:translate(-50%)}.toast{box-shadow:var(--shadow);pointer-events:auto;cursor:pointer;text-align:center;background:#fffffff5;border-radius:999px;max-width:min(90vw,560px);padding:10px 20px;font-size:18px;font-weight:700;animation:5s linear forwards toastIn}@keyframes toastIn{0%{opacity:0;transform:translateY(-20px)scale(.8)}4%,94%{opacity:1;transform:none}to{opacity:0;transform:translateY(-10px)}}.world-label,.building-sign,.npc-name,.portal-sign{font-family:var(--font);white-space:nowrap;direction:rtl}.building-sign{background:#ffffffeb;border-radius:14px;padding:6px 16px;font-size:20px;font-weight:800;box-shadow:0 4px #00000026}.shop-item-icon{font-size:34px}.float-digit{text-shadow:0 4px #0003,0 0 20px #fff;font-size:64px;font-weight:900}.npc-tag{flex-direction:column;align-items:center;gap:4px;display:flex}.npc-name{color:#fff;background:#2b2350cc;border-radius:12px;padding:4px 12px;font-size:18px;font-weight:700}.npc-marker{color:#fff;border:4px solid #fff;border-radius:50%;place-items:center;width:56px;height:56px;font-size:44px;font-weight:900;animation:1.2s ease-in-out infinite bob;display:grid;box-shadow:0 4px 10px #0000004d}.npc-marker.new{background:var(--orange)}.npc-marker.wait{background:var(--blue)}.world-icon{font-size:34px;animation:1.2s ease-in-out infinite bob}.portal-sign{background:#fff;border:4px solid;border-radius:18px;align-items:center;gap:8px;padding:6px 16px;font-size:22px;font-weight:800;display:flex;box-shadow:0 5px #00000026}.portal-icon{font-size:30px}.portal-lock{background:#eee;border-radius:10px;padding:2px 8px;font-size:16px}.world-transition{z-index:30;opacity:0;pointer-events:none;place-items:center;transition:opacity .55s;display:grid;position:absolute;inset:0}.world-transition.on{opacity:1;pointer-events:auto}.transition-title{color:#fff;text-shadow:0 5px #0003;flex-direction:column;align-items:center;font-size:56px;font-weight:900;animation:.6s ease-out bounceIn2;display:flex}.transition-title span{font-size:110px}@keyframes bounceIn2{0%{opacity:0;transform:scale(.5)}}.touch-controls{z-index:16;height:0;position:absolute;inset:auto 0 0}.joystick{touch-action:none;background:#ffffff40;border:3px solid #fff9;border-radius:50%;width:140px;height:140px;position:absolute;bottom:28px;left:28px}.knob{pointer-events:none;background:#ffffffe6;border-radius:50%;width:60px;height:60px;position:absolute;top:40px;left:40px;box-shadow:0 4px 10px #00000040}.touch-buttons{align-items:flex-end;gap:16px;display:flex;position:absolute;bottom:30px;right:26px}.touch-btn{touch-action:none;background:#ffffffd9;border-radius:50%;width:78px;height:78px;font-size:34px;font-weight:900;box-shadow:0 5px #0003}.touch-btn.run{width:64px;height:64px;margin-bottom:40px;font-size:28px}.modal-backdrop{z-index:25;background:#1b164073;place-items:center;padding:14px;animation:.2s ease-out fadeIn;display:grid;position:absolute;inset:0}@keyframes fadeIn{0%{opacity:0}}.modal{background:var(--paper);border:5px solid #fff;border-radius:28px;outline:4px solid #6c4cf559;width:min(640px,100%);max-height:calc(100vh - 28px);padding:20px 24px 24px;animation:.35s cubic-bezier(.2,1.4,.4,1) modalIn;position:relative;overflow-y:auto;box-shadow:0 20px 60px #00000059}@keyframes modalIn{0%{opacity:0;transform:scale(.7)translateY(30px)}}.modal[data-shake=true]{animation:.4s shake}@keyframes shake{20%,60%{transform:translate(-10px)}40%,80%{transform:translate(10px)}}.modal-header{align-items:center;gap:12px;margin-bottom:10px;display:flex}.modal-header h2{color:var(--purple-d);flex:1;margin:0;font-size:26px;font-weight:900}.modal-icon{font-size:40px}.icon-btn.close{color:#d6336c;background:#ffe5ec;font-weight:900}.wallet{background:var(--paper-2);border-radius:999px;gap:10px;padding:8px 14px;font-size:18px;font-weight:800;display:flex}.problem-modal{text-align:center}.problem-prompt{margin:6px 0 12px;font-size:22px;font-weight:500;line-height:1.5}.problem-expression{color:var(--ink);background:linear-gradient(#f6f3ff,#ece6ff);border-radius:20px;margin:8px 0 14px;padding:10px 16px;font-size:clamp(40px,9vw,64px);font-weight:900}.answer-slot{min-width:1.6em;color:var(--purple);border:4px dashed var(--purple);background:#fff;border-radius:14px;padding:0 .2em;line-height:1.15;animation:1.5s ease-in-out infinite slotPulse;display:inline-block}@keyframes slotPulse{50%{border-color:var(--pink)}}.visual{flex-wrap:wrap;justify-content:center;gap:18px;margin-bottom:6px;display:flex}.visual-group{background:#fff8e1;border-radius:14px;flex-wrap:wrap;justify-content:center;gap:2px;max-width:190px;padding:6px 10px;font-size:28px;display:flex}.visual-group .crossed{opacity:.3;filter:grayscale();position:relative}.choices{grid-template-columns:repeat(2,1fr);gap:14px;margin:10px 0;display:grid}.choice{background:linear-gradient(180deg, #7b5cff, var(--purple));color:#fff;box-shadow:0 6px 0 var(--purple-d);border-radius:20px;padding:16px;font-size:40px;font-weight:900;transition:transform .1s}.choice:nth-child(2){background:linear-gradient(180deg, #ff7aa3, var(--pink));box-shadow:0 6px #d6336c}.choice:nth-child(3){background:linear-gradient(180deg, #5bd685, var(--green));box-shadow:0 6px #2a9150}.choice:nth-child(4){background:linear-gradient(180deg, #ffc35a, var(--orange));box-shadow:0 6px #d97a00}.choice:active:not(:disabled){transform:translateY(4px)}.choice:disabled{filter:grayscale()opacity(.35);transform:scale(.94)}.keypad{grid-template-columns:repeat(3,1fr);gap:10px;max-width:340px;margin:10px auto;display:grid}.key{background:var(--paper-2);height:62px;color:var(--ink);border-radius:16px;font-size:32px;font-weight:800;box-shadow:0 5px #d8d0ff}.key:active{transform:translateY(3px);box-shadow:0 2px #d8d0ff}.key-del{background:#ffe5ec;box-shadow:0 5px #ffb8c9}.key-ok{background:linear-gradient(180deg, #5bd685, var(--green));color:#fff;grid-column:1/-1;font-size:26px;box-shadow:0 5px #2a9150}.key-ok:disabled{filter:grayscale(.8)opacity(.5)}.problem-footer{justify-content:space-between;align-items:center;margin-top:6px;display:flex}.attempts{color:var(--ink-soft);font-size:14px}.hints{flex-direction:column;gap:6px;margin-bottom:8px;display:flex}.hint{white-space:pre-line;background:#fff8d6;border:2px solid #ffe27a;border-radius:14px;padding:8px 12px;font-size:18px;animation:.3s ease-out bounceIn3}@keyframes bounceIn3{0%{opacity:0;transform:scale(.8)}}.feedback{background:var(--paper-2);border-radius:12px;margin:6px 0;padding:8px;font-size:20px;font-weight:700}.feedback.try-again{color:#c25e00;background:#fff0e0}.result{flex-direction:column;align-items:center;gap:10px;animation:.35s ease-out bounceIn3;display:flex}.result-title{color:var(--green);font-size:34px;font-weight:900}.revealed .result-title{color:var(--purple);font-size:26px}.earned{color:#e09b00;font-size:36px;font-weight:900;animation:.5s ease-out pop}.earned.small{font-size:20px}.explanation{white-space:pre-line;background:#f0fff4;border:2px solid #b7ebc6;border-radius:16px;padding:10px 16px;font-size:22px;line-height:1.6}.answer-reveal{font-size:22px}.answer-reveal b{color:var(--green);font-size:30px}.dialog-wrap{z-index:25;background:linear-gradient(#0000 40%,#1b164073);justify-content:center;align-items:flex-end;padding:18px;display:flex;position:absolute;inset:0}.dialog{width:min(820px,100%);box-shadow:var(--shadow);background:#fff;border:5px solid #fff;border-radius:28px;outline:4px solid #6c4cf559;gap:16px;padding:18px 22px;animation:.35s cubic-bezier(.2,1.3,.4,1) slideUp;display:flex}@keyframes slideUp{0%{opacity:0;transform:translateY(60px)}}.dialog-portrait{background:radial-gradient(circle,#fff7d6,#ffe08a);border:4px solid #fff;border-radius:50%;flex-shrink:0;place-items:center;width:100px;height:100px;font-size:70px;animation:2.4s ease-in-out infinite bob;display:grid;box-shadow:0 4px 12px #00000026}.dialog-body{flex-direction:column;flex:1;display:flex}.dialog-speaker{color:var(--purple);font-size:20px;font-weight:900}.dialog-text{min-height:2.4em;margin:6px 0 12px;font-size:23px;line-height:1.5;animation:.3s fadeIn}.dialog-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.dialog-progress{color:var(--ink-soft);margin-inline-start:auto;font-size:14px}.tabs{flex-wrap:wrap;gap:6px;margin:6px 0 12px;display:flex}.tab{background:var(--paper-2);border-radius:999px;align-items:center;gap:6px;padding:8px 14px;font-size:15px;font-weight:700;display:flex}.tab.active{background:var(--purple);color:#fff;box-shadow:0 4px 0 var(--purple-d)}.item-grid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:12px;display:grid}.item-grid.small{grid-template-columns:repeat(auto-fill,minmax(110px,1fr))}.item-card{background:var(--paper-2);border:3px solid #0000;border-radius:18px;flex-direction:column;align-items:center;gap:4px;padding:12px 8px;transition:transform .12s;display:flex;position:relative}.item-card:hover{transform:translateY(-3px)}.item-card.selected{border-color:var(--purple);background:#fff}.item-card.owned{opacity:.7}.item-card.expensive .item-price{color:#c94444}.item-icon{background:#fff;border:3px solid #0000;border-radius:50%;place-items:center;width:64px;height:64px;font-size:40px;display:grid}.item-name{text-align:center;font-size:15px;font-weight:700}.item-desc{color:var(--ink-soft);text-align:center;font-size:12px}.item-price{color:var(--purple-d);font-size:16px;font-weight:800}.badge{background:var(--pink);color:#fff;border-radius:999px;padding:2px 8px;font-size:13px;font-weight:800;position:absolute;top:6px;left:6px}.shop-modal,.wardrobe-modal{width:min(820px,100%)}.checkout{text-align:center}.checkout-item{font-size:70px;animation:2s ease-in-out infinite bob}.bought{flex-direction:column;align-items:center;gap:8px;display:flex}.wardrobe-body{flex-wrap:wrap;justify-content:center;gap:16px;display:flex}.wardrobe-side{flex:1;min-width:280px}.hint-text{color:var(--ink-soft);text-align:center;font-size:15px}.energy-line{justify-content:center;align-items:center;gap:12px;margin-bottom:14px;font-weight:700;display:flex}.challenge-modal{text-align:center;width:min(720px,100%);overflow:hidden}.challenge-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.challenge-top h2{color:var(--purple-d);margin:0}.challenge-progress{gap:5px;display:flex}.challenge-progress i{background:#e5e0f5;border-radius:50%;width:14px;height:14px}.challenge-progress i.done{background:var(--green)}.challenge-progress i.now{background:var(--orange);transform:scale(1.3)}.balloon-field{justify-content:space-around;align-items:flex-end;height:240px;margin-top:10px;display:flex}.balloon{background:radial-gradient(circle at 35% 30%, #ffffffb3, transparent 30%), var(--c);color:#fff;text-shadow:0 2px #00000040;border-radius:50% 50% 48% 48%;width:110px;height:135px;font-size:36px;font-weight:900;animation:2.6s ease-in-out infinite balloonFloat;position:relative;box-shadow:inset -8px -10px #0000001f}.balloon:after{content:"";background:#999;width:2px;height:60px;position:absolute;bottom:-60px;left:50%}.balloon.popped{animation:.4s forwards popBalloon}.balloon.wrong{filter:grayscale()opacity(.4);animation:.4s shake}.balloon.answer{outline:6px solid var(--green);outline-offset:4px}@keyframes balloonFloat{0%,to{transform:translateY(0)rotate(-3deg)}50%{transform:translateY(-26px)rotate(3deg)}}@keyframes popBalloon{50%{opacity:.8;transform:scale(1.4)}to{opacity:0;transform:scale(0)}}.stars-big{justify-content:center;gap:10px;margin:10px 0;font-size:72px;display:flex}.stars-big span{filter:grayscale()opacity(.3)}.stars-big span.on{filter:none;animation:.6s cubic-bezier(.2,1.6,.4,1) both starIn}@keyframes starIn{0%{transform:scale(0)rotate(-180deg)}}.big-text{font-size:22px}.quest-done{text-align:center;overflow:hidden}.ribbon{background:var(--pink);color:#fff;border-radius:12px;padding:8px 30px;font-size:26px;font-weight:900;display:inline-block;transform:rotate(-3deg);box-shadow:0 5px #d6336c}.quest-done h2{color:var(--purple-d);font-size:30px}.rewards{flex-wrap:wrap;justify-content:center;gap:14px;margin:10px 0 16px;display:flex}.reward{background:var(--paper-2);border-radius:18px;align-items:center;gap:8px;padding:10px 18px;font-size:22px;font-weight:800;display:flex}.reward span{font-size:32px}.settings{flex-direction:column;gap:10px;display:flex}.toggle{background:var(--paper-2);border-radius:16px;justify-content:space-between;align-items:center;padding:12px 16px;font-size:18px;font-weight:600;display:flex}.toggle i{background:#cfc8e8;border-radius:999px;width:54px;height:30px;transition:background .2s;position:relative}.toggle i:after{content:"";background:#fff;border-radius:50%;width:24px;height:24px;transition:right .2s;position:absolute;top:3px;right:3px}.toggle.on i{background:var(--green)}.toggle.on i:after{right:27px}.stat-row{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.stat{background:var(--paper-2);border-radius:16px;flex-direction:column;align-items:center;padding:10px 16px;font-size:14px;display:flex}.stat b{color:var(--purple-d);font-size:28px}.mastery-list{flex-direction:column;gap:8px;margin-top:10px;display:flex}.mastery{grid-template-columns:170px 1fr 34px;align-items:center;gap:10px;font-size:15px;display:grid}.mastery-bar{background:#eee;border-radius:999px;height:14px;overflow:hidden}.mastery-bar div{border-radius:999px;height:100%}.mastery-val{color:var(--ink-soft);font-weight:700}.confetti{pointer-events:none;border-radius:inherit;position:absolute;inset:0;overflow:hidden}.confetti i{animation:linear forwards confettiFall;position:absolute;top:-20px}@keyframes confettiFall{to{transform:translateY(110vh)rotate(720deg)}}@media (width<=640px){.hud-player .hud-world{display:none}.pill{padding:6px 10px;font-size:15px}.energy-bar{width:50px}.quest-tracker{max-width:220px;top:auto;bottom:110px}.dialog-portrait{width:70px;height:70px;font-size:46px}.dialog-text{font-size:19px}.mastery{grid-template-columns:120px 1fr 30px}}.item-grid>.hint-text{grid-column:1/-1}.feedback-overlay{z-index:40;background:#1b16408c;place-items:center;padding:14px;display:grid;position:absolute;inset:0}.feedback-modal{width:min(560px,100%)}.feedback-shot{object-fit:cover;border-radius:14px;width:100%;max-height:200px;margin-bottom:10px}.feedback-text{resize:vertical;-webkit-user-select:text;user-select:text;border:3px solid #e2dcff;border-radius:14px;outline:none;width:100%;min-height:110px;margin-top:10px;padding:10px 12px;font-family:inherit;font-size:17px}.feedback-text:focus{border-color:var(--purple)}.hud-btn.bug{background:#fff3c4}button.pill{font:inherit;color:inherit;cursor:pointer;border:0;transition:transform .15s}button.pill:hover{transform:translateY(-2px)}.hud-btn{position:relative}.hud-badge{background:var(--pink);color:#fff;border-radius:999px;place-items:center;min-width:20px;height:20px;padding:0 5px;font-size:12px;font-weight:800;animation:.6s ease-out infinite alternate pop;display:grid;position:absolute;top:-4px;left:-4px}.dialog-back{order:-1}.btn.waiting{opacity:.55;filter:saturate(.6)}.dialog-dots{gap:6px;margin-inline-start:auto;display:flex}.dialog-dots i{cursor:pointer;background:#ddd6f5;border-radius:50%;width:10px;height:10px}.dialog-dots i.seen{background:#b9a8f5}.dialog-dots i.on{background:var(--purple);transform:scale(1.3)}.dialog-tip{color:var(--ink-soft);margin-top:8px;font-size:13px}.help-modal{width:min(860px,96vw)}.help-layout{grid-template-columns:230px 1fr;gap:16px;min-height:340px;display:grid}.help-topics{flex-direction:column;gap:6px;max-height:60vh;display:flex;overflow:auto}.help-topic{text-align:start;background:var(--paper-2);border-radius:14px;align-items:center;gap:8px;padding:10px 12px;font-size:15px;font-weight:700;display:flex}.help-topic.on{background:var(--purple);color:#fff}.help-page{background:#fffdf6;border:2px solid #f1e6c8;border-radius:18px;padding:16px 20px;font-size:18px;line-height:1.7;animation:.25s fadeIn}.help-page h3{align-items:center;gap:10px;margin:0 0 8px;display:flex}.help-page p{margin:0 0 10px}.icon-btn.speak{margin-inline-start:auto;font-size:18px}.journal{flex-direction:column;gap:10px;max-height:60vh;display:flex;overflow:auto}.journal-entry{background:var(--paper-2);border-radius:16px;padding:10px 14px}.journal-head{align-items:center;gap:8px;margin-bottom:4px;display:flex}.journal-head small{color:var(--ink-soft);margin-inline-start:auto}.journal-icon{font-size:22px}.journal-entry p{margin:2px 0;line-height:1.55}.daily-modal{width:min(560px,94vw)}.daily-list{flex-direction:column;gap:10px;display:flex}.daily-item{background:var(--paper-2);border-radius:18px;align-items:center;gap:12px;padding:12px 14px;display:flex}.daily-item.done:not(.claimed){box-shadow:0 0 0 3px var(--yellow) inset;background:#fff6cf}.daily-item.claimed{opacity:.7}.daily-icon{font-size:30px}.daily-main{flex:1}.daily-bar{background:#e5e0f5;border-radius:999px;height:16px;margin-top:6px;position:relative;overflow:hidden}.daily-bar div{background:linear-gradient(90deg, var(--green), var(--yellow));height:100%;transition:width .4s}.daily-bar span{place-items:center;font-size:12px;font-weight:800;display:grid;position:absolute;inset:0}.daily-check{color:var(--green);font-size:26px}.gym-modal{width:min(640px,94vw)}.gym-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;display:grid}.gym-topic{background:var(--paper-2);border-radius:18px;flex-direction:column;align-items:center;gap:8px;padding:14px;font-size:17px;transition:transform .15s;display:flex}.gym-topic:hover{background:#ece6ff;transform:translateY(-3px)}.gym-icon{font-size:34px}.gym-topic .mastery-bar{width:100%}@media (width<=640px){.help-layout{grid-template-columns:1fr}.help-topics{flex-flow:wrap;max-height:none}}.figure{justify-content:center;margin:4px 0 8px;display:flex}.figure svg{background:#fbfaff;border:2px solid #ece6ff;border-radius:16px;width:min(300px,70vw);height:auto}.fig-label{font:800 15px var(--font);fill:var(--ink)}.fig-label.small{fill:var(--ink-soft);font-size:11px}.fig-label.accent{fill:#e0306a}.mfrac{vertical-align:middle;flex-direction:column;align-items:center;margin:0 .12em;font-size:.82em;line-height:1.05;display:inline-flex}.mfrac-n{border-bottom:.09em solid;padding:0 .15em .04em}.mfrac-d{padding:.04em .15em 0}.mfrac .answer-slot{min-width:1.4em;font-size:1em}.choice.labelled{min-width:110px;font-size:22px}.btn.how{background:#fff3c4}.btn.how.pulse{box-shadow:0 0 0 3px var(--yellow);animation:.8s ease-in-out infinite alternate pop}.solution{background:#fffdf6;border:2px solid #f1e6c8;border-radius:18px;margin:8px 0;padding:12px 16px;animation:.25s fadeIn}.solution-title{color:var(--purple-d);margin-bottom:8px;font-weight:800}.solution-text{min-height:3.2em;margin:8px 0;font-size:18px;line-height:1.6;animation:.3s fadeIn}.solution-nav{align-items:center;gap:10px;display:flex}.solution-count{color:var(--ink-soft);margin-inline:auto;font-weight:700}.colboard{font:800 30px/1 var(--font);color:var(--ink);flex-direction:column;align-items:center;gap:2px;padding:6px 0;display:flex}.col-row{align-items:flex-end;display:flex}.col-sign{text-align:right;width:54px;color:var(--purple);padding-right:8px;font-size:.8em}.col-cell{border-radius:8px;place-items:center;width:34px;height:40px;transition:background .3s;display:grid}.col-row.k-carry .col-cell{color:#e0306a;height:22px;font-size:16px}.col-row.k-line{background:var(--ink);border-radius:2px;align-self:stretch;height:3px;margin-inline-start:54px}.col-row.k-line .col-cell,.col-row.k-line .col-sign{display:none}.col-row.k-result .col-cell{color:#1f9d55}.col-cell.hl{background:#fff1a8}.col-cell.crossed{opacity:.6;-webkit-text-decoration:line-through #e0306a;text-decoration:line-through #e0306a;text-decoration-thickness:3px}.col-note{color:var(--ink-soft);align-self:center;font-size:18px}.split-array{flex-direction:column;align-items:center;gap:4px;margin:6px 0;display:flex}.split-row{gap:4px;display:flex}.split-row i{background:#ddd6f5;border-radius:50%;width:14px;height:14px;transition:background .3s}.split-row i.gap{margin-right:10px}.split-row i.on{background:var(--blue)}.split-row i.on2{background:var(--orange)}.building-sign.big{color:#fff;background:#2f9e5b;padding:8px 18px;font-size:22px}.aisle-sign{color:var(--ink);white-space:nowrap;background:#fff;border:3px solid #2f9e5b;border-radius:12px;padding:4px 12px;font-size:15px;font-weight:800;box-shadow:0 4px 10px #00000026}.price-tag{white-space:nowrap;background:#fff6c4;border:2px dashed #e0a52a;border-radius:10px;padding:2px 8px;font-size:18px}.bus-modal{width:min(560px,94vw)}.bus-line{flex-direction:column;gap:10px;display:flex;position:relative}.bus-here{color:var(--ink-soft);font-size:16px}.bus-stop-card{background:var(--paper-2);text-align:start;border:3px solid #0000;border-radius:18px;align-items:center;gap:12px;padding:10px 14px;transition:transform .15s;display:flex}.bus-stop-card:hover:not(:disabled){transform:translate(-4px)}.bus-stop-card.locked{opacity:.55}.bus-stop-icon{border-radius:50%;place-items:center;width:52px;height:52px;font-size:28px;display:grid}.bus-stop-main{flex-direction:column;flex:1;display:flex}.bus-stop-main b{font-size:19px}.bus-stop-main small{color:var(--ink-soft)}.bus-go{color:var(--purple);font-size:22px}.ticket{flex-direction:column;align-items:center;gap:14px;display:flex}.ticket-card{background:repeating-linear-gradient(90deg,#fff6cf 0 18px,#fff1b8 18px 36px);border:2px dashed #e0a52a;border-radius:16px;align-items:center;gap:14px;padding:14px 20px;font-size:18px;display:flex}.ticket-card>span{font-size:34px}.ticket-card small{color:var(--ink-soft);display:block}.ticket-price{margin-inline-start:20px;font-size:22px}.bus-ride{background:linear-gradient(#8fd3ff,#d8f1ff 60%,#8bd06a 60%);position:absolute;inset:0;overflow:hidden}.bus-ride-hills{background:radial-gradient(at 20% 100%,#6fbf55 40%,#0000 41%),radial-gradient(at 70% 100%,#79c85e 45%,#0000 46%);height:20%;position:absolute;top:46%;left:-10%;right:-10%}.bus-ride-trees{white-space:nowrap;letter-spacing:40px;font-size:54px;animation:2.6s linear infinite busScroll;position:absolute;top:52%}.bus-ride-road{background:#555 repeating-linear-gradient(90deg,#0000 0 60px,#fff 60px 110px) 50%/100% 6px no-repeat;height:14%;position:absolute;top:66%;left:0;right:0}.bus-ride-bus{font-size:120px;animation:.35s ease-in-out infinite alternate busBounce;position:absolute;top:58%;left:50%;transform:translate(-50%)scaleX(-1)}@keyframes busScroll{0%{transform:translate(0)}to{transform:translate(60%)}}@keyframes busBounce{0%{transform:translate(-50%)scaleX(-1)translateY(0)}to{transform:translate(-50%)scaleX(-1)translateY(-6px)}}.world-transition .transition-title{z-index:2;position:relative}.cloud-chip{background:#ffffffe6;border-radius:999px;padding:8px 14px;font-weight:700;position:absolute;top:16px;left:16px;box-shadow:0 4px 12px #00000026}.cloud-chip.synced{background:#dcf7e5}.cloud-chip.offline,.cloud-chip.error{background:#ffe8e8}.cloud-modal{width:min(680px,95vw)}.parent-gate,.cloud-form{flex-direction:column;align-items:stretch;gap:12px;display:flex}.gate-q{justify-content:center;align-items:center;gap:12px;font-size:32px;font-weight:800;display:flex}.gate-input{text-align:center;width:120px}.error-text{color:#d62f5a;margin:0;font-weight:700}.cloud-status{background:var(--paper-2);border-radius:16px;flex-direction:column;gap:2px;padding:12px 16px;display:flex}.cloud-status.synced{background:#e3f8ea}.cloud-kids{flex-wrap:wrap;gap:10px;margin-bottom:12px;display:flex}.cloud-kid{background:var(--paper-2);border-radius:14px;flex-direction:column;align-items:center;padding:10px 16px;display:flex}.report-table{border-collapse:collapse;width:100%;margin:10px 0;font-size:15px}.report-table th,.report-table td{text-align:start;border-bottom:1px solid #ece6ff;padding:6px 8px}.report-table .mastery-bar{width:90px}.home-modal{width:min(980px,100%)}.home-modal .tabs{margin-bottom:12px}.room-cards{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;margin:10px 0 16px;display:grid}.room-card{background:var(--paper-2);border:3px solid #0000;border-radius:18px;flex-direction:column;gap:10px;padding:12px;display:flex}.room-card.done{background:#f1fbf4;border-color:#bfe8cd}.room-head{align-items:center;gap:10px;display:flex}.room-head small{color:var(--ink-soft);display:block}.room-icon{font-size:34px}.stage-steps{justify-content:space-between;gap:4px;display:flex}.stage-step{filter:grayscale();opacity:.45;background:#fff;border-radius:10px;flex-direction:column;flex:1;align-items:center;padding:4px 0;font-size:20px;display:flex}.stage-step small{font-size:11px;font-weight:700}.stage-step.on{filter:none;opacity:1;background:#fff6d6}.room-card .btn{padding:10px 8px;font-size:15px}.room-done{color:#2c9a52;text-align:center;font-weight:800}.home-extras{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;display:grid}.home-extras .extra{background:var(--paper-2);border-radius:16px;flex-direction:column;align-items:flex-start;gap:8px;padding:12px;display:flex}.home-extras small{color:var(--ink-soft)}.home-shop .chips,.home-design .chips{margin-bottom:12px}.furn-grid .item-icon.furn{border-radius:18px;width:96px;height:96px;overflow:hidden}.furn-thumb{object-fit:contain;width:100%;height:100%}.thumb-emoji{font-size:44px}.bought-bar{background:#f1fbf4;border:2px solid #bfe8cd;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:8px 12px;font-weight:700;display:flex}.design-body{flex-wrap:wrap;align-items:flex-start;gap:16px;display:flex}.plan-wrap{flex-direction:column;flex:auto;align-items:center;gap:6px;display:flex}.plan-caption,.plan-legend{width:100%;color:var(--ink-soft);justify-content:space-between;font-size:14px;font-weight:700;display:flex}.plan{box-sizing:content-box;touch-action:none;background-color:#e3b47c;background-image:linear-gradient(#0000001a 1px,#0000 1px),linear-gradient(90deg,#0000001a 1px,#0000 1px),repeating-linear-gradient(90deg,#e3b47c 0 18px,#d9a86f 18px 20px);border:6px solid #e8dcc8;border-radius:4px;position:relative}.plan.tiles{background-color:#f2f2ef;background-image:linear-gradient(#0000001f 1px,#0000 1px),linear-gradient(90deg,#0000001f 1px,#0000 1px),none}.plan.carpet{background-color:#a58bd8;background-image:linear-gradient(#0000001a 1px,#0000 1px),linear-gradient(90deg,#0000001a 1px,#0000 1px),none}.plan.yard{background-color:#8cc65a;background-image:linear-gradient(#00000014 1px,#0000 1px),linear-gradient(90deg,#00000014 1px,#0000 1px),none;border-style:dashed;border-color:#fff}.plan-cell{cursor:pointer;position:absolute}.door-mark{background:#fff;border-radius:4px;position:absolute}.door-mark.top,.door-mark.bottom{height:6px}.door-mark.left,.door-mark.right{width:6px}.placed{border:2px solid var(--purple);background:#ffffffeb;border-radius:6px;place-items:center;padding:0;font-size:18px;transition:transform .1s;display:grid;position:absolute;box-shadow:0 2px 4px #00000040}.placed span{pointer-events:none}.placed:after{content:"";background:var(--purple);border-radius:2px;position:absolute}.placed.rot0:after{height:4px;bottom:-2px;left:15%;right:15%}.placed.rot1:after{width:4px;top:15%;bottom:15%;right:-2px}.placed.rot2:after{height:4px;top:-2px;left:15%;right:15%}.placed.rot3:after{width:4px;top:15%;bottom:15%;left:-2px}.placed.wall{border-color:var(--orange);background:#fff6d6}.placed.small{z-index:0;background:#ffffff8c;border-style:dashed}.placed:not(.small){z-index:1}.placed.selected{outline:3px solid var(--pink);z-index:3;transform:scale(1.06)}.placed.moving{opacity:.35}.ghost{pointer-events:none;z-index:4;border:2px dashed;border-radius:6px;place-items:center;font-size:18px;display:grid;position:absolute}.ghost.ok{background:#3fbf6a73;border-color:#2c9a52}.ghost.bad{background:#ff5a5a73;border-color:#c93030}.design-side{flex-direction:column;flex:0 0 260px;gap:10px;display:flex}.design-side h4{margin:6px 0 0}.tool-box{background:#fff6d6;border-radius:14px;flex-direction:column;gap:8px;padding:10px;display:flex}.row.wrap{flex-wrap:wrap}.storage{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.storage-item{background:var(--paper-2);border:3px solid #0000;border-radius:12px;flex-direction:column;align-items:center;gap:2px;padding:6px 4px;font-size:12px;font-weight:700;display:flex;position:relative}.storage-item .furn-thumb{width:54px;height:54px}.storage-item .thumb-emoji{font-size:30px}.storage-item.active{border-color:var(--green);background:#f1fbf4}.hint-text.small{font-size:13px}.see-btn{margin-top:6px}.world-label.build{background:#ffd23feb;border-radius:12px;padding:4px 12px;font-size:15px;font-weight:800}.world-label.sign-text{color:#3a2a10;font-size:14px;font-weight:900}@media (width<=760px){.design-side{flex:100%}}.plan.placing .placed{pointer-events:none}.blocked-cell{pointer-events:none;background:repeating-linear-gradient(45deg,#ffffff59 0 4px,#0000 4px 8px);position:absolute}.placement-modal{width:min(620px,100%)}.placement-intro,.placement-done,.placement-q{text-align:center;flex-direction:column;align-items:center;gap:12px;font-size:19px;display:flex}.placement-dots{gap:6px;margin-inline-start:auto;display:flex}.placement-dots span{background:#ffffff59;border-radius:50%;width:12px;height:12px}.placement-dots span.now{background:#fff}.placement-dots span.ok{background:var(--green)}.placement-dots span.miss{background:var(--yellow)}.choice.right{color:#fff;background:var(--green)!important}.choice.missed{opacity:.45}.level-badge{color:#fff;background:var(--purple);border-radius:999px;padding:4px 14px}.level-badge.easy{background:var(--green)}.level-badge.hard{background:var(--pink)}.placement-btn{width:100%;margin-top:14px}.lesson{text-align:center;flex-direction:column;align-items:center;gap:10px;display:flex}.lesson h3{color:var(--purple-d);margin:0;font-size:24px}.lesson-badge{background:var(--yellow);color:#5a4300;border-radius:999px;padding:4px 14px;font-weight:800}.lesson-card{background:#f1f7ff;border:3px dashed #9cc3ff;border-radius:18px;flex-direction:column;align-items:center;gap:8px;width:100%;padding:12px 16px;display:flex}.lesson-label{color:#2d6fd6;font-weight:800}.problem-prompt.small{font-size:18px}.problem-expression.small{font-size:34px}.lesson-answer{font-size:20px}.time-limits{background:var(--paper-2);border-radius:16px;margin-bottom:14px;padding:10px 14px}.time-limits h3{margin:0 0 8px}.limit-row{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:8px;display:flex}.limit-row b{min-width:70px}.limit-row .chip{padding:6px 10px;font-size:14px}.link-btn.danger{color:#c93030;margin-top:14px}.delete-account{background:#fff1f1;border:2px solid #ffc9c9;border-radius:14px;flex-direction:column;gap:8px;margin-top:14px;padding:12px;display:flex}.timeup{z-index:60}.timeup-modal{text-align:center;width:min(520px,100%)}.timeup-moon{font-size:72px}.achievements-modal{width:min(760px,100%)}.ach-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:10px;display:grid}.ach{background:var(--paper-2);border:3px solid #0000;border-radius:16px;align-items:center;gap:10px;padding:10px 12px;display:flex}.ach:not(.done) .ach-icon{filter:grayscale();opacity:.55}.ach.done{background:#fff8dc;border-color:#ffd96a}.ach-icon{font-size:34px}.ach-text{flex-direction:column;flex:1;gap:3px;display:flex}.ach-text small{color:var(--ink-soft)}.ach-text .mastery-bar>div{background:var(--purple)}.ach-reward{color:var(--purple-d);white-space:nowrap;font-weight:800}.ach.done .ach-reward{color:#2c9a52;font-size:22px}.play-modal{width:min(560px,100%)}.play-start,.play-room{flex-direction:column;align-items:stretch;gap:10px;display:flex}.join-row{gap:8px;display:flex}.code-input{text-align:center;letter-spacing:.3em;flex:1;font-size:22px;font-weight:800}.room-code{justify-content:center;align-items:center;gap:10px;font-size:18px;display:flex}.room-code b{letter-spacing:.25em;background:var(--paper-2);color:var(--purple-d);border-radius:12px;padding:4px 14px;font-size:32px}.play-room h4{margin:6px 0 0}.peer-list{margin:0;padding-inline-start:18px;line-height:1.7}.emote-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;display:grid}.emote-btn{background:var(--paper-2);border-radius:14px;flex-direction:column;align-items:center;gap:2px;padding:8px 4px;font-size:26px;display:flex}.emote-btn small{font-size:12px;font-weight:700}.emote-bubble{white-space:nowrap;direction:rtl;background:#fff;border-radius:16px;align-items:center;gap:6px;padding:6px 12px;font-size:18px;font-weight:800;animation:.3s cubic-bezier(.2,1.4,.4,1) modalIn;display:flex;box-shadow:0 4px #00000026}.npc-name.friend{background:#2c9a52}.hud-btn.live{outline:3px solid var(--green)}.menu-backdrop{background:#9cc3e6;position:fixed;inset:0}.menu-backdrop+.screen{background:radial-gradient(at 50% 45%,#28187840 0%,#2818788c 60%,#190e50cc 100%)}.menu-backdrop+.title-screen .floaters{display:none}.menu-backdrop+.title-screen .title-card{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#1e125a59;border-radius:36px;padding:26px 46px 34px;box-shadow:0 20px 60px #00000059}.menu-backdrop canvas~div{display:none}.top-chips{z-index:2;gap:8px;display:flex;position:absolute;top:16px;left:16px}.top-chips .cloud-chip{position:static}.cloud-chip.save{background:var(--yellow);color:#4a3500}.account-modal{width:min(520px,95vw)}.account-on{text-align:center;flex-direction:column;gap:12px;display:flex}.btn-save{background:var(--yellow);color:#4a3500;box-shadow:0 4px #c9a21a}.hud-player{pointer-events:auto;text-align:start;font:inherit;color:inherit}.hud-avatar span{text-shadow:0 2px #00000040}.xp-bar{background:#e6e0ff;border-radius:99px;width:90px;height:6px;margin-top:3px;overflow:hidden}.xp-bar div{background:linear-gradient(90deg, var(--purple), var(--pink));height:100%}.level-card{background:linear-gradient(135deg,#f3efff,#ffe9f3);border-radius:18px;align-items:center;gap:14px;margin-bottom:12px;padding:10px 14px;display:flex}.level-num{color:#fff;background:linear-gradient(135deg, var(--purple), var(--pink));width:56px;height:56px;box-shadow:0 4px 0 var(--purple-d);border-radius:50%;place-items:center;font-size:28px;font-weight:900;display:grid}.level-info{flex-direction:column;flex:1;gap:4px;display:flex}.level-info small{color:var(--ink-soft)}.xp-bar.big{width:100%;height:10px}.kmap-topic h4,.album-set h4{margin:12px 0 6px}.kmap-skills{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;display:grid}.kskill{background:var(--paper-2);border-radius:12px;align-items:center;gap:8px;padding:8px 10px;display:flex}.kskill>div{flex:1}.kskill b{font-size:14px}.kskill.later{opacity:.55}.kskill small{color:var(--ink-soft);display:block}.kmedal{font-size:26px}.album-set small{color:var(--ink-soft);font-weight:600}.album-set.complete h4{color:#2c9a52}.album-row{grid-template-columns:repeat(8,1fr);gap:6px;display:grid}.sticker{aspect-ratio:3/4;color:#b9b0e0;border:2px dashed #cfc6f5;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;font-size:26px;display:flex;position:relative}.sticker small{color:var(--ink);text-align:center;font-size:10px;font-weight:700}.sticker.have{color:inherit;background:linear-gradient(160deg,#fff,#eef4ff);border:2px solid #fff;font-size:32px;box-shadow:0 3px 8px #2b235033}.sticker.have.rare{background:linear-gradient(135deg,#fff6c8,#ffd6f0,#d6ecff,#fff6c8) 0 0/300% 300%;animation:4s ease-in-out infinite holo}@keyframes holo{50%{background-position:100% 100%}}.sticker i{color:var(--purple-d);font-size:11px;font-style:normal;font-weight:800;position:absolute;top:2px;left:4px}@media (width<=640px){.album-row{grid-template-columns:repeat(4,1fr)}}.modal-backdrop{place-items:start center;padding:44px 22px 16px;overflow-y:auto}.modal-backdrop>.modal{max-width:100%;margin-block:auto}.modal{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='%236c4cf5' fill-opacity='0.05' font-family='Arial' font-weight='900' font-size='22'%3E%3Ctext x='8' y='30'%3E%2B%3C/text%3E%3Ctext x='70' y='48'%3E%C3%97%3C/text%3E%3Ctext x='30' y='96'%3E%3D%3C/text%3E%3Ctext x='88' y='108'%3E%C3%B7%3C/text%3E%3C/g%3E%3C/svg%3E"),radial-gradient(circle at 50% 0,#fff 0%,#f7f3ff 55%,#ece4ff 100%);border:6px solid #fff;outline:none;max-height:none;overflow:visible;box-shadow:0 0 0 6px #5b3fe0,0 0 0 10px #ffffff8c,0 26px 60px #1408468c}.modal-header{flex-direction:column;align-items:center;gap:6px;margin:-56px 0 14px}.panel-title{background:linear-gradient(#8f72ff,#5b3fe0);border-radius:14px;align-items:center;gap:12px;width:max-content;max-width:calc(100% - 130px);padding:8px 34px 8px 22px;display:flex;position:relative;box-shadow:0 5px #3b22a8,0 10px 18px #1e0a5a59}.panel-title:before,.panel-title:after{content:"";z-index:-1;background:#4a2fc9;width:26px;height:100%;position:absolute;top:10px}.panel-title:before{clip-path:polygon(0 0,100% 0,70% 50%,100% 100%,0 100%);right:-18px}.panel-title:after{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,30% 50%);left:-18px}.panel-title h2{color:#fff;text-shadow:0 2px #00000040;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:24px;overflow:hidden}.panel-title .modal-icon{background:radial-gradient(circle at 35% 30%,#fff6c8,#ffd23f 55%,#e8a400);border:3px solid #fff;border-radius:50%;flex:none;place-items:center;width:52px;height:52px;margin:-14px 0 -14px -6px;font-size:30px;display:grid;box-shadow:0 3px #b07c00,inset 0 -3px 6px #00000026}.panel-scroll{max-height:max(240px,100dvh - 330px);margin-inline:-8px;padding-inline:8px;overflow-y:auto}.modal-header>.icon-btn{z-index:2;background:#fff;position:absolute;top:-16px;left:-16px;box-shadow:0 4px #d8d0ff}.modal-header>.icon-btn.close{color:#fff;text-shadow:0 1px #0003;background:linear-gradient(#ff8fab,#f0466f);box-shadow:0 4px #b8264d,inset 0 2px #ffffff73}.modal-header>.wallet,.modal-header>.placement-dots{background:#ffffffd9;border-radius:999px;margin-top:4px;padding:4px 14px;box-shadow:0 3px #ddd3ff}.btn-primary{background:linear-gradient(180deg, #ffffff59, #fff0 50%), linear-gradient(180deg, #ffb54d, var(--orange))}.tab.active{background:linear-gradient(180deg, #ffffff4d, #fff0 50%), linear-gradient(180deg, #8f72ff, var(--purple))}.btn-soft{background:linear-gradient(#fff 0%,#f1ecff 60%,#e9e2ff 100%)}.tab:not(.active){background:#fffc;box-shadow:0 3px #ddd3ff}@media (width<=560px){.panel-title{max-width:calc(100% - 90px);padding:6px 22px 6px 16px}.panel-title h2{font-size:19px}.panel-title .modal-icon{width:42px;height:42px;font-size:24px}}.problem-modal .problem-expression{color:#f8f8f0;text-shadow:0 0 1px #fff9,0 2px #00000040;font-family:var(--font);letter-spacing:.02em;background:radial-gradient(at 30% 20%,#ffffff14,#0000 60%),linear-gradient(160deg,#2f6b4f,#1f4d39);border:10px solid #b9824f;border-radius:16px;position:relative;box-shadow:inset 0 0 0 2px #00000040,inset 0 6px 18px #00000059,0 6px #8a5a30}.problem-modal .problem-expression:after{content:"";background:#fffdf2;border-radius:4px;width:34px;height:7px;position:absolute;bottom:-9px;right:18%;box-shadow:0 1px #0000004d}.problem-modal .answer-slot{color:#ffe36e;background:#ffffff14;border:4px dashed #ffe36e;animation:1.6s ease-in-out infinite chalkPulse}@keyframes chalkPulse{50%{color:#ff9fd0;border-color:#ff9fd0}}.problem-modal .mfrac-n{border-bottom-color:#f8f8f0}.problem-modal .key{color:var(--purple-d);background:linear-gradient(#fff 0%,#f1ecff 55%,#e4dcff 100%);border:2px solid #fff;box-shadow:0 5px #c4b6ff,0 8px 14px #3c1ea026,inset 0 2px #fff}.problem-modal .key-del{background:linear-gradient(#fff 0%,#ffe9ef 60%,#ffd3df 100%);box-shadow:0 5px #ffadc2,inset 0 2px #fff}.problem-modal .key-ok{color:#fff;text-shadow:0 2px #0003;background:linear-gradient(#7cec9f 0%,#3fbf6a 60%,#2fa75a 100%);box-shadow:0 5px #23804a,0 8px 16px #1e783c4d,inset 0 2px #ffffff80}.problem-modal .choice{text-shadow:0 3px #0003;border:3px solid #ffffffd9;position:relative;overflow:hidden}.problem-modal .choice:after{content:"";pointer-events:none;background:linear-gradient(#ffffff8c,#fff0);border-radius:14px 14px 40px 40px;height:38%;position:absolute;inset:4px 10px auto}.problem-modal .problem-prompt{font-weight:600}.weekly-title{color:var(--purple-d);align-items:baseline;gap:10px;margin:18px 0 2px;font-size:20px;font-weight:900;display:flex}.weekly-title small{color:#fff;background:var(--pink);border-radius:999px;padding:2px 10px;font-size:14px;font-weight:700}.daily-item.weekly{border-inline-start:5px solid var(--purple)}.daily-item.weekly-chest{background:linear-gradient(90deg,#fff6d6,#ffe9a8)}.daily-item.weekly-chest small{color:var(--ink-soft);display:block}.world-label.event-label{color:#fff;background:linear-gradient(#4f7fe6,#2a4fb0);border:2px solid #ffd36a;font-weight:800}.album-event{color:#fff;background:#2f63d6;border-radius:999px;margin-inline-start:8px;padding:1px 10px;font-size:12px;font-style:normal;font-weight:700;display:inline-block}.solution.practice{background:#fbf9ff;border-color:#c9b8ff}.practice-slot{border:3px dashed var(--purple,#7c5cff);text-align:center;background:#fff;border-radius:12px;min-width:90px;margin:4px 8px;padding:4px 14px;font-size:28px;font-weight:800;display:inline-block}.feedback.small{padding:4px 10px;font-size:16px}.retry-note{color:var(--ink-soft);text-align:center;margin:6px 0;font-size:17px}.exit-confirm{text-align:center;background:#fff4f0;border:2px solid #ffd1c2;border-radius:16px;margin-top:10px;padding:12px;font-size:17px}.avatar-loading{color:var(--ink-soft);pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex;position:absolute;inset:0}.avatar-loading span{opacity:.35;font-size:64px;animation:1.2s ease-in-out infinite pulseSoft}@keyframes pulseSoft{50%{opacity:.6;transform:scale(1.08)}}.family-login,.account-choose{text-align:center;flex-direction:column;align-items:center;gap:12px;display:flex}.code-input{letter-spacing:4px;text-align:center;max-width:280px;font-size:30px;font-weight:800}.kid-pick{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.kid-card{font:inherit;cursor:pointer;background:#fff;border:3px solid #e4dcff;border-radius:18px;flex-direction:column;align-items:center;gap:4px;padding:12px 18px;display:flex}.kid-card:hover{border-color:var(--purple,#7c5cff)}.pin-dots{gap:12px;display:flex}.pin-dots i{border:3px solid var(--purple,#7c5cff);border-radius:50%;width:18px;height:18px}.pin-dots i.on{background:var(--purple,#7c5cff)}.family-code{letter-spacing:5px;text-align:center;-webkit-user-select:all;user-select:all;background:#f4f0ff;border:3px dashed #c9b8ff;border-radius:16px;max-width:300px;margin:6px auto;padding:8px 12px;font-size:34px;font-weight:900}.pin-input{text-align:center;letter-spacing:4px;max-width:110px}.ok-text{color:#1f8a4c;font-weight:700}
