/* route transitions (left/opacity only, so fixed bars and the FAB keep their place) */
body.mv-run{overflow-x:hidden}
body.nested main{animation:none}
#main.mv-fwd{position:relative;animation:mvFwd .32s cubic-bezier(.2,.8,.2,1) both}
#main.mv-back{position:relative;animation:mvBack .3s cubic-bezier(.2,.8,.2,1) both}
#main.mv-tabr{position:relative;animation:mvTabR .3s cubic-bezier(.2,.8,.2,1) both}
#main.mv-tabl{position:relative;animation:mvTabL .3s cubic-bezier(.2,.8,.2,1) both}
@keyframes mvFwd{from{left:44px;opacity:0}to{left:0;opacity:1}}
@keyframes mvBack{from{left:-34px;opacity:0}to{left:0;opacity:1}}
@keyframes mvTabR{from{left:26px;opacity:0}to{left:0;opacity:1}}
@keyframes mvTabL{from{left:-26px;opacity:0}to{left:0;opacity:1}}
.mv-c{position:relative;animation:mvUp .45s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0)*45ms)}
@keyframes mvUp{from{top:14px;opacity:0}to{top:0;opacity:1}}
.mv-sub-r>.mv-c{animation-name:mvSubR}.mv-sub-l>.mv-c{animation-name:mvSubL}
@keyframes mvSubR{from{left:28px;opacity:0}to{left:0;opacity:1}}@keyframes mvSubL{from{left:-28px;opacity:0}to{left:0;opacity:1}}
/* bottom nav icon pop */
#nav button.pop .i{animation:mvPop .42s cubic-bezier(.3,1.8,.5,1)}
@keyframes mvPop{0%{transform:scale(.7)}60%{transform:scale(1.25)}100%{transform:scale(1)}}
/* sheets */
.sheetbg{animation:mvFade .2s ease both}
.sheet{animation:mvSheet .34s cubic-bezier(.2,.9,.2,1) both;position:relative}
.sheet::before{content:"";display:block;width:40px;height:4px;border-radius:9px;background:var(--line);margin:-8px auto 12px;opacity:.9}
.sheetbg:has(.sheet) .sheet.dummy{}
.sheetbg.out{animation:mvFadeOut .19s ease both}.sheetbg.out .sheet{animation:mvSheetOut .19s ease-in both}
@keyframes mvFade{from{opacity:0}to{opacity:1}}@keyframes mvFadeOut{to{opacity:0}}
@keyframes mvSheet{from{transform:translateY(60px);opacity:.4}to{transform:none;opacity:1}}@keyframes mvSheetOut{to{transform:translateY(40px);opacity:0}}
/* press feedback */
.btn,.chip,.bchip,.pill,.cs-btn,.dact,.cx-tabs button,.seg button,#nav button,.lx-chips button,.of-car,.br-row,.ma-r{transition:transform .14s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease}
.btn:active,.chip:active,.bchip:active,.pill:active,.dact:active,.of-car:active,.ma-r:active{transform:scale(.97)}
.card.click:active,.mk-card:active,.dc.click:active,.cg:active,.as-card:active{transform:scale(.985)}
.seg button:active{transform:scale(.96)}
@media (prefers-reduced-motion:reduce){#main[class*="mv-"],.mv-c,.sheet,.sheetbg,#nav button.pop .i{animation:none!important}}
:root[data-effects=off] #main,:root[data-effects=off] .sheet,:root[data-effects=off] .sheetbg{animation:none!important}
.sheetbg.nomv,.sheetbg.nomv .sheet{animation:none}

/* my location pointer */
.me-pin{position:relative;width:34px;height:34px;cursor:pointer}
.me-pin b{position:absolute;inset:8px;border-radius:50%;background:var(--ac);border:3px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.5)}
.me-pin i{position:absolute;inset:-6px;border-radius:50%;background:color-mix(in srgb,var(--ac) 40%,transparent);animation:mlPulse 2.2s ease-out infinite}
.me-pin.approx b{background:color-mix(in srgb,var(--ac) 55%,#fff);border-style:dashed}.me-pin.approx i{background:color-mix(in srgb,var(--ac) 28%,transparent)}
@keyframes mlPulse{0%{transform:scale(.45);opacity:.9}100%{transform:scale(1.35);opacity:0}}
.ml-circle{cursor:pointer}
.ml-chip{position:absolute;left:50%;transform:translateX(-50%);top:172px;z-index:520;padding:7px 14px;border-radius:99px;border:1px solid color-mix(in srgb,var(--ac2) 60%,transparent);background:color-mix(in srgb,var(--ac2) 14%,var(--card));color:var(--tx);font:700 12px var(--font);cursor:pointer;white-space:nowrap;box-shadow:0 4px 14px rgba(0,0,0,.35)}
@media (prefers-reduced-motion:reduce){.me-pin i{animation:none}}

.ml-sb svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;display:block}
.ml-sb{color:var(--mut)}.ml-sb.on,.ml-sb.approx{color:var(--ac)}
