.BusRide-module__V181Xq__page{-webkit-user-select:none;user-select:none;touch-action:manipulation;--stop-x:50%;--house-w:46cqw;--road-h:15%;--bus-w:min(72cqw, 126cqh);--bus-h:calc(var(--bus-w) / 2.9);--drive-ms:.7s;background:#8fd3ff url(/images/background/games/bus-ride-bg.webp) 50%/100% 100% no-repeat;position:fixed;inset:0;overflow:hidden;container-type:size}.BusRide-module__V181Xq__scene{position:absolute;inset:0}.BusRide-module__V181Xq__page:after{content:"";z-index:5;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}.BusRide-module__V181Xq__flash_right{--flash:#1b9e6fbf}.BusRide-module__V181Xq__flash_wrong{--flash:#d23c3cbf}.BusRide-module__V181Xq__flash_right:after,.BusRide-module__V181Xq__flash_wrong:after{opacity:1}.BusRide-module__V181Xq__way{z-index:1;bottom:calc(var(--road-h) * .2);left:calc(var(--stop-x) + var(--bus-w) / 2 - 2%);height:calc(var(--road-h) * .6);aspect-ratio:2;filter:drop-shadow(0 0 1px #0000008c)drop-shadow(0 2px 3px #0006);animation:1.2s ease-in-out infinite BusRide-module__V181Xq__wayNudge;position:absolute}.BusRide-module__V181Xq__way:before{content:"";clip-path:polygon(0 32%,58% 32%,58% 0,100% 50%,58% 100%,58% 68%,0 68%);background:#fff;position:absolute;inset:0}.BusRide-module__V181Xq__wayLeft{left:auto;right:min(calc(100% - var(--stop-x) + var(--bus-w) / 2 - 2%), calc(99% - 18vh));right:min(calc(100% - var(--stop-x) + var(--bus-w) / 2 - 2%), calc(99% - 18cqh));animation-name:BusRide-module__V181Xq__wayNudgeLeft;scale:-1 1}@keyframes BusRide-module__V181Xq__wayNudge{50%{translate:18%}}@keyframes BusRide-module__V181Xq__wayNudgeLeft{50%{translate:-18%}}.BusRide-module__V181Xq__street{position:absolute;inset:0}.BusRide-module__V181Xq__house{bottom:var(--road-h);left:calc(var(--stop-x) + var(--offset) * var(--house-w));width:34cqw;height:min(43.5cqw,72.5cqh);transition:left var(--drive-ms) ease-in-out;background:bottom/contain no-repeat;position:absolute;translate:-50%}.BusRide-module__V181Xq__house0{background-image:url(/images/props/games/bus-ride-house-1.webp)}.BusRide-module__V181Xq__house1{background-image:url(/images/props/games/bus-ride-house-2.webp)}.BusRide-module__V181Xq__house2{background-image:url(/images/props/games/bus-ride-house-3.webp)}.BusRide-module__V181Xq__sign{left:calc(var(--stop-x) + var(--offset,0) * var(--house-w) + var(--sign-side,1) * 17vw);left:calc(var(--stop-x) + var(--offset,0) * var(--house-w) + var(--sign-side,1) * 17cqw);transition:left var(--drive-ms) ease-in-out;bottom:var(--road-h);top:calc(var(--game-corner-safe-height,64px) + 4px);z-index:2;pointer-events:none;flex-direction:column;align-items:center;display:flex;position:absolute;translate:-50%}.BusRide-module__V181Xq__signPlate{background:#fff;border:.9cqh solid #1f5fae;border-radius:2.4cqh;place-items:center;min-width:18cqh;padding:.5cqh 2.6cqh;display:grid;box-shadow:0 .8cqh 1.6cqh #00000040}.BusRide-module__V181Xq__signHidden{background:#eef2f6;border-color:#8a96a3}.BusRide-module__V181Xq__signHidden .BusRide-module__V181Xq__signNumber{color:#8a96a3}.BusRide-module__V181Xq__signNumber{color:#12345e;font-variant-numeric:tabular-nums;font-size:clamp(30px,13cqh,110px);font-weight:900;line-height:1.05}.BusRide-module__V181Xq__signPole{background:linear-gradient(90deg,#8a96a3,#c4ccd4,#8a96a3);flex:1;width:1.3cqh}.BusRide-module__V181Xq__bus{left:var(--stop-x);bottom:calc(var(--road-h) * .3 + var(--bus-w) * .068);z-index:3;width:var(--bus-w);height:var(--bus-h);position:absolute;translate:-50%}.BusRide-module__V181Xq__busArrive{animation:1.6s cubic-bezier(.2,.7,.3,1) both BusRide-module__V181Xq__busArriveRight}.BusRide-module__V181Xq__busArrive.BusRide-module__V181Xq__busLeft{animation-name:BusRide-module__V181Xq__busArriveLeft}.BusRide-module__V181Xq__busExit{animation:1.2s cubic-bezier(.5,0,.8,.4) forwards BusRide-module__V181Xq__busExitRight}.BusRide-module__V181Xq__busExit.BusRide-module__V181Xq__busLeft{animation-name:BusRide-module__V181Xq__busExitLeft}@keyframes BusRide-module__V181Xq__busExitRight{0%{translate:-50%}to{translate:calc(100cqw - 50%)}}@keyframes BusRide-module__V181Xq__busExitLeft{0%{translate:-50%}to{translate:calc(-50% - 100cqw)}}@keyframes BusRide-module__V181Xq__busArriveRight{0%{translate:calc(-50% - 100cqw)}to{translate:-50%}}@keyframes BusRide-module__V181Xq__busArriveLeft{0%{translate:calc(100cqw - 50%)}to{translate:-50%}}.BusRide-module__V181Xq__busBody{z-index:1;position:absolute;inset:0}.BusRide-module__V181Xq__busBody:after{content:"";background:url(/images/props/games/bus-ride-bus.webp) 50%/100% 100% no-repeat;position:absolute;inset:0}.BusRide-module__V181Xq__wheel{aspect-ratio:1;background:url(/images/props/games/bus-ride-wheel.webp) 50%/contain no-repeat;width:14.8%;position:absolute;top:98%;translate:-50% -50%}.BusRide-module__V181Xq__wheelBack{left:18.7%}.BusRide-module__V181Xq__wheelFront{left:76.9%}.BusRide-module__V181Xq__busArrive .BusRide-module__V181Xq__wheel{animation:1.6s cubic-bezier(.2,.7,.3,1) both BusRide-module__V181Xq__wheelArrive}.BusRide-module__V181Xq__busExit .BusRide-module__V181Xq__wheel{animation:1.2s cubic-bezier(.5,0,.8,.4) forwards BusRide-module__V181Xq__wheelExit}.BusRide-module__V181Xq__driving .BusRide-module__V181Xq__wheel{animation:BusRide-module__V181Xq__wheelDrive var(--drive-ms) ease-in-out}@keyframes BusRide-module__V181Xq__wheelArrive{0%{rotate:-1080deg}to{rotate:none}}@keyframes BusRide-module__V181Xq__wheelExit{to{rotate:1080deg}}@keyframes BusRide-module__V181Xq__wheelDrive{to{rotate:500deg}}.BusRide-module__V181Xq__busLeft .BusRide-module__V181Xq__busBody,.BusRide-module__V181Xq__busLeft .BusRide-module__V181Xq__animal{scale:-1 1}.BusRide-module__V181Xq__seats{--animal-h:calc(var(--bus-h) * .62);left:3.5%;right:20%;top:calc(36.5% - var(--animal-h) * .72);grid-template-columns:repeat(var(--seats,3), minmax(0, 1fr));gap:1.5%;display:grid;position:absolute;bottom:4%}.BusRide-module__V181Xq__busLeft .BusRide-module__V181Xq__seats{left:20%;right:3.5%}.BusRide-module__V181Xq__seat{grid-template-rows:calc(var(--animal-h) * .72) minmax(0, 1fr);cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:12px;place-items:start center;min-width:44px;min-height:44px;padding:0;display:grid;position:relative}.BusRide-module__V181Xq__seat:disabled{cursor:default}.BusRide-module__V181Xq__seatRight .BusRide-module__V181Xq__ticket{filter:drop-shadow(0 0 2px #1b9e6f)drop-shadow(0 0 6px #1b9e6fe6)}.BusRide-module__V181Xq__seatWrong .BusRide-module__V181Xq__ticket{filter:drop-shadow(0 0 2px #d23c3c)drop-shadow(0 0 6px #d23c3ce6)}.BusRide-module__V181Xq__seatWrong .BusRide-module__V181Xq__ticket,.BusRide-module__V181Xq__seatWrong .BusRide-module__V181Xq__animal{animation:.42s BusRide-module__V181Xq__seatShake}@keyframes BusRide-module__V181Xq__seatShake{0%,to{translate:0}20%{translate:-6px}40%{translate:6px}60%{translate:-4px}80%{translate:4px}}.BusRide-module__V181Xq__animal{z-index:0;width:var(--animal-h);max-width:100%;height:var(--animal-h);aspect-ratio:1;object-fit:contain;object-position:bottom;image-rendering:pixelated;position:relative}.BusRide-module__V181Xq__ticket{z-index:2;width:min(96%, calc(var(--bus-h) * .48));margin-top:3%;transition:scale .15s;display:block;position:relative}@media (hover:hover){.BusRide-module__V181Xq__seat:not(:disabled):hover .BusRide-module__V181Xq__ticket{scale:1.1}}.BusRide-module__V181Xq__leaving .BusRide-module__V181Xq__animal{animation:.9s forwards BusRide-module__V181Xq__jumpOff}.BusRide-module__V181Xq__leaving .BusRide-module__V181Xq__ticket{animation:.7s ease-in forwards BusRide-module__V181Xq__ticketFade}.BusRide-module__V181Xq__seatGone .BusRide-module__V181Xq__animal,.BusRide-module__V181Xq__seatGone .BusRide-module__V181Xq__ticket{visibility:hidden}@keyframes BusRide-module__V181Xq__jumpOff{0%{animation-timing-function:ease-out;translate:0}35%{animation-timing-function:ease-in;translate:0 -40%}75%{opacity:1;translate:0 60%}to{opacity:0;translate:0 85%}}@keyframes BusRide-module__V181Xq__ticketFade{to{opacity:0;scale:.8}}.BusRide-module__V181Xq__seatBounce .BusRide-module__V181Xq__animal{animation:.6s ease-in-out BusRide-module__V181Xq__cueBounce}.BusRide-module__V181Xq__signPulse .BusRide-module__V181Xq__signPlate{animation:.6s ease-in-out BusRide-module__V181Xq__cuePulse}@keyframes BusRide-module__V181Xq__cueBounce{0%,to{translate:0}40%{translate:0 -14%}}@keyframes BusRide-module__V181Xq__cuePulse{0%,to{scale:1}40%{scale:1.08}}@media (prefers-reduced-motion:reduce){.BusRide-module__V181Xq__busArrive,.BusRide-module__V181Xq__busExit,.BusRide-module__V181Xq__seatWrong .BusRide-module__V181Xq__ticket,.BusRide-module__V181Xq__seatWrong .BusRide-module__V181Xq__animal,.BusRide-module__V181Xq__busArrive .BusRide-module__V181Xq__wheel,.BusRide-module__V181Xq__busExit .BusRide-module__V181Xq__wheel,.BusRide-module__V181Xq__driving .BusRide-module__V181Xq__wheel,.BusRide-module__V181Xq__way{animation:none}.BusRide-module__V181Xq__house,.BusRide-module__V181Xq__sign{transition:none}.BusRide-module__V181Xq__seatBounce .BusRide-module__V181Xq__animal,.BusRide-module__V181Xq__signPulse .BusRide-module__V181Xq__signPlate{animation:none}.BusRide-module__V181Xq__leaving .BusRide-module__V181Xq__animal,.BusRide-module__V181Xq__leaving .BusRide-module__V181Xq__ticket{animation:1ms forwards BusRide-module__V181Xq__ticketFade}}
