.mdst-game{box-sizing:border-box;display:flex;min-height:100svh;width:100%;min-width:0;overflow-x:hidden;flex-direction:column;align-items:center;padding:68px 12px 18px;color:#153f4e;background:linear-gradient(180deg,#c9f4ff,#fff1c4 70%,#ffd0b2)!important}.mdst-game *,.mdst-game :after,.mdst-game :before,.mdst-success-modal *{text-shadow:none!important}.mdst-game button,.mdst-game button *,.mdst-success-modal button,.mdst-success-modal button *{filter:none!important}.mdst-success-modal #success-title{-webkit-text-stroke:0!important;text-shadow:none!important}.mdst-page-heading{position:relative;z-index:2;width:min(1100px,100%);margin:0 auto 14px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;text-align:center}.mdst-page-heading p{margin:0 0 4px;color:#087f91;font-size:12px;font-weight:950;letter-spacing:.16em}.mdst-page-heading h1{max-width:100%;margin:0 auto;color:#0b5267;font-size:clamp(29px,4.8vw,49px);line-height:1.02;letter-spacing:-.045em;text-wrap:balance;text-shadow:0 2px 0 #fff!important}.mdst-page-heading>span{display:block;max-width:820px;margin:7px auto 0;color:#526b72;font-size:clamp(14px,2vw,17px);line-height:1.35}.mdst-stage{position:relative;isolation:isolate;width:min(1180px,100%);min-width:0;height:clamp(760px,65vw,810px);overflow:hidden;border:6px solid #fff;border-radius:38px;background:#83d6e9;box-shadow:0 18px 38px #62402745}.mdst-background{z-index:-2;object-fit:cover;object-position:center;pointer-events:none;user-select:none}.mdst-stage:after{position:absolute;z-index:-1;inset:0;content:"";pointer-events:none;background:linear-gradient(180deg,#d9fbff20,transparent 32%,#0a435046)}.mdst-prompt{position:relative;z-index:30;display:grid;width:min(820px,calc(100% - 330px));min-height:82px;margin:14px auto 0;box-sizing:border-box;padding:9px 12px;grid-template-columns:50px 1fr 50px;align-items:center;gap:10px;border:2px solid #fff;border-radius:22px;background:linear-gradient(90deg,#fff2d9f5,#fffefbf8 18%,#fffefbf8 82%,#fff2d9f5);box-shadow:0 7px 0 #174b597d}.mdst-prompt>button,.mdst-prompt>span{display:grid;width:48px;height:48px;min-width:48px;place-items:center;border:0;border-radius:50%}.mdst-prompt>span{color:#fff;background:linear-gradient(145deg,#36d7d0,#087f91)}.mdst-prompt>button{cursor:pointer;color:#fff;background:linear-gradient(180deg,#ff9b75,#e84d59);box-shadow:inset 0 2px 0 #ffd8c7,0 4px 0 #a73745}.mdst-prompt>button:disabled{cursor:default;opacity:.55}.mdst-prompt svg{width:25px;height:25px}.mdst-prompt>div{min-width:0}.mdst-prompt small{display:block;margin-bottom:2px;color:#16838c;font-size:11px;font-weight:950;letter-spacing:.14em}.mdst-prompt h2{margin:0;overflow-wrap:anywhere;color:#0a3447;font-size:clamp(17px,1.8vw,22px);font-weight:950;line-height:1.2;text-wrap:balance}.mdst-hud{position:relative;z-index:30;display:flex;width:min(690px,calc(100% - 440px));min-height:38px;margin:8px auto 0;align-items:center;justify-content:space-between;gap:10px;color:#124f60;font-size:13px;font-weight:950}.mdst-hud>span{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:999px;background:#fff8dfee}.mdst-hud svg{width:19px;height:19px;color:#d9960f}.mdst-hud strong{font-size:18px}.mdst-progress{display:flex;align-items:center;gap:6px}.mdst-progress i{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;color:#176a76;background:#fff8dfeb;font-style:normal;font-size:11px}.mdst-progress i.is-current{box-shadow:0 0 0 3px #ffd65e}.mdst-progress i.is-done{color:#fff;background:#24a989}.mdst-machine{position:absolute;z-index:10;top:50%;left:40%;width:min(635px,58%);aspect-ratio:1.5;transform:translate(-50%,-50%)}.mdst-console-art{z-index:0;object-fit:contain;pointer-events:none;user-select:none}.mdst-place-labels{z-index:4;top:27%;grid-template-columns:repeat(3,25%);justify-content:space-between;color:#f7fff8;font-size:clamp(7px,.9vw,11px);font-weight:950;letter-spacing:.06em;text-align:center}.mdst-equation,.mdst-place-labels{position:absolute;left:23.4%;display:grid;width:53.34%}.mdst-equation{z-index:5;top:34%;height:31.5%;grid-template-rows:repeat(3,1fr);color:#fff8d4}.mdst-equation-row{position:relative;display:grid;grid-template-columns:repeat(3,25%);align-items:center;justify-content:space-between}.mdst-digit{position:relative;z-index:2;display:grid;width:calc(100% - 8px);min-width:0;height:84%;overflow:visible;box-sizing:border-box;justify-self:center;place-items:center;border-radius:12px;color:#f7fff8;font-size:clamp(24px,3.6vw,46px);font-weight:950;line-height:1}.mdst-digit.is-socket{color:#173e4e;background:#fff5b7;box-shadow:inset 0 0 0 4px #fff,0 0 0 3px #ffc83d,0 0 18px 7px #fff16bb5;animation:mdst-socket-glow 1s ease-in-out infinite alternate}.mdst-digit.is-socket.is-wrong{color:#fff;background:#d85c57;box-shadow:inset 0 0 0 4px #fff,0 0 0 3px #a7353a;animation:mdst-wrong-shake .3s ease-in-out}.mdst-digit.is-socket.is-correct{color:#0b523e;background:#a7f2a9;box-shadow:inset 0 0 0 4px #fff,0 0 0 3px #2ba56e,0 0 22px 9px #d8ff7eb8;animation:none}.mdst-operator{position:absolute;z-index:3;top:50%;right:100%;display:grid;width:clamp(28px,3vw,38px);aspect-ratio:1;transform:translateY(-50%);place-items:center;border:2px solid #ffdc71;border-radius:10px;color:#fff;background:#0b4654;font-size:clamp(22px,2.8vw,34px);font-weight:950;line-height:1}.mdst-row-answer:before{content:"";position:absolute;z-index:1;top:0;left:12.5%;width:75%;height:2px;transform:translateY(-50%);border-radius:999px;background:#ffdc71}.mdst-signal-lights{position:absolute;z-index:6;bottom:15.5%;left:34%;display:flex;width:33%;justify-content:space-between}.mdst-signal-lights i{width:clamp(10px,1.4vw,17px);aspect-ratio:1;border-radius:50%;background:#5f553f;box-shadow:inset 0 1px 2px #0007}.mdst-signal-lights i.is-active{background:#ffd84d;box-shadow:0 0 9px 4px #fff173}.mdst-signal-lights i.is-lit{background:#49e1a2;box-shadow:0 0 8px 3px #b9ffd2}.mdst-digit-dock{position:absolute;z-index:20;top:220px;right:clamp(18px,4vw,54px);width:300px;box-sizing:border-box;padding:14px 14px 17px;border:4px solid #fff5c8;border-radius:28px;color:#123f50;background:linear-gradient(180deg,#fff9e6f3,#ffe5a8f3);box-shadow:0 8px 0 #7f542b,0 12px 25px #143f493b;text-align:center}.mdst-digit-dock h3{display:flex;margin:0;align-items:center;justify-content:center;gap:6px;color:#0b6971;font-size:clamp(12px,1.4vw,16px);font-weight:950;letter-spacing:.04em}.mdst-digit-dock h3 svg{width:22px;height:22px}.mdst-digit-dock>p{margin:5px 0 12px;color:#725329;font-size:12px;font-weight:850}.mdst-digit-dock>div{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.mdst-digit-dock button{display:grid;min-width:48px;min-height:50px;padding:4px;cursor:pointer;place-items:center;border:3px solid #fff;border-radius:15px;color:#123f50;background:linear-gradient(180deg,#ffe875,#ffa839);box-shadow:inset 0 2px 0 #fff8bd,0 4px 0 #a85a27;font:inherit;font-size:clamp(23px,2.8vw,32px);font-weight:950;transition:transform .15s ease,background .15s ease}.mdst-digit-dock button.is-selected{color:#fff;background:linear-gradient(180deg,#23cbb7,#087f91);box-shadow:inset 0 2px 0 #bafff2,0 0 0 4px #fff,0 0 0 8px #9d4dff;transform:translateY(-4px)}.mdst-digit-dock button:disabled{cursor:default;opacity:.5}.mdst-actions{position:absolute;z-index:35;right:clamp(18px,4vw,54px);bottom:130px;display:flex;width:300px;flex-direction:column;gap:9px}.mdst-actions button{display:flex;min-height:54px;padding:9px 14px;cursor:pointer;align-items:center;justify-content:center;gap:8px;border:3px solid #fff;border-radius:20px;font:inherit;font-size:clamp(14px,1.6vw,18px);font-weight:950}.mdst-actions svg{width:23px;height:23px}.mdst-clear{color:#5f4b32;background:#fff7dfef;box-shadow:0 5px 0 #9d7448}.mdst-check{color:#fff;background:linear-gradient(180deg,#42d8ba,#079178);box-shadow:0 5px 0 #086653}.mdst-actions button:disabled{cursor:default;opacity:.5}.mdst-actions button:focus-visible,.mdst-digit-dock button:focus-visible,.mdst-prompt>button:focus-visible{outline:4px solid #fff36a;outline-offset:3px}.mdst-feedback{position:absolute;z-index:30;right:12%;bottom:22px;display:flex;width:min(730px,62%);min-height:58px;box-sizing:border-box;padding:9px 20px;align-items:center;justify-content:center;gap:10px;border:2px solid #fff;border-radius:20px;color:#124f60;background:#fff8e9ef;text-align:center}.mdst-feedback svg{width:22px;min-width:22px;color:#078f96}.mdst-feedback p{margin:0;font-size:clamp(13px,1.65vw,18px);font-weight:900;line-height:1.25}.mdst-result-correct .mdst-feedback{color:#07523f;background:#e4ffddf5}.mdst-result-wrong .mdst-feedback{color:#7f3232;background:#fff0eafa}.mdst-mascot{position:absolute!important;z-index:24!important;bottom:2px!important;left:14px!important;width:clamp(158px,19.5vw,225px)!important;height:clamp(158px,19.5vw,225px)!important;pointer-events:none}@keyframes mdst-socket-glow{0%{transform:scale(.97)}to{transform:scale(1)}}@keyframes mdst-wrong-shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}@media (max-width:900px){.mdst-stage{height:900px}.mdst-prompt{width:calc(100% - 116px);margin-left:14px}.mdst-hud{width:calc(100% - 156px);margin-left:18px}.mdst-machine{top:50%;left:34.3%;width:min(610px,68%)}.mdst-digit-dock{top:265px;right:16px;width:215px}.mdst-digit-dock>div{grid-template-columns:repeat(3,1fr)}.mdst-actions{right:16px;width:215px}}@media (max-width:560px){.mdst-game{padding:58px 0 12px}.mdst-page-heading{box-sizing:border-box;margin-bottom:10px;padding-inline:10px!important}.mdst-page-heading h1{font-size:31px}.mdst-page-heading>span{font-size:14px}.mdst-stage{width:100%;height:980px;border-width:0;border-radius:0}.mdst-background{object-position:51% top}.mdst-prompt{width:calc(100% - 18px);min-height:94px;margin:9px auto 0;padding:8px;grid-template-columns:40px 1fr 40px;gap:7px;border-radius:18px}.mdst-prompt>button,.mdst-prompt>span{width:40px;height:40px;min-width:40px}.mdst-prompt h2{font-size:15px}.mdst-prompt small{font-size:9px}.mdst-hud{width:calc(100% - 20px);margin:6px auto 0}.mdst-hud>span{padding:2px 6px}.mdst-hud strong{font-size:15px}.mdst-progress{gap:4px}.mdst-progress i{width:25px;height:25px}.mdst-machine{top:50%;left:50%;width:calc(100% - 8px);max-width:390px}.mdst-place-labels{font-size:7px}.mdst-digit{font-size:clamp(23px,7vw,28px)}.mdst-digit-dock{top:630px;right:50%;width:min(330px,calc(100% - 28px));padding:9px 11px 12px;transform:translateX(50%);border-radius:22px}.mdst-digit-dock>p{margin-bottom:8px}.mdst-digit-dock>div{grid-template-columns:repeat(5,1fr);gap:6px}.mdst-digit-dock button,.mdst-digit-dock button:last-child{grid-column:auto;min-width:0;min-height:48px;border-radius:13px;font-size:24px}.mdst-actions{top:830px;right:50%;bottom:auto;width:min(330px,calc(100% - 28px));flex-direction:row;transform:translateX(50%)}.mdst-actions button{flex:1;min-width:0;min-height:50px;padding-inline:8px;font-size:14px}.mdst-feedback{right:50%;bottom:18px;width:min(330px,calc(100% - 28px));min-height:80px;padding:8px 10px;transform:translateX(50%)}.mdst-feedback p{font-size:13px}.mdst-mascot{left:-15px!important;bottom:180px!important;width:98px!important;height:98px!important}}@media (max-width:370px){.mdst-page-heading h1{font-size:28px}.mdst-stage{height:1000px}.mdst-digit-dock{top:630px}.mdst-actions{top:830px}}@media (max-height:500px) and (orientation:landscape) and (min-width:561px){.mdst-game{padding-top:54px}.mdst-stage{height:680px}.mdst-machine{top:50%;left:32%;width:54%}.mdst-digit-dock{top:220px;right:18px;width:310px}.mdst-digit-dock>div{grid-template-columns:repeat(5,1fr)}.mdst-actions{right:18px;bottom:110px;width:310px}}@media (prefers-reduced-motion:reduce){.mdst-digit.is-socket,.mdst-digit.is-socket.is-wrong{animation:none!important}}