.fml-game{--fml-ink:#07566a;--fml-teal:#08a6b2;--fml-coral:#f77c70;--fml-gold:#f4c94f;width:100%;padding:68px 12px 18px;color:var(--fml-ink)}.fml-game,.fml-game *{box-sizing:border-box}.fml-game :is(p,span,strong,small,button,h2){text-shadow:none!important}.fml-page-heading{width:min(1120px,100%);margin:0 auto 18px;text-align:center;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important}.fml-page-heading p,.fml-page-heading span{display:block;margin:0;font-weight:900}.fml-page-heading p{color:#078c98;font-size:clamp(.78rem,1.3vw,1rem);letter-spacing:.16em}.fml-page-heading h1{margin:.1rem 0 .15rem;color:#07566a;font-size:clamp(2.15rem,4.4vw,3.65rem);font-weight:1000;letter-spacing:-.045em;line-height:.98;text-shadow:0 3px 0 #fff}.fml-page-heading span{color:#41656d;font-size:clamp(.95rem,1.6vw,1.2rem)}.fml-stage{position:relative;isolation:isolate;width:min(1180px,100%);aspect-ratio:16/9;margin:0 auto;overflow:hidden;border:6px solid #fff;border-radius:38px;background:#a9e8f4;box-shadow:0 13px 0 rgb(36 111 117/.18)}.fml-background{position:absolute;inset:0;z-index:0;background:url(/games/grade-3/math/fraction-model-link-lab/assets/backgrounds/fraction-model-link-lab-bg.webp) 50%/100% 100% no-repeat}.fml-stage .g3-particle-canvas{z-index:18}.fml-hud{position:absolute;z-index:25;top:10px;left:20px;right:20px;display:grid;grid-template-columns:auto auto 1fr auto;gap:12px;font-weight:1000}.fml-hud,.fml-round,.fml-score{align-items:center;min-height:48px}.fml-round,.fml-score{display:inline-flex;justify-content:center}.fml-score svg{width:23px;margin-right:5px;fill:#ffd64e;stroke:#9c6a00}.fml-progress{display:flex;gap:7px;align-items:center}.fml-progress i{width:14px;height:14px;border:2px solid #087586;border-radius:50%;background:#ffffffd2}.fml-progress i.is-active{background:#ffd34d;box-shadow:0 0 0 4px rgb(255 211 77/.25)}.fml-listen{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:116px;min-height:52px;border:0;border-radius:999px;background:#fff8df;color:#07566a;box-shadow:0 6px 0 #d7a83c;font:inherit;cursor:pointer;touch-action:manipulation}.fml-listen:focus-visible,.fml-listen:hover:not(:disabled){outline:none;background:#fffef3;box-shadow:0 0 0 5px rgb(20 178 190/.35),0 6px 0 #d7a83c}.fml-listen:disabled{opacity:.55;cursor:default}.fml-prompt{position:absolute;z-index:14;top:68px;left:50%;transform:translateX(-50%);width:min(760px,80%);min-height:72px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:8px 22px;border-radius:999px;background:rgb(255 252 235/.9);color:#174f5d}.fml-prompt>.fml-kicker{font-size:.72rem;font-weight:1000;letter-spacing:.14em;color:#d45d55}.fml-prompt p{margin:0;font-size:clamp(.9rem,1.7vw,1.18rem);font-weight:900;line-height:1.18;text-align:center}.fml-fraction{display:grid;grid-template-rows:auto 3px auto;place-items:center;width:48px;line-height:.9}.fml-fraction strong{font-size:1.16rem}.fml-fraction i{display:block;width:35px;height:3px;background:#07566a;border-radius:2px}.fml-model-grid{position:absolute;z-index:10;top:23.5%;left:0;right:0;height:43%}.fml-model-station{position:absolute;top:0;left:18.55%;transform:translateX(-50%);width:28%;min-width:0;height:100%;padding:0}.fml-model-station.fml-set{left:50%}.fml-model-station.fml-line{left:81.45%}.fml-model-station h2{position:absolute;top:0;left:0;right:0;margin:0;color:#07566a;font-size:clamp(.75rem,1.25vw,.96rem);font-weight:1000;letter-spacing:.07em;text-align:center}.fml-model-screen{top:11%;transform:translateX(-50%);width:82%;height:60%;place-items:center}.fml-model-button,.fml-model-screen{position:absolute;left:50%;display:grid}.fml-model-button{z-index:3;top:90%;transform:translate(-50%,-50%);place-items:center;width:64px;height:64px;min-width:64px;min-height:64px;padding:0;border:0;border-radius:50%;background:rgb(255 255 255/.08);color:#07566a;box-shadow:none;font:900 .8rem/1 system-ui,sans-serif;cursor:pointer;touch-action:manipulation}.fml-model-button svg{width:23px;height:23px;stroke-width:3}.fml-button-copy{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.fml-model-button:focus-visible,.fml-model-button:hover:not(:disabled){outline:none;background:rgb(255 255 255/.24);box-shadow:0 0 0 5px rgb(255 255 255/.7),0 0 22px 9px rgb(255 239 139/.7)}.fml-model-button:active:not(:disabled){background:rgb(255 255 255/.34)}.fml-model-button:disabled{opacity:.5;cursor:default}.fml-area-model{display:grid;width:min(210px,92%);height:118px;gap:3px;padding:7px;border:3px solid #087988;border-radius:20px;background:#eafcff}.fml-area-model i{min-width:0;border-radius:7px;background:#d9f2f2}.fml-area-model i.is-filled{background:linear-gradient(145deg,#ff977d,#f65f63)}.fml-set-model{display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:10px;width:min(210px,90%);min-height:130px;padding:12px}.fml-set-model i{width:31px;height:31px;border:3px solid #0b7182;border-radius:50%;background:#eaf9fa}.fml-set-model i.is-filled{background:linear-gradient(145deg,#58d7eb,#138db3);box-shadow:inset 0 3px 0 #b9f6ff}.fml-line-model{position:relative;width:min(220px,92%);height:110px}.fml-line-track{top:52px;left:0;right:0;height:6px;border-radius:8px}.fml-line-model>i,.fml-line-track{position:absolute;background:#087586}.fml-line-model>i{top:42px;width:4px;height:26px;transform:translateX(-50%);border-radius:3px}.fml-line-model>b{position:absolute;top:34px;width:30px;height:30px;transform:translateX(-50%);border:5px solid #fff;border-radius:50%;background:#9769e7;box-shadow:0 3px 0 #6544aa}.fml-line-model small{position:absolute;top:72px;font-size:.85rem;font-weight:1000}.fml-line-model .is-zero{left:0}.fml-line-model .is-one{right:0}.fml-link-button{position:absolute;z-index:15;left:50%;top:73%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:28%;max-width:310px;height:14%;min-height:76px;border:0;border-radius:999px;background:rgb(255 255 255/.05);color:#07566a;font:1000 .9rem/1 system-ui,sans-serif;cursor:pointer;touch-action:manipulation}.fml-link-button svg{width:28px;height:28px;stroke-width:3}.fml-link-button:focus-visible,.fml-link-button:hover:not(:disabled){outline:none;background:rgb(255 255 255/.18);box-shadow:0 0 0 5px rgb(255 255 255/.55),0 0 24px 10px rgb(113 245 245/.55)}.fml-link-button:active:not(:disabled){background:rgb(255 255 255/.27)}.fml-link-button:disabled{opacity:.52;cursor:default}.fml-stage.is-correct .fml-link-button{background:rgb(255 255 255/.18);box-shadow:0 0 25px 10px rgb(255 242 160/.72)}.fml-feedback{position:absolute;z-index:22;left:50%;bottom:12px;transform:translateX(-50%);width:min(690px,calc(100% - 330px));min-height:48px;margin:0;display:flex;align-items:center;justify-content:center;padding:8px 22px;border-radius:999px;background:rgb(255 251 232/.92);color:#174f5d;font-size:clamp(.83rem,1.4vw,1.02rem);font-weight:900;line-height:1.2;text-align:center}.fml-feedback.is-correct{color:#08704b}.fml-feedback.is-wrong{color:#9c4337}.fml-mascot{position:absolute!important;right:4px!important;bottom:52px!important;z-index:16!important;width:clamp(135.2px,14.3vw,179.4px)!important;height:clamp(135.2px,14.3vw,179.4px)!important}.fml-success-modal,.fml-success-modal *{text-shadow:none!important;filter:none!important}@media(max-width:900px) and (min-width:561px){.fml-hud{top:5px}.fml-prompt{top:54px;min-height:58px;padding-block:5px}.fml-model-grid{top:25%;height:46%}.fml-model-station h2{font-size:.72rem}.fml-model-screen{top:9%;height:57%;width:78%}.fml-area-model{height:74px}.fml-set-model{min-height:82px;gap:5px;padding:6px}.fml-set-model i{width:20px;height:20px;border-width:2px}.fml-line-model{height:76px}.fml-line-track{top:36px}.fml-line-model>i{top:27px;height:23px}.fml-line-model>b{top:21px;width:27px;height:27px}.fml-line-model small{top:53px}.fml-model-button{top:80%;width:54px;height:54px;min-width:54px;min-height:54px}.fml-link-button{top:75%;min-height:62px;height:15%;font-size:.78rem}.fml-link-button svg{width:23px;height:23px}.fml-feedback{bottom:7px;width:min(560px,calc(100% - 232px));min-height:42px}.fml-mascot{bottom:44px!important;width:111.8px!important;height:111.8px!important}}@media(max-width:560px){.fml-game{padding:66px 5px 10px}.fml-page-heading{margin-bottom:10px;padding-inline:7px}.fml-page-heading h1{font-size:clamp(2rem,10.5vw,3rem)}.fml-page-heading span{font-size:.9rem}.fml-stage{min-height:1090px;aspect-ratio:auto;border-width:4px;border-radius:25px}.fml-background{background-position:top;background-size:auto 100%}.fml-hud{top:7px;left:9px;right:9px;gap:6px}.fml-round,.fml-score{font-size:.82rem}.fml-progress{gap:3px}.fml-progress i{width:10px;height:10px;border-width:1px}.fml-listen{min-width:52px;padding:0}.fml-listen span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.fml-prompt{top:66px;width:calc(100% - 18px);min-height:82px;grid-template-columns:1fr auto;padding:8px 14px;border-radius:24px}.fml-prompt>.fml-kicker{display:none}.fml-prompt p{text-align:left;font-size:.88rem}.fml-model-grid{top:168px;left:10px;right:10px;height:auto;display:flex;flex-direction:column;gap:9px}.fml-model-station,.fml-model-station.fml-line,.fml-model-station.fml-set{position:relative;top:auto;left:auto;transform:none;width:100%;height:242px;padding:24px 24px 5px;border-radius:28px;background:rgb(255 252 235/.82)}.fml-model-station h2{top:8px}.fml-model-screen{top:31px;width:calc(100% - 48px);height:145px}.fml-model-button{top:auto;bottom:10px;width:58px;height:58px;min-width:58px;min-height:58px;background:radial-gradient(circle at 35% 28%,#fff 0 8%,#ff9c82 24%,#ed6c60 72%,#b84643 100%);box-shadow:inset 0 0 0 4px #f9d081,0 4px 0 #a66d28}.fml-model-button.is-set{background:radial-gradient(circle at 35% 28%,#fff 0 8%,#ffe96c 24%,#f2bf35 72%,#c18418 100%)}.fml-model-button.is-line{background:radial-gradient(circle at 35% 28%,#fff 0 8%,#cb9cff 24%,#9460dd 72%,#6234aa 100%)}.fml-link-button{top:913px;width:190px;height:82px;min-height:82px;background:linear-gradient(180deg,#75edf0,#24bec8);box-shadow:inset 0 0 0 4px #d5ffff,0 6px 0 #087785}.fml-mascot{right:0!important;bottom:52px!important;width:130px!important;height:130px!important}.fml-feedback{bottom:12px;left:12px;transform:none;width:calc(100% - 158px);min-height:64px;padding:8px 12px;border-radius:22px;font-size:.78rem}}@media(max-width:360px){.fml-stage{min-height:1070px}.fml-model-station{height:236px}.fml-model-grid{gap:7px}.fml-link-button{top:895px}.fml-feedback{font-size:.74rem}}@media(max-height:520px) and (orientation:landscape){.fml-game{padding-top:60px}.fml-stage{min-height:0}.fml-page-heading h1{font-size:2.1rem}.fml-page-heading span{font-size:.88rem}}@media(prefers-reduced-motion:reduce){.fml-game *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}