/* ==========================================================================
   AsiaFlare — hero motion intro
   Plays over the hero on first load, then hands off to the regular hero.
   Everything is scoped to #afi (overlay) and html.afi-* state classes.
   ========================================================================== */

/* ---- page state while the intro plays ---- */
html.afi-on { overflow: hidden !important; }
html.afi-on body { background: #06060a; }
html.afi-on .landing { visibility: hidden; }
html.afi-on .landing .hero,
html.afi-on .landing .hero * { animation-play-state: paused !important; }
html.afi-handoff .landing .hero-phones { animation: none !important; }

/* ---- overlay shell ---- */
#afi {
  --flame: linear-gradient(100deg, #ffa494, #ff4d5e 34%, #e8215f 62%, #ff8a80 84%, #ffb8ab);
  --flame-solid: linear-gradient(135deg, #ff5566, #d62839 48%, #b0164f);
  --peach: #f8ab9c;
  --peach-2: #f39586;
  --pink: #d6577a;
  --ink: #06060a;
  --txt-2: rgba(255, 255, 255, .68);
  --display: Urbanist, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ui: Hellix, Urbanist, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  position: fixed;
  inset: 0;
  z-index: 100000;
  overflow: hidden;
  background: transparent;
  color: #fff;
  font-family: var(--ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
#afi *, #afi *::before, #afi *::after { box-sizing: border-box; margin: 0; padding: 0; }
#afi svg { display: block; }
#afi img { display: block; }

/* ---- backdrop (mirrors the hero background) ---- */
#afi .afi-bg { position: absolute; inset: 0; pointer-events: none; background: var(--ink); }
#afi .afi-glow { position: absolute; border-radius: 50%; }
#afi .afi-glow-1 {
  top: -24%; right: -16%; width: min(1000px, 80vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(214, 40, 57, .42) 0, rgba(176, 22, 79, .16) 38%, transparent 66%);
}
#afi .afi-glow-2 {
  bottom: -32%; left: -18%; width: min(800px, 70vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(36, 64, 140, .34) 0, transparent 64%);
}
#afi .afi-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 0), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 0);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 60% 48%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 60% 48%, #000 10%, transparent 75%);
}
#afi .afi-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(130% 95% at 55% 45%, transparent 55%, rgba(6, 6, 10, .85) 100%);
}
#afi .afi-noise {
  position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#afi .afi-flash {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 40;
  background: radial-gradient(60% 60% at var(--fx, 50%) var(--fy, 50%), rgba(255, 220, 210, .9), rgba(255, 77, 94, .35) 40%, transparent 75%);
  mix-blend-mode: screen;
}

/* ---- stage (camera-shake target) ---- */
#afi .afi-stage { position: absolute; inset: 0; will-change: transform; }

/* radar rings behind the phone */
#afi .afi-radar {
  position: absolute; left: var(--px); top: var(--py);
  width: calc(var(--ph) * 1.18); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none; opacity: 0;
}
#afi .afi-radar span { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); }
#afi .afi-radar span:nth-child(1) { inset: 0; }
#afi .afi-radar span:nth-child(2) { inset: 14%; }
#afi .afi-radar span:nth-child(3) { inset: 28%; border-color: rgba(255, 107, 107, .16); }
#afi .afi-radar .afi-ping { inset: 0; border: 1.5px solid rgba(255, 107, 107, .55); opacity: 0; }
#afi .afi-radar .afi-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 290deg, rgba(255, 77, 94, .06) 320deg, rgba(255, 107, 107, .3) 358deg, rgba(255, 180, 168, .55) 360deg);
  -webkit-mask-image: radial-gradient(circle, #000 0 69%, transparent 70%);
  mask-image: radial-gradient(circle, #000 0 69%, transparent 70%);
}

/* ---- top bar: logo + always-on CTA ---- */
#afi .afi-top { position: absolute; inset: 0 0 auto 0; z-index: 30; pointer-events: none; }
#afi .afi-logo { position: absolute; left: var(--logo-l, 40px); top: var(--logo-t, 22px); height: var(--logo-h, 34px); width: auto; opacity: 0; filter: brightness(0) invert(1); }
#afi .afi-topcta {
  position: absolute; right: var(--cta-r, 40px); top: var(--cta-t, 18px);
  pointer-events: auto; opacity: 0;
}
#afi .afi-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--flame-solid); color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 800; font-size: 14.5px; letter-spacing: .01em;
  box-shadow: 0 10px 30px -8px rgba(229, 33, 73, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
  white-space: nowrap; cursor: pointer;
}
#afi .afi-btn:hover { filter: brightness(1.08); }
#afi .afi-btn:focus-visible { outline: 2px solid #ffb4a8; outline-offset: 3px; }

