:root{color-scheme:light;--ink:#172d27;--muted:#4d6259;--green:#125141;--page:#f6faf6;--line:#dce8df}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--page);color:var(--ink);font:1rem/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #325bd5;outline-offset:4px}.wrap{width:min(1120px,calc(100% - 48px));margin-inline:auto}.top{background:white;border-bottom:1px solid var(--line)}.bar{min-height:72px;display:flex;justify-content:space-between;align-items:center;gap:16px}.brand{display:inline-flex;align-items:center;gap:0;text-decoration:none;font-size:1.44rem;font-weight:850}.brand>span:last-child{color:#267d65}.brand-icon{display:grid;place-items:center;margin-right:9px;width:36px;height:36px;background:#146650;color:#fff8da;border-radius:8px;font-weight:900;transform:rotate(-6deg)}.bar nav,.tools{display:flex;align-items:center;gap:18px}.bar nav a{font-size:.94rem;font-weight:680;text-decoration:none}.bar nav a:hover{text-decoration:underline}.language,.stars{border:1px solid var(--line);min-height:42px;padding:7px 12px;background:white;border-radius:7px;color:var(--ink);font-weight:700;white-space:nowrap}.stars{display:flex;align-items:center;gap:6px}.stars>span:first-child{color:#aa540c}.quest{position:relative;isolation:isolate;min-height:270px;display:flex;align-items:center;overflow:hidden;background:#d9f0df;border:1px solid #c4e4ce;border-radius:8px;margin-top:26px}.quest-text{position:relative;z-index:1;padding:30px 38px;width:58%}.eyebrow{font-size:.84rem;font-weight:800;color:#19614b}.quest h1{font-size:2.7rem;line-height:1.12;margin:6px 0 10px;overflow-wrap:anywhere}.quest p{margin:0 0 20px;max-width:32ch;color:#355449}.quest img{position:absolute;right:0;bottom:0;width:56%;height:100%;object-fit:contain;object-position:right bottom;z-index:0}.primary{display:inline-flex;align-items:center;justify-content:center;border:1px solid #165343;border-radius:7px;background:#165343;color:white;min-height:46px;padding:8px 17px;font-weight:750}.primary:hover{background:#0d4436}.worlds{margin:26px 0}.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}.section-title span,.progress p{color:var(--muted)}h2{margin:0;font-size:1.43rem;line-height:1.25}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.world{display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:182px;padding:13px 15px 16px;border:1px solid var(--tone-line);border-radius:8px;background:var(--tone);color:var(--ink);transition:transform .15s,border-color .15s}.world:hover{transform:translateY(-3px);border-color:#476d61}.math{--tone:#fff0d9;--tone-line:#ebcf9d}.words{--tone:#edeeff;--tone-line:#cdd1f3}.shapes{--tone:#e4f6eb;--tone-line:#bcdcca}.science{--tone:#fcecf2;--tone-line:#e9cad6}.tile-art{display:block;width:83px;height:72px;margin-bottom:8px}.tile-art svg{width:100%;height:100%}.world-name{font-size:1.18rem;line-height:1.2;font-weight:820;margin-bottom:5px;overflow-wrap:anywhere}.world-desc{font-size:.92rem;color:#3e514b;overflow-wrap:anywhere}.progress{scroll-margin-top:14px;border-block:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;padding:19px 0}.progress p{margin:5px 0 0}.stats{display:flex;gap:22px}.stats div{display:grid;min-width:84px}.stats b{font-size:1.25rem}.stats span{font-size:.88rem;color:var(--muted)}footer{display:flex;justify-content:space-between;gap:12px;font-size:.88rem;color:var(--muted);padding:19px 0 26px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}dialog{padding:0;border:1px solid #adc4b7;border-radius:8px;width:min(560px,calc(100% - 28px));max-height:calc(100% - 28px);max-height:calc(100dvh - 28px);background:#fff;color:var(--ink)}dialog::backdrop{background:#162a25a0}.game-head{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#e5f3e9;padding:13px 20px;border-bottom:1px solid var(--line)}.close{height:42px;width:42px;border:1px solid var(--line);border-radius:7px;background:white;font-size:1.65rem;color:var(--ink);line-height:1}.game-content{padding:20px}.game-content h3{font-size:1.5rem;margin:12px 0 14px;line-height:1.3;overflow-wrap:anywhere}.round-meta{display:flex;align-items:center;justify-content:space-between;gap:14px;color:var(--muted)}progress{height:12px;width:min(45%,200px);accent-color:#267d65}.answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.answer{min-height:56px;border:1px solid #b7cfc3;background:#f5faf6;color:var(--ink);border-radius:7px;font-size:1.07rem;font-weight:730;padding:8px;overflow-wrap:anywhere}.answer:hover:not(:disabled){border-color:#1b725c;background:#ddf2e7}.answer.wrong{background:#fae4de;border-color:#ca8272}.answer.right{background:#caf1d8;border-color:#2a815b}.answer:disabled{cursor:default}.feedback{min-height:2.9em;margin:12px 0;color:#245748;font-weight:640}.round-end{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.secondary{border:1px solid var(--line);border-radius:7px;background:white;min-height:46px;color:var(--ink);padding:8px 15px}.shape-preview{min-height:64px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 14px}.glyph{display:inline-block;width:43px;height:43px;background:#4c9dce;border:2px solid #1c5268}.glyph.circle{border-radius:50%;background:#ffc66e;border-color:#83501e}.glyph.square{border-radius:5px}.glyph.triangle{background:#86c9a8;border:0;clip-path:polygon(50% 0,100% 100%,0 100%)}.glyph.rectangle{width:62px;border-radius:4px;background:#c8b9f0;border-color:#54417c}.glyph.star{border:0;background:#f9b557;clip-path:polygon(50% 0,61% 35%,100% 37%,69% 60%,80% 100%,50% 75%,20% 100%,31% 60%,0 37%,39% 35%)}
@media(max-width:760px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quest-text{width:65%;padding:24px}.quest h1{font-size:2.2rem}.bar nav{gap:10px}.tools{gap:7px}}@media(max-width:500px){.wrap{width:calc(100% - 28px)}.bar{min-height:64px;flex-wrap:wrap;gap:8px;padding:9px 0}.bar nav{width:100%;order:3;justify-content:center;gap:28px}.brand{font-size:1.28rem}.brand-icon{width:30px;height:30px}.quest{margin-top:16px;min-height:270px;align-items:flex-start}.quest-text{width:100%;padding:17px 16px 94px}.quest h1{font-size:1.84rem}.quest p{max-width:26ch}.quest img{width:60%;height:112px}.section-title span{font-size:.81rem}.grid{gap:9px}.world{min-height:160px;padding:10px}.world-name{font-size:1.02rem}.world-desc{font-size:.87rem}.tile-art{width:70px;height:60px}.progress{align-items:flex-start;flex-direction:column}.stats{gap:18px}.game-content,.game-head{padding:14px}.game-content h3{font-size:1.27rem}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}} 
[hidden]{display:none!important}
