:root{--lf-bg:#f5f5f3;--lf-paper:#fff;--lf-ink:#222;--lf-muted:#707070;--lf-line:#ddddda;--lf-line-strong:#2f2f2f;--lf-red:#e52323;--lf-red-dark:#c91d1d;--lf-red-soft:#fff4f4;--lf-radius:2px;--lf-content:1440px;--lf-gutter:24px;--lf-control:40px}*{box-sizing:border-box}html{background:var(--lf-bg)}body{margin:0!important;min-width:320px;color:var(--lf-ink)!important;background:var(--lf-bg)!important;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif!important;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}.shell,.app-shell,.page-shell{width:min(var(--lf-content),calc(100% - (var(--lf-gutter)*2)))!important;max-width:var(--lf-content)!important;margin-left:auto!important;margin-right:auto!important;background:var(--lf-paper)!important}.shell,.app-shell{padding-left:24px!important;padding-right:24px!important}.page-shell{min-height:100vh;border-top:0!important}.container{width:100%!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;padding-left:24px!important;padding-right:24px!important}.masthead,.app-shell>.topbar,.page-shell>.hero,.shell>.topbar{min-height:64px!important;margin:0!important;padding:12px 0!important;border:0!important;border-top:2px solid var(--lf-red)!important;border-bottom:1px solid var(--lf-line)!important;border-radius:0!important;color:var(--lf-ink)!important;background:var(--lf-paper)!important;box-shadow:none!important}.page-shell>.hero{padding-left:24px!important;padding-right:24px!important}.page-shell>.hero .hero-inner{width:100%!important;max-width:none!important;margin:0!important}.page-shell>.hero h1,.app-shell>.topbar h1,.shell>.topbar .brand h1{color:var(--lf-ink)!important}.page-shell>.hero p,.app-shell>.topbar p,.shell>.topbar .brand p{color:var(--lf-muted)!important}.lovefly-signature{display:inline-flex;align-items:baseline;flex:0 0 auto;margin-right:12px;color:var(--lf-ink)!important;text-decoration:none;white-space:nowrap;line-height:1}.lovefly-signature .lf-love{font:italic 16px/1 Georgia,"Times New Roman",serif;letter-spacing:-.05em}.lovefly-signature .lf-fly{margin-left:1px;font:700 15px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.055em}.lovefly-signature .lf-dot{margin-left:1px;color:var(--lf-red)!important;font:800 15px/1 Georgia,serif}.lovefly-signature .lf-club{margin-left:2px;color:#777!important;font:500 9px/1 ui-monospace,SFMono-Regular,Menlo,monospace}.lovefly-signature:hover .lf-fly{color:var(--lf-red)!important}.query-area,.results,.monitor-section,.results-section{background:var(--lf-paper)!important}.main-tabs{margin-top:18px!important;margin-bottom:24px!important;border-bottom:1px solid var(--lf-line-strong)!important}.tab,.mode-option{border-radius:0!important;color:#666!important;background:transparent!important;box-shadow:none!important}.tab.active,.mode-option.is-active{color:var(--lf-ink)!important;background:transparent!important}.tab.active{border-bottom:2px solid var(--lf-red)!important}.search-panel,.search-card,.sheet,.settings,.form{border-radius:0!important;background:var(--lf-paper)!important;box-shadow:none!important}.search-panel,.search-card,.sheet{border-top:1px solid var(--lf-line-strong)!important;border-bottom:1px solid var(--lf-line)!important}.search-card,.sheet{padding-top:18px!important;padding-bottom:18px!important}.field>span,.field label,label>span,.compact-field span,.section-label{color:var(--lf-muted)!important;font-size:11px!important;font-weight:600!important}input:not([type="checkbox"]):not([type="radio"]),select,.control,.airport-input,.airport-search,.search{min-height:var(--lf-control)!important;border:1px solid #d4d4d1!important;border-radius:var(--lf-radius)!important;color:var(--lf-ink)!important;background:var(--lf-paper)!important;box-shadow:none!important;outline:none}input:not([type="checkbox"]):not([type="radio"]):focus,select:focus,.control:focus,.airport-input:focus,.airport-search:focus,.search:focus{border-color:var(--lf-red)!important;box-shadow:0 0 0 2px rgba(229,35,35,.08)!important}.primary-btn,.primary-button,.search-button,.query-row .search-button,.primary-small{min-height:var(--lf-control)!important;border:0!important;border-radius:var(--lf-radius)!important;color:#fff!important;background:var(--lf-red)!important;box-shadow:none!important;font-weight:700!important}.primary-btn:hover,.primary-button:hover,.search-button:hover,.query-row .search-button:hover,.primary-small:hover{background:var(--lf-red-dark)!important;transform:none!important}.secondary-button,.text-button,.reset-button,.ghost-btn,.monitor-actions button,.channel-action{border:0!important;border-radius:0!important;color:#555!important;background:transparent!important;box-shadow:none!important}.secondary-button:hover,.text-button:hover,.reset-button:hover,.ghost-btn:hover,.monitor-actions button:hover,.channel-action:hover{color:var(--lf-red)!important;background:transparent!important}.swap,.swap-btn{border:0!important;border-radius:0!important;color:var(--lf-red)!important;background:transparent!important;box-shadow:none!important}.overview-title,.section-heading,.panel-head,.section-title{border-bottom:1px solid var(--lf-line-strong)!important;border-radius:0!important;color:var(--lf-ink)!important;background:transparent!important;box-shadow:none!important}.overview-title h2,.section-heading h2,.panel-head strong,.section-title h2{color:var(--lf-ink)!important;font-weight:700!important;border-left:0!important;padding-left:0!important}.overview-title h2::before,.section-heading h2::before,.panel-head strong::before,.section-title h2::before{content:"";display:inline-block;width:4px;height:16px;margin-right:8px;vertical-align:-2px;background:var(--lf-red)!important}.route-count,.result-summary>div:first-child strong,.fare-price{color:var(--lf-red)!important}.results,.monitor-section,.result,.panel,.flight-card,.monitor-card,.metric,.leg,.choice,.status-box{border-radius:0!important;box-shadow:none!important}.flight-card,.monitor-card{background:var(--lf-paper)!important}.monitor-card{border-bottom:1px solid var(--lf-line)!important}.monitor-card::before{background:var(--lf-red)!important}table{border-collapse:collapse}thead th,.routes-table th,.tier-table th{color:#fff!important;background:#333331!important;border-color:#333331!important;font-weight:650!important}tbody td,.routes-table td,.tier-table td{border-color:#e2e2df!important;background:var(--lf-paper)!important}tbody tr:hover td,.routes-table tr:hover td{background:#fff7f7!important}.shell{--bg:var(--lf-bg);--panel:#fff;--panel2:#fafafa;--input:#fff;--border:#ddd;--border-soft:#eee;--text:#222;--muted:#707070;--cyan:var(--lf-red);--green:#26734d;--yellow:#8a6617;--pink:var(--lf-red);--orange:#9a6120;--shadow:none}.shell .panel,.shell .metric,.shell .leg,.shell .choice,.shell .status-box,.shell .trip-toggle,.shell .airport-btn,.shell .summary-grid,.shell .progress-box,.shell .legs,.shell .table-tools{background:#fff!important;color:#222!important;box-shadow:none!important}.shell .hero{border-radius:0!important;box-shadow:none!important}.shell .hero .route-code{color:#222!important}.shell .hero .route-meta{color:#666!important}.shell .hero .route-arrow{color:var(--lf-red)!important}.shell .hub-chip{border-color:var(--lf-red)!important;color:var(--lf-red)!important;background:#fff!important}.airport-dropdown,.airport-suggestions,.picker,.destination-popover,.flyer-month-popover,.query-help-tooltip{border:1px solid #cfcfcb!important;border-radius:var(--lf-radius)!important;background:#fff!important;box-shadow:0 10px 28px rgba(0,0,0,.12)!important}@media(max-width:720px){:root{--lf-gutter:0px;--lf-control:44px}html,body{background:#fff!important}.shell,.app-shell,.page-shell{width:100%!important;max-width:none!important}.shell,.app-shell{padding-left:16px!important;padding-right:16px!important}.container{padding-left:16px!important;padding-right:16px!important}.page-shell>.hero{padding-left:16px!important;padding-right:16px!important}.masthead,.app-shell>.topbar,.page-shell>.hero,.shell>.topbar{min-height:58px!important;padding-top:10px!important;padding-bottom:10px!important}.query-area,.results,.monitor-section{width:100%!important;margin-left:0!important;margin-right:0!important}.search-card,.sheet{padding-top:14px!important;padding-bottom:14px!important}.main-tabs{margin-top:10px!important;margin-bottom:18px!important}.monitor-actions button,.secondary-button,.text-button,.ghost-btn{min-height:44px!important}.lovefly-signature{margin-right:6px}.lovefly-signature .lf-love{font-size:14px}.lovefly-signature .lf-fly,.lovefly-signature .lf-dot{font-size:13px}.lovefly-signature .lf-club{font-size:8px!important}}

/* LoveFly unified shell v4 */
:root{--lf-content:1280px;--lf-navy:#081b2b;--lf-header-ink:#f4f7f8}
html{background:var(--lf-navy)!important}
body{background:linear-gradient(90deg,rgba(8,27,43,.98) 0%,rgba(8,27,43,.90) 46%,rgba(8,27,43,.58) 100%),url("https://lovefly.club/assets/background-wing.webp") right center/cover fixed no-repeat!important}
.shell,.app-shell,.page-shell{width:min(var(--lf-content),calc(100% - 48px))!important;max-width:var(--lf-content)!important;margin:0 auto!important;min-height:100vh;background:#fff!important}
.container{width:100%!important;max-width:none!important}
.masthead,.app-shell>.topbar,.page-shell>.hero,.shell>.topbar{background:linear-gradient(90deg,rgba(8,27,43,.98) 0%,rgba(8,27,43,.88) 54%,rgba(8,27,43,.48) 100%),url("https://lovefly.club/assets/background-wing.webp") right 44% center/cover no-repeat!important;color:var(--lf-header-ink)!important;border-top:2px solid var(--lf-red)!important;border-bottom:1px solid rgba(255,255,255,.16)!important}
.masthead .brand,.masthead .brand span,.masthead-actions>a,.masthead .account-name,.app-shell>.topbar h1,.app-shell>.topbar>a,.page-shell>.hero h1,.page-shell>.hero .data-badge,.shell>.topbar .brand h1,.shell>.topbar .brand p,.shell>.topbar .top-actions,.shell>.topbar .top-actions>*{color:var(--lf-header-ink)!important}
.app-shell>.topbar p,.page-shell>.hero p,.shell>.topbar .brand p{color:rgba(244,247,248,.64)!important}
.masthead .text-button,.shell>.topbar .ghost-btn{color:rgba(244,247,248,.76)!important}
.lovefly-signature{color:#fff!important}.lovefly-signature .lf-love,.lovefly-signature .lf-fly{color:#fff!important}.lovefly-signature .lf-club{color:rgba(244,247,248,.58)!important}
.search-panel{padding:0!important;border:0!important;border-top:1px solid #292929!important;border-bottom:1px solid #d9d9d9!important;background:#fff!important;box-shadow:none!important}
.query-mode{margin:0!important;padding:0!important}.query-mode>legend{margin:0 0 7px!important;color:#777!important;font-size:10px!important;font-weight:650!important;letter-spacing:.08em!important;text-transform:uppercase}
.mode-options{min-height:42px!important;padding:0!important;gap:24px!important;border:0!important;border-bottom:1px solid #292929!important;background:#fff!important}
.mode-option{min-height:42px!important;padding:0 2px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#777!important;font-size:12px!important;box-shadow:none!important}.mode-option.is-active{color:#222!important}.mode-option.is-active::after{left:0!important;right:0!important;bottom:-1px!important;height:2px!important;background:var(--lf-red)!important}
.query-row{padding:18px 0!important;gap:16px!important;align-items:end!important}.route-fields,.month-field,.connection-date-field,.connection-duration-control,.connection-setting{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.query-row .route-fields{gap:12px!important}.query-row .route-fields .field,.query-row>.month-field,.query-row>.connection-date-field{padding:0 0 6px!important;border:0!important;border-bottom:1px solid #c9c9c9!important;background:transparent!important}.query-row .route-fields .field:focus-within,.query-row>.month-field:focus-within,.query-row>.connection-date-field:focus-within{border-bottom-color:var(--lf-red)!important}
.query-row .route-fields input,.query-row>.month-field input,.query-row>.connection-date-field input{min-height:32px!important;height:32px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.query-row .route-fields input:focus,.query-row>.month-field input:focus,.query-row>.connection-date-field input:focus{border:0!important;box-shadow:none!important}.flyer-month-trigger{min-height:32px!important;height:32px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-align:left!important;color:#222!important}.swap{width:32px!important;height:40px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--lf-red)!important;box-shadow:none!important}.query-row .search-button{min-width:108px!important;height:40px!important;padding:0 20px!important;border-radius:2px!important;box-shadow:none!important}
@media(max-width:720px){html{background:var(--lf-navy)!important}body{background:linear-gradient(180deg,rgba(8,27,43,.78) 0%,rgba(8,27,43,.92) 100%),url("https://lovefly.club/assets/background-wing.webp") 62% top/auto 240px no-repeat!important;background-color:var(--lf-navy)!important}.shell,.app-shell,.page-shell{width:100%!important;max-width:none!important}.masthead,.app-shell>.topbar,.page-shell>.hero,.shell>.topbar{background:linear-gradient(90deg,rgba(8,27,43,.94),rgba(8,27,43,.60)),url("https://lovefly.club/assets/background-wing.webp") 62% center/cover no-repeat!important}.query-row{padding:14px 0!important;gap:12px!important}.mode-options{gap:18px!important;overflow-x:auto!important;scrollbar-width:none}.mode-options::-webkit-scrollbar{display:none}.query-row .search-button{width:100%!important;min-height:44px!important}}

.carrier-heading{display:flex;align-items:center;gap:16px}.carrier-logo{display:block;flex:0 0 auto;width:auto;max-width:116px;height:34px;object-fit:contain;object-position:left center}.carrier-logo--hainan{height:40px}@media(max-width:720px){.carrier-heading{gap:10px}.carrier-logo{max-width:84px;height:28px}.carrier-logo--hainan{height:30px}}

/* Restore pre-wing background */
html{background:var(--lf-bg)!important}
body{background:var(--lf-bg)!important}
.masthead,.app-shell>.topbar,.page-shell>.hero,.shell>.topbar{background:var(--lf-paper)!important;color:var(--lf-ink)!important;border-bottom:1px solid var(--lf-line)!important}
.masthead .brand,.masthead .brand span,.masthead-actions>a,.masthead .account-name,.app-shell>.topbar h1,.app-shell>.topbar>a,.page-shell>.hero h1,.page-shell>.hero .data-badge,.shell>.topbar .brand h1,.shell>.topbar .top-actions,.shell>.topbar .top-actions>*{color:var(--lf-ink)!important}
.app-shell>.topbar p,.page-shell>.hero p,.shell>.topbar .brand p{color:var(--lf-muted)!important}
.masthead .text-button,.shell>.topbar .ghost-btn{color:#555!important}
.lovefly-signature,.lovefly-signature .lf-love,.lovefly-signature .lf-fly{color:var(--lf-ink)!important}.lovefly-signature .lf-club{color:#777!important}
@media(max-width:720px){html,body{background:#fff!important}.masthead,.app-shell>.topbar,.page-shell>.hero,.shell>.topbar{background:#fff!important}}
