.eff-page{padding:26px 18px 40px;background:linear-gradient(180deg,#e7f9f6,#fff9ed);color:#183f4a}.eff-heading{text-align:center;max-width:980px;margin:0 auto 22px}.eff-heading p{margin:0;font-size:.86rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#23847f}.eff-heading h1{margin:4px 0;font-size:clamp(2rem,4vw,3.15rem);line-height:1.1;color:#126679}.eff-heading span{font-size:1.05rem;font-weight:650}.eff-stage{position:relative;isolation:isolate;overflow:hidden;width:min(1180px,100%);height:920px;margin:auto;border-radius:34px;background:#8bd8dc;box-shadow:0 18px 45px #1f6d7850;font-family:var(--font-fredoka),system-ui,sans-serif;color:#173f4b}.eff-stage *{box-sizing:border-box}.eff-stage button{font:inherit;cursor:pointer}.eff-stage button:disabled{cursor:default}.eff-stage button:focus-visible{outline:4px solid #ffba2c;outline-offset:3px}.eff-background{position:absolute;inset:0;z-index:-2;background:url(/games/grade-4/math/exact-fare-ferry/assets/backgrounds/fare-harbor.webp) 50%/cover no-repeat}.eff-stage:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#f6fcf9b0,transparent 24%,#fff1d130 55%,#edb9826b);pointer-events:none}.eff-top{position:absolute;top:20px;left:25px;right:25px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;z-index:5}.eff-prompt{display:flex;align-items:center;gap:14px;max-width:730px}.eff-prompt p{margin:0;padding:12px 17px;border-radius:18px;background:#fff9e9e8;font-size:clamp(1.05rem,1.7vw,1.35rem);font-weight:750;line-height:1.3}.eff-prompt button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:100px;min-height:50px;padding:8px 12px;border:2px solid #fff9ed;border-radius:30px;background:#206c79;color:#fff;font-weight:750}.eff-prompt svg{width:21px;height:21px}.eff-hud{display:flex;gap:7px;white-space:nowrap}.eff-hud span{display:grid;place-items:center;min-height:49px;padding:7px 13px;border-radius:18px;background:#fff9e9ed;font-weight:850;font-size:1.05rem}.eff-route{position:absolute;top:95px;left:50%;transform:translateX(-50%);z-index:3;display:flex;gap:10px;align-items:center;justify-content:center;padding:4px 12px;border-radius:30px;background:#0b6376b8;color:#fff;font-size:1.35rem;line-height:1}.eff-route span{width:23px;text-align:center}.eff-route .done{color:#ffe687}.eff-ferry{position:absolute;top:160px;right:2%;width:31%;height:220px;z-index:1;filter:drop-shadow(0 13px 7px #165c6b4d);transition:transform 1.5s ease-in}.eff-cherry img,.eff-ferry img,.eff-kiosk img{object-fit:contain}.eff-stage.is-departing .eff-ferry{transform:translateX(130%)}.eff-kiosk{position:absolute;top:137px;left:46%;width:45%;height:320px;transform:translateX(-50%);z-index:2;filter:drop-shadow(0 10px 6px #69533d4f)}.eff-fare{position:absolute;top:49%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:28%;height:27%;transform:translate(-50%,-50%);text-align:center;color:#195067;line-height:1.05}.eff-fare-adult{left:37.5%}.eff-fare-child{left:70.3%}.eff-fare strong{font-size:clamp(.78rem,1.5vw,1.08rem);letter-spacing:.05em}.eff-fare span{font-size:clamp(1.12rem,2.4vw,1.75rem);font-weight:900}.eff-fare small{font-size:clamp(.78rem,1.5vw,1.05rem);font-weight:850}.eff-riders{position:absolute;top:443px;left:50%;transform:translateX(-50%);z-index:3;display:flex;gap:13px;white-space:nowrap}.eff-riders span{padding:9px 18px;background:#fff8e6f0;border:2px solid #ffffff;border-radius:24px;font-weight:850;font-size:1.15rem}.eff-task{position:absolute;top:510px;left:50%;transform:translateX(-50%);z-index:3;display:flex;align-items:center;justify-content:center;gap:9px;width:min(760px,78%);min-height:65px;padding:10px 20px;border-radius:22px;background:#205f6eea;color:#fff;text-align:center;font-size:clamp(1.2rem,2.25vw,1.75rem)}.eff-task svg{width:28px;height:28px;flex:none;color:#ffd670}.eff-choices{position:absolute;top:593px;left:50%;transform:translateX(-50%);z-index:3;width:min(790px,75%);margin:0;padding:0;border:0;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.eff-choices legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.eff-choices button{min-height:76px;padding:8px;border:4px solid #fffdf0;border-radius:27px;background:linear-gradient(#fff3c9,#ffd48f);box-shadow:0 10px 0 #aa6c4c;color:#413821;font-size:clamp(1.15rem,2.5vw,1.8rem);font-weight:900;transition:transform .12s}.eff-choices button:hover:not(:disabled),.eff-wallet button:hover:not(:disabled){transform:translateY(-4px)}.eff-choices button.wrong{background:#ffb9aa}.eff-choices button.correct{background:#b8eccc}.eff-payment{position:absolute;top:586px;left:50%;transform:translateX(-50%);z-index:3;width:min(820px,75%);text-align:center}.eff-tray{gap:12px;min-height:79px;padding:10px 13px;border:3px solid #ffecc5;border-radius:25px;background:#fff9e9ed}.eff-tray,.eff-tray-total{display:flex;align-items:center}.eff-tray-total{flex-direction:column;min-width:125px;line-height:1.07;font-weight:750}.eff-tray-total strong{font-size:1.55rem;color:#186b78}.eff-tray-total span{font-size:.82rem}.eff-tray-items{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-height:51px}.eff-empty{color:#52727a;font-size:1rem;font-weight:700}.eff-tray-items button{min-height:45px;min-width:50px;padding:5px 8px;border:2px solid #eab36c;border-radius:13px;background:#fce6a8;color:#284f51;font-weight:850}.eff-tray-items button.coin{border-radius:50%}.eff-wallet{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:13px}.eff-wallet button{min-height:65px;border:3px solid #fff5d8;border-radius:15px;background:linear-gradient(145deg,#d5f6de,#8cd5b4);box-shadow:0 5px 0 #3b997d;color:#174d4c;font-size:1.27rem;font-weight:900;transition:transform .12s}.eff-wallet button.coin{border-radius:50%;background:linear-gradient(145deg,#ffe8a2,#edb86a);box-shadow:0 5px 0 #aa7440}.eff-payment-actions{display:flex;justify-content:center;gap:12px;margin-top:14px}.eff-payment-actions button{display:flex;align-items:center;justify-content:center;gap:6px;min-width:110px;min-height:50px;padding:8px 14px;border:2px solid #fff5d9;border-radius:24px;background:#fff3d5;color:#205669;font-weight:800}.eff-payment-actions button:disabled{opacity:.48}.eff-payment-actions button.eff-sail{min-width:135px;background:#178879;color:#fff;box-shadow:0 5px 0 #11665d}.eff-payment-actions svg{width:19px;height:19px}.eff-feedback{position:absolute;bottom:44px;left:50%;transform:translateX(-50%);z-index:3;width:min(760px,75%);min-height:62px;padding:14px 20px;border-radius:20px;background:#fff9e9ed;text-align:center;font-size:clamp(1rem,1.85vw,1.34rem);font-weight:800;display:grid;place-items:center}.eff-cherry{position:absolute;left:8px;bottom:22px;width:215px;height:265px;z-index:2}.eff-success,.eff-success *{text-shadow:none!important;filter:none!important}@media(max-width:1000px){.eff-kiosk{left:43%;width:50%}.eff-ferry{right:-2%;width:34%}.eff-cherry{width:155px;height:205px}.eff-choices,.eff-feedback,.eff-payment,.eff-task{width:min(680px,77%)}.eff-choices{gap:8px}.eff-choices button{font-size:1.35rem}}@media(max-width:700px){.eff-page{padding:16px 8px 24px}.eff-heading{margin-bottom:14px}.eff-heading span{font-size:.94rem}.eff-stage{width:100%;height:1150px;border-radius:24px}.eff-background{background-image:url(/games/grade-4/math/exact-fare-ferry/assets/backgrounds/fare-harbor-mobile.webp);background-position:50%}.eff-stage:before{background:linear-gradient(180deg,#e8fff5a6,transparent 40%,#ffcfa560)}.eff-top{top:54px;left:11px;right:11px;display:block}.eff-prompt{gap:7px}.eff-prompt p{flex:1;padding:9px 12px;font-size:1rem}.eff-prompt button{min-width:52px;min-height:48px;padding:7px}.eff-prompt button span{display:none}.eff-hud{justify-content:center;margin-top:8px}.eff-hud span{min-height:42px;padding:4px 11px;font-size:.92rem}.eff-route{top:165px}.eff-ferry{top:202px;right:0;width:50%;height:155px}.eff-kiosk{top:285px;left:50%;width:min(420px,100%);height:280px}.eff-fare{top:49%;height:29%;width:27%}.eff-fare strong{font-size:.79rem}.eff-fare span{font-size:1.2rem}.eff-fare small{font-size:.82rem}.eff-riders{top:558px;gap:7px}.eff-riders span{padding:7px 13px;font-size:1rem}.eff-task{top:625px;width:calc(100% - 28px);min-height:65px;padding:8px 12px;font-size:1.18rem}.eff-choices{top:707px;width:calc(100% - 32px);grid-template-columns:repeat(2,1fr);gap:13px}.eff-choices button{min-height:67px;font-size:1.35rem}.eff-payment{top:701px;width:calc(100% - 30px)}.eff-tray{min-height:83px}.eff-wallet{grid-template-columns:repeat(3,1fr);gap:9px}.eff-wallet button{min-height:55px}.eff-payment-actions{gap:6px;margin-top:12px}.eff-payment-actions button{min-width:0;flex:1;padding:5px;font-size:.94rem}.eff-feedback{bottom:84px;width:calc(100% - 28px);min-height:56px;font-size:1.03rem;padding:10px}.eff-cherry{left:5px;bottom:0;width:120px;height:120px}}@media(max-width:390px){.eff-stage{height:1190px}.eff-kiosk{top:301px;height:255px}.eff-fare span{font-size:1.05rem}.eff-riders{top:556px}.eff-task{top:626px}.eff-choices{top:705px}.eff-payment{top:700px}.eff-tray{display:block}.eff-tray-total{flex-direction:row;justify-content:center;gap:5px}.eff-tray-total span{font-size:.76rem}.eff-tray-items{justify-content:center}.eff-feedback{bottom:85px}}@media(prefers-reduced-motion:reduce){.eff-stage *{animation-duration:.01ms!important;transition-duration:.01ms!important}.eff-stage.is-departing .eff-ferry{transform:none}}.eff-stage *{text-shadow:none!important}.eff-stage button{filter:none!important}.eff-kiosk{filter:none}.eff-kiosk img{filter:drop-shadow(0 10px 6px #69533d4f)}@media(min-width:701px){.eff-stage{height:1000px}.eff-kiosk{top:185px}.eff-ferry{top:180px}.eff-riders{top:500px}.eff-task{top:568px}.eff-choices{top:650px}.eff-payment{top:645px}.eff-cherry{width:285px;height:315px;left:-8px;bottom:26px}}@media(min-width:701px) and (max-width:1000px){.eff-cherry{width:205px;height:270px}}@media(max-width:700px){.eff-cherry{width:200px;height:200px;left:-17px;bottom:36px}.eff-feedback{bottom:54px;width:calc(100% - 160px);left:auto;right:14px;transform:none}}@media(min-width:701px){.eff-top{top:70px}.eff-route{top:133px}.eff-choices,.eff-payment{width:min(760px,72%)}}@media(min-width:701px) and (max-width:1000px){.eff-choices,.eff-feedback,.eff-payment{width:65%}.eff-cherry{left:-48px}}.eff-stage .how-to-trigger{min-width:48px;min-height:48px}@media(max-width:350px){.eff-kiosk{top:324px}.eff-riders{top:576px}}@media(min-width:701px){.eff-stage{height:780px}.eff-stage.is-pay{height:950px}.eff-route{top:22px}.eff-kiosk{top:125px}.eff-ferry{top:120px}.eff-riders{top:435px}.eff-task{top:500px}.eff-choices{top:580px}.eff-payment{top:575px}.eff-feedback{bottom:25px}.eff-cherry{bottom:14px}.eff-fare-child{left:67.7%}}@media(min-width:701px) and (max-width:1000px){.eff-kiosk{top:145px}.eff-fare-child{left:69.5%}}@media(max-width:700px){.eff-stage{height:930px}.eff-stage.is-pay{height:1130px}.eff-route{top:137px}.eff-ferry{top:153px}.eff-kiosk{top:230px}.eff-riders{top:490px}.eff-task{top:550px}.eff-choices{top:630px;left:auto;right:12px;width:calc(100% - 112px);transform:none;gap:8px}.eff-choices button{min-height:66px;font-size:clamp(1rem,3vw,1.2rem)}.eff-payment{top:625px}.eff-tray-items{max-height:104px;overflow-y:auto}.eff-feedback{bottom:20px;width:calc(100% - 128px)}.eff-cherry{top:605px;bottom:auto;left:-53px;width:190px;height:200px}.eff-stage.is-pay .eff-cherry{top:auto;bottom:26px}.eff-fare-child{left:69.5%}}@media(max-width:390px){.eff-stage{height:950px}.eff-stage.is-pay{height:1150px}.eff-kiosk{top:240px}.eff-riders{top:495px}.eff-task{top:555px}.eff-choices{top:635px}.eff-payment{top:630px}}@media(max-width:350px){.eff-stage{height:980px}.eff-stage.is-pay{height:1170px}.eff-kiosk{top:250px}.eff-riders{top:505px}.eff-task{top:565px}.eff-choices{top:645px}.eff-payment{top:640px}}@media(min-width:701px){.eff-stage{height:760px}}@media(max-width:700px){.eff-stage{height:870px}.eff-route{display:none}}@media(max-width:390px){.eff-stage{height:890px}}@media(max-width:350px){.eff-stage{height:920px}}@media(min-width:1001px) and (max-width:1205px){.eff-cherry{width:240px;height:280px;left:-45px}.eff-feedback,.eff-task{width:min(760px,70%)}}.eff-stage{box-sizing:border-box;border:6px solid #fff}.eff-stage.is-pay .eff-task{min-height:76px;padding:10px 18px;font-size:clamp(1.1rem,2vw,1.55rem)}.eff-stage.is-pay .eff-payment{top:598px}.eff-stage.is-pay .eff-tray{min-height:70px;padding:7px 11px}.eff-stage.is-pay .eff-tray-items{flex:1;min-width:0;min-height:49px;max-height:none;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;justify-content:flex-start}.eff-stage.is-pay .eff-tray-items button{flex:none}.eff-stage.is-pay .eff-wallet{margin-top:9px}.eff-stage.is-pay .eff-wallet button{min-height:60px}.eff-stage.is-pay .eff-payment-actions{margin-top:9px}@media(min-width:701px){.eff-stage,.eff-stage.is-pay{height:840px}.eff-stage.is-pay .eff-payment{top:598px}.eff-stage.is-pay .eff-cherry{bottom:18px}}@media(max-width:700px){.eff-stage,.eff-stage.is-pay{height:990px}.eff-stage.is-pay .eff-riders{top:475px}.eff-stage.is-pay .eff-task{top:530px}.eff-stage.is-pay .eff-payment{top:636px;left:auto;right:8px;width:calc(100% - 92px);transform:none}.eff-stage.is-pay .eff-tray{display:flex;flex-direction:column;align-items:stretch;gap:4px;min-height:100px;padding:7px}.eff-stage.is-pay .eff-tray-total{flex-direction:row;justify-content:center;min-width:0;gap:5px}.eff-stage.is-pay .eff-tray-total strong{font-size:1.25rem}.eff-stage.is-pay .eff-tray-items{width:100%;min-height:42px}.eff-stage.is-pay .eff-tray-items button{min-height:40px;min-width:44px;padding:3px 5px}.eff-stage.is-pay .eff-wallet{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:8px}.eff-stage.is-pay .eff-wallet button{min-height:50px;font-size:1.02rem}.eff-stage.is-pay .eff-payment-actions{gap:4px;margin-top:8px}.eff-stage.is-pay .eff-payment-actions button,.eff-stage.is-pay .eff-payment-actions button.eff-sail{min-width:0;min-height:46px;padding:3px;font-size:.82rem;gap:2px}.eff-stage.is-pay .eff-payment-actions svg{width:15px;height:15px}.eff-stage.is-pay .eff-cherry{top:665px;bottom:auto;left:-60px;width:190px;height:200px}}.eff-tray-items button.coin,.eff-wallet button.coin{position:relative;display:flex;align-items:center;justify-content:center;padding:0;border:0;background:transparent;box-shadow:none}.eff-coin-face{display:block;width:56px;height:56px;object-fit:contain;pointer-events:none}.eff-stage.is-pay .eff-tray-items button.coin{min-width:48px;min-height:48px;padding:0}.eff-tray-items .eff-coin-face{width:42px;height:42px}.eff-tray-items .coin .eff-remove-mark{position:absolute;right:0;top:0;display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#fff;color:#284f51;font-size:14px;line-height:1}@media(max-width:700px){.eff-wallet .eff-coin-face{width:44px;height:44px}}