body.ms-open{overflow:hidden}#maya-shapes{position:fixed;inset:0;margin:0;padding:0;border:0;width:100vw;height:100dvh;max-width:none;max-height:none;background:#eff8ff;color:#493967;font-family:inherit;overflow:auto}#maya-shapes *{box-sizing:border-box}#maya-shapes button{font:inherit;font-weight:800;border:0;cursor:pointer;border-radius:18px;min-height:46px;padding:10px 18px;background:#fff;color:#624487;box-shadow:0 4px 0 #d5c7e9}#maya-shapes button:focus-visible{outline:4px solid #7048b3;outline-offset:3px}#maya-shapes button:disabled{opacity:.4;cursor:default}.ms-world{min-height:100%;position:relative;background:radial-gradient(circle at 7% 30%,#ffe7a9 0 8%,transparent 8.2%),radial-gradient(circle at 95% 65%,#d7c5ff 0 12%,transparent 12.2%),linear-gradient(150deg,#e7f8ff,#fff5e6);padding:18px 24px 140px;overflow:hidden}.ms-world header{display:flex;justify-content:space-between;align-items:center;max-width:1050px;margin:auto;gap:12px}.ms-world header b{font-size:20px}.ms-world main{max-width:900px;margin:auto}.ms-welcome{text-align:center;padding:40px 0 15px}.ms-welcome>span{font-size:11px;font-weight:900;letter-spacing:2px;color:#9874bb}.ms-welcome h1{font-size:clamp(30px,5vw,48px);margin:14px 0 24px}.ms-shape-menu{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:640px;margin:0 auto 28px}#maya-shapes .ms-shape-menu button{background:#ffffffb8;padding:10px}.ms-shape-menu svg{display:block;width:100%;height:115px}.ms-shape-menu b{font-size:15px}#maya-shapes .ms-start{background:#9366d1;color:#fff;padding:14px 28px;box-shadow:0 5px #754aac}.ms-maya{position:absolute;bottom:14px;left:max(18px,calc((100% - 950px)/2));display:flex;align-items:center;gap:8px;pointer-events:none}.ms-maya img{width:105px;height:122px;object-fit:contain}.ms-maya span{background:white;border-radius:22px 22px 22px 3px;padding:16px 20px;max-width:330px;font-weight:800;font-size:16px;box-shadow:0 5px 18px #6b4a7d0d}.ms-lesson-title{display:flex;align-items:center;justify-content:space-between;max-width:600px;margin:14px auto 10px}.ms-lesson-title h1{font-size:30px;margin:0}.ms-lesson-title>span{font-weight:800;color:#9b84b5}.ms-paper{position:relative;width:min(100%,62vh,600px);aspect-ratio:1;margin:auto;background:#fffdf8;border:7px solid white;border-radius:25px;box-shadow:0 7px 0 #d9cfea,0 12px 32px #5e477519;background-image:radial-gradient(#e9e1ee 1px,transparent 1px);background-size:20px 20px}.ms-paper canvas,.ms-guide{position:absolute;inset:0;width:100%;height:100%;border-radius:18px}.ms-paper canvas{touch-action:none}.ms-guide{pointer-events:none;z-index:1}.ms-base{fill:none;stroke:#c8bad6;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.ms-demo{fill:none;stroke-width:15;stroke-linecap:round;stroke-linejoin:round}.ms-tools{max-width:600px;margin:18px auto 0;display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap}.ms-meter{height:13px;background:#e4d9ef;border-radius:12px;flex:1;overflow:hidden;max-width:300px}.ms-meter i{display:block;height:100%;background:#59bc91;transition:width .15s;width:0}.ms-palette{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}#maya-shapes .ms-palette button{width:44px;height:44px;min-height:44px;border-radius:50%;padding:0;background:var(--paint);box-shadow:0 3px #0002;border:4px solid white}#maya-shapes .ms-palette button[aria-pressed=true]{outline:3px solid #73568f;outline-offset:2px}.ms-paint-actions{display:flex;gap:12px}#maya-shapes [data-ms=done]{background:#40ad7d;color:white;box-shadow:0 4px #29865e}.ms-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}.ms-confetti i{position:absolute;top:-20px;left:var(--x);width:10px;height:15px;background:var(--c);animation:ms-fall 2.5s var(--d) ease-in forwards}@keyframes ms-fall{to{transform:translate(30px,110vh) rotate(620deg);opacity:0}}@media(max-width:600px){.ms-world{padding:12px 14px 115px}.ms-world header b{font-size:16px}.ms-welcome{padding-top:25px}.ms-shape-menu{gap:12px;grid-template-columns:repeat(2,1fr)}.ms-shape-menu svg{height:95px}.ms-maya{left:12px;bottom:8px}.ms-maya img{width:70px;height:90px}.ms-maya span{font-size:13px;padding:12px;max-width:250px}.ms-paper{width:min(100%,54vh)}.ms-lesson-title h1{font-size:26px}.ms-tools{gap:10px;margin-top:15px}.ms-palette{gap:8px}#maya-shapes .ms-palette button{width:36px;height:36px;min-height:36px}.ms-paint-actions button{padding:8px 16px}.ms-lesson-title{margin-top:16px}}@media(prefers-reduced-motion:reduce){.ms-confetti i{animation:none;display:none}.ms-meter i{transition:none}}
#maya-shapes{border-radius:0}@media(max-width:600px){#maya-shapes[data-phase=welcome] .ms-welcome{padding-top:12px}#maya-shapes[data-phase=welcome] .ms-welcome h1{margin:12px 0 18px}#maya-shapes[data-phase=welcome] .ms-shape-menu svg{height:80px}#maya-shapes[data-phase=welcome] .ms-shape-menu{margin-bottom:20px}}
