/* ==========================================================================
   VIBRA - Components Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. WELCOME & AUTH SCREEN
   -------------------------------------------------------------------------- */
.welcome-screen {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  background: radial-gradient(circle at 50% 30%, #1c112b 0%, var(--bg-app) 70%);
}

.welcome-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 40px;
}

.welcome-logo-halo {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(255, 60, 40, 0.35);
  animation: vibraPulseRing 3.5s infinite;
  margin-bottom: 24px;
  overflow: hidden;
}

.welcome-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 32px;
}

.welcome-subtitle {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.welcome-desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  max-width: 290px;
  line-height: 1.5;
}

.welcome-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 32px;
}

.welcome-notice-18 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-top: 16px;
  text-align: center;
}

.welcome-notice-18 span {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  font-weight: 500;
}

.welcome-badge-tag {
  background: var(--brand-primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   2. INTENTIONS SCREEN ("¿Qué buscas hoy?")
   -------------------------------------------------------------------------- */
.intentions-screen {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

.intentions-header {
  margin-bottom: 24px;
}

.intentions-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 0, 0.14);
  color: var(--brand-primary);
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid rgba(255, 107, 0, 0.35);
}

.intentions-title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.intentions-subtitle {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.45;
}

.intentions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.intent-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition-normal);
  overflow: hidden;
}

.intent-card:hover {
  background: var(--bg-elevated);
  transform: translateY(-2px);
  border-color: var(--border-medium);
}

.intent-card.selected {
  border-color: var(--brand-primary);
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.14) 0%, rgba(255, 160, 0, 0.05) 100%);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.22);
}


.intent-icon-wrapper {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.06);
  transition: var(--transition-fast);
}

.intent-card.selected .intent-icon-wrapper {
  transform: scale(1.08);
}

.intent-info {
  flex: 1;
}

.intent-name {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.intent-desc {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  line-height: 1.35;
}

.intent-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  color: transparent;
}

.intent-card.selected .intent-check {
  background: var(--grad-vibra);
  border-color: transparent;
  color: #fff;
  transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   3. DISCOVER DECK (SWIPEABLE CARDS)
   -------------------------------------------------------------------------- */
.discover-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 12px 14px 12px;
  position: relative;
  overflow: hidden;
}

.deck-container {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #11131c;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  cursor: grab;
  touch-action: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease;
  will-change: transform, opacity;
}

.profile-card:active {
  cursor: grabbing;
}

.profile-card-photo-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0b0c14;
  overflow: hidden;
}

.profile-card-image-backdrop {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  object-fit: cover;
  filter: blur(28px) brightness(0.35) saturate(1.2);
  opacity: 0.6;
  transform: scale(1.1);
  pointer-events: none;
  z-index: 1;
}

.profile-card-image {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
}

/* Gradient Overlays on Card - Subtle and optimized for photo prominence */
.card-gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.card-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 42%;
  background: linear-gradient(to top, rgba(10, 11, 18, 0.95) 0%, rgba(10, 11, 18, 0.6) 60%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* Photo Carousel Pagination Bars */
.photo-pagination-bars {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 5px;
  z-index: 10;
}

.photo-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.2s ease;
}

.photo-bar.active {
  background: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

/* Photo Tap Navigation Zones */
.photo-tap-zone {
  position: absolute;
  top: 30px;
  bottom: 120px;
  width: 48%;
  z-index: 5;
  cursor: pointer;
}

.photo-tap-left {
  left: 0;
}

.photo-tap-right {
  right: 0;
}

/* Swipe Decision Stamps */
.swipe-stamp {
  position: absolute;
  top: 50px;
  padding: 8px 18px;
  font-size: 1.7rem;
  font-weight: 900;
  border-radius: var(--radius-md);
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 20;
  opacity: 0;
  transform: rotate(-15deg) scale(0.8);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.stamp-like {
  right: 24px;
  color: var(--color-like);
  border: 3.5px solid var(--color-like);
  transform: rotate(15deg) scale(0.8);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.5);
}

.stamp-pass {
  left: 24px;
  color: var(--color-pass);
  border: 3.5px solid var(--color-pass);
  transform: rotate(-15deg) scale(0.8);
  box-shadow: 0 0 20px rgba(255, 61, 113, 0.5);
}

.stamp-super {
  top: 100px;
  left: 50%;
  transform: translateX(-50%) rotate(0deg) scale(0.8);
  color: var(--color-supervibra);
  border: 3.5px solid var(--color-supervibra);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
}

/* Card Content Overlay */
.card-content-overlay {
  position: relative;
  z-index: 6;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-top-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.card-intent-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 800;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.card-match-score {
  background: rgba(0, 242, 254, 0.2);
  color: var(--brand-accent);
  border: 1px solid rgba(0, 242, 254, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-name {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.card-age {
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.card-verified-icon {
  width: 22px;
  height: 22px;
  color: var(--brand-accent);
}

.card-info-trigger-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: var(--transition-fast);
}

.card-info-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
}

.card-location-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--text-secondary);
}

.card-bio-snippet {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.card-interest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.interest-chip {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Discover Action Buttons Bar */
.deck-actions-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 14px;
  z-index: 20;
}

.action-btn {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.action-btn:hover {
  transform: scale(1.12);
}

.action-btn:active {
  transform: scale(0.92);
}

.action-btn-undo {
  width: 46px;
  height: 46px;
  background: var(--bg-card);
  color: var(--color-undo);
  border: 1.5px solid rgba(255, 179, 0, 0.3);
}

.action-btn-pass {
  width: 58px;
  height: 58px;
  background: var(--bg-card);
  color: var(--color-pass);
  border: 2px solid rgba(255, 61, 113, 0.4);
}

.action-btn-super {
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  color: var(--color-supervibra);
  border: 1.5px solid rgba(0, 242, 254, 0.4);
}

.action-btn-like {
  width: 64px;
  height: 64px;
  background: var(--grad-vibra);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.45);
}

.action-btn-info {
  width: 46px;
  height: 46px;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1.5px solid var(--border-medium);
}

/* Empty State / No More Cards */
.deck-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  height: 100%;
}

.empty-radar-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.12);
  border: 2px solid var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  animation: vibraPulseRing 2.5s infinite;
  color: var(--brand-primary);
  font-size: 2.2rem;
}

