/* Desktop keeps the original centered composition; mobile uses the glass reference. */
body.airport-scene.flight-glass-page{min-height:100svh;background:linear-gradient(180deg,#01050c88,#0209123b 55%,#02070b55),url('/assets/flights-shanghai-bund-night-v4.webp') center center/cover fixed no-repeat!important;isolation:isolate}
body.flight-glass-page::before,body.flight-glass-page::after{content:none!important}
.flight-glass-scene{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.flight-glass-scene svg,.flight-glass-horizon{display:none}
.flight-glass-page .flight-topbar{position:relative;z-index:5;width:calc(100% - 120px);height:60px;margin:auto;padding:0 6px;gap:38px;background:transparent;border-bottom:1px solid #b2d5ff2e}
.flight-glass-page .flight-brand{font-size:25px;font-weight:700;letter-spacing:5px;line-height:1.3;text-shadow:0 0 14px #cae9ff25}
.flight-glass-page .flight-topbar nav{gap:14px;font-size:11px;color:#d8e7fa;letter-spacing:1.7px}
.flight-glass-page main{position:relative;z-index:1;max-width:1280px;min-height:calc(100svh - 60px);margin:auto;padding:76px 30px 25px;align-items:center}
.flight-glass-page .flight-welcome p{font-size:12px;font-weight:500;letter-spacing:5px;color:#cee1fb;margin:0 0 16px}
.flight-glass-page .flight-welcome h1{font-size:clamp(36px,3.4vw,50px);font-family:"Segoe UI",Arial,sans-serif;font-weight:300;letter-spacing:-1px;line-height:1.2;margin:0}
.flight-glass-page .flight-welcome::after{content:"";display:block;width:180px;height:2px;margin:28px auto 0;background:none;box-shadow:none}
.flight-glass-page .flight-cards{width:100%;margin:76px 0 0;padding:0;gap:26px;align-items:stretch}
.flight-glass-page .flight-card,.flight-glass-page .flight-card.is-active,.flight-glass-page .flight-card:hover,.flight-glass-page .flight-card:focus-within{width:390px;max-width:100%;min-height:260px;padding:32px 44px 34px;border:1px solid #a8c6e45c;border-radius:25px;background:linear-gradient(125deg,#e4f0ff1c 0%,#c5dcf407 28%,transparent 48%),linear-gradient(155deg,#0b182b85,#02070fb8 65%,#0b203b70);box-shadow:inset 0 1px 0 #f0f7ff66,inset 1px 0 0 #d6eaff24,inset 0 -1px 0 #71a1cc38,0 18px 50px #0009,0 0 20px #4488c515;backdrop-filter:blur(25px) saturate(125%);-webkit-backdrop-filter:blur(25px) saturate(125%)}
.flight-glass-page .flight-card:hover{transform:translateY(-3px)}
.flight-glass-page .flight-card::before{inset:0;left:0;bottom:0;width:100%;height:100%;border:0;border-radius:inherit;transform:none;clip-path:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 270' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='a'%3E%3Cstop stop-color='%230271df' stop-opacity='0'/%3E%3Cstop offset='.6' stop-color='%231999ff' stop-opacity='.45'/%3E%3Cstop offset='1' stop-color='%234bc8ff' stop-opacity='.7'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M-10 270 Q240 293 410 207 L410 280Z' fill='url(%23a)'/%3E%3Cpath d='M-10 270 Q240 293 410 207' fill='none' stroke='%23b9efff' stroke-width='1.5'/%3E%3C/svg%3E") center/100% 100% no-repeat;box-shadow:none;filter:drop-shadow(0 0 5px #3cc4ff);opacity:.23}
.flight-glass-page .flight-card::after{opacity:.25}
.flight-glass-page .flight-card h2{font:350 56px/1.08 "Segoe UI",Arial,sans-serif;letter-spacing:-1.4px;margin:10px 0 12px}
.flight-glass-page .flight-card .flight-date{font-size:14px;letter-spacing:4px;color:#c1dcfc}
.flight-glass-page .flight-card-actions{margin-top:29px;gap:12px}
.flight-glass-page .flight-card .flight-card-actions .flight-enter{min-height:44px;border-radius:22px;border:1px solid #a4e7ff;background:linear-gradient(180deg,#70c6ff8c 0%,#327bb7a1 15%,#0a2443ed 50%,#164d7bd6 85%,#59baf078);box-shadow:inset 0 1px 8px #edfdff70,inset 0 -3px 13px #3db4ff73,0 0 5px #6cdbffa6,0 0 19px #1699ff66;filter:none;color:#fff;text-shadow:0 0 9px #b4e8ff47;font-size:14px;font-weight:600}
.flight-glass-page .flight-card .flight-card-actions .flight-enter:hover{border-color:#e5fbff;box-shadow:inset 0 1px 10px #edfdff8c,inset 0 -3px 15px #3db4ff99,0 0 8px #6cdbffc2,0 0 25px #1699ff8c}
body.flight-glass-page main>.flight-services,.flight-glass-page.is-loading .flight-services{position:relative;left:auto;bottom:auto;transform:none;display:flex;justify-content:center;max-width:100%;width:max-content;margin: auto 0 0;padding:54px 0 0;gap:0;overflow-x:auto}
.flight-glass-page .flight-services a,.flight-glass-page.mu-external-services .flight-services a{position:relative;min-width:0;min-height:68px;padding:0 18px;gap:10px;flex:0 0 112px;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none}
.flight-glass-page .flight-services a+a::before{display:block;content:"";position:absolute;left:0;top:8px;bottom:8px;width:1px;background:#91cfff5e}
.flight-glass-page .flight-services b{font-size:10px;font-weight:500;letter-spacing:1px;text-align:center;white-space:nowrap;line-height:1.4}
.flight-glass-page .flight-actions,.flight-glass-page.is-loading .flight-actions{position:relative;left:auto;bottom:auto;transform:none;margin:20px 0 0;font-size:10px;color:#c7d9ef;gap:22px}
.flight-glass-page #flight-status{margin:20px 0 0;color:#d5e7fc}
.flight-glass-page.is-loading .flight-loading>span{top:43%}
@media(max-width:760px){
 body.airport-scene.flight-glass-page{background-color:#02060d!important;background:radial-gradient(ellipse at 98% 50%,#17325218,transparent 60%),linear-gradient(180deg,#01050cbb,#02091266 54%,#02070b44),url('/assets/flights-shanghai-bund-night-v4.webp') 12% bottom/auto 100svh fixed no-repeat!important}
 .flight-glass-scene svg{display:block;position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:url(#flight-arc-light);stroke-width:1;opacity:.16;filter:drop-shadow(0 0 4px #61cfff)}
 .flight-glass-scene svg .flight-glass-ribbon{fill:url(#flight-ribbon-fill);stroke:none}
 .flight-glass-page .flight-topbar{width:calc(100% - 56px);height:86px;padding:0;gap:12px}
 .flight-glass-page .flight-brand{position:relative;padding-bottom:5px;font-size:30px;font-weight:800;letter-spacing:3px}
 .flight-glass-page .flight-brand::after{content:none}
 .flight-glass-page main{min-height:calc(100svh - 86px);padding:36px clamp(20px,8vw,42px) 28px;align-items:stretch}
 .flight-glass-page .flight-welcome{text-align:left;max-width:520px;width:100%;margin:0 auto}
 .flight-glass-page .flight-welcome p{font-size:10px;letter-spacing:3.3px;margin-bottom:14px}
 .flight-glass-page .flight-welcome h1{font-size:clamp(27px,7.4vw,38px);letter-spacing:-.7px}
 .flight-glass-page .flight-welcome::after{margin:23px 0 0;width:86px}
 .flight-glass-page .flight-cards{margin-top:33px;gap:22px}
 .flight-glass-page .flight-card,.flight-glass-page .flight-card.is-active,.flight-glass-page .flight-card:hover,.flight-glass-page .flight-card:focus-within{width:100%;max-width:520px;min-height:245px;padding:27px 24px 30px;border-radius:27px;background:linear-gradient(125deg,#e4f0ff24 0%,#c5dcf409 28%,transparent 48%),linear-gradient(155deg,#0b182b85,#02070fb8 65%,#0b203b70);box-shadow:inset 0 1px 0 #f0f7ff66,inset 1px 0 0 #d6eaff24,inset 0 -1px 0 #71a1cc38,0 18px 50px #0009,0 0 20px #4488c515}
 .flight-glass-page .flight-card h2{font:800 clamp(46px,13.5vw,68px)/1.07 Arial,sans-serif;letter-spacing:-1.5px;margin:10px 0 12px}
 .flight-glass-page .flight-card .flight-date{font-size:13px;letter-spacing:3.4px}
 .flight-glass-page .flight-card-actions{margin-top:31px}
 .flight-glass-page .flight-card .flight-card-actions .flight-enter{min-height:43px;border-radius:14px;font-size:13px}
 body.flight-glass-page main>.flight-services,.flight-glass-page.is-loading .flight-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:520px;margin:31px auto 0;padding:0;gap:13px;width:100%;overflow:visible}
 .flight-glass-page .flight-services a,.flight-glass-page.mu-external-services .flight-services a{min-height:105px;padding:17px 6px 14px;gap:12px;flex:initial;border:1px solid #a8c6e44d;border-radius:21px;background:linear-gradient(135deg,#e2f0ff14,transparent 50%),linear-gradient(145deg,#13253a75,#030a16a6 70%,#162d4559);box-shadow:inset 0 1px 0 #edf6ff40,inset 0 -1px 0 #7caed52b,0 12px 24px #0006;backdrop-filter:blur(22px) saturate(120%);-webkit-backdrop-filter:blur(22px) saturate(120%)}
 .flight-glass-page .flight-services a::before{display:none!important}
 .flight-glass-page .flight-services a:hover,.flight-glass-page .flight-services a:focus-visible{border-color:#e7faff;box-shadow:inset 0 1px 10px #e5f7ff70,0 0 6px #8edbffa6,0 0 23px #1a86eb66}
 .flight-glass-page .flight-services b{font-size:10px;letter-spacing:.1px;white-space:normal}
 .flight-glass-page .flight-actions{justify-content:center;margin-top:25px}
}
@media(min-width:761px) and (max-height:800px){.flight-glass-page main{padding-top:45px}.flight-glass-page .flight-cards{margin-top:45px}.flight-glass-page main>.flight-services{padding-top:36px}}
@media(prefers-reduced-motion:reduce){.flight-glass-page .flight-card{transition:none}.flight-glass-page .flight-card:hover{transform:none}}
