.mftr-game{min-height:100vh;padding:68px 12px 18px;color:#143e4b;background:linear-gradient(180deg,#fff9e8,#eafbff)}.mftr-game *,.mftr-game :after,.mftr-game :before{box-sizing:border-box;text-shadow:none}.mftr-heading{width:min(1180px,100%);margin:0 auto 15px;text-align:center}.mftr-heading p{margin:0;color:#9a4d27;font-size:12px;font-weight:1000;letter-spacing:.18em;text-transform:uppercase}.mftr-heading h1{margin:3px 0 1px;color:#17475a;font-size:clamp(32px,4.5vw,54px);font-weight:1000;line-height:1.04}.mftr-heading span{color:#4b6972;font-size:clamp(14px,1.5vw,18px);font-weight:750}.mftr-stage{position:relative;width:min(1180px,100%);min-height:clamp(660px,calc(100svh - 168px),790px);margin:0 auto;overflow:hidden;isolation:isolate;border:6px solid #fff;border-radius:38px;background:#174a55;box-shadow:0 20px 46px #173e4a32}.mftr-background{z-index:-3;object-fit:cover;object-position:center}.mftr-readable-wash{position:absolute;z-index:-2;inset:0;pointer-events:none;background:linear-gradient(180deg,#083e4b20 0 18%,transparent 38%,#082f3924)}.mftr-prompt{position:absolute;z-index:22;top:20px;left:50%;display:grid;width:min(770px,calc(100% - 400px));min-height:88px;grid-template-columns:54px 1fr 52px;align-items:center;gap:11px;padding:11px 15px;transform:translateX(-50%);border:0;border-radius:25px;background:#fff9e9f5;box-shadow:0 7px 0 #b77a37,0 14px 24px #082c3340;backdrop-filter:none}.mftr-prompt>button,.mftr-prompt>span{display:grid;width:50px;height:50px;place-items:center;border:0;border-radius:50%;color:#fff;background:linear-gradient(#23ad9d,#138276);box-shadow:0 5px 0 #0d5e58}.mftr-prompt>button{cursor:pointer}.mftr-prompt svg{width:26px;height:26px}.mftr-prompt small{color:#a5532c;font-size:10px;font-weight:1000;letter-spacing:.14em}.mftr-prompt h2{margin:1px 0 0;color:#153e4b;font-size:clamp(18px,2.1vw,27px);font-weight:1000;line-height:1.12}.mftr-prompt>button:disabled{cursor:not-allowed;opacity:.55}.mftr-hud{top:21px;min-width:142px;min-height:42px;align-items:center;justify-content:space-between;gap:14px;padding:8px 13px;border:0;border-radius:17px;color:#fff;background:#144b5def;box-shadow:0 5px 0 #082f3a;font-size:15px;font-weight:1000}.mftr-hud,.mftr-progress{position:absolute;z-index:21;right:19px;display:flex}.mftr-progress{top:73px;gap:6px}.mftr-progress i{display:grid;width:31px;height:31px;place-items:center;border:3px solid #fff;border-radius:50%;color:#154452;background:#fff9e8;box-shadow:0 3px 0 #bd863f;font-size:12px;font-style:normal;font-weight:1000}.mftr-progress i.current{color:#7653c8;outline:4px solid #f7d84c}.mftr-progress i.done{color:#fff;background:#20a981;box-shadow:0 3px 0 #0d6e57}.mftr-progress svg{width:17px}.mftr-workspace{position:absolute;z-index:8;top:128px;bottom:62px;left:44%;display:grid;width:min(790px,68%);grid-template-rows:auto 1fr auto;align-content:center;gap:12px;transform:translateX(-50%)}.mftr-equation{display:flex;min-height:84px;align-items:center;justify-content:center;gap:clamp(12px,2.2vw,26px);padding:9px 18px;border:0;border-radius:25px;color:#fff;background:linear-gradient(135deg,#0f5269f2,#173c61f2);box-shadow:0 8px 0 #0b2b43,0 14px 24px #082b3540}.mftr-equation>b{color:#ffe174;font-size:clamp(28px,4vw,48px)}.mftr-question-mark{color:#8df4d0;font-size:clamp(34px,5vw,58px);font-weight:1000}.mftr-number{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:clamp(25px,3.5vw,43px);font-weight:1000;line-height:1}.mftr-fraction{display:inline-grid;min-width:1.25em;grid-template-rows:1fr 1fr;justify-items:center;line-height:.9}.mftr-fraction i{display:block;width:100%;padding:1px 3px;font-style:normal;text-align:center}.mftr-fraction i:first-child{border-bottom:3px solid}.mftr-phase-panel{display:grid;align-self:center;min-height:310px;align-content:center;justify-items:center;padding:16px 19px 18px;border:0;border-radius:29px;color:#143e4b;background:#fff9ebf3;box-shadow:0 9px 0 #b87932,0 17px 28px #082d3445}.mftr-phase-title{display:flex;align-items:center;justify-content:center;gap:9px;text-align:left}.mftr-phase-title>svg{width:37px;height:37px;padding:7px;border-radius:12px;color:#fff;background:#7555c9}.mftr-phase-title small{display:block;color:#a34f2b;font-size:10px;font-weight:1000;letter-spacing:.13em}.mftr-phase-title strong{display:block;color:#17475a;font-size:clamp(19px,2.4vw,27px);font-weight:1000}.mftr-step-copy{margin:17px 0 12px;color:#335e66;font-size:clamp(16px,2vw,21px);font-weight:850}.mftr-answer-row,.mftr-choice-row{display:flex;flex-wrap:wrap;justify-content:center;gap:13px}.mftr-answer-row button,.mftr-choice-row button{min-width:116px;min-height:66px;padding:8px 20px;border:4px solid #fff;border-radius:19px;color:#fff;background:linear-gradient(#7b66dd,#5743bc);box-shadow:0 7px 0 #3b2c83;cursor:pointer;font-size:clamp(23px,3vw,34px);font-weight:1000;touch-action:manipulation}.mftr-answer-row button.selected,.mftr-choice-row button.selected{outline:5px solid #ffdb4d;outline-offset:2px}.mftr-answer-row button:disabled,.mftr-choice-row button:disabled{cursor:not-allowed;opacity:.65}.mftr-answer-row button{min-width:150px}.mftr-answer-row .mftr-number{font-size:clamp(22px,3vw,34px)}.mftr-model-panel{min-height:340px}.mftr-conversion{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:10px 0 8px}.mftr-conversion span{padding:7px 12px;border-radius:11px;color:#17475a;background:#ddf9f1;font-size:15px;font-weight:850}.mftr-conversion b{color:#6d4dc0}.mftr-model{display:grid;width:min(650px,100%);gap:7px;margin:4px auto 12px}.mftr-strip{display:grid;width:100%;min-height:42px;grid-template-columns:repeat(var(--pieces),minmax(2px,1fr));gap:2px;padding:4px;border:3px solid #0d5560;border-radius:13px;background:#eef6ed}.mftr-strip i{border-radius:5px;background:#dce5df}.mftr-strip i.filled{background:linear-gradient(#57d8cb,#20a49d)}.mftr-strip i.removed{background:repeating-linear-gradient(135deg,#ff8c71 0 5px,#ffd1c5 5px 9px)}.mftr-exchange{min-height:54px;padding:8px 22px;border:4px solid #fff;border-radius:18px;color:#fff;background:linear-gradient(#ff916f,#e84f63);box-shadow:0 7px 0 #9c3049;cursor:pointer;font-size:clamp(14px,2vw,19px);font-weight:1000}.mftr-exchange:disabled{cursor:not-allowed;opacity:.6}.mftr-raw-result{display:flex;min-height:88px;align-items:center;justify-content:center;gap:14px;margin:12px 0 16px;padding:9px 18px;border-radius:19px;color:#17475a;background:#dcf7ee;font-size:17px;font-weight:900}.mftr-raw-result .mftr-number{color:#6a49bc;font-size:clamp(27px,4vw,42px)}.mftr-hint-zone{display:grid;min-height:54px;grid-template-columns:auto 1fr;align-items:center;gap:10px;padding:7px 10px;border:0;border-radius:18px;background:#fff1bdf2;box-shadow:0 5px 0 #b98237}.mftr-hint-zone button{display:inline-flex;min-height:42px;align-items:center;gap:6px;padding:7px 12px;border:0;border-radius:13px;color:#643f0b;background:#ffd55a;cursor:pointer;font-size:11px;font-weight:1000}.mftr-hint-zone button:disabled{cursor:default;opacity:.6}.mftr-hint-zone svg{width:17px}.mftr-hint-zone p{margin:0;color:#584519;font-size:clamp(12px,1.3vw,15px);font-weight:800;line-height:1.25}.mftr-hint-zone p b{color:#9b4a29}.mftr-mascot{position:absolute;z-index:11;right:8px;bottom:35px;width:clamp(170px,20vw,240px);aspect-ratio:1;pointer-events:none}.mftr-mascot .mftr-mascot-art{width:100%}.mftr-feedback{position:absolute;z-index:20;right:22%;bottom:8px;left:12%;display:flex;min-height:38px;align-items:center;justify-content:center;gap:7px;color:#fff}.mftr-feedback svg{width:18px;color:#ffdc5c}.mftr-feedback p{margin:0;font-size:clamp(12px,1.4vw,16px);font-weight:950;text-align:center}.mftr-answer-row button:focus-visible,.mftr-choice-row button:focus-visible,.mftr-exchange:focus-visible,.mftr-hint-zone button:focus-visible,.mftr-prompt>button:focus-visible{outline:5px solid #ffe04d;outline-offset:3px}.mftr-status-wrong .mftr-phase-panel{animation:mftr-wiggle .4s ease-in-out}.mftr-status-correct .mftr-phase-panel{outline:5px solid #62e7ae;outline-offset:-5px}@keyframes mftr-wiggle{30%{transform:translateX(-5px)}70%{transform:translateX(5px)}}@media (max-width:1000px){.mftr-prompt{left:40%;width:min(690px,calc(100% - 340px))}.mftr-workspace{left:40%;width:68%}.mftr-mascot{right:4px;width:185px}.mftr-feedback{right:200px;left:20px}}@media (max-width:760px){.mftr-stage{min-height:920px}.mftr-prompt{top:12px;left:12px;width:calc(100% - 24px);min-height:76px;grid-template-columns:44px 1fr 44px;transform:none;border-radius:21px}.mftr-prompt>button,.mftr-prompt>span{width:42px;height:42px}.mftr-prompt h2{font-size:clamp(16px,4.2vw,22px)}.mftr-hud{top:98px;left:16px;right:auto}.mftr-progress{top:103px;right:16px}.mftr-workspace{top:149px;bottom:168px;left:50%;width:calc(100% - 28px);transform:translateX(-50%)}.mftr-mascot{right:4px;bottom:28px;width:136px}.mftr-feedback{right:150px;left:12px;justify-content:flex-start}.mftr-feedback p{text-align:left}}@media (max-width:560px){.mftr-game{padding:66px 5px 10px}.mftr-heading{margin-bottom:9px;padding-inline:7px}.mftr-heading p{font-size:9px}.mftr-heading h1{font-size:clamp(27px,8.7vw,39px)}.mftr-heading span{font-size:12px}.mftr-stage{min-height:max(960px,calc(100svh - 126px));border-width:4px;border-radius:25px}.mftr-prompt{grid-template-columns:1fr 42px;padding:8px 10px}.mftr-prompt>span{display:none}.mftr-hud{min-width:124px;font-size:13px}.mftr-progress{gap:4px}.mftr-progress i{width:27px;height:27px;border-width:2px}.mftr-workspace{top:145px;bottom:168px;width:calc(100% - 16px);gap:9px}.mftr-equation{min-height:73px;gap:9px;padding:7px 10px}.mftr-number{font-size:clamp(22px,8vw,33px)}.mftr-equation>b{font-size:27px}.mftr-phase-panel{min-height:350px;padding:13px 9px 15px;border-radius:23px}.mftr-model-panel{min-height:385px}.mftr-step-copy{margin:14px 0 10px;font-size:15px;text-align:center}.mftr-answer-row,.mftr-choice-row{gap:8px}.mftr-choice-row button{min-width:83px;min-height:58px;padding:6px 12px}.mftr-answer-row button{min-width:96px;min-height:63px;padding:7px 10px}.mftr-answer-row .mftr-number{font-size:22px}.mftr-conversion{gap:6px;margin-top:8px}.mftr-conversion span{padding:6px 8px;font-size:12px}.mftr-strip{min-height:37px;gap:1px}.mftr-exchange{min-height:52px;padding-inline:12px;font-size:13px}.mftr-raw-result{min-height:78px;margin:10px 0 13px;font-size:14px}.mftr-hint-zone{grid-template-columns:1fr;gap:4px}.mftr-hint-zone button{justify-self:start;min-height:38px}.mftr-mascot{width:116px}.mftr-feedback{right:126px}}@media (max-height:820px) and (min-width:761px){.mftr-stage{min-height:660px}.mftr-workspace{top:118px;bottom:49px;gap:8px}.mftr-equation{min-height:68px}.mftr-phase-panel{min-height:270px;padding-block:10px}.mftr-model-panel{min-height:300px}}@media (prefers-reduced-motion:reduce){.mftr-game *,.mftr-game :after,.mftr-game :before{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}