.empty-title {
  font-size: var(--font-size-xl);
  font-weight: 800;
  margin-bottom: 8px;
}

.empty-text {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 280px;
}

/* ============================================================
   4. FULL PROFILE DETAIL — MOBILE-FIRST SHEET LAYOUT
   ============================================================ */
.profile-detail-sheet {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  justify-content: flex-end;
  flex-direction: column;
}

.profile-detail-sheet.active {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

/* Sheet takes 94% of viewport height, divided into fixed photo top + scrollable content bottom */
.detail-sheet-content {
  background: var(--bg-surface);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  height: 94vh;
  max-height: 94vh;
  overflow: hidden;            /* Sheet itself does NOT scroll */
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-medium);
  animation: slideUpSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.sheet-handle-bar {
  width: 44px;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  margin: 10px auto 0 auto;
  flex-shrink: 0;
}

.sheet-close-floating-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: pointer;
}

/* ── Top controls for Detail Sheet (floating buttons) ── */
.detail-top-controls {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
  pointer-events: none;
}
.detail-top-controls > * { pointer-events: auto; }

/* ── Cover Photo: viewport-relative, never dominates the screen ── */
.detail-cover-container {
  position: relative;
  width: 100%;
  /* Responsive height: controlled mobile height, leaves room for profile info */
  height: clamp(200px, 36vh, 280px);
  background: #0b0c14;
  overflow: hidden;
  flex-shrink: 0;              /* Never compress the photo */
}

/* Horizontal swipeable strip for detail modal */
.detail-photo-strip {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.detail-photo-strip::-webkit-scrollbar { display: none; }

/* Individual photo slide in detail modal */
.detail-photo-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0c14;
  overflow: hidden;
}

.detail-cover-backdrop {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  object-fit: cover;
  filter: blur(28px) brightness(0.35) saturate(1.2);
  opacity: 0.55;
  transform: scale(1.1);
  pointer-events: none;
  z-index: 1;
}

.detail-cover-img {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;  /* Never cropped or panned */
  object-position: center;
  cursor: pointer;
  z-index: 2;
  user-select: none;
}

.detail-cover-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

/* Dots pagination for detail photo strip */
.detail-photo-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 6;
  pointer-events: none;
}
.detail-photo-dots > * { pointer-events: auto; }

.detail-photo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.detail-photo-dot.active {
  background: #fff;
  transform: scale(1.3);
}


/* 2. Scrollable content body — grows to fill remaining space, scrolls independently */
.detail-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 14px 100px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  -webkit-overflow-scrolling: touch;
}

.detail-header-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-name-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.detail-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.detail-age {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.detail-location-compact {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* 3. Horizontal Photo Gallery — compact uncropped thumbnails */
.detail-gallery-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.detail-gallery-row::-webkit-scrollbar {
  display: none;
}

.detail-gallery-thumb-card {
  flex: 0 0 100px;
  height: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  border: 1px solid var(--border-light);
  background: #0e101a;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-gallery-thumb-card:active {
  transform: scale(0.97);
}

.detail-gallery-thumb-backdrop {
  position: absolute;
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  object-fit: cover;
  filter: blur(18px) brightness(0.35);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.detail-gallery-thumb-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
}

.detail-gallery-thumb-tag {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  z-index: 5;
}

/* 4. Sobre mí Card */
.detail-section-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}

.detail-section-title {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 5. Inline Music Pill */
.music-inline-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 6px 12px 6px 10px;
  font-size: 0.85rem;
  color: var(--text-primary);
  cursor: pointer;
  width: fit-content;
  max-width: 100%;
  margin-top: 2px;
  margin-bottom: 6px;
  transition: background 0.2s;
}

.music-inline-pill:active {
  background: rgba(255, 255, 255, 0.12);
}

.music-inline-icon {
  font-size: 0.95rem;
}

.music-inline-text {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-inline-title {
  font-weight: 700;
}

.music-inline-artist {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.music-inline-play {
  color: var(--brand-accent);
  margin-left: 6px;
  display: flex;
  align-items: center;
  font-size: 0.85rem;
}

/* 6. Compact Lifestyle Info */
.lifestyle-compact-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.lifestyle-bullet {
  color: var(--brand-primary);
  margin: 0 4px;
}

/* 7. Intereses */
.card-interest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

/* 8. Rompehielos */
.icebreaker-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.icebreaker-chip:hover, .icebreaker-chip:active {
  background: var(--bg-elevated);
  border-color: var(--border-highlight);
}

/* 9. Bottom Actions: Pass, Boost, Like */
.detail-sticky-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 440px;
  margin: 0 auto;
  padding: 10px 24px 20px 24px;
  background: linear-gradient(180deg, rgba(16, 18, 26, 0) 0%, rgba(16, 18, 26, 0.98) 40%);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 30;
}

.detail-action-pass {
  width: 52px;
  height: 52px;
  background: var(--bg-card);
  color: var(--color-pass);
  border: 2px solid rgba(255, 61, 113, 0.4);
}

.detail-action-boost {
  width: 46px;
  height: 46px;
  background: var(--bg-card);
  color: var(--brand-accent);
  border: 1.5px solid rgba(0, 242, 254, 0.4);
}

.detail-action-like {
  width: 58px;
  height: 58px;
  background: var(--grad-vibra);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(255, 51, 102, 0.45);
}

/* --------------------------------------------------------------------------
   5. LIKES SCREEN
   -------------------------------------------------------------------------- */
.likes-screen {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.likes-screen::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.likes-tabs {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
}

.likes-tab-btn {
  flex: 1;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.likes-tab-btn.active {
  background: var(--grad-vibra);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.35);
}


.likes-count-pill {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
}

.likes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.likes-grid::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.like-card {
  position: relative;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: var(--transition-fast);
}

.like-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-highlight);
}

.like-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;  /* Show the full photo without cropping */
  object-position: center;
  z-index: 1;
}

