/* ==========================================================================
   Airline platform design system, v2
   Colour from the brand mark: midnight navy, royal blue, aero cyan.
   Type: Mona Sans throughout, steered by its width axis. Wide (112%) for headlines, wider (120%) for flight data
         such as airport codes, times, references and fares, normal width for reading. One family, three voices.
   Geometry: small radii (3px controls, 6px panels), hairlines, generous space.
   Motion: aviation cues (split-flap boards, drawn flight paths, printed tickets), reduced-motion aware.
   ========================================================================== */

:root {
  --night: #040b24;
  --midnight: #06123a;
  --navy: #0b1d52;
  --navy-2: #13296b;
  --royal: #1452e6;
  --royal-2: #0f44c7;
  --royal-soft: #e8efff;
  --aero: #2ec5ff;
  --ink: #0a1433;
  --slate: #4a5672;
  --mist: #8a94ac;
  --line: #dce2ec;
  --line-2: #c7d0de;
  --paper: #f4f6fa;
  --cloud: #eaeef5;
  --white: #ffffff;
  --gold: #c9a961;
  --ok: #0e7a52;
  --ok-bg: #e4f4ec;
  --warn: #9a5a06;
  --warn-bg: #fdf2df;
  --bad: #b4321e;
  --bad-bg: #fcebe7;
  --info: #1452e6;
  --info-bg: #e8efff;

  --sans: "Mona Sans", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: var(--sans);
  --serif: var(--display); /* kept so older inline styles still resolve */
  --wdth-text: 100%;
  --wdth-ui: 104%;
  --wdth-display: 112%;
  --wdth-data: 120%;
  --w-display: 580;
  /* type scale: 1.25 steps from a 16px base, display sizes fluid */
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.25rem, 1.15rem + .4vw, 1.45rem);
  --fs-h3: clamp(1.35rem, 1.15rem + .8vw, 1.8rem);
  --fs-h2: clamp(1.8rem, 1.3rem + 2vw, 3rem);
  --fs-h1: clamp(2.3rem, 1.4rem + 3.5vw, 4.5rem);
  --fs-hero: clamp(2.55rem, 1.25rem + 5.2vw, 6rem);

  --r-1: 3px;
  --r-2: 6px;
  --r-3: 10px;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;

  --shadow-1: 0 1px 2px rgba(6, 18, 58, .06), 0 1px 1px rgba(6, 18, 58, .04);
  --shadow-2: 0 18px 40px -22px rgba(6, 18, 58, .45), 0 2px 6px rgba(6, 18, 58, .06);
  --shadow-3: 0 40px 80px -36px rgba(4, 11, 36, .65), 0 6px 18px -8px rgba(4, 11, 36, .3);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .28s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .42s var(--ease-out) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(8px); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  font-family: var(--sans); font-stretch: var(--wdth-text); font-size: 16px; line-height: 1.6; font-weight: 400; color: var(--ink); background: var(--paper); overflow-x: clip;
  font-kerning: normal; font-variant-ligatures: common-ligatures contextual;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
