/* Preserve supplied piece positions and animation; only size the outer component. */
[data-stable-logo] .up-brand-image{position:relative!important;display:block!important;width:100%!important;height:auto!important;max-width:100%!important;opacity:1!important;visibility:visible!important;clip-path:none!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;animation:up-stable-breathe 9s ease-in-out infinite;transform-origin:center}
[data-stable-logo] .up-stable-shine{position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 40%,#ffffff88 50%,transparent 60%) 150% 0/250% 100% no-repeat;mask:var(--up-brand-mask) center/100% 100% no-repeat;-webkit-mask:var(--up-brand-mask) center/100% 100% no-repeat;opacity:0;animation:up-stable-shine 12s ease-in-out infinite}
@keyframes up-stable-breathe{0%,70%,100%{transform:scale(1)}80%{transform:scale(1.012)}}
@keyframes up-stable-shine{0%,65%{opacity:0;background-position:150% 0}68%{opacity:.8;background-position:150% 0}82%{opacity:.8;background-position:-50% 0}85%,100%{opacity:0;background-position:-50% 0}}
.up-logo-motion-paused [data-stable-logo] .up-brand-image,.up-logo-motion-paused [data-stable-logo] .up-stable-shine{animation:none!important}
@media(prefers-reduced-motion:reduce){[data-stable-logo] .up-brand-image,[data-stable-logo] .up-stable-shine{animation:none!important}}
.up-logo-motion-paused .up4-a-p,.up-logo-motion-paused .up4-t-p,.up-logo-motion-paused .up4-b-p,.up-logo-motion-paused .up4-n-p{clip-path:none!important}
.up-brand>.up4-a{width:100%;max-width:none;margin:0;overflow:visible}
.up-brand .up4-a-p,.up-logo-slot .up4-t-p,.up-logo-slot .up4-b-p,.up-logo-slot .up4-n-p{padding:0!important;border:0!important;margin:0!important;box-shadow:none;object-fit:contain}
.up-logo-slot{position:relative;display:block!important;box-sizing:border-box;padding:0!important;border:0!important;border-radius:0!important;height:auto!important;line-height:normal;background:transparent!important;flex-shrink:0}
.up-logo-slot:before,.up-logo-slot:after{display:none!important}
.up-logo-footer{width:100%!important;max-width:310px!important;margin:0 0 22px!important;text-align:left}
.up-logo-footer>.up4-t{width:100%;max-width:none;margin:0}
.up-logo-section{width:140px!important;max-width:140px!important;margin:0 auto 18px!important}
.up-logo-section>.up4-b,.up-logo-section>.up4-n{width:100%;max-width:none;padding:12%;margin:0}
.up-section-heading .up-logo-section{width:100px!important;max-width:100px!important;margin-bottom:12px!important}
.up-logo-motion-paused .up4-a-p,.up-logo-motion-paused .up4-t-p,.up-logo-motion-paused .up4-b-p,.up-logo-motion-paused .up4-n-p{animation:none!important;opacity:1!important;transform:none!important}
.up-logo-motion-paused .up4-a-shine,.up-logo-motion-paused .up4-t-shine{display:none!important}
.up-logo-motion-paused .up4-b-glow,.up-logo-motion-paused .up4-n-glow{animation:none!important;filter:none!important}
.up-logo-slot .up4-a,.up-logo-slot .up4-t,.up-logo-slot .up4-b,.up-logo-slot .up4-n{vertical-align:middle}
@media(max-width:767px){.up-logo-footer{max-width:290px!important;margin:0 auto 20px!important}.up-logo-section{width:120px!important;max-width:120px!important}.up-section-heading .up-logo-section{width:90px!important;max-width:90px!important}}
@media(prefers-reduced-motion:reduce){.up4-a-p,.up4-t-p,.up4-b-p,.up4-n-p{animation:none!important;opacity:1!important;transform:none!important}.up4-a-shine,.up4-t-shine{display:none!important}.up4-b-glow,.up4-n-glow{animation:none!important}}
/* Keep the supplied logo visibly animated, even when the site motion toggle is paused. */
html.up-logo-motion-paused [data-stable-logo] .up-brand-image,
html.up-logo-motion-paused [data-stable-logo] .up-stable-shine{animation-duration:8s!important;animation-iteration-count:infinite!important}
html.up-logo-motion-paused [data-stable-logo] .up-brand-image{animation-name:up-stable-breathe!important}
html.up-logo-motion-paused [data-stable-logo] .up-stable-shine{animation-name:up-stable-shine!important}
@media(prefers-reduced-motion:reduce){[data-stable-logo] .up-brand-image{animation:up-stable-breathe 8s ease-in-out infinite!important}[data-stable-logo] .up-stable-shine{animation:up-stable-shine 10s ease-in-out infinite!important}}
@keyframes up-stable-breathe{0%,100%{transform:translateY(0) scale(1);filter:drop-shadow(0 0 0 transparent)}45%{transform:translateY(-2px) scale(1.02);filter:drop-shadow(0 3px 5px #164c7270)}70%{transform:translateY(0) scale(1)}}

[data-stable-logo] .up4-a-p,[data-stable-logo] .up4-t-p,[data-stable-logo] .up4-b-p,[data-stable-logo] .up4-n-p{z-index:1}
html.up-logo-motion-paused [data-stable-logo] .up4-a-p,html.up-logo-motion-paused [data-stable-logo] .up4-t-p,html.up-logo-motion-paused [data-stable-logo] .up4-b-p,html.up-logo-motion-paused [data-stable-logo] .up4-n-p{animation-play-state:running!important}
