.dating-dashboard-hero h1,
.dating-hero h1,
.dating-page-header h2,
.dating-auth-visual h2,
.dating-auth-premium .dating-auth-visual h2,
.dating-auth-premium .dating-auth-form h2,
.dating-auth-mobile-banner h2,
.dating-verify-premium-header h2,
.dating-pricing-premium-header h1,
.dating-public-page-hero h1,
.home-premium-hero h1,
.chat-sidebar-head h2,
.chat-header-meta h3 {
  font-family: var(--font-display, "Fraunces", Georgia, serif) !important;
  font-weight: 650 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.12 !important;
}

.dating-dashboard-hero .dashboard-subtitle,
.dating-page-header p,
.dating-auth-visual p,
.dating-auth-form p,
.dating-verify-premium-header p,
.dating-pricing-premium-header p,
.dating-public-page-hero p,
.home-premium-lead,
.chat-message-text,
.chat-contact-preview,
.dating-profile-card-meta {
  font-family: var(--font-body, "Manrope", sans-serif) !important;
  font-weight: 500;
  line-height: 1.65;
}

.dating-stat-card .stat-value,
.dashboard-highlight-value,
.home-stat-value,
.dc-stat-value {
  font-family: var(--font-display, "Fraunces", Georgia, serif) !important;
  font-weight: 650 !important;
  letter-spacing: -0.03em !important;
}

.interest-chip,
.vp-chip,
.badge,
.chat-mode-btn,
.dating-bottom-nav-item span {
  font-family: var(--font-body, "Manrope", sans-serif) !important;
  font-weight: 700 !important;
}


.dating-nav {
  background: linear-gradient(120deg, rgba(26, 16, 40, 0.94), rgba(76, 29, 149, 0.92) 55%, rgba(157, 23, 77, 0.9)) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(249, 168, 212, 0.25);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.28);
  min-height: var(--nav-height, 72px);
}
.dating-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--pride-gradient, linear-gradient(90deg, #e40303, #ff8c00, #ffed00, #008026, #24408e, #732982));
  opacity: 0.85;
}
.dating-nav .navbar-brand {
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--brand-soft, #c4b5fd));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dating-nav .brand-icon {
  width: 38px; height: 38px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.45);
  -webkit-text-fill-color: #fff;
}
.dating-nav .nav-link { font-weight: 600; border-radius: 999px; padding: 0.5rem 1rem !important; }
.dating-nav .nav-link:hover, .dating-nav .nav-link.active {
  background: rgba(139, 92, 246, 0.25); color: #ddd6fe !important;
}
.dating-nav-pill { border-radius: 999px !important; font-weight: 700 !important; }
.dating-nav-cta {
  background: linear-gradient(135deg, #db2777, #7c3aed 55%, #0891b2) !important;
  border: none !important; color: #fff !important;
  box-shadow: 0 8px 24px rgba(219, 39, 119, 0.35);
}

.dating-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1040;
  display: flex; justify-content: space-around; height: var(--bottom-nav-height, 72px);
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(20px);
  border-top: 1px solid rgba(139, 92, 246, 0.15);
  box-shadow: 0 -8px 32px rgba(26, 16, 40, 0.08);
}
.dating-bottom-nav::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--pride-gradient); opacity: 0.7;
}
.dating-bottom-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; text-decoration: none; color: var(--muted); font-size: 0.68rem; font-weight: 700;
}
.dating-bottom-nav-item.active { color: var(--brand); }

.panel-card, .hero-card, .feature-card {
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: var(--radius-lg, 22px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--premium-shadow);
}

.btn-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; border: 0; border-radius: 999px; font-weight: 700;
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.35);
}
.btn-brand:hover { color: #fff; transform: translateY(-2px); }
.btn-outline-dating {
  border: 2px solid var(--brand); color: var(--brand);
  border-radius: 999px; font-weight: 700; background: transparent;
}
.btn-outline-dating:hover { background: rgba(139, 92, 246, 0.08); color: var(--brand-dark); }

.form-control:focus, .form-select:focus {
  border-color: var(--brand-soft);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
}

.dating-auth-wrap { min-height: calc(100vh - 120px); display: flex; align-items: center; justify-content: center; padding: 2rem 0; }
.dating-auth-grid {
  display: grid; grid-template-columns: 1fr 1fr; max-width: 960px; width: 100%;
  border-radius: var(--radius-xl, 28px); overflow: hidden; box-shadow: var(--premium-shadow);
}
.dating-auth-visual {
  background: linear-gradient(160deg, #1a1028 0%, #4c1d95 45%, #0f766e 100%);
  color: #fff; padding: 3rem 2.5rem;
}
.dating-auth-visual h2 { font-weight: 800; }
.dating-auth-features { display: grid; gap: 1rem; margin-top: 1.5rem; }
.dating-auth-feature {
  display: flex; align-items: center; gap: 0.85rem; padding: 0.85rem 1rem;
  border-radius: 16px; background: rgba(255,255,255,0.08);
}
.dating-auth-form { padding: 2.5rem; background: #fff; }

.dating-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.dating-profile-card {
  position: relative; border-radius: var(--radius-lg, 22px); overflow: hidden;
  background: #1a1028; aspect-ratio: 3/4; box-shadow: var(--premium-shadow);
}
.dating-profile-card img { width: 100%; height: 100%; object-fit: cover; }
.dating-profile-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(26,16,40,0.95) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.25rem; color: #fff;
}
.dating-profile-card-name { font-size: 1.3rem; font-weight: 800; }
.dating-profile-card-actions { display: flex; gap: 0.5rem; }
.dating-profile-card-actions .btn { flex: 1; border-radius: 999px; font-weight: 700; }

.dating-page-header h2 { font-weight: 800; }
.dating-filter-card {
  border-radius: var(--radius-lg, 22px); padding: 1.5rem; margin-bottom: 2rem;
  background: rgba(255,255,255,0.9); border: 1px solid rgba(139,92,246,0.1);
  overflow: visible;
}

.dating-dashboard-hero {
  border-radius: var(--radius-xl, 28px);
  padding: 2rem;
  margin-bottom: 2rem;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 28%),
    linear-gradient(135deg, #1a1028 0%, #6d28d9 48%, #0f766e 100%);
  color: #fff !important;
}
.dating-dashboard-hero h1,
.dating-dashboard-hero .h1 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.dating-dashboard-hero .dashboard-subtitle {
  color: rgba(255, 255, 255, 0.92) !important;
}
.dating-dashboard-hero .dashboard-kicker {
  color: #fce7f3 !important;
}
.dating-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.dating-stat-card {
  border-radius: var(--radius-lg, 22px); padding: 1.25rem; text-align: center;
  background: rgba(255,255,255,0.94); border: 1px solid rgba(139,92,246,0.1);
}
.dating-stat-card .stat-value { font-size: 2rem; font-weight: 800; color: var(--brand); }

.dating-hero-inner {
  border-radius: var(--radius-xl, 28px); padding: 3rem 2.5rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.97), rgba(245,243,255,0.98));
  border: 1px solid rgba(139,92,246,0.12); box-shadow: var(--premium-shadow);
  position: relative; overflow: hidden;
}
.dating-hero-inner::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--pride-gradient);
}
.dating-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.1; }
.dating-hero h1 .highlight {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.dating-hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 1rem;
  border-radius: 999px; background: rgba(139,92,246,0.12); color: var(--brand-dark);
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
}
.dating-hero-badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.dating-pride-pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.75rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
  background: rgba(255,255,255,0.9); border: 1px solid rgba(139,92,246,0.15);
}