body > main { flex: 1 0 auto; }
html[lang="ar"] body { --sans: "Noto Sans Arabic", "Mona Sans", system-ui, sans-serif; --wdth-display: 100%; --wdth-data: 100%; --w-display: 600; }
html[lang="hi"] body { --sans: "Mona Sans", "Noto Sans Devanagari", system-ui, sans-serif; }
html[lang="zh"] body { --sans: "Mona Sans", "Noto Sans SC", "PingFang SC", system-ui, sans-serif; }
html[lang="ja"] body { --sans: "Mona Sans", "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif; }
html[lang="ko"] body { --sans: "Mona Sans", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif; word-break: keep-all; overflow-wrap: break-word; }
html[lang="ja"] body, html[lang="zh"] body { line-break: strict; }
html:is([lang="ja"], [lang="zh"], [lang="ko"], [lang="ar"], [lang="hi"]) :is(.display, .h1, .h2, .h3, .hero-title, h1, h2, h3) { letter-spacing: 0 !important; }
/* scripts drawn by system fonts with fewer weights: ask for a clearly bold weight so headlines keep their presence */
html:is([lang="ja"], [lang="zh"], [lang="ko"]) body { --w-display: 700; }
html[lang="hi"] body { --w-display: 650; }

img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--royal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--midnight); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -.012em; font-stretch: var(--wdth-ui); text-wrap: balance; }
h1, h2, h3 { font-stretch: var(--wdth-display); letter-spacing: -.02em; }
p, li, dd { text-wrap: pretty; }
p { margin: 0 0 1em; }
::selection { background: var(--royal); color: #fff; }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 2px; border-radius: 2px; }
hr { border: 0; height: 1px; background: var(--line); margin: 24px 0; }

.i { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.22em; }
.i-sm { width: 1em; height: 1em; flex: none; vertical-align: -.14em; }
.i-lg { width: 1.6em; height: 1.6em; flex: none; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 880px; }
.wrap-mid { max-width: 1080px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--white); padding: 10px 14px; border-radius: var(--r-1); z-index: 300; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.display { font-family: var(--display); font-stretch: var(--wdth-display); font-weight: var(--w-display); letter-spacing: -.035em; line-height: .98; }
.h1 { font-family: var(--display); font-stretch: var(--wdth-display); font-weight: var(--w-display); font-size: var(--fs-h1); line-height: 1; letter-spacing: -.038em; }
.h2 { font-family: var(--display); font-stretch: var(--wdth-display); font-weight: var(--w-display); font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.032em; }
.h3 { font-family: var(--display); font-stretch: var(--wdth-display); font-weight: var(--w-display); font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -.022em; }
.h4 { font-size: 1.12rem; font-weight: 600; letter-spacing: -.005em; }
.h5 { font-size: .98rem; font-weight: 600; }
.lede { font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); color: var(--slate); max-width: 56ch; line-height: 1.55; letter-spacing: -.003em; }
.muted { color: var(--slate); }
.faint { color: var(--mist); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }
.num { font-variant-numeric: lining-nums proportional-nums; }
/* times keep the tabular set, so columns of departures line up */
.num.tm, .t.num, .tm .num, time.num { font-variant-numeric: tabular-nums; }
.code { font-weight: 600; font-stretch: var(--wdth-data); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
/* flight data voice: airport codes, times, references, fares */
.data { font-stretch: var(--wdth-data); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.strong { font-weight: 600; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
html[lang="ar"] .h1, html[lang="ar"] .h2, html[lang="ar"] .h3, html[lang="ar"] .display { letter-spacing: 0; line-height: 1.25; }
html[lang="zh"] .h1, html[lang="ja"] .h1, html[lang="ko"] .h1, html[lang="hi"] .h1,
html[lang="zh"] .h2, html[lang="ja"] .h2, html[lang="ko"] .h2, html[lang="hi"] .h2 { letter-spacing: 0; line-height: 1.18; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--midnight); --fg: var(--white); --bd: transparent; --bg-h: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 1.35em; border-radius: var(--r-1); border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 600; font-stretch: var(--wdth-ui); font-size: .95rem; letter-spacing: 0; line-height: 1.1;
  cursor: pointer; text-decoration: none; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
  transition: background-color .25s var(--ease), color .2s, border-color .2s, box-shadow .3s var(--ease), transform .2s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg-h); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.btn:hover { color: var(--fg); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:active { transform: translateY(1px); }
.btn .go { transition: transform .35s var(--ease-out); }
.btn:hover .go { transform: translateX(3px); }
[dir="rtl"] .btn:hover .go { transform: scaleX(-1) translateX(3px); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn-primary { --bg: var(--royal); --bg-h: var(--royal-2); }
.btn-light { --bg: var(--white); --fg: var(--midnight); --bd: var(--line); --bg-h: var(--cloud); }
.btn-ghost { --bg: transparent; --fg: var(--midnight); --bd: var(--line-2); --bg-h: var(--white); }
.btn-on-dark { --bg: rgba(255, 255, 255, .08); --fg: #fff; --bd: rgba(255, 255, 255, .28); --bg-h: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-white { --bg: #fff; --fg: var(--midnight); --bg-h: var(--royal-soft); }
.btn-danger { --bg: var(--white); --fg: var(--bad); --bd: #efc4bb; --bg-h: var(--bad-bg); }
.btn-sm { min-height: 38px; padding: 0 1em; font-size: .875rem; }
.btn-lg { min-height: 56px; padding: 0 1.7em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn .spin { display: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .spin { display: inline-flex; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--royal); background: none; border: 0; padding: 0; cursor: pointer; }
.link .i, .link .i-sm { transition: transform .35s var(--ease-out); }
.link:hover .i, .link:hover .i-sm { transform: translateX(3px); }
[dir="rtl"] .link:hover .flip-rtl { transform: scaleX(-1) translateX(3px); }
.link-quiet { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.link-quiet:hover { text-decoration-color: currentColor; color: inherit; }
.icon-btn { width: 40px; height: 40px; border-radius: var(--r-1); border: 1px solid var(--line); background: var(--white); color: var(--midnight); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s, border-color .2s; flex: none; }
.icon-btn:hover { background: var(--cloud); border-color: var(--line-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 70; height: var(--header-h);
  background: rgba(244, 246, 250, .88); backdrop-filter: saturate(150%) blur(16px); -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid rgba(199, 208, 222, .55); color: var(--ink);
  transition: background-color .4s var(--ease), border-color .4s, color .4s, transform .45s var(--ease);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; flex: 0 1 auto; min-width: 0; }
.brand:hover { color: inherit; }
.brand-mark { width: 48px; height: 29px; position: relative; flex: none; }
.brand-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s var(--ease); }
.brand-mark .on-dark { opacity: 0; }
.brand-name { font-weight: 600; font-size: 1.02rem; letter-spacing: -.005em; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.brand-name small { display: block; font-weight: 400; font-size: .7rem; letter-spacing: .01em; opacity: .6; margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: 12px; position: relative; }
.nav a { color: inherit; padding: 8px 12px; font-size: .925rem; font-weight: 500; font-stretch: var(--wdth-ui); white-space: nowrap; position: relative; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--royal); }
.header-tools { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.tool-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: var(--r-1); border: 1px solid transparent; background: transparent; color: inherit; font-size: .875rem; font-weight: 500; cursor: pointer; transition: background-color .2s, border-color .2s; white-space: nowrap; }
.tool-btn:hover { background: rgba(10, 20, 51, .05); color: inherit; }
.tool-btn .sep { width: 1px; height: 14px; background: currentColor; opacity: .3; }
.tool-btn.outlined { border-color: var(--line-2); }
.menu-btn { display: none; }
.site-header.is-over { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.site-header.is-over .brand-mark .on-dark { opacity: 1; }
.site-header.is-over .brand-mark .on-light { opacity: 0; }
.site-header.is-over .nav a[aria-current="page"] { color: #fff; }
.site-header.is-over .tool-btn:hover { background: rgba(255, 255, 255, .12); }
.site-header.is-over .tool-btn.outlined { border-color: rgba(255, 255, 255, .4); }
.site-header.is-hidden { transform: translateY(-100%); }
body.has-hero .site-header { position: fixed; inset-inline: 0; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 120; background: var(--midnight); color: #fff; overflow: auto;
  padding: 18px var(--gutter) 32px; display: flex; flex-direction: column;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-in-out), visibility 0s .6s; visibility: hidden;
}
.mobile-nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--ease-in-out); }
.mobile-nav .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-nav .brand-mark .on-light { opacity: 0; }
.mobile-nav .brand-mark .on-dark { opacity: 1; }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav a.big { color: #fff; font-family: var(--display); font-stretch: var(--wdth-display); font-weight: 560; letter-spacing: -.03em; font-size: 1.75rem; line-height: 1.1; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease-out); display: flex; justify-content: space-between; align-items: center; }
.mobile-nav.is-open a.big { opacity: 1; transform: none; }
.mobile-nav.is-open a.big:nth-child(2) { transition-delay: .04s; } .mobile-nav.is-open a.big:nth-child(3) { transition-delay: .08s; }
.mobile-nav.is-open a.big:nth-child(4) { transition-delay: .12s; } .mobile-nav.is-open a.big:nth-child(5) { transition-delay: .16s; }
.mobile-nav.is-open a.big:nth-child(6) { transition-delay: .2s; } .mobile-nav.is-open a.big:nth-child(7) { transition-delay: .24s; }
.mobile-nav.is-open a.big:nth-child(8) { transition-delay: .28s; }
.mobile-nav .foot { margin-top: auto; padding-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.mobile-nav .close { width: 44px; height: 44px; border-radius: var(--r-1); border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Ribbons ---------- */
.ribbon { background: var(--night); color: #c9d6f5; font-size: .82rem; position: relative; z-index: 80; }
.ribbon .wrap { display: flex; gap: 12px; align-items: center; justify-content: center; min-height: 36px; flex-wrap: wrap; text-align: center; }
.ribbon a, .ribbon button { color: #fff; text-decoration: underline; background: none; border: 0; cursor: pointer; padding: 0; font-size: inherit; }
.ribbon.warn { background: #3b2a06; color: #ffe2a8; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--night); padding-top: calc(var(--header-h) + clamp(48px, 9vh, 120px)); padding-bottom: 0; z-index: 2;  overflow-x: clip;}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); opacity: 0; transition: transform 3.2s var(--ease-out), opacity 1.4s var(--ease); }
.hero.is-in .hero-media img { transform: scale(1.02); opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 11, 36, .55) 0%, rgba(4, 11, 36, .15) 34%, rgba(4, 11, 36, .35) 62%, rgba(4, 11, 36, .92) 100%), linear-gradient(90deg, rgba(4, 11, 36, .65) 0%, rgba(4, 11, 36, 0) 60%); }
.hero-path { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-path svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-path .trail { fill: none; stroke: url(#heroTrail); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: var(--len, 3000); stroke-dashoffset: var(--len, 3000); }
.hero-path .trail-dots { fill: none; stroke: rgba(255, 255, 255, .25); stroke-width: 1; stroke-dasharray: 2 7; }
.hero.is-in .hero-path .trail { animation: draw 3.2s .6s var(--ease-in-out) forwards; }
.hero-path .plane { opacity: 0; }
.hero.is-in .hero-path .plane { animation: fadeIn .5s .8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.hero-inner { position: relative; z-index: 3; }
.hero-copy { max-width: 900px; }
.hero-title { font-family: var(--display); font-stretch: var(--wdth-display); font-weight: var(--w-display); font-size: var(--fs-hero); line-height: .96; letter-spacing: -.045em; margin: 0; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; transform: translateY(108%); transition: transform 1.2s var(--ease-out); }
.hero.is-in .hero-title .line > span { transform: none; }
.hero.is-in .hero-title .line:nth-child(2) > span { transition-delay: .1s; }
.hero.is-in .hero-title .line:nth-child(3) > span { transition-delay: .2s; }
.hero-sub { color: rgba(255, 255, 255, .82); font-size: clamp(1.02rem, .96rem + .3vw, 1.2rem); max-width: 52ch; margin: 24px 0 0; line-height: 1.55; }
.rise { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1.1s var(--ease-out); }
.hero.is-in .rise { opacity: 1; transform: none; }
.hero.is-in .rise.d1 { transition-delay: .4s; } .hero.is-in .rise.d2 { transition-delay: .6s; } .hero.is-in .rise.d3 { transition-delay: .8s; }

/* Split-flap departure line */
.board { display: inline-flex; align-items: stretch; margin-top: 30px; background: rgba(4, 11, 36, .55); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; max-width: 100%; color: #fff; }
.board-cell { padding: 12px 16px; display: flex; flex-direction: column; justify-content: center; gap: 6px; border-inline-end: 1px solid rgba(255, 255, 255, .12); min-width: 0; }
.board-cell:last-child { border-inline-end: 0; }
.board-cell .k { font-size: .72rem; color: rgba(255, 255, 255, .6); line-height: 1; white-space: nowrap; }
.board-cell .v { font-size: 1.02rem; font-weight: 560; font-stretch: var(--wdth-ui); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-cell.go { justify-content: center; padding-inline: 14px; color: var(--aero); }
a.board:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.flap { display: inline-flex; gap: 2px; perspective: 400px; direction: ltr; }
.flap b { display: inline-flex; align-items: center; justify-content: center; min-width: 1.05em; height: 1.4em; padding: 0 1px; font-weight: 640; font-stretch: var(--wdth-data); font-size: 1.02rem; background: linear-gradient(180deg, #172756 0 49%, #0e1b45 51% 100%); border-radius: 2px; color: #fff; position: relative; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .35); font-variant-numeric: tabular-nums; }
.flap b::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .45); }
.flap b.is-flip { animation: flip .32s var(--ease-in-out) both; }
@keyframes flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(-90deg); filter: brightness(.6); } 100% { transform: rotateX(0); } }

/* ---------- Booking widget ---------- */
.booker-dock { position: relative; z-index: 6; margin-top: clamp(36px, 6vh, 64px); padding-bottom: clamp(28px, 5vh, 56px); }
.booker { position: relative; background: var(--white); color: var(--ink); border-radius: var(--r-2); box-shadow: var(--shadow-3); }
.booker-tabs { display: flex; gap: 4px; padding: 6px 12px 0; border-bottom: 1px solid var(--line); position: relative; overflow-x: auto; scrollbar-width: none; }
.booker-tabs::-webkit-scrollbar { display: none; }
.booker-tab { position: relative; border: 0; background: transparent; padding: 14px 12px 13px; font-size: .9rem; font-weight: 500; color: var(--slate); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: color .25s; }
.booker-tab:hover { color: var(--ink); }
.booker-tab[aria-selected="true"] { color: var(--ink); }
.booker-tab-ind { position: absolute; bottom: -1px; left: 0; height: 2px; background: var(--royal); transition: transform .5s var(--ease-out), width .5s var(--ease-out); }
.booker-panel { padding: 16px; }
.booker-panel[hidden] { display: none; }
.booker-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 3px; border-radius: var(--r-1); background: var(--cloud); position: relative; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 6px 14px; border-radius: 2px; font-size: .85rem; font-weight: 500; cursor: pointer; color: var(--slate); transition: background-color .25s, color .25s, box-shadow .25s; white-space: nowrap; }
.seg input:checked + span { background: var(--white); color: var(--ink); box-shadow: var(--shadow-1); }
.seg input:focus-visible + span { outline: 2px solid var(--royal); }
.locate-hint { font-size: .82rem; color: var(--slate); display: inline-flex; align-items: center; gap: 6px; }

.fields { display: grid; grid-template-columns: 1.2fr 1.2fr 1.35fr 1fr auto; border: 1px solid var(--line-2); border-radius: var(--r-1); position: relative; }
.field { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 68px; padding: 11px 16px; border-inline-start: 1px solid var(--line); cursor: text; transition: background-color .2s; min-width: 0; }
.field:first-child { border-inline-start: 0; }
.field:hover { background: #fafbfd; }
.field:focus-within, .field.is-open { background: var(--white); box-shadow: inset 0 0 0 2px var(--royal); z-index: 5; border-radius: 2px; }
.field > label, .field > .lbl { font-size: .74rem; font-weight: 500; color: var(--slate); line-height: 1.2; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.field input, .field select, .field .val { border: 0; outline: 0; background: transparent; padding: 0; width: 100%; font-size: 1.02rem; font-weight: 500; color: var(--ink); min-width: 0; }
.field input::placeholder { color: var(--mist); font-weight: 400; }
.field .val { cursor: pointer; text-align: start; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.35; }
.field .sub { font-size: .76rem; line-height: 1.3; color: var(--mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.swap { position: absolute; z-index: 4; top: 50%; width: 30px; height: 30px; margin-top: -15px; margin-inline-start: -15px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); display: inline-flex; align-items: center; justify-content: center; color: var(--royal); transition: transform .5s var(--ease-out), border-color .2s, box-shadow .2s; }
.swap:hover { border-color: var(--royal); box-shadow: 0 0 0 4px var(--royal-soft); }
.swap.is-spun { transform: rotate(180deg); }
.search-btn { min-height: 68px; border-radius: 0 2px 2px 0; padding: 0 28px; margin: -1px; margin-inline-start: 0; font-size: 1rem; }
[dir="rtl"] .search-btn { border-radius: 2px 0 0 2px; }
.booker-foot { display: flex; align-items: center; gap: 22px; margin-top: 12px; flex-wrap: wrap; font-size: .84rem; color: var(--slate); }
.booker-foot > span { display: inline-flex; align-items: center; gap: 8px; }
.inline-fields { display: grid; grid-template-columns: 1fr 1fr auto; border: 1px solid var(--line-2); border-radius: var(--r-1); }
.inline-fields .search-btn { min-height: 68px; }

/* Popovers */
.pop {
  position: absolute; z-index: 90; top: calc(100% + 6px); inset-inline-start: -1px; min-width: calc(100% + 2px);
  background: var(--white); border-radius: var(--r-2); box-shadow: var(--shadow-3); border: 1px solid var(--line);
  opacity: 0; transform: translateY(-6px); transform-origin: top; pointer-events: none; visibility: hidden;
  transition: opacity .22s var(--ease), transform .35s var(--ease-out), visibility 0s .35s;
}
.pop.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .22s var(--ease), transform .35s var(--ease-out); }
.pop.flip-up { top: auto; bottom: calc(100% + 6px); transform-origin: bottom; }
.pop-head, .pop-search { display: none; }
.ac-list { list-style: none; margin: 0; padding: 6px; max-height: min(380px, 52vh); overflow: auto; min-width: 340px; overscroll-behavior: contain; }
.ac-list li { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: var(--r-1); cursor: pointer; }
.ac-list li[aria-selected="true"], .ac-list li:hover { background: var(--paper); }
.ac-list .iata { font-weight: 640; font-stretch: var(--wdth-data); font-size: .86rem; letter-spacing: .04em; color: var(--royal); width: 40px; flex: none; }
.ac-list .city { font-weight: 600; line-height: 1.25; }
.ac-list .ap { font-size: .8rem; color: var(--slate); line-height: 1.3; }
.ac-list .hubtag { margin-inline-start: auto; font-size: .7rem; color: var(--slate); border: 1px solid var(--line); border-radius: 2px; padding: 1px 6px; }
.ac-list .empty { color: var(--slate); cursor: default; }
.ac-list .empty:hover { background: none; }
.ac-list .grp { font-size: .72rem; font-weight: 600; color: var(--mist); padding: 10px 12px 4px; cursor: default; }
.ac-list .grp:hover { background: none; }
.ac-locate { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; border-bottom: 1px solid var(--line); background: var(--white); padding: 12px 16px; font-size: .88rem; font-weight: 500; color: var(--royal); text-align: start; border-radius: var(--r-2) var(--r-2) 0 0; }
.ac-locate:hover { background: var(--paper); }

.cal { padding: 18px; width: max-content; max-width: calc(100vw - 24px); }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 12px; }
.cal-nav { width: 34px; height: 34px; border-radius: var(--r-1); border: 1px solid var(--line); background: var(--white); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cal-nav:hover:not(:disabled) { border-color: var(--line-2); background: var(--paper); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-months { display: flex; gap: 32px; }
.cal-month { animation: calIn .35s var(--ease-out); }
@keyframes calIn { from { opacity: 0; transform: translateX(var(--cal-dir, 8px)); } }
.cal-month h4 { font-size: .92rem; font-weight: 600; text-align: center; margin: 0 0 10px; text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 42px); gap: 2px 0; }
.cal-grid .dow { font-size: .72rem; color: var(--mist); text-align: center; padding-bottom: 4px; }
.cal-day { height: 42px; border: 0; background: transparent; border-radius: var(--r-1); font-size: .9rem; position: relative; font-variant-numeric: lining-nums proportional-nums; transition: background-color .15s; }
.cal-day:hover:not(:disabled) { background: var(--cloud); }
.cal-day:disabled { color: var(--line-2); cursor: default; }
.cal-day.in-range { background: var(--royal-soft); border-radius: 0; }
.cal-day.is-start, .cal-day.is-end { background: var(--royal); color: #fff; font-weight: 600; }
.cal-day.is-start.has-end { border-radius: var(--r-1) 0 0 var(--r-1); }
.cal-day.is-end { border-radius: 0 var(--r-1) var(--r-1) 0; }
.cal-day.is-start.is-end { border-radius: var(--r-1); }
[dir="rtl"] .cal-day.is-start.has-end { border-radius: 0 var(--r-1) var(--r-1) 0; }
[dir="rtl"] .cal-day.is-end { border-radius: var(--r-1) 0 0 var(--r-1); }
.cal-day.is-today::after { content: ""; position: absolute; bottom: 6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--royal); }
.cal-day.is-start.is-today::after, .cal-day.is-end.is-today::after { background: #fff; }
.cal-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--slate); gap: 12px; }

.pax-pop { padding: 8px 18px 18px; min-width: 340px; inset-inline-start: auto; inset-inline-end: -1px; }
.pax-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); gap: 20px; }
.pax-row .t { font-weight: 600; }
.pax-row .s { font-size: .8rem; color: var(--slate); }
.stepper { display: inline-flex; align-items: center; gap: 14px; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); display: inline-flex; align-items: center; justify-content: center; color: var(--midnight); transition: border-color .2s, background-color .2s; }
.stepper button:hover:not(:disabled) { border-color: var(--royal); color: var(--royal); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 18px; text-align: center; font-variant-numeric: lining-nums proportional-nums; font-weight: 600; }
.cabin-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 16px; }
.cabin-pick label { position: relative; }
.cabin-pick input { position: absolute; opacity: 0; }
.cabin-pick span { display: block; padding: 10px 12px; border-radius: var(--r-1); border: 1px solid var(--line); font-size: .88rem; font-weight: 500; text-align: center; cursor: pointer; transition: all .2s; }
.cabin-pick span:hover { border-color: var(--line-2); }
.cabin-pick input:checked + span { border-color: var(--royal); background: var(--royal-soft); color: var(--royal); }
.cabin-pick input:focus-visible + span { outline: 2px solid var(--royal); }
.scrim { position: fixed; inset: 0; z-index: 85; background: rgba(4, 11, 36, .4); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.is-on { opacity: 1; pointer-events: auto; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 140px) 0; position: relative;  overflow-x: clip;}
.section-tight { padding: clamp(36px, 5vw, 64px) 0;  overflow-x: clip;}
.section-dark { background: var(--midnight); color: #fff; }
.section-night { background: var(--night); color: #fff; }
.section-white { background: var(--white); }
.section-dark .lede, .section-night .lede, .section-dark .muted, .section-night .muted { color: rgba(255, 255, 255, .68); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.section-head .h2 { max-width: 20ch; }
.section-head .lede { margin: 16px 0 0; }

/* Reveal: one quiet entrance per block */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1.1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform 1s var(--ease-out); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .07s; } .reveal-stagger.is-in > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .21s; } .reveal-stagger.is-in > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .35s; } .reveal-stagger.is-in > *:nth-child(7) { transition-delay: .42s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: .49s; } .reveal-stagger.is-in > *:nth-child(n+9) { transition-delay: .55s; }
.reveal-img { clip-path: inset(10% 6% 10% 6%); transition: clip-path 1.5s var(--ease-out); }
.reveal-img.is-in { clip-path: inset(0 0 0 0); }
.reveal-img img { transform: scale(1.15); transition: transform 1.8s var(--ease-out); }
.reveal-img.is-in img { transform: scale(1); }

/* Segmented buttons */
.seg-btns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; padding: 3px; background: var(--cloud); border-radius: var(--r-1); margin-top: 10px; }
.seg-btns button { border: 0; background: none; padding: 7px 4px; font-size: .78rem; font-weight: 500; color: var(--slate); border-radius: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background-color .2s, color .2s; }
.seg-btns button:hover { color: var(--ink); }
.seg-btns button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: var(--shadow-1); }
/* cabin switch in the fare drawer: name over price, two by two on phones */
[data-drawer-cabins] { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
[data-drawer-cabins] button { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 6px; font-size: .84rem; line-height: 1.25; }
[data-drawer-cabins] button .nm { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
[data-drawer-cabins] button .faint { font-size: .76rem; }
@media (max-width: 560px) { [data-drawer-cabins] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Underline tabs ---------- */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; position: relative; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: none; padding: 12px 14px; font-size: .92rem; font-weight: 500; color: var(--slate); white-space: nowrap; position: relative; transition: color .2s; }
.tab::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--royal); transform: scaleX(0); transition: transform .45s var(--ease-out); }
.tab:hover { color: var(--ink); }
.tab[aria-pressed="true"], .tab[aria-selected="true"], .tab[aria-current="page"] { color: var(--ink); }
.tab[aria-pressed="true"]::after, .tab[aria-selected="true"]::after, .tab[aria-current="page"]::after { transform: scaleX(1); }
.section-dark .tabs, .section-night .tabs { border-color: rgba(255, 255, 255, .14); }
.section-dark .tab, .section-night .tab { color: rgba(255, 255, 255, .62); }
.section-dark .tab[aria-pressed="true"], .section-night .tab[aria-pressed="true"] { color: #fff; }
.section-dark .tab::after, .section-night .tab::after { background: var(--aero); }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); background: var(--white); border-radius: var(--r-1); padding: 7px 12px; font-size: .86rem; font-weight: 500; color: var(--slate); transition: all .2s; cursor: pointer; }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--midnight); border-color: var(--midnight); color: #fff; }

/* ---------- Destinations ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; grid-auto-flow: dense; }
.dest { position: relative; display: block; overflow: hidden; color: #fff; background: var(--navy); grid-column: span 3; aspect-ratio: 3 / 4; border-radius: var(--r-2); isolation: isolate; }
.dest:nth-child(1), .dest:nth-child(6) { grid-column: span 6; aspect-ratio: auto; }
.dest-grid.is-filtered .dest { grid-column: span 3; aspect-ratio: 3 / 4; }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.dest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4, 11, 36, .88) 0%, rgba(4, 11, 36, .2) 50%, rgba(4, 11, 36, 0) 100%); transition: opacity .5s; }
.dest:hover img { transform: scale(1.06); }
.dest:hover { color: #fff; }
.dest-body { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 22px; display: flex; justify-content: space-between; align-items: end; gap: 14px; }
.dest-city { font-family: var(--display); font-stretch: var(--wdth-display); font-weight: 600; letter-spacing: -.03em; font-size: clamp(1.35rem, 1.1rem + .7vw, 1.85rem); line-height: 1.02; display: block; }
.dest-meta { font-size: .82rem; opacity: .78; margin-top: 8px; display: block; }
.dest-price { text-align: end; font-size: .76rem; white-space: nowrap; opacity: .9; }
.dest-price b { display: block; font-size: 1.2rem; font-weight: 640; font-stretch: var(--wdth-data); letter-spacing: -.01em; font-variant-numeric: lining-nums proportional-nums; margin-top: 2px; }
.dest-cta { position: absolute; top: 18px; inset-inline-end: 18px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); display: inline-flex; align-items: center; justify-content: center; transform: scale(.6) rotate(-45deg); opacity: 0; transition: transform .5s var(--ease-out), opacity .3s, background-color .3s; }
.dest:hover .dest-cta { transform: none; opacity: 1; }
.dest.is-hidden { display: none; }
.dest-fallback { position: absolute; inset: 0; background: radial-gradient(120% 90% at 80% 10%, #1c63ea 0%, #0b1d52 55%, #040b24 100%); }

/* ---------- Pay your way ---------- */
.pay-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.pay-ways { display: grid; border-top: 1px solid var(--line); margin-top: 32px; }
.pay-way { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pay-way h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.pay-way p { margin: 0; color: var(--slate); font-size: .94rem; }
.card-marks { display: inline-flex; gap: 6px; }
.card-mark { width: 46px; height: 30px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--line); flex: none; }
.card-mark svg { width: 34px; height: 22px; }
.coin-stack { display: inline-flex; align-items: center; padding-inline-start: 14px; position: relative; }
.coin-stack .coin-wrap { position: relative; margin-inline-start: -14px; transition: margin .5s var(--ease-out), transform .4s var(--ease-out); border-radius: 50%; box-shadow: 0 0 0 2px var(--white), 0 6px 14px -6px rgba(6, 18, 58, .5); background: var(--white); display: inline-flex; }
.coin-stack .coin-wrap:nth-child(1) { z-index: 7; } .coin-stack .coin-wrap:nth-child(2) { z-index: 6; } .coin-stack .coin-wrap:nth-child(3) { z-index: 5; }
.coin-stack .coin-wrap:nth-child(4) { z-index: 4; } .coin-stack .coin-wrap:nth-child(5) { z-index: 3; } .coin-stack .coin-wrap:nth-child(6) { z-index: 2; }
.coin-stack .coin-wrap .coin { display: block; }
.coin-stack .coin-wrap .tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 4px); background: var(--midnight); color: #fff; font-size: .72rem; font-weight: 500; padding: 4px 8px; border-radius: 2px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .3s var(--ease-out); }
.coin-stack.fan:hover .coin-wrap, .coin-stack.fan:focus-within .coin-wrap { margin-inline-start: 6px; }
.coin-stack.fan .coin-wrap:hover { transform: translateY(-4px); }
.coin-stack.fan .coin-wrap:hover .tip { opacity: 1; transform: translate(-50%, 0); }
.coin-stack.sm { padding-inline-start: 8px; }
.coin-stack.sm .coin-wrap { margin-inline-start: -8px; box-shadow: 0 0 0 1.5px var(--white); }
.coin-stack.dark .coin-wrap { box-shadow: 0 0 0 2px var(--night); background: var(--night); }
.coin-stack.dark .coin-wrap::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); pointer-events: none; }
.pay-visual { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: center; }
.pay-visual .ring { position: absolute; inset: 4%; border-radius: 50%; border: 1px dashed var(--line-2); }
.pay-visual .ring.r2 { inset: 20%; border-style: solid; border-color: var(--line); }
.pay-visual .orbit { position: absolute; inset: 0; animation: rot var(--dur, 52s) linear infinite; }
.pay-visual .orbit.r2 { animation-direction: reverse; }
.pay-visual .orbit .coin-wrap { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 0 10px 24px -10px rgba(6, 18, 58, .6), 0 0 0 3px var(--white); display: inline-flex; }
.pay-visual .orbit .coin-wrap svg { animation: counter var(--dur, 52s) linear infinite; display: block; }
.pay-visual .orbit.r2 .coin-wrap svg { animation-direction: reverse; }
.pay-visual .pcard { position: relative; z-index: 2; width: 62%; }
@keyframes rot { to { transform: rotate(360deg); } }
@keyframes counter { to { transform: rotate(-360deg); } }

/* ---------- Brand card (club and payment visual) ---------- */
.pcard {
  --card-a: #2a7bf0; --card-b: #061542; --card-ink: #fff;
  position: relative; width: min(380px, 100%); aspect-ratio: 1.586; border-radius: 14px; padding: 7% 7.5%; color: var(--card-ink); overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--card-a) 0%, var(--card-b) 82%);
  box-shadow: 0 30px 60px -28px rgba(4, 11, 36, .75), inset 0 0 0 1px rgba(255, 255, 255, .14);
  display: flex; flex-direction: column; justify-content: space-between; transform-style: preserve-3d; container-type: inline-size;
}
.pcard::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0)); transform: translate(var(--gx, 25%), var(--gy, -30%)); transition: transform .25s; }
.pcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0) 0 14px, rgba(255, 255, 255, .04) 14px 15px); }
.pcard .sheen { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .3) 48%, transparent 60%); transform: translateX(-120%); }
.pcard.is-in .sheen, .pcard:hover .sheen { animation: sheen 1.6s var(--ease-in-out); }
@keyframes sheen { to { transform: translateX(120%); } }
.pcard .mark-bg { position: absolute; z-index: -1; width: 68%; inset-inline-end: -14%; bottom: -26%; opacity: .12; }
.pcard .row-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pcard .club { font-size: max(10px, 4.2cqi); font-weight: 600; letter-spacing: .04em; line-height: 1.2; }
.pcard .tier { font-family: var(--display); font-stretch: var(--wdth-display); font-weight: 600; letter-spacing: -.02em; font-size: max(14px, 6.6cqi); line-height: 1; margin-top: 2px; }
.pcard .logo { width: 17cqi; min-width: 34px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .15)); }
.pcard .chipm { width: 12cqi; min-width: 26px; aspect-ratio: 4 / 3; border-radius: 4px; background: linear-gradient(135deg, #f3dca3, #b48a3f); position: relative; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.pcard .chipm::after { content: ""; position: absolute; inset: 22% 26%; border: 1px solid rgba(0, 0, 0, .25); border-radius: 2px; }
.pcard .no { font-size: max(12px, 5.8cqi); font-stretch: var(--wdth-data); letter-spacing: .1em; font-variant-numeric: tabular-nums; font-weight: 500; line-height: 1.1; white-space: nowrap; }
.pcard .nm { font-size: max(9px, 3.8cqi); letter-spacing: .06em; opacity: .9; display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }
.pcard .nm span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-back { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, var(--card-b), var(--card-a)); transform: rotateY(180deg); backface-visibility: hidden; display: flex; flex-direction: column; justify-content: center; padding: 22px 24px; }
.pcard-back .strip { position: absolute; top: 14%; left: 0; right: 0; height: 18%; background: rgba(0, 0, 0, .6); }
.pcard-back .cvc { margin-top: 26%; margin-inline-start: 40%; background: rgba(255, 255, 255, .92); color: var(--ink); height: 16%; min-height: 26px; border-radius: 3px; display: flex; align-items: center; justify-content: flex-end; padding: 0 12px; font-weight: 600; letter-spacing: .14em; }
.pcard .face { backface-visibility: hidden; display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
[data-tilt] { transition: transform .6s var(--ease-out); will-change: transform; }

/* Card fan (club section) */
.card-fan { position: relative; height: clamp(320px, 34vw, 440px); }
.card-fan .pcard { position: absolute; top: 50%; left: 50%; width: clamp(240px, 26vw, 340px); transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) translate(var(--tx, 0px), var(--ty, 0px)); transition: transform .9s var(--ease-out), box-shadow .5s; }
.card-fan.is-in .pcard { --spread: 1; }
.card-fan:hover .pcard { transform: translate(-50%, -50%) rotate(calc(var(--rot, 0deg) * 1.5)) translate(calc(var(--tx, 0px) * 1.6), calc(var(--ty, 0px) * 1.2)); }

/* ---------- Network map ---------- */
.mapwrap { position: relative; border-radius: var(--r-2); overflow: hidden; background: #071640; min-height: 600px; border: 1px solid rgba(255, 255, 255, .08); }
.map { position: absolute; inset: 0; background: #071640; }
.map.light { background: #e8edf5; }
.leaflet-container { font-family: var(--sans) !important; background: transparent; outline: 0; }
.leaflet-container svg, .leaflet-container img { max-width: none !important; max-height: none !important; }
.leaflet-marker-icon > div { margin: auto; }
.mapwrap.is-loading .map { opacity: .6; transition: opacity .3s; }
.leaflet-control-attribution { background: rgba(255, 255, 255, .7) !important; font-size: 10px !important; }
.leaflet-control-zoom a { width: 34px !important; height: 34px !important; line-height: 34px !important; border-radius: 3px !important; border: 0 !important; color: var(--midnight) !important; }
.leaflet-control-zoom { border: 0 !important; box-shadow: var(--shadow-2) !important; border-radius: 4px !important; overflow: hidden; }
.map-panel { position: absolute; z-index: 500; top: 18px; inset-inline-start: 18px; width: min(360px, calc(100% - 36px)); background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); border-radius: var(--r-2); box-shadow: var(--shadow-3); padding: 18px; color: var(--ink); max-height: calc(100% - 36px); display: flex; flex-direction: column; }
.map-panel .field { min-height: 60px; border: 1px solid var(--line-2); border-radius: var(--r-1); }
.map-panel .seg { margin-top: 12px; display: flex; flex-wrap: wrap; }
.map-panel .seg label { flex: 1; text-align: center; }
.range { margin-top: 14px; }
.range label { font-size: .8rem; color: var(--slate); display: flex; justify-content: space-between; margin-bottom: 6px; }
input[type="range"] { width: 100%; accent-color: var(--royal); }
.map-list { list-style: none; margin: 14px 0 0; padding: 0; overflow: auto; border-top: 1px solid var(--line); flex: 1; min-height: 0; max-height: 300px; }
.map-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: .92rem; transition: background-color .15s; }
.map-list li:hover { background: var(--paper); }
.map-list .p { font-weight: 640; font-stretch: var(--wdth-data); white-space: nowrap; font-variant-numeric: lining-nums proportional-nums; }
.map-list .stops { font-size: .76rem; color: var(--slate); }
.map-label { background: var(--white); color: var(--midnight); border-radius: 2px; padding: 3px 8px; font-size: 12px; font-weight: 600; box-shadow: var(--shadow-1); white-space: nowrap; border: 0; }
.map-label::before { display: none; }
.leaflet-tooltip.map-label { border: 0; }
.dot-hub { width: 14px; height: 14px; border-radius: 50%; background: var(--aero); box-shadow: 0 0 0 4px rgba(46, 197, 255, .25), 0 0 18px rgba(46, 197, 255, .7); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .18); }
.map.light .dot { background: var(--royal); box-shadow: 0 0 0 3px rgba(20, 82, 230, .15); }
.dot-pulse { position: relative; }
.dot-pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--aero); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
.arc { stroke-dasharray: 6 8; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -600; } }
.popup-dest { min-width: 220px; }
.popup-dest .c { font-family: var(--display); font-stretch: var(--wdth-display); font-weight: 600; letter-spacing: -.025em; font-size: 1.25rem; line-height: 1.1; }
.popup-dest .m { font-size: .8rem; color: var(--slate); margin: 2px 0 10px; }
.popup-dest .pr { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
.leaflet-popup-content-wrapper { border-radius: var(--r-2) !important; box-shadow: var(--shadow-3) !important; }
.leaflet-popup-content { margin: 16px 18px !important; font-family: var(--sans); }
.plane-marker { color: #fff; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .45)); }
.plane-marker svg { width: 34px; height: 34px; }
.map.light .plane-marker { color: var(--midnight); }

/* ---------- Cabins ---------- */
.cabins { display: grid; grid-template-columns: 1.3fr 1fr; overflow: hidden; background: var(--midnight); color: #fff; min-height: 620px; border-radius: var(--r-2); }
.cabins-media { position: relative; overflow: hidden; }
.cabins-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 2s var(--ease-out); }
.cabins-media img.is-on { opacity: 1; transform: none; }
.cabins-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; }
.cabin-list { list-style: none; padding: 0; margin: 8px 0 0; }
.cabin-list button { width: 100%; text-align: start; background: none; border: 0; color: rgba(255, 255, 255, .5); padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color .3s; }
.cabin-list button .n { font-family: var(--display); font-stretch: var(--wdth-display); font-weight: 560; letter-spacing: -.03em; font-size: clamp(1.3rem, 1rem + 1vw, 1.95rem); line-height: 1; }
.cabin-list button .i { transition: transform .4s var(--ease-out), opacity .3s; opacity: 0; }
.cabin-list button[aria-selected="true"], .cabin-list button:hover { color: #fff; }
.cabin-list button[aria-selected="true"] .i { opacity: 1; transform: translateX(4px); }
.cabin-detail { margin-top: auto; padding-top: 24px; min-height: 150px; }
.cabin-detail p { color: rgba(255, 255, 255, .74); max-width: 46ch; animation: fadeUp .6s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }

.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.feature { padding-top: 22px; border-top: 1px solid var(--line); }
.feature .i { color: var(--royal); width: 24px; height: 24px; margin-bottom: 16px; }
.feature h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 8px; }
.feature p { color: var(--slate); font-size: .95rem; margin: 0; }
.section-dark .feature, .section-night .feature { border-color: rgba(255, 255, 255, .14); }
.section-dark .feature p, .section-night .feature p { color: rgba(255, 255, 255, .66); }
.section-dark .feature .i, .section-night .feature .i { color: var(--aero); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-media { border-radius: var(--r-2); overflow: hidden; position: relative; aspect-ratio: 4 / 5; background: var(--navy); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; top: 5px; inset-inline: 0; height: 1px; background: rgba(255, 255, 255, .18); }
.timeline::after { content: ""; position: absolute; top: 5px; inset-inline-start: 0; height: 1px; width: 100%; background: var(--aero); transform: scaleX(0); transform-origin: left; transition: transform 2.4s var(--ease-in-out); }
[dir="rtl"] .timeline::after { transform-origin: right; }
.timeline.is-in::after { transform: scaleX(1); }
.timeline li { position: relative; padding-top: 34px; padding-inline-end: 28px; }
.timeline li::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--night); border: 1px solid var(--aero); }
.timeline .yr { font-family: var(--display); font-stretch: var(--wdth-data); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: lining-nums proportional-nums; font-size: 2rem; line-height: 1; }
.timeline p { color: rgba(255, 255, 255, .68); font-size: .95rem; margin-top: 10px; }

