/* DhatriFly website styles. Colours and shapes follow the approved design. */
:root {
  --hero: linear-gradient(135deg, #1A0B4B 0%, #3B1A9E 55%, #7A1FA2 100%);
  --page: linear-gradient(180deg, #F6F0FF 0%, #FFF2EC 100%);
  --brand: linear-gradient(135deg, #5B34F0, #C0269C);
  --violet: #5B34F0; --violet-dark: #3B1A9E; --gold: #FFC27A; --gold-deep: #F29A3A;
  --ink: #0E1B33; --ink-2: #2A3550; --muted: #4D5770; --line: #E8E1F6; --line-2: #DED6F2;
  --soft: #F6F3FC; --soft-2: #F3EEFF; --ok: #0F6B4F; --ok-bg: #E3F6EE; --warn: #8A3A00; --warn-bg: #FFE7D6;
  --err: #A1281A; --err-bg: #FFF0EE; --radius: 16px;
  --sora: Sora, 'Segoe UI', system-ui, sans-serif; --inter: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--inter); color: var(--ink); background: var(--page); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--violet); } a:hover { color: #4521D1; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #FFC27A; outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
h1, h2, h3 { font-family: var(--sora); letter-spacing: -0.02em; }

/* ---------- practice ribbon ---------- */
.ribbon { background: #FFF6E5; color: #6B3F00; font-size: 13px; font-weight: 600; text-align: center; padding: 7px 12px; border-bottom: 1px solid #F5DDB0; }
.ribbon[hidden] { display: none; }

/* ---------- hero / header ---------- */
.hero { position: relative; background: var(--hero); color: #fff; padding: 0 0 28px; }
.hero.home { padding-bottom: 72px; }
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 18px 0; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-height: 44px; }
.logo:hover { color: #fff; }
.logo .lotus { width: 76px; height: 76px; overflow: visible; flex: 0 0 auto; }
.logo .words { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.logo .lflight { display: block; width: 160px; height: 21px; overflow: visible; }
.logo .name { display: block; font-family: var(--sora); font-weight: 800; font-size: 38px; letter-spacing: -0.02em; line-height: 1; }
.logo .name b { color: var(--gold); font-weight: 800; }
.logo .tag { display: block; font-size: 11.5px; font-weight: 500; color: #EDE4FF; margin-top: 5px; white-space: nowrap; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.nav a, .nav button { color: #fff; text-decoration: none; background: transparent; border: 1px solid transparent; border-radius: 999px; min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.nav a:hover, .nav button:hover { background: rgba(255,255,255,0.12); color: #fff; }
.nav .pill { border-color: rgba(255,255,255,0.4); }
.nav .who { background: rgba(255,255,255,0.14); }
.headline { padding: 96px 0 8px; }
.headline h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.05; margin: 0 0 10px; letter-spacing: -0.03em; }
.headline p { margin: 0; font-size: 17px; color: #E6E0FF; }
.pagehead { padding: 8px 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pagehead h1 { font-size: clamp(24px, 3.4vw, 32px); margin: 0; }
.pagehead p { margin: 0; color: #E6E0FF; width: 100%; }
.backbtn { background: rgba(255,255,255,0.16); color: #fff; border: 1px solid rgba(255,255,255,0.35); border-radius: 12px; min-height: 44px; padding: 0 16px; font-weight: 600; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; }
.backbtn:hover { color: #fff; background: rgba(255,255,255,0.24); }
#dfOverlay { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
/* room for the take-off and the small DhatriFly logo on every page */
.hero:not(.home) .pagehead, .hero:not(.home) .summary { margin-top: 76px; }
#dfOverlay[hidden] { display: none; }
.hero .wrap { position: relative; z-index: 2; }

/* ---------- main ---------- */
main { flex: 1 0 auto; padding-bottom: 48px; }
.lift { margin-top: -44px; position: relative; z-index: 3; }
.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.panel { background: #fff; border-radius: 20px; box-shadow: 0 20px 50px rgba(59,26,158,0.16); padding: 24px; }
.section { margin-top: 40px; }
.section > h2 { font-size: 24px; margin: 0 0 4px; }
.section > p.lead { margin: 0 0 16px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.spacer { flex: 1 1 auto; }

/* ---------- buttons, chips, fields ---------- */
.btn { border: 0; border-radius: 12px; min-height: 48px; padding: 0 22px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { color: #fff; filter: brightness(1.06); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; }
.btn-soft { background: var(--soft-2); color: var(--violet-dark); }
.btn-line { background: #fff; color: var(--ink-2); border: 1px solid var(--line-2); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn-lg { min-height: 64px; font-size: 17px; padding: 0 30px; border-radius: 14px; }
.chip { background: var(--soft-2); color: var(--violet-dark); border: 0; border-radius: 999px; min-height: 36px; padding: 0 14px; font-weight: 600; font-size: 13px; }
.chip.on { background: #EFE9FF; box-shadow: inset 0 0 0 1px var(--violet); font-weight: 700; }
.seg { display: flex; gap: 4px; background: var(--soft-2); border-radius: 14px; padding: 4px; }
.seg button { border: 0; border-radius: 10px; min-height: 44px; padding: 0 16px; font-weight: 600; font-size: 14px; background: transparent; color: var(--ink-2); }
.seg button.on { background: var(--brand); color: #fff; font-weight: 700; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills button { border-radius: 999px; min-height: 44px; padding: 0 18px; font-weight: 600; font-size: 14px; background: #fff; color: var(--ink-2); border: 1px solid var(--line-2); }
.pills button.on { background: var(--brand); color: #fff; border-color: transparent; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { border: 1px solid #C9C0E3; border-radius: 10px; min-height: 48px; padding: 0 14px; font-size: 15px; background: #fff; color: var(--ink); font-weight: 400; }
.field input:focus, .field select:focus { border-color: var(--violet); outline: none; box-shadow: 0 0 0 3px rgba(91,52,240,0.18); }
.field .hint { font-weight: 400; color: var(--muted); font-size: 12px; }
.grid-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge.dom { background: var(--ok-bg); color: var(--ok); }
.badge.intl { background: var(--warn-bg); color: var(--warn); }
.badge.deal { background: linear-gradient(135deg, #FFE7B0, #FFC27A); color: #5A2D00; }
.badge.tag { background: #EFE9FF; color: var(--violet-dark); }
.alert { border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 600; }
.alert.err { background: var(--err-bg); color: var(--err); }
.alert.ok { background: var(--ok-bg); color: var(--ok); }
.alert.info { background: #EEF2FF; color: #2B3A8C; }

/* ---------- search form ---------- */
.search { display: flex; flex-direction: column; gap: 16px; }
.search .tops { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.countries { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.countries .lbl { font-size: 13px; font-weight: 600; color: var(--muted); }
.fields { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.ft { flex: 2 1 420px; display: flex; align-items: center; background: var(--soft); border-radius: 14px; }
.city { position: relative; flex: 1 1 0; min-width: 0; display: flex; }
.city > button { flex: 1 1 auto; width: 100%; min-width: 0; text-align: left; background: transparent; border: 0; border-radius: 14px; padding: 10px 16px; }
.city > button[aria-expanded="true"] { box-shadow: inset 0 0 0 2px var(--violet); }
.city .l { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.city .v { display: block; font-weight: 700; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.city .s { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swap { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--brand); display: flex; align-items: center; justify-content: center; }
.box { flex: 1 1 160px; background: var(--soft); border-radius: 14px; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.box.narrow { flex: 0 1 120px; }
.box span { font-size: 12px; font-weight: 600; color: var(--muted); }
.box input, .box select { border: 0; background: transparent; font-weight: 600; font-size: 16px; padding: 0; min-width: 0; color: var(--ink); }
.pop { position: absolute; top: calc(100% + 8px); left: 0; width: min(600px, calc(100vw - 40px)); z-index: 40; border: 1px solid #DCD2F3; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px rgba(26,11,75,0.25); padding: 14px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.pop .head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pop .head strong { font-size: 16px; }
.pop .head .small { color: var(--muted); }
.pop .find { display: flex; align-items: center; gap: 8px; border: 1px solid #C9C0E3; border-radius: 12px; padding: 0 12px; }
.pop .find input { flex: 1 1 auto; min-width: 0; border: 0; outline: none; font-size: 15px; min-height: 44px; background: transparent; }
.pop .list { max-height: 340px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding-right: 4px; }
.pop .g { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #5B4A86; margin-bottom: 6px; }
.pop .opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; }
.pop .opt { text-align: left; border-radius: 10px; padding: 8px 10px; min-height: 44px; font-size: 14px; background: #fff; border: 1px solid #ECE6F7; color: var(--ink); }
.pop .opt:hover { border-color: #B9A8F0; }
.pop .opt.on { background: #EFE9FF; border-color: var(--violet); }
.pop .opt[disabled] { opacity: 0.4; cursor: not-allowed; }
.pop .opt b { font-weight: 700; } .pop .opt i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--violet); }
.pop .opt small { display: block; font-size: 12px; color: var(--muted); }
.to-pop { left: 0; }
@media (max-width: 760px) { .to-pop { left: auto; right: 0; } }

/* ---------- offers + deals + ads ---------- */
.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.offer { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.offer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--brand); }
.offer.cash::before { background: linear-gradient(90deg, #FFC27A, #F29A3A); }
.offer h3 { margin: 4px 0 0; font-size: 17px; }
.offer p { margin: 0; font-size: 14px; color: var(--muted); }
.offer .code { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.offer .code span { font-family: ui-monospace, Menlo, monospace; font-weight: 700; letter-spacing: 0.08em; border: 1.5px dashed #B9A8F0; border-radius: 8px; padding: 6px 10px; color: var(--violet-dark); background: #FBF9FF; }
.deals { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.dealcard { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.dealcard:hover { border-color: #B9A8F0; box-shadow: 0 10px 30px rgba(59,26,158,0.12); }
.dealcard .rt { font-weight: 700; font-size: 16px; }
.dealcard .pr { font-family: var(--sora); font-weight: 700; font-size: 22px; }
.ad { margin: 40px 0 0; background: #fff; border: 1px solid #E3DCF5; border-radius: 18px; overflow: hidden; display: flex; flex-wrap: wrap; align-items: stretch; min-height: 110px; }
.ad .img { flex: 0 0 220px; min-height: 110px; background: repeating-linear-gradient(45deg, #F3EEFF, #F3EEFF 10px, #EBE3FF 10px, #EBE3FF 20px); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); }
.ad .body { flex: 1 1 320px; padding: 16px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ad .tagad { background: rgba(14,27,51,0.78); color: #fff; font-weight: 700; padding: 2px 7px; border-radius: 6px; font-size: 12px; }
.ad.side { flex-direction: column; margin: 0; padding: 16px; gap: 8px; min-height: 0; }
.ad.side .img { flex: none; height: 160px; border-radius: 12px; }

/* ---------- results ---------- */
.summary { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.summary .box2 { flex: 1 1 520px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25); border-radius: 14px; padding: 12px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.summary .box2 b { font-size: 18px; }
.summary .box2 > span:not(.badge) { color: #E6E0FF; font-size: 14px; }
.summary .btn { background: #fff; color: var(--violet-dark); min-height: 52px; border-radius: 14px; }
.layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding-top: 24px; }
.layout > .main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.layout > .side { flex: 1 1 280px; max-width: 100%; display: flex; flex-direction: column; gap: 14px; }
.sorts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sorts button { border-radius: 12px; padding: 10px 12px; min-height: 56px; text-align: left; background: #fff; color: var(--ink-2); border: 1px solid var(--line-2); }
.sorts button.on { background: var(--brand); color: #fff; border-color: transparent; }
.sorts b { display: block; font-size: 15px; } .sorts small { display: block; font-size: 13px; margin-top: 2px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.flight { background: #fff; border-radius: 16px; border: 1px solid var(--line); display: flex; flex-wrap: wrap; overflow: hidden; }
.flight .info { flex: 999 1 420px; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.flight .who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.flight .who .nm { font-size: 14px; font-weight: 600; }
.alogo { width: 36px; height: 36px; border-radius: 10px; color: #fff; font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.leg { display: flex; align-items: center; gap: 16px; }
.leg .t { font-weight: 700; font-size: 18px; }
.leg .c { font-size: 13px; color: var(--muted); }
.leg .mid { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 90px; }
.leg .mid .line { width: 100%; height: 2px; background: var(--brand); border-radius: 2px; }
.leg .mid small { font-size: 12px; color: var(--muted); }
.leg .direct { font-size: 12px; font-weight: 600; color: var(--ok); }
.leg .stop { font-size: 12px; font-weight: 600; color: #A0471B; }
.leg sup { font-size: 11px; color: #A0471B; }
.flight .buy { flex: 1 1 200px; border-left: 1px solid var(--line); padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; gap: 6px; background: #FBF9FF; }
.flight .price { font-family: var(--sora); font-weight: 700; font-size: 28px; }
.flight .hint { font-size: 12px; font-weight: 600; color: #7A3A00; background: #FFF4E0; border-radius: 8px; padding: 6px 8px; }
.skeleton { height: 150px; border-radius: 16px; background: linear-gradient(90deg, #F1ECFB 25%, #F8F5FE 50%, #F1ECFB 75%); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 40px 20px; }

/* ---------- checkout ---------- */
.sum { overflow: hidden; }
.sum .top { padding: 20px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.sum .lines { padding: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.sum .ln { display: flex; justify-content: space-between; gap: 10px; }
.sum .ln.good { color: var(--ok); font-weight: 600; }
.sum .tot { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; }
.sum .tot b:last-child { font-family: var(--sora); font-size: 28px; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1 1 auto; min-width: 0; text-transform: uppercase; }
.tick { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 600; }
.tick input { width: 18px; height: 18px; accent-color: var(--violet); }
section.card { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
section.card > h2 { font-size: 18px; margin: 0; }
.offer-mini { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- booked ---------- */
.ticket { background: #fff; border-radius: 22px; box-shadow: 0 20px 50px rgba(59,26,158,0.14); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.ticket .ref { font-family: ui-monospace, Menlo, monospace; font-size: 26px; font-weight: 800; letter-spacing: 0.12em; color: var(--violet-dark); }

/* ---------- account / director ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tabs a { text-decoration: none; color: var(--ink-2); font-weight: 600; padding: 12px 16px; border-bottom: 3px solid transparent; min-height: 44px; display: inline-flex; align-items: center; }
.tabs a.on { color: var(--violet-dark); border-color: var(--violet); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #F0EBF8; white-space: nowrap; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); background: #FBF9FF; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.kpi small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.kpi b { display: block; font-family: var(--sora); font-size: 26px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.wallet-big { background: var(--hero); color: #fff; border-radius: 20px; padding: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.wallet-big b { font-family: var(--sora); font-size: 36px; }
.auth { max-width: 460px; margin: 0 auto; }

/* ---------- footer ---------- */
footer { background: #140A3A; color: #D9CCF5; padding: 28px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
footer a { color: #fff; }
footer .tagline { color: var(--gold); font-family: var(--sora); font-weight: 700; }

/* ---------- toast ---------- */
#toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14px; z-index: 100; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
#toast[hidden] { display: none; }

/* ---------- welcome animation (web/js/welcome.js) — same logo animation as the header ---------- */
.wl { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: radial-gradient(circle at 50% 40%, rgba(122,31,162,0.97), rgba(26,11,75,0.99) 70%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: wlIn .3s ease-out both; cursor: pointer; }
.wl.wl-gold { background: radial-gradient(circle at 50% 40%, rgba(110,55,0,0.97), rgba(26,11,75,0.99) 72%); }
.wl.wl-out { animation: wlOut .42s ease-in both; }
.wl-card { position: relative; overflow: hidden; width: min(460px, 100%); text-align: center; color: #fff; padding: 30px 22px 30px; border-radius: 26px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); box-shadow: 0 30px 80px rgba(0,0,0,0.35); }
.wl-gold .wl-card { border-color: rgba(255,194,122,0.45); }
/* the cloned header logo, bigger, with the header animation played a little faster (2.8 s) and from the start */
.wl-logo { display: inline-flex; align-items: center; gap: 10px; }
.wl-logo .lotus { width: 92px; height: 92px; overflow: visible; flex: 0 0 auto; }
.wl-logo .words { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.wl-logo .lflight { display: block; width: 190px; height: 25px; overflow: visible; }
.wl-logo .name { display: block; font-family: var(--sora); font-weight: 800; font-size: 46px; letter-spacing: -0.02em; line-height: 1; }
.wl-logo .name b { color: var(--gold); font-weight: 800; }
.wl-logo .tag { display: block; font-size: 13.5px; font-weight: 500; color: #EDE4FF; margin-top: 6px; white-space: nowrap; }
.wl-logo .df-a { animation-duration: 2.8s; animation-delay: 0s; }
.wl-text { margin-top: 20px; }
.wl-text:empty { display: none; }
.wl-hi { font-family: var(--sora); font-size: clamp(19px, 5vw, 23px); font-weight: 700; letter-spacing: -0.02em; animation: wlUp .5s ease-out 1.85s both; }
.wl-hi b { color: var(--gold); }
.wl-badge { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); animation: wlPop .45s cubic-bezier(.2,.8,.3,1.4) 2.1s both; }
.wl-gold .wl-badge { background: linear-gradient(135deg,#FFE7B0,#FFC27A); color: #5A2D00; border-color: transparent; }
.wl-line { margin-top: 10px; color: #E6E0FF; font-size: 15px; animation: wlUp .5s ease-out 2.2s both; }
.wl-shine { position: absolute; top: -20%; bottom: -20%; left: 0; width: 28%; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, rgba(255,231,176,0) 0%, rgba(255,240,200,0.5) 50%, rgba(255,231,176,0) 100%); transform: translateX(-160%) skewX(-18deg);
  animation: wlShine 1s ease-in-out 2.55s both; }
.wl-gold .wl-shine { background: linear-gradient(100deg, rgba(255,194,122,0) 0%, rgba(255,214,150,0.75) 50%, rgba(255,194,122,0) 100%); }
@keyframes wlIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes wlOut { to { opacity: 0; transform: scale(1.03); } }
@keyframes wlUp { from { opacity: 0; transform: translateY(10px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes wlPop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes wlShine { 0% { opacity: 0; transform: translateX(-160%) skewX(-18deg); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateX(420%) skewX(-18deg); } }
@media (max-width: 480px) {
  .wl-logo .lotus { width: 70px; height: 70px; }
  .wl-logo .lflight { width: 150px; height: 20px; }
  .wl-logo .name { font-size: 36px; }
  .wl-logo .tag { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .wl *, .wl { animation-duration: .01s !important; animation-delay: 0s !important; } }

/* ---------- back / home buttons (every page except home) ---------- */
.crumbs { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.crumbs button, .crumbs a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 14px;
  color: #fff; text-decoration: none; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.32); }
.crumbs button:hover, .crumbs a:hover { background: rgba(255,255,255,0.24); color: #fff; }
.crumbs[hidden] { display: none; }
.hero.has-crumbs .pagehead, .hero.has-crumbs .summary { margin-top: 22px; }

/* ---------- home page for logged-in people ---------- */
.mine { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.mine .card { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.mine .hello { background: var(--hero); color: #fff; border: 0; }
.mine .hello h2 { margin: 0; font-size: 22px; }
.mine .hello p { margin: 0; color: #E6E0FF; }
.mine .big { font-family: var(--sora); font-weight: 700; font-size: 26px; }
.mine .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.mine .links a { background: rgba(255,255,255,0.16); color: #fff; border: 1px solid rgba(255,255,255,0.3); text-decoration: none; border-radius: 999px; min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; font-weight: 600; font-size: 14px; }

/* ---------- phones ---------- */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .logo .lotus { width: 58px; height: 58px; }
  .logo .lflight { width: 124px; height: 16px; }
  .logo .name { font-size: 30px; }
  .logo .tag { font-size: 9px; }
  .nav { width: 100%; }
  .nav a, .nav button { padding: 0 10px; font-size: 13px; }
  .headline { padding-top: 84px; }
  .panel { padding: 16px; }
  .ft { flex-wrap: wrap; }
  .sorts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flight .buy { border-left: 0; border-top: 1px solid var(--line); }
  .ad .img { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }
