/* ============================================================
   VIBEX — vibex-tinder.css
   Swipe deck redesign. "Dark neon silk night."
   Mobile-first. Assumes --vx-* tokens from vibex-design-system.css.
   (Tokens are guaranteed by the host; see preview for standalone defs.)
   Every gradient ships a literal fallback per the brief.
   ============================================================ */

/* spring + easing curves used everywhere */
:root {
  --vx-spring: cubic-bezier(.34, 1.56, .64, 1);
  --vx-out: cubic-bezier(.22, .61, .36, 1);
  --vx-pass: #6b7280;
  --vx-gold: #ffd700;
  --vx-gold-2: #ff9100;
  --vx-online: #2ecc71;
}

* { box-sizing: border-box; }

/* ---------- root container ---------- */
.vx-tinder {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  min-height: 100vh;
  background: var(--vx-bg, #0a0612);
  color: var(--vx-text, #fff);
  font-family: "Manrope", system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
}

/* ambient neon haze behind the deck */
.vx-tinder__ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 72% 12%, rgba(168, 85, 247, .22), transparent 60%),
    radial-gradient(55% 45% at 20% 82%, rgba(255, 45, 126, .18), transparent 62%),
    radial-gradient(40% 35% at 90% 80%, rgba(22, 224, 255, .1), transparent 60%);
  animation: vx-haze 16s ease-in-out infinite alternate;
}
@keyframes vx-haze {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: .9; }
  to { transform: translate3d(0, -2%, 0) scale(1.06); opacity: 1; }
}

.vx-tinder__col {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(420px, 92vw);
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 0 max(18px, env(safe-area-inset-bottom));
}

/* ============================================================
   HEADER
   ============================================================ */