/* Ambient blurred backdrop for like-cards (same pattern as profile cards) */
.like-card-img-backdrop {
  position: absolute;
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  object-fit: cover;
  filter: blur(20px) brightness(0.3) saturate(1.2);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.like-card-info {
  position: relative;
  z-index: 2;
  padding: 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(10, 11, 17, 0.95) 90%);
}

.like-card-name {
  font-size: var(--font-size-base);
  font-weight: 800;
  color: #fff;
}

.like-card-intent {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-accent);
  margin-top: 2px;
}

.like-card-connect-btn {
  margin-top: 6px;
  width: 100%;
  height: 32px;
  background: var(--grad-vibra);
  border: none;
  border-radius: var(--radius-full);
  color: #fff;
  font-size: var(--font-size-xs);
  font-weight: 700;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   6. MATCH CELEBRATION MODAL ("¡HABÉIS CONECTADO!")
   -------------------------------------------------------------------------- */
.match-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 13, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(20px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)) 20px;
  animation: matchFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.match-modal-box {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 35%, rgba(255, 107, 0, 0.16) 0%, rgba(255, 71, 126, 0.08) 50%, transparent 75%);
  padding: 16px 12px;
  border-radius: 28px;
  animation: matchPopIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.25) forwards;
}

.btn-close-match {
  position: absolute;
  top: -8px;
  right: 4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: background 0.15s ease, transform 0.15s ease;
  z-index: 10;
}

.btn-close-match:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.05);
}

.match-sparkle-title {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  background: linear-gradient(135deg, #FFFFFF 20%, #FFD700 50%, #FF6B00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  margin-top: 10px;
  text-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
  animation: matchTitleGlow 2s ease-in-out infinite alternate;
}

.match-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 22px;
  line-height: 1.4;
  font-weight: 500;
}

.match-avatars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 20px;
  height: 140px;
  width: 100%;
}

.match-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.8), 0 0 24px rgba(255, 107, 0, 0.35);
  background: #1a1a24;
}

.match-avatar-user {
  animation: avatarSlideInLeft 0.55s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  z-index: 1;
  margin-right: -16px;
}

.match-avatar-partner {
  animation: avatarSlideInRight 0.55s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  z-index: 2;
  margin-left: -16px;
}

.match-heart-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B00 0%, #FF477E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 71, 126, 0.7);
  animation: vibraMatchPulse 1.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
  border: 3px solid #FFFFFF;
  color: #FFFFFF;
}

.match-intention-highlight {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 8px 16px;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #FFFFFF;
  backdrop-filter: blur(12px);
}