.dating-phone-mock { max-width: 300px; margin: 0 auto; }
.dating-phone-frame {
  border-radius: 36px; padding: 12px;
  background: linear-gradient(145deg, #2e1065, #1a1028);
}
.dating-phone-screen {
  border-radius: 28px; overflow: hidden; aspect-ratio: 9/16;
  background: linear-gradient(180deg, #a78bfa, #8b5cf6 45%, #1a1028);
  position: relative;
}
.dating-phone-card {
  position: absolute; bottom: 22%; left: 8%; right: 8%;
  border-radius: 20px; padding: 1rem;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); color: #fff;
}
.dating-phone-actions { position: absolute; bottom: 5%; left: 0; right: 0; display: flex; justify-content: center; gap: 1rem; }
.dating-phone-btn {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.dating-phone-btn.pass { background: #fff; color: #94a3b8; }
.dating-phone-btn.like { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; }

.dating-footer {
  background: linear-gradient(180deg, #1a1028, #0f0a18);
  color: rgba(255,255,255,0.85); margin-top: 4rem;
  border-top: 1px solid rgba(196,181,253,0.15);
  position: relative;
}
.dating-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--pride-gradient); opacity: 0.8;
}
.dating-footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.dating-footer a:hover { color: var(--brand-soft); }
.dating-footer-social a {
  width: 40px; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
}

.dating-match-row {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem;
  border-radius: 16px; background: rgba(255,255,255,0.9);
  border: 1px solid rgba(139,92,246,0.08); margin-bottom: 0.75rem;
  text-decoration: none; color: inherit;
}
.dating-match-row img { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; }

.nickname-hint { font-size: 0.82rem; color: var(--muted); margin-top: 0.35rem; }

@media (max-width: 991px) {
  .dating-auth-grid { grid-template-columns: 1fr; }
  .dating-stat-grid { grid-template-columns: 1fr; }
}
.home-stat-live-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-dark, #6d28d9);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.home-stat-card-live .home-stat-value {
  font-size: clamp(1.85rem, 3vw, 2.35rem);
}

.home-early-community {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(20, 184, 166, 0.06));
  border: 1px solid rgba(139, 92, 246, 0.14);
}

@media (min-width: 992px) { .dating-bottom-nav { display: none !important; } }

/* ── Premium public theme overrides ── */
.dating-public .section-eyebrow,
.dating-public .home-kicker { color: var(--brand-dark); }
.dating-public .home-icon-chip,
.dating-public .home-stat-icon,
.dating-public .home-step-icon {
  color: var(--brand-dark);
  background: linear-gradient(145deg, #f5f3ff, #ede9fe);
}
.dating-public .home-stat-value { color: var(--ink); }

/* ── Premium homepage hero (full-bleed) ── */
.home-premium-hero {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 3rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(139, 92, 246, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 45% at 85% 10%, rgba(20, 184, 166, 0.18), transparent 50%),
    radial-gradient(ellipse 40% 35% at 70% 85%, rgba(109, 40, 217, 0.12), transparent 55%),
    linear-gradient(165deg, #0f0a18 0%, #1a1028 38%, #2e1065 72%, #134e4a 100%);
}
.home-premium-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}
.home-premium-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--pride-gradient);
  opacity: 0.9;
}
.home-premium-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
}
.home-premium-hero h1 {
  font-size: clamp(2.15rem, 5.5vw, 3.65rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.02em;
}
.home-premium-hero h1 .highlight {
  background: linear-gradient(135deg, #c4b5fd, #5eead4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.home-premium-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ddd6fe;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(196, 181, 253, 0.25);
  backdrop-filter: blur(8px);
}
.home-premium-lead {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
}
.home-premium-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.home-premium-actions .btn-brand {
  box-shadow: 0 16px 40px rgba(139, 92, 246, 0.45);
}
.home-premium-actions .btn-hero-ghost {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.65rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.home-premium-actions .btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  transform: translateY(-2px);
}
.home-premium-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}
.home-premium-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.home-live-ticker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
  padding: 0.65rem 1rem 0.65rem 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(196, 181, 253, 0.2);
  backdrop-filter: blur(12px);
}
.home-live-ticker-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  animation: home-pulse 2s infinite;
}
@keyframes home-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.home-live-ticker strong { color: #fff; font-weight: 800; }
.home-live-ticker span { color: rgba(255, 255, 255, 0.72); font-size: 0.88rem; }

/* Phone mock v2 */
.home-device-wrap {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}
.home-device-glow {
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}
.home-device {
  position: relative;
  border-radius: 40px;
  padding: 14px;
  background: linear-gradient(155deg, #3b0764, #1a1028);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.home-device-notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 26px;
  border-radius: 0 0 16px 16px;
  background: #1a1028;
  z-index: 3;
}
.home-device-screen {
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 9/16;
  background: linear-gradient(180deg, #7c3aed 0%, #5b21b6 35%, #1a1028 100%);
  position: relative;
}
.home-device-card {
  position: absolute;
  left: 10%; right: 10%;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.home-device-card-main {
  bottom: 18%;
  animation: home-card-float 5s ease-in-out infinite;
}
.home-device-card-bg {
  bottom: 24%;
  transform: scale(0.92) translateY(12px);
  opacity: 0.45;
  filter: blur(1px);
}
@keyframes home-card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.home-device-card-photo {
  height: 200px;
  background: linear-gradient(135deg, #a78bfa, #14b8a6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
}
.home-device-card-body { padding: 1rem 1.1rem 1.15rem; color: var(--ink); }
.home-device-card-body strong { font-size: 1.15rem; font-weight: 800; display: block; }
.home-device-card-meta { font-size: 0.78rem; color: var(--muted); margin-top: 0.2rem; }
.home-device-card-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.65rem; }
.home-device-card-tags em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #f5f3ff;
  color: var(--brand-dark);
}
.home-device-actions {
  position: absolute;
  bottom: 6%;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}
.home-device-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}
.home-device-btn.pass { background: #fff; color: #94a3b8; }
.home-device-btn.like {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
}
.home-device-float-badge {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: rgba(26, 16, 40, 0.88);
  border: 1px solid rgba(196, 181, 253, 0.25);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  animation: home-badge-float 4s ease-in-out infinite;
}
.home-device-float-badge.verified { top: 12%; right: -8%; }
.home-device-float-badge.private { bottom: 38%; left: -12%; animation-delay: 1s; }
@keyframes home-badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* How it works */
.home-steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
}
.home-steps-row::before {
  content: "";
  position: absolute;
  top: 2.75rem;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.25), transparent);
  pointer-events: none;
}
.home-step-card-v2 {
  position: relative;
  text-align: center;
  padding: 1.75rem 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(139, 92, 246, 0.1);
  box-shadow: var(--premium-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.home-step-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 70px rgba(26, 16, 40, 0.14);
}
.home-step-num {
  width: 52px; height: 52px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 12px 28px rgba(139, 92, 246, 0.35);
  position: relative;
  z-index: 1;
}
.home-step-card-v2 h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.5rem; }
.home-step-card-v2 p { font-size: 0.9rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* Bento features */
.home-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.home-bento-item {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(139, 92, 246, 0.1);
  box-shadow: var(--premium-shadow);
  transition: transform 0.2s ease;
}
.home-bento-item:hover { transform: translateY(-3px); }
.home-bento-item.span-6 { grid-column: span 6; }
.home-bento-item.span-4 { grid-column: span 4; }
.home-bento-item.span-8 { grid-column: span 8; }
.home-bento-item.featured {
  background: linear-gradient(145deg, #1a1028, #4c1d95 55%, #0f766e);
  color: #fff;
  border: none;
}
.home-bento-item.featured p { color: rgba(255, 255, 255, 0.75); }
.home-bento-item.featured .home-icon-chip {
  background: rgba(255, 255, 255, 0.12);
  color: #ddd6fe;
}
.home-bento-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, #f5f3ff, #ede9fe);
  color: var(--brand-dark);
}
.home-bento-item.featured .home-bento-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #c4b5fd;
}