.vx-tndr-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  background: linear-gradient(180deg, rgba(10, 6, 18, .85), rgba(10, 6, 18, .35) 70%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.vx-tndr-logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2.5px;
  background: var(--vx-grad, linear-gradient(135deg, #ff2d7e, #a855f7));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.vx-tndr-logo svg { color: var(--vx-pink, #ff2d7e); }
.vx-tndr-header__right { display: flex; align-items: center; gap: 9px; }

.vx-tndr-stat {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 13px;
  border-radius: 50px;
  background: var(--vx-glass, rgba(255, 255, 255, .04));
  border: 1px solid var(--vx-border, rgba(255, 255, 255, .08));
  color: var(--vx-text, #fff);
  font-weight: 700;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.vx-tndr-stat:hover { border-color: var(--vx-border-strong, rgba(255, 255, 255, .16)); transform: translateY(-1px); }
.vx-tndr-stat--vibes svg { color: var(--vx-cyan, #16e0ff); filter: drop-shadow(0 0 6px rgba(22, 224, 255, .5)); }
.vx-tndr-stat--vibes { animation: vx-vibes-glow 3s ease-in-out infinite; }
@keyframes vx-vibes-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 224, 255, 0); }
  50% { box-shadow: 0 0 16px -4px rgba(22, 224, 255, .4); }
}
.vx-tndr-stat--matches svg { color: var(--vx-pink, #ff2d7e); }
.vx-tndr-stat__dot {
  position: absolute;
  top: 5px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vx-pink, #ff2d7e);
  border: 1.5px solid var(--vx-bg, #0a0612);
  box-shadow: 0 0 8px var(--vx-pink, #ff2d7e);
}

/* ============================================================
   BOOST BAR (active boost)
   ============================================================ */
.vx-tndr-boostbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 2px 0;
  padding: 9px 14px;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #ffe9c2;
  background: linear-gradient(135deg, rgba(255, 145, 0, .18), rgba(255, 215, 0, .08));
  border: 1px solid rgba(255, 145, 0, .35);
  box-shadow: 0 0 24px -8px rgba(255, 145, 0, .6);
  overflow: hidden;
}
.vx-tndr-boostbar svg { color: var(--vx-gold, #ffd700); flex: none; }
.vx-tndr-boostbar__track { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.vx-tndr-boostbar__fill { height: 100%; width: 75%; border-radius: 4px; background: linear-gradient(90deg, var(--vx-gold, #ffd700), var(--vx-gold-2, #ff9100)); }
.vx-tndr-boostbar__time { font-variant-numeric: tabular-nums; color: #fff; }
[hidden] { display: none !important; }

/* ============================================================
   STAGE (card stack)
   ============================================================ */
.vx-tndr-stage {
  position: relative;
  flex: 1;
  margin: 12px 2px 0;
  min-height: 0;
  perspective: 1400px;
}
.vx-tndr-stage__inner {
  position: absolute;
  inset: 0;
}

/* ---------- profile card ---------- */
.vx-pcard {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--vx-bg-elev, #14091f);
  border: 1px solid var(--vx-border, rgba(255, 255, 255, .08));
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .85), 0 2px 0 0 rgba(255, 255, 255, .04) inset;
  transform-origin: center bottom;
  will-change: transform;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
/* stack depth — set inline by JS via --i (0 = top) */
.vx-pcard {
  transform: translateY(calc(var(--i, 0) * 7px)) scale(calc(1 - var(--i, 0) * .04));
  transition: transform .42s var(--vx-spring), box-shadow .4s var(--vx-out), opacity .3s;
  opacity: calc(1 - var(--i, 0) * .12);
}
.vx-pcard[data-i="0"] { z-index: 5; }
.vx-pcard[data-i="1"] { z-index: 4; }
.vx-pcard[data-i="2"] { z-index: 3; }
.vx-pcard[data-i="3"] { z-index: 2; opacity: 0; }
.vx-pcard.is-dragging { transition: none; }
/* idle breath only on the very top, resting card */
.vx-pcard[data-i="0"].is-idle { animation: vx-breath 5s ease-in-out infinite; }
@keyframes vx-breath {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1); }
}

/* photos */
.vx-pcard__photos { position: absolute; inset: 0; z-index: 0; background: var(--vx-bg-deep, #050309); }
.vx-pcard__photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity .24s var(--vx-out), filter .24s var(--vx-out);
  filter: blur(2px);
}
.vx-pcard__photo.is-active { opacity: 1; filter: blur(0); }
.vx-pcard[data-i="0"] .vx-pcard__photo.is-active { animation: vx-kenburns 9s ease-in-out infinite alternate; }
@keyframes vx-kenburns { from { transform: scale(1.001); } to { transform: scale(1.06); } }
/* vignette + readability scrim */
.vx-pcard__photos::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 6, 18, .35) 0%, transparent 18%, transparent 46%, rgba(10, 6, 18, .55) 74%, rgba(10, 6, 18, .96) 100%);
  pointer-events: none;
}

/* segmented progress */
.vx-pcard__progress {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  z-index: 6;
  display: flex;
  gap: 4px;
  height: 3px;
}
.vx-pcard__progress span {
  flex: 1;
  border-radius: 3px;
  background: rgba(255, 255, 255, .28);
  transition: background .3s;
}
.vx-pcard__progress span.is-on { background: #fff; box-shadow: 0 0 6px rgba(255, 255, 255, .5); }
.vx-pcard__progress[data-single] { display: none; }

/* tap zones for gallery nav */
.vx-pcard__tap {
  position: absolute;
  top: 60px;
  bottom: 38%;
  width: 38%;
  z-index: 4;
  background: none;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.vx-pcard__tap--prev { left: 0; }
.vx-pcard__tap--next { right: 0; }

/* top badges */
.vx-pcard__badges {
  position: absolute;
  top: 22px;
  left: 14px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
}
.vx-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.vx-chip svg { width: 13px; height: 13px; flex: none; }
.vx-chip--boost {
  color: #2b1a00;
  background: linear-gradient(135deg, var(--vx-gold, #ffd700), var(--vx-gold-2, #ff9100));
  box-shadow: 0 0 18px -3px rgba(255, 145, 0, .8);
  animation: vx-boostpulse 1.8s ease-in-out infinite;
}
@keyframes vx-boostpulse {
  0%, 100% { box-shadow: 0 0 16px -4px rgba(255, 145, 0, .7); }
  50% { box-shadow: 0 0 26px 0 rgba(255, 145, 0, .95); }
}
.vx-chip--verified { color: var(--vx-cyan, #16e0ff); background: rgba(22, 224, 255, .12); border: 1px solid rgba(22, 224, 255, .4); }
.vx-chip--creator {
  color: #fff;
  background: linear-gradient(135deg, rgba(168, 85, 247, .9), rgba(124, 58, 237, .85));
  box-shadow: 0 0 16px -4px rgba(168, 85, 247, .8);
}

.vx-pcard__menu {
  position: absolute;
  top: 22px;
  right: 14px;
  z-index: 6;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(10, 6, 18, .4);
  border: 1px solid var(--vx-border, rgba(255, 255, 255, .08));
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background .2s;
}
.vx-pcard__menu:hover { background: rgba(10, 6, 18, .7); }

/* swipe stamps */
.vx-pcard__stamp {
  position: absolute;
  z-index: 7;
  top: 34px;
  padding: 9px 20px;
  border-radius: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 1px;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vx-pcard__stamp--like { right: 22px; transform: rotate(-15deg) scale(.8); color: var(--vx-pink, #ff2d7e); border: 3px solid var(--vx-pink, #ff2d7e); text-shadow: 0 0 18px rgba(255, 45, 126, .7); box-shadow: 0 0 24px -6px rgba(255, 45, 126, .6); }
.vx-pcard__stamp--nope { left: 22px; transform: rotate(15deg) scale(.8); color: #9aa3af; border: 3px solid #9aa3af; }
.vx-pcard__stamp--super {
  left: 50%; top: 26%; translate: -50% 0; transform: scale(.8);
  color: var(--vx-cyan, #16e0ff); border: 3px solid var(--vx-cyan, #16e0ff);
  text-shadow: 0 0 18px rgba(22, 224, 255, .8); box-shadow: 0 0 30px -4px rgba(22, 224, 255, .7);
}

/* info panel */
.vx-pcard__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 18px 18px 20px;
  cursor: pointer;
}
.vx-pcard__nameline { display: flex; align-items: center; gap: 9px; }
.vx-pcard__name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -.01em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .5);
}
.vx-pcard__name b { font-weight: 500; opacity: .92; }
.vx-online {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--vx-online, #2ecc71);
  box-shadow: 0 0 0 0 rgba(46, 204, 113, .6);
  animation: vx-onlinepulse 2.4s ease-out infinite;
  flex: none;
}
@keyframes vx-onlinepulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, .55); }
  70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
.vx-pcard__affinity {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--vx-pink, #ff2d7e);
  padding: 4px 9px;
  border-radius: 50px;
  background: rgba(255, 45, 126, .12);
  border: 1px solid rgba(255, 45, 126, .3);
  animation: vx-affinity 2.2s ease-in-out infinite;
}
@keyframes vx-affinity { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.vx-pcard__meta {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--vx-text-dim, rgba(255, 255, 255, .6));
  display: flex;
  align-items: center;
  gap: 6px;
}
.vx-pcard__meta svg { width: 14px; height: 14px; opacity: .8; }
.vx-pcard__bio {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .82);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vx-pcard__tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.vx-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 6px 11px;
  border-radius: 50px;
  color: #fff;
  background: var(--vx-glass-strong, rgba(255, 255, 255, .08));
  border: 1px solid var(--vx-border, rgba(255, 255, 255, .08));
  backdrop-filter: blur(8px);
}
.vx-tag--more { color: var(--vx-text-dim, rgba(255, 255, 255, .6)); }
.vx-pcard__expand {
  position: absolute;
  top: -14px;
  left: 50%;
  translate: -50% 0;
  width: 44px;
  height: 28px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .7);
  background: none;
  border: 0;
  cursor: pointer;
  animation: vx-bob 2.4s ease-in-out infinite;
}
@keyframes vx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* ============================================================
   ACTION BAR
   ============================================================ */
.vx-tndr-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 0 6px;
  z-index: 20;
}
.vx-act {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--vx-glass, rgba(255, 255, 255, .04));
  border: 1px solid var(--vx-border-strong, rgba(255, 255, 255, .16));
  color: var(--vx-text-dim, rgba(255, 255, 255, .6));
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .18s var(--vx-spring), box-shadow .25s, border-color .2s, color .2s, background .25s;
  box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .8);
}
.vx-act svg { width: 44%; height: 44%; }
.vx-act:active { transform: scale(.85); }
.vx-act--rewind { width: 50px; height: 50px; }
.vx-act--pass { width: 60px; height: 60px; }
.vx-act--super { width: 56px; height: 56px; color: #fff; background: var(--vx-grad-cool, linear-gradient(135deg, #16e0ff, #a855f7)); border-color: transparent; box-shadow: 0 8px 24px -8px rgba(22, 224, 255, .6); }
.vx-act--like { width: 60px; height: 60px; color: #fff; background: var(--vx-grad, linear-gradient(135deg, #ff2d7e, #a855f7)); border-color: transparent; box-shadow: 0 8px 24px -8px rgba(255, 45, 126, .6); }
.vx-act--boost { width: 50px; height: 50px; color: var(--vx-gold, #ffd700); box-shadow: 0 0 22px -8px rgba(255, 145, 0, .7); }

.vx-act--rewind:hover { transform: translateY(-3px); color: #fff; border-color: rgba(255, 255, 255, .3); }
.vx-act--pass:hover { transform: translateY(-3px); color: #ff5a6e; border-color: rgba(255, 90, 110, .5); box-shadow: 0 10px 26px -10px rgba(255, 90, 110, .5); }
.vx-act--super:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 12px 30px -8px rgba(22, 224, 255, .8); }
.vx-act--like:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 12px 30px -8px rgba(255, 45, 126, .85); }
.vx-act--boost:hover { transform: translateY(-3px); color: var(--vx-gold-2, #ff9100); box-shadow: 0 0 30px -6px rgba(255, 145, 0, .9); }

.vx-tndr-actions.is-disabled { opacity: .4; pointer-events: none; }

/* ripple */
.vx-act__ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}
.vx-act.is-pinged .vx-act__ripple { animation: vx-ripple .5s var(--vx-out); }
@keyframes vx-ripple {
  0% { opacity: .6; box-shadow: 0 0 0 0 currentColor; }
  100% { opacity: 0; box-shadow: 0 0 0 18px transparent; }
}

/* ============================================================
   SKELETON
   ============================================================ */
.vx-skel {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--vx-bg-elev, #14091f);
  border: 1px solid var(--vx-border, rgba(255, 255, 255, .08));
}
.vx-skel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .07) 40%, rgba(255, 255, 255, .12) 50%, rgba(255, 255, 255, .07) 60%, transparent 80%);
  transform: translateX(-100%);
  animation: vx-shimmer 1.4s linear infinite;
}
@keyframes vx-shimmer { to { transform: translateX(100%); } }
.vx-skel__info { position: absolute; left: 18px; right: 18px; bottom: 22px; display: grid; gap: 10px; }
.vx-skel__line { height: 14px; border-radius: 7px; background: rgba(255, 255, 255, .06); }
.vx-skel__line--lg { height: 26px; width: 60%; }
.vx-skel__line--sm { width: 40%; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.vx-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 26px;
  border-radius: 28px;
  background: radial-gradient(80% 60% at 50% 30%, rgba(168, 85, 247, .14), transparent 65%), var(--vx-bg-elev, #14091f);
  border: 1px solid var(--vx-border, rgba(255, 255, 255, .08));
}
.vx-empty__moon {
  width: 96px; height: 96px;
  margin-bottom: 26px;
  color: var(--vx-violet, #a855f7);
  filter: drop-shadow(0 0 28px rgba(168, 85, 247, .6));
  animation: vx-float 5s ease-in-out infinite;
}
@keyframes vx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.vx-empty h2 { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 26px; margin: 0 0 12px; }
.vx-empty p { font-size: 15px; line-height: 1.55; color: var(--vx-text-dim, rgba(255, 255, 255, .6)); margin: 0 0 26px; max-width: 280px; }
.vx-empty__actions { display: grid; gap: 12px; width: 100%; max-width: 280px; }

.vx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 22px;
  border-radius: 50px;
  cursor: pointer;
  transition: transform .2s var(--vx-spring), box-shadow .25s, border-color .2s, background .2s;
  border: 1px solid transparent;
}
.vx-btn--primary { color: #fff; background: var(--vx-grad, linear-gradient(135deg, #ff2d7e, #a855f7)); box-shadow: 0 10px 30px -10px rgba(255, 45, 126, .7); }
.vx-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(255, 45, 126, .8); }
.vx-btn--ghost { color: #fff; background: var(--vx-glass, rgba(255, 255, 255, .04)); border-color: var(--vx-border-strong, rgba(255, 255, 255, .16)); }
.vx-btn--ghost:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .3); }
.vx-btn--cyan { color: #04222b; background: var(--vx-grad-cool, linear-gradient(135deg, #16e0ff, #a855f7)); box-shadow: 0 10px 30px -10px rgba(22, 224, 255, .6); }
.vx-btn svg { width: 18px; height: 18px; }

/* ============================================================
   MODAL SHELL (limit / boost)
   ============================================================ */
.vx-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  color: var(--vx-text, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--vx-out);
}
.vx-modal.is-open { opacity: 1; pointer-events: auto; }
.vx-modal__scrim { position: absolute; inset: 0; background: rgba(5, 3, 9, .82); backdrop-filter: blur(8px); }
.vx-modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  border-radius: 26px;
  padding: 34px 26px 26px;
  text-align: center;
  background: linear-gradient(180deg, rgba(26, 14, 38, .96), rgba(10, 6, 18, .98));
  border: 1px solid var(--vx-border-strong, rgba(255, 255, 255, .16));
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9);
  transform: translateY(24px) scale(.96);
  transition: transform .4s var(--vx-spring);
}
.vx-modal.is-open .vx-modal__card { transform: none; }
.vx-modal__bolts { display: flex; justify-content: center; gap: 6px; color: var(--vx-cyan, #16e0ff); margin-bottom: 20px; filter: drop-shadow(0 0 14px rgba(22, 224, 255, .7)); }
.vx-modal__bolts svg { width: 34px; height: 34px; }
.vx-modal__bolts svg:nth-child(1) { animation: vx-boltjig 1.4s ease-in-out infinite; }
.vx-modal__bolts svg:nth-child(2) { animation: vx-boltjig 1.4s ease-in-out .15s infinite; transform: scale(1.2); }
.vx-modal__bolts svg:nth-child(3) { animation: vx-boltjig 1.4s ease-in-out .3s infinite; }
@keyframes vx-boltjig { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.vx-modal h2 { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 25px; line-height: 1.12; margin: 0 0 12px; }
.vx-modal p { font-size: 14.5px; line-height: 1.5; color: var(--vx-text-dim, rgba(255, 255, 255, .6)); margin: 0 0 24px; }
.vx-modal__cta { display: grid; gap: 11px; }
.vx-modal__upsell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px;
  border-radius: 16px;
  color: #fff;
  background: var(--vx-grad, linear-gradient(135deg, #ff2d7e, #a855f7));
  box-shadow: 0 12px 34px -10px rgba(255, 45, 126, .7);
  cursor: pointer;
  border: 0;
  transition: transform .2s var(--vx-spring);
}
.vx-modal__upsell:hover { transform: translateY(-2px); }
.vx-modal__upsell b { font-size: 16px; font-weight: 800; }
.vx-modal__upsell span { font-size: 12.5px; opacity: .85; }
.vx-modal__link { background: none; border: 0; color: var(--vx-text-dim, rgba(255, 255, 255, .6)); font-size: 14px; font-weight: 600; padding: 10px; cursor: pointer; transition: color .2s; margin-top: 4px; }
.vx-modal__link:hover { color: #fff; }

/* ============================================================
   MATCH MODAL
   ============================================================ */
.vx-match {
  position: fixed;
  inset: 0;
  z-index: 300;
  color: var(--vx-text, #fff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(70% 50% at 50% 40%, rgba(168, 85, 247, .25), transparent 70%), rgba(5, 3, 9, 0);
  transition: opacity .4s var(--vx-out), background .5s;
}
.vx-match.is-open { opacity: 1; pointer-events: auto; background: radial-gradient(70% 50% at 50% 40%, rgba(168, 85, 247, .28), transparent 70%), rgba(5, 3, 9, .92); }
.vx-match__particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.vx-particle {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  opacity: 0;
}
.vx-match.is-open .vx-particle { animation: vx-burst .9s var(--vx-out) forwards; }
@keyframes vx-burst {
  0% { opacity: 1; transform: translate(0, 0) scale(.4) rotate(0); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1) rotate(var(--dr)); }
}
.vx-match__heading {
  position: relative;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 13vw, 60px);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 4px 0 0;
  background: var(--vx-grad, linear-gradient(135deg, #ff2d7e, #a855f7));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  min-height: 1.1em;
}
.vx-match__heading::after { content: "|"; -webkit-text-fill-color: var(--vx-pink, #ff2d7e); color: var(--vx-pink, #ff2d7e); animation: vx-caret 1s steps(1) infinite; }
.vx-match__heading.is-done::after { content: ""; }
@keyframes vx-caret { 50% { opacity: 0; } }

.vx-match__avatars { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 22px; }
.vx-match__av {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 3px solid #fff;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8);
  transform: scale(0);
}
.vx-match.is-open .vx-match__av--a { animation: vx-pop .6s var(--vx-spring) .1s forwards; }
.vx-match.is-open .vx-match__av--b { animation: vx-pop .6s var(--vx-spring) .22s forwards; }
@keyframes vx-pop { to { transform: scale(1); } }
.vx-match__heart {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--vx-grad, linear-gradient(135deg, #ff2d7e, #a855f7));
  box-shadow: 0 0 28px -2px rgba(255, 45, 126, .9);
  transform: scale(0);
}
.vx-match.is-open .vx-match__heart { animation: vx-pop .5s var(--vx-spring) .4s forwards, vx-heartbeat 1.2s ease-in-out .9s infinite; }
@keyframes vx-heartbeat { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.14); } }
.vx-match__names { font-size: 15px; color: var(--vx-text-dim, rgba(255, 255, 255, .6)); margin-bottom: 4px; }
.vx-match__names b { color: #fff; font-weight: 700; }
.vx-match__sub { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .85); text-align: center; max-width: 320px; margin: 14px 0 28px; }
.vx-match__cta { width: 100%; max-width: 320px; display: grid; gap: 12px; transform: translateY(50px); opacity: 0; }
.vx-match.is-open .vx-match__cta { animation: vx-slideup .5s var(--vx-out) .55s forwards; }
@keyframes vx-slideup { to { transform: none; opacity: 1; } }
.vx-match__msg { display: flex; flex-direction: column; gap: 2px; padding: 15px; border-radius: 16px; color: #fff; background: var(--vx-grad, linear-gradient(135deg, #ff2d7e, #a855f7)); box-shadow: 0 14px 40px -10px rgba(255, 45, 126, .8); border: 0; cursor: pointer; transition: transform .2s var(--vx-spring); }
.vx-match__msg:hover { transform: translateY(-2px); }
.vx-match__msg b { font-size: 16px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.vx-match__msg span { font-size: 12.5px; opacity: .85; }

/* ============================================================
   PROFILE EXPAND SHEET
   ============================================================ */
.vx-sheet {
  position: fixed;
  inset: 0;
  z-index: 250;
  color: var(--vx-text, #fff);
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--vx-out);
}
.vx-sheet.is-open { opacity: 1; pointer-events: auto; }
.vx-sheet__scrim { position: absolute; inset: 0; background: rgba(5, 3, 9, .7); backdrop-filter: blur(6px); }
.vx-sheet__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(420px, 92vw);
  margin: 0 auto;
  max-height: 86vh;
  overflow-y: auto;
  border-radius: 28px 28px 0 0;
  background: var(--vx-bg-elev, #14091f);
  border: 1px solid var(--vx-border, rgba(255, 255, 255, .08));
  border-bottom: 0;
  transform: translateY(100%);
  transition: transform .42s var(--vx-spring);
  -webkit-overflow-scrolling: touch;
}
.vx-sheet.is-open .vx-sheet__panel { transform: none; }
.vx-sheet__grab { width: 40px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); margin: 12px auto 4px; }
.vx-sheet__head { display: flex; align-items: center; gap: 14px; padding: 14px 20px 18px; }
.vx-sheet__av { width: 64px; height: 64px; border-radius: 50%; background-size: cover; background-position: center; border: 2px solid var(--vx-border-strong, rgba(255,255,255,.16)); flex: none; }
.vx-sheet__id { flex: 1; min-width: 0; }
.vx-sheet__name { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 22px; display: flex; align-items: center; gap: 8px; }
.vx-sheet__loc { font-size: 13.5px; color: var(--vx-text-dim, rgba(255, 255, 255, .6)); margin-top: 3px; }
.vx-sheet__quick { display: flex; gap: 10px; padding: 0 20px 18px; }
.vx-sheet__qbtn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 46px; border-radius: 14px; font-weight: 700; font-size: 14px; cursor: pointer; color: #fff;
  background: var(--vx-glass-strong, rgba(255, 255, 255, .08)); border: 1px solid var(--vx-border, rgba(255, 255, 255, .08));
  transition: transform .2s var(--vx-spring), border-color .2s;
}
.vx-sheet__qbtn:hover { transform: translateY(-2px); }
.vx-sheet__qbtn--like { background: var(--vx-grad, linear-gradient(135deg, #ff2d7e, #a855f7)); border-color: transparent; }
.vx-sheet__qbtn--super { background: var(--vx-grad-cool, linear-gradient(135deg, #16e0ff, #a855f7)); border-color: transparent; color: #04222b; }
.vx-sheet__section { padding: 0 20px 22px; }
.vx-sheet__section h4 { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--vx-text-muted, rgba(255, 255, 255, .35)); margin: 0 0 10px; font-weight: 700; }
.vx-sheet__bio { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .85); margin: 0; }
.vx-sheet__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vx-sheet__photos div { aspect-ratio: 1; border-radius: 14px; background-size: cover; background-position: center; }
.vx-sheet__common { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.vx-sheet__common li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: rgba(255, 255, 255, .85); }
.vx-sheet__common svg { color: var(--vx-pink, #ff2d7e); width: 16px; height: 16px; flex: none; }
.vx-sheet__foot { display: flex; gap: 22px; padding: 4px 20px 28px; }
.vx-sheet__foot button { background: none !important; border: 0; color: var(--vx-text-muted, rgba(255, 255, 255, .35)); font-size: 13.5px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.vx-sheet__foot button:hover { color: #ff5a6e; }

/* ============================================================
   ACTION SHEET (report / block)
   ============================================================ */
.vx-asheet {
  position: fixed; inset: 0; z-index: 260; display: flex; align-items: flex-end;
  color: var(--vx-text, #fff);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.vx-asheet.is-open { opacity: 1; pointer-events: auto; }
.vx-asheet__scrim { position: absolute; inset: 0; background: rgba(5, 3, 9, .6); }
.vx-asheet__panel {
  position: relative; z-index: 1; width: 100%; max-width: min(420px, 92vw); margin: 0 auto 10px;
  background: var(--vx-bg-elev, #14091f); border: 1px solid var(--vx-border, rgba(255, 255, 255, .08));
  border-radius: 20px; padding: 8px; transform: translateY(20px); transition: transform .3s var(--vx-spring);
}
.vx-asheet.is-open .vx-asheet__panel { transform: none; }
.vx-asheet__item { width: 100%; text-align: left; background: none; border: 0; color: #fff; font-size: 15px; font-weight: 600; padding: 15px 16px; border-radius: 14px; cursor: pointer; display: flex; align-items: center; gap: 12px; transition: background .2s; }
.vx-asheet__item:hover { background: var(--vx-glass, rgba(255, 255, 255, .04)); }
.vx-asheet__item--danger { color: #ff5a6e; }
.vx-asheet__item--cancel { justify-content: center; color: var(--vx-text-dim, rgba(255, 255, 255, .6)); margin-top: 2px; }

/* ============================================================
   ONBOARDING HINTS
   ============================================================ */
.vx-onb {
  position: fixed; inset: 0; z-index: 280; display: flex; align-items: center; justify-content: center;
  color: var(--vx-text, #fff);
  background: rgba(5, 3, 9, .85); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .35s;
}
.vx-onb.is-open { opacity: 1; pointer-events: auto; }
.vx-onb__card { text-align: center; max-width: 300px; padding: 26px; }
.vx-onb__ic { width: 78px; height: 78px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; }
.vx-onb__ic--right { background: var(--vx-grad, linear-gradient(135deg, #ff2d7e, #a855f7)); box-shadow: 0 0 36px -6px rgba(255, 45, 126, .8); }
.vx-onb__ic--up { background: var(--vx-grad-cool, linear-gradient(135deg, #16e0ff, #a855f7)); box-shadow: 0 0 36px -6px rgba(22, 224, 255, .8); }
.vx-onb__ic--left { background: rgba(255, 255, 255, .08); border: 1px solid var(--vx-border-strong, rgba(255, 255, 255, .16)); }
.vx-onb__ic svg { width: 38px; height: 38px; }
.vx-onb h3 { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 24px; margin: 0 0 10px; }
.vx-onb p { font-size: 15px; color: var(--vx-text-dim, rgba(255, 255, 255, .6)); line-height: 1.5; margin: 0 0 26px; }
.vx-onb__dots { display: flex; justify-content: center; gap: 7px; margin-bottom: 22px; }
.vx-onb__dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .25); transition: width .25s, background .25s; }
.vx-onb__dots span.is-on { width: 20px; border-radius: 50px; background: var(--vx-pink, #ff2d7e); }

/* ============================================================
   LANGUAGE TOGGLE
   ============================================================ */
.vx-lang {
  position: fixed;
  right: 16px;
  bottom: 14px;
  z-index: 40;
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 4px;
  border-radius: 50px;
  background: rgba(10, 6, 18, .8);
  border: 1px solid var(--vx-border, rgba(255, 255, 255, .08));
  backdrop-filter: blur(14px);
  font-weight: 700;
  font-size: 12px;
}
.vx-lang button { background: none !important; border: 0; color: var(--vx-text-muted, rgba(255, 255, 255, .35)); padding: 5px 8px; border-radius: 50px; cursor: pointer; transition: color .2s, background .2s; }
.vx-lang button.is-active { background: var(--vx-pink, #ff2d7e) !important; color: #fff; }
.vx-lang span { color: var(--vx-text-muted, rgba(255, 255, 255, .35)); }

/* toast */
.vx-toast {
  position: fixed; left: 50%; bottom: 92px; transform: translate(-50%, 140%);
  z-index: 320; color: var(--vx-text, #fff); background: rgba(26, 14, 38, .97); border: 1px solid var(--vx-border-strong, rgba(255,255,255,.16));
  backdrop-filter: blur(18px); padding: 12px 18px; border-radius: 14px; font-size: 13.5px; font-weight: 600;
  box-shadow: 0 18px 50px -16px rgba(0, 0, 0, .8); transition: transform .4s var(--vx-spring); max-width: 86vw;
  display: flex; align-items: center; gap: 9px;
}
.vx-toast.is-show { transform: translate(-50%, 0); }
.vx-toast svg { width: 18px; height: 18px; color: var(--vx-pink, #ff2d7e); flex: none; }

/* ---------- explicit icon sizing (inline SVGs ship no width/height attr) ---------- */
.vx-tndr-logo svg { width: 15px; height: 15px; }
.vx-tndr-stat svg { width: 16px; height: 16px; }
.vx-tndr-boostbar > svg { width: 16px; height: 16px; }
.vx-pcard__menu svg { width: 18px; height: 18px; }
.vx-pcard__expand svg { width: 22px; height: 18px; }
.vx-pcard__stamp svg { width: 22px; height: 22px; }
.vx-empty__moon svg { width: 100%; height: 100%; }
.vx-match__msg svg { width: 18px; height: 18px; }
.vx-sheet__loc svg { width: 13px; height: 13px; vertical-align: -1px; }
.vx-sheet__qbtn svg { width: 17px; height: 17px; }
.vx-sheet__foot button svg { width: 15px; height: 15px; }
.vx-asheet__item svg { width: 19px; height: 19px; }

/* focus visibility */
.vx-tinder :focus-visible,
.vx-match :focus-visible,
.vx-modal :focus-visible,
.vx-sheet :focus-visible { outline: 2px solid var(--vx-cyan, #16e0ff); outline-offset: 4px; }

/* ============================================================
   DESKTOP
   ============================================================ */
@media (min-width: 1024px) {
  .vx-tinder__col { max-width: 440px; }
  .vx-tndr-stage { margin-top: 18px; }
  /* side rails */
  .vx-rail { position: fixed; top: 50%; translate: 0 -50%; z-index: 2; display: flex; flex-direction: column; gap: 12px; }
  .vx-rail--next { left: max(24px, calc(50% - 440px)); }
  .vx-rail--matches { right: max(24px, calc(50% - 440px)); }
  .vx-rail__label { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--vx-text-muted, rgba(255,255,255,.35)); font-weight: 700; text-align: center; margin-bottom: 4px; }
  .vx-rail__av { width: 56px; height: 56px; border-radius: 50%; background-size: cover; background-position: center; border: 2px solid var(--vx-border, rgba(255,255,255,.08)); position: relative; }
  .vx-rail--next .vx-rail__av { opacity: .55; }
  .vx-rail--matches .vx-rail__av { cursor: pointer; transition: transform .2s var(--vx-spring), border-color .2s; }
  .vx-rail--matches .vx-rail__av:hover { transform: scale(1.08); border-color: var(--vx-pink, #ff2d7e); }
  .vx-rail--matches .vx-rail__av::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--vx-online, #2ecc71); border: 2px solid var(--vx-bg, #0a0612); }
}
@media (max-width: 1023px) { .vx-rail { display: none; } }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .vx-tinder__ambient,
  .vx-pcard[data-i="0"].is-idle,
  .vx-pcard[data-i="0"] .vx-pcard__photo.is-active,
  .vx-chip--boost,
  .vx-online,
  .vx-pcard__expand,
  .vx-empty__moon,
  .vx-tndr-stat--vibes,
  .vx-match__heart,
  .vx-modal__bolts svg { animation: none !important; }
  .vx-match.is-open .vx-particle { display: none; }
  * { transition-duration: .15s !important; }
}