.match-actions-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.btn-match-chat {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  background: linear-gradient(135deg, #FF6B00 0%, #FF477E 100%);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-match-chat:active {
  transform: scale(0.98);
}

.btn-match-continue {
  width: 100%;
  height: 48px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-match-continue:active {
  background: rgba(255, 255, 255, 0.14);
}

@keyframes matchFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes matchPopIn {
  0% { opacity: 0; transform: scale(0.84); }
  65% { opacity: 1; transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes avatarSlideInLeft {
  0% { opacity: 0; transform: translateX(-40px) scale(0.82); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes avatarSlideInRight {
  0% { opacity: 0; transform: translateX(40px) scale(0.82); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes vibraMatchPulse {
  0% { transform: translate(-50%, -50%) scale(0.92); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.6); }
  65% { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 14px rgba(255, 107, 0, 0); }
  100% { transform: translate(-50%, -50%) scale(0.92); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

@keyframes matchTitleGlow {
  from { filter: drop-shadow(0 0 8px rgba(255, 107, 0, 0.3)); }
  to { filter: drop-shadow(0 0 18px rgba(255, 215, 0, 0.6)); }
}

@media (max-width: 480px) {
  .match-sparkle-title {
    font-size: 1.85rem;
  }
  .match-avatar {
    width: 105px;
    height: 105px;
  }
  .match-avatars-row {
    height: 125px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .match-modal-overlay,
  .match-modal-box,
  .match-avatar-user,
  .match-avatar-partner,
  .match-heart-pulse,
  .match-sparkle-title {
    animation: none !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   7. MESSAGES & CHAT SCREEN (MOBILE-FIRST CONVERSATION LIST)
   -------------------------------------------------------------------------- */
.messages-screen {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px 14px 80px 14px;
  background: var(--bg-app);
  box-sizing: border-box;
}

.messages-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 2px 14px 2px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
}

.messages-title {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.4px;
  color: var(--text-primary);
  margin: 0;
}

.messages-count-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-primary);
  background: rgba(255, 61, 113, 0.12);
  border: 1px solid rgba(255, 61, 113, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.matches-section {
  padding: 0 0 14px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
}

.matches-section-title {
  font-size: var(--font-size-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.matches-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.matches-carousel::-webkit-scrollbar {
  display: none;
}

.match-bubble-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  min-width: 60px;
  max-width: 64px;
  flex-shrink: 0;
}

.match-bubble-avatar-wrapper {
  position: relative;
  width: 56px;
  height: 56px;
  min-width: 56px;
  max-width: 56px;
  min-height: 56px;
  max-height: 56px;
  border-radius: 50%;
  padding: 2px;
  background: var(--grad-vibra);
  box-sizing: border-box;
  overflow: hidden;
}

.match-bubble-avatar {
  width: 100% !important;
  height: 100% !important;
  max-width: 52px !important;
  max-height: 52px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid var(--bg-surface);
  display: block;
}

.match-bubble-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  max-width: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

/* Conversations List */
.conversations-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.conversation-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.conversation-item:active,
.conversation-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

.conversation-item.unread {
  border-color: rgba(255, 61, 113, 0.4);
  background: linear-gradient(90deg, rgba(255, 61, 113, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
}

/* Avatar: small, fixed 52px circle, NO horizontal overflow */
.conv-avatar-wrapper {
  position: relative;
  width: 52px;
  height: 52px;
  min-width: 52px;
  max-width: 52px;
  min-height: 52px;
  max-height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: #181a26;
  flex-shrink: 0;
  box-sizing: border-box;
}

.conv-avatar,
.conv-avatar-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 52px !important;
  max-height: 52px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block;
}

.conv-status-dot,
.conv-online-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 11px;
  height: 11px;
  background: #00E676;
  border-radius: 50%;
  border: 2px solid var(--bg-surface);
  box-shadow: 0 0 6px rgba(0, 230, 118, 0.6);
}

.conv-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.conv-top-row,
.conv-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  width: 100%;
}

.conv-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversation-item.unread .conv-name {
  color: #ffffff;
  font-weight: 900;
}

.conv-time {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.conv-bottom-row,
.conv-preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.conv-last-msg-wrapper {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.conv-last-msg {
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  line-height: 1.35;
}

.conv-last-msg.unread-msg {
  color: #ffffff;
  font-weight: 600;
}

.conv-unread-badge,
.conv-unread-pill {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--brand-primary);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(255, 61, 113, 0.5);
}


/* --------------------------------------------------------------------------
   8. ACTIVE CHAT ROOM SCREEN
   -------------------------------------------------------------------------- */
.chat-room-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-app);
  z-index: 100;
}

.chat-room-header {
  height: var(--header-height);
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.chat-user-profile-header {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.chat-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-header-name {
  font-size: var(--font-size-base);
  font-weight: 800;
  color: var(--text-primary);
}

.chat-header-status {
  font-size: var(--font-size-xs);
  color: #00E676;
  font-weight: 600;
}

.chat-messages-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  max-width: 78%;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  line-height: 1.4;
  word-break: break-word;
  position: relative;
}

.chat-bubble-received {
  align-self: flex-start;
  background: var(--bg-card);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border-light);
}

.chat-bubble-sent {
  align-self: flex-end;
  background: var(--grad-vibra);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 14px rgba(255, 51, 102, 0.3);
}

.chat-bubble-time {
  font-size: 0.68rem;
  opacity: 0.7;
  margin-top: 4px;
  text-align: right;
}

.chat-icebreaker-suggestions {
  display: flex;
  gap: 8px;
  padding: 8px 16px;
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.4);
  scrollbar-width: none;
}

.chat-icebreaker-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  cursor: pointer;
}

.chat-input-bar {
  padding: 10px 14px;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-input-field {
  flex: 1;
  height: 44px;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0 16px;
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  font-family: inherit;
  outline: none;
}

.chat-input-field:focus {
  border-color: var(--brand-primary);
}

.chat-send-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--grad-vibra);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 51, 102, 0.4);
}

/* --------------------------------------------------------------------------
   9. USER PROFILE & SETTINGS SCREEN — MOBILE-FIRST
   -------------------------------------------------------------------------- */
.profile-screen {
  padding: 14px 14px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.profile-screen::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* ── Profile Card Preview (top of My Profile) ── */
.profile-card-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.profile-avatar-zone {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Main circular avatar on the My Profile screen */
.profile-main-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;        /* Circular avatars always use cover — intentional crop to circle */
  object-position: center top;  /* Prioritize face area */
  border: 3px solid var(--brand-primary);
  display: block;
}

.profile-edit-avatar-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad-vibra);
  border: 2px solid var(--bg-surface);
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.profile-user-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.profile-user-headline {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   MY PROFILE — PHOTO GALLERY (same pattern as other-user profiles)
   ========================================================================== */

/* Outer card — rounds the gallery top corners */
.my-profile-gallery-card {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #0b0c14;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

/* Horizontal swipeable strip */
.my-profile-photo-strip {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* Height: same responsive logic as detail-cover-container */
  height: clamp(200px, 38vh, 280px);
}
.my-profile-photo-strip::-webkit-scrollbar { display: none; }

/* Each individual photo slide */
.my-profile-photo-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0b0c14;
}

/* Blurred ambient backdrop */
.my-profile-photo-backdrop {
  position: absolute;
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  object-fit: cover;
  filter: blur(22px) brightness(0.32) saturate(1.2);
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}

/* Main photo — always contain, never panned */
.my-profile-photo-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;       /* Full photo, all proportions, no cropping */
  object-position: center;
  z-index: 1;
  cursor: pointer;
  user-select: none;
}

/* "⭐ Principal" badge on first photo */
.my-profile-photo-main-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  color: #FFD700;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,215,0,0.4);
  z-index: 3;
}

/* Empty state slide */
.my-profile-photo-empty {
  flex-direction: column;
  background: #111320;
  color: var(--text-muted);
}

/* Topbar: photo count + edit button */
.my-profile-photo-topbar {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  padding: 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}
.my-profile-photo-topbar > * { pointer-events: auto; }

.my-profile-photo-count-badge {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
}

.my-profile-edit-photos-btn {
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.2s;
}
.my-profile-edit-photos-btn:hover {
  background: var(--brand-primary);
  border-color: transparent;
}

/* Lateral photo tap navigation zones for My Profile */
.my-profile-photo-tap-zone {
  position: absolute;
  top: 40px;
  bottom: 25px;
  width: 46%;
  z-index: 7;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.my-profile-photo-tap-left {
  left: 0;
}

.my-profile-photo-tap-right {
  right: 0;
}

/* Slide indicator dots */
.my-profile-photo-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 10;
  pointer-events: none;
}
.my-profile-photo-dots > * { pointer-events: auto; }

.my-profile-photo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.my-profile-photo-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* Info card below gallery */
.my-profile-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 14px;
}

.my-profile-info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.profile-card-summary {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-user-avatar-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  margin-bottom: 12px;
}

.profile-user-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid var(--brand-primary);
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.25);
}

.profile-avatar-edit-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 34px;
  height: 34px;
  background: var(--grad-vibra);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 2.5px solid var(--bg-surface);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: var(--brand-primary);
}

.stat-label {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  font-weight: 600;
}

.settings-group {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.settings-group-title {
  padding: 12px 16px 6px 16px;
  font-size: var(--font-size-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
}

.settings-item:last-child {
  border-bottom: none;
}

.settings-item:hover {
  background: var(--bg-elevated);
}

.settings-item-label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.settings-item-value {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Range Slider Control */
.slider-container {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--text-secondary);
}

.custom-slider {
  width: 100%;
  accent-color: var(--brand-primary);
  cursor: pointer;
}

/* ==========================================================================
   PHOTO LIGHTBOX — Fullscreen photo viewer with swipe
   ========================================================================== */

#photo-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  flex-direction: column;
  align-items: stretch;
}

#photo-lightbox.open {
  display: flex;
}

.lightbox-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 52px 16px 16px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, transparent 100%);
}

