:root{color:#493a32;font-synthesis:none;background:#d8e5da;font-family:Trebuchet MS,Avenir,system-ui,sans-serif;font-weight:600}*{box-sizing:border-box}body{background:radial-gradient(at 50% 30%,#f6f3d9 0,#dce9de 50%,#b4cbc6 100%);min-height:100dvh;margin:0}button,select{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,summary:focus-visible,select:focus-visible{outline-offset:4px;outline:3px solid #277a86}button:disabled{cursor:default}button{touch-action:manipulation}button[hidden],[hidden]{display:none!important}.app{width:min(100%,460px);margin:auto;padding:12px 18px 8px}.topbar{align-items:center;gap:10px;height:48px;display:flex}.brand{color:#493a32;letter-spacing:-1.4px;background:0 0;border:0;margin-right:auto;padding:0;font-size:25px;font-weight:900}.brand>span:last-child{color:#a3633c}.brand-ring{vertical-align:-2px;margin-right:3px;font-size:34px}.icon-button{background:#fff4dc;border:2px solid #59493c;border-radius:12px;width:40px;height:38px;font-size:18px;font-weight:900;box-shadow:0 2px #bfb698}.levelbar{letter-spacing:1.7px;color:#687d70;justify-content:space-between;padding:10px 4px 12px;font-size:10px;display:flex}#count{letter-spacing:.6px}.stage{aspect-ratio:420/650;isolation:isolate;background:#aedee0;border:3px solid #594b3d;border-radius:24px;width:100%;position:relative;overflow:hidden;box-shadow:0 7px #a8b7a1,0 18px 40px #60746b26}canvas{touch-action:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.hint{text-align:center;color:#556c61;height:32px;margin:18px 0 0;font-size:12px;line-height:16px}.hint.invalid{color:#a34c33}footer{text-align:center;letter-spacing:2.3px;color:#849385;padding:2px 0 9px;font-size:8px}.overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#3b493d38;place-items:center;padding:20px;display:grid;position:absolute;inset:0}.overlay:empty{display:none}.panel{text-align:center;background:#fff4dc;border:3px solid #594235;border-radius:22px;width:100%;max-height:100%;padding:24px 22px;overflow:auto;box-shadow:0 7px #473c3333}.eyebrow{letter-spacing:2.2px;color:#8f795c;margin:0 0 9px;font-size:9px;font-weight:800}.panel h1,.panel h2{letter-spacing:-1px;margin:0 0 10px;font-size:29px;line-height:1.05}.panel p{color:#7e715e;margin:9px 0 16px;font-size:12px;line-height:1.55}.panel .subtitle{max-width:240px;margin:0 auto 21px}.level-grid{grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0;display:grid}.level{color:#afa084;background:#eadfc7;border:2px solid #d5c5a5;border-radius:13px;height:54px;font-size:21px;font-weight:900;position:relative}.level.available{color:#6d4b32;background:#fcdf9a;border-color:#b58c56;box-shadow:0 3px #d1b17b}.level.selected{color:#fff7df;background:#668f78;border-color:#3f6657;box-shadow:0 3px #456858}.level.complete:after{content:"✓";color:#426b54;font-size:11px;position:absolute;top:1px;right:4px}.level small{font-size:8px;display:block}.primary,.secondary{border-radius:13px;width:100%;min-height:46px;padding:11px 14px;font-size:14px;font-weight:800;display:block}.primary{color:#503b2b;background:#ecc077;border:2px solid #714e32;box-shadow:0 4px #bc8a50}.primary:hover{background:#f5ce8c}.primary:active{transform:translateY(2px);box-shadow:0 2px #bc8a50}.secondary{color:#7c6b52;background:0 0;border:2px solid #dccdb1;margin-top:13px}.selected-info{color:#8f795c;min-height:37px;margin-bottom:16px;font-size:11px;line-height:1.7}.selected-info strong{color:#4f6557;font-size:13px;display:block}.howto{color:#8a7658;border-top:1px solid #dfcfb0;justify-content:space-around;gap:6px;margin:20px 0 0;padding-top:15px;font-size:10px;display:flex}.howto b{color:#537565;margin-bottom:3px;font-size:19px;display:block}.medallion{color:#765332;background:#f4ce82;border:3px solid #755037;border-radius:50%;place-items:center;width:70px;height:70px;margin:0 auto 17px;font-size:34px;display:grid;box-shadow:inset 0 0 0 6px #ffe4a8}.dev-tools{color:#5e6b60;border:1px dashed #96ab9b;border-radius:8px;margin:18px 0;padding:10px;font-size:11px}.dev-tools summary{cursor:pointer}.dev-tools div{flex-wrap:wrap;gap:8px;padding-top:12px;display:flex}.dev-tools button,.dev-tools select{background:#eef0dc;border:1px solid #aab79d;border-radius:5px;padding:7px}.dev-tools label{width:100%;padding:5px}.storage-warning,.noscript{text-align:center;color:#9b513e;font-size:12px}.practice-badge{color:#957040}@media (width>=600px){.app{width:min(460px,64.6dvh - 51.21px);min-width:330px;padding-top:18px}.stage{border-radius:26px}}@media (height<=740px) and (width<=599px){.app{width:min(100%,64.6dvh - 52.874px);padding:5px 12px}.topbar{height:40px}.brand{font-size:21px}.levelbar{padding:7px 2px}.hint{margin-top:13px;font-size:11px}.panel{padding:17px 15px}.panel h1{font-size:25px}.level{height:45px}.level-grid{gap:7px}.howto{margin-top:15px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto}}.levelbar{gap:12px}#level-label{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}#count{flex-shrink:0}