/* ---- bottom: skip + progress ---- */
#afi .afi-skip {
  position: absolute; right: 22px; bottom: 22px; z-index: 30;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px 9px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .7); font: 700 13px/1 var(--display); letter-spacing: .02em;
  cursor: pointer; opacity: 0;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
#afi .afi-skip:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
#afi .afi-skip svg { width: 14px; height: 14px; }
#afi .afi-progress {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; z-index: 30;
  background: var(--flame); transform-origin: 0 50%; transform: scaleX(0);
  box-shadow: 0 0 14px rgba(255, 77, 94, .8);
}

/* ---- kinetic hook ---- */
#afi .afi-hook {
  position: absolute; inset: 0; z-index: 12;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; pointer-events: none;
  font-family: var(--display); font-weight: 900; letter-spacing: -.05em; line-height: .9;
  font-size: clamp(56px, 10.5vw, 176px);
}
#afi .afi-hook-a, #afi .afi-hook-b { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
#afi .afi-hook-line { display: block; white-space: nowrap; }
#afi .afi-hook-b { font-size: 1.14em; }

/* ---- copy blocks ---- */
#afi .afi-copy {
  position: absolute; z-index: 12;
  left: var(--cl); top: var(--ct); width: var(--cw);
  transform: translateY(-50%);
  pointer-events: none;
}
#afi .afi-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 22px; padding: 7px 15px 7px 9px; border-radius: 999px;
  background: rgba(255, 77, 94, .09); border: 1px solid rgba(255, 77, 94, .24);
  color: #ffa49c; font: 800 12.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 0 24px rgba(255, 77, 94, .14);
}
#afi .afi-kicker b {
  display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--flame-solid); color: #fff; font-size: 11px; letter-spacing: .02em;
}
#afi .afi-title {
  font-family: var(--display); font-weight: 900; color: #fff;
  font-size: clamp(44px, 5.5vw, 84px); line-height: 1; letter-spacing: -.045em;
  margin-bottom: 24px;
}
#afi .afi-w { display: inline-block; white-space: nowrap; }
#afi .afi-c { display: inline-block; }
#afi .afi-acc {
  background: var(--flame); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-right: .04em;
  animation: afi-flow 6s ease-in-out infinite;
}
@keyframes afi-flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
#afi .afi-sub { font-size: 19px; line-height: 1.6; color: var(--txt-2); max-width: 500px; }
#afi .afi-sub strong { color: #fff; font-weight: 700; }

#afi .afi-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; pointer-events: auto; }
#afi .afi-cta-row .afi-btn { padding: 17px 30px; font-size: 17px; }
#afi .afi-cta-row .afi-btn svg { width: 18px; height: 18px; }
#afi .afi-rating { display: flex; flex-direction: column; gap: 4px; font: 700 13px/1.2 var(--display); color: rgba(255, 255, 255, .7); }
#afi .afi-stars { display: flex; gap: 2px; color: #f5b13d; }
#afi .afi-stars svg { width: 15px; height: 15px; }
#afi .afi-micro { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font: 700 13.5px/1 var(--display); color: rgba(255, 255, 255, .5); }
#afi .afi-micro span { display: inline-flex; align-items: center; gap: 6px; }
#afi .afi-micro svg { width: 14px; height: 14px; color: #ff7a7a; }