.lightbox-counter {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.lightbox-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.lightbox-track {
  display: flex;
  flex: 1;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.lightbox-track::-webkit-scrollbar { display: none; }

.lightbox-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 16px 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  display: flex;
  justify-content: center;
  gap: 8px;
}

.lightbox-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background 0.2s, transform 0.2s;
}

.lightbox-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ==========================================================================
   MULTI-MARKET & REGIONAL SELECTOR
   ========================================================================== */
.market-selector-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.market-selector-pill:hover,
.market-selector-pill:active {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--brand-primary);
  transform: translateY(-1px);
}

.market-flag-emoji {
  font-size: 1.1rem;
  line-height: 1;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.market-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.market-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-highlight);
}

.market-card.selected {
  background: rgba(255, 71, 126, 0.12);
  border-color: var(--brand-primary);
  box-shadow: 0 0 12px rgba(255, 71, 126, 0.25);
}

.market-card-flag {
  font-size: 1.8rem;
}

.market-card-info {
  display: flex;
  flex-direction: column;
}

.market-card-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
}

.market-card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.market-badge-status {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}
.market-badge-status.active {
  background: rgba(0, 230, 118, 0.2);
  color: #00E676;
}
.market-badge-status.ready {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

/* ==========================================================================
   AUTHENTICATION & REGISTRATION MODAL
   ========================================================================== */
.auth-modal-sheet {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.2s ease-out;
}

.auth-modal-content {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 24px 20px 36px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 20px;
  gap: 4px;
}

.auth-tab-btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.auth-tab-btn.active {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(255, 71, 126, 0.4);
}

.auth-method-switcher {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.auth-method-chip {
  flex: 1;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-method-chip.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--brand-primary);
  color: #fff;
}

.auth-form-group {
  margin-bottom: 14px;
}

.auth-form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.auth-input-wrapper {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  transition: border-color 0.2s;
}

.auth-input-wrapper:focus-within {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 2px rgba(255, 71, 126, 0.2);
}

.auth-country-select {
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px 4px 12px 0;
  margin-right: 8px;
  border-right: 1px solid var(--border-light);
  outline: none;
  cursor: pointer;
}

.auth-country-select option {
  background: #12131A;
  color: #fff;
}

.auth-text-input {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.95rem;
  padding: 12px 0;
  outline: none;
  font-family: inherit;
}

.auth-text-input::placeholder {
  color: var(--text-muted);
}

/* OTP Code Box Grid */
.otp-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.otp-inputs-row {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.otp-box {
  width: 44px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  outline: none;
  transition: all 0.2s;
}

.otp-box:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 12px rgba(255, 71, 126, 0.3);
  transform: translateY(-2px);
}

.otp-resend-btn {
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.otp-resend-btn:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
}

/* Biometric Prompt Screen */
.biometric-prompt-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 10px;
  gap: 16px;
}

.biometric-sensor-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 71, 126, 0.15), rgba(168, 85, 247, 0.15));
  border: 2px solid var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--brand-primary);
  cursor: pointer;
  box-shadow: 0 0 25px rgba(255, 71, 126, 0.3);
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 71, 126, 0.3); }
  50% { transform: scale(1.06); box-shadow: 0 0 35px rgba(255, 71, 126, 0.6); }
}

/* Account Security & Sessions List */
.security-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}
.security-status-pill.verified {
  background: rgba(0, 230, 118, 0.15);
  color: #00E676;
}
.security-status-pill.pending {
  background: rgba(255, 170, 0, 0.15);
  color: #FFAA00;
}

.session-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.session-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.session-device {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.session-time {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BLOQUE 4: MONETIZATION & PLANS CATALOG
   ========================================================================== */
.plans-catalog-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.plan-tier-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  position: relative;
  transition: all 0.25s ease;
  cursor: pointer;
}

.plan-tier-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.plan-tier-card.selected {
  border-color: var(--brand-primary);
  background: rgba(255, 71, 126, 0.1);
  box-shadow: 0 0 20px rgba(255, 71, 126, 0.25);
}

.plan-tier-card.vip-highlight {
  border-color: rgba(255, 215, 0, 0.6);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(168, 85, 247, 0.12));
}

