.quest-page{--purple:#385a64;--ink:#263b47;--muted:#627780;--border:#dce5e6;--bg:#f6f7f2;background:var(--bg)}
.quest-page [hidden]{display:none!important}.quest-page .brand-mark{background:#385a64}.quest-shapes{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none}.quest-shapes i{position:absolute;border:25px solid #e9ab8733;width:210px;height:210px;border-radius:50%;left:-120px;top:42%}.quest-shapes i:nth-child(2){left:auto;right:-90px;top:15%;border:0;background:#8db4ae33;border-radius:40px;transform:rotate(35deg)}.quest-shapes i:nth-child(3){left:10%;top:auto;bottom:-140px;border-color:#bac9e733;width:260px;height:260px}.quest-shapes i:nth-child(4){left:auto;right:9%;top:60%;width:23px;height:23px;border:0;background:#e9ab8777;transform:rotate(30deg);border-radius:5px}
.quest-main{max-width:1100px;padding-top:0}.quest-intro{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:8px 16px 22px}.quest-intro h1{font-size:clamp(32px,4vw,47px);line-height:1.12;max-width:600px;margin:12px 0}.quest-intro h1 span{color:#547e79}.quest-intro p{margin:0;color:var(--muted);font-size:16px}.quest-intro>img{width:210px;height:172px;object-fit:contain}.quest-page .game-kicker{color:#9a674c}.quest-panel{background:#fff;border:1px solid #dce5e6;border-radius:28px;padding:30px;box-shadow:0 12px 40px #263b4706}.quest-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.quest-label{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#7d7470;margin:0 0 10px}.quest-section-heading h2{font-size:28px}.quest-note{font-size:13px;color:var(--muted)}.quest-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quest-topic-card{text-align:left;border:2px solid transparent;border-radius:17px;background:var(--tint);padding:17px;display:flex;gap:12px;align-items:center;color:#263b47;min-height:88px}.quest-topic-card:hover{transform:translateY(-3px)}.quest-topic-card[aria-pressed=true]{border-color:#385a64;box-shadow:0 0 0 3px #385a6410}.quest-topic-symbol{font:500 24px Fredoka,sans-serif;min-width:43px;color:#385a64}.quest-topic-card strong{display:block;font-size:16px}.quest-topic-card small{display:block;font-size:12px;color:#61737a;margin-top:5px}.quest-start-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:22px}.quest-start-footer p{font-size:13px;color:var(--muted);margin:0;line-height:1.7}.quest-page .primary{background:#385a64}.quest-page .primary:hover{background:#274b55}.quest-page .secondary{color:#385a64;border-color:#cadadb;background:#edf4f2}.quest-footnote{text-align:center;font-size:9px;letter-spacing:1.3px;color:#84928f;margin:24px 0 4px;line-height:1.8}.quest-round-header{display:flex;gap:18px;align-items:center;font-size:13px;color:var(--muted)}.quest-topic-badge{background:var(--tint,#edf4f2);color:#385a64;border-radius:9px;padding:8px 12px;font-weight:700;margin-right:auto}.quest-round-header .game-link{font-size:13px}.quest-panel progress{display:block;margin:19px 0 0;width:100%;height:7px;border:0;border-radius:9px;overflow:hidden;appearance:none;background:#eef2f1}.quest-panel progress::-webkit-progress-bar{background:#eef2f1;border-radius:9px}.quest-panel progress::-webkit-progress-value{background:#83aaa0;border-radius:9px;transition:width .3s}.quest-panel progress::-moz-progress-bar{background:#83aaa0}.quest-question-layout{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:190px;padding:16px 10px}.quest-question-layout h2{font-size:clamp(25px,3.5vw,36px);line-height:1.4;max-width:650px;outline:none}.quest-question-layout img{width:150px;height:150px;object-fit:contain}.quest-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.quest-choice{background:#f8f9f6;border:2px solid #e1e8e4;border-radius:16px;min-height:73px;padding:14px;color:#263b47;font:500 25px Fredoka,sans-serif;display:flex;align-items:center;gap:13px;text-align:left}.quest-choice small{font:700 11px 'DM Sans',sans-serif;color:#789087;background:#eaf0ec;border-radius:7px;width:26px;height:26px;display:grid;place-items:center;flex-shrink:0}.quest-choice:hover:not(:disabled){border-color:#7c9f96;transform:translateY(-2px)}.quest-choice.is-correct{border-color:#70a386;background:#eaf5ec;opacity:1}.quest-choice.is-wrong{border-color:#d7a18e;background:#fff1e9}.quest-feedback{min-height:32px;margin:19px 0 12px;font-size:15px;line-height:1.6;color:#677a80}.quest-feedback[data-kind=correct]{color:#34744e}.quest-feedback[data-kind=retry]{color:#a66545}.quest-round-footer{display:flex;align-items:center;gap:18px;min-height:53px}.quest-round-footer>span{margin-left:auto;color:#a67930;font-weight:700}.quest-round-footer .primary{padding:13px 20px}.quest-result{text-align:center;padding:35px}.quest-medal{width:90px;height:90px;background:#f6e8cf;color:#a67a37;display:grid;place-items:center;margin:20px auto;font-size:64px;border-radius:28px;transform:rotate(-6deg)}.quest-result h2{font-size:36px}.quest-result p{font-size:15px;color:var(--muted)}#questResultScore{font-size:25px;font-weight:700;color:#385a64;margin-bottom:4px}.quest-result-actions{display:flex;justify-content:center;gap:12px;margin-top:24px;flex-wrap:wrap}.lesson-launch{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#e9f1ed;border:1px solid #cdded8;border-radius:18px;padding:18px 22px;color:#385a64;text-decoration:none;margin:0 0 22px}.lesson-launch strong{display:block;font:500 22px Fredoka,sans-serif}.lesson-launch small{display:block;margin-top:5px;color:#617b76;font-size:13px}.lesson-launch>span:last-child{font-size:25px}
@media(max-width:700px){.quest-page .topbar{padding:0 21px;height:88px}.quest-main{padding:0 18px 24px}.quest-intro{padding:12px 2px 22px;gap:8px}.quest-intro>img{width:120px;height:130px}.quest-intro h1{font-size:29px}.quest-intro p{font-size:13px}.quest-intro .game-kicker{font-size:8px;letter-spacing:1px}.quest-panel{padding:21px;border-radius:22px}.quest-topics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.quest-topic-card{padding:12px 10px;gap:7px;min-height:85px}.quest-topic-symbol{font-size:20px;min-width:29px}.quest-topic-card strong{font-size:14px}.quest-topic-card small{font-size:10px}.quest-section-heading{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:18px}.quest-section-heading h2{font-size:25px}.quest-start-footer{align-items:stretch;flex-direction:column}.quest-question-layout{min-height:180px;padding:12px 0}.quest-question-layout img{width:90px;height:110px}.quest-round-header{gap:9px;flex-wrap:wrap}.quest-round-header .game-link{font-size:11px}.quest-topic-badge{padding:7px 9px}.quest-choices{gap:8px}.quest-choice{font-size:21px;min-height:75px;flex-direction:column;gap:8px;padding:12px 6px;text-align:center}.quest-choice small{width:20px;height:20px;font-size:9px}.quest-round-footer{flex-wrap:wrap;gap:10px}.quest-round-footer .primary{width:100%;order:3}.quest-feedback{min-height:52px;font-size:14px}.quest-footnote{font-size:8px}.quest-page .brand{font-size:22px}.quest-page .brand small{font-size:6px}.quest-result{padding:30px 16px}.lesson-launch{padding:15px}.lesson-launch small{font-size:11px}}
@media(prefers-reduced-motion:reduce){.quest-page *{animation:none!important;transition:none!important}}
@media(max-width:380px){.quest-choices{grid-template-columns:1fr}.quest-choice{flex-direction:row;min-height:55px;padding:10px 15px;gap:15px}.quest-intro>img{width:90px}.quest-question-layout img{width:70px}}
