/* The familiar trip UI, at 75% scale in a centered illustrated bus display. */
body.ui-v21 #gameApp .classic-ride41 .ride-screen41{position:absolute;inset:12.5%;width:75%;height:75%;overflow:hidden;border:2px solid #142e32;border-radius:.3cqw;box-shadow:0 0 0 .45cqw #17383b,0 .6cqw 1.2cqw #06191c88;container-type:size;isolation:isolate;background:#183535}
body.ui-v21 #gameApp .classic-ride41 .world-route-video{inset:0!important;width:100%!important;height:100%!important;object-fit:fill!important;border-radius:0!important;z-index:0}
body.ui-v21 #gameApp .classic-ride41 .ride-cabin{display:block!important;left:3%!important;top:24%!important;width:31%!important;aspect-ratio:16/9;z-index:3;pointer-events:none}
body.ui-v21 #gameApp .classic-ride41 .ride-itinerary{left:auto!important;right:3%!important;top:auto!important;bottom:5%!important;width:52%!important;height:auto!important;padding:1.5cqh 1.5cqw!important;background:linear-gradient(135deg,#193b3bea,#10282cf5)!important;border:1px solid #dfca8b88!important;border-bottom:3px solid #082d32!important;border-radius:.65cqw!important;clip-path:none;box-shadow:0 .7cqh 1.8cqw #0c232c55!important}
body.ui-v21 #gameApp .classic-ride41 .ride-itinerary-stops{font-size:clamp(12px,2cqw,25px)!important;gap:1cqw;margin:0 0 .7cqh}
body.ui-v21 #gameApp .classic-ride41 .ride-itinerary p{font-size:clamp(10px,1.4cqw,17px)!important;margin:.5cqh 0!important}
body.ui-v21 #gameApp .classic-ride41 .ride-arrival-status{font-size:clamp(10px,1.2cqw,15px)!important}
body.ui-v21 #gameApp .classic-ride41 .ride-progress{position:relative!important;inset:auto!important;height:3px!important;margin:1cqh 0}
body.ui-v21 #gameApp .classic-ride41 .bus40-start{position:relative!important;inset:auto!important;width:100%!important;min-height:40px!important;padding:.8cqh 1.2cqw!important;margin:1cqh 0 0!important;font-size:clamp(12px,1.65cqw,21px)!important;background:linear-gradient(#f4d78e,#dcb35d)!important;color:#213d3e!important;border:1px solid #ffe7ad!important;border-bottom:3px solid #977039!important;border-radius:.5cqw!important;box-shadow:0 2px 0 #071d27;cursor:pointer}
body.ui-v21 #gameApp .classic-ride41.bus40-running .bus40-start{display:none!important}
body.ui-v21 #gameApp .classic-ride41 .bus40-stop{width:clamp(32px,4cqw,48px)!important;height:clamp(32px,4cqw,48px)!important;border-width:2px!important}
body.ui-v21 #gameApp .classic-ride41 .bus40-stop::before{content:'';display:block;width:65%;height:65%;margin:auto;background:#fff0c9;mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 9-8 9 8M5 10v11h14V10M9 21v-7h6v7'/%3E%3C/svg%3E")}
body.ui-v21 #gameApp .classic-ride41 :is(.target-factory,.origin-factory)::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20V9l6 3V7l6 4V4h6v16ZM7 16h1m5 0h1m4 0h1'/%3E%3C/svg%3E")}
body.ui-v21 #gameApp .classic-ride41 .bus40-stop::after{content:'הבית של דוד';position:absolute;top:calc(100% + 3px);left:50%;translate:-50% 0;white-space:nowrap;padding:3px 8px;border:1px solid #e9cf91;border-radius:4px;background:#163c3eef;color:#fff0c9;font:500 clamp(10px,1.35cqw,16px)/1.2 'Fredoka Game',sans-serif;pointer-events:none}
body.ui-v21 #gameApp .classic-ride41 :is(.target-factory,.origin-factory)::after{content:'מפעל תפוגן'}
body.ui-v21 #gameApp .classic-ride41 :is(.target-factory,.origin-factory){left:81%!important;top:52%!important}
body.ui-v21 #gameApp .classic-ride41 :is(.target-home,.origin-home){left:22%!important;top:52%!important}
body.ui-v21 #gameApp .classic-ride41 .ride-skip{left:3%!important;bottom:5%!important;top:auto!important;right:auto!important;min-height:36px!important;padding:1cqh 1cqw!important;font-size:clamp(10px,1.4cqw,17px)!important}
body.ui-v21 #gameApp .classic-ride41 button:focus-visible{outline:3px solid #fff0bb!important;outline-offset:3px}
/* Each painted pose still belongs to the original eight-direction David. Gait is
   driven by travelled distance; pause freezes the exact pose and weight shift. */
.fw30-actor{--fw41-bob:0%;--fw41-lean:0deg}
.fw30-sprite{translate:0 var(--fw41-bob);rotate:var(--fw41-lean);transform-origin:50% 91%}
.fw30-actor:not(.is-moving) .fw30-sprite{transition:translate .12s ease-out,rotate .12s ease-out}
.factory-walker30.is-paused .fw30-sprite{transition:none}
@media(prefers-reduced-motion:reduce){.fw30-sprite{translate:none!important;rotate:none!important}}
body.reduced-motion .fw30-sprite{translate:none!important;rotate:none!important}