.plan-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.plan-badge-tag {
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.plan-badge-tag.weekend { background: rgba(6, 182, 212, 0.2); color: #06B6D4; border: 1px solid #06B6D4; }
.plan-badge-tag.plus { background: rgba(255, 71, 126, 0.2); color: #FF477E; border: 1px solid #FF477E; }
.plan-badge-tag.vip { background: rgba(255, 215, 0, 0.2); color: #FFD700; border: 1px solid #FFD700; }

.plan-price-large {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
}

.plan-price-period {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.plan-promo-highlight {
  background: rgba(255, 71, 126, 0.15);
  border: 1px dashed var(--brand-primary);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin: 10px 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #FF7597;
  display: flex;
  align-items: center;
  gap: 6px;
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-feature-item {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-feature-item svg {
  width: 14px;
  height: 14px;
  color: #00E676;
  flex-shrink: 0;
}

/* Early Launch 5,000 Buyers Counter */
.early-promo-banner {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 71, 126, 0.18));
  border: 1px solid rgba(255, 215, 0, 0.5);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

.early-promo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.early-promo-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #FFD700;
}

.early-promo-count {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
}

.early-progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 6px;
}

.early-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF477E, #FFD700);
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}

/* ==========================================================================
   BLOQUE 2 & 3: REPORT, BLOCK & PRIVACY MODALS
   ========================================================================== */
.report-reasons-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}

.report-reason-option {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  cursor: pointer;
  font-size: 0.88rem;
  color: #fff;
  transition: all 0.2s;
}

.report-reason-option:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brand-primary);
}

.blocked-user-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 8px;
}

.blocked-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blocked-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

/* ==========================================================================
   BLOQUE 4: ANALYTICS DASHBOARD MODAL
   ========================================================================== */
.analytics-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.analytics-metric-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.analytics-metric-value {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
}

.analytics-metric-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.analytics-campaign-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  margin-bottom: 6px;
}

/* --------------------------------------------------------------------------
   PHOTO SELECTOR & SEARCH PREFERENCES (BLOQUE INTEGRADO)
   -------------------------------------------------------------------------- */
.edit-photos-container {
  margin-top: 8px;
  margin-bottom: 12px;
}

.edit-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.edit-photo-card {
  position: relative;
  aspect-ratio: 1 / 1;        /* Square cards: compact & fits 3 per row on mobile */
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border-light);
  background: #1a1c28;
  display: flex;
  flex-direction: column;
}

.edit-photo-card.is-primary {
  border-color: #FFD700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.35);
}

.edit-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;     /* Show the full photo without cropping */
  object-position: center;
  background: transparent;
  z-index: 1;
}

/* Ambient blurred backdrop for photo edit cards — fills letterbox areas aesthetically */
.edit-photo-backdrop {
  position: absolute;
  inset: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  object-fit: cover;
  filter: blur(18px) brightness(0.3) saturate(1.1);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.primary-badge-indicator {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #FFD700;
  color: #000;
  font-weight: 800;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
  z-index: 2;
}

.btn-make-primary {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 6px;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.btn-make-primary:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn-delete-photo {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FF3D71;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: all 0.2s ease;
}
.btn-delete-photo:hover {
  background: #FF3D71;
  color: #fff;
}

/* Edit Profile Modular Form Sections */
.edit-profile-sheet-content {
  max-width: 480px;
  padding: 16px 16px 28px 16px;
  background: #10121d;
  border-top: 1px solid var(--border-medium);
}

.edit-section-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
}

.edit-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.edit-section-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
}

.auth-select-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 1px solid var(--border-light);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
}
.auth-select-input:focus {
  border-color: var(--brand-primary);
}
.auth-select-input option {
  background: #161928;
  color: #fff;
}

.pref-options-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.pref-chip-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pref-chip-option.selected {
  background: rgba(255, 51, 102, 0.15);
  border-color: var(--brand-primary);
  color: #fff;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   INTENTION CONFIRMATION CARD (PERSISTENCE & RETURN FLOW)
   -------------------------------------------------------------------------- */
.intention-confirmation-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, #1e1330 0%, #0d0f18 80%);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  border: 1.5px solid var(--border-light);
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease;
}

.intention-confirm-halo {
  font-size: 2.4rem;
  margin-bottom: 12px;
  animation: vibraPulseRing 3s infinite;
}

.intention-confirm-title {
  font-size: var(--font-size-2xl);
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}

.intention-confirm-subtitle {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.intention-confirm-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.intention-confirm-actions {
  width: 100%;
  max-width: 320px;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   REGISTRATION KYC WIZARD, SMS/EMAIL OTP & LIVENESS CAMERA
   -------------------------------------------------------------------------- */
.kyc-wizard-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kyc-step-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 16px;
  padding: 0 8px;
}

.kyc-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  z-index: 2;
  transition: all 0.3s ease;
}

.kyc-step-dot.active {
  background: var(--brand-primary);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 51, 102, 0.6);
}

.kyc-step-dot.completed {
  background: #00E676;
  border-color: #00E676;
  color: #000;
}

.otp-digit-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 16px 0;
}

.otp-digit-box {
  width: 44px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid var(--border-medium);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  outline: none;
  transition: all 0.2s ease;
}

.otp-digit-box:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.4);
}

.document-upload-zone {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
}

.document-card-upload {
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.2s ease;
}

.document-card-upload:hover {
  border-color: var(--brand-primary);
  background: rgba(255, 51, 102, 0.05);
}

.document-card-upload.uploaded {
  border-color: #00E676;
  border-style: solid;
  background: rgba(0, 230, 118, 0.08);
}

