*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-rounded,"Nunito",system-ui,-apple-system,Segoe UI,sans-serif;color:#10264d;background:radial-gradient(circle at 12% 5%,#fff3b8 0 8%,transparent 24%),radial-gradient(circle at 90% 7%,#c7f7ff 0 9%,transparent 25%),linear-gradient(180deg,#eef4ff,#fbfdff 55%,#f1fbf5);min-height:100vh}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(15px,4vw,58px);background:#ffffffec;border-bottom:1px solid #dbe5f3;backdrop-filter:blur(12px);position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#10264d}.brand-mark{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#6b5cff,#1788ff);color:white;font-weight:950;box-shadow:0 10px 28px #5468df3b}.brand b{font-size:20px}.brand small{display:block;font-size:10px;letter-spacing:.1em;color:#7389a4;margin-top:2px}.top-actions{display:flex;align-items:center;gap:8px}.pill,.icon-btn,.cta,.text-btn,.back-btn{border:0;cursor:pointer;font:inherit}.pill,.icon-btn{border-radius:14px;padding:10px 14px;background:#edf3ff;color:#284d78;font-weight:850}.ghost{background:#f4f7fb;text-decoration:none}.icon-btn{width:42px;padding:10px}.xp-pill{padding:10px 13px;border-radius:14px;background:#fff5c9;font-weight:900}.shell{max-width:1580px;margin:auto;padding:42px 24px 70px}.view{display:none}.view.active{display:block}.hero{position:relative;overflow:hidden;display:grid;grid-template-columns:1.12fr .88fr;gap:24px;min-height:475px;border-radius:38px;padding:clamp(28px,5vw,62px);background:linear-gradient(135deg,#111c5d,#5d55e7 48%,#10a7c9);color:#fff;box-shadow:0 30px 90px #314ea834}.hero:after{content:"";position:absolute;width:440px;height:440px;border-radius:50%;right:-150px;bottom:-230px;background:#ffffff14}.hero-copy{z-index:2;align-self:center}.eyebrow{display:inline-block;font-size:11px;letter-spacing:.14em;font-weight:950;text-transform:uppercase;color:#6754dc;background:#eeeaff;padding:8px 11px;border-radius:999px}.hero .eyebrow{color:#17225f;background:#fff6b9}.hero h1{font-size:clamp(42px,6vw,75px);line-height:.96;letter-spacing:-.05em;margin:18px 0}.hero h1 span{color:#ffe66e}.hero p{font-size:18px;line-height:1.65;color:#eaf2ff;max-width:760px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.cta{padding:15px 19px;border-radius:17px;background:linear-gradient(135deg,#ffd64a,#ff8e3d);font-weight:950;color:#392300;box-shadow:0 13px 28px #f1a32e3b}.hero .pill{background:#ffffff1a;color:white;border:1px solid #ffffff42}.hero-stats{display:flex;gap:10px;flex-wrap:wrap}.hero-stats span{padding:9px 12px;border-radius:13px;background:#ffffff13;border:1px solid #ffffff21;font-size:13px}.hero-art{position:relative;min-height:350px;z-index:2}.master-badge{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:170px;height:170px;border-radius:50%;display:grid;place-items:center;text-align:center;background:radial-gradient(circle at 35% 25%,#fff9d6,#ffd34d 45%,#f08a31);color:#35245a;font-weight:900;box-shadow:0 0 0 18px #ffffff12,0 30px 60px #17266366}.master-badge b{font-size:27px}.crown{position:absolute;left:50%;top:8%;transform:translateX(-50%);font-size:70px;filter:drop-shadow(0 10px 10px #0003);animation:float 2.8s ease-in-out infinite}.orbit{position:absolute;width:67px;height:67px;border-radius:22px;display:grid;place-items:center;background:#ffffff1c;border:1px solid #ffffff34;font-size:35px;box-shadow:0 12px 30px #11245d35}.o1{left:7%;top:9%}.o2{left:3%;top:39%}.o3{left:13%;bottom:5%}.o4{left:38%;bottom:0}.o5{right:12%;bottom:6%}.o6{right:2%;top:39%}.o7{right:8%;top:8%}.o8{right:35%;top:2%}.o9{left:37%;top:1%}@keyframes float{50%{transform:translate(-50%,-8px)}}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:42px 0 18px}.section-head h2{font-size:32px;margin:8px 0 0}.text-btn{background:transparent;color:#4e62a6;font-weight:900}.stage-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.stage-card{position:relative;overflow:hidden;min-height:325px;padding:21px;border-radius:28px;background:white;border:1px solid #dae5f3;box-shadow:0 22px 60px #163d7413;display:flex;flex-direction:column}.stage-card.locked{filter:saturate(.5);opacity:.62}.stage-card.locked:after{content:"🔒";position:absolute;right:18px;top:18px;font-size:24px}.stage-no{font-size:11px;font-weight:950;letter-spacing:.1em;color:#6b5cff}.stage-icon{font-size:45px;margin:17px 0 7px}.stage-card h3{font-size:22px;margin:0 0 6px}.stage-sub{font-size:12px;color:#6d819c;font-weight:800}.stage-target{font-size:13px;color:#607792;line-height:1.55;margin:13px 0}.stage-bottom{margin-top:auto}.mastery-line{height:8px;background:#edf1f8;border-radius:99px;overflow:hidden;margin:8px 0}.mastery-line i{display:block;height:100%;background:linear-gradient(90deg,#6b5cff,#13a7c7);border-radius:inherit}.stage-btn{width:100%;padding:12px;border:0;border-radius:14px;background:linear-gradient(135deg,#635bff,#1b83f2);color:#fff;font-weight:950;cursor:pointer}.stage-btn:disabled{background:#d9dfeb;color:#8190a7;cursor:not-allowed}.shields-panel{margin-top:26px;padding:26px;border-radius:30px;background:linear-gradient(135deg,#fff,#f3f7ff);border:1px solid #dae5f3;box-shadow:0 20px 55px #21487812}.shields-panel>div:first-child p{color:#647a96;line-height:1.6}.shield-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:20px}.shield{border:0;cursor:pointer;border-radius:22px;padding:18px 10px;background:#eef2f8;color:#536984;text-align:center;transition:.2s}.shield:hover{transform:translateY(-3px)}.shield .sicon{font-size:44px;display:block;filter:grayscale(.4)}.shield.gold{background:linear-gradient(145deg,#fff8c9,#ffd85e);color:#543c00;box-shadow:0 12px 30px #e0b1282d}.shield.gold .sicon{filter:none}.shield b{display:block;font-size:13px;margin-top:8px}.shield small{display:block;margin-top:4px;font-weight:800}.teacher-love{margin-top:24px;padding:22px 25px;border-radius:26px;background:#102c5c;color:white;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center}.teacher-love h3{margin:0 0 5px}.teacher-love p{margin:0;color:#cbdaf1;line-height:1.5}.teacher-icon{font-size:43px}.teacher-love .pill{background:white;color:#183860}.game-layout{display:grid;grid-template-columns:315px 1fr;gap:18px;min-height:calc(100vh - 150px)}.sidebar{background:#102d5c;color:#fff;border-radius:28px;padding:21px;position:sticky;top:95px;height:max-content}.back-btn{background:#ffffff14;color:#fff;padding:9px 12px;border-radius:12px;font-weight:850}.mission-title{font-size:23px;font-weight:950;margin-top:18px}.mission-sub{font-size:12px;color:#b8c9df;margin-top:6px}.progress-wrap{height:10px;background:#ffffff18;border-radius:99px;overflow:hidden;margin:20px 0 12px}.progress-bar{height:100%;width:0;background:linear-gradient(90deg,#55e5cf,#ffe45c)}.side-stats{display:flex;gap:8px;flex-wrap:wrap}.side-stats span{padding:8px 10px;border-radius:12px;background:#ffffff12}.learning-target{margin-top:18px;padding:14px;border-radius:16px;background:#ffffff0d;color:#dce7f4;font-size:12px;line-height:1.55}.world-track{margin-top:16px;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.world-dot{padding:7px 4px;border-radius:10px;background:#ffffff0d;text-align:center;font-size:16px;opacity:.58}.world-dot.active{background:#ffe46a;color:#27345a;opacity:1;transform:scale(1.06)}.world-dot.done{background:#31c88d;color:white;opacity:1}.game-stage{display:flex;flex-direction:column}.game-hud{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px}.stage-chip,.audio-btn{padding:10px 13px;border-radius:13px;background:white;border:1px solid #dce5f2;font-weight:850}.audio-btn{cursor:pointer;color:#35578b}.game-canvas{min-height:620px;border-radius:30px;background:white;border:1px solid #dae5f3;box-shadow:0 24px 70px #17457a18;padding:clamp(24px,4vw,55px);display:grid;place-items:center}.prompt-card{width:min(860px,100%);text-align:center}.prompt-card h2{font-size:clamp(27px,4vw,42px);line-height:1.13;margin:16px auto}.visual{font-size:74px;margin:4px 0 10px}.world-banner{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 15px;border-radius:18px;background:#f1f5ff;margin:0 auto 16px;font-weight:900;color:#425d85}.answer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}.answer-btn{min-height:72px;padding:14px;border-radius:18px;border:2px solid #e1e8f2;background:#fbfdff;color:#17365c;font-size:16px;font-weight:850;cursor:pointer;transition:.15s}.answer-btn:hover{transform:translateY(-2px);border-color:#8e91f5}.answer-btn.correct{background:#e5faee;border-color:#35bd77}.answer-btn.wrong{background:#fff0f0;border-color:#ec6d6d}.listen-box,.phonics-box,.passage-box,.scenario-box{margin:14px auto;padding:22px;border-radius:24px;background:linear-gradient(145deg,#eef4ff,#f9fbff);border:1px solid #dce6f4;text-align:left}.listen-box{text-align:center}.listen-big{width:90px;height:90px;border:0;border-radius:50%;background:linear-gradient(135deg,#6b5cff,#1aa8ca);color:#fff;font-size:38px;cursor:pointer;box-shadow:0 16px 36px #4d69d43d}.passage-box p{font-size:18px;line-height:1.65;color:#365574;margin:0}.phonics-box{text-align:center}.phonics-sound{font-size:58px;font-weight:950;color:#6756dd}.skill-chip{display:inline-block;padding:7px 10px;border-radius:999px;background:#e9f8f3;color:#14734e;font-size:11px;font-weight:950}.feedback{min-height:80px}.feedback-box{margin-top:12px;padding:14px 17px;border-radius:17px;display:flex;gap:9px;align-items:flex-start}.feedback-box.good{background:#e9fbef;color:#176640}.feedback-box.bad{background:#fff2e3;color:#874a0f}.celebrate{text-align:center}.celebrate .big{font-size:92px}.celebrate h2{font-size:40px;margin:8px}.result-stars{font-size:31px}.report-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.report-card{padding:20px;border-radius:22px;background:white;border:1px solid #dce6f2;box-shadow:0 15px 40px #19446e11}.report-card span{display:block;color:#71869f;font-size:12px}.report-card b{display:block;font-size:29px;margin-top:6px}.skill-report{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.skill-card{padding:18px;border-radius:20px;background:white;border:1px solid #dbe5f2}.skill-card .meter{height:8px;background:#eef2f6;border-radius:99px;margin-top:10px;overflow:hidden}.skill-card i{display:block;height:100%;background:linear-gradient(90deg,#665be9,#17aa9b)}.report-table{background:white;border:1px solid #dbe5f2;border-radius:24px;overflow:hidden}.report-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;padding:14px 17px;border-bottom:1px solid #edf1f6;align-items:center;gap:8px}.report-row.head{font-weight:950;background:#f5f8fc}.modal{position:fixed;inset:0;background:#09152bc7;display:grid;place-items:center;z-index:100;padding:20px}.modal[hidden]{display:none}.modal-card{position:relative;width:min(620px,100%);max-height:86vh;overflow:auto;background:white;border-radius:28px;padding:28px;box-shadow:0 30px 90px #0005}.modal-close{position:absolute;right:14px;top:12px;width:38px;height:38px;border:0;border-radius:50%;background:#eef2f7;font-size:24px;cursor:pointer}.name-input{width:100%;padding:14px 16px;border-radius:14px;border:2px solid #dbe3ee;font:inherit;font-size:18px;margin:12px 0}.certificate-wrap{display:grid;place-items:center;gap:20px}.certificate{width:min(1050px,100%);min-height:680px;background:radial-gradient(circle at 50% 20%,#fff8d1,#fff 48%),white;border:14px double #d5a92d;padding:55px;text-align:center;position:relative;box-shadow:0 30px 80px #473c1c24}.cert-stars{font-size:26px;color:#d9a622;letter-spacing:12px}.cert-logo{font-weight:950;letter-spacing:.18em;color:#5355c9;margin-top:14px}.cert-kicker{font-size:13px;letter-spacing:.24em;color:#8c7750;margin-top:35px}.certificate h1{font-family:Georgia,serif;font-size:68px;line-height:1;margin:18px 0;color:#2b3763}.certificate p{font-size:17px;color:#697589;max-width:730px;margin:15px auto;line-height:1.6}.cert-name{font-family:Georgia,serif;font-size:42px;border-bottom:2px solid #d6b751;display:inline-block;min-width:430px;padding:8px 30px;color:#223766}.cert-score{margin:25px auto 13px;font-weight:900;color:#735b16}.cert-score b{font-size:28px;margin-left:10px}.cert-shields{display:flex;justify-content:center;gap:10px;font-size:31px}.cert-footer{display:flex;justify-content:center;gap:23px;flex-wrap:wrap;margin-top:35px;font-size:12px;font-weight:900;color:#687690}.cert-actions{display:flex;gap:10px}@media(max-width:1280px){.stage-grid{grid-template-columns:repeat(3,1fr)}.shield-strip{grid-template-columns:repeat(5,1fr)}}@media(max-width:900px){.hero{grid-template-columns:1fr}.hero-art{min-height:290px}.game-layout{grid-template-columns:1fr}.sidebar{position:relative;top:0}.stage-grid{grid-template-columns:repeat(2,1fr)}.report-cards{grid-template-columns:repeat(2,1fr)}.skill-report{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.topbar{height:68px;padding:0 12px}.brand b{font-size:16px}.brand small,.xp-pill,.top-actions .ghost{display:none}.shell{padding:24px 13px 55px}.hero{padding:27px 20px;border-radius:28px}.hero h1{font-size:43px}.hero p{font-size:15px}.stage-grid,.shield-strip,.answer-grid,.report-cards,.skill-report{grid-template-columns:1fr}.stage-card{min-height:285px}.game-canvas{min-height:540px;padding:20px 14px}.report-row{grid-template-columns:1.5fr .8fr .8fr}.report-row span:last-child{display:none}.certificate{padding:32px 16px;min-height:650px}.certificate h1{font-size:45px}.cert-name{min-width:0;width:100%;font-size:32px}}@media print{body{background:white}.topbar,.cert-actions{display:none!important}.shell{padding:0}.view{display:none!important}#certificateView{display:block!important}.certificate{box-shadow:none;width:100%;border-color:#c49c2b;min-height:100vh}}