/* ---- floating activity chips ---- */
#afi .afi-chip {
  position: absolute; z-index: 14; left: 0; top: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 9px; border-radius: 18px;
  background: rgba(22, 18, 28, .72); border: 1px solid rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7), 0 0 30px -10px rgba(255, 77, 94, .45);
  white-space: nowrap; opacity: 0; pointer-events: none;
}
#afi .afi-chip i {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px;
  background: var(--flame-solid); color: #fff; flex-shrink: 0;
}
#afi .afi-chip i svg { width: 18px; height: 18px; }
#afi .afi-chip b { display: block; font: 800 13.5px/1.2 var(--display); color: #fff; }
#afi .afi-chip small { display: block; font: 600 11.5px/1.2 var(--ui); color: rgba(255, 255, 255, .55); margin-top: 2px; }

/* "FREE" stamp */
#afi .afi-stamp {
  position: absolute; z-index: 15; left: 0; top: 0;
  padding: 10px 22px 12px; border-radius: 20px;
  border: 5px solid #ff4d5e; color: #ff4d5e;
  font: 900 74px/0.9 var(--display); letter-spacing: -.04em; text-align: center;
  text-shadow: 0 0 30px rgba(255, 77, 94, .6);
  box-shadow: 0 0 40px rgba(255, 77, 94, .35), inset 0 0 30px rgba(255, 77, 94, .2);
  background: rgba(6, 6, 10, .55);
  opacity: 0; pointer-events: none;
}
#afi .afi-stamp small { display: block; font: 800 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; margin-top: 6px; text-shadow: none; }

/* flight streak across the stage */
#afi .afi-streak {
  position: absolute; z-index: 3; left: 0; top: 0; width: 46vw; height: 2px; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 138, 128, .9));
  pointer-events: none; transform-origin: 100% 50%;
}
#afi .afi-streak svg { position: absolute; right: -14px; top: -13px; width: 28px; height: 28px; color: #fff; transform: rotate(90deg); filter: drop-shadow(0 0 10px rgba(255, 77, 94, .9)); }

/* shockwaves + embers */
#afi .afi-ring {
  position: absolute; z-index: 9; width: 200px; height: 200px; margin: -100px 0 0 -100px;
  border-radius: 50%; border: 2px solid rgba(255, 120, 120, .85);
  box-shadow: 0 0 30px rgba(255, 77, 94, .6), inset 0 0 30px rgba(255, 77, 94, .35);
  pointer-events: none;
}
#afi .afi-ember {
  position: absolute; z-index: 9; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%;
  background: #ffb2a6; box-shadow: 0 0 10px 2px rgba(255, 90, 100, .8); pointer-events: none;
}

/* ---- countries ---- */
#afi .afi-countries {
  position: absolute; inset: 0; z-index: 12;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 90px 24px 60px; text-align: center; pointer-events: none;
  visibility: hidden;
}
#afi .afi-countries .afi-title { margin-bottom: 14px; font-size: clamp(40px, 5vw, 76px); }
#afi .afi-countries .afi-sub { margin: 0 auto 34px; max-width: 560px; font-size: 18px; }
#afi .afi-cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 290px)); gap: 16px; width: 100%; justify-content: center; }
#afi .afi-country {
  position: relative; display: flex; align-items: center; gap: 16px; text-align: left;
  padding: 18px 20px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
}
#afi .afi-country::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1.5px rgba(255, 107, 107, .0); transition: box-shadow .4s;
}
#afi .afi-country.hot::after { box-shadow: inset 0 0 0 1.5px rgba(255, 107, 107, .55), inset 0 0 40px rgba(255, 77, 94, .18); }
#afi .afi-country .afi-flag { width: 60px; height: 45px; border-radius: 8px; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 8px 20px -6px rgba(0, 0, 0, .7); }
#afi .afi-country b { display: block; font: 900 23px/1.05 var(--display); letter-spacing: -.02em; color: #fff; }
#afi .afi-country small { display: block; margin-top: 5px; font: 600 12.5px/1.25 var(--ui); white-space: nowrap; color: rgba(255, 255, 255, .55); }

/* flags — reuse the site's flag-icons sprites but size them ourselves */
#afi .afi-flag.fi { display: block; background-size: cover; background-position: 50%; line-height: 1; }
#afi .afi-flag.fi::before { content: none; }

/* ==========================================================================
   Phone (built at 300 x 624 and scaled with --ps)
   ========================================================================== */