.liveness-camera-viewport {
  position: relative;
  width: 220px;
  height: 280px;
  border-radius: 140px;
  border: 3px solid var(--brand-primary);
  overflow: hidden;
  margin: 16px auto;
  background: #10121a;
  box-shadow: 0 0 25px rgba(255, 51, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.liveness-face-guide {
  position: absolute;
  inset: 15px;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: 120px;
  pointer-events: none;
  animation: pulseGuide 2s infinite;
}

@keyframes pulseGuide {
  0% { transform: scale(0.98); opacity: 0.5; }
  50% { transform: scale(1.02); opacity: 1; }
  100% { transform: scale(0.98); opacity: 0.5; }
}

.liveness-scan-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00F2FE, #4FACFE, transparent);
  animation: scanBarAnim 2.5s infinite ease-in-out;
  box-shadow: 0 0 8px #00F2FE;
}

@keyframes scanBarAnim {
  0% { top: 10%; }
  50% { top: 90%; }
  100% { top: 10%; }
/* ==========================================================================
   10. SECURITY RULES ONBOARDING & CAPTURE DEFENSE
   ========================================================================== */
.security-onboarding-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-bottom: 14px;
}

.security-rules-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}

.security-rule-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.38;
}

.security-rule-icon {
  font-size: 1rem;
  line-height: 1.2;
}

.security-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.security-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-primary);
  cursor: pointer;
  line-height: 1.35;
}

.security-checkbox-label input[type="checkbox"] {
  accent-color: var(--brand-primary);
  width: 16px;
  height: 16px;
  margin-top: 2px;
  cursor: pointer;
}

/* Ephemeral Media Bubble & Viewer */
.ephemeral-photo-bubble {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.2) 0%, rgba(120, 0, 255, 0.2) 100%);
  border: 1px solid rgba(255, 51, 102, 0.4);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: transform 0.2s;
  color: #fff;
}

.ephemeral-photo-bubble:hover {
  transform: scale(1.02);
}

.ephemeral-timer-pill {
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #00F2FE;
}

/* Ephemeral Media Modal */
.ephemeral-viewer-modal {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ephemeral-viewer-img {
  max-width: 100vw;
  max-height: 85vh;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.ephemeral-viewer-header {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

/* Screenshot & Screen Recording Defense Overlay */
.screenshot-black-surface {
  position: fixed;
  inset: 0;
  background: #000000 !important;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: #ffffff;
}

.security-notice-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 20, 30, 0.96);
  border: 1.5px solid #FF3D71;
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  z-index: 100000;
  max-width: 360px;
  width: 90%;
  text-align: center;
  animation: slideDownToast 0.3s ease-out;
}

@keyframes slideDownToast {
  0% { transform: translate(-50%, -20px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 1; }
}

/* ==========================================================================
   VIBRA — GLOBAL ERROR BOUNDARY & SAFE RECOVERY UI
   ========================================================================== */
.vibra-error-boundary-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(5, 6, 8, 0.96);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

.vibra-error-card {
  width: 100%;
  max-width: 380px;
  background: #11131e;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==============================================================================
   VIBRA — Centro de Ayuda y Soporte Integral (Tabs, IA Chat, FAQ, Tickets)
   ============================================================================== */
.support-center-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 88vh;
}

.support-tabs-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  scrollbar-width: none;
}
.support-tabs-bar::-webkit-scrollbar {
  display: none;
}

.support-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}
.support-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.support-tab-btn.active {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.2) 0%, rgba(255, 0, 128, 0.2) 100%);
  border-color: #FF6B00;
  color: #fff;
}

.support-chat-stream {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 4px;
  min-height: 220px;
  max-height: 380px;
}

.support-bubble {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.45;
}
.support-bubble-ai {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f0f0f0;
  border-bottom-left-radius: 4px;
}
.support-bubble-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
  color: #fff;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.support-bubble-sys {
  align-self: center;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: #00F2FE;
  font-size: 0.74rem;
  text-align: center;
}

.support-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}
.support-quick-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.72rem;
  padding: 6px 10px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.15s;
}
.support-quick-chip:hover {
  border-color: #FF6B00;
  color: #fff;
  background: rgba(255, 107, 0, 0.08);
}