/* ---------- Cards / panels ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); padding: clamp(20px, 2.4vw, 28px); }
.card-flat { background: var(--white); border-radius: var(--r-2); padding: clamp(20px, 2.4vw, 28px); }
.panel-title { font-size: 1.06rem; font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.panel-title .i { color: var(--royal); }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 28px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 3vw, 40px); align-items: start; }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.divider { height: 1px; background: var(--line); margin: 20px 0; border: 0; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 2px; font-size: .76rem; font-weight: 600; white-space: nowrap; background: var(--cloud); color: var(--slate); line-height: 1.5; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.info { background: var(--info-bg); color: var(--info); }
.badge.plain::before { display: none; }
.badge.live::before { animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .2; } }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-1); font-size: .94rem; background: var(--info-bg); color: #0b3aa8; border-inline-start: 3px solid currentColor; }
.alert.ok { background: var(--ok-bg); color: #0b5c40; }
.alert.warn { background: var(--warn-bg); color: #7b4a05; }
.alert.bad { background: var(--bad-bg); color: #8f2512; }
.alert p:last-child { margin: 0; }
.flash-stack { position: fixed; z-index: 150; top: calc(var(--header-h) + 12px); inset-inline-end: 16px; display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); }
.flash-stack .alert { box-shadow: var(--shadow-3); background: var(--white); color: var(--ink); border-inline-start-color: var(--royal); animation: toastIn .6s var(--ease-out) both; }
.flash-stack .alert.ok { border-inline-start-color: var(--ok); }
.flash-stack .alert.bad { border-inline-start-color: var(--bad); }
.flash-stack .alert.warn { border-inline-start-color: var(--warn); }
.flash-stack .alert > .i { color: var(--royal); }
.flash-stack .alert.ok > .i { color: var(--ok); } .flash-stack .alert.bad > .i { color: var(--bad); } .flash-stack .alert.warn > .i { color: var(--warn); }
.flash-stack .alert.is-out { animation: toastOut .4s var(--ease) both; }
@keyframes toastIn { from { opacity: 0; transform: translateX(24px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(24px); } }
.toast { position: fixed; z-index: 160; bottom: 24px; left: 50%; transform: translate(-50%, 20px); opacity: 0; background: var(--midnight); color: #fff; padding: 12px 18px; border-radius: var(--r-1); font-size: .9rem; transition: all .4s var(--ease-out); pointer-events: none; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow-3); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px 16px; }
.form-grid .c2 { grid-column: span 2; } .form-grid .c3 { grid-column: span 3; } .form-grid .c4 { grid-column: span 4; } .form-grid .c6 { grid-column: span 6; }
.fld label { display: block; font-size: .84rem; font-weight: 500; color: var(--slate); margin-bottom: 6px; }
.fld .hint { font-size: .78rem; color: var(--mist); margin-top: 6px; }
.input, .fld input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), .fld select, .fld textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-1); border: 1px solid var(--line-2);
  background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.fld textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: var(--mist); }
.fld input:focus, .fld select:focus, .fld textarea:focus, .input:focus { outline: 0; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(20, 82, 230, .14); }
.fld.has-error input, .fld.has-error select, .fld.has-error textarea { border-color: var(--bad); }
.fld .err { color: var(--bad); font-size: .8rem; margin-top: 6px; }
.fld select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a5672' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 36px; }
[dir="rtl"] .fld select { background-position: left 14px center; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--royal); flex: none; }
.optional { color: var(--mist); font-weight: 400; }

/* ---------- Search bar (results, checkout) ---------- */
.search-bar { background: var(--midnight); color: #fff; padding: calc(var(--header-h) + 20px) 0 0; position: relative; }
body:not(.has-hero) .search-bar { padding-top: 20px; }
.search-sum { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 20px; }
.search-sum .route { display: flex; align-items: baseline; gap: 14px; font-family: var(--display); font-stretch: var(--wdth-display); font-weight: 600; letter-spacing: -.03em; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.05rem); line-height: 1; flex-wrap: wrap; }
.search-sum .route .code { font-family: var(--sans); letter-spacing: .06em; font-size: .8rem; opacity: .55; }
.search-sum .route .i { width: .6em; height: .6em; opacity: .6; align-self: center; }
.search-sum .meta { display: flex; gap: 18px; color: rgba(255, 255, 255, .72); font-size: .9rem; flex-wrap: wrap; }
.search-sum .meta span { display: inline-flex; gap: 6px; align-items: center; }
.search-sum .btn { margin-inline-start: auto; }
.modify { padding-bottom: 22px; }
.modify[hidden] { display: none; }
.market-note { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--slate); }