#afi .afi-anchor { position: absolute; left: var(--px); top: var(--py); width: 0; height: 0; z-index: 10; }
#afi .afi-phone {
  position: absolute; left: -150px; top: -312px; width: 300px; height: 624px;
  transform-origin: 50% 50%;
}
#afi .afi-pshadow {
  position: absolute; inset: 0; border-radius: 54px; opacity: 0;
  box-shadow: 0 50px 90px -24px rgba(0, 0, 0, .95), 0 30px 140px -30px rgba(229, 33, 73, .65);
}
#afi .afi-frame {
  position: absolute; inset: 0; border-radius: 54px;
  border: 7px solid #14141d;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .16), 0 0 0 3.5px #040406;
}
#afi .afi-frame-l { clip-path: inset(-12px 50% -12px -12px); }
#afi .afi-frame-r { clip-path: inset(-12px -12px -12px 50%); }
#afi .afi-sbtn { position: absolute; width: 4px; border-radius: 3px; background: #1d1d28; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
#afi .afi-frame-l .afi-sbtn { left: -11px; }
#afi .afi-frame-r .afi-sbtn { right: -11px; }
#afi .afi-island { position: absolute; top: 15px; left: 50%; width: 92px; height: 27px; margin-left: -46px; border-radius: 999px; background: #000; z-index: 8; }
#afi .afi-glare {
  position: absolute; inset: 7px; border-radius: 47px; z-index: 7; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04) 20%, transparent 38%, transparent 72%, rgba(255, 255, 255, .06));
  opacity: 0;
}
#afi .afi-screen {
  position: absolute; left: 7px; top: 7px; width: 286px; height: 610px; border-radius: 47px;
  color: #17171c; font-family: var(--ui);
}
#afi .afi-glass { position: absolute; inset: 0; border-radius: 47px; background: #fff; opacity: 0; overflow: hidden; }
#afi .afi-glass::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fdf1f1); }
#afi .afi-ghost { position: absolute; inset: 0; border-radius: 47px; background: rgba(16, 14, 22, .0); pointer-events: none; z-index: 6; }

/* status bar */
#afi .afi-status { position: absolute; inset: 0 0 auto 0; height: 44px; z-index: 5; }
#afi .afi-time { position: absolute; left: 30px; top: 18px; font: 700 13.5px/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -.01em; }
#afi .afi-sicons { position: absolute; right: 26px; top: 18px; display: flex; gap: 5px; align-items: center; }
#afi .afi-sicons svg { height: 11px; width: auto; }

/* bottom nav */
#afi .afi-nav { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; z-index: 5; }
#afi .afi-navbg { position: absolute; inset: 0; border-radius: 0 0 47px 47px; background: #fff; box-shadow: 0 -1px 0 rgba(0, 0, 0, .05); }
#afi .afi-navi { position: absolute; top: 9px; width: 57px; display: flex; flex-direction: column; align-items: center; gap: 3px; color: #8d8d96; font: 500 9.5px/1 var(--ui); }
#afi .afi-navi svg { width: 21px; height: 21px; color: #f2a597; }
#afi .afi-navi.on { color: #f39586; font-weight: 700; }
#afi .afi-navi.on svg { color: #f39586; }
#afi .afi-homebar { position: absolute; left: 50%; bottom: 7px; width: 96px; height: 4px; margin-left: -48px; border-radius: 4px; background: #c9c9cf; z-index: 6; }

/* screens */
#afi .afi-scr { position: absolute; inset: 0; visibility: hidden; z-index: 3; }

