@import"https://fonts.googleapis.com/css2?family=Nunito:wght@500;600;700;800;900&display=swap";:root{font-family:Nunito,Trebuchet MS,sans-serif;color:#14205b;background:#e9f8ff;font-synthesis:none;--blue: #4169f7;--violet: #7351e8;--coral: #ff5f64;--green: #15a987;--ink: #14205b}*{box-sizing:border-box}button,a{font:inherit}button{color:inherit}body{margin:0;min-width:320px;min-height:100vh;-webkit-font-smoothing:antialiased}body:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;z-index:-2;background:linear-gradient(#6dd3ff1f,#cff7ffe6),url(/assets/adventure-island-bg.png) center top / cover fixed}body:after{content:"";position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;background:linear-gradient(90deg,#e5f8ffad,#e5f8ff38 64%,#e5f8ff0f);pointer-events:none}.app-shell{min-height:100vh;padding:16px 20px 42px}.topbar{max-width:1440px;min-height:84px;margin:0 auto;padding:12px 22px;display:grid;grid-template-columns:auto auto 1fr auto;gap:24px;align-items:center;background:#fffffff0;border:1px solid rgba(255,255,255,.9);border-radius:30px;box-shadow:0 14px 32px #274a9724;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);position:sticky;top:12px;z-index:20}.hub-button,.brand,.topbar nav button,.menu-toggle{border:0;background:transparent;cursor:pointer}.hub-button{border-radius:15px;padding:11px 14px;background:#eff5ff;color:#395492;font-size:13px;font-weight:800}.brand{font-size:29px;font-weight:900;color:#33206f;letter-spacing:-1.5px}.brand span{color:#43aa49}.topbar nav{display:flex;justify-content:center;gap:10px}.topbar nav button{padding:12px 16px;border-radius:15px;font-weight:800;font-size:15px}.topbar nav button:hover,.topbar nav button.active{background:#f0edff;color:#5c3bd2}.profile{display:flex;align-items:center;gap:13px}.streak{color:#9c4e12;background:#fff6dc;padding:10px 12px;border-radius:15px;font-weight:900;font-size:13px}.avatar{display:grid;place-items:center;width:45px;height:45px;border-radius:50%;background:#7351e8;color:#fff;font-weight:900}.menu-toggle{display:none}.main-content{max-width:1220px;margin:0 auto}.welcome{min-height:240px;display:flex;align-items:center;padding:44px 36% 20px 2%}.eyebrow,.panel-kicker{color:#6545d6;letter-spacing:.11em;font-size:12px;font-weight:900}.welcome h1,.inner-page h1{margin:5px 0 4px;font-size:clamp(36px,5vw,64px);line-height:.98;letter-spacing:-2px;color:#121a58}.welcome-subtitle{margin:12px 0 18px;font-size:clamp(18px,2vw,25px);color:#4e6085;font-weight:700}.daily-progress{display:inline-flex;gap:7px;background:#ffffffe6;border-radius:18px;padding:11px 16px;box-shadow:0 8px 24px #16538f1f;color:#5f6886}.daily-progress strong{color:#744fea}.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.story-card{background:#fffffff2;padding:12px;border-radius:28px;box-shadow:0 16px 36px #184b862e}.story-image-wrap{position:relative;min-height:340px;border-radius:20px;overflow:hidden;background:#dae8ff}.story-image{width:100%;height:100%;min-height:340px;position:absolute;top:0;right:0;bottom:0;left:0;object-fit:cover}.story-image-wrap:after{content:"";position:absolute;top:42%;right:0;bottom:0;left:0;background:linear-gradient(transparent,#070c34e6)}.today-chip,.language-chip{position:absolute;z-index:2;top:14px;padding:8px 12px;border-radius:11px;color:#fff;font-size:12px;font-weight:900}.today-chip{left:14px;background:#7752e9}.malay .today-chip{background:#ff6268}.language-chip{right:14px;background:#fffffff0;color:#3464d8}.malay .language-chip{color:#16896f}.story-copy{position:absolute;z-index:2;left:22px;right:90px;bottom:18px;color:#fff}.story-copy h2{margin:0;font-size:clamp(27px,3vw,39px);line-height:1.02;letter-spacing:-1px;text-shadow:0 2px 8px rgba(0,0,0,.3)}.story-copy p{margin:8px 0 0;font-weight:800}.translate-button{position:absolute;z-index:3;right:16px;bottom:18px;border:0;width:58px;height:58px;border-radius:50%;background:#fff;color:#293b87;font-weight:900;cursor:pointer;box-shadow:0 8px 18px #00000038}.translate-button:hover{transform:translateY(-2px)}.translation-note{margin:10px 4px 0;padding:12px 14px;border-radius:14px;background:#fff9dc;color:#4f4a43;font-weight:700;font-size:14px}.story-cta{width:100%;margin-top:11px;border:0;border-radius:17px;padding:15px 18px;background:linear-gradient(135deg,#496cf9,#365bf0);color:#fff;font-weight:900;font-size:18px;cursor:pointer;box-shadow:inset 0 -3px #0000001c;text-decoration:none;display:block;text-align:center}.malay .story-cta{background:linear-gradient(135deg,#ff6a68,#ff4d57)}.story-cta:hover{filter:brightness(1.05);transform:translateY(-1px)}.dashboard-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:20px;margin-top:20px}.panel{min-width:0;background:#fffffff0;border-radius:24px;padding:24px;box-shadow:0 12px 30px #234e7e24}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.panel h3,.panel h2{margin:2px 0 0;font-size:22px}.soft-badge{padding:8px 12px;background:#fff3d8;color:#a24a14;border-radius:999px;font-size:12px;font-weight:900}.week-path{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-top:21px}.day-step{display:flex;flex-direction:column;align-items:center;gap:5px;font-weight:800}.day-label,.day-step small{font-size:10px}.day-dot{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#eef1f7;color:#9ca4b7;border:3px solid white;box-shadow:0 0 0 2px #e7eaf0}.day-step.done .day-dot{background:#e7f9e9;color:#2da245;box-shadow:0 0 0 2px #56be69}.day-step.current .day-dot{background:#7650e8;color:#fff;box-shadow:0 0 0 3px #bbaaf6}.day-step.current small{color:#6040ce}.rewards-panel{background:linear-gradient(145deg,#fffffff7,#fff8d6f5)}.reward-score{display:flex;gap:10px;align-items:center;margin:12px 0 18px}.reward-score strong{font-size:58px;color:#7955e8;line-height:1}.reward-score span{max-width:70px;font-weight:800}.secondary-button{border:2px solid #9a83ee;background:#fff;color:#6142d4;border-radius:14px;padding:10px 14px;font-weight:900;cursor:pointer}.inner-page{padding:70px 0 40px}.inner-page h1{max-width:800px;font-size:clamp(38px,5vw,60px)}.page-lead{color:#516287;font-size:18px;font-weight:700}.library-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}.library-card{text-align:left;border:0;background:#fffffff5;border-radius:22px;padding:11px 11px 17px;box-shadow:0 12px 28px #234e7e24;cursor:pointer}.library-card:hover{transform:translateY(-3px)}.library-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:15px;margin-bottom:12px}.library-card strong,.library-card small{display:block;padding:0 7px}.library-card strong{margin-top:7px;font-size:18px;line-height:1.15}.library-card small{margin-top:7px;color:#6d7897;font-weight:800}.library-language{display:inline-block;margin-left:7px;padding:5px 8px;border-radius:8px;background:#eeebff;color:#6245cc;font-size:11px;font-weight:900}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:30px 0 20px}.stat-card{min-height:160px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#fffffff2;border-radius:24px;box-shadow:0 12px 28px #234e7e24}.stat-card strong{font-size:52px;color:#7051de;line-height:1}.stat-card span{margin-top:8px;font-weight:800;color:#5f6d8e}.progress-panel{max-width:800px}.progress-track{height:18px;border-radius:999px;background:#e7eafb;overflow:hidden;margin:18px 0 8px}.progress-track span{display:block;width:14%;height:100%;background:linear-gradient(90deg,#7250e4,#46b7ef);border-radius:inherit}.modal-backdrop{position:fixed;z-index:50;top:0;right:0;bottom:0;left:0;background:#0d1742ad;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:grid;place-items:center;padding:20px}.story-modal{width:min(560px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:28px;padding:18px;box-shadow:0 30px 80px #0000004d;position:relative}.story-modal img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:18px}.story-modal h2{font-size:32px;margin:10px 7px 4px}.story-modal p{color:#5c6685;margin:0 7px 18px;font-weight:700}.modal-close{display:block;margin:0 0 10px auto;border:0;background:#eef1fa;border-radius:12px;padding:8px 12px;font-weight:900;cursor:pointer}.modal-cta{margin-top:0}button:focus-visible,a:focus-visible{outline:4px solid #ffd94d;outline-offset:3px}@media(max-width:980px){.topbar{grid-template-columns:auto 1fr auto}.hub-button{display:none}.topbar nav{position:absolute;top:92px;left:0;right:0;padding:12px;background:#fff;border-radius:20px;box-shadow:0 14px 30px #1f347533;display:none;flex-direction:column}.topbar nav.open{display:flex}.menu-toggle{display:block;justify-self:end;padding:10px 13px;border-radius:12px;background:#f1eeff;font-weight:900}.profile{display:none}.welcome{min-height:210px;padding-right:28%}.story-image-wrap,.story-image{min-height:300px}.dashboard-row{grid-template-columns:1fr}.library-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){body:before{background-position:62% top}body:after{background:#e8f9ffb3}.app-shell{padding:10px 10px 30px}.topbar{min-height:66px;padding:9px 12px;border-radius:20px;top:7px;gap:10px}.brand{font-size:24px}.welcome{min-height:238px;padding:38px 3% 10px;align-items:flex-start}.welcome h1{max-width:300px}.welcome-subtitle{max-width:250px}.story-grid{grid-template-columns:1fr}.story-card{border-radius:23px;padding:9px}.story-image-wrap,.story-image{min-height:265px}.story-copy h2{font-size:29px}.dashboard-row{margin-top:14px;gap:14px}.panel{padding:18px 14px;border-radius:20px}.week-path{width:100%;max-width:100%;overflow-x:auto;grid-template-columns:repeat(7,58px);padding:4px 2px 9px}.panel-heading{align-items:flex-start}.soft-badge{display:none}.inner-page{padding:42px 2px 30px}.library-grid,.stats-grid{grid-template-columns:1fr}.library-card{display:grid;grid-template-columns:112px 1fr;column-gap:10px;align-items:start}.library-card img{grid-row:1/5;margin:0;aspect-ratio:1}.library-language{margin:2px 0 0;width:max-content}.library-card strong,.library-card small{padding:0}.stat-card{min-height:120px}}@media(max-width:390px){.brand{font-size:21px}.menu-toggle{font-size:13px}.story-image-wrap,.story-image{min-height:240px}.today-chip,.language-chip{font-size:9px;padding:7px 9px}.story-copy{left:16px;right:74px}.story-copy h2{font-size:25px}.translate-button{width:50px;height:50px;right:12px}}
