.fff-shell{position:absolute;inset:0;z-index:8;overflow:hidden;color:#fff8e9;font-family:inherit}.fff-hud{position:absolute;z-index:27;top:105px;right:20px;display:flex;min-height:52px;align-items:center;gap:12px;padding:8px 14px;border:2px solid rgb(255 255 255/.76);border-radius:18px;background:rgb(42 24 65/.82);box-shadow:0 7px 0 rgb(31 13 49/.5);font-size:15px;font-weight:900}.fff-hud>span:first-child{display:flex;align-items:center;gap:6px}.fff-hud svg{width:20px;height:20px;color:#66f2f2}.fff-hud strong{color:#ffe26c;font-size:17px}.fff-progress{display:flex;gap:5px}.fff-progress i{width:10px;height:10px;border-radius:50%;background:#6d587b;box-shadow:inset 0 1px 2px #372140}.fff-progress i.current{background:#fff2a1;box-shadow:0 0 0 3px rgb(255 235 117/.22)}.fff-progress i.done{background:#58efbd}.fff-streak{position:absolute;z-index:26;top:166px;right:24px;display:grid;width:72px;height:72px;place-items:center;border:2px solid rgb(255 255 255/.7);border-radius:50%;background:linear-gradient(145deg,#ffad54,#c84874);box-shadow:0 7px 0 #78324f;line-height:1}.fff-streak svg{position:absolute;width:47px;height:47px;opacity:.24}.fff-streak span{align-self:end;font-size:10px;font-weight:1000;letter-spacing:.12em}.fff-streak strong{align-self:start;font-size:25px}.fff-equation{position:absolute;z-index:22;top:105px;left:50%;display:flex;min-height:82px;gap:clamp(8px,1.5vw,18px);padding:8px 22px;border:2px solid rgb(255 255 255/.72);border-radius:26px;background:rgb(31 25 54/.82);box-shadow:0 8px 0 rgb(20 12 37/.46),inset 0 0 22px rgb(84 236 239/.09);transform:translateX(-50%)}.fff-equation,.fff-value{align-items:center;justify-content:center}.fff-value{display:inline-flex;min-width:1.1em;gap:.14em;font-size:29px;font-weight:1000;line-height:1}.fff-value>strong{font:inherit}.fff-fraction{display:inline-grid;min-width:1.05em;grid-template-rows:auto 3px auto;place-items:center;font-size:.72em;line-height:.92}.fff-fraction i{width:100%;height:3px;border-radius:99px;background:currentColor}.fff-equals,.fff-mystery,.fff-operator{color:#ffd777;font-size:40px;font-weight:1000;line-height:1}.fff-mystery{display:grid;width:52px;height:52px;place-items:center;border-radius:50%;background:#6c56b6;color:#fff}.fff-workbench{z-index:12;top:190px;width:min(650px,calc(100% - 230px));height:292px}.fff-models,.fff-workbench{position:absolute;left:50%;transform:translateX(-50%)}.fff-models{z-index:3;top:0;display:grid;width:min(620px,100%);grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);align-items:center;gap:8px}.fff-model-operator{color:#fff4a7;font-size:36px;font-weight:1000;text-align:center}.fff-fuel-model{display:flex;min-height:82px;flex-direction:column;justify-content:center;gap:6px}.fff-fuel-bar{display:grid;height:24px;grid-template-columns:repeat(var(--segments),1fr);gap:2px;padding:3px;border:2px solid rgb(255 255 255/.72);border-radius:10px;background:rgb(22 24 47/.76);box-shadow:0 5px 0 rgb(25 14 40/.4)}.fff-fuel-bar i{min-width:3px;border-radius:5px;background:rgb(255 255 255/.12)}.fff-fuel-model.cyan .filled{background:linear-gradient(#c5ffff,#23ced5);box-shadow:0 0 9px #38edf0}.fff-fuel-model.coral .filled{background:linear-gradient(#ffd0a8,#ff7c72);box-shadow:0 0 9px #ff7c72}.fff-reactor{position:absolute;z-index:2;bottom:-18px;left:50%;width:240px;height:240px;transform:translateX(-50%)}.fff-reactor>img{width:100%;height:100%;object-fit:contain;object-position:center;filter:drop-shadow(0 14px 11px rgb(28 12 42/.38))}.fff-reactor-screen{position:absolute;top:25.7%;left:50%;display:grid;width:36.7%;height:auto;aspect-ratio:1;place-items:center;border-radius:50%;background:transparent;color:#a8ffff;transform:translateX(-50%)}.fff-reactor-screen svg{width:42%;height:42%;color:#53e8e8;opacity:.9}.fff-reactor-screen .fff-value{font-size:20px}.fff-reactor.correct .fff-reactor-screen{background:radial-gradient(circle,#3fe2a2,#11666b);color:#fff;box-shadow:0 0 30px #76ffd0}.fff-reactor.wrong .fff-reactor-screen{background:radial-gradient(circle,#ff9e78,#7f315c);color:#fff}.fff-sparkles{position:absolute;top:50px;left:50%;width:140px;height:140px;color:#fff193;transform:translateX(-50%)}.fff-choices{position:absolute;z-index:23;right:13%;bottom:58px;left:13%;display:grid;grid-template-columns:repeat(4,minmax(105px,1fr));gap:12px}.fff-choices button{position:relative;display:flex;min-height:72px;align-items:center;justify-content:center;overflow:hidden;border:solid #ffe8b0;border-width:3px 3px 8px;border-radius:24px;background:linear-gradient(180deg,#744eb4,#3c2f76);box-shadow:0 8px 15px rgb(30 12 42/.38),inset 0 0 18px rgb(93 238 239/.12);color:#fff;cursor:pointer;touch-action:manipulation}.fff-choices button:focus-visible{outline:4px solid #72fff1;outline-offset:4px}.fff-choices button:disabled{cursor:default;opacity:1}.fff-choices button.selected{border-color:#78f7f0}.fff-choices button.correct{background:linear-gradient(#55e7af,#188b75);border-color:#d3ffe7}.fff-choices button.wrong{background:linear-gradient(#ff9779,#b64469);border-color:#ffe4d5}.fff-choices button>svg{position:absolute;right:10px;width:24px;height:24px}.fff-capsule-light{position:absolute;top:8px;left:11px;width:13px;height:13px;border-radius:50%;background:#63f5ec;box-shadow:0 0 12px #63f5ec}.fff-feedback{position:absolute;z-index:24;right:80px;bottom:17px;left:80px;margin:0;color:#fff6d0;font-size:17px;font-weight:900;text-align:center}.fraction-fuel-foundry-mascot{bottom:12px!important;left:8px!important;width:clamp(105px,10vw,135px)!important}@media (max-width:1000px){.fff-hud{top:91px;right:14px}.fff-streak{top:154px;right:18px}.fff-equation{top:165px}.fff-workbench{top:257px;width:min(650px,calc(100% - 150px))}.fff-reactor{bottom:20px;width:200px;height:200px}.fff-choices{right:8%;bottom:64px;left:8%}}@media (min-width:701px) and (max-width:900px){.fraction-fuel-foundry-mascot{bottom:145px!important;left:-8px!important;width:100px!important}}@media (max-width:700px){.fff-hud{right:10px;left:10px;justify-content:space-between;min-height:48px;padding:6px 10px;font-size:13px}.fff-streak{display:none}.fff-equation{top:153px;min-height:72px;padding:7px 14px}.fff-value{font-size:25px}.fff-equals,.fff-mystery,.fff-operator{font-size:32px}.fff-mystery{width:44px;height:44px}.fff-workbench{top:236px;width:calc(100% - 24px);height:285px}.fff-models{width:calc(100% - 10px);grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);gap:4px}.fff-fuel-bar{height:21px;gap:1px}.fff-reactor{bottom:20px;width:215px;height:215px}.fff-reactor-screen .fff-value{font-size:18px}.fff-choices{right:20px;bottom:54px;left:20px;grid-template-columns:repeat(2,1fr);gap:8px}.fff-choices button{min-height:61px;border-radius:19px}.fff-feedback{right:30px;bottom:16px;left:30px;font-size:14px}}@media (max-width:390px){.fff-hud strong{font-size:14px}.fff-progress{display:none}.fff-equation{gap:7px;width:calc(100% - 22px)}.fff-value{font-size:23px}.fff-reactor{width:202px;height:202px}}[data-game=fraction-fuel-foundry] .game-stage-prompt{width:min(650px,calc(100% - 360px));min-height:68px;padding:8px 12px;border:3px solid #fff;border-radius:24px;background:rgb(31 25 54/.78);box-shadow:0 6px 0 rgb(20 12 37/.42)}[data-game=fraction-fuel-foundry] .game-stage-prompt h2{color:#fffdf1;font-size:clamp(20px,2.45vw,28px);line-height:1.06;text-shadow:none;-webkit-text-stroke:0}[data-game=fraction-fuel-foundry] .game-stage-prompt button[aria-label="Listen to the instruction"]{border:3px solid #fff}@media (max-width:1000px){[data-game=fraction-fuel-foundry] .game-stage-prompt{top:12px;width:min(620px,calc(100% - 28px));min-height:60px;padding:6px 9px}[data-game=fraction-fuel-foundry] .game-stage-prompt h2{font-size:clamp(19px,2.6vw,24px)}}@media (max-width:700px){[data-game=fraction-fuel-foundry] .game-stage-prompt{width:calc(100% - 18px);min-height:58px;border-radius:19px}[data-game=fraction-fuel-foundry] .game-stage-prompt h2{font-size:18px;line-height:1.04}[data-game=fraction-fuel-foundry] .game-stage-prompt button[aria-label="Listen to the instruction"]{width:48px;height:48px}.fff-hud{top:92px}.fff-equation{top:151px}.fff-workbench{top:232px}.fraction-fuel-foundry-mascot{bottom:190px!important;left:-8px!important;width:90px!important}}@media (max-width:390px){.fff-hud{top:116px}.fff-equation{top:176px}.fff-workbench{top:257px}.fff-reactor{bottom:46px;width:180px;height:180px}}@media (min-width:901px){[data-game=fraction-fuel-foundry]{height:clamp(540px,calc(100svh - 176px),664px);min-height:540px;aspect-ratio:auto}}@media (max-height:760px) and (min-width:701px){[data-game=fraction-fuel-foundry] .game-stage-prompt{top:10px;width:min(660px,calc(100% - 30px));min-height:62px;gap:9px;padding:5px 10px}[data-game=fraction-fuel-foundry] .game-stage-prompt h2{font-size:clamp(20px,2.25vw,23px);line-height:1.04}[data-game=fraction-fuel-foundry] .game-stage-prompt button[aria-label="Listen to the instruction"]{width:48px;height:48px}.fff-hud{top:82px;min-height:48px;gap:8px;padding:6px 10px;font-size:14px}.fff-hud>span:first-child{gap:4px}.fff-progress{gap:3px}.fff-progress i{width:8px;height:8px}.fff-streak{top:140px;width:64px;height:64px}.fff-equation{top:90px;min-height:70px;padding-block:6px}.fff-workbench{top:171px;width:min(620px,calc(100% - 250px));height:270px}.fff-reactor{bottom:24px;width:200px;height:200px}.fff-choices{right:14%;bottom:42px;left:14%;gap:10px}.fff-choices button{min-height:64px;border-radius:21px}.fff-feedback{bottom:8px;font-size:15px}.fraction-fuel-foundry-mascot{bottom:8px!important;left:8px!important;width:clamp(100px,10vw,118px)!important}}@media (prefers-reduced-motion:reduce){.fff-shell *,.fff-shell :after,.fff-shell :before{animation:none!important;transition:none!important}}