/* Progress */
.progress { display: flex; list-style: none; padding: 0; margin: 0; counter-reset: s; border-top: 1px solid rgba(255, 255, 255, .1); }
.progress li { counter-increment: s; flex: 1; display: flex; align-items: center; gap: 10px; padding: 14px 0; font-size: .84rem; color: rgba(255, 255, 255, .5); position: relative; white-space: nowrap; min-width: 0; }
.progress li::before { content: counter(s); width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 600; border: 1px solid rgba(255, 255, 255, .3); flex: none; }
.progress li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--aero); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
[dir="rtl"] .progress li::after { transform-origin: right; }
.progress li.is-done, .progress li.is-current { color: #fff; }
.progress li.is-done::before { content: ""; background: var(--aero) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306123a' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--aero); }
.progress li.is-current::before { background: #fff; color: var(--midnight); border-color: #fff; }
.progress li.is-done::after { transform: scaleX(1); }
.progress li.is-current::after { transform: scaleX(.5); }
.progress a { color: inherit; }
.progress a:hover { color: #fff; }

/* ---------- Results ---------- */
.results-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.leg-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.leg-title .h3 { margin: 0; }
.leg-num { width: 30px; height: 30px; border-radius: 50%; background: var(--midnight); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 600; flex: none; }
.cabin-tabs { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border: 1px solid var(--line); background: var(--white); border-radius: var(--r-2); overflow: hidden; margin-bottom: 14px; }
.cabin-tab { border: 0; background: none; padding: 14px 16px; text-align: start; border-inline-start: 1px solid var(--line); position: relative; transition: background-color .2s; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cabin-tab:first-child { border-inline-start: 0; }
.cabin-tab:hover { background: var(--paper); }
.cabin-tab .c { font-weight: 600; font-size: .95rem; }
.cabin-tab .p { font-size: .84rem; color: var(--slate); font-variant-numeric: lining-nums proportional-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cabin-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--royal); transform: scaleX(0); transition: transform .45s var(--ease-out); }
.cabin-tab[aria-pressed="true"]::after { transform: scaleX(1); }
.cabin-tab[aria-pressed="true"] .p { color: var(--royal); }
.cabin-tab:disabled { cursor: default; opacity: .5; }
.sort-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--white); border-radius: var(--r-2); overflow: hidden; margin-bottom: 14px; }
.sort-tabs[hidden] { display: none; }
.date-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; margin-bottom: 14px; }
.date-strip > a, .date-strip > span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px; color: var(--ink); border-inline-start: 1px solid var(--line); font-size: .82rem; transition: background-color .2s; text-align: center; min-width: 0; position: relative; }
.date-strip > :first-child { border-inline-start: 0; }
.date-strip > a:hover { background: var(--paper); color: var(--ink); }
.date-strip .d { color: var(--slate); text-transform: capitalize; white-space: nowrap; }
.date-strip .p { font-weight: 640; font-stretch: var(--wdth-data); font-size: .92rem; font-variant-numeric: lining-nums proportional-nums; white-space: nowrap; }
.date-strip .is-current { background: var(--midnight); color: #fff; }
.date-strip .is-current:hover { background: var(--midnight); color: #fff; }
.date-strip .is-current .d { color: rgba(255, 255, 255, .7); }
.date-strip .is-past { color: var(--line-2); }
.date-strip .is-low .p { color: var(--ok); }
.date-strip .is-current.is-low .p { color: #7ff0bf; }

.flight-list { display: grid; gap: 10px; }
.flight { display: grid; grid-template-columns: minmax(0, 1fr) 210px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; transition: border-color .25s, box-shadow .35s var(--ease); cursor: pointer; text-align: start; padding: 0; width: 100%; color: inherit; position: relative; }
.flight:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.flight.is-chosen { border-color: var(--royal); box-shadow: 0 0 0 1px var(--royal), var(--shadow-2); }
.flight.is-off { display: none; }
.flight-info { padding: 20px 24px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 22px; align-items: center; }
.flight-time .t { font-size: 1.55rem; font-weight: 600; font-stretch: var(--wdth-data); letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.flight-time .t sup { font-size: .5em; color: var(--warn); margin-inline-start: 2px; font-weight: 600; }
.flight-time .a { font-size: .82rem; color: var(--slate); margin-top: 6px; white-space: nowrap; }
.flight-time .a b { font-weight: 600; color: var(--ink); letter-spacing: .04em; }
.flight-time.end { text-align: end; }
.flight-path { position: relative; text-align: center; font-size: .78rem; color: var(--slate); min-width: 0; }
.flight-path .line { position: relative; height: 1px; background: var(--line-2); margin: 9px 0; }
.flight-path .line::before, .flight-path .line::after { content: ""; position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--mist); background: var(--white); }
.flight-path .line::before { inset-inline-start: 0; }
.flight-path .line::after { inset-inline-end: 0; background: var(--midnight); border-color: var(--midnight); }
.flight-path .line .fill { position: absolute; inset-inline-start: 0; top: 0; height: 1px; width: 0; background: var(--royal); transition: width 1s var(--ease-out); }
.flight:hover .flight-path .line .fill, .flight.is-chosen .flight-path .line .fill { width: 100%; }
.flight-path .stop { position: absolute; top: -4px; left: 50%; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 3px var(--white); }
.flight-path .pl { position: absolute; top: -9px; inset-inline-start: 8px; color: var(--royal); background: var(--white); padding: 0 3px; line-height: 1; transition: inset-inline-start 1.1s var(--ease-out); }
.flight:hover .flight-path .pl, .flight.is-chosen .flight-path .pl { inset-inline-start: calc(100% - 26px); }
.flight-sub { grid-column: 1 / -1; display: flex; gap: 14px; font-size: .78rem; color: var(--slate); flex-wrap: wrap; padding-top: 6px; }
.flight-sub span { display: inline-flex; align-items: center; gap: 5px; }
.flight-price { border-inline-start: 1px dashed var(--line-2); padding: 16px 20px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 2px; text-align: end; position: relative; }
.flight-price .from { font-size: .74rem; color: var(--slate); }
.flight-price .p { font-size: 1.35rem; font-weight: 640; font-stretch: var(--wdth-data); letter-spacing: -.015em; font-variant-numeric: lining-nums proportional-nums; line-height: 1.1; }
.flight-price .left { font-size: .74rem; color: var(--bad); font-weight: 500; }
.flight-price .pick { margin-top: 8px; font-size: .82rem; font-weight: 600; color: var(--royal); display: inline-flex; align-items: center; gap: 6px; }
.flight.is-chosen .flight-price .pick { color: var(--ok); }
.flight-price .na { font-size: .86rem; color: var(--mist); }
.flight.is-na { cursor: default; opacity: .65; }
.flight.is-na:hover { box-shadow: none; border-color: var(--line); }
.flight-tag { position: absolute; top: 0; inset-inline-start: 0; font-size: .68rem; font-weight: 600; padding: 3px 9px; background: var(--ok-bg); color: var(--ok); border-end-end-radius: var(--r-1); }
.empty { text-align: center; padding: 56px 20px; background: var(--white); border: 1px dashed var(--line-2); border-radius: var(--r-2); color: var(--slate); }
.empty .i-lg { color: var(--royal); margin: 0 auto 12px; display: block; }

.leg-block + .leg-block { margin-top: 44px; }
.leg-block.is-locked .leg-body { opacity: .4; pointer-events: none; filter: saturate(.5); transition: opacity .4s; }
.leg-chosen { display: none; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--line); border-inline-start: 3px solid var(--ok); border-radius: var(--r-2); padding: 14px 18px; flex-wrap: wrap; animation: fadeUp .5s var(--ease-out); margin-top: 14px; }
.leg-block.is-done .leg-chosen { display: flex; }
.leg-block.is-done .leg-body { display: none; }
.leg-chosen .what { font-weight: 600; }
.leg-chosen .sub { font-size: .84rem; color: var(--slate); }
.leg-chosen .btn { margin-inline-start: auto; }

/* Fare drawer */
.drawer { position: fixed; inset: 0; z-index: 140; pointer-events: none; visibility: hidden; transition: visibility 0s .5s; }
.drawer.is-open { pointer-events: auto; visibility: visible; transition: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(4, 11, 36, .5); opacity: 0; transition: opacity .4s var(--ease); }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(940px, 100%); background: var(--paper); box-shadow: var(--shadow-3); transform: translateX(100%); transition: transform .55s var(--ease-out); display: flex; flex-direction: column; }
[dir="rtl"] .drawer-panel { transform: translateX(-100%); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 28px; background: var(--white); border-bottom: 1px solid var(--line); }
.drawer-head .h3 { margin-bottom: 6px; }
.drawer-body { flex: 1; overflow: auto; padding: 24px 28px 32px; overscroll-behavior: contain; }
.drawer-legs { display: grid; gap: 8px; margin-bottom: 20px; }
.drawer-leg { display: flex; gap: 14px; align-items: center; font-size: .88rem; color: var(--slate); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-1); padding: 10px 14px; flex-wrap: wrap; }
.drawer-leg b { color: var(--ink); }
.fams { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 12px; }
.fam { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); padding: 22px; display: flex; flex-direction: column; position: relative; transition: border-color .25s, box-shadow .3s; }
.drawer.is-open .fam { animation: famIn .6s var(--ease-out) both; }
.drawer.is-open .fam:nth-child(2) { animation-delay: .07s; }
.drawer.is-open .fam:nth-child(3) { animation-delay: .14s; }
@keyframes famIn { from { opacity: 0; transform: translateY(16px); } }
.fam:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.fam.is-rec { border-color: var(--royal); box-shadow: 0 0 0 1px var(--royal); }
.fam .tag { position: absolute; top: -1px; inset-inline-end: 18px; background: var(--royal); color: #fff; font-size: .7rem; font-weight: 600; padding: 4px 8px; border-radius: 0 0 var(--r-1) var(--r-1); }
.fam h4 { font-family: var(--display); font-stretch: var(--wdth-display); font-weight: 600; letter-spacing: -.025em; font-size: 1.45rem; line-height: 1; }
.fam .cab { font-size: .8rem; color: var(--slate); margin-top: 4px; }
.fam .price { font-size: 1.55rem; font-weight: 640; font-stretch: var(--wdth-data); letter-spacing: -.02em; margin: 14px 0 0; font-variant-numeric: lining-nums proportional-nums; }
.fam .was { font-size: .86rem; color: var(--mist); text-decoration: line-through; margin-inline-start: 6px; font-weight: 500; }
.fam .pp { font-size: .76rem; color: var(--slate); margin-bottom: 16px; }
.fam ul { list-style: none; margin: 0 0 20px; display: grid; gap: 10px; font-size: .88rem; border-top: 1px solid var(--line); padding: 16px 0 0; }
.fam li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.fam li .i { width: 16px; height: 16px; margin-top: 1px; color: var(--ok); }
.fam li.no { color: var(--mist); }
.fam li.no .i { color: var(--mist); }
.fam li.member { color: var(--royal); }
.fam li.member .i { color: var(--royal); }
.fam .btn { margin-top: auto; }

/* Trip bar */
.tripbar { position: fixed; z-index: 100; inset-inline: 0; bottom: 0; background: var(--midnight); color: #fff; transform: translateY(110%); visibility: hidden; transition: transform .6s var(--ease-out), visibility 0s .6s; box-shadow: 0 -20px 40px -20px rgba(4, 11, 36, .5); }
.tripbar.is-on { transform: none; visibility: visible; transition: transform .6s var(--ease-out); }
.tripbar .wrap { display: flex; align-items: center; gap: 18px; min-height: 78px; padding-block: 10px; }
.tripbar .legs { display: flex; gap: 28px; flex: 1; min-width: 0; flex-wrap: wrap; }
.tripbar .leg { display: flex; flex-direction: column; min-width: 0; }
.tripbar .leg .k { font-size: .72rem; color: rgba(255, 255, 255, .55); }
.tripbar .leg .v { font-size: .92rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tripbar .leg.todo .v { color: var(--aero); }
.tripbar .tot { text-align: end; }
.tripbar .tot .k { font-size: .72rem; color: rgba(255, 255, 255, .55); }
.tripbar .tot .v { font-size: 1.3rem; font-weight: 640; font-stretch: var(--wdth-data); font-variant-numeric: lining-nums proportional-nums; line-height: 1.1; }
body.has-tripbar { padding-bottom: 90px; }

/* ---------- Checkout ---------- */
.co-sec { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); }
.co-sec + .co-sec { margin-top: 16px; }
.co-head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.co-head .n { width: 28px; height: 28px; border-radius: 50%; background: var(--midnight); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 600; flex: none; }
.co-head h2 { font-size: 1.12rem; font-weight: 600; }
.co-head p { margin: 2px 0 0; font-size: .86rem; color: var(--slate); }
.co-head > div { flex: 1; min-width: 0; }
.co-head .act { margin-inline-start: auto; flex: none; }
.co-body { padding: 22px 24px; }
.pax-block { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.pax-block:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.pax-block h3 { font-size: .98rem; font-weight: 600; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.more-toggle { margin-top: 14px; }
.more-toggle summary { list-style: none; cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--royal); display: inline-flex; align-items: center; gap: 6px; }
.more-toggle summary::-webkit-details-marker { display: none; }
.more-toggle summary .i-sm { transition: transform .3s var(--ease-out); }
.more-toggle[open] summary .i-sm { transform: rotate(180deg); }
.more-toggle .form-grid { margin-top: 14px; animation: fadeUp .4s var(--ease-out); }
.seat-sum { display: grid; gap: 8px; }
.seat-sum .r { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-1); flex-wrap: wrap; }
.seat-sum .r .w { font-weight: 600; font-size: .92rem; }
.seat-sum .r .s { font-size: .84rem; color: var(--slate); }

.pay-tabs { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.pay-tab { position: relative; }
.pay-tab input { position: absolute; opacity: 0; }
.pay-tab > span { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--r-2); cursor: pointer; transition: border-color .2s, box-shadow .2s, background-color .2s; min-height: 76px; }
.pay-tab > span:hover { border-color: var(--mist); }
.pay-tab .t { font-weight: 600; display: block; line-height: 1.25; }
.pay-tab .s { font-size: .8rem; color: var(--slate); display: block; }
.pay-tab .ic { margin-inline-start: auto; flex: none; display: inline-flex; }
.pay-tab input:checked + span { border-color: var(--royal); box-shadow: 0 0 0 1px var(--royal); background: #fbfcff; }
.pay-tab input:focus-visible + span { outline: 2px solid var(--royal); outline-offset: 2px; }
.pay-tab .radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; position: relative; transition: border-color .2s; }
.pay-tab input:checked + span .radio { border-color: var(--royal); }
.pay-tab input:checked + span .radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--royal); animation: pop .3s var(--ease-out); }
@keyframes pop { from { transform: scale(0); } }
.pay-pane[hidden] { display: none; }
.pay-pane { animation: fadeUp .45s var(--ease-out); }
.card-entry { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: center; }
.form-grid.cc-fields { grid-template-columns: 1fr 1fr; }
.form-grid.cc-fields .c2 { grid-column: 1 / -1; }
.cc-flip { perspective: 1200px; }
.cc-flip .pcard { width: 100%; transition: transform .8s var(--ease-out); }
.cc-flip.is-back .pcard { transform: rotateY(180deg); }
.cc-num-wrap { position: relative; }
.cc-num-wrap .brand-ico { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; display: flex; transition: opacity .3s; }
.cc-num-wrap .brand-ico svg { width: 36px; height: 24px; }
.test-hint { font-size: .8rem; color: var(--slate); border: 1px dashed var(--line-2); border-radius: var(--r-1); padding: 10px 12px; margin-top: 16px; }
.test-hint code { font-weight: 600; color: var(--ink); background: var(--cloud); padding: 1px 5px; border-radius: 2px; font-family: inherit; white-space: nowrap; }
/* coin chooser: one quiet list, two columns where there is room */
.coin-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; }
.coin-row { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--white); text-align: start; font: inherit; color: inherit; cursor: pointer; }
.coin-row:last-child:nth-child(odd) { grid-column: 1 / -1; }
.coin-row input { position: absolute; opacity: 0; pointer-events: none; }
.coin-row > span { display: flex; align-items: center; gap: 12px; padding: 12px 14px; transition: background-color .2s; position: relative; }
.coin-row > span::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 3px; background: var(--royal); transform: scaleY(0); transition: transform .3s var(--ease-out); }
.coin-row:hover > span { background: var(--paper); }
.coin-row .coin { flex: none; }
.coin-row .nm { min-width: 0; flex: 1; }
.coin-row .sym { display: block; font-weight: 600; font-size: .9rem; line-height: 1.25; }
.coin-row .tk { font-weight: 500; color: var(--mist); font-size: .8rem; }
.coin-row .net { display: block; font-size: .76rem; color: var(--slate); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin-row .amt { font-size: .78rem; color: var(--slate); white-space: nowrap; }
.coin-row .tick { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; position: relative; transition: border-color .2s; }
.coin-row input:checked + span, .coin-row[aria-current="true"] > span { background: #f6f8ff; }
.coin-row input:checked + span::before, .coin-row[aria-current="true"] > span::before { transform: scaleY(1); }
.coin-row input:checked + span .tick, .coin-row[aria-current="true"] .tick { border-color: var(--royal); }
.coin-row input:checked + span .tick::after, .coin-row[aria-current="true"] .tick::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--royal); animation: pop .3s var(--ease-out); }
.coin-row input:focus-visible + span, .coin-row:focus-visible { outline: 2px solid var(--royal); outline-offset: -2px; }
.secure-note { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--slate); }
.pay-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }

