/* Original illustrated ambience for Benny's valley. All elements are decorative.
   Only transform/opacity are animated; low-end mobile devices stay responsive. */
.episode-map{isolation:isolate}
.benny-valley-life{
 position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden;
}
.valley-cloud,.valley-bird,.valley-butterfly,.valley-flower,.valley-road-dust{
 position:absolute;pointer-events:none;
}
.valley-cloud{width:clamp(80px,13vw,150px);opacity:.73}
.valley-cloud svg,.valley-bird svg,.valley-butterfly svg{width:100%;height:auto;display:block}
.valley-cloud.cloud-one{left:7%;top:6%;animation:valley-cloud-drift 11s ease-in-out infinite alternate}
.valley-cloud.cloud-two{right:17%;top:14%;width:clamp(65px,9vw,120px);animation:valley-cloud-drift 13s -4s ease-in-out infinite alternate-reverse}
.valley-bird{width:clamp(27px,4vw,52px);opacity:.75}
.valley-bird.bird-one{left:42%;top:9%;animation:valley-bird-fly 9s ease-in-out infinite alternate}
.valley-bird.bird-two{left:52%;top:18%;width:clamp(21px,3vw,37px);animation:valley-bird-fly 12s -5s ease-in-out infinite alternate-reverse}
.valley-butterfly{width:clamp(23px,3.7vw,48px);transform-origin:center center}
.valley-butterfly.butterfly-one{left:27%;top:58%;animation:valley-butterfly-float 5.5s ease-in-out infinite alternate}
.valley-butterfly.butterfly-two{left:81%;top:57%;animation:valley-butterfly-float 6.2s -2s ease-in-out infinite alternate-reverse}
.valley-butterfly .butterfly-wings{transform-origin:center;animation:valley-wingbeat .48s ease-in-out infinite alternate}
.valley-flower{position:absolute;width:clamp(15px,2.6vw,32px);height:auto;opacity:.94;transform-origin:50% 100%;animation:valley-flower-sway 4.7s ease-in-out infinite alternate}
.valley-flower:nth-last-child(2n){animation-delay:-1.7s}
.valley-road-dust{left:var(--car-x,44%);bottom:12%;width:100px;height:45px;opacity:0;transform:translateX(-65%);transition:opacity .2s ease}
.valley-road-dust span{position:absolute;bottom:2px;width:15px;height:15px;border-radius:50%;background:#ebd2a4a8;opacity:0;animation:valley-dust-fade .72s ease-out infinite}
.valley-road-dust span:nth-child(1){left:14px;animation-delay:0s}
.valley-road-dust span:nth-child(2){left:32px;animation-delay:-.2s}
.valley-road-dust span:nth-child(3){left:52px;animation-delay:-.4s}
.valley-road-dust span:nth-child(4){left:75px;animation-delay:-.6s}
.benny-valley-life.valley-on-road .valley-road-dust{opacity:1}
.episode-map.valley-arrived .map-stop:nth-of-type(3),
.episode-map.valley-arrived .map-stop:nth-of-type(4),
.episode-map.valley-arrived .map-stop:nth-of-type(5){transition:filter .2s}
.episode-map.valley-arrived[data-destination="garden"] .map-stop:nth-of-type(3),
.episode-map.valley-arrived[data-destination="orchard"] .map-stop:nth-of-type(4),
.episode-map.valley-arrived[data-destination="post"] .map-stop:nth-of-type(5){
 animation:valley-arrival-glow .45s ease-in-out 2 alternate;
}
@keyframes valley-cloud-drift{to{transform:translateX(22px)}}
@keyframes valley-bird-fly{to{transform:translate(32px,-9px)}}
@keyframes valley-butterfly-float{to{transform:translate(14px,-17px) rotate(8deg)}}
@keyframes valley-wingbeat{to{transform:scaleX(.46)}}
@keyframes valley-flower-sway{to{transform:rotate(7deg)}}
@keyframes valley-dust-fade{0%{opacity:.7;transform:scale(.7) translateX(5px)}100%{opacity:0;transform:scale(1.7) translate(-22px,-24px)}}
@keyframes valley-arrival-glow{to{filter:brightness(1.2) drop-shadow(0 0 12px #ffe39d)}}
@media(max-width:700px){
 .valley-cloud{opacity:.45}
 .valley-bird{opacity:.45}
 .valley-butterfly{width:27px}
 .valley-flower{width:19px}
 .valley-road-dust{bottom:11%;width:65px}
}
@media(prefers-reduced-motion:reduce){
 .valley-cloud,.valley-bird,.valley-butterfly,.valley-butterfly .butterfly-wings,.valley-flower,
 .valley-road-dust span,.episode-map.valley-arrived .map-stop{animation:none!important}
 .valley-road-dust{display:none!important}
}
