/* Shared motion polish. Content stays visible if JavaScript or motion is disabled. */
:root{--am-ease:cubic-bezier(.22,1,.36,1);--am-accent:#87dfef}
.am-hero{position:relative;isolation:isolate;overflow:hidden}
.am-hero-light{position:absolute;inset:-25%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 25% 45%,rgba(72,168,204,.13),transparent 46%),radial-gradient(ellipse at 75% 55%,rgba(103,213,172,.08),transparent 42%);transform:translate3d(-2%,0,0);animation:amAurora 16s ease-in-out infinite alternate}
.am-journey{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:13px 18px;margin:0 auto 20px;border:1px solid rgba(129,206,237,.2);border-radius:15px;background:rgba(15,39,56,.94);color:#e9f6fc;font:500 13px/1.5 system-ui,sans-serif;box-sizing:border-box;width:min(1200px,calc(100% - 40px))}
.am-journey-label{font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#95e2c3;border:1px solid rgba(149,226,195,.32);border-radius:999px;padding:4px 9px;white-space:nowrap}
.am-journey-route{font-weight:750}.am-journey-detail{color:#bdd0de}.am-journey-note{margin-left:auto;color:#9db3c4;font-size:11px}
.am-motion .btn,.am-motion .ah-primary,.am-motion .ah-search,.am-motion .route-fare,.am-motion .sr-seat{touch-action:manipulation}
.am-motion input,.am-motion select,.am-motion textarea{transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}
.am-motion input:focus,.am-motion select:focus,.am-motion textarea:focus{border-color:var(--am-accent)}
.am-motion [aria-invalid=true]{border-color:#f3a6a6!important}
.am-motion .booking-progress li{transition:color .3s ease,background-color .3s ease,border-color .3s ease}
.am-motion .booking-progress .is-active{filter:drop-shadow(0 0 8px rgba(116,211,235,.15))}
.am-motion .sr-seat{transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease!important}
.am-motion .sr-seat.selected{box-shadow:0 0 0 3px rgba(111,222,175,.15)}
.am-motion .segment-tab,.am-motion .passenger-tab{transition:background-color .22s ease,border-color .22s ease,color .22s ease}
.am-motion .route-flight-card{will-change:auto}
.am-motion .route-fare.is-preferred,.am-motion .route-flight-card .tag-best{animation:none}
.am-motion .route-payment-cta{bottom:max(18px,env(safe-area-inset-bottom));transition:border-color .25s ease,box-shadow .25s ease}
.am-motion.bna-phl-results{padding-bottom:110px}
.am-motion .route-leg-progress:not(:has(>i)){grid-template-columns:1fr}
.am-motion .route-payment-cta[hidden]{display:none!important}
@media(hover:hover) and (pointer:fine){
 .am-motion .ah-destination img,.am-motion .destination-card img{transition:transform .65s var(--am-ease)!important}
 .am-motion .ah-destination:hover img,.am-motion .destination-card:hover img{transform:scale(1.045)}
 .am-motion .route-fare:hover,.am-motion .sr-seat:not(:disabled):hover{border-color:#9be1f2;box-shadow:0 8px 22px rgba(51,161,192,.16)}
 .am-motion .ah-nav a,.am-motion .nav-links a{text-underline-offset:7px;text-decoration-thickness:1px}
 .am-motion .ah-nav a:hover,.am-motion .nav-links a:hover{text-decoration-line:underline}
}
@media(prefers-reduced-motion:no-preference){
 .am-motion:not(.low-motion) .route-plane{animation:aerisPlaneJourney 5.5s ease-in-out infinite!important}
 .am-motion .success-icon{animation:amSuccess .65s var(--am-ease) both}
 .am-motion .form-status.show{animation:amFeedback .3s var(--am-ease) both}
 .am-motion .seat-confirmed{animation:amSeat .26s var(--am-ease) both}
}
@keyframes amAurora{to{transform:translate3d(3%,2%,0)}}
@keyframes amSuccess{0%{opacity:0;transform:scale(.65) rotate(-8deg)}65%{opacity:1;transform:scale(1.07) rotate(2deg)}100%{transform:scale(1) rotate(0)}}
@keyframes amFeedback{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}
@keyframes amSeat{50%{transform:scale(.91)}100%{transform:scale(1)}}
html.aeris-tab-hidden *,html.aeris-tab-hidden *:before,html.aeris-tab-hidden *:after{animation-play-state:paused!important}
@media(max-width:760px){
 .am-journey{width:calc(100% - 28px);padding:12px 14px;gap:6px 12px}.am-journey-note{width:100%;margin-left:0}
 .am-motion .route-payment-cta{transform:none!important;animation:none!important;bottom:max(10px,env(safe-area-inset-bottom))!important}
 .am-motion.bna-phl-results{padding-bottom:185px}
 .am-hero-light{animation-duration:22s}
}
@media(prefers-reduced-motion:reduce){
 .am-motion *,.am-motion *:before,.am-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 .am-motion .route-flight-card{opacity:1;transform:none}.am-hero-light{transform:none}
}
@media print{.am-hero-light,.am-journey{display:none!important}.am-motion *{animation:none!important;transition:none!important}}

.low-motion .am-hero-light{animation:none}