/* Summary aside */
.summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; }
.summary-head { background: var(--midnight); color: #fff; padding: 20px 22px; position: relative; overflow: hidden; }
.summary-head .r { font-family: var(--display); font-stretch: var(--wdth-data); font-weight: 600; letter-spacing: -.01em; font-size: 1.3rem; line-height: 1.05; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; position: relative; }
.summary-head .r .i-sm { opacity: .6; }
.summary-head .s { font-size: .82rem; opacity: .7; margin-top: 6px; position: relative; }
.summary-head .mark-bg { position: absolute; width: 170px; inset-inline-end: -46px; top: -20px; opacity: .08; }
.summary-body { padding: 18px 22px 22px; }
.sum-leg { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.sum-leg .t { font-weight: 600; font-size: .92rem; }
.sum-leg .d { font-size: .84rem; color: var(--slate); }
.sum-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; }
.sum-lines li span:first-child { color: var(--slate); }
.sum-lines .disc span { color: var(--ok) !important; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.sum-total .v { font-size: 1.45rem; font-weight: 640; font-stretch: var(--wdth-data); letter-spacing: -.02em; font-variant-numeric: lining-nums proportional-nums; }
.sum-total .v.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.06); color: var(--royal); } }
.promo { display: flex; gap: 8px; margin-top: 16px; }
.promo input { flex: 1; min-width: 0; height: 42px; border: 1px solid var(--line-2); border-radius: var(--r-1); padding: 0 12px; text-transform: uppercase; }
.promo input::placeholder { text-transform: none; }
.promo input:focus { outline: 0; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(20, 82, 230, .14); }
.promo .btn { min-height: 42px; }
.member-strip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--royal-soft); color: var(--royal); border-radius: var(--r-1); font-size: .86rem; font-weight: 500; margin-bottom: 14px; }
.member-strip .mini { width: 38px; height: 24px; border-radius: 3px; background: linear-gradient(135deg, var(--card-a), var(--card-b)); flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }

/* Seat map */
.modal { border: 0; padding: 0; border-radius: var(--r-2); width: min(980px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-3); overflow: hidden; }
.modal[open] { display: flex; flex-direction: column; animation: modalIn .5s var(--ease-out); }
.modal::backdrop { background: rgba(4, 11, 36, .55); }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; background: var(--white); border-bottom: 1px solid var(--line); }
.modal-body { overflow: auto; padding: 22px; flex: 1; }
.modal-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 22px; background: var(--white); border-top: 1px solid var(--line); flex-wrap: wrap; }
.seat-wrap { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.seat-wrap > * { min-width: 0; }
.seg-tabs { display: grid; gap: 6px; margin-bottom: 16px; }
.seg-tab { text-align: start; border: 1px solid var(--line); background: var(--white); border-radius: var(--r-1); padding: 10px 12px; transition: border-color .2s; color: var(--ink); display: block; }
.seg-tab:hover { color: var(--ink); border-color: var(--line-2); }
.seg-tab[aria-selected="true"] { border-color: var(--royal); box-shadow: 0 0 0 1px var(--royal); }
.seg-tab .r { font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: 6px; }
.seg-tab .s { font-size: .76rem; color: var(--slate); }
.pax-pick { display: grid; gap: 6px; }
.pax-pick button { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--white); border-radius: var(--r-1); padding: 10px 12px; text-align: start; font-size: .9rem; transition: border-color .2s; }
.pax-pick button[aria-pressed="true"] { border-color: var(--midnight); box-shadow: 0 0 0 1px var(--midnight); }
.pax-pick .st { font-weight: 600; color: var(--royal); font-size: .84rem; }
.legend { display: flex; gap: 14px; font-size: .78rem; color: var(--slate); margin-top: 14px; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--line-2); background: var(--white); display: inline-block; }
.legend i.m { background: var(--royal); border-color: var(--royal); }
.legend i.t { background: var(--cloud); border-color: var(--cloud); }
.cabin-shell { background: var(--white); border: 1px solid var(--line); border-radius: 120px 120px var(--r-2) var(--r-2); padding: 64px 18px 24px; position: relative; overflow-x: auto; }
.cabin-shell::before { content: ""; position: absolute; top: 22px; left: 50%; width: 46px; height: 20px; margin-left: -23px; border-radius: 30px 30px 4px 4px; border: 1px solid var(--line-2); }
.seatmap { display: grid; gap: 4px; justify-content: center; min-width: max-content; }
.seat-row { display: flex; align-items: center; gap: 6px; }
.seat-row .rn { width: 22px; text-align: center; font-size: .7rem; color: var(--mist); font-variant-numeric: tabular-nums; }
.seat-group { display: flex; gap: 4px; }
.aisle { width: 18px; }
.seat { width: 30px; height: 32px; border-radius: 6px 6px 3px 3px; border: 1px solid var(--line-2); background: var(--white); font-size: .66rem; color: var(--slate); padding: 0; transition: background-color .15s, border-color .15s, transform .2s var(--ease-out); }
.seat.big { width: 40px; height: 42px; }
.seat:hover:not(:disabled) { border-color: var(--royal); transform: translateY(-1px); }
.seat:disabled { background: var(--cloud); border-color: var(--cloud); cursor: not-allowed; }
.seat.is-mine { background: var(--royal); border-color: var(--royal); color: #fff; font-weight: 600; }
.seat.is-other { background: var(--midnight); border-color: var(--midnight); color: #fff; font-weight: 600; }
.seat.is-pick { animation: seatPop .4s var(--ease-out); }
@keyframes seatPop { 50% { transform: scale(1.2); } }
.exit-row { text-align: center; font-size: .66rem; color: var(--warn); padding: 4px 0; }

/* ---------- Payment page ---------- */
.pay-shell { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(20px, 3vw, 36px); align-items: start; }
.pay-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; }
.pay-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.pay-amount { font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 640; font-stretch: var(--wdth-data); line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: lining-nums proportional-nums; word-break: break-all; }
.pay-amount small { font-size: .5em; color: var(--slate); font-weight: 500; letter-spacing: 0; }
.pay-section { padding: 24px 26px; }
.pay-section + .pay-section { border-top: 1px solid var(--line); }
.pay-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px 24px; flex-wrap: wrap; margin-bottom: 26px; }
.pay-head .crumb { font-size: .86rem; color: var(--slate); margin: 0 0 8px; }
.pay-head h1 { margin: 0; }
.hold-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: var(--r-1); background: var(--white); font-size: .84rem; color: var(--slate); }
.hold-chip strong { color: var(--ink); font-weight: 600; }
.seg-switch { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; background: var(--cloud); border-radius: var(--r-1); }
.seg-switch button { position: relative; z-index: 1; border: 0; background: none; padding: 9px 20px; font-weight: 600; font-size: .9rem; color: var(--slate); display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: color .25s; white-space: nowrap; }
.seg-switch button[aria-selected="true"] { color: var(--ink); }
.seg-switch button:focus-visible { outline: 2px solid var(--royal); outline-offset: -2px; border-radius: var(--r-1); }
.seg-switch .ind { position: absolute; top: 3px; bottom: 3px; inset-inline-start: 3px; width: calc(50% - 3px); background: var(--white); border-radius: calc(var(--r-1) - 1px); box-shadow: 0 1px 2px rgba(4, 11, 36, .1), 0 4px 12px -6px rgba(4, 11, 36, .25); transition: transform .4s var(--ease-out); }
.seg-switch[data-at="1"] .ind { transform: translateX(100%); }
[dir="rtl"] .seg-switch[data-at="1"] .ind { transform: translateX(-100%); }
.pay-pane-x { padding: 26px; }
.pay-pane-x:not([hidden]) { animation: fadeUp .45s var(--ease-out); }
.cx-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.coin-pick { position: relative; }
.coin-pick summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border: 1px solid var(--line-2); border-radius: var(--r-1); cursor: pointer; background: var(--white); transition: border-color .2s; }
.coin-pick summary::-webkit-details-marker { display: none; }
.coin-pick summary:hover, .coin-pick[open] summary { border-color: var(--mist); }
.coin-pick .sym { display: block; font-weight: 600; line-height: 1.2; }
.coin-pick .tk { color: var(--mist); font-weight: 500; font-size: .86rem; }
.coin-pick .net { display: block; font-size: .78rem; color: var(--slate); }
.coin-pick .chg { display: inline-flex; align-items: center; gap: 4px; font-size: .82rem; font-weight: 600; color: var(--royal); margin-inline-start: 10px; }
.coin-pick .chg .i { transition: transform .3s var(--ease-out); }
.coin-pick[open] .chg .i { transform: rotate(180deg); }
.coin-menu { position: absolute; z-index: 30; top: calc(100% + 8px); inset-inline-start: 0; width: min(560px, calc(100vw - 32px)); background: var(--white); border-radius: var(--r-2); box-shadow: 0 24px 60px -20px rgba(4, 11, 36, .45), 0 0 0 1px var(--line); padding: 8px; animation: fadeUp .3s var(--ease-out); }
.coin-menu .coin-list { border: 0; border-radius: var(--r-1); }
.cx-fields { display: grid; gap: 18px; align-content: start; }
.copy-field.big code { font-size: 1.2rem; font-weight: 640; font-stretch: var(--wdth-data); font-family: var(--sans); font-variant-numeric: tabular-nums; padding: 12px 14px; color: var(--ink); }
.copy-field.big code .faint { font-weight: 500; font-size: .9rem; }
.copy-field.is-wrap code { white-space: normal; overflow-wrap: anywhere; }
.net-note { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: #7a4b00; background: var(--warn-bg, #fff6e5); border-radius: var(--r-1); padding: 10px 12px; margin: 0; }
.net-note .i { flex: none; margin-top: 2px; }
.wallet-btn { justify-self: start; }
.pay-steps.h { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.pay-steps.h li { flex-direction: column; gap: 10px; padding-bottom: 0; }
.pay-steps.h li::before { top: 11px; bottom: auto; inset-inline-start: 30px; inset-inline-end: -8px; width: auto; height: 1px; }
.pay-steps.h li:last-child::before { display: none; }
.tx-add { margin-top: 20px; font-size: .86rem; }
.tx-add summary { cursor: pointer; color: var(--royal); font-weight: 500; width: max-content; max-width: 100%; }
.state-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--warn-bg, #fff6e5); color: var(--warn); display: inline-flex; align-items: center; justify-content: center; }
.pay-member .pcard { width: 100%; }
.state-ico.is-info { background: var(--royal-soft); color: var(--royal); }

/* hosted card processors (AllPays.co, PayGate.to): pay in a new tab, this page waits */
.gw { position: relative; }
.gw-ready, .gw-wait { animation: fadeUp .5s var(--ease-out); }
.gw[data-state="ready"] .gw-wait, .gw:not([data-state="ready"]) .gw-ready { display: none; }
.gw-lead { display: flex; gap: 16px; align-items: flex-start; }
.gw-lead p { margin: 6px 0 0; max-width: 56ch; }
.gw-ico { flex: none; width: 46px; height: 46px; border-radius: var(--r-2); background: linear-gradient(150deg, var(--midnight), var(--navy)); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -14px rgba(6, 18, 58, .9); }
.gw-t { font-size: 1.08rem; font-weight: 600; letter-spacing: -.005em; margin: 0; }
.gw-marks { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 22px 0 0; margin-inline-start: 62px; }
.gw-marks > * { animation: gwIn .5s var(--ease-out) both; }
.gw-marks > :nth-child(2) { animation-delay: .05s; } .gw-marks > :nth-child(3) { animation-delay: .1s; } .gw-marks > :nth-child(4) { animation-delay: .15s; } .gw-marks > :nth-child(5) { animation-delay: .2s; }
.wallet-mark { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; font-size: .76rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); background: var(--white); }
@keyframes gwIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.gw-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; max-width: 40ch; }
.gw-note .i { flex: none; margin-top: 3px; }
.gw-ch { display: block; color: var(--ink); font-weight: 600; margin-top: 4px; }
.gw-wait { text-align: center; padding: 8px 0 0; outline: 0; scroll-margin-top: calc(var(--header-h) + 24px); }
.gw-wait > p { max-width: 50ch; margin: 10px auto 22px; }
.gw-pulse { position: relative; width: 84px; height: 84px; margin: 4px auto 18px; }
.gw-pulse > span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--royal); opacity: 0; animation: gwRing 2.6s var(--ease-out) infinite; }
.gw-pulse > span:nth-child(2) { animation-delay: 1.3s; }
.gw-pulse .core { opacity: 1; inset: 14px; border: 0; background: var(--royal); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -12px rgba(20, 82, 230, .7); animation: gwFloat 3.2s var(--ease-in-out) infinite; }
.gw[data-state="done"] .gw-pulse .core { background: var(--ok); animation: pop .4s var(--ease-out); }
.gw[data-state="done"] .gw-pulse > span:not(.core) { animation: none; }
@keyframes gwRing { 0% { transform: scale(.7); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes gwFloat { 50% { transform: translateY(-3px); } }
.gw-steps { text-align: start; }
.perk-list { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.perk-list li { display: flex; gap: 10px; align-items: center; }
.perk-list .i { color: var(--royal); flex: none; }
.staff-card { border-style: dashed; }
.share-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.share-note .i { flex: none; margin-top: 3px; }
.timer { display: flex; align-items: center; gap: 12px; }
.timer svg { width: 44px; height: 44px; transform: rotate(-90deg); }
.timer .track { fill: none; stroke: var(--line); stroke-width: 3; }
.timer .bar { fill: none; stroke: var(--royal); stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.timer.is-low .bar { stroke: var(--warn); }
.qr-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.qr-box { position: relative; width: 100%; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--r-2); background: #fff; padding: 12px; overflow: hidden; }
.qr-box svg { width: 100%; height: 100%; display: block; }
.qr-box .scan { position: absolute; left: 12px; right: 12px; height: 40px; top: 12px; background: linear-gradient(180deg, rgba(20, 82, 230, 0), rgba(20, 82, 230, .12) 80%, rgba(20, 82, 230, .45)); border-bottom: 1px solid rgba(20, 82, 230, .7); animation: scan 2.8s var(--ease-in-out) infinite alternate; pointer-events: none; }
@keyframes scan { to { top: calc(100% - 52px); } }
.qr-logo { position: absolute; top: 50%; left: 50%; width: 24%; aspect-ratio: 1; transform: translate(-50%, -50%); background: #fff; border-radius: 6px; display: flex; align-items: center; justify-content: center; padding: 5px; }
.qr-logo img { width: 100%; height: auto; }
.qr-box.is-blur svg, .qr-box.is-blur .qr-logo { filter: blur(6px); opacity: .4; }
.qr-box.is-blur .scan { display: none; }
.qr-over { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 20px; }
.qr-box.is-blur .qr-over { display: flex; }
.qr-mode { display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; border: 1px solid var(--line); border-radius: var(--r-1); overflow: hidden; }
.qr-mode button { border: 0; background: var(--white); padding: 8px; font-size: .8rem; font-weight: 500; color: var(--slate); }
.qr-mode button[aria-pressed="true"] { background: var(--midnight); color: #fff; }
.copy-field { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: var(--r-1); overflow: hidden; background: var(--paper); }
.copy-field code { flex: 1; min-width: 0; padding: 11px 12px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .84rem; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.copy-btn { border: 0; border-inline-start: 1px solid var(--line-2); background: var(--white); padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--royal); white-space: nowrap; transition: background-color .2s; }
.copy-btn:hover { background: var(--royal-soft); }
.copy-btn.is-done { color: var(--ok); }
.kv-label { font-size: .8rem; font-weight: 500; color: var(--slate); margin-bottom: 6px; }
.pay-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.pay-steps li { display: flex; gap: 14px; position: relative; padding-bottom: 18px; color: var(--mist); }
.pay-steps li:last-child { padding-bottom: 0; }
.pay-steps li::before { content: ""; position: absolute; top: 24px; bottom: 0; inset-inline-start: 11px; width: 1px; background: var(--line); }
.pay-steps li:last-child::before { display: none; }
.pay-steps .dotc { width: 23px; height: 23px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); display: inline-flex; align-items: center; justify-content: center; flex: none; color: transparent; position: relative; z-index: 1; }
.pay-steps .dotc .i { width: 13px; height: 13px; }
.pay-steps .t { font-weight: 600; font-size: .9rem; line-height: 1.3; }
.pay-steps .s { font-size: .8rem; }
.pay-steps li.is-now { color: var(--ink); }
.pay-steps li.is-now .dotc { border-color: var(--royal); box-shadow: 0 0 0 4px var(--royal-soft); }
.pay-steps li.is-now .dotc::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--royal); animation: blink 1.4s infinite; position: absolute; }
.pay-steps li.is-done { color: var(--ink); }
.pay-steps li.is-done .dotc { background: var(--ok); border-color: var(--ok); color: #fff; }
.method-switch { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .86rem; color: var(--slate); }
.paid-state { text-align: center; padding: 48px 28px; }
.check-anim { width: 88px; height: 88px; margin: 0 auto 18px; display: block; }
.check-anim circle { fill: none; stroke: var(--ok); stroke-width: 2; stroke-dasharray: 252; stroke-dashoffset: 252; animation: draw .9s var(--ease-out) forwards; }
.check-anim path { fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s .6s var(--ease-out) forwards; }

/* ---------- E-ticket ---------- */
.ticket {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 210px; background: var(--white); border-radius: 12px;
  box-shadow: 0 30px 70px -36px rgba(4, 11, 36, .55), 0 0 0 1px rgba(10, 20, 51, .06); overflow: hidden; isolation: isolate;
}
.ticket + .ticket { margin-top: 16px; }
.ticket .notch { position: absolute; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); inset-inline-end: 198px; z-index: 4; }
.ticket .notch.t { top: -12px; } .ticket .notch.b { bottom: -12px; }
.ticket::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 46%, rgba(46, 197, 255, .12) 52%, transparent 66%); transform: translateX(-130%); }
.ticket.is-in::after { animation: sheen 2.2s .9s var(--ease-in-out); }
.ticket-main { padding: 22px 26px 24px; position: relative; min-width: 0; }
.ticket-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ticket-head .brandline { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; }
.ticket-head .brandline img { width: 46px; height: auto; }
.ticket-head .lbl { font-size: .74rem; font-weight: 600; color: var(--slate); }
.ticket-route { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 20px 0 16px; }
.ticket-route .iata { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.9rem); font-weight: 680; font-stretch: var(--wdth-data); letter-spacing: 0; line-height: 1; }
.ticket-route .city { font-size: .84rem; color: var(--slate); margin-top: 4px; }
.ticket-route .tm { font-size: 1rem; font-weight: 600; font-stretch: var(--wdth-data); margin-top: 6px; font-variant-numeric: tabular-nums; }
.ticket-route .end { text-align: end; }
.ticket-arc { position: relative; height: 54px; min-width: 60px; }
.ticket-arc svg { width: 100%; height: 100%; overflow: visible; display: block; }
.ticket-arc .p { fill: none; stroke: var(--line-2); stroke-width: 1.2; stroke-dasharray: 3 5; }
.ticket-arc .f { fill: none; stroke: var(--royal); stroke-width: 1.6; stroke-linecap: round; }
.ticket-arc .plane { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; color: var(--royal); transition: none; opacity: 0; }
.ticket-arc.is-ready .plane { opacity: 1; }
.ticket-arc .plane svg { width: 100%; height: 100%; display: block; fill: currentColor; stroke: none; }
.ticket-arc .dur { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); font-size: .74rem; color: var(--slate); white-space: nowrap; background: var(--white); padding: 0 6px; }
.ticket-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.ticket-grid .k { font-size: .7rem; font-weight: 600; letter-spacing: .06em; color: var(--mist); }
.ticket-grid .v { font-weight: 600; font-size: .95rem; margin-top: 2px; line-height: 1.3; overflow-wrap: anywhere; }
.ticket-stub { background: var(--midnight); color: #fff; padding: 22px 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; position: relative; overflow: hidden; }
.ticket-stub::before { content: ""; position: absolute; inset-block: 14px; inset-inline-start: 0; border-inline-start: 2px dashed rgba(255, 255, 255, .22); }
.ticket-stub .mark-bg { position: absolute; width: 220px; inset-inline-end: -70px; bottom: -40px; opacity: .1; }
.ticket-stub .k { font-size: .7rem; font-weight: 600; letter-spacing: .06em; color: rgba(255, 255, 255, .55); }
.ticket-stub .pnr { font-size: 1.7rem; font-weight: 680; font-stretch: var(--wdth-data); letter-spacing: .08em; line-height: 1.1; }
.ticket-stub .qr { background: #fff; border-radius: 6px; padding: 6px; width: 104px; position: relative; z-index: 1; }
.ticket-stub .qr svg { display: block; width: 100%; height: auto; }
.ticket-print { animation: printOut 1.6s var(--ease-out) both; }
.ticket-print:nth-child(2) { animation-delay: .25s; } .ticket-print:nth-child(3) { animation-delay: .5s; }
@keyframes printOut { 0% { clip-path: inset(0 0 100% 0); transform: translateY(-28px); opacity: .6; } 100% { clip-path: inset(-40px -40px -80px -40px); transform: none; opacity: 1; } }
.printer { height: 12px; margin: 0 -8px -6px; border-radius: 6px; background: linear-gradient(180deg, #050a1c, #13296b); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .6), 0 10px 20px -10px rgba(4, 11, 36, .6); position: relative; z-index: 6; }
.confirm-band { display: flex; align-items: center; gap: 18px; padding: 18px 22px; background: var(--ok-bg); color: #0b5c40; border-radius: var(--r-2); margin-bottom: 18px; }
.confirm-band .check-anim { width: 44px; height: 44px; margin: 0; flex: none; }

/* Trip page */
.trip-hero { position: relative; color: #fff; background: var(--night); padding: calc(var(--header-h) + 48px) 0 140px; overflow: hidden; }
.trip-hero .bg { position: absolute; inset: 0; }
.trip-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; transform: scale(1.06); animation: slowZoom 18s var(--ease-out) forwards; }
@keyframes slowZoom { to { transform: scale(1); } }
.trip-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 11, 36, .65), rgba(4, 11, 36, .35) 40%, rgba(4, 11, 36, .95)); }
.trip-hero .wrap { position: relative; }
.trip-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.trip-route { font-family: var(--display); font-stretch: var(--wdth-display); font-weight: var(--w-display); letter-spacing: -.04em; font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4rem); line-height: 1; display: flex; align-items: center; gap: .3em; flex-wrap: wrap; }
.trip-route .i { width: .45em; height: .45em; opacity: .7; }
.pnr-box { text-align: end; }
.pnr-box .k { display: block; font-size: .8rem; opacity: .7; }
.pnr-box .v { display: block; font-size: 2rem; font-weight: 680; font-stretch: var(--wdth-data); letter-spacing: .08em; line-height: 1.1; }
.trip-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.trip-body { margin-top: -96px; position: relative; z-index: 2; }
.seg-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; }
.seg-card + .seg-card { margin-top: 10px; }
.seg-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; font-size: .9rem; }
.seg-body { display: grid; grid-template-columns: 1fr minmax(100px, 1.2fr) 1fr; gap: 18px; align-items: center; padding: 20px 22px; }
.seg-end .iata { font-size: 1.75rem; font-weight: 680; font-stretch: var(--wdth-data); letter-spacing: 0; line-height: 1; }
.seg-end .t { font-size: 1.05rem; font-weight: 560; font-stretch: var(--wdth-data); margin-top: 6px; font-variant-numeric: tabular-nums; }
.seg-end .c { font-size: .82rem; color: var(--slate); }
.seg-end.r { text-align: end; }
.seg-mid { text-align: center; font-size: .8rem; color: var(--slate); }
.seg-mid .bar { height: 2px; background: var(--line); margin: 8px 0; position: relative; border-radius: 2px; overflow: hidden; }
.seg-mid .bar span { position: absolute; inset-block: 0; inset-inline-start: 0; background: var(--royal); }
.seg-foot { display: flex; gap: 22px; padding: 12px 22px; background: var(--paper); border-top: 1px solid var(--line); font-size: .84rem; color: var(--slate); flex-wrap: wrap; }
.seg-foot b { color: var(--ink); font-weight: 600; }
.layover { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--slate); padding: 10px 22px; margin: 8px 0; border: 1px dashed var(--line-2); border-radius: var(--r-1); background: var(--white); }
.pax-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.pax-table th { text-align: start; font-weight: 500; font-size: .78rem; color: var(--slate); padding: 0 8px 10px 0; border-bottom: 1px solid var(--line); }
.pax-table td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.pax-table tr:last-child td { border-bottom: 0; }
.qr-mini svg { width: 100%; height: auto; display: block; }