.ticket-status-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ticket-status-open { background: rgba(0, 242, 254, 0.12); color: #00F2FE; border: 1px solid rgba(0, 242, 254, 0.3); }
.ticket-status-ai { background: rgba(187, 107, 255, 0.12); color: #BB6BFF; border: 1px solid rgba(187, 107, 255, 0.3); }
.ticket-status-escalated { background: rgba(255, 107, 0, 0.15); color: #FF6B00; border: 1px solid rgba(255, 107, 0, 0.35); }
.ticket-status-in-progress { background: rgba(255, 215, 0, 0.15); color: #FFD700; border: 1px solid rgba(255, 215, 0, 0.35); }
.ticket-status-resolved { background: rgba(0, 230, 118, 0.15); color: #00E676; border: 1px solid rgba(0, 230, 118, 0.35); }
.ticket-status-closed { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); border: 1px solid rgba(255, 255, 255, 0.1); }

/* ==========================================================================
   VIBRA — Native +18 Age & Birth Date Verification Card Styles
   ========================================================================== */
.age-card-wrapper {
  background: var(--bg-card, #1A1A2E);
  border: 1px solid var(--border-light, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
  width: 100%;
}

.age-card-wrapper input[type="text"]:focus {
  border-color: #E91E63 !important;
  box-shadow: 0 0 12px rgba(233, 30, 99, 0.35);
  background: rgba(255, 255, 255, 0.1) !important;
}

@media (max-width: 360px) {
  .age-card-wrapper {
    padding: 20px 14px !important;
  }
  .age-card-wrapper .verification-title {
    font-size: 20px !important;
  }
  .age-card-wrapper input[type="text"] {
    font-size: 16px !important;
    height: 48px !important;
  }
}




/* --------------------------------------------------------------------------
   VIBRA — 6-SLOT PHOTO MANAGEMENT & LIGHTBOX TAP ZONES
   -------------------------------------------------------------------------- */
.edit-photo-card.is-empty {
  border: 1.5px dashed rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.edit-photo-card.is-empty:hover {
  border-color: var(--brand-primary);
  background: rgba(255, 71, 126, 0.08);
  transform: translateY(-1px);
}

.empty-slot-plus {
  font-size: 1.6rem;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 2px;
}

.empty-slot-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 700;
}

.slot-index-badge {
  position: absolute;
  bottom: 4px;
  right: 6px;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 800;
  z-index: 3;
  pointer-events: none;
}

.btn-replace-photo {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #00F2FE;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: all 0.2s ease;
}

.btn-replace-photo:hover {
  background: #00F2FE;
  color: #000;
}

/* Lightbox Tap Zones & Progress Segments */
.lightbox-progress-bars {
  display: flex;
  gap: 4px;
  width: 100%;
  margin-bottom: 6px;
}

.lb-progress-segment {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  transition: background 0.2s ease;
}

.lb-progress-segment.active,
.lb-progress-segment.viewed {
  background: #fff;
}

.lightbox-tap-zone {
  position: absolute;
  top: 90px;
  bottom: 70px;
  width: 35%;
  z-index: 10;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.lightbox-tap-left {
  left: 0;
}

.lightbox-tap-right {
  right: 0;
}

/* ==========================================================================
   AJUSTES DE BÚSQUEDA — DUAL RANGE SLIDER & DISTANCE CONTROLS
   ========================================================================== */

.search-prefs-sheet {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.search-prefs-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg, 16px);
  padding: 16px 18px;
  margin-bottom: 16px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.search-prefs-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.search-prefs-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-prefs-badge {
  font-size: 1.15rem;
  font-weight: 900;
  background: var(--grad-vibra, linear-gradient(135deg, #FF477E 0%, #FF6B00 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--brand-primary, #FF477E);
  font-variant-numeric: tabular-nums;
}

/* Dual Range Track Wrapper */
.dual-slider-wrapper {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  margin: 8px 0;
  user-select: none;
  touch-action: none;
}

.dual-slider-track-bg {
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  z-index: 1;
}

.dual-slider-track-highlight {
  position: absolute;
  height: 8px;
  background: var(--grad-vibra, linear-gradient(90deg, #FF477E 0%, #FF6B00 100%));
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 0 10px rgba(255, 71, 126, 0.35);
}

.dual-slider-input {
  position: absolute;
  width: 100%;
  height: 40px;
  margin: 0;
  top: 0;
  left: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  z-index: 3;
}

/* Native Thumb Styles with 44px Accessible Hit Area */
.dual-slider-input::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-primary, #FF477E);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 12px rgba(255, 71, 126, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}

.dual-slider-input::-webkit-slider-thumb:active {
  transform: scale(1.18);
  box-shadow: 0 0 16px var(--brand-primary, #FF477E);
}

.dual-slider-input::-moz-range-thumb {
  pointer-events: auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-primary, #FF477E);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 12px rgba(255, 71, 126, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.dual-slider-input::-moz-range-thumb:active {
  transform: scale(1.18);
}

/* Single Distance Slider */
.single-slider-input {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  accent-color: var(--brand-primary, #FF477E);
  cursor: pointer;
  margin: 10px 0;
}

.single-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-primary, #FF477E);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 12px rgba(255, 71, 126, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.single-slider-input::-webkit-slider-thumb:active {
  transform: scale(1.18);
  box-shadow: 0 0 16px var(--brand-primary, #FF477E);
}

.slider-limits-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.5));
  font-weight: 600;
  padding: 0 2px;
}

.search-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.search-quick-pill {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-quick-pill.active {
  background: var(--brand-primary, #FF477E);
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(255, 71, 126, 0.35);
}

.search-quick-pill:hover:not(.active) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}


/* ==========================================================================
   VIBRA — AJUSTES DE BÚSQUEDA (RANGO DE EDAD DUAL-THUMB + DISTANCIA)
   ========================================================================== */
.search-settings-content {
  max-width: 480px;
  padding: 16px 16px 28px 16px;
  background: #10121d;
  border-top: 1px solid var(--border-medium);
}

.search-setting-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 12px;
}

.search-setting-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.search-setting-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}

.search-setting-value {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--brand-primary);
}

/* Dual Range Slider (Age) */
.dual-range-container {
  position: relative;
  width: 100%;
  height: 36px;
  display: flex;
  align-items: center;
}

.dual-range-track {
  position: absolute;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  z-index: 1;
}

.dual-range-highlight {
  position: absolute;
  height: 6px;
  background: linear-gradient(90deg, var(--brand-primary), #FF8533);
  border-radius: 3px;
  z-index: 2;
  pointer-events: none;
}

.dual-range-input {
  position: absolute;
  width: 100%;
  height: 6px;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  z-index: 3;
  margin: 0;
}

.dual-range-input::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.dual-range-input::-webkit-slider-thumb:hover,
.dual-range-input::-webkit-slider-thumb:active {
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(255, 71, 126, 0.6);
}

.dual-range-input::-moz-range-thumb {
  pointer-events: auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

/* Single Range Slider (Distance - Matching Design) */
.distance-slider-container {
  position: relative;
  width: 100%;
  height: 36px;
  display: flex;
  align-items: center;
}

.distance-range-input {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.distance-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.distance-range-input::-webkit-slider-thumb:hover,
.distance-range-input::-webkit-slider-thumb:active {
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(255, 71, 126, 0.6);
}

.distance-range-input::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

/* Range Ticks and Hints */
.range-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 2px 4px 0 4px;
}

.quick-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 10px;
}

.search-setting-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 10px 0 0 0;
}
