.ma{--ma-ink:#17384f;--ma-line:#d6e4ec;--ma-gold:#ffc84d;--ma-display:system-ui,sans-serif;color:#17384f;background:#edf5f9;border-radius:24px;font-family:system-ui,sans-serif;box-shadow:0 20px 55px #142c401a}.ma *,.ma :before,.ma :after{box-sizing:border-box}.ma button,.ma input{font:inherit}.ma :focus-visible{outline-offset:3px;outline:3px solid #147f96}.science-game-page .ma-simple .ma-head{color:#17384f;justify-content:space-between;align-items:center;gap:12px;padding:22px 24px 16px;display:flex}.ma-head h1{margin:0;font-weight:800}.ma-kicker{color:#486a7c;margin:0 0 4px;font-size:13px;font-weight:650}.ma-head__side{align-items:center;gap:8px;display:flex}.ma-score{color:#805819;background:#fff3cd;border-radius:99px;align-items:center;gap:6px;padding:9px 12px;display:flex}.ma-score svg{fill:#ffca4b;width:18px;height:18px}.ma-icon-button{color:#274e65;cursor:pointer;background:#fff;border:1px solid #c4d8e4;border-radius:50%;place-items:center;width:40px;height:40px;display:grid}.ma-icon-button svg{width:18px;height:18px}.ma-journey{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 24px 14px;padding:0;list-style:none;display:grid}.ma-journey li{color:#627b8a;background:#ffffff80;border:1px solid #d7e4ec;border-radius:12px;grid-template-columns:24px 1fr;align-items:center;gap:1px 7px;padding:10px 12px;font-size:13px;display:grid}.ma-journey li[aria-current]{color:#125a69;background:#ddf3f0;border-color:#72bcb5}.ma-journey li>span{background:#e3edf3;border-radius:50%;grid-row:span 2;place-items:center;width:24px;height:24px;font-weight:800;display:grid}.ma-journey li[aria-current]>span{color:#fff;background:#148b90}.ma-journey small{font-size:11px}.ma-simple .game-chapters{margin:0 24px 14px}.ma-simple .game-chapters__toggle{color:#36586e;background:#fff;border-color:#d6e4ec;min-height:42px;padding:8px 12px}.ma-simple .game-chapters__toggle svg{color:#48798c}.ma-simple .game-chapters__toggle span{color:inherit}.ma-simple .game-chapters__toggle strong{color:#315c70}.ma-steps{background:#fff;border-radius:12px;padding:12px}.ma-steps ol{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0;padding:0;list-style:none;display:grid}.ma-steps button{text-align:left;color:#264b63;cursor:pointer;background:#f3f8fb;border:1px solid #cbdde7;border-radius:10px;align-items:center;gap:8px;width:100%;padding:10px;font-size:13px;display:flex}.ma-steps button.is-active{background:#e1f4f1;border-color:#148b90}.ma-steps__no{font-weight:800}.ma-steps small{margin-top:3px;font-size:11px;display:block}.science-game-page .ma-simple .ma-grid{grid-template-columns:minmax(0,1fr);gap:12px;padding:0 24px 24px;display:grid}.ma-task-anchor{z-index:25;scroll-margin-top:98px;position:sticky;top:92px}.ma-simple .game-current-task{margin:0;position:static;box-shadow:0 3px 10px #14394c0d}.science-game-page .ma-simple .ma-facts{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.science-game-page .ma-simple .ma-facts li{background:#fff;border:1px solid #d4e3eb;border-radius:9px;align-items:center;gap:7px;padding:7px 11px;font-size:13px;display:flex}.ma-facts span{color:#577181}.ma-facts strong{font-variant-numeric:tabular-nums;font-weight:750}.ma-workspace{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:14px;display:grid}:is(.ma-workspace:has(.ma-win),.ma-workspace:not(:has(.ma-panel))){grid-template-columns:minmax(0,1fr)}.ma-workspace:not(:has(.ma-panel)) .ma-stage{justify-self:center;width:min(100%,760px)}.ma-simple .ma-stage{background:#e4f0f6;border:1px solid #c0d5e1;border-radius:16px;min-width:0;overflow:hidden}.ma-stage canvas{width:100%;display:block}.ma-scene-caption{color:#426275;background:#f8fcfe;border-top:1px solid #c4d9e5;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:5px 12px;margin:0;padding:10px 14px;font-size:13px;display:flex}.ma-scene-caption small{color:#557285;font-size:11px}.ma-panel{background:#fff;border:1px solid #d1e1e9;border-radius:16px;gap:14px;min-width:0;padding:18px;display:grid}.ma-step{gap:10px;display:grid}.ma-step h2{margin:0;font-size:15px;font-weight:750;line-height:1.4}.ma-machine-only{color:#577181;margin:0;font-size:13px}.ma-machines{flex-wrap:wrap;gap:7px;display:flex}.ma-machines button{color:#274e65;cursor:pointer;background:#f8fbfd;border:1.5px solid #c3d9e6;border-radius:10px;flex:100%;min-height:46px;padding:10px 12px;font-size:14px;font-weight:700}.ma-machines button[aria-pressed=true]{background:#e2f6f2;border-color:#148e93;box-shadow:inset 0 0 0 1px #148e93}.ma-setting{grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:6px;display:grid}.ma-setting button{color:#274d64;cursor:pointer;background:#f1f7fa;border:1px solid #c6dbe7;border-radius:10px;place-items:center;width:44px;height:44px;display:grid}.ma-setting button svg{width:18px;height:18px}.ma-setting output{text-align:center;font-variant-numeric:tabular-nums;font-size:23px;font-weight:800}.ma-range{accent-color:#148c91;cursor:ew-resize;width:100%;height:30px;margin:0}.ma-try{gap:10px;display:grid}.ma-status{color:#557181;margin:0;font-size:13px;line-height:1.55}.ma-status.is-fail{color:#873e25;background:#fff1e8;border-left:3px solid #d18146;border-radius:7px;padding:10px}.ma-button{color:#19394f;cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:50px;padding:13px 20px;font-size:16px;font-weight:800;text-decoration:none;display:inline-flex}.ma-button svg{width:19px;height:19px}.ma-button--primary{background:#ffcb4d;box-shadow:0 4px #c99523}.ma-simple .ma-button{font-size:16px;font-weight:800}.ma-button--primary:hover:not(:disabled){background:#ffd672}.ma button:disabled{opacity:.48;cursor:default}.ma-button:active:not(:disabled){transform:translateY(2px);box-shadow:0 2px #c99523}.ma-tools{flex-wrap:wrap;justify-content:space-between;gap:4px;display:flex}.ma-tools button,.ma-replay{color:#517183;cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;min-height:40px;padding:8px 3px;font-size:13px;display:flex}.ma-tools svg,.ma-replay svg{width:16px;height:16px}.ma-hint{color:#6d501c;background:#fff5d9;border-radius:10px;align-items:start;gap:6px;margin:0;padding:10px;font-size:13px;line-height:1.5;display:flex}.ma-hint svg{flex-shrink:0;width:18px;height:18px}.ma-win{color:#214b5a;background:#fff;border:1px solid #98cfc7;border-radius:16px;gap:14px;padding:22px;animation:.25s ease-out ma-in;display:grid}.ma-win__heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.ma-win h2{margin:4px 0 0;font-size:24px}.ma-win__stars{gap:3px;display:flex}.ma-win__stars svg{color:#c4d4dc;fill:#e9eff2;width:21px;height:21px}.ma-win__stars .is-on{color:#b47c13;fill:#ffd362}.ma-win__lead{margin:0;font-size:16px;font-weight:650;line-height:1.5}.ma-result-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;display:grid}.ma-result-facts div{background:#edf7f7;border-radius:10px;padding:12px}.ma-result-facts dt{color:#577181;font-size:12px}.ma-result-facts dd{margin:4px 0 0;font-size:22px;font-weight:800}.ma-explanation{border-top:1px solid #dce9ee;padding-top:12px;font-size:14px;line-height:1.6}.ma-explanation summary{cursor:pointer;color:#3e697f;font-weight:700}.ma-explanation p{margin:12px 0}.ma-table-wrap{overflow-x:auto}.ma-table{border-collapse:collapse;text-align:right;width:100%;font-size:13px}.ma-table caption{text-align:left;padding:8px 0;font-weight:700}.ma-table th,.ma-table td{white-space:nowrap;border-bottom:1px solid #dce6ed;padding:9px 8px}.ma-table th:first-child{text-align:left}.ma-replay{justify-self:start}.ma-win__done{align-items:center;gap:8px;margin:0;display:flex}.ma-win__done svg{width:20px}@keyframes ma-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media (max-width:900px){.ma-workspace{grid-template-columns:minmax(0,1fr)}.ma-machines button{flex:120px}.ma-panel{gap:12px}}@media (max-width:620px){.science-game-page .ma-simple .ma-head{padding:16px 14px 12px}.ma-journey{gap:5px;margin:0 12px 10px}.ma-journey li{grid-template-columns:20px 1fr;gap:3px;padding:8px 6px;font-size:12px}.ma-journey li>span{width:20px;height:20px}.ma-journey small{display:none}.ma-simple .game-chapters{margin:0 12px 10px}.science-game-page .ma-simple .ma-grid{gap:10px;padding:0 10px 14px}.ma-task-anchor{scroll-margin-top:92px;top:86px}.science-game-page .ma-simple .ma-facts{gap:5px;margin:0}.science-game-page .ma-simple .ma-facts li{padding:6px 8px;font-size:12px}.ma-facts li:last-child:nth-child(3){flex:100%}.ma-workspace{gap:10px}.ma-panel{padding:14px}.ma-scene-caption{padding:8px 10px;font-size:12px}.ma-scene-caption small{font-size:10px}.ma-win{padding:16px}.ma-win__heading{flex-wrap:wrap}.ma-win__heading .ma-button{width:100%}.ma-result-facts{gap:5px}.ma-result-facts div{padding:9px 7px}.ma-result-facts dt{font-size:11px}.ma-result-facts dd{font-size:19px}}@media (prefers-reduced-motion:reduce){.ma *{transition:none!important;animation:none!important}}