/* Scroll reveal */
.home-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.home-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Premium auth ── */
.dating-auth-premium {
  min-height: calc(100vh - var(--nav-height) - 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0 3rem;
}
.dating-auth-premium .dating-auth-shell {
  width: 100%;
  max-width: 980px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(26, 16, 40, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.12);
}
.dating-auth-premium .dating-auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.dating-auth-premium .dating-auth-visual {
  position: relative;
  padding: 3rem 2.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(196, 181, 253, 0.2), transparent 55%),
    linear-gradient(165deg, #0f0a18 0%, #2e1065 50%, #134e4a 100%);
  overflow: hidden;
}
.dating-auth-premium .dating-auth-visual::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--pride-gradient);
  opacity: 0.85;
}
.dating-auth-premium .dating-auth-visual h2 {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}
.dating-auth-premium .dating-auth-visual p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin-bottom: 0;
}
.dating-auth-premium .dating-auth-feature {
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}
.dating-auth-premium .dating-auth-feature i {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.dating-auth-premium .dating-auth-form {
  padding: clamp(2rem, 4vw, 3rem);
  background: #fff;
}
.dating-auth-premium .dating-auth-form h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.dating-auth-premium .dating-auth-sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.dating-auth-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.dating-auth-step {
  flex: 1;
  text-align: center;
  padding: 0.55rem 0.35rem;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  background: #f8f7fc;
  border: 1px solid rgba(139, 92, 246, 0.08);
}
.dating-auth-step.active {
  color: var(--brand-dark);
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
}
.dating-auth-step.done {
  color: #059669;
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.15);
}
.dating-auth-step span {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.75;
  margin-top: 0.15rem;
}
.dating-input-wrap {
  position: relative;
}
.dating-input-wrap .form-control {
  border-radius: 14px;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(139, 92, 246, 0.15);
  font-weight: 500;
}
.dating-input-wrap .form-control-lg {
  padding: 0.95rem 1.1rem;
  font-size: 1rem;
}
.dating-input-group .input-group-text {
  border-radius: 14px 0 0 14px;
  border: 1.5px solid rgba(139, 92, 246, 0.15);
  border-right: 0;
  background: #f8f7fc;
  font-weight: 700;
  color: var(--brand-dark);
}
.dating-input-group .form-control {
  border-radius: 0 14px 14px 0;
  border: 1.5px solid rgba(139, 92, 246, 0.15);
  border-left: 0;
}
.dating-password-toggle {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.25rem;
  line-height: 1;
  cursor: pointer;
}
.dating-password-toggle:hover { color: var(--brand); }
.dating-auth-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
}
.dating-auth-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.dating-auth-mobile-banner {
  display: none;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #1a1028, #5b21b6);
  color: #fff;
}
.dating-auth-mobile-banner h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.dating-auth-mobile-banner p {
  font-size: 0.88rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 991px) {
  .home-steps-row { grid-template-columns: 1fr; }
  .home-steps-row::before { display: none; }
  .home-bento-item.span-4,
  .home-bento-item.span-6,
  .home-bento-item.span-8 { grid-column: span 12; }
  .home-device-float-badge.verified { right: 0; }
  .home-device-float-badge.private { left: 0; }
  .dating-auth-premium .dating-auth-grid { grid-template-columns: 1fr; }
  .dating-auth-premium .dating-auth-visual { display: none !important; }
  .dating-auth-mobile-banner { display: block; }
  .dating-auth-premium .dating-auth-shell {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(26, 16, 40, 0.12);
  }
}

@media (max-width: 575px) {
  .home-premium-hero { padding-top: 2rem; }
  .home-premium-trust span { font-size: 0.72rem; }
}

/* City autocomplete */
.dating-city-wrap { position: relative; z-index: 20; }
.dating-city-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  max-height: 240px;
  overflow-y: auto;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(139, 92, 246, 0.18);
  box-shadow: 0 16px 40px rgba(26, 16, 40, 0.14);
}
.dating-city-suggestion {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: var(--ink);
  cursor: pointer;
}
.dating-city-suggestion:hover,
.dating-city-suggestion.active {
  background: rgba(139, 92, 246, 0.08);
}
.dating-city-suggestion span {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}
.js-city-state-display:not(:placeholder-shown),
.js-city-state-display.filled {
  background: #f8f7fc;
  font-weight: 600;
  color: var(--brand-dark);
}

.dating-auth-shell-wide { max-width: 1080px; }
.dating-auth-shell-wide .dating-auth-form {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, #fff 0%, #faf8ff 100%);
}

/* Premium profile completion form */
.dating-profile-form-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}
.dating-profile-title {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  line-height: 1.15;
}
.dating-profile-lead {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.dating-profile-lead strong {
  color: var(--brand-dark);
  font-weight: 700;
}
.dating-profile-privacy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-dark);
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
}
.dating-profile-privacy i {
  font-size: 1rem;
}

.dating-profile-form {
  display: grid;
  gap: 1rem;
}
.dating-form-section {
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(139, 92, 246, 0.1);
  box-shadow: 0 10px 30px rgba(26, 16, 40, 0.05);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.dating-form-section:focus-within {
  border-color: rgba(139, 92, 246, 0.22);
  box-shadow: 0 14px 36px rgba(139, 92, 246, 0.1);
}
.dating-form-section-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.06), rgba(20, 184, 166, 0.04));
  border-bottom: 1px solid rgba(139, 92, 246, 0.08);
}
.dating-form-section-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.28);
  flex-shrink: 0;
}
.dating-form-section-head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.dating-form-section-head p {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.dating-form-section-body {
  padding: 1.25rem 1.25rem 1.35rem;
}

.dating-field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}
.dating-field-hint {
  margin: 0.4rem 0 0;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.45;
}
.dating-field-icon-wrap {
  position: relative;
}
.dating-field-icon-wrap > i:first-child {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 1rem;
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}
.dating-field-icon-wrap .form-control,
.dating-field-icon-wrap .form-select {
  padding-left: 2.65rem;
  border-radius: 14px;
  border: 1.5px solid rgba(139, 92, 246, 0.14);
  background: #fdfcff;
  font-weight: 500;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.dating-field-icon-wrap .form-control:focus,
.dating-field-icon-wrap .form-select:focus {
  background: #fff;
  border-color: var(--brand-soft);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}
.dating-field-icon-wrap .form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236d28d9' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.dating-field-icon-wrap.has-toggle .form-control {
  padding-right: 2.75rem;
}
.dating-field-icon-wrap.has-toggle .dating-password-toggle {
  right: 0.75rem;
}
.dating-field-readonly .form-control {
  background: #f3f1fa;
  color: var(--brand-dark);
  font-weight: 600;
  cursor: default;
}
.dating-field-readonly .form-control.filled,
.dating-field-readonly .form-control:not(:placeholder-shown) {
  background: linear-gradient(90deg, #f5f3ff, #f0fdfa);
}

.dating-identity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 0.55rem;
}
.dating-identity-pill {
  margin: 0;
  cursor: pointer;
}
.dating-identity-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.dating-identity-pill span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 72px;
  padding: 0.65rem 0.5rem;
  border-radius: 14px;
  border: 2px solid rgba(139, 92, 246, 0.12);
  background: #faf9ff;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  line-height: 1.2;
  transition: transform 0.15s ease, border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.dating-identity-pill span i {
  font-size: 1.1rem;
  color: var(--brand);
}
.dating-identity-pill:hover span {
  border-color: rgba(139, 92, 246, 0.28);
  transform: translateY(-2px);
}
.dating-identity-pill input:checked + span {
  border-color: var(--brand);
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.12), rgba(20, 184, 166, 0.08));
  color: var(--brand-dark);
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.18);
}
.dating-identity-pill input:focus-visible + span {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.dating-profile-submit {
  margin-top: 0.35rem;
  padding-top: 0.25rem;
}
.dating-profile-submit .btn-brand {
  padding: 0.95rem 1.25rem;
  font-size: 1.05rem;
  box-shadow: 0 16px 40px rgba(139, 92, 246, 0.35);
}
.dating-profile-submit-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}
.dating-profile-submit-inner i {
  font-size: 1.2rem;
}
.dating-profile-submit-note {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.dating-profile-submit-note i {
  color: var(--brand);
  margin-right: 0.2rem;
}

.dating-auth-premium .dating-auth-steps {
  margin-bottom: 1.35rem;
  gap: 0.35rem;
}
.dating-auth-premium .dating-auth-step {
  border-radius: 999px;
  padding: 0.5rem 0.65rem;
}

@media (max-width: 767px) {
  .dating-profile-form-head {
    flex-direction: column;
  }
  .dating-identity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dating-form-section-body {
    padding: 1rem;
  }
}

/* ── OTP verification ── */
.dating-otp-mobile-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-dark);
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  margin-bottom: 1.25rem;
}
.dating-otp-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.dating-otp-digit {
  width: 100%;
  aspect-ratio: 1;
  max-height: 58px;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 800;
  border-radius: 14px;
  border: 2px solid rgba(139, 92, 246, 0.18);
  background: #faf9ff;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.dating-otp-digit:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
  transform: translateY(-1px);
}
.dating-otp-digit.filled {
  border-color: rgba(139, 92, 246, 0.35);
  background: #fff;
}
.dating-otp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
}
.dating-otp-meta strong { color: var(--ink); }
.dating-otp-timer {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
  font-weight: 700;
}
.dating-otp-timer.is-ok {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
}
.btn-auth-secondary {
  border: 2px solid rgba(139, 92, 246, 0.2);
  color: var(--brand-dark);
  border-radius: 999px;
  font-weight: 700;
  background: #fff;
  padding: 0.65rem 1.25rem;
}
.btn-auth-secondary:hover:not(:disabled) {
  background: rgba(139, 92, 246, 0.06);
  border-color: rgba(139, 92, 246, 0.35);
  color: var(--brand-dark);
}
.btn-auth-secondary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ── Premium member verification (selfie) ── */
.dating-verify-premium {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(139, 92, 246, 0.12);
  box-shadow: var(--premium-shadow);
}
.dating-verify-premium-header {
  padding: 1.75rem 2rem 1.25rem;
  background: linear-gradient(135deg, #1a1028, #4c1d95 55%, #0f766e);
  color: #fff;
  position: relative;
}
.dating-verify-premium-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--pride-gradient);
  opacity: 0.85;
}
.dating-verify-premium-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.dating-verify-premium-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}
.dating-verify-premium-body { padding: 1.75rem 2rem 2rem; }
.dating-verify-alert {
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  border: 1px solid transparent;
}
.dating-verify-alert.warning {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.25);
  color: #92400e;
}
.dating-verify-alert.info {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
  color: #1e40af;
}
.dating-verify-alert.success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
  color: #065f46;
}
.dating-camera-frame {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #1a1028, #2e1065);
  border: 2px solid rgba(139, 92, 246, 0.25);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  position: relative;
}
.dating-camera-frame video {
  display: block;
  width: 100%;
  min-height: 280px;
  object-fit: cover;
  background: #111;
}
.dating-selfie-gate {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(26, 16, 40, 0.92), rgba(46, 16, 101, 0.94));
  color: #fff;
}
.dating-selfie-gate i {
  font-size: 2rem;
  color: #c4b5fd;
}
.dating-selfie-gate p {
  margin: 0;
  max-width: 16rem;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}
