.Ferry-module__sR4h6W__page{-webkit-user-select:none;user-select:none;touch-action:manipulation;--s:min(12.5cqh, 6.35cqw);--card:min(20cqh, 13cqw);--deck:calc(100cqh - var(--card) - 3cqh - var(--s) * .88);--horizon:39cqh;--plank:calc(var(--s) * .5);background:#4fa6d4 url(/images/background/games/ferry-bg.webp) 50%/100% 100% no-repeat;position:fixed;inset:0;overflow:hidden;container-type:size}.Ferry-module__sR4h6W__scene{position:absolute;inset:0}.Ferry-module__sR4h6W__one{--w:calc(var(--s) * 7.6);--convoy-left:calc((100cqw - var(--w)) * .25);--bow:calc(var(--convoy-left) + var(--w))}.Ferry-module__sR4h6W__two{--w:calc(var(--s) * 13.9);--convoy-left:max((100cqw - var(--w)) * .15, var(--safe-left,env(safe-area-inset-left)));--bow:calc(var(--convoy-left) + var(--w))}.Ferry-module__sR4h6W__page:after{content:"";z-index:8;pointer-events:none;opacity:0;box-shadow:inset 0 0 0 6px var(--flash,transparent), inset 0 0 48px 16px var(--flash,transparent);transition:opacity .2s;position:absolute;inset:0}.Ferry-module__sR4h6W__flash_right{--flash:#1b9e6fbf}.Ferry-module__sR4h6W__flash_wrong{--flash:#d23c3cbf}.Ferry-module__sR4h6W__flash_right:after,.Ferry-module__sR4h6W__flash_wrong:after{opacity:1}.Ferry-module__sR4h6W__preload{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.Ferry-module__sR4h6W__strip{z-index:1;width:calc(var(--ports) * 100vw);width:calc(var(--ports) * 100cqw);transform:translateX(calc(var(--offset) * -100vw));transform:translateX(calc(var(--offset) * -100cqw));transition:transform var(--sail-ms) ease-in-out;position:absolute;top:0;bottom:0;left:0}.Ferry-module__sR4h6W__strip:before{content:"";left:0;right:0;top:calc(var(--horizon) + 4vh);top:calc(var(--horizon) + 4cqh);pointer-events:none;opacity:.3;background-color:#0000;background-image:radial-gradient(6% 7% at 20% 30%,#0000 55%,#ffffffbf 58%,#0000 66%),radial-gradient(5% 6% at 70% 75%,#0000 55%,#fff9 58%,#0000 66%),radial-gradient(4% 5% at 45% 55%,#0000 55%,#ffffff80 58%,#0000 66%);background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:25cqw 18cqh;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;position:absolute;bottom:0}.Ferry-module__sR4h6W__port{top:0;bottom:0;left:calc(var(--at) * 100vw + var(--bow) + var(--plank));left:calc(var(--at) * 100cqw + var(--bow) + var(--plank));width:0;position:absolute}.Ferry-module__sR4h6W__island0{--art:url(/images/props/games/ferry-island-1.webp);--iw:6;--ih:3.03;--line:.765}.Ferry-module__sR4h6W__island1{--art:url(/images/props/games/ferry-island-2.webp);--iw:5.9;--ih:1.395;--line:.55}.Ferry-module__sR4h6W__island2{--art:url(/images/props/games/ferry-island-3.webp);--iw:6.92;--ih:1.726;--line:.565}.Ferry-module__sR4h6W__home{--art:url(/images/props/games/ferry-home.webp);--iw:5.8;--ih:2.54;--line:.78}.Ferry-module__sR4h6W__islandArt{left:calc(var(--s) * -.06);top:calc(var(--deck) - var(--s) * var(--ih) * var(--line));width:calc(var(--s) * var(--iw));height:calc(var(--s) * var(--ih));background:var(--art) center / 100% 100% no-repeat;position:absolute}.Ferry-module__sR4h6W__pierStart{left:0;top:var(--deck);width:0;height:0;position:absolute}.Ferry-module__sR4h6W__port{--door-x:4.3}.Ferry-module__sR4h6W__port.Ferry-module__sR4h6W__home{--door-x:2.4}.Ferry-module__sR4h6W__shelter_cottage{--home-art:url(/images/props/games/ferry-home-cottage.webp);--hw:2.27;--hh:2.19;--cx:.505;--floor:.88}.Ferry-module__sR4h6W__shelter_cave{--home-art:url(/images/props/games/ferry-home-cave.webp);--hw:1.9;--hh:1.72;--cx:.52;--floor:.88}.Ferry-module__sR4h6W__shelter_hut{--home-art:url(/images/props/games/ferry-home-hut.webp);--hw:2.23;--hh:2.28;--cx:.5;--floor:.91}.Ferry-module__sR4h6W__shelter_shed{--home-art:url(/images/props/games/ferry-home-shed.webp);--hw:2.17;--hh:2.1;--cx:.5;--floor:.88}.Ferry-module__sR4h6W__shelter{left:calc(var(--s) * (var(--door-x) - var(--cx) * var(--hw)));top:calc(var(--deck) - var(--s) * var(--hh) * var(--floor));width:calc(var(--s) * var(--hw));height:calc(var(--s) * var(--hh));background:var(--home-art) center / 100% 100% no-repeat;position:absolute}.Ferry-module__sR4h6W__door{left:calc(var(--s) * var(--door-x));top:var(--deck);width:0;height:0;position:absolute}.Ferry-module__sR4h6W__convoy{z-index:2;left:var(--convoy-left);top:calc(var(--deck) - var(--s) * 2.336);height:calc(var(--s) * 3.29);position:absolute}.Ferry-module__sR4h6W__convoyWaiting{visibility:hidden}.Ferry-module__sR4h6W__convoyIn{animation:1.6s cubic-bezier(.25,.7,.35,1) both Ferry-module__sR4h6W__convoyIn}.Ferry-module__sR4h6W__convoyOut{animation:1.4s ease-in both Ferry-module__sR4h6W__convoyOut}.Ferry-module__sR4h6W__convoyDrift{animation:1.8s ease-out both Ferry-module__sR4h6W__drift}@keyframes Ferry-module__sR4h6W__convoyIn{0%{transform:translate(-110cqw)}}@keyframes Ferry-module__sR4h6W__convoyOut{to{transform:translate(110cqw)}}@keyframes Ferry-module__sR4h6W__drift{to{transform:translateX(calc(var(--s) * .5)) rotate(-1.2deg)}}.Ferry-module__sR4h6W__boat{transform-origin:70% 90%;align-items:flex-start;height:100%;display:flex}.Ferry-module__sR4h6W__bob{animation:2.4s ease-in-out infinite Ferry-module__sR4h6W__bob}@keyframes Ferry-module__sR4h6W__bob{0%,to{transform:translateY(0)rotate(0)}50%{transform:translateY(calc(var(--s) * .06)) rotate(.5deg)}}.Ferry-module__sR4h6W__bump{animation:.45s ease-out Ferry-module__sR4h6W__bump}@keyframes Ferry-module__sR4h6W__bump{35%{transform:translateX(calc(var(--s) * .1))}65%{transform:translateX(calc(var(--s) * -.04))}}.Ferry-module__sR4h6W__splash{right:calc(var(--s) * -.5);width:calc(var(--s) * 1);height:calc(var(--s) * .5);pointer-events:none;border:2px solid #ffffffd9;border-radius:50%;animation:.45s ease-out both Ferry-module__sR4h6W__ring;position:absolute;bottom:0}@keyframes Ferry-module__sR4h6W__ring{0%{opacity:1;transform:scale(.4)}to{opacity:0;transform:scale(1.4)}}.Ferry-module__sR4h6W__ship{width:calc(var(--s) * 7.6);height:calc(var(--s) * 3.29);background:url(/images/props/games/ferry-ship.webp) 50%/100% 100% no-repeat;flex:none;position:relative}.Ferry-module__sR4h6W__barge{width:calc(var(--s) * 6.1);height:calc(var(--s) * 2.25);margin-top:calc(var(--s) * .896);background-image:url(/images/props/games/ferry-barge.webp)}.Ferry-module__sR4h6W__ship:after{content:"";left:-2%;right:-2%;bottom:calc(var(--s) * -.04);height:calc(var(--s) * .2);pointer-events:none;background:linear-gradient(#78bee173,#3480bae6);border-radius:40% 40% 0 0/100% 100% 0 0;position:absolute}.Ferry-module__sR4h6W__captain{z-index:1;width:calc(var(--s) * 1.05);height:calc(var(--s) * 2.336);pointer-events:none;--character-width:calc(var(--s) * 2.3);--character-min-width:0px;position:absolute;top:0;left:0}.Ferry-module__sR4h6W__wheel{z-index:2;left:calc(var(--s) * .68);top:calc(var(--s) * 1.62);width:calc(var(--s) * .46);height:calc(var(--s) * .46);border:calc(var(--s) * .06) solid #7a4a26;background:repeating-conic-gradient(#7a4a26 0 8deg, transparent 8deg 45deg);border-radius:50%;position:absolute}.Ferry-module__sR4h6W__grid{z-index:1;left:calc(var(--s) * 1.18);top:calc(var(--s) * .186);width:calc(var(--s) * 5.32);height:calc(var(--s) * 2.15);grid-template-columns:repeat(5, var(--s));grid-template-rows:repeat(2, var(--s));column-gap:calc(var(--s) * .08);row-gap:calc(var(--s) * .15);border-radius:calc(var(--s) * .15);transition:box-shadow .4s;display:grid;position:absolute}.Ferry-module__sR4h6W__barge .Ferry-module__sR4h6W__grid{left:calc(var(--s) * .18);top:calc(var(--s) * -.71)}.Ferry-module__sR4h6W__gridFull{box-shadow:0 0 calc(var(--s) * .15) calc(var(--s) * .08) #ffd654f2, inset 0 0 calc(var(--s) * .2) #ffd65499;animation:1.6s ease-in-out infinite alternate Ferry-module__sR4h6W__tenGlow}@keyframes Ferry-module__sR4h6W__tenGlow{to{box-shadow:0 0 calc(var(--s) * .3) calc(var(--s) * .12) #ffd654bf, inset 0 0 calc(var(--s) * .1) #ffd65466}}.Ferry-module__sR4h6W__seat{position:relative}.Ferry-module__sR4h6W__bench{background:url(/images/props/games/ferry-seat.webp) bottom/contain no-repeat;height:78%;position:absolute;bottom:0;left:8%;right:8%}.Ferry-module__sR4h6W__animal{z-index:1;width:120%;max-width:none;height:120%;image-rendering:pixelated;position:absolute;bottom:-8.4%;left:-10%}.Ferry-module__sR4h6W__seatLand .Ferry-module__sR4h6W__animal{animation:.38s ease-out Ferry-module__sR4h6W__land}.Ferry-module__sR4h6W__seatLand:after{content:"";pointer-events:none;border:2px solid #ffffffe6;border-radius:50%;animation:.42s ease-out both Ferry-module__sR4h6W__ring;position:absolute;inset:10%}@keyframes Ferry-module__sR4h6W__land{0%{transform:translateY(-14%)scale(1.06,.94)}60%{transform:translateY(2%)scale(.96,1.04)}}.Ferry-module__sR4h6W__stair{z-index:1;left:calc(var(--s) * 6.56);top:calc(var(--s) * 1.186);width:calc(var(--s) * .6);height:calc(var(--s) * 1.15);background:linear-gradient(to top right, transparent calc(50% - 2px), #8f6034 calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px)), repeating-linear-gradient(180deg, transparent 0 calc(var(--s) * .17), #8f6034d9 calc(var(--s) * .17) calc(var(--s) * .23));clip-path:polygon(0 0,22% 0,100% 78%,100% 100%,78% 100%,0 22%);position:absolute}.Ferry-module__sR4h6W__barge .Ferry-module__sR4h6W__stair{left:calc(var(--s) * 5.5);top:calc(var(--s) * .29);width:calc(var(--s) * .5)}.Ferry-module__sR4h6W__stairTop,.Ferry-module__sR4h6W__stairFoot{width:0;height:0;position:absolute}.Ferry-module__sR4h6W__stairTop{left:calc(var(--s) * 6.62);top:calc(var(--s) * 1.186)}.Ferry-module__sR4h6W__stairFoot{left:calc(var(--s) * 7.12);top:calc(var(--s) * 2.336)}.Ferry-module__sR4h6W__barge .Ferry-module__sR4h6W__stairTop{left:calc(var(--s) * 5.55);top:calc(var(--s) * .29)}.Ferry-module__sR4h6W__barge .Ferry-module__sR4h6W__stairFoot{left:calc(var(--s) * 5.95);top:calc(var(--s) * 1.44)}.Ferry-module__sR4h6W__bowMark{left:calc(var(--s) * 7.3);top:calc(var(--s) * 2.336);width:0;height:0;position:absolute}.Ferry-module__sR4h6W__plank{z-index:1;left:calc(var(--s) * 7.3);top:calc(var(--s) * 2.236);width:calc(var(--s) * .85);height:calc(var(--s) * .1);background:repeating-linear-gradient(90deg, #b07b45 0 calc(var(--s) * .18), #8f6034 calc(var(--s) * .18) calc(var(--s) * .2));transform-origin:0;border-radius:2px;transition:transform .45s ease-in-out;position:absolute;transform:rotate(-72deg);box-shadow:0 1px #00000040}.Ferry-module__sR4h6W__plankDown{transform:rotate(0)}.Ferry-module__sR4h6W__rope{width:calc(var(--s) * .2);height:calc(var(--s) * .3);margin-top:calc(var(--s) * 2.25);border-bottom:calc(var(--s) * .06) solid #8a6a3a;border-radius:0 0 50% 50%;flex:none;position:relative}.Ferry-module__sR4h6W__walker{z-index:5;width:var(--size);height:var(--size);margin-left:calc(var(--size) * -.5);margin-top:calc(var(--size) * -.93);pointer-events:none;position:absolute;top:0;left:0}.Ferry-module__sR4h6W__walkerImg{width:100%;max-width:none;height:100%;image-rendering:pixelated;display:block}.Ferry-module__sR4h6W__faceWest{transform:scaleX(-1)}.Ferry-module__sR4h6W__cards{z-index:6;left:0;right:0;top:calc(100vh - var(--card) - 3vh);top:calc(100cqh - var(--card) - 3cqh);justify-content:center;gap:calc(var(--s) * .33);display:flex;position:absolute}.Ferry-module__sR4h6W__card{width:var(--card);aspect-ratio:1;cursor:pointer;background:0 0;border:0;padding:0;transition:transform .15s,opacity .25s;animation:.25s ease-out both Ferry-module__sR4h6W__cardIn}.Ferry-module__sR4h6W__cardFace{width:100%;height:100%;animation:1.8s ease-in-out infinite Ferry-module__sR4h6W__cardBob;animation-delay:calc(var(--i) * -600ms);display:block}@keyframes Ferry-module__sR4h6W__cardBob{50%{transform:translateY(-5%)}}@keyframes Ferry-module__sR4h6W__cardIn{0%{opacity:0;transform:scale(.6)}}.Ferry-module__sR4h6W__card:active{transform:scale(.94)}@media (hover:hover){.Ferry-module__sR4h6W__card:not(:disabled):hover{transform:scale(1.1)}}.Ferry-module__sR4h6W__cardRight{filter:drop-shadow(0 0 2px #1b9e6f)drop-shadow(0 0 6px #1b9e6fe6)}.Ferry-module__sR4h6W__cardWrong{filter:drop-shadow(0 0 2px #d23c3c)drop-shadow(0 0 6px #d23c3ce6);animation:.45s ease-in-out Ferry-module__sR4h6W__shake}.Ferry-module__sR4h6W__cardDim{opacity:.35;cursor:default}@keyframes Ferry-module__sR4h6W__shake{20%{transform:translate(-6%)}40%{transform:translate(6%)}60%{transform:translate(-4%)}80%{transform:translate(4%)}}.Ferry-module__sR4h6W__cardWiggle{animation:.7s ease-in-out Ferry-module__sR4h6W__wiggle}@keyframes Ferry-module__sR4h6W__wiggle{25%{transform:rotate(-6deg)}75%{transform:rotate(6deg)}}.Ferry-module__sR4h6W__timer{z-index:6;left:var(--bar-left,40%);width:var(--bar-width,20%);top:calc(var(--game-corner-safe-height,64px) / 2);pointer-events:none;background:#193c5a59;border-radius:999px;height:16px;position:absolute;overflow:hidden;translate:0 -50%;box-shadow:inset 0 0 0 2px #fff9}.Ferry-module__sR4h6W__timerFill{width:calc((100% - 6px) * var(--bar,1));background:linear-gradient(90deg,#3ea35a,#8ccf4d);border-radius:999px;transition:width .12s linear;position:absolute;inset:3px auto 3px 3px}.Ferry-module__sR4h6W__timerLow .Ferry-module__sR4h6W__timerFill{background:linear-gradient(90deg,#e2463c,#f1a12b);animation:.7s ease-in-out infinite alternate Ferry-module__sR4h6W__flicker}@keyframes Ferry-module__sR4h6W__flicker{0%{opacity:1}to{opacity:.55}}@media (prefers-reduced-motion:reduce){.Ferry-module__sR4h6W__bob,.Ferry-module__sR4h6W__cardFace,.Ferry-module__sR4h6W__gridFull{animation:none}.Ferry-module__sR4h6W__cardWiggle,.Ferry-module__sR4h6W__card{animation-duration:1ms}}