/* explore */
#afi .afi-xtop { position: absolute; left: 12px; right: 12px; top: 48px; height: 32px; display: flex; align-items: center; justify-content: space-between; }
#afi .afi-cpick { display: flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border-radius: 999px; background: #fff3f1; font: 700 11.5px/1 var(--ui); color: #1b1b22; }
#afi .afi-cpick .afi-flag { width: 18px; height: 13px; border-radius: 3px; }
#afi .afi-cpick svg { width: 12px; height: 12px; color: #9a9aa3; }
#afi .afi-xicons { display: flex; gap: 10px; align-items: center; }
#afi .afi-xicons .afi-pinb { width: 22px; height: 22px; color: var(--pink); }
#afi .afi-xicons .afi-filt { width: 30px; height: 30px; border-radius: 50%; border: 1.6px solid #17171c; display: grid; place-items: center; }
#afi .afi-xicons .afi-filt svg { width: 16px; height: 16px; }
#afi .afi-card { position: absolute; width: 131px; border-radius: 13px; overflow: hidden; background: #e9e4e2; box-shadow: 0 6px 14px -8px rgba(0,0,0,.35); }
#afi .afi-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
#afi .afi-card .afi-cgrad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.72)); }
#afi .afi-card .afi-flag { position: absolute; left: 7px; top: 7px; width: 19px; height: 13px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
#afi .afi-cinfo { position: absolute; left: 8px; right: 6px; bottom: 7px; color: #fff; }
#afi .afi-cname { display: flex; align-items: center; gap: 3px; font: 800 11.5px/1.1 var(--ui); letter-spacing: -.01em; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
#afi .afi-cname i { width: 5px; height: 5px; border-radius: 50%; background: #c8c8cc; }
#afi .afi-ccity { font: 500 10px/1.3 var(--ui); opacity: .92; margin-top: 1px; }
#afi .afi-crow { display: flex; align-items: center; gap: 5px; margin-top: 5px; font: 600 8.5px/1 var(--ui); }
#afi .afi-crow .afi-seen { padding: 3px 6px; border: 1px solid rgba(255,255,255,.85); border-radius: 999px; }
#afi .afi-crow svg { width: 9px; height: 9px; }
#afi .afi-cacts { position: absolute; right: 5px; bottom: 34px; display: flex; gap: 3px; }
#afi .afi-cacts span { width: 20px; height: 20px; border-radius: 50%; background: var(--peach); color: #fff; display: grid; place-items: center; }
#afi .afi-cacts svg { width: 11px; height: 11px; }
#afi .afi-card.short .afi-cinfo, #afi .afi-card.short .afi-cacts { display: none; }
#afi .afi-card.short::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 35%, rgba(253,241,241,.95)); }

/* near — tiled photo card */
#afi .afi-tile { position: absolute; background-repeat: no-repeat; }
#afi .afi-ngrad { position: absolute; left: 8px; top: 46px; width: 270px; height: 494px; border-radius: 22px; background: linear-gradient(180deg, rgba(0,0,0,.18) 0, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 52%, rgba(20,8,6,.82)); pointer-events: none; }
#afi .afi-npager { position: absolute; left: 50%; top: 62px; margin-left: -14px; display: flex; gap: 4px; }
#afi .afi-npager i { width: 18px; height: 5px; border-radius: 4px; background: var(--peach); }
#afi .afi-npager i + i { width: 5px; background: rgba(255,255,255,.85); }
#afi .afi-nglass { position: absolute; right: 38px; top: 54px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; color: var(--pink); }
#afi .afi-nglass svg { width: 21px; height: 21px; }
#afi .afi-nkebab { position: absolute; right: 18px; top: 62px; color: #fff; }
#afi .afi-nkebab svg { width: 18px; height: 18px; }
#afi .afi-nname { position: absolute; left: 26px; top: 368px; font: 800 27px/1 var(--ui); color: #fff; letter-spacing: -.01em; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
#afi .afi-ndist { position: absolute; left: 96px; top: 408px; display: flex; align-items: center; gap: 5px; padding: 6px 11px 6px 9px; border-radius: 999px; background: rgba(255,255,255,.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font: 600 14px/1 var(--ui); }
#afi .afi-ndist svg { width: 11px; height: 11px; }
#afi .afi-ninfo { position: absolute; left: 172px; top: 405px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; color: #fff; }
#afi .afi-ninfo svg { width: 20px; height: 20px; }
#afi .afi-nact { position: absolute; top: 450px; width: 58px; height: 58px; border-radius: 50%; background: var(--peach); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(0,0,0,.5); }
#afi .afi-nact svg { width: 27px; height: 27px; }