.dating-camera-status {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.75rem;
  color: var(--muted);
}
.dating-preview-frame {
  border-radius: 20px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f8f7fc, #f5f3ff);
  border: 2px dashed rgba(139, 92, 246, 0.2);
  padding: 1rem;
  text-align: center;
}
.dating-preview-frame img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  max-height: 320px;
}
.dating-preview-placeholder {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.dating-preview-placeholder i {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--brand-soft);
}

/* ── Premium pricing (checkout) ── */
.dating-pricing-premium {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(139, 92, 246, 0.12);
  box-shadow: var(--premium-shadow);
  margin-bottom: 2rem;
}
.dating-pricing-premium-header {
  padding: clamp(1.25rem, 4vw, 2rem);
  background: linear-gradient(135deg, #1a1028, #4c1d95 55%, #0f766e);
  color: #fff;
}
.dating-pricing-premium-header h1,
.dating-pricing-premium-header .h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
}
.dating-pricing-premium-header p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}
.dating-pricing-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
}
.dating-pricing-steps span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
}
.dating-pricing-steps span.active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.dating-pricing-steps span.done {
  color: #a7f3d0;
}
.dating-pricing-premium-body {
  padding: clamp(1.25rem, 4vw, 2rem);
}
.dating-pricing-card {
  position: relative;
  height: 100%;
  padding: 1.25rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #faf8ff);
  border: 1px solid rgba(139, 92, 246, 0.12);
  box-shadow: 0 8px 24px rgba(26, 16, 40, 0.06);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dating-pricing-card.is-popular {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.15);
}
.dating-pricing-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}
.dating-pricing-sub {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  min-height: 2.6em;
}
.dating-pricing-duration {
  font-size: 0.85rem;
  color: #6b21a8;
  font-weight: 600;
}
.dating-pricing-price .amount {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  color: #1a1028;
}
.dating-pricing-price .amount.free {
  color: #059669;
}
.dating-pricing-price .mrp {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.dating-pricing-price .save {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #b45309;
  background: rgba(251, 191, 36, 0.15);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}
.dating-pricing-benefits {
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  padding-top: 1.25rem;
}
.dating-pricing-benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem 1rem;
}
.dating-pricing-benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.dating-pricing-benefit-list i {
  color: var(--brand-soft);
  margin-top: 0.1rem;
}

/* ── Selfie v2: single viewport ── */
.dating-selfie-flow {
  max-width: 420px;
  margin: 0 auto;
}
.dating-selfie-stage-wrap {
  width: 100%;
}
.dating-selfie-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: min(72vh, 520px);
  margin: 0 auto;
}
.dating-selfie-stage video,
.dating-selfie-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.dating-selfie-face-ring {
  position: absolute;
  inset: 12% 18%;
  border: 2px dashed rgba(255, 255, 255, 0.45);
  border-radius: 50% / 58%;
  pointer-events: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.dating-selfie-face-ring.detected {
  border-color: rgba(52, 211, 153, 0.9);
  border-style: solid;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15);
}
.dating-selfie-face-ring.captured {
  border-color: rgba(167, 139, 250, 0.9);
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.2);
}
.dating-selfie-stage[data-state="captured"] {
  border-color: rgba(124, 58, 237, 0.45);
}
.dating-selfie-actions .btn {
  min-height: 48px;
}

/* ── Premium public content pages ── */
.dating-public-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 0.5rem 0 2rem;
}
.dating-public-page-hero {
  margin-bottom: 1.75rem;
}
.dating-public-page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.dating-public-page-hero p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.dating-public-page-card {
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(139, 92, 246, 0.1);
  box-shadow: var(--premium-shadow);
}

@media (max-width: 575px) {
  .home-premium-hero { padding-top: 2rem; }
  .home-premium-trust span { font-size: 0.72rem; }
  .dating-otp-grid { gap: 0.4rem; }
  .dating-otp-digit { font-size: 1.15rem; border-radius: 12px; }
  .dating-verify-premium-body { padding: 1.25rem; }
  .dating-verify-premium-header { padding: 1.25rem; }
}

.chat-audio-player {
  width: min(260px, 100%);
  height: 36px;
}