/* Boarding pass */
.ci-body { padding: 8px 22px 12px; }
.ci-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.ci-row:first-child { border-top: 0; }
.ci-row .nm { display: flex; flex-direction: column; line-height: 1.35; }
.ci-row > .link { margin-inline-start: auto; }
.ci-done { width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ci-done .i { width: 13px; height: 13px; }
.doc-row { padding: 14px 0; border-top: 1px solid var(--line); }
.bp-minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.bp-mini { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--navy-2) 0%, var(--midnight) 60%, var(--night) 100%); position: relative; overflow: hidden; animation: fadeUp .6s var(--d, 0ms) var(--ease-out) both; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.bp-mini:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 24px 40px -24px rgba(4, 11, 36, .7); }
.bp-mini .top { display: flex; align-items: center; gap: 10px; font-size: .8rem; }
.bp-mini .top img { width: 34px; }
.bp-mini .fn { opacity: .75; }
.bp-mini .pri { margin-inline-start: auto; font-size: .66rem; font-weight: 600; letter-spacing: .08em; color: var(--midnight); background: linear-gradient(135deg, #f1dca8, #c9a961); padding: 3px 7px; border-radius: 2px; }
.bp-mini .rt { display: flex; align-items: center; gap: 10px; font-size: 1.55rem; font-weight: 680; font-stretch: var(--wdth-data); letter-spacing: 0; }
.bp-mini .rt b { font-weight: 600; }
.bp-mini .rt .i { color: var(--aero); }
.bp-mini .meta { display: flex; flex-direction: column; font-size: .82rem; opacity: .85; }
.bp-mini .open { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--aero); }
.bp-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; perspective: 1400px; }
.bp { width: min(420px, 100%); background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(4, 11, 36, .6), 0 0 0 1px rgba(10, 20, 51, .06); position: relative; animation: bpIn 1.1s var(--ease-out) both; }
@keyframes bpIn { from { opacity: 0; transform: translateY(40px) rotateX(16deg); } }
.bp::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 46%, rgba(46, 197, 255, .12) 52%, transparent 66%); transform: translateX(-130%); animation: sheen 2.4s 1s var(--ease-in-out); }
.bp-top { background: linear-gradient(135deg, var(--navy-2) 0%, var(--midnight) 60%, var(--night) 100%); color: #fff; padding: 20px 22px 24px; position: relative; overflow: hidden; }
.bp-top .mark-bg { position: absolute; width: 260px; inset-inline-end: -80px; top: -40px; opacity: .1; }
.bp-top .brandline { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.bp-top .brandline img { width: 46px; }
.bp-route { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 12px; }
.bp-route .iata { font-size: 2.6rem; font-weight: 680; font-stretch: var(--wdth-data); letter-spacing: 0; line-height: 1; }
.bp-route .c { font-size: .82rem; opacity: .7; margin-top: 4px; }
.bp-route .mid { flex: 1; position: relative; height: 2px; }
.bp-route .mid::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .4) 0 4px, transparent 4px 9px); }
.bp-route .mid .i { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); color: var(--aero); animation: bpFly 3.4s var(--ease-in-out) infinite; }
[dir="rtl"] .bp-route .mid .i { animation-name: bpFlyRtl; }
@keyframes bpFly { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes bpFlyRtl { 0% { left: 100%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 0; opacity: 0; } }
.bp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 14px; padding: 20px 22px; }
.bp-grid .k { font-size: .7rem; font-weight: 600; letter-spacing: .06em; color: var(--mist); }
.bp-grid .v { font-size: 1.05rem; font-weight: 600; margin-top: 2px; }
.bp-grid .v.big { font-size: 1.5rem; }
.bp-tear { position: relative; height: 24px; }
.bp-tear::before, .bp-tear::after { content: ""; position: absolute; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); }
.bp-tear::before { left: -12px; } .bp-tear::after { right: -12px; }
.bp-tear span { position: absolute; left: 18px; right: 18px; top: 50%; border-top: 2px dashed var(--line); }
.bp-qr { padding: 6px 22px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bp-qr .qr { width: 200px; position: relative; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; }
.bp-qr .qr svg { width: 100%; height: auto; display: block; }
.bp-qr .qr .scan { position: absolute; left: 8px; right: 8px; top: 8px; height: 30px; background: linear-gradient(180deg, rgba(20, 82, 230, 0), rgba(20, 82, 230, .18)); border-bottom: 1px solid rgba(20, 82, 230, .6); animation: scan 2.6s var(--ease-in-out) infinite alternate; }
.bp-priority { position: absolute; top: 16px; inset-inline-end: 16px; z-index: 2; font-size: .72rem; font-weight: 600; letter-spacing: .08em; color: var(--midnight); background: linear-gradient(135deg, #f1dca8, #c9a961); padding: 4px 8px; border-radius: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .7); padding: clamp(56px, 7vw, 96px) 0 28px; font-size: .92rem; position: relative; overflow: hidden; }
.foot-word { font-family: var(--display); font-stretch: 125%; font-weight: 640; font-size: clamp(2.4rem, .6rem + 7.4vw, 8.6rem); line-height: .9; color: rgba(255, 255, 255, .06); white-space: nowrap; margin: 0 0 clamp(36px, 5vw, 64px); letter-spacing: -.02em; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.foot-brand .brand { color: #fff; margin-bottom: 18px; }
.foot-brand .brand-mark .on-light { opacity: 0; }
.foot-brand .brand-mark .on-dark { opacity: 1; }
.foot-brand p { max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: .9rem; font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, .7); }
.site-footer a:hover { color: #fff; }
.foot-pay { display: flex; gap: 14px; align-items: center; margin-top: 20px; flex-wrap: wrap; }
.foot-pay .card-mark { background: rgba(255, 255, 255, .95); border: 0; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: rgba(255, 255, 255, .5); }
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-bottom button { background: none; border: 0; padding: 0; color: rgba(255, 255, 255, .7); display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Dialog sheet (locale) ---------- */
dialog.sheet { border: 0; padding: 0; border-radius: var(--r-2); width: min(720px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--white); color: var(--ink); box-shadow: var(--shadow-3); }
dialog.sheet[open] { animation: modalIn .5s var(--ease-out); }
dialog.sheet::backdrop { background: rgba(4, 11, 36, .55); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--white); z-index: 1; }
.sheet-body { padding: 22px 24px 26px; }
.lang-grid, .cur-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.lang-grid a, .cur-grid a { display: flex; flex-direction: column; padding: 10px 12px; border-radius: var(--r-1); border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, background-color .2s; }
.lang-grid a:hover, .cur-grid a:hover { border-color: var(--line-2); background: var(--paper); color: var(--ink); }
.lang-grid a[aria-current], .cur-grid a[aria-current] { border-color: var(--royal); box-shadow: 0 0 0 1px var(--royal); }
.lang-grid small, .cur-grid span { font-size: .76rem; color: var(--slate); }

/* ---------- Page heroes ---------- */
.page-hero { position: relative; color: #fff; background: var(--night); overflow: hidden; padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(56px, 7vw, 96px); }
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.06); animation: slowZoom 16s var(--ease-out) forwards; }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(4, 11, 36, .95) 0%, rgba(4, 11, 36, .6) 55%, rgba(4, 11, 36, .25) 100%); }
.page-hero .wrap { position: relative; }
.page-hero .lede { color: rgba(255, 255, 255, .8); margin-top: 18px; }
.page-hero.slim { padding: calc(var(--header-h) + 44px) 0 48px; }
.page-hero .h1 { max-width: 18ch; }
.page-hero .anim > * { animation: fadeUp 1s var(--ease-out) both; }
.page-hero .anim > *:nth-child(2) { animation-delay: .12s; } .page-hero .anim > *:nth-child(3) { animation-delay: .24s; }

/* ---------- Club ---------- */
.club-grid { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 14px; }
.club-tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); padding: 18px; display: flex; flex-direction: column; gap: 18px; transition: border-color .3s, box-shadow .4s var(--ease); }
.club-tile:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.club-tile.is-current { border-color: var(--royal); box-shadow: 0 0 0 1px var(--royal); }
.club-tile .pcard { width: 100%; }
.club-tile h3 { font-family: var(--display); font-stretch: var(--wdth-display); font-weight: 600; letter-spacing: -.025em; font-size: 1.5rem; line-height: 1; }
.club-tile .tl { font-size: .9rem; color: var(--slate); margin: 8px 0 0; min-height: 2.8em; }
.club-tile .price { font-size: 1.4rem; font-weight: 640; font-stretch: var(--wdth-data); font-variant-numeric: lining-nums proportional-nums; }
.club-tile .price small { font-size: .78rem; font-weight: 500; color: var(--slate); }
.club-tile .earn { font-size: .8rem; color: var(--slate); }
.club-tile ul { list-style: none; padding: 16px 0 0; margin: 0; display: grid; gap: 9px; font-size: .88rem; border-top: 1px solid var(--line); }
.club-tile li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.club-tile li .i-sm { color: var(--royal); margin-top: 2px; }
.club-tile .btn { margin-top: auto; }
.club-hero { background: radial-gradient(90% 120% at 80% 30%, #1d3a8a 0%, var(--midnight) 50%, var(--night) 100%); padding-bottom: clamp(48px, 6vw, 80px); }
.club-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.club-hero .card-fan .pcard:only-child { width: clamp(260px, 28vw, 380px); }
.member-band { border-bottom: 1px solid var(--line); }
.member-row { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: center; }
.member-row > div { display: flex; flex-direction: column; gap: 2px; min-width: 160px; }
.member-row .k { font-size: .78rem; color: var(--slate); font-weight: 500; }
.member-row .v { font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.member-row .s { font-size: .82rem; color: var(--slate); }
.tier-progress { height: 4px; background: var(--cloud); border-radius: 4px; overflow: hidden; }
.tier-progress span { display: block; height: 100%; background: var(--royal); border-radius: 4px; width: 0; transition: width 1.6s var(--ease-out); }
.tier-progress.is-in span { width: var(--w); }

/* ---------- Support ---------- */
.help-launch { position: fixed; z-index: 95; inset-inline-end: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 26px; border: 0; background: var(--midnight); color: #fff; font-weight: 600; font-size: .92rem; box-shadow: 0 18px 40px -16px rgba(4, 11, 36, .7), 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .4s var(--ease-out), background-color .2s, opacity .3s, bottom .5s var(--ease-out); }
.help-launch:hover { background: var(--navy); transform: translateY(-2px); }
.help-launch .dot-on { position: absolute; top: 10px; inset-inline-start: 34px; width: 9px; height: 9px; border-radius: 50%; background: #33d17a; box-shadow: 0 0 0 2px var(--midnight); }
.help-launch .badge-n { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--royal); color: #fff; font-size: .72rem; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.help-launch.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }
.help-launch.is-tucked { opacity: 0; pointer-events: none; transform: translateY(24px) scale(.9); visibility: hidden; transition: transform .4s var(--ease-out), opacity .3s, visibility 0s .4s; }
body.has-tripbar .help-launch { bottom: 98px; }
.help-panel { position: fixed; z-index: 130; inset-inline-end: 20px; bottom: 20px; width: min(400px, calc(100vw - 24px)); height: min(660px, calc(100dvh - 40px)); background: var(--white); border-radius: var(--r-3); box-shadow: 0 40px 90px -30px rgba(4, 11, 36, .65), 0 0 0 1px rgba(10, 20, 51, .06); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; transform: translateY(16px) scale(.96); opacity: 0; pointer-events: none; visibility: hidden; transition: transform .45s var(--ease-out), opacity .3s, visibility 0s .45s; }
[dir="rtl"] .help-panel { transform-origin: bottom left; }
.help-panel.is-open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; transition: transform .45s var(--ease-out), opacity .3s; }
.hp-head { background: var(--midnight); color: #fff; padding: 16px 18px 20px; position: relative; overflow: hidden; flex: none; }
.hp-head .mark-bg { position: absolute; width: 200px; inset-inline-end: -60px; top: -30px; opacity: .08; }
.hp-head .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; position: relative; }
.hp-head .who { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.hp-head .who img { width: 40px; }
.hp-head .close { width: 34px; height: 34px; border-radius: var(--r-1); border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.hp-head .close:hover { background: rgba(255, 255, 255, .2); }
.hp-head .greet { font-family: var(--display); font-stretch: var(--wdth-display); font-weight: 580; letter-spacing: -.025em; font-size: 1.3rem; line-height: 1.12; margin: 16px 0 8px; position: relative; }
.hp-head .avail { font-size: .8rem; color: rgba(255, 255, 255, .7); display: flex; align-items: center; gap: 6px; position: relative; }
.hp-head .avail i { width: 7px; height: 7px; border-radius: 50%; background: #33d17a; display: inline-block; }
.hp-body { flex: 1; overflow: auto; padding: 16px; background: var(--paper); overscroll-behavior: contain; }
.hp-view[hidden] { display: none; }
.hp-view { animation: fadeUp .35s var(--ease-out); }
.hp-search { position: relative; margin-bottom: 12px; }
.hp-search input { width: 100%; height: 44px; border: 1px solid var(--line-2); border-radius: var(--r-1); padding: 0 12px 0 38px; background: var(--white); }
[dir="rtl"] .hp-search input { padding: 0 38px 0 12px; }
.hp-search input:focus { outline: 0; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(20, 82, 230, .14); }
.hp-search .i-sm { position: absolute; inset-inline-start: 13px; top: 50%; transform: translateY(-50%); color: var(--mist); }
.hp-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); margin-bottom: 10px; overflow: hidden; }
.hp-card h4 { font-size: .78rem; font-weight: 600; color: var(--slate); padding: 12px 14px 4px; }
.hp-links a, .hp-links button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 14px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); font-size: .9rem; text-align: start; transition: background-color .15s; }
.hp-links > :first-child { border-top: 0; }
.hp-links a:hover, .hp-links button:hover { background: var(--paper); color: var(--ink); }
.hp-links .i-sm { color: var(--royal); }
.hp-links .go { margin-inline-start: auto; color: var(--mist); }
.hp-links .cta { font-weight: 600; }
.hp-faq details { border-top: 1px solid var(--line); }
.hp-faq details:first-of-type { border-top: 0; }
.hp-faq summary { padding: 11px 14px; font-size: .9rem; font-weight: 500; cursor: pointer; list-style: none; display: flex; gap: 10px; justify-content: space-between; }
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary .i-sm { transition: transform .3s; color: var(--mist); flex: none; margin-top: 3px; }
.hp-faq details[open] summary .i-sm { transform: rotate(180deg); }
.hp-faq details p { padding: 0 14px 12px; margin: 0; font-size: .86rem; color: var(--slate); }
.hp-faq .none { padding: 12px 14px; font-size: .86rem; color: var(--slate); margin: 0; }
.hp-form { display: grid; gap: 10px; }
.hp-form .fld input, .hp-form .fld select, .hp-form .fld textarea { min-height: 44px; padding: 9px 12px; font-size: .92rem; }
.hp-form .fld textarea { min-height: 110px; }
.hp-form .fld label { font-size: .78rem; margin-bottom: 4px; }
.hp-form .err-box { font-size: .84rem; color: var(--bad); }
.hp-thread { display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 10px; font-size: .9rem; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; animation: msgIn .4s var(--ease-out); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg.me { align-self: flex-end; background: var(--royal); color: #fff; border-end-end-radius: 3px; }
.msg.them { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-end-start-radius: 3px; }
.msg .meta { display: block; font-size: .7rem; opacity: .7; margin-top: 4px; white-space: normal; }
.msg.sys { align-self: center; background: none; color: var(--slate); font-size: .78rem; text-align: center; max-width: 100%; }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mist); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 30% { transform: translateY(-4px); background: var(--royal); } }
.hp-foot { flex: none; border-top: 1px solid var(--line); padding: 10px; background: var(--white); display: flex; gap: 8px; align-items: flex-end; }
.hp-foot[hidden] { display: none; }
.hp-foot textarea { flex: 1; min-height: 44px; max-height: 120px; resize: none; border: 1px solid var(--line-2); border-radius: var(--r-1); padding: 10px 12px; line-height: 1.4; }
.hp-foot textarea:focus { outline: 0; border-color: var(--royal); }
.hp-foot .btn { min-height: 44px; padding: 0 14px; }
.hp-back { border: 0; background: none; color: var(--royal); font-weight: 600; font-size: .86rem; display: inline-flex; align-items: center; gap: 6px; padding: 0; margin-bottom: 12px; }

.help-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.help-cat { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); color: var(--ink); transition: border-color .2s, box-shadow .3s; }
.help-cat:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); color: var(--ink); }
.help-cat .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--royal-soft); color: var(--royal); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.help-cat .t { font-weight: 600; display: block; }
.help-cat .s { font-size: .8rem; color: var(--slate); display: block; }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group h2 { font-family: var(--display); font-stretch: var(--wdth-display); font-weight: 600; letter-spacing: -.028em; font-size: 1.6rem; margin-bottom: 12px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 22px; height: 22px; flex: none; position: relative; margin-top: 1px; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; top: 50%; left: 4px; right: 4px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease-out); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .ans { padding: 0 0 20px; color: var(--slate); max-width: 70ch; animation: fadeUp .4s var(--ease-out); }
.help-hero { background: radial-gradient(120% 140% at 85% 0%, #1b3a8f 0%, var(--midnight) 45%, var(--night) 100%); }
.help-search { display: flex; align-items: center; gap: 10px; margin-top: 28px; max-width: 640px; background: var(--white); border-radius: var(--r-2); padding: 6px 6px 6px 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.help-search > .i { color: var(--slate); flex: none; }
.help-search input { flex: 1; min-width: 0; border: 0; height: 48px; font-size: 1.02rem; color: var(--ink); background: none; }
.help-search input:focus { outline: 0; }
.help-search .btn { flex: none; }
.help-quick { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; }
.help-quick a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .82); font-size: .9rem; font-weight: 500; transition: color .2s; }
.help-quick a:hover { color: #fff; }
.help-quick .i-sm { color: var(--aero); }
.req-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.req { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); transition: background-color .2s; }
.req:hover { background: var(--paper); color: var(--ink); }
.req .ref { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--slate); flex: none; }
.req .sub { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.new-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--royal); flex: none; box-shadow: 0 0 0 4px var(--royal-soft); }
.empty-note { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px dashed var(--line-2); border-radius: var(--r-2); margin: 16px 0 8px; }
.empty-note > .i { color: var(--mist); flex: none; margin-top: 2px; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 80px); align-items: start; margin-top: clamp(36px, 5vw, 64px); }
.faq-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.thread-title { max-width: 32ch; }
.faq-group { scroll-margin-top: calc(var(--header-h) + 20px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-ways { display: grid; border-top: 1px solid var(--line); }
.contact-ways .way { display: flex; gap: 16px; align-items: flex-start; padding: 20px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: start; font: inherit; color: var(--ink); width: 100%; transition: background-color .2s; }
.contact-ways a.way:hover, .contact-ways button.way:hover { background: var(--white); color: var(--ink); cursor: pointer; }
.contact-ways .way > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.contact-ways .way > .i { color: var(--royal); margin-top: 2px; flex: none; }
.thread { display: flex; flex-direction: column; gap: 12px; }
.thread .msg { max-width: 80%; }
.thread-card { padding: 0; overflow: hidden; }
.thread-card .thread { padding: 24px; background: var(--paper); min-height: 220px; }
.thread .msg.them { background: var(--white); }
.reply-box { padding: 18px 24px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.reply-box textarea { width: 100%; resize: vertical; min-height: 90px; border: 1px solid var(--line-2); border-radius: var(--r-1); padding: 12px 14px; font: inherit; }
.reply-box textarea:focus { outline: 0; border-color: var(--royal); box-shadow: 0 0 0 3px var(--royal-soft); }
.trip-link { display: flex; flex-direction: column; gap: 4px; color: var(--ink); transition: border-color .2s; }
.trip-link:hover { color: var(--ink); border-color: var(--line-2); }
.trip-link .code { font-size: 1.3rem; letter-spacing: .08em; }

/* ---------- Misc pages ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--display); font-stretch: var(--wdth-display); font-weight: 600; letter-spacing: -.028em; font-size: 1.5rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1.1rem; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--slate); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 28px 24px; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat .v { font-family: var(--display); font-stretch: var(--wdth-data); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: lining-nums proportional-nums; font-size: clamp(2.1rem, 1.7rem + 1.6vw, 3.3rem); line-height: 1; }
.stat .k { font-size: .9rem; color: var(--slate); margin-top: 8px; }
.section-dark .stat-row, .section-night .stat-row, .section-dark .stat, .section-night .stat { border-color: rgba(255, 255, 255, .14); }
.section-dark .stat .k, .section-night .stat .k { color: rgba(255, 255, 255, .6); }
.auth-shell { min-height: calc(100dvh - var(--header-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-media { position: relative; background: var(--night); overflow: hidden; }
.auth-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; animation: slowZoom 16s var(--ease-out) forwards; transform: scale(1.06); }
.auth-media .over { position: absolute; inset: auto 0 0 0; padding: clamp(28px, 4vw, 48px); color: #fff; background: linear-gradient(to top, rgba(4, 11, 36, .92), transparent); }
.auth-media .over .h2 { max-width: 17ch; }
.auth-media .over .mk { position: static; width: 64px; height: auto; opacity: 1; animation: none; transform: none; margin-bottom: 22px; display: block; }
.auth-form .btn-block { width: 100%; }
.auth-form .inner { animation: fadeUp .7s var(--ease-out) both; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 48px var(--gutter); }
.auth-form > div { width: 100%; max-width: 420px; }
.tabs-line { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.tabs-line::-webkit-scrollbar { display: none; }
.tabs-line > a { position: relative; padding: 12px 14px; color: var(--slate); font-weight: 500; font-size: .92rem; white-space: nowrap; transition: color .2s; }
.tabs-line > a:hover { color: var(--ink); }
.tabs-line > a[aria-current="page"] { color: var(--ink); }
.tabs-line > a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--royal); }
.tabs-line form button { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; }
.acct-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.trip-row .thumb { width: 120px; height: 84px; border-radius: var(--r-1); overflow: hidden; background: var(--navy); display: block; }
.trip-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.trip-row .r { font-weight: 600; }
.dest-card { padding: 14px; border-top: 1px solid var(--line); }
.trip-row .m { font-size: .84rem; color: var(--slate); }
.acct-nav { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.acct-nav a { padding: 12px 14px; color: var(--slate); font-weight: 500; font-size: .92rem; white-space: nowrap; position: relative; }
.acct-nav a:hover { color: var(--ink); }
.acct-nav a[aria-current="page"] { color: var(--ink); }
.acct-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--royal); }
.trip-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 18px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); padding: 12px; color: var(--ink); transition: border-color .2s, box-shadow .3s; }
.trip-row + .trip-row { margin-top: 10px; }
.trip-row:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); color: var(--ink); }
.trip-row .img { width: 120px; height: 84px; border-radius: var(--r-1); overflow: hidden; background: var(--navy); position: relative; }
.trip-row .img img { width: 100%; height: 100%; object-fit: cover; }
.fids-head { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 16px; }
.fids-head .seg-switch a { position: relative; z-index: 1; padding: 9px 18px; font-weight: 600; font-size: .9rem; color: var(--slate); display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.fids-head .seg-switch a[aria-current="page"] { color: var(--ink); }
.fids { position: relative; background: var(--night); color: #fff; border-radius: var(--r-2); overflow: hidden; box-shadow: var(--shadow-3); }
.fids-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-family: var(--display); font-stretch: var(--wdth-display); font-weight: 600; letter-spacing: -.025em; font-size: 1.3rem; line-height: 1.1; }
.fids-title > span:first-child { display: inline-flex; align-items: center; gap: 12px; }
.fids-title .i { color: var(--aero); width: 22px; height: 22px; }
.fids-title .clock { font-family: var(--sans); font-stretch: var(--wdth-data); font-variant-numeric: tabular-nums; font-size: 1.1rem; font-weight: 640; letter-spacing: .02em; color: var(--aero); }
/* ---------- Live flight tracker ---------- */
.status-hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-3); overflow: hidden; box-shadow: var(--shadow-2); min-height: 580px; }
.status-map { position: relative; min-height: 420px; background: #071640; isolation: isolate; overflow: hidden; }
.status-map .map { position: absolute; inset: 0; }
.status-map::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 400; background: linear-gradient(90deg, transparent 70%, rgba(4, 11, 36, .35)); }
[dir="rtl"] .status-map::after { background: linear-gradient(270deg, transparent 70%, rgba(4, 11, 36, .35)); }
.status-side { display: flex; flex-direction: column; gap: 22px; padding: clamp(20px, 2.4vw, 32px); min-width: 0; }
.status-big { font-family: var(--display); font-stretch: var(--wdth-display); font-weight: 600; font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.15rem); line-height: 1.08; letter-spacing: -.032em; }
.prog { position: relative; height: 4px; border-radius: 4px; background: var(--cloud); margin: 8px 12px; direction: ltr; }
[dir="rtl"] .prog { transform: scaleX(-1); }
.prog > [data-prog] { position: absolute; top: 0; bottom: 0; left: 0; border-radius: inherit; background: linear-gradient(90deg, var(--royal), var(--aero)); transition: width 1.2s var(--ease-out); }
.prog .pl { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; background: var(--white); color: var(--royal); box-shadow: 0 0 0 1px var(--line), var(--shadow-1); display: inline-flex; align-items: center; justify-content: center; transition: left 1.2s var(--ease-out); }
.prog .pl svg { width: 15px; height: 15px; }
.times { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.times > div:last-child { text-align: end; }
.times .k, .telemetry .k { font-size: .75rem; font-weight: 500; color: var(--slate); }
.times .v { font-size: clamp(1.6rem, 1.3rem + .8vw, 2rem); font-weight: 640; font-stretch: var(--wdth-data); font-variant-numeric: tabular-nums; letter-spacing: -.01em; line-height: 1.1; margin: 4px 0 2px; }
.times .was { font-size: .9rem; font-weight: 500; color: var(--mist); text-decoration: line-through; margin-inline-start: 8px; }
.telemetry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px 0; border-block: 1px solid var(--line); }
.telemetry .v { font-weight: 600; font-stretch: var(--wdth-data); font-variant-numeric: lining-nums proportional-nums; margin-top: 2px; white-space: nowrap; }
@media (max-width: 1024px) {
  .status-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .status-map { min-height: clamp(280px, 50svh, 460px); }
  .status-map::after { display: none; }
}
@media (max-width: 420px) {
  .status-side .row { flex-wrap: wrap !important; }
  .status-side .row .btn { width: 100%; justify-content: center; }
}