/* globalist (date before you land) */
#afi .afi-hdr { position: absolute; left: 14px; right: 14px; top: 50px; height: 28px; display: flex; align-items: center; gap: 8px; font: 800 17px/1 var(--ui); }
#afi .afi-hdr svg { width: 18px; height: 18px; }
#afi .afi-hdr .afi-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border-radius: 999px; background: linear-gradient(135deg, #ffcf8a, #f39586); color: #fff; font: 800 9.5px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; }
#afi .afi-hdr .afi-badge svg { width: 11px; height: 11px; }
#afi .afi-ticket { position: absolute; left: 14px; top: 90px; width: 258px; height: 142px; border-radius: 20px; background: linear-gradient(140deg, #fbb9a9, #f3808c 60%, #e2587a); color: #fff; overflow: hidden; box-shadow: 0 14px 28px -14px rgba(226, 88, 122, .8); }
#afi .afi-ticket::before { content: ""; position: absolute; right: -40px; top: -50px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.13); }
#afi .afi-tk-l, #afi .afi-tk-r { position: absolute; top: 20px; }
#afi .afi-tk-l { left: 18px; }
#afi .afi-tk-r { right: 18px; text-align: right; }
#afi .afi-tk-l small, #afi .afi-tk-r small { display: block; font: 700 9px/1 var(--ui); letter-spacing: .14em; opacity: .85; }
#afi .afi-tk-l b, #afi .afi-tk-r b { display: block; font: 900 30px/1 var(--display); letter-spacing: -.02em; margin-top: 6px; }
#afi .afi-tk-l span, #afi .afi-tk-r span { display: block; font: 600 11px/1 var(--ui); opacity: .9; margin-top: 4px; }
#afi .afi-tk-path { position: absolute; left: 0; top: 0; width: 258px; height: 142px; overflow: visible; }
#afi .afi-tk-path path { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 2; stroke-dasharray: 3 5; }
#afi .afi-tk-plane { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; color: #fff; filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }
#afi .afi-tk-foot { position: absolute; left: 18px; right: 18px; bottom: 14px; display: flex; justify-content: space-between; font: 700 10px/1 var(--ui); opacity: .92; }
#afi .afi-loc { position: absolute; left: 14px; top: 244px; width: 258px; height: 58px; border-radius: 16px; background: #fff4f2; display: flex; align-items: center; gap: 10px; padding: 0 12px; }
#afi .afi-loc .afi-flag { width: 30px; height: 22px; border-radius: 5px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
#afi .afi-loc b { display: block; font: 800 13px/1.1 var(--ui); }
#afi .afi-loc small { display: block; font: 500 10.5px/1.2 var(--ui); color: #8b8b94; margin-top: 2px; }
#afi .afi-sw { position: relative; margin-left: auto; width: 40px; height: 24px; border-radius: 999px; background: #d9d9de; flex-shrink: 0; }
#afi .afi-sw i { position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
#afi .afi-sw, #afi .afi-sw i { transition: all .28s cubic-bezier(.34,1.56,.64,1); }
#afi .afi-sw.on { background: var(--peach-2); }
#afi .afi-sw.on i { left: 19px; }
#afi .afi-lbl { position: absolute; left: 16px; top: 316px; font: 800 13px/1 var(--ui); }
#afi .afi-lbl em { font-style: normal; color: var(--peach-2); }
#afi .afi-mini { position: absolute; top: 338px; width: 80px; height: 112px; border-radius: 13px; overflow: hidden; background: #eee; }
#afi .afi-mini img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
#afi .afi-mini::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.65)); }
#afi .afi-mini span { position: absolute; left: 7px; bottom: 6px; z-index: 1; color: #fff; font: 800 10.5px/1 var(--ui); }
#afi .afi-mini em { position: absolute; right: 5px; top: 5px; z-index: 1; padding: 3px 5px; border-radius: 6px; background: var(--peach-2); color: #fff; font: 800 8px/1 var(--ui); font-style: normal; letter-spacing: .04em; }
#afi .afi-pbtn { position: absolute; left: 14px; top: 466px; width: 258px; height: 46px; border-radius: 14px; background: var(--peach); color: #fff; display: flex; align-items: center; justify-content: center; gap: 7px; font: 800 14px/1 var(--ui); box-shadow: 0 10px 20px -12px rgba(243, 149, 134, .9); }
#afi .afi-pbtn svg { width: 16px; height: 16px; }