/* ── Mobile-first UX (Android + iOS) ── */
@media (max-width: 991px) {
  .dating-main--auth {
    padding-top: 0.75rem !important;
    padding-bottom: 1rem !important;
  }
  .dating-auth-page .alert {
    font-size: 0.88rem;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.85rem;
    border-radius: 12px;
  }
  .dating-auth-mobile-banner {
    padding: 0.85rem 1rem;
    margin-bottom: 0.85rem;
    border-radius: 14px;
  }
  .dating-auth-mobile-banner h2 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
  }
  .dating-auth-mobile-banner p {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  .dating-auth-premium .dating-auth-form {
    padding: 1.15rem 1rem 1.35rem;
  }
  .dating-auth-premium .dating-auth-shell {
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(26, 16, 40, 0.1);
  }
  .dating-auth-steps {
    flex-direction: row !important;
    flex-wrap: nowrap;
    gap: 0.3rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .dating-auth-steps::-webkit-scrollbar { display: none; }
  .dating-auth-step {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.4rem 0.2rem;
    border-radius: 10px !important;
    font-size: 0.7rem;
    line-height: 1.2;
  }
  .dating-auth-step span {
    font-size: 0.58rem;
    margin-top: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .dating-profile-form-head {
    gap: 0.65rem;
    margin-bottom: 1rem;
  }
  .dating-profile-title {
    font-size: 1.25rem;
  }
  .dating-profile-lead {
    font-size: 0.85rem;
  }
  .dating-profile-privacy {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    width: fit-content;
  }
  .dating-form-section {
    border-radius: 14px;
    margin-bottom: 0.85rem;
    box-shadow: 0 4px 14px rgba(26, 16, 40, 0.05);
  }
  .dating-form-section-head {
    padding: 0.75rem 0.9rem;
    gap: 0.65rem;
  }
  .dating-form-section-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 0.95rem;
  }
  .dating-form-section-head h3 {
    font-size: 0.95rem;
    margin: 0;
  }
  .dating-form-section-head p {
    display: none;
  }
  .dating-form-section-body {
    padding: 0.85rem 0.9rem 1rem !important;
  }
  .dating-form-section-body .mt-4 {
    margin-top: 1rem !important;
  }
  .dating-field-label {
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
  }
  .dating-field-hint {
    font-size: 0.72rem;
    margin-top: 0.3rem;
  }
  .dating-field-icon-wrap .form-control,
  .dating-field-icon-wrap .form-select,
  .dating-input-wrap .form-control {
    min-height: 48px;
    font-size: 16px; /* prevents iOS zoom */
    border-radius: 12px;
  }
  .dating-field-icon-wrap .form-control-lg {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    font-size: 16px;
  }
  .dating-profile-submit {
    position: sticky;
    bottom: 0;
    z-index: 20;
    margin: 0.5rem -0.25rem 0;
    padding: 0.75rem 0.25rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 28%);
  }
  .dating-profile-submit .btn-brand {
    min-height: 52px;
    border-radius: 14px;
    font-size: 1.05rem;
  }
  .dating-profile-submit-note {
    margin-top: 0.5rem;
    font-size: 0.72rem;
  }
  .dating-footer--compact .dating-footer-inner {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
  .dating-footer--compact .dating-footer-blurb,
  .dating-footer--compact .dating-footer-social,
  .dating-footer--compact .dating-footer-age,
  .dating-footer--compact .dating-footer-pay,
  .dating-footer--compact .dating-footer-hr {
    display: none;
  }
  .dating-footer--compact .dating-footer-grid > [class*="col-"]:first-child {
    margin-bottom: 0.5rem;
  }
  .dating-footer--compact .dating-footer-grid > [class*="col-"]:first-child h5 {
    font-size: 1rem;
  }
  .dating-footer--compact .dating-footer-grid > [class*="col-"]:first-child .mb-3 {
    margin-bottom: 0 !important;
  }
  .dating-footer--compact .dating-footer-col {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .dating-footer--compact .dating-footer-links {
    gap: 0.55rem !important;
  }
  .dating-footer--compact .dating-footer-links a {
    display: inline-block;
    padding: 0.35rem 0;
    min-height: 44px;
    line-height: 1.4;
  }
}

@media (max-width: 575px) {
  .dating-brand-text-full { display: none; }
  .dating-auth-mobile-banner {
    padding: 0.7rem 0.85rem;
    margin-bottom: 0.7rem;
  }
  .dating-auth-mobile-banner h2 {
    font-size: 0.98rem;
  }
  .dating-auth-mobile-banner p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .dating-auth-step {
    padding: 0.35rem 0.15rem;
    font-size: 0.65rem;
  }
  .dating-identity-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .dating-main {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .dating-footer .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .dating-footer-links a {
    display: block;
    padding: 0.45rem 0;
    min-height: 44px;
  }
}

@supports (padding: max(0px)) {
  .dating-nav.premium-nav {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
  body.dating-member.has-bottom-nav {
    padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 0.5rem);
  }
}

/* ── Site-wide mobile UX (member + public) ── */
@media (max-width: 991px) {
  .dating-main.py-4 {
    padding-top: 1rem !important;
    padding-bottom: 1.25rem !important;
  }
  .dating-bottom-nav {
    height: calc(var(--bottom-nav-height, 64px) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .dating-bottom-nav-item {
    font-size: 0.62rem;
    gap: 0.15rem;
    min-height: 48px;
  }
  .dating-bottom-nav-item i {
    font-size: 1.2rem;
  }
  .dating-member-nav .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .dating-dashboard-hero {
    padding: 1.15rem 1.2rem !important;
    margin-bottom: 1.1rem !important;
    border-radius: 18px !important;
  }
  .dating-dashboard-hero h1,
  .dating-dashboard-hero .h1 {
    font-size: 1.35rem !important;
  }
  .dating-stat-grid {
    gap: 0.65rem !important;
    margin-bottom: 1.1rem !important;
  }
  .dating-stat-card {
    padding: 0.85rem 0.95rem !important;
  }
  .dating-stat-card .stat-value {
    font-size: 1.4rem !important;
  }
  .dating-filter-card {
    padding: 1rem !important;
    margin-bottom: 1.1rem !important;
    border-radius: 16px !important;
  }
  .dating-page-header {
    margin-bottom: 1rem !important;
  }
  .dating-page-header h2 {
    font-size: 1.35rem;
  }
  .dating-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 0.85rem;
  }
  .dating-profile-card {
    border-radius: 16px;
    max-height: min(70vh, 480px);
  }
  .dating-profile-card-overlay {
    padding: 1rem;
  }
  .dating-profile-card-name {
    font-size: 1.1rem;
  }
  .dating-profile-card-actions .btn {
    min-height: 44px;
    font-size: 0.85rem;
  }
  .dating-match-row {
    padding: 0.75rem 0.9rem !important;
    gap: 0.75rem !important;
  }
  .panel-card {
    border-radius: 16px;
  }
  .panel-card.p-4,
  .panel-card.p-5 {
    padding: 1rem !important;
  }
  .dating-like-row {
    flex-wrap: wrap;
    align-items: flex-start !important;
  }
  .dating-like-actions {
    width: 100%;
    justify-content: flex-start !important;
    margin-top: 0.35rem;
    gap: 0.4rem !important;
  }
  .dating-like-actions .btn {
    min-height: 40px;
  }
  .view-profile-photo {
    width: min(220px, 72vw) !important;
    height: auto !important;
    aspect-ratio: 1;
    border-radius: 16px;
    object-fit: cover;
  }
  .dating-pricing-premium-header {
    padding: 1.25rem 1rem !important;
  }
  .dating-pricing-premium-body {
    padding: 1rem !important;
  }
  .dating-pricing-steps {
    gap: 0.35rem;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .dating-pricing-steps::-webkit-scrollbar { display: none; }
  .dating-pricing-card {
    padding: 1.1rem !important;
  }
  .dating-pricing-price .amount {
    font-size: 1.65rem !important;
  }
  .dating-pricing-sub {
    min-height: 0 !important;
  }
  .dating-pricing-benefit-list {
    grid-template-columns: 1fr !important;
  }
  .chat-layout--open .chat-sidebar-col {
    display: none;
  }
  .chat-layout--open .chat-main-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .chat-back-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .chat-mode-group {
    width: 100%;
  }
  .chat-mode-group .chat-mode-btn {
    flex: 1;
    font-size: 0.75rem;
    padding: 0.45rem 0.25rem;
  }
  .home-premium-hero {
    padding-top: 1.5rem !important;
    padding-bottom: 1.75rem !important;
    margin-bottom: 1.75rem !important;
  }
  .home-premium-actions {
    display: grid;
    gap: 0.65rem;
  }
  .home-premium-actions .btn {
    width: 100%;
    min-height: 48px;
  }
  .home-device-wrap {
    max-width: 260px !important;
    margin-inline: auto;
  }
  .home-device-float-badge {
    font-size: 0.65rem !important;
    padding: 0.35rem 0.5rem !important;
  }
  .home-bento-item {
    padding: 1.1rem !important;
  }
  .dating-public-page-hero h1 {
    font-size: 1.55rem;
  }
  .dating-public-page-card {
    padding: 1.15rem !important;
    border-radius: 16px;
  }
  .dating-footer .container.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  .dating-footer-links a {
    display: inline-block;
    padding: 0.4rem 0;
    min-height: 44px;
  }
}

@media (max-width: 575px) {
  .dating-card-grid {
    grid-template-columns: 1fr;
  }
  .dating-identity-grid {
    grid-template-columns: 1fr !important;
  }
  .home-device-float-badge {
    display: none;
  }
  .dating-profile-card {
    aspect-ratio: 4 / 5;
  }
  .alert {
    font-size: 0.9rem;
    border-radius: 12px;
  }
}

/* ── Real-time chat redesign ── */
.chat-shell {
  background: #fff !important;
  display: flex;
  flex-direction: column;
  height: min(78vh, 760px);
  min-height: 560px;
  overflow: hidden;
  border-radius: 22px;
}
.chat-header {
  flex-shrink: 0;
  background: linear-gradient(180deg, #ffffff, #faf8ff) !important;
  border-bottom: 1px solid rgba(139, 92, 246, 0.12) !important;
  padding: 0.85rem 1rem 0.75rem !important;
}
.chat-header-main { display: flex; align-items: center; gap: 0.75rem; }
.chat-header-avatar, .chat-contact-avatar {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(26, 16, 40, 0.12);
}
.chat-header-meta h3 { margin: 0; font-size: 1.05rem; font-weight: 800; color: #1a1028; }
.chat-header-status { font-size: 0.78rem; display: flex; align-items: center; gap: 0.35rem; }
.chat-typing-line {
  display: inline-flex; align-items: center; gap: 0.2rem; margin-top: 0.15rem;
  font-size: 0.75rem; font-weight: 700; color: #7c3aed;
}
.chat-typing-line span {
  width: 5px; height: 5px; border-radius: 50%; background: #7c3aed;
  animation: chatTyping 1s infinite ease-in-out;
}
.chat-typing-line span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing-line span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatTyping {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}
.chat-mode-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.5rem; margin-top: 0.65rem;
}
.chat-mode-banner {
  font-size: 0.75rem; font-weight: 700; color: #b45309;
  background: rgba(251, 191, 36, 0.15); border-radius: 999px; padding: 0.25rem 0.7rem;
}
.chat-mode-group {
  display: inline-flex; background: #f3f0ff; border-radius: 999px; padding: 0.2rem; gap: 0.15rem;
}
.chat-mode-btn {
  border: 0; background: transparent; color: #6b6280; font-size: 0.72rem; font-weight: 700;
  border-radius: 999px; padding: 0.35rem 0.7rem;
}
.chat-mode-btn.active {
  background: #fff; color: #6d28d9; box-shadow: 0 4px 12px rgba(109, 40, 217, 0.12);
}
.chat-sidebar {
  display: flex; flex-direction: column; height: min(78vh, 760px); min-height: 560px;
  overflow: hidden; padding: 0 !important;
}
.chat-sidebar-head { padding: 1.1rem 1.15rem 0.85rem; border-bottom: 1px solid rgba(139, 92, 246, 0.1); }
.chat-sidebar-head h2 { margin: 0; font-size: 1.2rem; font-weight: 800; }
.chat-sidebar-head p { margin: 0.2rem 0 0; font-size: 0.8rem; color: var(--muted); }
.chat-sidebar-empty { padding: 2rem 1.25rem; text-align: center; color: var(--muted); }
.chat-sidebar-empty i { font-size: 1.8rem; color: #8b5cf6; display: block; margin-bottom: 0.75rem; }
.chat-contact-list { overflow-y: auto; padding: 0.65rem; flex: 1; }
.chat-contact-card {
  display: flex; gap: 0.75rem; align-items: center; text-decoration: none; color: inherit;
  padding: 0.7rem 0.75rem; border-radius: 16px; margin-bottom: 0.35rem;
  transition: background 0.15s ease;
}
.chat-contact-card:hover { background: rgba(139, 92, 246, 0.06); transform: none; box-shadow: none; }
.chat-contact-card.active { background: linear-gradient(135deg, #7c3aed, #5b21b6); color: #fff; }
.chat-contact-body { min-width: 0; flex: 1; }
.chat-contact-top { display: flex; justify-content: space-between; gap: 0.5rem; align-items: baseline; }
.chat-contact-name { font-weight: 800; font-size: 0.95rem; }
.chat-contact-time { font-size: 0.7rem; opacity: 0.7; flex-shrink: 0; }
.chat-contact-preview {
  font-size: 0.78rem; opacity: 0.75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 0.1rem;
}
.chat-contact-presence { margin-top: 0.2rem; font-size: 0.72rem; }
.chat-stream {
  flex: 1; min-height: 0; height: auto !important; overflow-y: auto; padding: 1rem 1rem 0.5rem;
  background:
    radial-gradient(circle at top left, rgba(196, 181, 253, 0.22), transparent 28%),
    radial-gradient(circle at bottom right, rgba(244, 114, 182, 0.12), transparent 30%),
    linear-gradient(180deg, #faf8ff 0%, #f5f3ff 100%) !important;
}
.chat-stream-empty { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.chat-stream-empty-card {
  text-align: center; background: rgba(255,255,255,0.9); border: 1px solid rgba(139, 92, 246, 0.12);
  border-radius: 18px; padding: 1.5rem 1.25rem; max-width: 280px;
  box-shadow: 0 12px 30px rgba(26, 16, 40, 0.06);
}
.chat-stream-empty-card i { font-size: 1.6rem; color: #8b5cf6; display: block; margin-bottom: 0.5rem; }
.chat-stream-empty-card strong { display: block; margin-bottom: 0.35rem; }
.chat-stream-empty-card p { margin: 0; font-size: 0.85rem; color: #6b6280; }
.chat-message-row { display: flex; align-items: flex-end; gap: 0.55rem; margin-bottom: 0.85rem; }
.chat-message-row.self { justify-content: flex-end; }
.chat-avatar-sm { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.chat-message-stack { max-width: min(78%, 420px); }
.chat-message-stack.self { display: flex; flex-direction: column; align-items: flex-end; }
.chat-bubble {
  background: #fff; color: #1a1028; border-radius: 18px 18px 18px 6px; padding: 0.7rem 0.9rem;
  box-shadow: 0 8px 20px rgba(26, 16, 40, 0.06); border: 1px solid rgba(139, 92, 246, 0.08);
}
.chat-bubble.self {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9) !important; color: #fff;
  border-radius: 18px 18px 6px 18px; border-color: transparent;
}
.chat-bubble-image { width: 100%; max-width: 240px; border-radius: 14px; display: block; margin-bottom: 0.4rem; }
.chat-message-text { white-space: pre-wrap; word-break: break-word; line-height: 1.5; font-size: 0.95rem; }
.chat-disappear-hint { font-size: 0.72rem; font-weight: 700; opacity: 0.8; margin-bottom: 0.35rem; }
.chat-meta { margin-top: 0.25rem; font-size: 0.7rem; color: #6b7280; display: flex; align-items: center; gap: 0.35rem; }
.chat-meta.self { justify-content: flex-end; text-align: right; }
.chat-ticks { font-size: 0.78rem; letter-spacing: -0.08em; opacity: 0.75; }
.chat-ticks.seen { color: #38bdf8; opacity: 1; }
.chat-composer {
  flex-shrink: 0; border-top: 1px solid rgba(139, 92, 246, 0.12);
  background: rgba(255,255,255,0.98); padding: 0.75rem 0.85rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
}
.chat-composer-row { display: flex; align-items: center; gap: 0.45rem; }
.chat-composer-input-wrap {
  flex: 1; background: #f3f0ff !important; border: 1px solid rgba(139, 92, 246, 0.14) !important;
  border-radius: 999px !important; padding: 0.15rem 0.2rem; box-shadow: none !important;
}
.chat-text-input {
  width: 100%; border: 0; box-shadow: none !important; background: transparent;
  padding: 0.7rem 0.95rem; font-size: 0.95rem; outline: none;
}
.chat-icon-btn, .chat-send-btn, .chat-back-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 0; display: inline-flex;
  align-items: center; justify-content: center; flex-shrink: 0;
  background: #f3f0ff; color: #6d28d9; text-decoration: none;
}
.chat-send-btn {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff;
  box-shadow: 0 8px 18px rgba(109, 40, 217, 0.28);
}
.chat-icon-btn.is-recording { background: #ef4444; color: #fff; }
.chat-composer-hint {
  font-size: 0.72rem; color: #6b6280; margin-top: 0; max-height: 0; overflow: hidden; transition: all 0.15s ease;
}
.chat-composer-hint.is-visible { margin-top: 0.45rem; max-height: 2rem; }
.chat-upgrade-bar {
  flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.9rem 1rem; border-top: 1px solid rgba(251, 191, 36, 0.35);
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
}
.chat-upgrade-bar p { margin: 0.15rem 0 0; font-size: 0.8rem; color: #92400e; }
.chat-empty-state {
  min-height: 560px; height: 100%; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 2rem 1.25rem;
  background:
    radial-gradient(circle at top left, rgba(196, 181, 253, 0.25), transparent 28%),
    linear-gradient(180deg, #faf8ff 0%, #f5f3ff 100%) !important;
}
.chat-empty-icon {
  width: 72px; height: 72px; border-radius: 22px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #ede9fe, #ddd6fe); color: #6d28d9; font-size: 1.8rem;
  box-shadow: 0 18px 36px rgba(109, 40, 217, 0.16); margin-bottom: 1rem;
}
.chat-empty-state h3 { font-weight: 800; margin-bottom: 0.35rem; }
.chat-empty-state p { color: #6b6280; margin: 0; max-width: 280px; }
.chat-audio-player { width: min(240px, 100%); height: 36px; }
.chat-more-menu { min-width: 220px; }

@media (max-width: 991px) {
  .chat-shell, .chat-sidebar { height: min(82vh, 720px); min-height: 480px; }
  .chat-layout--open .chat-sidebar-col { display: none; }
  .chat-layout--open .chat-main-col { flex: 0 0 100%; max-width: 100%; }
}
@media (max-width: 768px) {
  .chat-shell, .chat-sidebar { min-height: 420px; height: calc(100dvh - 150px); }
  .chat-message-stack { max-width: 86%; }
  .chat-empty-state { min-height: 320px !important; }
}

/* ── Mobile chat page (no footer clutter) ── */
body.dating-chat-page .dating-member-footer { display: none !important; }
body.dating-chat-page .dating-main--chat {
  padding-top: 0.5rem !important;
  padding-bottom: 0.35rem !important;
  max-width: 1200px;
}
.dating-bottom-nav-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dating-bottom-nav-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.dating-notification-menu {
  z-index: 2000 !important;
  max-height: min(70vh, 420px);
  overflow: hidden;
}
.dating-notification-menu-head {
  background: linear-gradient(135deg, #f5f3ff, #fff);
}
.dating-notification-list {
  max-height: min(58vh, 340px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.chat-live-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom-nav-height, 64px) + 18px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(16px);
  z-index: 2100;
  max-width: min(92vw, 360px);
  padding: 0.7rem 1rem;
  border-radius: 14px;
  background: rgba(26, 16, 40, 0.94);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0,0,0,0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.chat-live-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 991px) {
  body.dating-chat-page.has-bottom-nav {
    padding-bottom: calc(var(--bottom-nav-height, 64px) + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.dating-chat-page .chat-shell,
  body.dating-chat-page .chat-sidebar {
    height: calc(100dvh - var(--nav-height, 58px) - var(--bottom-nav-height, 64px) - 1rem - env(safe-area-inset-bottom, 0px)) !important;
    min-height: 0 !important;
    border-radius: 18px;
  }
  body.dating-chat-page .chat-layout {
    margin: 0 !important;
  }
  body.dating-chat-page .chat-header {
    padding: 0.65rem 0.75rem 0.55rem !important;
  }
  body.dating-chat-page .chat-mode-bar {
    margin-top: 0.45rem;
  }
  body.dating-chat-page .chat-composer {
    padding: 0.55rem 0.6rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  }
  body.dating-chat-page .chat-stream {
    padding: 0.75rem;
  }
  body.dating-chat-page.chat-layout--open .dating-main--chat {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

/* ── Immersive mobile chat (conversation open) ── */
@media (max-width: 991px) {
  /* Stop page scroll so partner name never slides under the site header */
  body.dating-chat-open {
    overflow: hidden !important;
    height: 100dvh;
    max-height: 100dvh;
    overscroll-behavior: none;
  }
  /* WhatsApp-style: chat header IS the top bar */
  body.dating-chat-open .dating-nav {
    display: none !important;
  }
  body.dating-chat-open .dating-bottom-nav {
    display: none !important;
  }
  body.dating-chat-open.has-bottom-nav {
    padding-bottom: 0 !important;
  }
  body.dating-chat-open .dating-main--chat {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
  }
  body.dating-chat-open .dating-main--chat > .alert {
    display: none !important;
  }
  body.dating-chat-open .chat-layout {
    margin: 0 !important;
    --bs-gutter-x: 0;
    height: 100%;
    max-height: 100%;
  }
  body.dating-chat-open .chat-main-col {
    padding-left: 0 !important;
    padding-right: 0 !important;
    height: 100%;
    max-height: 100%;
  }
  body.dating-chat-open .chat-shell {
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  body.dating-chat-open .chat-header {
    position: relative;
    z-index: 30;
    flex-shrink: 0;
    padding: 0.55rem 0.75rem 0.5rem !important;
    padding-top: calc(0.55rem + env(safe-area-inset-top, 0px)) !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1) !important;
  }
  body.dating-chat-open .chat-header-meta h3 {
    font-size: 1rem;
    line-height: 1.2;
  }
  body.dating-chat-open .chat-header-avatar {
    width: 40px;
    height: 40px;
  }
  body.dating-chat-open .chat-mode-bar {
    margin-top: 0.4rem;
  }
  body.dating-chat-open .chat-mode-group {
    width: 100%;
    justify-content: space-between;
  }
  body.dating-chat-open .chat-mode-btn {
    flex: 1;
    text-align: center;
  }
  body.dating-chat-open .chat-stream {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 0.85rem 0.75rem 0.5rem;
  }
  body.dating-chat-open .chat-composer {
    flex-shrink: 0;
    position: relative;
    z-index: 30;
    padding: 0.55rem 0.65rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
  }
  body.dating-chat-open .chat-live-toast {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
}

/* Voice recording bar */
.chat-voice-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  font-size: 0.82rem;
  font-weight: 700;
}
.chat-voice-bar.is-ready {
  background: rgba(139, 92, 246, 0.12);
  color: #6d28d9;
}
.chat-voice-bar.d-none { display: none !important; }
.chat-voice-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
  animation: chatVoicePulse 1.2s infinite;
  flex-shrink: 0;
}
.chat-voice-bar.is-ready .chat-voice-dot {
  background: #8b5cf6;
  animation: none;
  box-shadow: none;
}
@keyframes chatVoicePulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
#voiceRecordTimer {
  min-width: 2.4rem;
  font-variant-numeric: tabular-nums;
}
#recordVoiceButton {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

/* Instagram-style voice note bubble (sender + receiver) */
.chat-voice-note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 168px;
  max-width: 240px;
  padding: 0.15rem 0.1rem;
}
.chat-voice-play {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(109, 40, 217, 0.14);
  color: #6d28d9;
  font-size: 1.15rem;
  line-height: 1;
  padding: 0;
}
.chat-bubble.self .chat-voice-play {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.chat-voice-note.is-playing .chat-voice-play {
  background: #6d28d9;
  color: #fff;
}
.chat-bubble.self .chat-voice-note.is-playing .chat-voice-play {
  background: #fff;
  color: #6d28d9;
}
.chat-voice-wave {
  --progress: 0;
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 28px;
  min-width: 0;
}
.chat-voice-wave span {
  flex: 1;
  height: calc(var(--h, 40) * 1%);
  min-height: 4px;
  max-height: 100%;
  border-radius: 2px;
  background: rgba(109, 40, 217, 0.28);
}
.chat-bubble.self .chat-voice-wave span {
  background: rgba(255, 255, 255, 0.35);
}
.chat-voice-wave::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: calc(var(--progress) * 100%);
  background: linear-gradient(90deg, rgba(109, 40, 217, 0.55), rgba(109, 40, 217, 0.85));
  mix-blend-mode: multiply;
  pointer-events: none;
  border-radius: 2px;
  opacity: 0.55;
}
.chat-bubble.self .chat-voice-wave::after {
  background: rgba(255, 255, 255, 0.55);
  mix-blend-mode: normal;
  opacity: 0.35;
}
.chat-voice-dur {
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #6b6280;
  min-width: 2.2rem;
  text-align: right;
}
.chat-bubble.self .chat-voice-dur {
  color: rgba(255, 255, 255, 0.9);
}
.chat-voice-audio {
  display: none;
}

/* Always-visible logout in top nav */
.dating-logout-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
  padding-inline: 0.75rem;
  font-weight: 700;
}
@media (max-width: 575.98px) {
  .dating-logout-btn .dating-logout-label {
    display: none;
  }
  .dating-logout-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
  }
}

/* -- View profile premium typography -- */
.vp-page {
  width: min(100%, 980px);
  margin: 0 auto;
}
.vp-shell { padding: 0.25rem 0 1rem; }
.vp-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(219, 39, 119, 0.12);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(124, 58, 237, 0.1);
  padding: clamp(1.25rem, 3vw, 2rem);
  backdrop-filter: blur(10px);
}
.vp-card.is-boosted {
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 28px 70px rgba(245, 158, 11, 0.16);
}
.vp-layout {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .vp-layout {
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
  }
}
.vp-photo-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1;
  background: linear-gradient(145deg, #fce7f3, #ede9fe);
  box-shadow: 0 18px 40px rgba(20, 16, 31, 0.12);
}
.vp-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vp-photo.is-locked {
  filter: blur(12px);
  transform: scale(1.04);
}
.vp-photo-lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1rem;
  background: rgba(20, 16, 31, 0.42);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.4;
}
.vp-photo-lock i { font-size: 1.4rem; }
.vp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #db2777;
}
.vp-name {
  margin: 0 0 0.45rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 650;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #14101f;
}
.vp-age {
  font-weight: 500;
  color: #4c4660;
}
.vp-boost {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 0.45rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #78350f;
}
.vp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin: 0 0 0.85rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: #4c4660;
  line-height: 1.45;
}
.vp-dot { opacity: 0.5; }
.vp-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin-bottom: 1.35rem;
}
.vp-presence {
  font-family: "Manrope", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #6b6280;
}
.vp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.vp-badge--verified {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}
.vp-badge--plain {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
}
.vp-section {
  padding: 1rem 0 0.25rem;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
}
.vp-section-title {
  margin: 0 0 0.45rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7c3aed;
}
.vp-section-copy {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.7;
  color: #2f2940;
}
.vp-section-copy.is-empty {
  color: #7a738c;
  font-style: italic;
  font-weight: 500;
}
.vp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.vp-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.12), rgba(167, 139, 250, 0.14));
  border: 1px solid rgba(219, 39, 119, 0.12);
  color: #4c1d95;
  font-family: "Manrope", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
}
.vp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
}
.vp-btn {
  min-height: 44px;
  border-radius: 999px !important;
  font-family: "Manrope", sans-serif !important;
  font-weight: 750 !important;
  letter-spacing: -0.01em;
  padding-inline: 1.15rem !important;
}

/* ============================================================
   Registration UX v2 — premium wizard, trust, validation
   ============================================================ */

/* Trust badges row (auth shell) */
.dating-auth-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.dating-auth-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand-dark);
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.16);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}
.dating-auth-badges li i { color: #16a34a; font-size: 0.85rem; }

/* Security indicators bar */
.dating-auth-secure {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
}
.dating-auth-secure span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
}
.dating-auth-secure i { color: #059669; }

/* Reassurance microcopy */
.dating-reassure {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  font-weight: 600;
  color: #047857;
  background: rgba(16, 185, 129, 0.07);
  border: 1px solid rgba(16, 185, 129, 0.14);
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
}
.dating-reassure i { margin-top: 0.1rem; flex-shrink: 0; }

.dating-field-optional {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.82em;
}

/* Live validation green check */
.dating-field-icon-wrap { position: relative; }
.dating-valid-check {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%) scale(0.6);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #16a34a;
  color: #fff;
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.dating-field-icon-wrap.is-valid .dating-valid-check {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.dating-field-icon-wrap.is-valid .form-control,
.dating-field-icon-wrap.is-valid .form-select {
  border-color: rgba(16, 185, 129, 0.5);
}
.dating-field-icon-wrap.has-toggle .dating-valid-check { right: 2.6rem; }

/* Wizard panels */
.dating-wizard.is-wizard .dating-wizard-panel { display: none; }
.dating-wizard.is-wizard .dating-wizard-panel.is-active {
  display: block;
  animation: dcWizIn 0.35s ease;
}
@keyframes dcWizIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: none; }
}

/* Wizard sub-progress */
.dating-wizard-progress { margin-bottom: 1.5rem; }
.dating-wizard-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
}
.dating-wizard-progress-head > span:first-child {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
}
.dating-wizard-progress-count { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.dating-wizard-progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.12);
  overflow: hidden;
}
.dating-wizard-progress-bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #db2777, #7c3aed 55%, #2563eb);
  transition: width 0.35s ease;
}

/* Wizard nav */
.dating-wizard-nav {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.6rem;
}
.dating-wizard-nav--split {
  grid-template-columns: auto 1fr;
  align-items: center;
}
.dating-wizard-nav .btn-brand { width: 100%; }
.dating-btn-loading { display: inline-flex; align-items: center; }

/* Password strength */
.dating-strength { margin-top: 0.5rem; }
.dating-strength-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.12);
  overflow: hidden;
}
.dating-strength-bar > span {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: 999px;
  background: #ef4444;
  transition: width 0.25s ease, background 0.25s ease;
}
.dating-strength[data-level="2"] .dating-strength-bar > span { background: #f59e0b; }
.dating-strength[data-level="3"] .dating-strength-bar > span { background: #3b82f6; }
.dating-strength[data-level="4"] .dating-strength-bar > span { background: #16a34a; }
.dating-strength-label {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}
.dating-strength[data-level="4"] .dating-strength-label { color: #16a34a; }

/* Confirm match note */
[data-dc-match].is-ok { color: #16a34a; font-weight: 700; }
[data-dc-match].is-bad { color: #b45309; font-weight: 700; }

/* Sticky wizard nav on mobile */
@media (max-width: 575.98px) {
  .dating-wizard.is-wizard .dating-wizard-panel.is-active .dating-wizard-nav {
    position: sticky;
    bottom: 0;
    z-index: 30;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding: 0.75rem 0.25rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(255,255,255,0), #fff 30%);
  }
}

/* ---- Success page ---- */
.dating-success {
  max-width: 620px;
  margin: 1rem auto;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(139, 92, 246, 0.12);
  border-radius: var(--radius-xl, 28px);
  box-shadow: 0 32px 80px rgba(26, 16, 40, 0.14);
  padding: clamp(1.75rem, 5vw, 3rem);
}
.dating-success-check { width: 88px; height: 88px; margin: 0 auto 1.25rem; }
.dating-success-svg { width: 100%; height: 100%; }
.dating-success-ring {
  stroke: #16a34a;
  stroke-dasharray: 201;
  stroke-dashoffset: 201;
  animation: dcRing 0.6s ease forwards;
}
.dating-success-tick {
  stroke: #16a34a;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: dcTick 0.4s 0.5s ease forwards;
}
@keyframes dcRing { to { stroke-dashoffset: 0; } }
@keyframes dcTick { to { stroke-dashoffset: 0; } }
.dating-success-title {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
.dating-success-sub { color: var(--muted); line-height: 1.6; margin: 0 auto 1.25rem; max-width: 34rem; }
.dating-success-alert { display: inline-flex; margin-bottom: 1.5rem; }
.dating-success-steps {
  text-align: left;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.dating-success-steps-title {
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.25rem;
}
.dating-success-step {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: #faf8ff;
  border: 1px solid rgba(139, 92, 246, 0.1);
}
.dating-success-step-ic {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
  background: linear-gradient(145deg, #db2777, #7c3aed 55%, #0891b2);
}
.dating-success-step strong { display: block; font-size: 0.98rem; }
.dating-success-step span { font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
.dating-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.dating-success-note { margin: 1.1rem 0 0; font-size: 0.8rem; color: var(--muted); }
.dating-success-note i { color: #059669; }

@media (prefers-reduced-motion: reduce) {
  .dating-success-ring, .dating-success-tick { animation: none; stroke-dashoffset: 0; }
  .dating-wizard.is-wizard .dating-wizard-panel.is-active { animation: none; }
}