.status-board { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
.status-board th { text-align: start; font-size: .74rem; font-weight: 500; color: rgba(255, 255, 255, .5); padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.status-board th:first-child, .status-board td:first-child { padding-inline-start: 22px; }
.status-board td { padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); animation: fadeUp .5s calc(var(--i, 0) * 30ms) var(--ease-out) both; }
.status-board tbody tr:last-child td { border-bottom: 0; }
.status-board tbody tr { transition: background-color .2s; }
.status-board tbody tr:hover { background: rgba(255, 255, 255, .04); }
.status-board .tm strong { font-size: 1.05rem; font-stretch: var(--wdth-data); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.status-board .tm s { color: rgba(255, 255, 255, .4); font-size: .82rem; margin-inline-start: 6px; }
.status-board .fno a { color: #fff; font-weight: 640; font-stretch: var(--wdth-data); letter-spacing: .02em; }
.status-board .city span { color: rgba(255, 255, 255, .45); font-size: .82rem; margin-inline-start: 4px; }
.status-board .gate { font-weight: 640; font-stretch: var(--wdth-data); color: #ffd27a; letter-spacing: .02em; }
.status-board .go { text-align: end; padding-inline-end: 22px; }
.status-board .go a { color: rgba(255, 255, 255, .6); display: inline-flex; }
.status-board .go a:hover { color: var(--aero); }
.status-board .empty { padding: 28px 22px; color: rgba(255, 255, 255, .6); }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-ok { color: #6be3a8; } .st-info { color: var(--aero); } .st-warn { color: #ffc861; } .st-bad { color: #ff8a73; } .st-muted { color: rgba(255, 255, 255, .55); }
.st-info::before { animation: blink 1.6s infinite; }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: var(--r-1); background: var(--white); color: var(--ink); font-size: .84rem; font-weight: 500; cursor: pointer; transition: border-color .2s, background-color .2s; }
.chip-btn:hover { border-color: var(--mist); color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--midnight); border-color: var(--midnight); color: #fff; }
.tbl-scroll { overflow-x: auto; position: relative; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .no-print, .help-launch, .help-panel, .flash-stack, .toast, .trip-actions, .tripbar { display: none !important; }
  body { background: #fff; }
  .trip-hero { padding: 20px 0; background: #fff; color: #000; }
  .trip-hero .bg { display: none; }
  .trip-body { margin-top: 0; }
  .ticket, .bp, .card, .seg-card { box-shadow: none !important; break-inside: avoid; }
  .ticket-print { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav a { padding: 8px 9px; font-size: .88rem; }
  .fields { grid-template-columns: 1fr 1fr; }
  .fields .f-date { border-inline-start: 0; }
  .fields .f-date, .fields .f-pax { border-top: 1px solid var(--line); }
  .swap { top: 34px; left: 50%; }
  [dir="rtl"] .swap { left: auto; right: 50%; }
  .search-btn { grid-column: 1 / -1; border-radius: 0 0 2px 2px; margin: 0 -1px -1px; }
  [dir="rtl"] .search-btn { border-radius: 0 0 2px 2px; }
  .dest { grid-column: span 4; }
  .dest:nth-child(1), .dest:nth-child(6) { grid-column: span 8; }
  .dest-grid.is-filtered .dest { grid-column: span 4; }
  .club-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1060px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-aside { position: static; max-width: 520px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .layout-aside, .pay-shell { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .cabins { grid-template-columns: 1fr; }
  .cabins-media { min-height: 340px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before, .timeline::after { top: 0; bottom: 0; inset-inline-start: 5px; inset-inline-end: auto; width: 1px; height: auto; }
  .timeline::after { transform: scaleY(0); transform-origin: top; }
  .timeline.is-in::after { transform: scaleY(1); }
  .timeline li { padding: 0 0 28px; padding-inline-start: 34px; }
  .timeline li::before { top: 4px; }
  .help-cats { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .pay-split, .split, .card-entry, .qr-grid, .auth-shell { grid-template-columns: 1fr; }
  .auth-media { min-height: 220px; }
  .auth-media { min-height: 220px; }
  .card-entry .cc-flip { order: -1; max-width: 320px; }
  .qr-grid .qr-col { max-width: 300px; margin-inline: auto; width: 100%; }
  .feature-row { grid-template-columns: 1fr; gap: 24px; }
  .grid-3 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section-dark .stat:nth-child(n+3), .section-night .stat:nth-child(n+3) { border-top-color: rgba(255, 255, 255, .14); }
  .fams { grid-template-columns: 1fr; }
  .flight { grid-template-columns: 1fr; }
  .flight-price { border-inline-start: 0; border-top: 1px dashed var(--line-2); flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 12px 20px; }
  .flight-price .pick { margin-top: 0; }
  .ticket { grid-template-columns: minmax(0, 1fr); }
  .ticket .notch { display: none; }
  .ticket-stub { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .ticket-stub::before { inset-block: auto; top: 0; inset-inline: 14px; border-inline-start: 0; border-top: 2px dashed rgba(255, 255, 255, .22); }
  .ticket-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seat-wrap { grid-template-columns: minmax(0, 1fr); }
  .drawer-panel { top: auto; height: min(92dvh, 900px); width: 100%; border-radius: var(--r-3) var(--r-3) 0 0; transform: translateY(100%); }
  [dir="rtl"] .drawer-panel { transform: translateY(100%); }
  .drawer-head, .drawer-body { padding-inline: 18px; }
  .trip-row { grid-template-columns: 1fr; }
  .trip-row .img { width: 100%; height: 140px; }
  .cabin-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cabin-tabs .cabin-tab:nth-child(3) { border-inline-start: 0; }
  .cabin-tabs .cabin-tab:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pay-visual { max-width: 400px; }
}
/* phones and tablets: the map on top at a fixed share of the screen, controls and fares underneath it */
@media (max-width: 1024px) {
  .mapwrap, .mapwrap[style] { min-height: 0 !important; display: flex; flex-direction: column; }
  .mapwrap .map { position: relative; inset: auto; height: clamp(300px, 56svh, 560px); flex: none; }
  .map-panel { position: relative; inset: auto; width: auto; margin: 0; border-radius: 0; box-shadow: none; max-height: none; backdrop-filter: none; background: var(--white); padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 24px; align-items: start; }
  .map-panel > .map-list { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; max-height: 330px; }
}
@media (max-width: 720px) {
  .map-panel { display: flex; align-items: stretch; }
  .map-panel > .map-list { margin-top: 14px; max-height: 320px; }
}
@media (max-width: 720px) {
  .gw-marks { margin-inline-start: 0; }
  .gw-lead { gap: 12px; }
  :root { --header-h: 64px; }
  .brand-name small { display: none; }
  .tool-btn .lbl-long { display: none; }
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .board { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .board-cell { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .board-cell:nth-child(2n) { border-inline-end: 0; }
  .board-cell.go { display: none; }
  .fields { grid-template-columns: 1fr; }
  .fields .field { border-inline-start: 0; border-top: 1px solid var(--line); }
  .fields .field:first-child { border-top: 0; }
  .swap { top: 68px; left: auto; right: 22px; margin: -15px 0 0; transform: rotate(90deg); }
  [dir="rtl"] .swap { right: auto; left: 22px; }
  .swap.is-spun { transform: rotate(270deg); }
  .search-btn { min-height: 56px; }
  .inline-fields { grid-template-columns: 1fr; }
  .inline-fields .field { border-inline-start: 0; border-top: 1px solid var(--line); }
  .inline-fields .field:first-child { border-top: 0; }
  .inline-fields .search-btn { min-height: 56px; border-radius: 0 0 2px 2px; margin: 0 -1px -1px; }
  .booker-tab { padding: 12px 8px; font-size: .84rem; }
  .booker-tabs { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); scroll-padding-inline: 16px; }
  [dir="rtl"] .booker-tabs { -webkit-mask-image: linear-gradient(270deg, #000 82%, transparent); mask-image: linear-gradient(270deg, #000 82%, transparent); }
  .booker-tabs.at-end { -webkit-mask-image: none; mask-image: none; }
  .booker-tab .i-sm { display: none; }
  .booker-panel { padding: 12px; }
  /* popovers become sheets on phones; app.js moves an open sheet to the end of <body> so nothing can cover it */
  .pop { position: fixed; left: 0 !important; right: 0 !important; top: auto !important; bottom: 0 !important; min-width: 0; width: 100%; max-height: 88dvh; border: 0; border-radius: 18px 18px 0 0; transform: translateY(28px); display: flex; flex-direction: column; z-index: 200; box-shadow: 0 -24px 60px -24px rgba(4, 11, 36, .5); padding-bottom: env(safe-area-inset-bottom); overscroll-behavior: contain; }
  .pop.is-open { transform: none; }
  .pop.ac-pop { top: var(--vvt, 0px) !important; bottom: auto !important; height: var(--vvh, 100dvh); max-height: none; border-radius: 0; transform: translateY(14px); box-shadow: none; }
  .pop.ac-pop.is-open { transform: none; }
  .pop-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px 12px; font-weight: 600; flex: none; font-size: 1.05rem; }
  .pop:not(.ac-pop) .pop-head { border-bottom: 1px solid var(--line); }
  .pop-head .pop-title { font-family: var(--display); font-stretch: var(--wdth-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; }
  .pop-head button { border: 0; background: var(--cloud); width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); flex: none; }
  .pop-search { display: flex; align-items: center; gap: 10px; margin: 0 16px 6px; height: 52px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--white); color: var(--slate); flex: none; transition: border-color .2s, box-shadow .2s; }
  .pop-search:focus-within { border-color: var(--royal); box-shadow: 0 0 0 4px var(--royal-soft); color: var(--royal); }
  .pop-search .pop-q { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; padding: 0; font: inherit; font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none; }
  .pop-search .pop-q::-webkit-search-cancel-button { -webkit-appearance: none; }
  .ac-pop .ac-locate { width: auto; margin: 4px 8px 0; padding: 14px 10px; border: 0; border-radius: 12px; background: var(--paper); flex: none; }
  .ac-list { min-width: 0; max-height: none; flex: 1; padding: 4px 8px calc(24px + env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; }
  .ac-list li { min-height: 60px; padding: 10px; touch-action: manipulation; }
  .ac-list li:hover { background: none; }
  .ac-list li:active, .ac-list li[aria-selected="true"] { background: var(--paper); }
  .ac-list .grp { min-height: 0; padding: 14px 10px 6px; }
  .cal { width: 100%; padding: 14px; overflow: auto; max-width: none; }
  .cal-months { flex-direction: column; gap: 18px; }
  .cal-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .pax-pop { min-width: 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .scrim.is-on { z-index: 190; }
  .dest-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dest, .dest:nth-child(1), .dest:nth-child(6), .dest-grid.is-filtered .dest { grid-column: span 1; aspect-ratio: 3 / 4; }
  .dest:nth-child(1) { grid-column: span 2; aspect-ratio: 4 / 3; }
  .dest-body { padding: 14px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .dest-price { text-align: start; }
  .dest-city { font-size: 1.2rem; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .c2, .form-grid .c3, .form-grid .c4, .form-grid .c6 { grid-column: span 2; }
  .form-grid .half { grid-column: span 1; }
  .grid-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .date-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .date-strip > :nth-child(1), .date-strip > :nth-child(7) { display: none; }
  .date-strip > :nth-child(2) { border-inline-start: 0; }
  .flight-info { padding: 16px; gap: 6px 12px; }
  .flight-time .t { font-size: 1.35rem; }
  .flight-time .a { font-size: .76rem; }
  .seg-body { grid-template-columns: 1fr 1fr; }
  .seg-mid { grid-column: 1 / -1; order: 3; }
  .pay-tabs { grid-template-columns: 1fr; }
  .pay-top, .pay-section, .co-body { padding-inline: 18px; }
  .co-head { padding-inline: 18px; }
  .tripbar .legs { display: none; }
  .tripbar .tot { text-align: start; flex: 1; }
  .help-panel { inset: 0; width: 100%; height: 100%; border-radius: 0; }
  .help-launch { inset-inline-end: 14px; bottom: 14px; width: 50px; height: 50px; padding: 0; justify-content: center; }
  .help-launch .lbl { display: none; }
  .help-launch .dot-on { inset-inline-start: 31px; top: 10px; }
  body.has-tripbar .help-launch { bottom: 92px; }
  .help-cats { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }

  .help-search { padding-inline-start: 14px; }
  .help-search .btn { padding-inline: 14px; }
  .thread-card .thread { padding: 16px; }
  .thread .msg { max-width: 92%; }
  .reply-box { padding: 14px 16px 16px; }
  .trip-hero { padding-bottom: 110px; }
  .pnr-box { text-align: start; }
  .card-fan { height: 280px; }
  .card-fan .pcard { width: 220px; }
  .club-grid { grid-template-columns: 1fr; }
  .club-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .acct-grid { grid-template-columns: minmax(0, 1fr); }
  .trip-row { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .trip-row .thumb, .trip-row .img { width: 64px; height: 52px; }
  .trip-row .badge { grid-column: 2; justify-self: start; }
  .section-head .h2 { max-width: none; }
  .bp-route .iata { font-size: 2.2rem; }
  .ticket-route { gap: 10px; }
  .modal-body { padding: 14px; }
  /* checkout: number and title side by side, the explanation and the action underneath at full width */
  .co-head { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: start; gap: 4px 12px; padding: 18px; }
  .co-head .n { margin-top: 1px; }
  .co-head .act { grid-column: 1 / -1; margin: 10px 0 0; justify-self: start; }
  .co-body [data-pay-btn], .co-body .btn-lg[type="submit"] { width: 100%; justify-content: center; }
  /* seat map: the dialog takes the whole screen and seats shrink so a ten-abreast cabin fits a phone */
  .modal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; inset: 0; border-radius: 0; }
  .modal-head { padding: 12px 16px; }
  .modal-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .modal-foot .btn { flex: 1; justify-content: center; }
  .cabin-shell { padding: 52px 6px 18px; border-radius: 80px 80px var(--r-2) var(--r-2); }
  .seatmap { --seat: clamp(22px, calc((100vw - 128px) / 11), 30px); gap: 3px; }
  .seat-row { gap: 3px; }
  .seat-row .rn { width: 16px; }
  .seat-group { gap: 3px; }
  .aisle { width: calc(var(--seat) * .45); }
  .seat { width: var(--seat); height: calc(var(--seat) + 2px); font-size: .62rem; }
  .seat.big { width: calc(var(--seat) * 1.3); height: calc(var(--seat) * 1.35); }
  .coin-list { grid-template-columns: 1fr; }
  .trip-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .trip-actions .btn { justify-content: center; padding-inline: 10px; }
  .ci-body { padding-inline: 16px; }
  .coin-row:last-child:nth-child(odd) { grid-column: auto; }
  .pay-pane-x { padding: 20px 18px; }
  .pay-top .seg-switch { width: 100%; }
  .pay-steps.h { grid-template-columns: 1fr; gap: 0; }
  .pay-steps.h li { flex-direction: row; padding-bottom: 16px; }
  .pay-steps.h li::before { top: 24px; bottom: 0; inset-inline-start: 11px; inset-inline-end: auto; width: 1px; height: auto; }
  .coin-pick, .coin-pick summary { width: 100%; }
  .coin-pick .chg { margin-inline-start: auto; }
  .coin-menu { position: fixed; inset: auto 0 0 0; top: auto; width: 100%; max-height: 80dvh; overflow: auto; border-radius: var(--r-3) var(--r-3) 0 0; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .pay-head { align-items: flex-start; }
}
@media (max-width: 560px) {
  .gw .pay-cta .btn { width: 100%; justify-content: center; }
  .header-tools .trips, .header-tools .cur { display: none; }
  .header-tools { gap: 2px; }
  .header-tools .tool-btn { padding: 0 10px; }
}
@media (max-width: 480px) {
  .progress li:not(.is-current) .lbl { display: none; }
  .progress li:not(.is-current) { flex: 0 0 auto; padding-inline-end: 14px; }
  .progress li.is-current { flex: 1; }
  .date-strip .d { white-space: normal; font-size: .7rem; line-height: 1.2; }
  .date-strip .p { font-size: .78rem; }
  .date-strip > a, .date-strip > span { padding: 10px 2px; }
}
@media (max-width: 420px) {
  .header-tools [data-open="locale-dialog"] { display: none; }
  .brand-name { font-size: .92rem; }
  .brand-mark { width: 40px; height: 24px; }
  .header-tools .signin .lbl { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .ticket-route .iata { font-size: 1.9rem; }
  .ticket-main { padding: 18px; }
  .stat-row { grid-template-columns: 1fr; }
  .stat { border-inline-start: 0 !important; padding-inline-start: 0 !important; border-top: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > *, .rise, .hero-title .line > span { opacity: 1 !important; transform: none !important; }
  .reveal-img { clip-path: none !important; }
  .reveal-img img { transform: none !important; }
}