/* chat */
#afi .afi-chdr { position: absolute; left: 0; right: 0; top: 44px; height: 54px; display: flex; align-items: center; gap: 9px; padding: 0 14px; border-bottom: 1px solid #f0eff3; background: #fff; }
#afi .afi-chdr > svg { width: 20px; height: 20px; }
#afi .afi-ava { position: relative; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
#afi .afi-ava img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
#afi .afi-online { position: absolute; left: 50px; top: 33px; width: 10px; height: 10px; border-radius: 50%; background: #32c96b; border: 2px solid #fff; z-index: 1; }
#afi .afi-chdr b { display: block; font: 800 14.5px/1.1 var(--ui); }
#afi .afi-chdr small { display: block; font: 600 10.5px/1.2 var(--ui); color: #28b25f; margin-top: 1px; }
#afi .afi-chdr .afi-kb { margin-left: auto; width: 18px; height: 18px; color: #555; }
#afi .afi-today { position: absolute; left: 0; right: 0; margin: 0 auto; width: max-content; top: 108px; padding: 4px 10px; border-radius: 999px; background: #f4f3f7; font: 700 9.5px/1 var(--ui); color: #8b8b94; }
#afi .afi-thread { position: absolute; left: 12px; right: 12px; top: 132px; display: flex; flex-direction: column; gap: 6px; }
#afi .afi-bub { position: relative; max-width: 196px; padding: 9px 13px; border-radius: 18px; font: 500 13px/1.35 var(--ui); }
#afi .afi-bub.me { align-self: flex-end; background: linear-gradient(135deg, #fbae9e, #f2868a); color: #fff; border-bottom-right-radius: 6px; }
#afi .afi-bub.them { align-self: flex-start; background: #f2f1f6; color: #1d1d24; border-bottom-left-radius: 6px; }
#afi .afi-typing { display: flex; gap: 4px; padding: 12px 14px; }
#afi .afi-typing i { width: 6px; height: 6px; border-radius: 50%; background: #a8a7b1; }
#afi .afi-free { position: absolute; left: 0; right: 0; margin: 0 auto; width: max-content; top: 452px; display: flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: #fff0ed; color: #e0776a; font: 800 10px/1 var(--ui); white-space: nowrap; }
#afi .afi-free svg { width: 11px; height: 11px; }
#afi .afi-input { position: absolute; left: 12px; right: 12px; top: 482px; height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 5px 0 15px; border-radius: 999px; background: #f4f3f7; color: #9d9ca6; font: 500 12.5px/1 var(--ui); }
#afi .afi-input span { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: var(--peach-2); color: #fff; display: grid; place-items: center; }
#afi .afi-input svg { width: 15px; height: 15px; }

