:root{--sky:#d2f2ff;--mint:#b7f4cd;--grass:#43b04a;--sun:#ffd85f;--ink:#1f3242;--paper:#ffffff;--danger:#ff4b4b;--shadow:rgba(20,62,89,0.16)}*{box-sizing:border-box}body,html{margin:0;padding:0;min-height:100%;background:radial-gradient(circle at 15% 20%,rgba(255,216,95,.45),transparent 35%),radial-gradient(circle at 82% 15%,rgba(183,244,205,.9),transparent 40%),linear-gradient(180deg,#f6fcff,#e7f9ff);color:var(--ink);font-family:Avenir Next,Nunito Sans,Segoe UI,sans-serif}button,h1,h2,h3{font-family:Trebuchet MS,Avenir Next Condensed,Verdana,sans-serif}a{color:inherit;text-decoration:none}main{max-width:980px;margin:0 auto;padding:24px 16px 48px}.molingo-card{background:var(--paper);border:3px solid rgba(31,50,66,.08);border-radius:24px;box-shadow:0 14px 24px var(--shadow)}@keyframes pop-in{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.animate-pop{animation:pop-in .35s ease-out both}@keyframes mascot-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.mascot-bounce{animation:mascot-bob 1.6s ease-in-out infinite}@keyframes pulse-glow{0%,to{box-shadow:0 0 0 rgba(67,176,74,0)}50%{box-shadow:0 0 16px rgba(67,176,74,.22)}}@keyframes step-pop{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes confetti-fall{0%{opacity:0;transform:translate3d(0,-24vh,0) rotate(0deg)}20%{opacity:1}to{opacity:0;transform:translate3d(var(--confetti-drift,0),120vh,0) rotate(500deg)}}.lesson-shell:after,.lesson-shell:before{content:"";position:absolute;z-index:0;border-radius:999px;pointer-events:none}.lesson-shell:before{width:140px;height:140px;right:-44px;top:-42px;background:radial-gradient(circle,rgba(255,216,95,.75),rgba(255,216,95,0))}.lesson-shell:after{width:160px;height:160px;left:-54px;bottom:-64px;background:radial-gradient(circle,rgba(28,176,246,.45),rgba(28,176,246,0))}.lesson-shell>*{position:relative;z-index:1}.lesson-mascot-panel{animation:pulse-glow 2.4s ease-in-out infinite}.lesson-step-pop{animation:step-pop .28s ease-out both}.step-navigator-wrap{margin-bottom:12px}.step-navigator-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(42px,1fr));grid-gap:6px;gap:6px}.step-nav-btn{border:2px solid rgba(31,50,66,.15);border-radius:10px;background:#fff;color:#1f3242;font-weight:800;padding:8px 0;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease}.step-nav-btn:hover{transform:translateY(-1px);box-shadow:0 5px 10px rgba(31,50,66,.1)}.step-nav-quiz{background:#43b04a;color:#fff;border-color:#35923b}.step-nav-current{outline:3px solid rgba(43,112,201,.24)}.step-nav-btn:disabled{opacity:.65;cursor:not-allowed}.question-card{transition:transform .18s ease}.question-card:hover{transform:translateY(-1px)}.molingo-btn{transition:transform .12s ease,filter .12s ease,box-shadow .12s ease}.molingo-btn:hover{transform:translateY(-2px) scale(1.02);filter:brightness(1.05);box-shadow:0 8px 16px rgba(31,50,66,.16)}.molingo-btn:active{transform:translateY(0) scale(.98)}.molingo-btn:disabled{opacity:.65;cursor:not-allowed}.quiz-option{transition:transform .12s ease,box-shadow .12s ease,background-color .12s ease}.quiz-option:hover{transform:translateX(4px);box-shadow:0 6px 12px rgba(31,50,66,.12)}.quiz-correct{animation:step-pop .24s ease-out both}.quiz-wrong{animation:wrong-shake .24s ease-in-out both}@keyframes wrong-shake{0%,to{transform:translateX(0)}25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}.feedback-card{animation:step-pop .24s ease-out both}.celebration-overlay{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;background:rgba(12,26,38,.38);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.celebration-card{padding:24px 22px;width:min(92%,460px);text-align:center;border-width:3px;border-color:rgba(255,216,95,.72)}.celebration-confetti-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none}.celebration-confetti{position:absolute;top:-12px;border-radius:2px;opacity:0;animation-name:confetti-fall;animation-timing-function:linear;animation-fill-mode:both}@media (max-width:768px){main{padding:16px 12px 32px}}.chapter-animal{display:block;width:100%;height:auto}.chapter-path{padding:24px}.chapter-eyebrow{font-size:11px;font-weight:800;letter-spacing:.15em;color:#537264;margin:0 0 10px}.chapter-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:24px;flex-wrap:wrap}.chapter-heading h2{margin:0;font-size:clamp(1.4rem,4vw,1.9rem)}.chapter-heading>p{color:#62766d;margin:0;font-size:14px}.chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:18px;gap:18px}.chapter-card{display:flex;flex-direction:column;padding:18px;border:2px solid #e7ede7;border-radius:23px;background:#fffefa;box-shadow:0 5px 0 #e7ede7;transition:transform .18s ease,box-shadow .18s ease}a.chapter-card:hover{transform:translateY(-5px);border-color:var(--chapter-color);box-shadow:0 9px 0 #e7ede7}a.chapter-card:focus-visible{outline:3px solid #245c47;outline-offset:5px}.chapter-card-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:800;letter-spacing:.1em;color:#607268}.chapter-card-top>:last-child{background:#eef3e9;padding:5px 8px;border-radius:20px;letter-spacing:0}.chapter-portrait{width:min(100%,230px);margin:4px auto 0}.chapter-companion{margin:0 0 6px;color:#5e7166;font-size:12px;font-weight:700}.chapter-card h3{margin:0 0 8px;font-size:21px}.chapter-description{margin:0 0 20px;color:#5d6c65;line-height:1.5;font-size:14px;flex:1 1}.chapter-progress{height:7px;border-radius:20px;overflow:hidden;background:#e9eee5}.chapter-progress span{display:block;height:100%;background:var(--chapter-color);border-radius:inherit}.chapter-card-bottom{display:flex;justify-content:space-between;gap:5px;margin-top:12px;font-size:11px;color:#607268}.chapter-card-bottom strong{color:#284c3a}.chapter-locked{background:#fafbf7}.chapter-locked .chapter-portrait{opacity:.8}.hero-companion{width:155px;margin:-10px auto}@media (max-width:820px){.chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-companion{display:none}}@media (max-width:520px){.chapter-grid{grid-template-columns:1fr}.chapter-path{padding:18px}.chapter-portrait{width:200px}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation:none!important;transition:none!important}}