/* incognito / privacy */
#afi .afi-prof { position: absolute; left: 14px; top: 90px; width: 258px; height: 76px; border-radius: 18px; background: #fff4f2; display: flex; align-items: center; gap: 12px; padding: 0 14px; }
#afi .afi-me { position: relative; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #fbb9a9, #e2587a); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
#afi .afi-me svg { width: 24px; height: 24px; }
#afi .afi-prof b { display: block; font: 800 14px/1.1 var(--ui); }
#afi .afi-pstat { position: relative; height: 16px; margin-top: 4px; font: 700 11px/16px var(--ui); }
#afi .afi-pstat span { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
#afi .afi-pstat .s-on { color: #28b25f; }
#afi .afi-pstat .s-on i { width: 7px; height: 7px; border-radius: 50%; background: #32c96b; }
#afi .afi-pstat .s-off { color: var(--pink); opacity: 0; }
#afi .afi-pstat svg { width: 13px; height: 13px; }
#afi .afi-row { position: absolute; left: 14px; width: 258px; height: 60px; display: flex; align-items: center; gap: 11px; padding: 0 4px; border-bottom: 1px solid #f1f0f4; }
#afi .afi-row .afi-ric { width: 34px; height: 34px; border-radius: 11px; background: #fff0ed; color: var(--peach-2); display: grid; place-items: center; flex-shrink: 0; }
#afi .afi-row .afi-ric svg { width: 18px; height: 18px; }
#afi .afi-row b { display: block; font: 800 13px/1.15 var(--ui); }
#afi .afi-row small { display: block; font: 500 10.5px/1.25 var(--ui); color: #8b8b94; margin-top: 2px; }
#afi .afi-invis { position: absolute; left: 14px; top: 330px; width: 258px; height: 196px; border-radius: 20px; background: radial-gradient(120% 90% at 50% 0%, #fff1ee, #fff 70%); border: 1.5px dashed #f4b9ae; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; }
#afi .afi-invis .afi-eye { width: 66px; height: 66px; border-radius: 50%; background: linear-gradient(135deg, #fbb9a9, #e2587a); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 24px -10px rgba(226, 88, 122, .8); margin-bottom: 12px; }
#afi .afi-invis .afi-eye svg { width: 32px; height: 32px; }
#afi .afi-invis b { font: 900 18px/1.1 var(--display); letter-spacing: -.01em; }
#afi .afi-invis small { font: 500 11.5px/1.35 var(--ui); color: #85848e; margin-top: 6px; display: block; }

/* ==========================================================================
   Portrait / small screens
   ========================================================================== */
#afi.is-portrait .afi-copy { transform: none; text-align: center; }
#afi.is-portrait .afi-kicker { margin-bottom: 14px; font-size: 11px; padding: 6px 12px 6px 7px; }
#afi.is-portrait .afi-kicker b { min-width: 20px; height: 20px; font-size: 10px; }
#afi.is-portrait .afi-title { font-size: clamp(33px, 9.6vw, 54px); margin-bottom: 12px; }
#afi.is-portrait .afi-sub { font-size: 15px; line-height: 1.5; margin: 0 auto; max-width: 420px; }
#afi.is-portrait .afi-cta-row { justify-content: center; margin-top: 18px; gap: 12px; }
#afi.is-portrait .afi-cta-row .afi-btn { padding: 15px 26px; font-size: 16px; }
#afi.is-portrait .afi-micro { justify-content: center; margin-top: 14px; font-size: 12px; }
#afi.is-portrait .afi-cta-copy .afi-sub { display: none; }
#afi.is-portrait .afi-hook { font-size: clamp(40px, 11.5vw, 110px); }
#afi.is-portrait .afi-countries { padding: 76px 16px 56px; }
#afi.is-portrait .afi-countries .afi-title { font-size: clamp(32px, 9vw, 52px); margin-bottom: 10px; }
#afi.is-portrait .afi-countries .afi-sub { font-size: 14.5px; margin-bottom: 22px; }
#afi.is-portrait .afi-cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 460px; }
#afi.is-portrait .afi-country { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 18px; }
#afi.is-portrait .afi-country .afi-flag { width: 44px; height: 33px; border-radius: 6px; }
#afi.is-portrait .afi-country b { font-size: 19px; }
#afi.is-portrait .afi-country small { font-size: 11px; margin-top: 3px; white-space: normal; }
#afi.is-portrait .afi-stamp { font-size: 52px; padding: 8px 16px 10px; border-width: 4px; border-radius: 16px; }
#afi.is-portrait .afi-stamp small { font-size: 10px; }
#afi.is-portrait .afi-chip { padding: 7px 12px 7px 7px; border-radius: 15px; gap: 8px; }
#afi.is-portrait .afi-chip i { width: 28px; height: 28px; border-radius: 10px; }
#afi.is-portrait .afi-chip b { font-size: 12px; }
#afi.is-portrait .afi-chip small { font-size: 10.5px; }
#afi.is-portrait .afi-btn.afi-topcta { padding: 10px 16px; font-size: 13px; }
#afi.is-portrait .afi-skip { right: 14px; bottom: 14px; padding: 8px 12px 8px 14px; font-size: 12px; }
#afi.is-short .afi-sub { display: none; }
#afi.is-short .afi-countries .afi-sub { display: none; }
#afi.is-short .afi-rating { display: none; }
