:root {
  --bg-deep: #140d2a;
  --bg-mid: #2c163d;
  --bg-panel: rgba(54, 35, 68, 0.75);
  --glass: rgba(255, 255, 255, 0.06);
  --pink: #ff4eb3;
  --pink-strong: #ff2f9a;
  --pink-soft: #ff90cb;
  --purple: #6a4cff;
  --purple-strong: #3b1e63;
  --cyan: #3ae8d4;
  --text: #f7f1ff;
  --muted: rgba(255, 255, 255, 0.7);
  --line: rgba(255, 255, 255, 0.16);
  --input: rgba(255, 255, 255, 0.08);
  --shadow: 0 25px 60px rgba(17, 8, 22, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #140d2a 0%, #1d0d2f 18%, #2b123d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(255, 67, 161, 0.18), transparent 22%);
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 30px 40px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
  padding: 12px 28px 10px;
  margin-top: 10px;
  border-radius: 26px 26px 0 0;
  background: rgba(19, 10, 30, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  font-size: 1.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff5ca6, #ff9cc8);
  box-shadow: 0 14px 24px rgba(255, 78, 179, 0.4);
}

.brand-name {
  font-size: clamp(1.6rem, 2.8vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  color: #ff78c4;
  font-family: "Great Vibes", cursive;
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  flex: 1;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.nav-menu a {
  position: relative;
  padding-bottom: 8px;
  opacity: 0.9;
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--pink), #ff8bd2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-login,
.nav-join,
.primary-btn,
.secondary-btn,
.continue-btn {
  border: none;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-login {
  padding: 12px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.17);
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(20, 13, 42, 0.2);
}

.nav-join {
  padding: 14px 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff5eb7, #ad5bff);
  color: #fff;
  box-shadow: 0 18px 28px rgba(255, 94, 183, 0.35);
}

.profile-showcase {
  position: absolute;
  left: 0;
  bottom: 14px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 0 30px;
  z-index: 1;
  pointer-events: none;
}

.male-card {
  width: 240px;
  padding: 12px 12px 10px;
  border-radius: 22px;
  background: rgba(21, 11, 31, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 30px rgba(16, 8, 22, 0.25);
  opacity: 0.94;
}

.male-photo {
  height: 170px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
}

.male-one .male-photo {
  background-image: url("https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=900&q=80");
}

.male-two .male-photo {
  background-image: url("https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?auto=format&fit=crop&w=900&q=80");
}

.male-meta {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.male-meta strong {
  font-size: 1.1rem;
}

.male-meta span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
}

.hero-section {
  position: relative;
  min-height: 760px;
  background:
    linear-gradient(180deg, rgba(11, 7, 19, 0.5), rgba(20, 10, 27, 0.28)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  padding: 38px 48px 28px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-section::before {
  background: linear-gradient(180deg, rgba(19, 12, 28, 0.15), rgba(19, 12, 28, 0.35));
}

.hero-section::after {
  background: radial-gradient(circle at 50% 80%, rgba(255, 111, 160, 0.3), transparent 30%);
}

.hero-content,
.floating-note,
.stat-box,
.scroll-indicator {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: min(940px, 100%);
  margin: 0 auto;
  text-align: center;
  padding-top: 18px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  background: rgba(24, 20, 42, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 12px 22px rgba(27, 18, 44, 0.2);
}

.hero-content h1 {
  margin: 26px auto 18px;
  font-size: clamp(4rem, 7vw, 8.5rem);
  line-height: 0.8;
  letter-spacing: -0.07em;
  color: #fff;
  font-weight: 900;
  max-width: 960px;
}

.script-text {
  display: block;
  background: linear-gradient(90deg, #ff4bb2, #ff87c7 45%, #ffdbf2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  letter-spacing: 0;
  text-shadow: 0 0 30px rgba(255, 116, 190, 0.4);
}

.hero-content p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.primary-btn,
.secondary-btn {
  height: 58px;
  padding: 0 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
}

.primary-btn {
  background: linear-gradient(135deg, #ff4eb3, #b753ff);
  color: #fff;
  box-shadow: 0 18px 28px rgba(255, 74, 182, 0.45);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 18px;
  margin-top: 44px;
  width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: 18px 18px 16px;
  border-radius: 24px;
  background: rgba(17, 8, 21, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.stat-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 92px;
}

.stat-box strong {
  font-size: clamp(1.8rem, 2.3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.stat-box span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
}

.scroll-indicator {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.scroll-line {
  display: inline-block;
  width: 68px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ff4eb3, rgba(255, 255, 255, 0.35));
}

.floating-note {
  position: absolute;
  font-family: "Great Vibes", cursive;
  font-size: clamp(1.4rem, 2vw, 2.5rem);
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 8px 20px rgba(19, 10, 32, 0.5);
}

.left-note {
  left: 26px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: rotate(-2deg);
}

.line-arrow {
  font-size: 2rem;
  margin-top: 2px;
}

.right-note {
  right: 36px;
  bottom: 38px;
  transform: rotate(2deg);
}

.hero-profile-preview {
  position: absolute;
  right: 42px;
  bottom: 40px;
  z-index: 2;
  width: 250px;
  padding: 10px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(30, 15, 38, 0.64);
  box-shadow: 0 22px 45px rgba(18, 7, 25, 0.42);
  backdrop-filter: blur(12px);
  transform: rotate(2deg);
}

.hero-profile-photo {
  position: relative;
  height: 235px;
  border-radius: 18px;
  background: url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=800&q=85") center/cover;
}

.profile-match-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 20px;
  color: #fff;
  background: rgba(218, 61, 145, 0.86);
  font-size: 0.68rem;
  font-weight: 800;
}

.hero-profile-copy {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 14px 3px 0;
}

.hero-profile-copy h3 { margin: 0 0 4px; font-size: 1.08rem; }
.hero-profile-copy p { margin: 0; color: rgba(255, 255, 255, 0.63); font-size: 0.7rem; }
.verified-mark { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: #fff; background: #45d9cf; font-size: 0.62rem; }
.hero-online { color: #6af0cb; font-size: 0.68rem; font-weight: 800; }
.hero-profile-bio { margin: 12px 3px; color: rgba(255, 255, 255, 0.78); font-size: 0.74rem; line-height: 1.55; }
.hero-profile-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hero-profile-tags span { padding: 5px 9px; border-radius: 20px; color: #ffc8e7; background: rgba(255, 121, 190, 0.14); font-size: 0.63rem; }

.signup-card-wrap {
  position: relative;
  margin-top: -60px;
  padding-bottom: 40px;
}

.signup-card {
  width: min(760px, calc(100% - 90px));
  margin: 0 auto;
  padding: 36px 52px 24px;
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(74, 47, 89, 0.9), rgba(46, 30, 62, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 60px rgba(21, 9, 41, 0.45);
  position: relative;
  overflow: hidden;
}

.signup-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 107, 188, 0.14), transparent 30%);
  pointer-events: none;
}

.brand-center {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.script-brand {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  color: #ff77be;
}

.profile-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 8px 0 18px;
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  color: rgba(255, 255, 255, 0.9);
}

.online-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #33e7d4, #5be1ff);
  box-shadow: 0 0 18px rgba(51, 231, 212, 0.9);
}

.step-progress {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 26px 0 20px;
}

.step {
  width: 110px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.step.filled {
  background: linear-gradient(90deg, #ff4eb3, #f12585 100%);
}

.step-label {
  text-align: center;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-weight: 600;
}

.signup-card label {
  display: block;
  margin-bottom: 22px;
}

.signup-card label > span {
  display: block;
  margin: 0 0 8px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.signup-card input,
.signup-card select {
  width: 100%;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.95);
  padding: 0 18px;
  outline: none;
  font-size: 1.02rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.signup-card input:focus,
.signup-card select:focus {
  border-color: rgba(255, 94, 183, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 94, 183, 0.15);
}

.signup-card input::placeholder,
.signup-card select {
  color: rgba(255, 255, 255, 0.52);
}

.signup-card input::placeholder {
  opacity: 0.8;
}

.form-grid {
  display: grid;
  gap: 20px;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.phone-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
}

.country-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 58px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.country-code .dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3be7d7, #4ed8ff);
  display: inline-block;
}

.small-gap {
  gap: 18px;
}

.continue-btn {
  display: block;
  width: 100%;
  height: 62px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4eb3, #9d59ff);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 20px 36px rgba(255, 78, 179, 0.33);
}

.nav-login:hover,
.nav-join:hover,
.primary-btn:hover,
.secondary-btn:hover,
.continue-btn:hover {
  transform: translateY(-2px);
}

.signin-text {
  text-align: center;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

.signin-text a {
  color: #ffb9e0;
  font-weight: 700;
}

@media (max-width: 980px) {
  .topbar {
    flex-wrap: wrap;
    padding: 16px 20px 10px;
  }

  .nav-menu {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero-section {
    min-height: 860px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .left-note,
  .right-note,
  .hero-profile-preview {
    display: none;
  }

  .profile-showcase {
    justify-content: center;
    gap: 16px;
    padding: 0 18px;
  }

  .male-card {
    width: 180px;
  }

  .stats-row {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
  }
}

@media (max-width: 700px) {
  .page-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .topbar {
    padding: 14px 14px 8px;
  }

  .brand-wrap {
    min-width: auto;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .nav-login {
    padding: 10px 14px;
  }

  .nav-join {
    padding: 10px 16px;
  }

  .hero-section {
    padding-top: 34px;
    min-height: 720px;
  }

  .profile-showcase {
    position: static;
    margin-top: 24px;
    margin-bottom: 18px;
  }

  .male-card {
    width: 150px;
  }

  .male-photo {
    height: 130px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: min(100%, 280px);
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .signup-card {
    width: min(100%, 100%);
    padding: 26px 18px 20px;
    border-radius: 28px;
  }

  .two-col,
  .phone-row {
    grid-template-columns: 1fr;
  }

  .profile-header {
    text-align: center;
    line-height: 1.4;
  }
}

.content-section {
  padding: 110px 28px 20px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-kicker {
  color: var(--pink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 12px 0 14px;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.section-heading h2 span { color: var(--pink-soft); }
.section-heading p { margin: 0; color: var(--muted); line-height: 1.7; }

.profile-grid,
.story-grid,
.pricing-grid {
  display: grid;
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.profile-grid { grid-template-columns: repeat(4, 1fr); }

.feature-profile,
.story-card,
.price-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 50px rgba(12, 5, 20, 0.22);
}

.feature-profile { padding: 10px 10px 18px; border-radius: 24px; overflow: hidden; }
.feature-photo { height: 260px; border-radius: 17px; background-position: center; background-size: cover; }
.profile-a .feature-photo { background-image: url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=700&q=80"); }
.profile-b .feature-photo { background-image: url("https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?auto=format&fit=crop&w=700&q=80"); }
.profile-c .feature-photo { background-image: url("https://images.unsplash.com/photo-1529626455594-4ff0802cfb7e?auto=format&fit=crop&w=700&q=80"); }
.profile-d .feature-photo { background-image: url("https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=700&q=80"); }

.profile-info { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 4px 0; }
.profile-info h3 { margin: 0 0 4px; font-size: 1.1rem; }
.profile-info span, .feature-profile p, .story-card span { color: var(--muted); font-size: 0.78rem; }
.feature-profile p { margin: 12px 4px 0; line-height: 1.6; }
.round-action { width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 50%; color: var(--pink-soft); background: rgba(255, 255, 255, 0.07); font-size: 1.4rem; }

.stories-section { padding-top: 130px; }
.story-grid { grid-template-columns: repeat(3, 1fr); }
.story-card { position: relative; padding: 32px 28px; border-radius: 24px; }
.featured-story { background: linear-gradient(145deg, rgba(255, 78, 179, 0.2), rgba(106, 76, 255, 0.18)); transform: translateY(-14px); }
.story-quote { color: var(--pink-soft); font: 4rem/0.7 "Great Vibes", cursive; }
.story-card p { min-height: 118px; color: rgba(255, 255, 255, 0.84); line-height: 1.7; }
.story-card strong, .story-card span { display: block; }
.story-card strong { margin-bottom: 6px; }

.pricing-section { padding-bottom: 120px; }
.pricing-grid { max-width: 820px; grid-template-columns: repeat(2, 1fr); }
.price-card { position: relative; padding: 34px; border-radius: 24px; }
.price-card.popular { border-color: rgba(255, 122, 196, 0.6); background: linear-gradient(145deg, rgba(255, 78, 179, 0.18), rgba(74, 47, 89, 0.7)); }
.popular-label { position: absolute; right: 22px; top: 22px; color: var(--pink-soft); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; }
.price-name { display: block; margin-bottom: 20px; color: var(--pink-soft); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.price-card > strong { display: block; font-size: 2.8rem; letter-spacing: -0.06em; }
.price-card small { color: var(--muted); font-size: 0.85rem; font-weight: 500; letter-spacing: 0; }
.price-card p { color: var(--muted); line-height: 1.6; }
.price-card ul { min-height: 110px; padding-left: 18px; color: rgba(255, 255, 255, 0.84); line-height: 2; }
.price-btn { width: 100%; height: 50px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; color: #fff; background: rgba(255, 255, 255, 0.08); font-weight: 800; }
.popular .price-btn { border: 0; background: linear-gradient(135deg, #ff4eb3, #9d59ff); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: var(--muted); }
.site-footer .brand-wrap { min-width: auto; }
.site-footer .brand-name { font-size: 2rem; }
.site-footer p { margin: 0; font-size: 0.9rem; }
.site-footer > span { font-size: 0.78rem; }

@media (max-width: 850px) {
  .profile-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-photo { height: 230px; }
  .story-grid { grid-template-columns: 1fr; }
  .featured-story { transform: none; }
}

@media (max-width: 560px) {
  .content-section { padding: 80px 4px 10px; }
  .profile-grid, .pricing-grid { grid-template-columns: 1fr; }
  .feature-photo { height: 320px; }
  .price-card { padding: 28px 22px; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 28px 4px; }
}

/* Shared app screens */
.auth-body { min-height: 100vh; background: #170d25; }
.auth-layout { display: grid; grid-template-columns: minmax(340px, 0.92fr) minmax(460px, 1.08fr); min-height: 100vh; }
.auth-visual { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; padding: 42px 7vw 50px; overflow: hidden; background: linear-gradient(150deg, rgba(20, 7, 31, 0.2), rgba(31, 11, 44, 0.84)), url("https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2?auto=format&fit=crop&w=1300&q=85") center/cover; }
.auth-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 6, 22, 0.08), rgba(14, 6, 22, 0.62)); pointer-events: none; }
.auth-brand, .auth-visual-copy, .auth-visual-note, .signup-benefits { position: relative; z-index: 1; }
.auth-brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.auth-brand .brand-name { font-size: 2.3rem; }
.auth-visual-copy { max-width: 560px; }
.auth-visual-copy h1 { margin: 16px 0; font-size: clamp(3.2rem, 5vw, 6rem); line-height: 0.98; letter-spacing: -0.07em; }
.auth-visual-copy h1 span { color: var(--pink-soft); font-family: "Great Vibes", cursive; font-weight: 400; letter-spacing: 0; }
.auth-visual-copy p { max-width: 370px; color: rgba(255, 255, 255, 0.78); line-height: 1.7; }
.auth-visual-note { color: rgba(255, 255, 255, 0.78); font: 1.4rem "Great Vibes", cursive; }
.auth-panel { display: grid; place-items: center; padding: 48px 7vw; background: radial-gradient(circle at 80% 10%, rgba(255, 78, 179, 0.13), transparent 30%), #1d102e; }
.auth-card { width: min(100%, 470px); }
.auth-card h2 { margin: 10px 0 8px; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.06em; }
.auth-muted { margin: 0 0 30px; color: var(--muted); line-height: 1.6; }
.auth-form label { display: block; margin-bottom: 19px; color: rgba(255, 255, 255, 0.9); font-size: 0.84rem; font-weight: 700; }
.auth-form input, .auth-form select { width: 100%; height: 54px; margin-top: 8px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 13px; outline: 0; color: #fff; background: rgba(255, 255, 255, 0.07); }
.auth-form select { color-scheme: dark; color: #fff; }
.auth-form select option { color: #fff; background: #2b1c3a; }
.auth-form select:invalid { color: rgba(255, 255, 255, 0.58); }
.auth-form select option:checked { color: #fff; background: #d84698; }
.auth-form input:focus, .auth-form select:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255, 78, 179, 0.12); }
.auth-form input::placeholder { color: rgba(255, 255, 255, 0.42); }
.input-with-action { position: relative; }
.input-with-action input { padding-right: 65px; }
.password-toggle { position: absolute; right: 14px; top: 22px; border: 0; color: var(--pink-soft); background: transparent; font-size: 0.75rem; font-weight: 700; }
.form-options { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: -4px 0 23px; font-size: 0.77rem; }
.form-options a, .auth-switch a, .terms-check a { color: var(--pink-soft); }
.check-label { display: flex !important; align-items: center; gap: 8px; margin: 0 !important; color: var(--muted) !important; font-size: 0.77rem !important; font-weight: 500 !important; }
.check-label input { width: 16px; height: 16px; margin: 0; accent-color: var(--pink); }
.auth-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 56px; padding: 0 20px 0 24px; border: 0; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #ff4eb3, #9d59ff); font-weight: 800; box-shadow: 0 18px 30px rgba(255, 78, 179, 0.22); }
.auth-submit span { font-size: 1.3rem; }
.divider { display: flex; align-items: center; gap: 14px; margin: 28px 0 18px; color: rgba(255, 255, 255, 0.42); font-size: 0.75rem; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: rgba(255, 255, 255, 0.12); }
.social-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.social-row button { height: 46px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 11px; color: #fff; background: rgba(255, 255, 255, 0.06); font-weight: 800; }
.auth-switch { margin: 28px 0 0; text-align: center; color: var(--muted); font-size: 0.82rem; }
.mobile-back { display: none; color: var(--muted); font-size: 0.8rem; }
.auth-card-top { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.mini-progress { display: flex; gap: 5px; padding-bottom: 6px; }
.mini-progress span, .mini-progress i { width: 34px; height: 4px; border-radius: 20px; background: var(--pink); }
.mini-progress i { background: rgba(255, 255, 255, 0.17); }
.terms-check { flex-wrap: wrap; line-height: 1.6; }
.signup-step-panel { display: none; }
.signup-step-panel.active { display: block; }
.three-step-progress i, .three-step-progress span { width: 32px; }
.three-step-progress .current { background: var(--pink); }
.signup-step-actions { display: flex; align-items: center; gap: 12px; }
.signup-step-actions .auth-submit { flex: 1; }
.back-step { height: 56px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 14px; color: var(--muted); background: rgba(255, 255, 255, 0.06); font-weight: 700; }
.photo-upload { display: flex !important; align-items: center; gap: 14px; min-height: 76px; padding: 13px; border: 1px dashed rgba(255, 255, 255, 0.25); border-radius: 13px; cursor: pointer; }
.photo-upload input { display: none; }
.upload-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: var(--pink-soft); background: rgba(255, 78, 179, 0.13); font-size: 1.25rem; }
.photo-upload strong, .photo-upload small { display: block; }
.photo-upload small { margin-top: 4px; color: var(--muted); font-size: 0.68rem; font-weight: 500; }
.auth-form textarea { width: 100%; margin-top: 8px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 13px; outline: 0; resize: vertical; color: #fff; background: rgba(255, 255, 255, 0.07); font: inherit; }
.multi-select { min-height: 82px !important; padding: 9px 12px !important; color: #fff !important; }
.multi-select option { padding: 5px; }
.hobbies-field { margin: 0 0 19px; padding: 13px 14px 14px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 13px; }
.hobbies-field legend { padding: 0 5px; color: rgba(255, 255, 255, 0.9); font-size: 0.84rem; font-weight: 700; }
.hobby-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.hobby-options label { display: flex !important; align-items: center; gap: 6px; margin: 0 !important; color: var(--muted) !important; font-size: 0.7rem !important; font-weight: 500 !important; }
.hobby-options input { width: 15px !important; height: 15px !important; margin: 0 !important; accent-color: var(--pink); }
.phone-input-group { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
.phone-input-group select, .phone-input-group input { margin-top: 8px; }
.photo-preview { display: none; align-items: center; gap: 12px; min-height: 68px; margin: -8px 0 18px; padding: 8px; border: 1px solid rgba(91, 225, 194, 0.35); border-radius: 13px; color: var(--muted); font-size: 0.72rem; }
.photo-preview.visible { display: flex; }
.photo-preview img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.signup-benefits { display: flex; flex-wrap: wrap; gap: 18px; color: rgba(255, 255, 255, 0.78); font-size: 0.76rem; }

/* Discover and profile screens */
.app-body { min-height: 100vh; background: #f8f4f8; color: #26172d; }
.app-shell { min-height: 100vh; }
.app-header { display: flex; align-items: center; gap: 36px; min-height: 82px; padding: 12px max(24px, calc((100vw - 1320px) / 2)); background: rgba(255, 255, 255, 0.88); border-bottom: 1px solid rgba(53, 28, 62, 0.09); backdrop-filter: blur(16px); }
.app-header .auth-brand .brand-name { color: #d13a91; font-size: 2.1rem; }
.app-header .brand-mark { width: 36px; height: 36px; font-size: 1.1rem; }
.app-nav { display: flex; align-items: center; gap: 28px; flex: 1; margin-left: 24px; }
.app-nav a { position: relative; padding: 29px 0 25px; color: #806b84; font-size: 0.82rem; font-weight: 700; }
.app-nav a.active { color: #2b182f; }
.app-nav a.active::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; border-radius: 3px; background: #d84698; }
.app-nav b { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 4px; border-radius: 50%; color: #fff; background: #d84698; font-size: 0.63rem; }
.app-user { display: flex; align-items: center; gap: 10px; color: #4c3b50; font-size: 0.82rem; font-weight: 700; }
.app-search { display: flex; align-items: center; gap: 8px; width: 185px; height: 36px; padding: 0 11px; border: 1px solid #e8dce8; border-radius: 9px; color: #a38fa4; background: #fbf8fb; }
.app-search input { width: 100%; border: 0; outline: 0; color: #4d3b51; background: transparent; font: inherit; font-size: 0.7rem; }
.app-search input::placeholder { color: #b6a5b7; }
.user-avatar, .profile-avatar { display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #e88cb9, #8a63bc); font-weight: 800; }
.user-avatar { width: 34px; height: 34px; }
.logout-link { margin-left: 12px; color: #a28da5; font-size: 0.74rem; }
.discover-main, .profile-page { max-width: 1320px; margin: 0 auto; padding: 70px 28px 100px; }
.discover-top { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.discover-top h1 { margin: 12px 0 8px; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 0.95; letter-spacing: -0.08em; }
.discover-top h1 span { color: #d84698; font-family: "Great Vibes", cursive; font-weight: 400; letter-spacing: 0; }
.discover-top p { margin: 0; color: #826f84; }
.filter-button { height: 46px; padding: 0 17px; border: 1px solid #e4d9e4; border-radius: 10px; color: #4d3c50; background: #fff; font-weight: 700; }
.filter-button span { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 5px; border-radius: 50%; color: #fff; background: #d84698; font-size: 0.7rem; }
.discover-tabs { display: flex; gap: 26px; margin: 48px 0 26px; border-bottom: 1px solid #e4d9e4; }
.discover-tabs button { padding: 0 0 15px; border: 0; color: #987f9a; background: transparent; font-size: 0.83rem; font-weight: 800; }
.discover-tabs button.active { color: #342037; border-bottom: 3px solid #d84698; }
.discover-tabs span { margin-left: 4px; color: #bca9bc; font-size: 0.7rem; }
.match-layout { display: grid; grid-template-columns: minmax(0, 1fr) 275px; gap: 24px; align-items: start; }
.match-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.match-card { overflow: hidden; border: 1px solid #eadfeb; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(74, 34, 75, 0.06); }
.discover-main .match-grid { display: block; }
.discover-main .match-layout { display: block; }
.discover-main .match-aside { display: none; }
.discover-main .discover-tabs,
.discover-main .filter-button { display: none; }
.discover-main .match-card { display: none; max-width: 560px; margin: 0 auto; }
.discover-main .match-card.current-match { display: block; animation: profileReveal 0.25s ease-out; }
.single-match-progress { margin: 0 0 14px; color: #d84698; font-size: 0.7rem; font-weight: 800; text-align: center; }
.match-action-status { min-height: 18px; margin: 0 0 8px; color: #d84698; font-size: 0.68rem; font-weight: 700; text-align: center; }
.match-success-overlay { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(43, 24, 57, 0.42); backdrop-filter: blur(8px); }
.match-success-card { width: min(100%, 360px); padding: 30px 24px; border: 1px solid #f5cde5; border-radius: 22px; color: #3a2853; background: #fff; box-shadow: 0 25px 70px rgba(51, 20, 64, 0.25); text-align: center; animation: successPop 0.2s ease-out; }
.success-heart { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 17px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #f6419d, #a14be0); font-size: 2rem; box-shadow: 0 10px 25px rgba(233, 54, 150, 0.3); }
.match-success-card h2 { margin: 10px 0 8px; font-size: 1.45rem; }
.match-success-card p { margin: 0 0 22px; color: #8b7896; font-size: 0.76rem; line-height: 1.6; }
.match-success-card > div { display: flex; gap: 8px; }
.success-continue, .success-chat { flex: 1; min-height: 43px; border-radius: 10px; font-size: 0.7rem; font-weight: 800; }
.success-continue { border: 1px solid #ead7e7; color: #826d8a; background: #fff; }
.success-chat { display: inline-flex; align-items: center; justify-content: center; color: #fff; background: #d84698; }
@keyframes successPop { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
.discover-main .match-actions { padding-bottom: 4px; }
@keyframes profileReveal { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
.match-photo { position: relative; height: 330px; background-position: center; background-size: cover; }
.match-olivia { background-image: url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=900&q=85"); }
.match-sophia { background-image: url("https://images.unsplash.com/photo-1529626455594-4ff0802cfb7e?auto=format&fit=crop&w=900&q=85"); }
.match-emma { background-image: url("https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?auto=format&fit=crop&w=900&q=85"); }
.match-maya { background-image: url("https://images.unsplash.com/photo-1488426862026-3ee34a7d66df?auto=format&fit=crop&w=900&q=85"); }
.match-extra { background-image: url("https://images.unsplash.com/photo-1517841905240-472988babdf9?auto=format&fit=crop&w=900&q=85"); }
.online-status { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 0.68rem; font-weight: 700; }
.online-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #61e0bd; box-shadow: 0 0 9px #61e0bd; }
.match-photo .online-status { position: absolute; top: 15px; left: 15px; padding: 7px 10px; border-radius: 20px; background: rgba(30, 18, 35, 0.56); backdrop-filter: blur(7px); }
.save-button { position: absolute; top: 13px; right: 13px; width: 35px; height: 35px; border: 0; border-radius: 50%; color: #fff; background: rgba(30, 18, 35, 0.5); font-size: 1.3rem; }
.match-copy { padding: 18px; }
.match-title { display: flex; justify-content: space-between; gap: 12px; }
.match-title h2 { margin: 0 0 4px; color: #2e1c33; font-size: 1.15rem; }
.match-title span { color: #927e94; font-size: 0.72rem; }
.match-title strong { color: #d84698; font-size: 1.2rem; text-align: right; }
.match-title strong small { display: block; color: #ac99ad; font-size: 0.62rem; font-weight: 600; }
.match-copy > p { min-height: 42px; margin: 14px 0; color: #76647a; font-size: 0.78rem; line-height: 1.6; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list span, .interest-list span { padding: 7px 10px; border-radius: 20px; color: #9f4d7d; background: #fbeaf4; font-size: 0.66rem; font-weight: 700; }
.match-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #f0e8f0; }
.skip-button, .like-button { width: 36px; height: 36px; border: 1px solid #ebdce9; border-radius: 50%; color: #a993a7; background: #fff; font-size: 1rem; }
.like-button { color: #d84698; border-color: #f2c8df; }
.view-profile { color: #d84698; font-size: 0.72rem; font-weight: 800; }
.match-aside { display: grid; gap: 18px; }
.aside-card, .profile-side-card { padding: 23px; border: 1px solid #eadfeb; border-radius: 18px; background: #fff; }
.aside-user { display: flex; align-items: center; gap: 12px; margin: 21px 0 14px; }
.profile-avatar { width: 43px; height: 43px; }
.aside-user strong, .aside-user span { display: block; }
.aside-user strong { color: #38243d; font-size: 0.83rem; }
.aside-user span { margin-top: 4px; color: #9a879b; font-size: 0.68rem; }
.completion-bar { height: 6px; overflow: hidden; border-radius: 10px; background: #f0e7f0; }
.completion-bar span { display: block; width: 72%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f179b1, #ad73cf); }
.aside-card p, .profile-side-card p { color: #8b788c; font-size: 0.74rem; line-height: 1.6; }
.aside-card a, .profile-side-card a { color: #d84698; font-size: 0.75rem; font-weight: 800; }
.invite-card { background: linear-gradient(145deg, #321d3b, #5c2753); color: #fff; }
.invite-card .section-kicker { color: #f5a8d0; }
.invite-card h3 { margin: 18px 0 8px; font-size: 1.35rem; }
.invite-card p { color: rgba(255, 255, 255, 0.7); }
.invite-card a { color: #ffc5e6; }
.mobile-app-nav { display: none; }

/* Profile screen */
.profile-page { padding-top: 40px; }
.back-link { display: inline-block; margin-bottom: 22px; color: #977f99; font-size: 0.78rem; font-weight: 700; }
.profile-hero { overflow: hidden; border: 1px solid #eadfeb; border-radius: 20px; background: #fff; }
.profile-cover { height: 230px; background: linear-gradient(90deg, rgba(44, 23, 55, 0.2), rgba(216, 70, 152, 0.13)), url("https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2?auto=format&fit=crop&w=1600&q=85") center/cover; }
.profile-identity { display: flex; align-items: center; gap: 18px; padding: 0 32px 25px; }
.large-avatar { display: grid; place-items: center; width: 100px; height: 100px; margin-top: -48px; border: 5px solid #fff; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #e88cb9, #8a63bc); font-size: 2rem; font-weight: 800; }
.large-avatar.has-profile-photo { background-position: center; background-size: cover; }
.profile-online { margin-top: 10px; color: #8c788e; }
.profile-identity h1 { margin: 7px 0 5px; color: #2e1d34; font-size: 1.65rem; letter-spacing: -0.04em; }
.profile-identity p { margin: 0; color: #9a879b; font-size: 0.74rem; }
.profile-identity p span { padding: 0 5px; color: #d84698; }
.edit-profile { margin-left: auto; padding: 11px 16px; border: 1px solid #ead1e1; border-radius: 9px; color: #d84698; background: #fff; font-size: 0.75rem; font-weight: 800; }
.profile-columns { display: grid; grid-template-columns: minmax(0, 1fr) 275px; gap: 24px; margin-top: 24px; }
.profile-details { display: grid; gap: 18px; }
.detail-block { padding: 25px 28px; border: 1px solid #eadfeb; border-radius: 18px; background: #fff; }
.block-heading { display: flex; justify-content: space-between; align-items: center; }
.block-heading h2 { margin: 0 0 13px; color: #38243d; font-size: 1.05rem; }
.block-heading button { border: 0; color: #d84698; background: transparent; font-size: 0.72rem; font-weight: 800; }
.detail-block > p { margin: 0; color: #806d82; font-size: 0.83rem; line-height: 1.8; }
.interest-list { display: flex; flex-wrap: wrap; gap: 8px; }
.looking-row { display: flex; gap: 14px; align-items: center; }
.looking-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; color: #d84698; background: #fbeaf4; font-size: 1.3rem; }
.looking-row strong { color: #49334d; font-size: 0.83rem; }
.looking-row p { margin: 5px 0 0; color: #907d92; font-size: 0.75rem; }
.profile-side { display: grid; align-content: start; gap: 18px; }
.strength-number { display: block; margin: 15px 0 8px; color: #d84698; font-size: 2.5rem; letter-spacing: -0.08em; }
.side-action { width: 100%; height: 42px; margin-top: 9px; border: 0; border-radius: 9px; color: #fff; background: #d84698; font-size: 0.75rem; font-weight: 800; }
.privacy-card h3 { margin: 17px 0 8px; color: #402c45; font-size: 1.1rem; }

/* Reference-style logged-in Home */
.home-app-body { min-height: 100vh; color: #30224b; background: linear-gradient(135deg, #fff7fc, #f7f0ff); }
.home-app-shell { width: min(100%, 1440px); min-height: 100vh; margin: auto; padding-bottom: 92px; background: rgba(255, 255, 255, 0.5); }
.home-app-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 5%; background: rgba(255, 255, 255, 0.78); }
.home-brand { position: relative; display: grid; grid-template-columns: 48px auto; align-items: center; column-gap: 12px; width: max-content; }
.home-brand-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50% 50% 50% 8px; color: #fff; background: linear-gradient(135deg, #ff3f91, #9d53df); font-size: 1.7rem; transform: rotate(-12deg); }
.home-brand-type { font-size: 2rem; line-height: 1; color: #22214e; font-weight: 700; letter-spacing: -0.07em; }
.home-brand-type span { color: #ec3299; font-family: "Great Vibes", cursive; font-weight: 400; letter-spacing: 0; }
.home-brand small { grid-column: 2; margin-top: 4px; color: #86778f; font-size: 0.64rem; }
.home-brand small b { color: #ee4ca4; }
.home-top-actions { display: flex; align-items: center; gap: 22px; }
.home-search-button, .home-bell { position: relative; border: 0; color: #24214f; background: transparent; font-size: 1.55rem; }
.home-search-field { display: flex; align-items: center; gap: 8px; width: 205px; height: 38px; padding: 0 12px; border: 1px solid #f0d9eb; border-radius: 22px; color: #30224b; background: #fff5fc; }
.home-search-field input { width: 100%; border: 0; outline: 0; color: #4f406b; background: transparent; font: inherit; font-size: 0.66rem; }
.home-search-field input::placeholder { color: #a392b1; }
.home-bell b { position: absolute; top: -7px; right: -9px; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; color: #fff; background: #f82b75; font-size: 0.62rem; }
.home-user-photo { width: 48px; height: 48px; border: 3px solid #f344a1; border-radius: 50%; background: url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=160&q=80") center/cover; }
.home-app-main { width: min(100% - 64px, 1120px); margin: auto; }
.home-hero-card { display: flex; min-height: 300px; overflow: hidden; border-radius: 26px; color: #fff; background: linear-gradient(110deg, #ef3d98, #9a4cdb); box-shadow: 0 18px 38px rgba(215, 67, 157, 0.2); }
.home-hero-copy { flex: 1; padding: 34px 35px; }
.home-eyebrow { color: #ffe3f4; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.home-eyebrow b { margin: 0 5px; }
.home-hero-copy h1 { margin: 15px 0 12px; font-size: clamp(2.5rem, 4.5vw, 4.5rem); line-height: 0.88; letter-spacing: -0.08em; }
.home-hero-copy h1 em { color: #ffd5ee; font-family: "Great Vibes", cursive; font-size: 1.2em; font-weight: 400; letter-spacing: 0; }
.home-hero-copy h1 > span { color: #fff; font-size: 0.7em; }
.home-hero-copy p { max-width: 330px; margin: 0 0 21px; color: rgba(255, 255, 255, 0.85); font-size: 0.82rem; line-height: 1.5; }
.home-hero-button { display: inline-flex; align-items: center; gap: 13px; padding: 12px 19px; border-radius: 25px; color: #e6439d; background: #fff; font-size: 0.77rem; font-weight: 800; }
.home-hero-button span { font-size: 1rem; }
.home-hero-photo { position: relative; width: 48%; background: linear-gradient(90deg, rgba(165, 62, 174, 0.2), transparent), url("https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2?auto=format&fit=crop&w=1000&q=85") center/cover; }
.home-hero-note { position: absolute; right: 11%; bottom: 30px; color: #fff; font: 2rem/0.85 "Great Vibes", cursive; transform: rotate(-8deg); }
.home-hero-note i { color: #ffb4de; font-style: normal; }
.home-dots { display: flex; justify-content: center; gap: 9px; margin: 11px 0 28px; }
.home-dots i { width: 10px; height: 7px; border-radius: 10px; background: #f3badb; }
.home-dots i.active { width: 19px; background: #ed3899; }
.home-section { margin-bottom: 28px; }
.home-section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 15px; }
.home-section-heading h2 { margin: 0; color: #30224b; font-size: 1.05rem; }
.home-section-heading p { margin: 4px 0 0; color: #9a8ba7; font-size: 0.68rem; }
.home-section-heading a { color: #ee369a; font-size: 0.68rem; font-weight: 800; }
.online-pulse { display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 50%; background: #10bc83; }
.online-profiles { display: flex; justify-content: space-between; gap: 13px; }
.online-profiles a { display: grid; justify-items: center; gap: 7px; color: #34264f; font-size: 0.68rem; font-weight: 800; }
.online-face { position: relative; width: 76px; height: 76px; border: 3px solid #f13291; border-radius: 50%; background-position: center; background-size: cover; }
.online-face::after { content: ""; position: absolute; right: -1px; bottom: 1px; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: #16bb81; }
.face-olivia, .top-match-face { background-image: url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=300&q=80"); }
.face-sophia { background-image: url("https://images.unsplash.com/photo-1529626455594-4ff0802cfb7e?auto=format&fit=crop&w=300&q=80"); }
.face-emma { background-image: url("https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?auto=format&fit=crop&w=300&q=80"); }
.face-isabella { background-image: url("https://images.unsplash.com/photo-1531123897727-8f129e1688ce?auto=format&fit=crop&w=300&q=80"); }
.face-ava { background-image: url("https://images.unsplash.com/photo-1488426862026-3ee34a7d66df?auto=format&fit=crop&w=300&q=80"); }
.face-mia { background-image: url("https://images.unsplash.com/photo-1517841905240-472988babdf9?auto=format&fit=crop&w=300&q=80"); }
.home-top-match { display: flex; align-items: center; gap: 15px; padding: 17px 21px; border: 1px solid #f7c9e4; border-radius: 17px; background: linear-gradient(100deg, #ffe2f1, #fff1fa); box-shadow: 0 8px 20px rgba(230, 79, 165, 0.08); }
.match-heart-icon { color: #ee3296; font-size: 1.4rem; }
.home-match-copy { flex: 1; }
.home-match-copy > span { display: block; color: #30224b; font-size: 0.8rem; font-weight: 800; }
.home-match-copy > small { display: block; margin-top: 2px; color: #9c8ba7; font-size: 0.65rem; }
.top-match-person { display: flex; align-items: center; gap: 9px; margin-top: 10px; }
.top-match-face { display: inline-block; width: 48px; height: 48px; border-radius: 50%; background-position: center; background-size: cover; }
.top-match-person strong, .top-match-person small { display: block; }
.top-match-person strong { color: #30224b; font-size: 0.88rem; }
.top-match-person strong b { color: #15aee5; font-size: 0.7rem; }
.top-match-person small { margin-top: 5px; color: #9c8ba7; font-size: 0.64rem; }
.match-score { display: grid; place-items: center; width: 74px; height: 74px; border: 5px solid #f7a4ce; border-radius: 50%; color: #ef399a; background: #fff; box-shadow: inset 0 0 0 3px #fff3f9; }
.match-score strong { font-size: 1.3rem; }
.match-score span { margin-top: -22px; font-size: 0.6rem; }
.home-view-profile { padding: 12px 17px; border-radius: 22px; color: #fff; background: #f13d9b; font-size: 0.68rem; font-weight: 800; }
.quick-actions { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; padding: 19px 15px; border: 1px solid #f5d6ea; border-radius: 18px; background: #fff; }
.quick-actions a { display: grid; justify-items: center; gap: 6px; color: #6f6083; font-size: 0.62rem; font-weight: 700; }
.quick-actions a span { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 50%; color: #ed3d9c; background: #ffe4f2; font-size: 1.35rem; }
.quick-actions a:nth-child(2) span { color: #3088ed; background: #e3f0ff; }
.quick-actions a:nth-child(3) span { color: #8e48e7; background: #f2e5ff; }
.quick-actions a:nth-child(4) span { color: #ec7c13; background: #fff0df; }
.quick-actions a:nth-child(5) span { color: #ee675d; background: #ffe9e8; }
.quick-actions a:nth-child(6) span { color: #13b9a3; background: #dff9f4; }
.interest-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 11px; }
.interest-cards a { overflow: hidden; border: 1px solid #f2ddea; border-radius: 13px; background: #fff; box-shadow: 0 5px 12px rgba(106, 55, 118, 0.08); }
.interest-photo { display: block; height: 78px; background-position: center; background-size: cover; }
.interest-travel { background-image: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=350&q=80"); }
.interest-music { background-image: url("https://images.unsplash.com/photo-1501386761578-eac5c94b800a?auto=format&fit=crop&w=350&q=80"); }
.interest-photo-art { background-image: url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=350&q=80"); }
.interest-books { background-image: url("https://images.unsplash.com/photo-1507842217343-583bb7270b66?auto=format&fit=crop&w=350&q=80"); }
.interest-fitness { background-image: url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=350&q=80"); }
.interest-pets { background-image: url("https://images.unsplash.com/photo-1552053831-71594a27632d?auto=format&fit=crop&w=350&q=80"); }
.interest-cards strong { display: block; padding: 9px 8px; color: #443354; font-size: 0.65rem; }
.home-bottom-nav { position: fixed; bottom: 14px; left: 50%; z-index: 20; display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; width: min(460px, calc(100% - 28px)); padding: 10px 10px 9px; border: 1px solid rgba(241, 190, 222, 0.9); border-radius: 26px; background: rgba(255, 250, 254, 0.92); box-shadow: 0 14px 34px rgba(90, 44, 103, 0.16), inset 0 1px 0 #fff; backdrop-filter: blur(18px); transform: translateX(-50%); }
.home-bottom-nav a { position: relative; display: grid; justify-items: center; gap: 3px; padding: 4px 0 3px; border-radius: 16px; color: #8e819d; font-size: 0.64rem; font-weight: 700; transition: color 0.2s ease, background 0.2s ease; }
.home-bottom-nav a span { position: relative; display: grid; place-items: center; width: 26px; height: 26px; }
.home-bottom-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; transition: transform 0.2s ease; }
.home-bottom-nav a:hover { color: #e93698; }
.home-bottom-nav a:hover svg { transform: translateY(-2px); }
.home-bottom-nav a.active { color: #ef3196; background: rgba(239, 49, 150, 0.08); }
.home-bottom-nav a.active svg { fill: rgba(239, 49, 150, 0.16); }
.home-bottom-nav a.active::after { content: ""; position: absolute; bottom: -1px; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: #ef3196; transform: translateX(-50%); }
.home-bottom-nav .nav-profile-photo, .mobile-app-nav .nav-profile-photo { display: block; width: 26px; height: 26px; border: 2px solid #ed3b9b; border-radius: 50%; background-position: center; background-size: cover; box-shadow: 0 0 0 2px #fff; }
.home-bottom-nav .home-main-action span { width: 54px; height: 54px; margin-top: -30px; border: 4px solid #fff; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #ff3c9b, #a24bdd); box-shadow: 0 10px 22px rgba(226, 51, 146, 0.38); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.home-bottom-nav .home-main-action svg { width: 24px; height: 24px; fill: #fff; stroke: none; }
.home-bottom-nav .home-main-action:hover svg { transform: none; }
.home-bottom-nav .home-main-action:hover span { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 28px rgba(226, 51, 146, 0.48); }
.home-bottom-nav b { position: absolute; top: -5px; right: -7px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border: 2px solid #fff; border-radius: 99px; color: #fff; background: #f32973; font-size: 0.56rem; }
.chat-box-modal { position: fixed; right: 22px; bottom: 87px; z-index: 30; display: none; width: min(340px, calc(100% - 30px)); padding: 17px; border: 1px solid #f2d7e9; border-radius: 18px; background: rgba(255, 255, 255, 0.97); box-shadow: 0 18px 45px rgba(78, 35, 91, 0.2); }
.chat-box-modal.open { display: block; animation: chatBoxIn 0.18s ease-out; }
.chat-box-panel header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid #f4e8f1; }
.chat-box-panel header strong, .chat-box-panel header small { display: block; }
.chat-box-panel header strong { color: #30224b; font-size: 0.9rem; }
.chat-box-panel header small { margin-top: 4px; color: #9d8ba6; font-size: 0.65rem; }
.close-chat-box { border: 0; color: #a18da6; background: transparent; }
.chat-box-person { display: grid; grid-template-columns: 39px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid #f6edf4; }
.chat-box-avatar { display: inline-block; width: 39px; height: 39px; border-radius: 50%; background-position: center; background-size: cover; }
.chat-box-person strong, .chat-box-person small { display: block; }
.chat-box-person strong { color: #403049; font-size: 0.73rem; }
.chat-box-person small, .chat-box-person time { margin-top: 4px; color: #a290a8; font-size: 0.63rem; }
.chat-view-all { width: 100%; margin-top: 13px; padding: 10px; border: 0; border-radius: 9px; color: #fff; background: #ef3b98; font-size: 0.7rem; font-weight: 800; }
@keyframes chatBoxIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 700px) {
  .home-app-header { padding: 18px 20px; }
  .home-brand-type { font-size: 1.65rem; }
  .home-brand-mark { width: 40px; height: 40px; font-size: 1.35rem; }
  .home-brand { grid-template-columns: 40px auto; gap: 9px; }
  .home-brand small { font-size: 0.55rem; }
  .home-top-actions { gap: 14px; }
  .home-search-field { width: 145px; }
  .home-user-photo { width: 39px; height: 39px; }
  .home-app-main { width: calc(100% - 28px); }
  .home-hero-card { min-height: 330px; }
  .home-hero-copy { z-index: 1; padding: 27px 22px; }
  .home-hero-copy h1 { font-size: 2.55rem; }
  .home-hero-copy p { max-width: 230px; font-size: 0.72rem; }
  .home-hero-photo { width: 46%; margin-left: -28px; }
  .home-hero-note { right: 8px; font-size: 1.35rem; }
  .online-profiles { justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; }
  .online-profiles a { flex: 0 0 68px; }
  .online-face { width: 62px; height: 62px; }
  .home-top-match { flex-wrap: wrap; padding: 15px; }
  .match-score { width: 62px; height: 62px; }
  .home-view-profile { width: 100%; text-align: center; }
  .quick-actions { grid-template-columns: repeat(3, 1fr); gap: 17px 7px; }
  .interest-cards { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .interest-photo { height: 68px; }
}

/* Logged-in Home dashboard */
.dashboard-main { max-width: 1180px; margin: 0 auto; padding: 68px 28px 100px; }
.dashboard-welcome { display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.dashboard-welcome h1 { margin: 12px 0 8px; color: #2e1d34; font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 0.95; letter-spacing: -0.08em; }
.dashboard-welcome h1 span { color: #d84698; font-family: "Great Vibes", cursive; font-weight: 400; letter-spacing: 0; }
.dashboard-welcome p { margin: 0; color: #826f84; }
.dashboard-match-button { height: 44px; padding: 0 17px; display: inline-flex; align-items: center; border-radius: 9px; color: #fff; background: #d84698; font-size: 0.74rem; font-weight: 800; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 18px; margin-top: 48px; }
.dashboard-feature { display: flex; justify-content: space-between; gap: 20px; min-height: 245px; padding: 30px; overflow: hidden; border-radius: 18px; color: #fff; background: linear-gradient(110deg, #35203e, #6e2e61); }
.dashboard-feature h2 { margin: 18px 0 8px; font-size: 2rem; letter-spacing: -0.05em; }
.dashboard-feature p { max-width: 270px; color: rgba(255, 255, 255, 0.7); font-size: 0.78rem; line-height: 1.6; }
.dashboard-feature a { display: inline-block; margin-top: 18px; color: #ffc3e5; font-size: 0.74rem; font-weight: 800; }
.dashboard-feature-photo { align-self: end; width: 190px; height: 220px; border-radius: 16px; background: url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=700&q=85") center/cover; }
.dashboard-feature-photo span { display: inline-block; margin: 11px; padding: 6px 9px; border-radius: 20px; color: #fff; background: #d84698; font-size: 0.63rem; font-weight: 800; }
.dashboard-stat-row { display: grid; gap: 12px; }
.dashboard-stat { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 2px 12px; padding: 17px; border: 1px solid #eadfeb; border-radius: 15px; background: #fff; }
.dashboard-stat strong { grid-row: span 2; color: #d84698; font-size: 1.75rem; letter-spacing: -0.06em; }
.dashboard-stat span { color: #755f78; font-size: 0.71rem; font-weight: 700; }
.dashboard-stat a { color: #d84698; font-size: 0.67rem; font-weight: 800; }
.dashboard-section { margin-top: 58px; }
.dashboard-section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 22px; }
.dashboard-section-heading h2 { margin: 9px 0 0; color: #38243d; font-size: 1.35rem; letter-spacing: -0.04em; }
.dashboard-section-heading a { color: #d84698; font-size: 0.73rem; font-weight: 800; }
.mini-profile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-profile { padding: 8px 8px 14px; border: 1px solid #eadfeb; border-radius: 15px; background: #fff; }
.mini-profile-photo { height: 190px; margin-bottom: 12px; border-radius: 11px; background-position: center; background-size: cover; }
.mini-olivia { background-image: url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=500&q=80"); }
.mini-sophia { background-image: url("https://images.unsplash.com/photo-1529626455594-4ff0802cfb7e?auto=format&fit=crop&w=500&q=80"); }
.mini-emma { background-image: url("https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?auto=format&fit=crop&w=500&q=80"); }
.mini-maya { background-image: url("https://images.unsplash.com/photo-1488426862026-3ee34a7d66df?auto=format&fit=crop&w=500&q=80"); }
.mini-profile strong, .mini-profile span { display: block; padding: 0 5px; }
.mini-profile strong { color: #3c2941; font-size: 0.78rem; }
.mini-profile span { margin-top: 4px; color: #d84698; font-size: 0.65rem; font-weight: 700; }

/* Chat screen */
.chat-page { max-width: 1180px; margin: 0 auto; padding: 65px 28px 100px; }
.chat-new-button { height: 43px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 9px; color: #fff; background: #d84698; font-size: 0.74rem; font-weight: 800; }
.chat-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: 610px; margin-top: 42px; overflow: hidden; border: 1px solid #eadfeb; border-radius: 18px; background: #fff; box-shadow: 0 15px 40px rgba(74, 34, 75, 0.06); }
.conversation-list { border-right: 1px solid #eee5ee; }
.chat-list-top { display: flex; justify-content: space-between; align-items: center; padding: 22px 20px; border-bottom: 1px solid #f0e8f0; color: #3c2941; }
.chat-list-top span { color: #d84698; font-size: 0.68rem; }
.conversation { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 16px 18px; border: 0; border-bottom: 1px solid #f4edf4; text-align: left; background: transparent; }
.conversation.active { background: #fff4fa; box-shadow: inset 3px 0 #d84698; }
.conversation > span:nth-child(2) { overflow: hidden; }
.conversation strong, .conversation small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.conversation strong { color: #423047; font-size: 0.78rem; }
.liked-label { margin-left: 5px; padding: 3px 5px; border-radius: 8px; color: #d84698; background: #ffe6f3; font-size: 0.55rem; font-style: normal; }
.conversation small { margin-top: 5px; color: #a18ea2; font-size: 0.67rem; }
.conversation time { align-self: start; color: #b19fb2; font-size: 0.62rem; }
.chat-avatar { display: inline-block; width: 40px; height: 40px; border-radius: 50%; background-position: center; background-size: cover; }
.avatar-olivia { background-image: url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=200&q=80"); }
.avatar-sophia { background-image: url("https://images.unsplash.com/photo-1529626455594-4ff0802cfb7e?auto=format&fit=crop&w=200&q=80"); }
.avatar-emma { background-image: url("https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?auto=format&fit=crop&w=200&q=80"); }
.avatar-maya { background-image: url("https://images.unsplash.com/photo-1488426862026-3ee34a7d66df?auto=format&fit=crop&w=200&q=80"); }
.chat-window { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.chat-contact { display: flex; align-items: center; gap: 11px; padding: 17px 23px; border-bottom: 1px solid #eee5ee; }
.chat-contact div { flex: 1; }
.chat-contact strong, .chat-contact small { display: block; }
.chat-contact strong { color: #3c2941; font-size: 0.82rem; }
.chat-contact small { margin-top: 4px; color: #9a879b; font-size: 0.66rem; }
.chat-contact small i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #55d8b8; }
.chat-contact button { border: 0; color: #9e8b9f; background: transparent; font-size: 1.3rem; }
.message-area { overflow: auto; padding: 30px 32px; background: #fcf9fc; }
.date-divider { display: flex; align-items: center; gap: 14px; margin-bottom: 25px; color: #ad9bac; font-size: 0.66rem; }
.date-divider::before, .date-divider::after { content: ""; height: 1px; flex: 1; background: #eee5ee; }
.message { max-width: 67%; margin: 13px 0 0; padding: 12px 15px; border-radius: 16px; color: #554259; font-size: 0.77rem; line-height: 1.6; }
.message.received { border-bottom-left-radius: 4px; background: #fff; }
.message.sent { margin-left: auto; border-bottom-right-radius: 4px; color: #fff; background: #d84698; }
.message-time { display: block; margin-top: 5px; color: #b4a4b5; font-size: 0.6rem; }
.received-time { margin-left: 6px; }
.sent-time { margin-right: 5px; text-align: right; }
.message-form { display: flex; gap: 10px; padding: 17px 20px; border-top: 1px solid #eee5ee; }
.message-form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid #eadfeb; border-radius: 11px; outline: 0; color: #4f3a53; background: #fcf9fc; }
.message-form button { width: 44px; height: 44px; border: 0; border-radius: 11px; color: #fff; background: #d84698; font-size: 1.2rem; }
.attach-photo { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #eadfeb; border-radius: 11px; color: #d84698; background: #fcf9fc; cursor: pointer; font-size: 1rem; }
.attach-photo input { display: none; }
.sent-photo-preview { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; }

/* Reference-style Chat workspace */
.chat-app-body { min-height: 100vh; color: #29204e; background: radial-gradient(circle at 18% 20%, #ffe1f1, transparent 30%), #fcf8fd; }
.chat-app-shell { min-height: 100vh; padding-bottom: 18px; background: radial-gradient(circle at 89% 11%, rgba(255, 182, 221, 0.22), transparent 19%); }
.chat-app-header { display: flex; align-items: center; gap: 28px; min-height: 74px; padding: 11px max(28px, calc((100vw - 1100px) / 2)); border-bottom: 1px solid #f1ddec; background: rgba(255, 255, 255, 0.86); }
.chat-brand { display: flex; align-items: center; gap: 10px; min-width: 245px; }
.chat-brand-heart { display: grid; place-items: center; width: 46px; height: 38px; color: #e92891; font-size: 2rem; }
.chat-brand strong { display: block; color: #252356; font: 2rem/0.75 "Great Vibes", cursive; }
.chat-brand strong span { color: #ee3e9e; }
.chat-brand small { display: block; margin-top: 5px; color: #9b8da9; font-size: 0.6rem; }
.chat-brand small b { color: #e83a98; }
.chat-search { display: flex; align-items: center; gap: 9px; width: 245px; height: 38px; padding: 0 13px; border: 1px solid #f0d9eb; border-radius: 22px; color: #312357; background: #fff5fc; }
.chat-search input { width: 100%; border: 0; outline: 0; color: #4f406b; background: transparent; font: inherit; font-size: 0.66rem; }
.chat-header-links { display: flex; gap: 24px; margin-left: auto; }
.chat-app-header .chat-header-links { display: none; }
.chat-app-body .chat-app-header { display: none; }
.chat-header-links a { position: relative; padding: 27px 0 22px; color: #7e718f; font-size: 0.7rem; font-weight: 800; }
.chat-header-links a.active { color: #34244f; }
.chat-header-links a.active::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: #dd3d98; }
.chat-header-links b { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-left: 3px; border-radius: 50%; color: #fff; background: #e73596; font-size: 0.58rem; }
.chat-account { display: flex; align-items: center; gap: 9px; color: #55466c; font-size: 0.72rem; }
.chat-account a { margin-left: 10px; color: #9b8ca9; font-size: 0.64rem; }
.chat-reference-main { display: grid; grid-template-columns: 285px minmax(0, 1fr); width: min(100% - 70px, 1060px); min-height: 650px; margin: 32px auto 0; overflow: hidden; border: 1px solid #f4d6eb; border-radius: 18px; background: rgba(255, 255, 255, 0.64); box-shadow: 0 20px 55px rgba(135, 71, 135, 0.08); }
.conversation-panel { border-right: 1px solid #f3e1ef; background: rgba(255, 255, 255, 0.85); }
.conversation-heading { display: flex; align-items: center; justify-content: space-between; padding: 19px 18px 12px; }
.conversation-heading h1 { margin: 0; color: #282052; font-size: 1rem; }
.conversation-heading button { border: 0; color: #ed3399; background: transparent; font-size: 1.25rem; }
.conversation-filters { display: flex; align-items: center; gap: 10px; padding: 0 18px 15px; border-bottom: 1px solid #f7e9f3; }
.conversation-search { display: flex; align-items: center; gap: 7px; height: 32px; margin: 0 13px 12px; padding: 0 9px; border: 1px solid #f1ddea; border-radius: 17px; color: #9e8da9; background: #fff8fc; }
.conversation-search input { width: 100%; border: 0; outline: 0; color: #4b3a64; background: transparent; font: inherit; font-size: 0.61rem; }
.conversation-search input::placeholder { color: #aa9aad; }
.conversation-filters button { border: 0; color: #746786; background: transparent; font-size: 0.62rem; font-weight: 700; }
.conversation-filters button.active { padding: 8px 20px; border-radius: 20px; color: #fff; background: #eb3a9b; }
.conversation-filters b { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-left: 3px; border-radius: 50%; color: #fff; background: #ed3699; font-size: 0.56rem; }
.conversation-filters i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: #14bf82; }
.reference-conversation { display: grid; grid-template-columns: 39px minmax(0, 1fr) auto; align-items: center; gap: 9px; width: 100%; padding: 12px 13px; border: 0; border-left: 3px solid transparent; text-align: left; background: transparent; }
.reference-conversation.active { border-left-color: #f13d9e; background: #fff0f9; }
.reference-conversation > span:nth-child(2) { overflow: hidden; }
.reference-conversation strong, .reference-conversation small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.reference-conversation strong { color: #3a2a5c; font-size: 0.72rem; }
.reference-conversation small { margin-top: 4px; color: #9587a7; font-size: 0.59rem; }
.reference-conversation time { align-self: start; color: #9f91af; font-size: 0.56rem; text-align: right; }
.reference-conversation time b { display: grid; place-items: center; width: 15px; height: 15px; margin: 7px 0 0 auto; border-radius: 50%; color: #fff; background: #ed3399; font-size: 0.53rem; }
.empty-conversations { margin: 28px 16px; color: #a18fae; font-size: 0.68rem; line-height: 1.6; text-align: center; }
.premium-message { position: relative; margin: 18px 10px; padding: 12px; border: 1px solid #ffd2e9; border-radius: 12px; background: linear-gradient(135deg, #fff4fa, #ffe2f2); }
.premium-message strong { color: #3d2b57; font-size: 0.7rem; }
.premium-message p { margin: 7px 0 0; color: #927d9f; font-size: 0.57rem; line-height: 1.45; }
.premium-message a { position: absolute; right: 10px; bottom: 11px; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; color: #fff; background: #ec3599; }
.reference-chat-window { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; background: rgba(255, 255, 255, 0.57); }
.chat-empty-view { display: grid; place-content: center; min-width: 0; padding: 30px; color: #9d8ca9; background: rgba(255, 255, 255, 0.57); text-align: center; }
.chat-empty-view > span { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; color: #ec399a; background: #ffe5f3; font-size: 2rem; }
.chat-empty-view h2 { margin: 0; color: #3b2a57; font-size: 1rem; }
.chat-empty-view p { max-width: 240px; margin: 8px auto 0; font-size: 0.72rem; line-height: 1.6; }
.reference-chat-header { display: flex; align-items: center; gap: 13px; padding: 17px 20px; border-bottom: 1px solid #f3dcec; background: linear-gradient(90deg, #fff1f9, #ffe5f3); }
.reference-chat-header > div { flex: 1; }
.reference-chat-header h2 { margin: 0; color: #302052; font-size: 0.91rem; }
.reference-chat-header p { margin: 5px 0 0; color: #a28eab; font-size: 0.62rem; }
.reference-chat-header p i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: #15bd82; }
.reference-chat-actions { display: flex; gap: 7px; }
.reference-chat-actions button { width: 32px; height: 32px; border: 0; border-radius: 50%; color: #e83a9b; background: #fff; }
.reference-messages { position: relative; overflow: auto; min-height: 420px; padding: 27px 25px 60px; background: radial-gradient(circle at 80% 60%, rgba(255, 209, 234, 0.13), transparent 25%); }
.message-day { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: #a392b1; font-size: 0.61rem; }
.message-day::before, .message-day::after { content: ""; height: 1px; flex: 1; background: #f0e0ed; }
.reference-message { display: flex; align-items: end; gap: 8px; margin: 15px 0; }
.reference-message.sent { justify-content: flex-end; }
.message-avatar { display: inline-block; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background-position: center; background-size: cover; }
.reference-message p { margin: 0; padding: 11px 14px; border-radius: 15px; color: #4f4268; background: #fff; font-size: 0.72rem; line-height: 1.5; }
.reference-message.sent p { color: #fff; background: #d94398; }
.sent-chat-photo { width: 180px; max-width: 100%; border-radius: 14px; box-shadow: 0 7px 18px rgba(74, 30, 82, 0.12); }
.reference-message small { display: block; margin: 5px 5px 0; color: #b0a0b9; font-size: 0.57rem; }
.reference-message.sent small { text-align: right; }
.reference-message.sent small b { color: #32a7e7; }
.chat-note { position: absolute; right: 25px; bottom: 38px; color: #ed77b7; font: 1rem/0.9 "Great Vibes", cursive; text-align: center; transform: rotate(-8deg); }
.reference-message-form { display: flex; align-items: center; gap: 9px; margin: 0 15px 15px; padding: 9px 11px; border: 1px solid #f2d6e9; border-radius: 27px; background: #fff; }
.reference-message-form input[type="text"] { flex: 1; min-width: 0; height: 34px; border: 0; outline: 0; color: #514366; background: transparent; font: inherit; font-size: 0.74rem; }
.reference-message-form button, .reference-message-form .attach-photo { border: 0; color: #4b3970; background: transparent; font-size: 1.1rem; }
.reference-message-form .attach-photo { display: grid; place-items: center; width: 22px; height: 28px; }
.reference-message-form .message-send { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; color: #fff; background: #ed399b; font-size: 1.1rem; }
.reference-message-form .sent-photo-preview { width: 32px; height: 32px; }

@media (max-width: 850px) {
  .chat-app-header { gap: 15px; padding: 10px 18px; }
  .chat-brand { min-width: auto; }
  .chat-brand strong { font-size: 1.6rem; }
  .chat-search { flex: 1; max-width: 210px; }
  .chat-header-links { display: none; }
  .chat-account strong, .chat-account a { display: none; }
  .chat-reference-main { grid-template-columns: 1fr; width: calc(100% - 24px); margin-top: 15px; }
  .conversation-panel { display: none; }
  .reference-chat-window { min-height: calc(100vh - 115px); }
  .reference-messages { min-height: 0; }
  .mobile-app-nav { display: flex; }
}

@media (max-width: 800px) {
  .auth-layout { display: block; }
  .auth-visual { min-height: 300px; padding: 25px 24px; }
  .auth-visual-copy { margin-top: 65px; }
  .auth-visual-copy h1 { font-size: 3rem; }
  .auth-visual-note, .signup-benefits { display: none; }
  .auth-panel { min-height: calc(100vh - 300px); padding: 32px 24px 55px; }
  .mobile-back { display: block; align-self: flex-start; margin-bottom: 30px; }
  .app-header { padding: 11px 18px; }
  .app-nav { display: none; }
  .app-search { display: none; }
  .app-user { margin-left: auto; }
  .user-name, .logout-link { display: none; }
  .discover-main, .profile-page { padding: 42px 18px 100px; }
  .dashboard-main { padding: 42px 18px 100px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .mini-profile-grid { grid-template-columns: repeat(2, 1fr); }
  .match-layout, .profile-columns { grid-template-columns: 1fr; }
  .chat-page { padding: 42px 18px 100px; }
  .chat-layout { grid-template-columns: 1fr; }
  .conversation-list { display: none; }
  .match-aside { grid-template-columns: repeat(2, 1fr); }
  .mobile-app-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 10; display: flex; justify-content: space-around; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid #eadfeb; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); }
  .mobile-app-nav a { display: grid; gap: 4px; justify-items: center; color: #a28fa3; font-size: 1.15rem; }
  .mobile-app-nav a span { font-size: 0.63rem; font-weight: 700; }
  .mobile-app-nav a.active { color: #d84698; }
}

@media (max-width: 520px) {
  .auth-panel { padding: 26px 18px 45px; }
  .auth-card-top { align-items: start; flex-direction: column; }
  .mini-progress { padding: 0; }
  .discover-top { align-items: start; flex-direction: column; }
  .discover-tabs { gap: 18px; margin-top: 34px; }
  .match-grid, .match-aside { grid-template-columns: 1fr; }
  .chat-page .discover-top { gap: 18px; }
  .chat-new-button { width: 100%; justify-content: center; }
  .message-area { padding: 24px 16px; }
  .message { max-width: 84%; }
  .phone-input-group { grid-template-columns: 96px 1fr; }
  .hobby-options { grid-template-columns: repeat(2, 1fr); }
  .match-photo { height: 300px; }
  .profile-cover { height: 160px; }
  .profile-identity { align-items: start; flex-wrap: wrap; padding: 0 18px 22px; }
  .profile-identity h1 { font-size: 1.3rem; }
  .edit-profile { margin-left: 0; }
  .large-avatar { width: 82px; height: 82px; }
  .dashboard-welcome { align-items: start; flex-direction: column; }
  .dashboard-match-button { width: 100%; justify-content: center; }
  .dashboard-feature { min-height: 220px; padding: 22px; }
  .dashboard-feature-photo { width: 130px; height: 180px; }
}

/* Landing polish */
.landing-page .topbar { transition: background 0.3s ease, box-shadow 0.3s ease, border-radius 0.3s ease; }
.landing-page .topbar.scrolled { background: rgba(19, 10, 30, 0.86); border-radius: 0 0 22px 22px; box-shadow: 0 18px 40px rgba(10, 4, 18, 0.45); }
.landing-page .nav-menu a { transition: color 0.2s ease, opacity 0.2s ease; }
.landing-page .nav-menu a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -4px; height: 3px; border-radius: 99px; background: linear-gradient(90deg, var(--pink), #ff8bd2); transition: left 0.25s ease, right 0.25s ease; }
.landing-page .nav-menu a:hover { color: #fff; opacity: 1; }
.landing-page .nav-menu a:hover::after, .landing-page .nav-menu a.active::after { left: 0; right: 0; }
.landing-page .primary-btn, .landing-page .secondary-btn { display: inline-flex; align-items: center; justify-content: center; }
.landing-page .primary-btn { background-size: 160% 100%; transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.4s ease; }
.landing-page .primary-btn:hover { background-position: 100% 0; box-shadow: 0 22px 40px rgba(255, 74, 182, 0.6); }
.landing-page .secondary-btn:hover { background: rgba(255, 255, 255, 0.16); }

.landing-page .tag-pill { backdrop-filter: blur(10px); animation: pill-glow 3s ease-in-out infinite; }
@keyframes pill-glow { 50% { box-shadow: 0 0 0 6px rgba(255, 78, 179, 0.12), 0 12px 22px rgba(27, 18, 44, 0.2); } }
.landing-page .hero-content h1 { text-shadow: 0 10px 40px rgba(10, 4, 18, 0.35); }
.landing-page .stats-row { background: rgba(17, 8, 21, 0.42); border-color: rgba(255, 255, 255, 0.12); backdrop-filter: blur(12px); }
.landing-page .stat-box + .stat-box { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.landing-page .stat-box strong { background: linear-gradient(180deg, #fff, #ffc2e4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.landing-page .hero-profile-preview { animation: float-card 6s ease-in-out infinite; }
@keyframes float-card { 0%, 100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(1deg) translateY(-12px); } }
.landing-page .hero-online::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #6af0cb; box-shadow: 0 0 8px #6af0cb; vertical-align: 1px; }

.landing-page .content-section { position: relative; }
.landing-page .section-kicker { display: inline-block; padding: 7px 14px; border-radius: 999px; background: rgba(255, 121, 190, 0.1); border: 1px solid rgba(255, 121, 190, 0.22); }
.landing-page .section-heading h2 span { background: linear-gradient(90deg, #ff6fbf, #c58bff); -webkit-background-clip: text; background-clip: text; color: transparent; }

.landing-page .feature-profile, .landing-page .story-card, .landing-page .price-card, .step-card { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.landing-page .feature-profile:hover, .landing-page .story-card:hover, .landing-page .price-card:hover, .step-card:hover { transform: translateY(-8px); border-color: rgba(255, 122, 196, 0.45); box-shadow: 0 30px 60px rgba(12, 5, 20, 0.4), 0 0 0 1px rgba(255, 122, 196, 0.15); }
.landing-page .featured-story:hover { transform: translateY(-20px); }
.landing-page .feature-photo { transition: transform 0.5s ease; }
.landing-page .feature-profile:hover .feature-photo { transform: scale(1.04); }
.landing-page .round-action { transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; }
.landing-page .round-action:hover, .landing-page .round-action.liked { color: #fff; background: linear-gradient(135deg, #ff4eb3, #b753ff); border-color: transparent; transform: scale(1.1); }
.landing-page .price-btn { transition: transform 0.2s ease, background 0.2s ease; }
.landing-page .price-btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.16); }
.landing-page .popular .price-btn:hover { background: linear-gradient(135deg, #ff5ec0, #aa6bff); }
.landing-page .price-card ul { list-style: none; padding-left: 0; }
.landing-page .price-card li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 10px; border-radius: 50%; color: #fff; background: rgba(255, 121, 190, 0.25); font-size: 0.7rem; }
.landing-page .popular-label { padding: 5px 10px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #ff4eb3, #b753ff); }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1180px; margin: 0 auto; }
.step-card { position: relative; padding: 34px 30px; border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.step-num { position: absolute; top: 18px; right: 24px; font-size: 3.4rem; font-weight: 900; letter-spacing: -0.06em; color: rgba(255, 255, 255, 0.06); }
.step-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, #ff4eb3, #9d59ff); box-shadow: 0 14px 28px rgba(255, 78, 179, 0.35); }
.step-card h3 { margin: 22px 0 10px; font-size: 1.2rem; }
.step-card p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 0.92rem; }

.cta-banner { position: relative; max-width: 1180px; margin: 20px auto 110px; padding: 70px 30px; border-radius: 32px; text-align: center; overflow: hidden; background: linear-gradient(135deg, rgba(255, 78, 179, 0.28), rgba(106, 76, 255, 0.26)), url("https://images.unsplash.com/photo-1518199266791-5375a83190b7?auto=format&fit=crop&w=1600&q=80") center/cover; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 30px 70px rgba(12, 5, 20, 0.45); }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: rgba(20, 8, 30, 0.55); }
.cta-banner > * { position: relative; }
.cta-banner h2 { margin: 0 0 12px; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -0.06em; }
.cta-banner h2 span { color: #ff8fcf; font-family: "Great Vibes", cursive; font-weight: 400; letter-spacing: 0; }
.cta-banner p { margin: 0 auto 28px; max-width: 520px; color: rgba(255, 255, 255, 0.85); line-height: 1.7; }

.landing-page .site-footer { flex-wrap: wrap; padding: 40px 28px; }
.footer-brand p { margin: 8px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 26px; font-weight: 600; font-size: 0.9rem; }
.footer-links a { transition: color 0.2s ease; }
.footer-links a:hover { color: var(--pink-soft); }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 850px) {
  .steps-grid { grid-template-columns: 1fr; }
  .landing-page .featured-story:hover { transform: translateY(-8px); }
  .landing-page .stat-box + .stat-box { border-left: 0; }
}

@media (max-width: 560px) {
  .cta-banner { margin-bottom: 70px; padding: 50px 20px; border-radius: 24px; }
  .cta-banner .primary-btn { width: 100%; font-size: 1rem; }
  .landing-page .hero-content h1 { font-size: clamp(3rem, 14vw, 4rem); line-height: 0.9; }
  .landing-page .tag-pill { font-size: 0.85rem; padding: 10px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .landing-page .hero-profile-preview, .landing-page .tag-pill { animation: none; }
}

/* Chat polish */
.chat-polish { background: radial-gradient(circle at 12% 12%, #ffe1f1, transparent 32%), radial-gradient(circle at 90% 85%, #efe3ff, transparent 30%), #fcf8fd; }
.chat-polish svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chat-polish .chat-reference-main { grid-template-columns: 310px minmax(0, 1fr); width: min(100% - 48px, 1120px); height: calc(100vh - 56px); min-height: 560px; margin: 28px auto 0; border: 1px solid #f3dcec; border-radius: 26px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 30px 70px rgba(135, 71, 135, 0.13); }

/* Sidebar */
.chat-polish .conversation-panel { display: flex; flex-direction: column; min-height: 0; background: #fffafd; }
.chat-polish .conversation-heading { padding: 24px 22px 14px; }
.chat-polish .conversation-heading h1 { font-size: 1.35rem; letter-spacing: -0.03em; }
.chat-polish .conversation-heading button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #ffe8f4; transition: background 0.2s ease, color 0.2s ease; }
.chat-polish .conversation-heading button:hover { color: #fff; background: #ed3399; }
.chat-polish .conversation-search { gap: 9px; height: 42px; margin: 0 18px 14px; padding: 0 14px; border-radius: 14px; background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.chat-polish .conversation-search svg { width: 17px; height: 17px; color: #b09fbd; }
.chat-polish .conversation-search:focus-within { border-color: #f3a3cf; box-shadow: 0 0 0 4px rgba(237, 51, 153, 0.08); }
.chat-polish .conversation-search input { font-size: 0.78rem; }
.chat-polish .conversation-filters { gap: 6px; padding: 0 18px 16px; border-bottom: 1px solid #f5e6f0; }
.chat-polish .conversation-filters button { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 20px; font-size: 0.72rem; transition: background 0.2s ease, color 0.2s ease; }
.chat-polish .conversation-filters button:hover { background: #fdebf5; }
.chat-polish .conversation-filters button.active { padding: 8px 18px; background: linear-gradient(135deg, #ff4aa8, #d63bb5); box-shadow: 0 6px 14px rgba(237, 51, 153, 0.28); }
.chat-polish .conversation-filters button.active b { color: #ed3399; background: #fff; }
.chat-polish .reference-conversations { flex: 1; min-height: 0; overflow-y: auto; padding: 10px; }
.chat-polish .reference-conversation { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; margin-bottom: 4px; padding: 11px 12px; border: 0; border-radius: 16px; transition: background 0.2s ease; }
.chat-polish .reference-conversation:hover { background: #fff3f9; }
.chat-polish .reference-conversation.active { background: linear-gradient(135deg, #ffe9f5, #fbe8ff); box-shadow: inset 0 0 0 1px #f8d3e8; }
.chat-polish .reference-conversation .chat-avatar { position: relative; width: 46px; height: 46px; }
.chat-polish .reference-conversation :is(.avatar-olivia, .avatar-sophia, .avatar-isabella)::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; background: #15bd82; }
.chat-polish .reference-conversation strong { font-size: 0.86rem; }
.chat-polish .reference-conversation small { margin-top: 5px; font-size: 0.72rem; }
.chat-polish .reference-conversation time { font-size: 0.64rem; }
.chat-polish .reference-conversation time b { width: 18px; height: 18px; margin-top: 8px; background: linear-gradient(135deg, #ff4aa8, #d63bb5); font-size: 0.6rem; }
.chat-polish .reference-conversation:has(time b) small { color: #4f3f68; font-weight: 600; }
.chat-polish .premium-message { margin: 12px 14px 16px; padding: 16px 56px 16px 16px; border: 0; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #ff4aa8, #9b4dff); box-shadow: 0 12px 26px rgba(170, 60, 200, 0.28); }
.chat-polish .premium-message strong { display: flex; align-items: center; gap: 7px; color: #fff; font-size: 0.88rem; }
.chat-polish .premium-crown svg { width: 17px; height: 17px; fill: #ffd86b; stroke: #ffd86b; }
.chat-polish .premium-message p { color: rgba(255, 255, 255, 0.85); font-size: 0.7rem; }
.chat-polish .premium-message a { top: 50%; right: 14px; bottom: auto; width: 32px; height: 32px; color: #c43fb0; background: #fff; transform: translateY(-50%); transition: transform 0.2s ease; }
.chat-polish .premium-message a:hover { transform: translate(3px, -50%); }

/* Chat window */
.chat-polish .reference-chat-window { grid-template-rows: auto minmax(0, 1fr) auto; min-height: 0; background: #fff; }
.chat-polish .reference-chat-header { gap: 14px; padding: 16px 24px; border-bottom: 1px solid #f5e6f0; background: rgba(255, 255, 255, 0.9); }
.chat-polish .reference-chat-header .chat-avatar { width: 48px; height: 48px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #ffd0e8; }
.chat-polish .reference-chat-header h2 { font-size: 1.08rem; }
.chat-polish .reference-chat-header p { color: #15a574; font-size: 0.72rem; font-weight: 600; }
.chat-polish .reference-chat-actions { flex: 0 0 auto; gap: 8px; }
.chat-polish .reference-chat-actions button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #f5e0ee; border-radius: 14px; color: #7d6b93; background: #fff; transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.chat-polish .reference-chat-actions button:hover { color: #ed3399; border-color: #f8c6e2; background: #fff2f9; }
.chat-polish .reference-chat-actions button:first-child { color: #ed3399; }
.chat-polish .reference-messages { min-height: 0; padding: 26px 30px; background: linear-gradient(180deg, #fffafd, #fdf4fb); }
.chat-polish .message-day span { padding: 5px 12px; border-radius: 20px; color: #9c8aac; background: #fff; box-shadow: 0 2px 8px rgba(120, 60, 120, 0.06); font-size: 0.68rem; font-weight: 600; }
.chat-polish .message-day::before, .chat-polish .message-day::after { display: none; }
.chat-polish .message-day { justify-content: center; }
.chat-polish .reference-message { gap: 10px; margin: 18px 0; animation: msgIn 0.25s ease-out; }
.chat-polish .reference-message > div { max-width: min(72%, 520px); }
.chat-polish .message-avatar { flex-basis: 34px; width: 34px; height: 34px; }
.chat-polish .reference-message p { padding: 13px 17px; border-radius: 20px 20px 20px 6px; color: #3f3259; background: #fff; box-shadow: 0 4px 14px rgba(120, 60, 120, 0.08); font-size: 0.86rem; line-height: 1.55; }
.chat-polish .reference-message.sent p { border-radius: 20px 20px 6px 20px; background: linear-gradient(135deg, #ff4aa8, #b447d8); box-shadow: 0 8px 20px rgba(214, 59, 160, 0.25); }
.chat-polish .reference-message small { margin-top: 6px; font-size: 0.64rem; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }

/* Composer */
.chat-polish .reference-message-form { gap: 4px; margin: 0; padding: 14px 20px 18px; border: 0; border-top: 1px solid #f5e6f0; border-radius: 0; background: #fff; }
.chat-polish .reference-message-form input[type="text"] { height: 48px; padding: 0 16px; border: 1px solid #f3dcec; border-radius: 16px; background: #fdf6fb; font-size: 0.86rem; transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.chat-polish .reference-message-form input[type="text"]:focus { border-color: #f3a3cf; background: #fff; box-shadow: 0 0 0 4px rgba(237, 51, 153, 0.08); }
.chat-polish .reference-message-form button, .chat-polish .reference-message-form .attach-photo { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; color: #8f7ea3; transition: color 0.2s ease, background 0.2s ease; }
.chat-polish .reference-message-form button:hover, .chat-polish .reference-message-form .attach-photo:hover { color: #ed3399; background: #fff0f8; }
.chat-polish .reference-message-form .message-send { width: 48px; height: 48px; margin-left: 4px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); box-shadow: 0 8px 18px rgba(214, 59, 160, 0.32); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.chat-polish .reference-message-form .message-send:hover { color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(214, 59, 160, 0.4); }
.chat-polish .message-send svg { width: 21px; height: 21px; }

.chat-polish .chat-empty-view { background: #fff; }

@media (max-width: 850px) {
  .chat-polish .chat-reference-main { grid-template-columns: 1fr; width: calc(100% - 20px); height: calc(100vh - 96px); min-height: 480px; margin-top: 10px; border-radius: 22px; }
  .chat-polish .conversation-panel { display: none; }
  .chat-polish .mobile-app-nav a[href="profile.html"] { font-size: 0.63rem; font-weight: 700; }
  .chat-polish .reference-chat-header { padding: 12px 14px; }
  .chat-polish .reference-chat-actions button { width: 38px; height: 38px; }
  .chat-polish .reference-messages { padding: 20px 14px; }
  .chat-polish .reference-message > div { max-width: 82%; }
  .chat-polish .reference-message-form { padding: 10px 10px 12px; }
  .chat-polish .message-attach, .chat-polish .message-mic { display: none !important; }
}
@media (max-width: 420px) {
  .chat-polish .reference-chat-actions button:nth-child(3) { display: none; }
}

/* Live (Firebase) */
[hidden] { display: none !important; }
.live-setup-notice { position: sticky; top: 0; z-index: 100; padding: 12px 18px; color: #5b1740; background: #ffe2f1; border-bottom: 1px solid #f7b6d8; font: 600 0.85rem/1.5 Inter, sans-serif; text-align: center; }
.live-toasts { position: fixed; top: 18px; left: 50%; z-index: 200; display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); transform: translateX(-50%); }
.live-toast { padding: 12px 16px; border-radius: 14px; color: #3a2a5c; background: #fff; box-shadow: 0 14px 34px rgba(60, 20, 70, 0.2); font: 600 0.82rem/1.45 Inter, sans-serif; animation: msgIn 0.2s ease-out; }
.live-toast.error { color: #fff; background: #d6336c; }
.live-toast.success { color: #fff; background: #15a574; }
.live-modal-overlay { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; background: rgba(30, 12, 40, 0.45); backdrop-filter: blur(4px); }
.live-modal { width: min(420px, 100%); padding: 24px; border-radius: 22px; color: #3a2a5c; background: #fff; box-shadow: 0 30px 70px rgba(40, 10, 50, 0.3); font-family: Inter, sans-serif; animation: msgIn 0.2s ease-out; }
.live-modal h2 { margin: 0 0 10px; font-size: 1.15rem; }
.live-modal p { margin: 0 0 14px; color: #7a6a8e; font-size: 0.85rem; line-height: 1.55; }
.live-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.live-modal-btn { padding: 10px 18px; border: 1px solid #eadcf0; border-radius: 12px; color: #5b4a73; background: #fff; font-weight: 700; }
.live-modal-btn.primary { border: 0; color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); }
.live-modal-btn.danger { background: #e0336f; }
.live-form { display: grid; gap: 10px; }
.live-form select, .live-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #eadcf0; border-radius: 12px; color: #3a2a5c; background: #fcf8fd; font: inherit; font-size: 0.85rem; resize: vertical; }
.live-check { display: flex; align-items: center; gap: 8px; color: #5b4a73; font-size: 0.85rem; }
.live-tips { margin: 0; padding-left: 18px; color: #5b4a73; font-size: 0.85rem; line-height: 1.6; }
.live-tips li + li { margin-top: 8px; }
.live-verify-box { display: grid; justify-items: center; gap: 6px; padding: 20px 0; text-align: center; }
.live-verify-box h2 { margin: 10px 0 0; }
.live-verify-box p { max-width: 340px; margin: 0 0 18px; opacity: 0.8; line-height: 1.6; }
.live-verify-box .auth-submit { display: inline-flex; justify-content: center; width: 100%; }
.live-verify-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); font-size: 1.8rem; }
.live-verify-notice { margin: 0 0 18px; padding: 14px 16px; border: 1px solid rgba(255, 122, 196, 0.45); border-radius: 14px; background: rgba(255, 78, 179, 0.1); font-size: 0.85rem; }
.live-verify-notice p { margin: 6px 0 8px; opacity: 0.85; line-height: 1.5; }
.live-link-btn { padding: 0; border: 0; color: #ff5fb4; background: none; font-weight: 700; text-decoration: underline; }
.live-loading { margin: 40px auto; color: #a092b3; font-size: 0.85rem; text-align: center; }
.live-empty { display: grid; justify-items: center; gap: 6px; margin: 30px auto; padding: 30px 20px; max-width: 420px; text-align: center; }
.live-empty > span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: #ec399a; background: #ffe5f3; font-size: 1.8rem; }
.live-empty h2 { margin: 10px 0 0; color: #3b2a57; font-size: 1.1rem; }
.live-empty p { margin: 0; color: #9d8ca9; font-size: 0.85rem; line-height: 1.6; }
.live-empty.small { margin-top: 12%; }
.live-cta { display: inline-block; margin-top: 16px; padding: 11px 20px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); font-weight: 700; font-size: 0.85rem; }

.chat-polish .reference-chat-header { position: relative; }
.chat-polish .reference-chat-header p.offline { color: #a28eab; font-weight: 500; }
.chat-polish .chat-back { display: none; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 12px; color: #6a5a80; background: #fdf0f7; }
.chat-polish .reference-conversation .chat-avatar.is-online::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; background: #15bd82; }
.chat-polish .reference-conversation :is(.avatar-olivia, .avatar-sophia, .avatar-isabella)::after { content: none; }
.chat-polish .reference-chat-window { grid-template-rows: auto auto minmax(0, 1fr) auto auto; }
.live-safety { padding: 9px 24px; color: #7a5b2a; background: #fff8e6; border-bottom: 1px solid #f7e7bf; font-size: 0.72rem; line-height: 1.5; }
.live-menu { position: absolute; top: calc(100% - 8px); right: 20px; z-index: 30; display: grid; min-width: 180px; padding: 6px; border: 1px solid #f3dcec; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px rgba(80, 30, 90, 0.18); }
.live-menu button { padding: 10px 12px; border: 0; border-radius: 10px; color: #4a3a63; background: none; font-size: 0.82rem; font-weight: 600; text-align: left; }
.live-menu button:hover { background: #fff0f8; }
.live-menu button.danger { color: #d6336c; }
.live-emoji-bar { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 18px 0; background: #fff; }
.live-emoji-bar button { width: 36px; height: 36px; border: 0; border-radius: 10px; background: #fdf3f9; font-size: 1.15rem; }
.live-emoji-bar button:hover { background: #ffe3f1; }
.chat-polish .sent-photo-preview { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; object-fit: cover; cursor: pointer; }
.chat-polish .sent-chat-photo { display: block; width: 240px; max-width: 100%; margin-bottom: 6px; border-radius: 16px; }
.chat-polish .empty-conversations { margin: 30px 16px; }

.match-grid[data-live] .view-profile { cursor: default; }
.match-grid[data-live] .save-button { font-size: 1rem; }

@media (max-width: 850px) {
  .chat-polish .chat-back { display: grid; }
  .chat-polish .chat-reference-main:not(.show-chat) .conversation-panel { display: flex; }
  .chat-polish .chat-reference-main:not(.show-chat) .reference-chat-window,
  .chat-polish .chat-reference-main:not(.show-chat) .chat-empty-view { display: none; }
  .chat-polish .chat-reference-main.show-chat .conversation-panel { display: none; }
  .chat-polish .conversation-panel { border-right: 0; }
  .live-safety { padding: 8px 14px; }
  .live-menu { right: 12px; }
}

/* Home dashboard (live) */
.home-app-body[data-page] .home-user-photo, .home-app-body[data-page] .nav-profile-photo { background: linear-gradient(135deg, #ffc1e0, #d7b8ff) center/cover; }
.home-bell { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #f3dcec; border-radius: 14px; color: #5b4a73; background: #fff; transition: color 0.2s ease, background 0.2s ease; }
.home-bell:hover { color: #ed3399; background: #fff2f9; }
.home-bell svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }
.home-bell b { top: -6px; right: -6px; min-width: 19px; width: auto; padding: 0 5px; border: 2px solid #fff; border-radius: 99px; }
.home-live { padding-top: 8px; }
.home-live .home-hero-card { min-height: 280px; margin-bottom: 20px; }
.home-live .home-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 36px 38px; }
.home-live .home-hero-copy h1 { font-size: clamp(2.3rem, 4.2vw, 4rem); }
.home-live .home-hero-copy h1 em { font-size: 1.05em; }
.home-live .home-hero-copy p { max-width: 380px; font-size: 0.88rem; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.home-live .home-hero-button { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.home-live .home-hero-button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(80, 10, 60, 0.25); }
.home-hero-ghost { display: inline-flex; align-items: center; padding: 12px 19px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 25px; color: #fff; font-size: 0.77rem; font-weight: 800; transition: background 0.2s ease; }
.home-hero-ghost:hover { background: rgba(255, 255, 255, 0.15); }

.home-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; }
.home-stat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 16px 18px; border: 1px solid #f5dcec; border-radius: 18px; background: #fff; box-shadow: 0 8px 20px rgba(106, 55, 118, 0.06); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.home-stat:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(106, 55, 118, 0.12); }
.home-stat-icon { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #ed3399; background: #ffe6f3; font-size: 1.1rem; }
.home-stat:nth-child(2) .home-stat-icon { color: #9b4dff; background: #f1e6ff; }
.home-stat:nth-child(3) .home-stat-icon { color: #2f86e8; background: #e3efff; }
.home-stat-icon.online { color: #13b37c; background: #dff8ee; }
.home-stat strong { color: #2c1f4a; font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.03em; }
.home-stat small { color: #9383a6; font-size: 0.7rem; font-weight: 700; }

.home-live .home-section-heading h2 { font-size: 1.12rem; }
.home-live .home-section-heading p { font-size: 0.74rem; }
.home-live .home-section-heading a { font-size: 0.74rem; }
.home-live .online-profiles { justify-content: flex-start; gap: 20px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; }
.home-live .online-profiles a { flex: 0 0 84px; text-align: center; transition: transform 0.2s ease; }
.home-live .online-profiles a:hover { transform: translateY(-3px); }
.home-live .online-profiles small { margin-top: -4px; color: #a092b3; font-size: 0.62rem; font-weight: 600; }
.home-live .online-face { width: 78px; height: 78px; background-color: #f6e4f0; box-shadow: 0 6px 14px rgba(200, 50, 140, 0.18); }
.home-live .online-face.away { border-color: #e3cde0; }
.home-live .online-face.away::after { background: #f2b33d; }
.home-live .home-top-match { margin-bottom: 28px; }
.home-live .home-top-match .top-match-face { width: 56px; height: 56px; background-color: #f6e4f0; }
.home-live .home-view-profile { transition: transform 0.2s ease; }
.home-live .home-view-profile:hover { transform: translateY(-2px); }

.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 28px; }
.home-panel { padding: 20px 20px 16px; border: 1px solid #f5dcec; border-radius: 20px; background: #fff; box-shadow: 0 8px 22px rgba(106, 55, 118, 0.06); }
.home-list { display: grid; gap: 4px; }
.home-person { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; transition: background 0.2s ease; }
.home-person:hover { background: #fff3f9; }
.home-person-face { position: relative; width: 46px; height: 46px; border-radius: 50%; background: #f6e4f0 center/cover; }
.home-person-face.is-online::after { content: ""; position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; background: #15bd82; }
.home-person strong, .home-person small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.home-person strong { color: #33264f; font-size: 0.86rem; }
.home-person small { margin-top: 3px; color: #9a8aac; font-size: 0.72rem; }
.home-person time { align-self: start; margin-top: 4px; color: #a99bb8; font-size: 0.64rem; }
.home-person.unread small { color: #3f3259; font-weight: 700; }
.home-person.unread time { color: #ed3399; font-weight: 800; }
.home-empty { padding: 18px 10px; text-align: center; }
.home-empty p { margin: 0; color: #9a8aac; font-size: 0.8rem; line-height: 1.6; }
.home-empty a { display: inline-block; margin-top: 10px; color: #ed3399; font-size: 0.78rem; font-weight: 800; }

.strength-row { display: flex; align-items: center; gap: 20px; }
.strength-ring { --value: 0; display: grid; flex: 0 0 auto; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(closest-side, #fff 76%, transparent 78%), conic-gradient(#ed3399 calc(var(--value) * 1%), #f6e1ee 0); }
.strength-ring strong { color: #2c1f4a; font-size: 1.25rem; }
.strength-tips, .safety-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.strength-tips li, .safety-list li { position: relative; padding-left: 24px; color: #5b4a73; font-size: 0.8rem; line-height: 1.45; }
.strength-tips li::before { content: "+"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; color: #ed3399; background: #ffe6f3; font-size: 0.75rem; font-weight: 800; }
.strength-tips li.done::before { content: "✓"; color: #fff; background: #15bd82; }
.safety-list li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; color: #13a06f; background: #dff8ee; font-size: 0.65rem; font-weight: 800; }
.safety-panel { background: linear-gradient(135deg, #ffffff, #f4fffa); }

.home-live .interest-cards { grid-template-columns: repeat(8, 1fr); }
.home-live .interest-cards a { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.home-live .interest-cards a:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(106, 55, 118, 0.14); }
.home-live .interest-cards strong { padding: 9px 10px 2px; font-size: 0.74rem; }
.home-live .interest-cards small { display: block; padding: 0 10px 10px; color: #a092b3; font-size: 0.64rem; }
.interest-food { background-image: url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=350&q=80"); }
.interest-movies { background-image: url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=350&q=80"); }
.interest-nature { background-image: url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=350&q=80"); }

@media (max-width: 900px) {
  .home-live .interest-cards { grid-template-columns: repeat(4, 1fr); }
  .home-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .home-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .home-stat { padding: 12px; column-gap: 10px; }
  .home-stat-icon { width: 38px; height: 38px; }
  .home-live .home-hero-copy { padding: 26px 22px; }
  .home-live .home-hero-copy h1 { font-size: 2.2rem; }
  .home-live .home-top-match { flex-wrap: wrap; }
  .home-live .interest-cards { grid-template-columns: repeat(2, 1fr); }
  .strength-row { align-items: flex-start; }
}

.home-live .home-hero-copy h1 > span { letter-spacing: -0.04em; }

/* Discover + Profile (live) */
.live-setup-card { display: grid; gap: 6px; width: 100%; padding: 22px 18px; border: 1.5px dashed #efc3dd; border-radius: 18px; color: #7d6b93; background: rgba(255, 255, 255, 0.7); text-align: center; font-size: 0.8rem; line-height: 1.5; }
.live-setup-card strong { color: #d63b93; font-size: 0.9rem; }
.hs-page .home-app-main { padding-top: 6px; }
.hs-kicker { display: inline-block; color: #ed3399; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.hs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border: 0; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); box-shadow: 0 8px 18px rgba(214, 59, 160, 0.28); font-size: 0.82rem; font-weight: 800; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hs-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(214, 59, 160, 0.36); }
.hs-btn.ghost { color: #5b4a73; background: #fff; border: 1px solid #f0d6e8; box-shadow: none; }
.hs-panel { padding: 20px; border: 1px solid #f5dcec; border-radius: 22px; background: #fff; box-shadow: 0 8px 22px rgba(106, 55, 118, 0.06); }
.hs-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.hs-panel-head h2 { margin: 0; color: #2c1f4a; font-size: 1.02rem; }
.hs-panel-head a, .hs-panel-head button { padding: 0; border: 0; color: #ed3399; background: none; font-size: 0.76rem; font-weight: 800; }
.hs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hs-chips span { padding: 7px 13px; border-radius: 999px; color: #a0357a; background: #ffe9f5; font-size: 0.76rem; font-weight: 700; }
.hs-chips span.shared { color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); }
.hs-chips small { color: #9a8aac; font-size: 0.8rem; }

/* Discover header, filters, tabs */
.hs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 6px 0 18px; }
.hs-head h1 { margin: 6px 0 4px; color: #2c1f4a; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -0.05em; }
.hs-head h1 em { color: #ed3399; font-family: "Great Vibes", cursive; font-size: 1.2em; font-weight: 400; letter-spacing: 0; }
.hs-head p { margin: 0; color: #9383a6; font-size: 0.85rem; }
.hs-filter-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1px solid #f0d6e8; border-radius: 999px; color: #4a3a63; background: #fff; font-size: 0.82rem; font-weight: 800; transition: border-color 0.2s ease, color 0.2s ease; }
.hs-filter-btn:hover, .hs-filter-btn[aria-expanded="true"] { border-color: #f3a3cf; color: #ed3399; }
.hs-filter-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hs-filter-btn b { display: grid; place-items: center; min-width: 20px; height: 20px; border-radius: 99px; color: #fff; background: #ed3399; font-size: 0.66rem; }
.hs-filter-panel { display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: end; gap: 12px; margin-bottom: 18px; padding: 18px; border: 1px solid #f5dcec; border-radius: 20px; background: #fff; box-shadow: 0 12px 30px rgba(106, 55, 118, 0.1); animation: msgIn 0.2s ease-out; }
.hs-filter-panel label, .hs-field { display: grid; gap: 6px; color: #7d6b93; font-size: 0.72rem; font-weight: 700; }
.hs-filter-panel input, .hs-filter-panel select, .hs-field input, .hs-field select, .hs-field textarea { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #efdcea; border-radius: 12px; color: #3a2a5c; background: #fdf8fc; font: inherit; font-size: 0.85rem; font-weight: 500; outline: 0; }
.hs-field textarea { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.hs-filter-panel input:focus, .hs-filter-panel select:focus, .hs-field :is(input, select, textarea):focus { border-color: #f3a3cf; box-shadow: 0 0 0 4px rgba(237, 51, 153, 0.08); }
.hs-filter-actions { display: flex; gap: 8px; }
.hs-tabs { display: inline-flex; gap: 4px; margin-bottom: 22px; padding: 5px; border: 1px solid #f5dcec; border-radius: 999px; background: #fff; }
.hs-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border: 0; border-radius: 999px; color: #7d6b93; background: none; font-size: 0.8rem; font-weight: 800; transition: background 0.2s ease, color 0.2s ease; }
.hs-tabs button span { display: grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 99px; color: #a0357a; background: #ffe9f5; font-size: 0.66rem; }
.hs-tabs button.active { color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); box-shadow: 0 6px 14px rgba(214, 59, 160, 0.25); }
.hs-tabs button.active span { color: #d63b93; background: #fff; }

/* Discover card */
.hs-discover-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
.hs-deck { display: grid; justify-items: center; min-height: 420px; }
.hs-card { width: min(470px, 100%); overflow: hidden; border: 1px solid #f5dcec; border-radius: 30px; background: #fff; box-shadow: 0 26px 60px rgba(120, 40, 110, 0.16); transition: transform 0.28s ease, opacity 0.28s ease; animation: msgIn 0.3s ease-out; }
.hs-card.out-left { opacity: 0; transform: translateX(-110%) rotate(-10deg); }
.hs-card.out-right { opacity: 0; transform: translateX(110%) rotate(10deg); }
.hs-card-photo { position: relative; aspect-ratio: 4 / 4.6; background: linear-gradient(135deg, #ffd6ea, #e5d3ff) center/cover; }
.hs-skeleton .hs-card-photo { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.55; } }
.hs-card-badges { position: absolute; top: 16px; left: 16px; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 80px); }
.hs-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; color: #fff; background: rgba(30, 14, 40, 0.5); backdrop-filter: blur(8px); font-size: 0.7rem; font-weight: 800; }
.hs-badge.online::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5ff0bf; box-shadow: 0 0 8px #5ff0bf; }
.hs-badge.liked { background: rgba(237, 51, 153, 0.85); }
.hs-card-report { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; color: #fff; background: rgba(30, 14, 40, 0.45); backdrop-filter: blur(8px); transition: background 0.2s ease; }
.hs-card-report:hover { background: rgba(214, 51, 108, 0.85); }
.hs-card-report svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.hs-card-overlay { position: absolute; right: 0; bottom: 0; left: 0; padding: 60px 22px 18px; color: #fff; background: linear-gradient(180deg, transparent, rgba(20, 8, 30, 0.72)); }
.hs-card-overlay h2 { margin: 0; font-size: 1.9rem; letter-spacing: -0.03em; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3); }
.hs-card-overlay p { margin: 4px 0 0; color: rgba(255, 255, 255, 0.88); font-size: 0.86rem; font-weight: 600; }
.hs-card-body { display: grid; gap: 12px; padding: 18px 22px 6px; }
.hs-score { display: flex; align-items: baseline; gap: 8px; }
.hs-score strong { color: #ed3399; font-size: 1.25rem; }
.hs-score span { color: #8f7ea3; font-size: 0.78rem; font-weight: 600; }
.hs-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.hs-fact { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 12px; color: #4a3a63; background: #f7f2fa; font-size: 0.74rem; font-weight: 600; }
.hs-fact i { font-style: normal; }
.hs-card-bio { margin: 0; color: #4f4268; font-size: 0.9rem; line-height: 1.6; }
.hs-card-actions { display: flex; align-items: center; justify-content: center; gap: 28px; padding: 16px 22px 22px; }
.hs-action { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hs-action svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hs-action.skip { border: 1px solid #eadcf0; color: #9a8aac; background: #fff; box-shadow: 0 8px 18px rgba(106, 55, 118, 0.1); }
.hs-action.skip:hover { color: #d6336c; transform: scale(1.08); }
.hs-action.like { width: 72px; height: 72px; border: 0; color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); box-shadow: 0 14px 28px rgba(214, 59, 160, 0.4); }
.hs-action.like svg { fill: #fff; stroke: none; width: 32px; height: 32px; }
.hs-action.like:hover { transform: scale(1.08); box-shadow: 0 18px 34px rgba(214, 59, 160, 0.5); }
.hs-action:disabled { opacity: 0.6; }
.hs-counter { min-width: 60px; color: #a092b3; font-size: 0.74rem; font-weight: 700; text-align: center; }
.hs-empty-deck { margin-top: 20px; }
.hs-empty-deck .hs-btn { margin-top: 14px; }

/* Discover side */
.hs-side { display: grid; gap: 16px; }
.hs-me { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 4px 12px; }
.hs-me-photo { width: 56px; height: 56px; border: 3px solid #ffd0e8; border-radius: 50%; background: linear-gradient(135deg, #ffc1e0, #d7b8ff) center/cover; }
.hs-me strong, .hs-me small { display: block; }
.hs-me strong { color: #2c1f4a; font-size: 0.95rem; }
.hs-me small { margin-top: 2px; color: #9a8aac; font-size: 0.74rem; }
.hs-bar { grid-column: 1 / -1; height: 8px; margin-top: 12px; overflow: hidden; border-radius: 99px; background: #f6e1ee; }
.hs-bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff4aa8, #b447d8); transition: width 0.6s ease; }
.hs-me p { grid-column: 1; margin: 6px 0 0; color: #7d6b93; font-size: 0.74rem; white-space: nowrap; }
.hs-me a { grid-column: 2; justify-self: end; margin-top: 6px; color: #ed3399; font-size: 0.76rem; font-weight: 800; }
.hs-likes-left { display: flex; align-items: center; gap: 14px; }
.hs-likes-left strong, .hs-likes-left small { display: block; }
.hs-likes-left > div:last-child strong { color: #2c1f4a; font-size: 0.92rem; }
.hs-likes-left small { margin-top: 3px; color: #9a8aac; font-size: 0.72rem; line-height: 1.4; }
.hs-likes-ring { --value: 100; display: grid; flex: 0 0 auto; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: radial-gradient(closest-side, #fff 74%, transparent 76%), conic-gradient(#ed3399 calc(var(--value) * 1%), #f6e1ee 0); }
.hs-likes-ring strong { color: #ed3399; font-size: 1.2rem; }
.hs-faces { display: flex; flex-wrap: wrap; gap: 10px; }
.hs-faces small { color: #9a8aac; font-size: 0.8rem; }
.hs-face { width: 48px; height: 48px; padding: 0; border: 3px solid #ffd0e8; border-radius: 50%; background: #f6e4f0 center/cover; transition: transform 0.2s ease, border-color 0.2s ease; }
.hs-face:hover { border-color: #ed3399; transform: scale(1.08); }
.hs-tip { background: linear-gradient(135deg, #fff6fb, #f5efff); }
.hs-tip strong { color: #ed3399; font-size: 0.82rem; }
.hs-tip p { margin: 6px 0 0; color: #6f6083; font-size: 0.8rem; line-height: 1.55; }
.hs-result-pair { display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.hs-result-pair span { width: 86px; height: 86px; border: 4px solid #fff; border-radius: 50%; background: #f6e4f0 center/cover; box-shadow: 0 10px 24px rgba(120, 40, 110, 0.25); }
.hs-result-pair span:last-child { margin-left: -18px; }
.hs-result-pair b { z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; margin: 0 -14px; border: 3px solid #fff; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); }

/* Profile */
.hs-profile-hero { margin-bottom: 20px; overflow: hidden; border: 1px solid #f5dcec; border-radius: 30px; background: #fff; box-shadow: 0 16px 40px rgba(106, 55, 118, 0.1); }
.hs-profile-cover { position: relative; height: 190px; background: linear-gradient(120deg, #ff5fae, #a24bdd) center/cover; }
.hs-profile-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 79, 168, 0.6), rgba(155, 77, 255, 0.55)); backdrop-filter: blur(18px); }
.hs-profile-id { position: relative; display: flex; align-items: flex-end; gap: 22px; margin-top: -64px; padding: 0 30px 26px; }
.hs-avatar-wrap { position: relative; flex: 0 0 auto; }
.hs-avatar { display: block; width: 136px; height: 136px; border: 5px solid #fff; border-radius: 50%; background: linear-gradient(135deg, #ffc1e0, #d7b8ff) center/cover; box-shadow: 0 14px 30px rgba(120, 40, 110, 0.22); }
.hs-avatar-edit { position: absolute; right: 4px; bottom: 6px; display: grid; place-items: center; width: 40px; height: 40px; border: 3px solid #fff; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); cursor: pointer; transition: transform 0.2s ease; }
.hs-avatar-edit:hover { transform: scale(1.08); }
.hs-avatar-edit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.hs-id-text { flex: 1; min-width: 0; padding-bottom: 4px; }
.hs-id-text h1 { display: flex; align-items: center; gap: 8px; margin: 0; color: #2c1f4a; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.03em; }
.hs-verified { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; background: #1d9bf0; font-size: 0.75rem; }
.hs-id-text p { margin: 6px 0 10px; color: #8f7ea3; font-size: 0.86rem; }
.hs-id-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hs-id-chips span { padding: 5px 11px; border-radius: 999px; color: #6a5a80; background: #f7f2fa; font-size: 0.72rem; font-weight: 700; }
.hs-id-actions { display: flex; gap: 10px; padding-bottom: 6px; }
.hs-profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.hs-profile-main, .hs-profile-side { display: grid; gap: 20px; }
.hs-bio { margin: 0; color: #4f4268; font-size: 0.92rem; line-height: 1.7; }
.hs-bio.empty { color: #a092b3; font-style: italic; }
.hs-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; }
.hs-details div { padding: 12px 14px; border-radius: 14px; background: #fcf6fb; }
.hs-details dt { color: #a092b3; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.hs-details dd { margin: 4px 0 0; color: #33264f; font-size: 0.88rem; font-weight: 700; }
.hs-details dd.empty { color: #b8abc6; font-weight: 500; }
.hs-activity { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hs-activity a { display: grid; justify-items: center; gap: 2px; padding: 14px 6px; border-radius: 16px; background: #fcf6fb; transition: background 0.2s ease; }
.hs-activity a:hover { background: #ffeef7; }
.hs-activity strong { color: #2c1f4a; font-size: 1.3rem; }
.hs-activity small { color: #9a8aac; font-size: 0.7rem; font-weight: 700; }
.hs-account ul { display: grid; gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.hs-account li { display: flex; justify-content: space-between; gap: 10px; font-size: 0.8rem; }
.hs-account li span { color: #9a8aac; }
.hs-account li strong { overflow: hidden; color: #33264f; text-overflow: ellipsis; white-space: nowrap; }
.hs-account li strong.ok { color: #13a06f; }
.hs-link { padding: 0; border: 0; color: #ed3399; background: none; font-size: 0.78rem; font-weight: 800; text-decoration: underline; }

/* Edit profile modal */
.live-modal.wide { width: min(660px, 100%); max-height: 88vh; overflow-y: auto; }
.hs-edit-form { display: grid; gap: 14px; }
.hs-edit-form h3 { margin: 4px 0 -4px; color: #2c1f4a; font-size: 0.86rem; }
.hs-field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.hs-check-group { display: flex; flex-wrap: wrap; gap: 8px; }
.hs-check-group label { position: relative; cursor: pointer; }
.hs-check-group input { position: absolute; opacity: 0; }
.hs-check-group span { display: inline-block; padding: 8px 14px; border: 1px solid #efdcea; border-radius: 999px; color: #6a5a80; background: #fff; font-size: 0.78rem; font-weight: 700; transition: all 0.15s ease; }
.hs-check-group input:checked + span { border-color: transparent; color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); }
.hs-check-group input:focus-visible + span { outline: 2px solid #ed3399; outline-offset: 2px; }

@media (max-width: 960px) {
  .hs-discover-layout, .hs-profile-grid { grid-template-columns: 1fr; }
  .hs-side { grid-template-columns: repeat(2, 1fr); }
  .hs-filter-panel { grid-template-columns: repeat(2, 1fr); }
  .hs-filter-actions { grid-column: 1 / -1; justify-content: flex-end; }
}
@media (max-width: 640px) {
  .hs-head { align-items: flex-start; flex-direction: column; }
  .hs-tabs { display: flex; width: 100%; }
  .hs-tabs button { flex: 1; justify-content: center; padding: 9px 8px; }
  .hs-side { grid-template-columns: 1fr; }
  .hs-card { border-radius: 24px; }
  .hs-card-overlay h2 { font-size: 1.6rem; }
  .hs-profile-cover { height: 140px; }
  .hs-profile-id { flex-direction: column; align-items: center; margin-top: -70px; padding: 0 18px 22px; text-align: center; }
  .hs-avatar { width: 116px; height: 116px; }
  .hs-id-text h1 { justify-content: center; }
  .hs-id-chips { justify-content: center; }
  .hs-details { grid-template-columns: 1fr; }
}

.hs-card-photo { aspect-ratio: auto; height: clamp(300px, 50vh, 460px); }
.hs-profile-id { align-items: flex-start; }
.hs-id-text, .hs-id-actions { padding-top: 76px; }
@media (max-width: 640px) {
  .hs-card-photo { height: clamp(320px, 62vh, 520px); }
  .hs-id-text, .hs-id-actions { padding-top: 0; }
}

@media (min-width: 641px) { .hs-card-photo { height: clamp(280px, 42vh, 440px); } .hs-head { margin-bottom: 14px; } .hs-tabs { margin-bottom: 18px; } }

/* Auth pages — light theme */
.auth-light { color: #2c1f4a; background: linear-gradient(135deg, #fff7fc, #f5eeff); }
.auth-light .auth-layout { grid-template-columns: minmax(360px, 0.9fr) minmax(460px, 1.1fr); gap: 0; min-height: 100vh; padding: 18px; }
.auth-light .auth-visual { min-height: calc(100vh - 36px); padding: 36px 44px 40px; border-radius: 30px; background: linear-gradient(160deg, rgba(255, 74, 168, 0.55), rgba(140, 60, 220, 0.78)), url("https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2?auto=format&fit=crop&w=1300&q=85") center/cover; box-shadow: 0 24px 60px rgba(150, 50, 140, 0.25); }
.auth-light .auth-visual::after { background: linear-gradient(180deg, transparent 40%, rgba(40, 10, 50, 0.45)); border-radius: inherit; }
.auth-home-brand { position: relative; z-index: 1; }
.auth-light .auth-visual .home-brand-type { color: #fff; }
.auth-light .auth-visual .home-brand-type span { color: #ffd3ec; }
.auth-light .auth-visual .home-brand small { color: rgba(255, 255, 255, 0.85); }
.auth-light .auth-visual .home-brand small b { color: #fff; }
.auth-light .auth-visual .home-brand-mark { background: #fff; color: #ed3399; }
.auth-light .auth-visual-copy .section-kicker { color: #ffe1f2; }
.auth-light .auth-visual-copy h1 { color: #fff; font-size: clamp(2.8rem, 4.6vw, 4.8rem); }
.auth-light .auth-visual-copy h1 span { color: #ffd3ec; }
.auth-light .auth-visual-copy p { color: rgba(255, 255, 255, 0.92); font-size: 0.98rem; }
.auth-points { position: relative; z-index: 1; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.auth-points li { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 0.86rem; font-weight: 600; }
.auth-points b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #ed3399; background: #fff; font-size: 0.72rem; }
.auth-light .auth-panel { padding: 30px 6vw; background: none; }
.auth-light .auth-card { width: min(100%, 480px); padding: 36px 36px 30px; border: 1px solid #f5dcec; border-radius: 28px; background: #fff; box-shadow: 0 24px 60px rgba(106, 55, 118, 0.12); }
.auth-light .signup-auth-card { width: min(100%, 560px); }
.auth-light .section-kicker { color: #ed3399; }
.auth-light .auth-card h2 { margin: 8px 0 6px; color: #2c1f4a; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.04em; }
.auth-light .auth-muted { margin-bottom: 24px; color: #8f7ea3; font-size: 0.9rem; }
.auth-light .auth-form label { margin-bottom: 16px; color: #4a3a63; font-size: 0.8rem; }
.auth-light .auth-form input, .auth-light .auth-form select, .auth-light .auth-form textarea { height: 50px; border: 1px solid #efdcea; border-radius: 14px; color: #2c1f4a; background: #fdf8fc; font-size: 0.92rem; font-weight: 500; transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.auth-light .auth-form textarea { height: auto; }
.auth-light .auth-form select { color-scheme: light; }
.auth-light .auth-form select option { color: #2c1f4a; background: #fff; }
.auth-light .auth-form select:invalid { color: #a898b8; }
.auth-light .auth-form input::placeholder, .auth-light .auth-form textarea::placeholder { color: #b6a8c4; }
.auth-light .auth-form :is(input, select, textarea):focus { border-color: #f3a3cf; background: #fff; box-shadow: 0 0 0 4px rgba(237, 51, 153, 0.1); }
.auth-light .password-toggle { top: 21px; color: #ed3399; }
.auth-light .check-label { color: #6a5a80 !important; }
.auth-light .form-options a, .auth-light .auth-switch a, .auth-light .terms-check a { color: #ed3399; font-weight: 700; }
.auth-light .auth-submit { height: 54px; border-radius: 16px; background: linear-gradient(135deg, #ff4aa8, #b447d8); box-shadow: 0 14px 28px rgba(214, 59, 160, 0.3); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.auth-light .auth-submit:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(214, 59, 160, 0.4); }
.auth-light .auth-submit:disabled { opacity: 0.7; transform: none; }
.auth-light .auth-switch { color: #8f7ea3; }
.auth-light .mobile-back { color: #8f7ea3; }
.auth-light .mini-progress i { background: #f3e1ee; }
.auth-light .mini-progress span, .auth-light .three-step-progress .current { background: linear-gradient(90deg, #ff4aa8, #b447d8); }
.auth-light .back-step { padding: 0 16px; height: 54px; border: 1px solid #efdcea; border-radius: 16px; color: #6a5a80; background: #fff; font-weight: 700; }
.auth-light .photo-upload { border: 1.5px dashed #f0c3dd; border-radius: 16px; background: #fff8fc; color: #4a3a63; }
.auth-light .upload-icon { color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); }
.auth-light .upload-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.auth-light .photo-upload small { color: #9a8aac; }
.auth-light .photo-preview { border-color: #bdeedc; color: #4a3a63; background: #f4fffa; }
.auth-light .hobbies-field { border: 1px solid #efdcea; border-radius: 16px; background: #fffbfd; }
.auth-light .hobbies-field legend { color: #4a3a63; font-size: 0.8rem; }
.auth-light .hobby-options { display: flex; flex-wrap: wrap; gap: 8px; }
.auth-light .hobby-options label { position: relative; cursor: pointer; }
.auth-light .hobby-options input { position: absolute; opacity: 0; }
.auth-light .hobby-options label { padding: 7px 13px; border: 1px solid #efdcea; border-radius: 999px; color: #6a5a80 !important; background: #fff; font-size: 0.76rem !important; font-weight: 700 !important; transition: all 0.15s ease; }
.auth-light .hobby-options label:has(input:checked) { border-color: transparent; color: #fff !important; background: linear-gradient(135deg, #ff4aa8, #b447d8); }
.auth-light .hobby-options label:has(input:focus-visible) { outline: 2px solid #ed3399; outline-offset: 2px; }
.auth-light .live-verify-box { color: #2c1f4a; }
.auth-light .live-verify-notice { color: #4a3a63; background: #fff2f9; border-color: #f8c6e2; }

/* Setup banner: smaller, friendlier, dismissible */
.live-setup-notice { position: fixed; top: auto; right: 16px; bottom: 16px; left: auto; z-index: 300; max-width: 360px; padding: 14px 40px 14px 16px; border: 1px solid #f8c6e2; border-radius: 16px; color: #5b3a63; background: #fff; box-shadow: 0 18px 40px rgba(106, 55, 118, 0.2); font-size: 0.78rem; text-align: left; }
.live-setup-notice strong { display: block; margin-bottom: 3px; color: #d63b93; }
.live-setup-close { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 50%; color: #9a8aac; background: #f7f2fa; font-size: 0.9rem; line-height: 1; }
.home-app-body .live-setup-notice { bottom: 96px; }

@media (max-width: 800px) {
  .auth-light .auth-layout { display: block; padding: 12px; }
  .auth-light .auth-visual { min-height: 260px; padding: 24px; border-radius: 24px; }
  .auth-light .auth-visual-copy { margin-top: 40px; }
  .auth-light .auth-visual-copy h1 { font-size: 2.4rem; }
  .auth-light .auth-points { display: none; }
  .auth-light .auth-panel { min-height: 0; padding: 18px 0 30px; }
  .auth-light .auth-card { padding: 26px 20px; border-radius: 24px; }
  .auth-light .mobile-back { display: none; }
  .live-setup-notice { right: 12px; left: 12px; max-width: none; }
}

/* Landing — light */
.lp-body { color: #2c1f4a; background: linear-gradient(180deg, #fff7fc 0%, #fbf3ff 55%, #fff7fc 100%); }
.lp-body::before { display: none; }
.lp { width: min(100% - 40px, 1180px); margin: 0 auto; }
.lp-header { position: sticky; top: 12px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 12px; padding: 14px 20px; border: 1px solid transparent; border-radius: 22px; transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.lp-header.scrolled { border-color: #f5dcec; background: rgba(255, 255, 255, 0.88); box-shadow: 0 14px 34px rgba(106, 55, 118, 0.12); backdrop-filter: blur(14px); }
.lp-nav { display: flex; gap: 28px; }
.lp-nav a { position: relative; color: #5b4a73; font-size: 0.88rem; font-weight: 700; transition: color 0.2s ease; }
.lp-nav a:hover { color: #ed3399; }
.lp-header-actions { display: flex; gap: 10px; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 0; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); box-shadow: 0 10px 22px rgba(214, 59, 160, 0.3); font-size: 0.88rem; font-weight: 800; white-space: nowrap; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.lp-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(214, 59, 160, 0.4); }
.lp-btn.ghost { color: #4a3a63; background: #fff; border: 1px solid #f0d6e8; box-shadow: none; }
.lp-btn.ghost:hover { border-color: #f3a3cf; color: #ed3399; }
.lp-btn.big { padding: 16px 28px; font-size: 0.98rem; }
.lp-btn.light { color: #d63b93; background: #fff; box-shadow: 0 12px 26px rgba(60, 10, 60, 0.25); }

.lp-hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 50px; padding: 60px 0 80px; }
.lp-pill { display: inline-flex; padding: 8px 16px; border: 1px solid #f8cfe5; border-radius: 999px; color: #d63b93; background: #fff; font-size: 0.8rem; font-weight: 800; }
.lp-hero h1 { margin: 20px 0 18px; color: #22183f; font-size: clamp(3rem, 6vw, 5.4rem); line-height: 0.95; letter-spacing: -0.06em; }
.lp-hero h1 em, .lp-heading h2 em, .lp-cta h2 em { color: #ed3399; font-family: "Great Vibes", cursive; font-size: 1.15em; font-style: normal; font-weight: 400; letter-spacing: 0; }
.lp-hero p { max-width: 520px; margin: 0 0 30px; color: #6f6083; font-size: 1.05rem; line-height: 1.7; }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; }
.lp-trust li { display: flex; align-items: center; gap: 8px; color: #5b4a73; font-size: 0.86rem; font-weight: 700; }
.lp-trust b, .lp-safety-list b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); font-size: 0.72rem; }
.lp-hero-visual { position: relative; min-height: 520px; }
.lp-photo { position: absolute; inset: 0 30px 0 50px; border-radius: 36px; background: linear-gradient(160deg, rgba(255, 74, 168, 0.25), rgba(140, 60, 220, 0.35)), url("https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2?auto=format&fit=crop&w=1100&q=85") center/cover; box-shadow: 0 30px 70px rgba(150, 50, 140, 0.28); }
.lp-photo-note { position: absolute; right: 26px; bottom: 26px; color: #fff; font: 2.4rem/0.85 "Great Vibes", cursive; text-shadow: 0 4px 18px rgba(0, 0, 0, 0.3); transform: rotate(-8deg); }
.lp-photo-note i { color: #ffc9e6; font-style: normal; }
.lp-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #f5dcec; border-radius: 20px; background: rgba(255, 255, 255, 0.95); box-shadow: 0 20px 44px rgba(106, 55, 118, 0.2); backdrop-filter: blur(10px); animation: lpFloat 6s ease-in-out infinite; }
.lp-float strong, .lp-float small { display: block; }
.lp-float strong { color: #2c1f4a; font-size: 0.9rem; }
.lp-float small { margin-top: 2px; color: #9a8aac; font-size: 0.72rem; }
.lp-float-match { top: 40px; left: 0; }
.lp-dot-pair { display: flex; align-items: center; }
.lp-dot-pair i { width: 38px; height: 38px; border: 3px solid #fff; border-radius: 50%; background: linear-gradient(135deg, #ffc1e0, #ff7ec0); }
.lp-dot-pair i:last-child { margin-left: -10px; background: linear-gradient(135deg, #d7b8ff, #9b6bff); }
.lp-dot-pair b { z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; margin: 0 -8px; border: 2px solid #fff; border-radius: 50%; color: #fff; background: #ed3399; font-size: 0.65rem; }
.lp-float-chat { right: 0; bottom: 110px; display: grid; gap: 8px; width: 250px; animation-delay: -2s; }
.lp-float-chat p { margin: 0; padding: 10px 13px; border-radius: 16px; font-size: 0.8rem; line-height: 1.45; }
.lp-float-chat .in { border-bottom-left-radius: 5px; color: #3f3259; background: #f7f2fa; }
.lp-float-chat .out { justify-self: end; border-bottom-right-radius: 5px; color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); }
.lp-float-safe { left: 16px; bottom: 30px; animation-delay: -4s; }
.lp-float-safe > b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: #dff8ee; font-size: 1.1rem; }
@keyframes lpFloat { 50% { transform: translateY(-10px); } }

.lp-section { padding: 70px 0; }
.lp-heading { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.lp-kicker { color: #ed3399; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.lp-heading h2, .lp-safety-copy h2 { margin: 10px 0 12px; color: #22183f; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.05em; }
.lp-heading p { margin: 0; color: #7d6b93; font-size: 1rem; line-height: 1.6; }
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-card { position: relative; padding: 28px 26px; overflow: hidden; border: 1px solid #f5dcec; border-radius: 24px; background: #fff; box-shadow: 0 10px 26px rgba(106, 55, 118, 0.07); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.lp-card:hover { transform: translateY(-6px); border-color: #f8c6e2; box-shadow: 0 22px 44px rgba(106, 55, 118, 0.14); }
.lp-card.reveal.visible:hover { transform: translateY(-6px); }
.lp-num { position: absolute; top: 18px; right: 22px; color: #f7e3ef; font-size: 3.2rem; font-weight: 900; letter-spacing: -0.06em; }
.lp-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); box-shadow: 0 12px 24px rgba(214, 59, 160, 0.3); font-size: 1.35rem; }
.lp-features .lp-icon { color: #ed3399; background: #ffe9f5; box-shadow: none; }
.lp-card h3 { margin: 20px 0 8px; color: #2c1f4a; font-size: 1.12rem; }
.lp-card p { margin: 0; color: #7d6b93; font-size: 0.9rem; line-height: 1.65; }

.lp-safety { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 50px; }
.lp-safety-copy p { margin: 0 0 24px; color: #6f6083; font-size: 1rem; line-height: 1.7; }
.lp-safety-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.lp-safety-list li { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid #f5dcec; border-radius: 20px; background: #fff; box-shadow: 0 8px 20px rgba(106, 55, 118, 0.06); }
.lp-safety-list b { flex: 0 0 auto; width: 34px; height: 34px; font-size: 0.85rem; }
.lp-safety-list strong, .lp-safety-list span { display: block; }
.lp-safety-list strong { color: #2c1f4a; font-size: 0.95rem; }
.lp-safety-list span { margin-top: 4px; color: #7d6b93; font-size: 0.86rem; line-height: 1.55; }

.lp-faq { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.lp-faq details { border: 1px solid #f5dcec; border-radius: 18px; background: #fff; transition: box-shadow 0.2s ease; }
.lp-faq details[open] { box-shadow: 0 12px 28px rgba(106, 55, 118, 0.1); }
.lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; color: #2c1f4a; font-weight: 800; cursor: pointer; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; color: #ed3399; background: #ffe9f5; font-size: 1.1rem; transition: transform 0.2s ease; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq p { margin: 0; padding: 0 22px 20px; color: #6f6083; font-size: 0.92rem; line-height: 1.65; }

.lp-cta { margin: 40px 0 70px; padding: 70px 30px; border-radius: 36px; color: #fff; background: linear-gradient(135deg, #ff4aa8, #9b4dff); box-shadow: 0 30px 70px rgba(170, 60, 200, 0.3); text-align: center; }
.lp-cta h2 { margin: 0 0 12px; font-size: clamp(2rem, 4.5vw, 3.6rem); line-height: 1; letter-spacing: -0.05em; }
.lp-cta h2 em { color: #ffe1f2; }
.lp-cta p { margin: 0 auto 28px; max-width: 480px; color: rgba(255, 255, 255, 0.9); line-height: 1.6; }

.lp-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 0 40px; border-top: 1px solid #f3dcec; color: #8f7ea3; font-size: 0.85rem; }
.lp-footer p { margin: 8px 0 0; }
.lp-footer nav { display: flex; flex-wrap: wrap; gap: 22px; font-weight: 700; }
.lp-footer nav a:hover { color: #ed3399; }

@media (max-width: 960px) {
  .lp-nav { display: none; }
  .lp-hero, .lp-safety { grid-template-columns: 1fr; gap: 36px; }
  .lp-hero { padding-top: 30px; }
  .lp-hero-visual { min-height: 440px; }
  .lp-steps, .lp-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .lp { width: calc(100% - 24px); }
  .lp-header { padding: 10px 8px; }
  .lp-header .home-brand small { display: none; }
  .lp-header .home-brand-type { font-size: 1.5rem; }
  .lp-header .home-brand-mark { width: 38px; height: 38px; font-size: 1.3rem; }
  .lp-header .home-brand { grid-template-columns: 38px auto; }
  .lp-header-actions .ghost { display: none; }
  .lp-hero h1 { font-size: 3rem; }
  .lp-hero-actions .lp-btn { width: 100%; }
  .lp-hero-visual { min-height: 380px; }
  .lp-photo { inset: 0 0 0 0; }
  .lp-float-chat { width: 210px; bottom: 90px; }
  .lp-steps, .lp-features { grid-template-columns: 1fr; }
  .lp-section { padding: 50px 0; }
  .lp-cta { padding: 50px 20px; border-radius: 26px; }
  .lp-cta .lp-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .lp-float { animation: none; } }

/* Premium */
.pm-on-text, .pm-badge { display: none; }
.is-premium .pm-on-text { display: inline; }
.is-premium .pm-free-text { display: none !important; }
.is-premium .pm-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; color: #7a4a00; background: linear-gradient(135deg, #ffe7a3, #ffc75a); font-size: 0.72rem; font-weight: 800; letter-spacing: 0; }
.pm-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; padding: 18px 22px; border-radius: 22px; color: #fff; background: linear-gradient(120deg, #2c1f4a, #6b2f8f 55%, #d63b93); box-shadow: 0 16px 36px rgba(80, 30, 100, 0.25); }
.pm-banner > div:first-child { display: flex; align-items: center; gap: 14px; }
.pm-spark { display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 16px; background: rgba(255, 255, 255, 0.14); font-size: 1.4rem; }
.pm-banner strong { display: block; font-size: 1.05rem; }
.pm-banner small { display: block; margin-top: 3px; color: rgba(255, 255, 255, 0.8); font-size: 0.8rem; }
.pm-banner-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-banner .hs-btn { color: #6b2f8f; background: #fff; box-shadow: none; }
.pm-banner .hs-btn.ghost { color: #fff; background: transparent; border-color: rgba(255, 255, 255, 0.45); }
.pm-side { background: linear-gradient(135deg, #fffaf0, #fff4fb); }
.pm-side p { margin: 0 0 14px; color: #5b4a73; font-size: 0.86rem; line-height: 1.55; }
.pm-side-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hs-likes-left .hs-link { display: block; margin-top: 6px; font-size: 0.74rem; }
.live-modal.premium { width: min(520px, 100%); }
.pm-active { padding: 10px 12px; border-radius: 12px; color: #13724f !important; background: #e3f8ef; font-weight: 700; }
.pm-perks { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.pm-perks li { position: relative; padding-left: 26px; color: #3f3259; font-size: 0.88rem; font-weight: 600; }
.pm-perks li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); font-size: 0.65rem; }
.pm-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pm-plan { position: relative; cursor: pointer; }
.pm-plan input { position: absolute; opacity: 0; }
.pm-plan span { display: grid; gap: 3px; height: 100%; padding: 14px 10px; border: 2px solid #efdcea; border-radius: 16px; text-align: center; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.pm-plan small { color: #a092b3; font-size: 0.64rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.pm-plan strong { color: #2c1f4a; font-size: 0.92rem; }
.pm-plan b { color: #ed3399; font-size: 1.1rem; }
.pm-plan.best small { color: #ed3399; }
.pm-plan input:checked + span { border-color: #ed3399; box-shadow: 0 0 0 4px rgba(237, 51, 153, 0.12); background: #fff7fb; }
.pm-plan input:focus-visible + span { outline: 2px solid #ed3399; outline-offset: 2px; }
.pm-note { margin: 14px 0 0 !important; font-size: 0.78rem !important; }

/* Support widget */
.sp-launcher { position: fixed; right: 22px; bottom: 24px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px; border: 0; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #2c1f4a, #6b2f8f); box-shadow: 0 14px 30px rgba(44, 31, 74, 0.35); font-size: 0.85rem; font-weight: 800; transition: transform 0.2s ease; }
.sp-launcher:hover { transform: translateY(-2px); }
.sp-launcher svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sp-launcher b { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; min-width: 20px; height: 20px; border: 2px solid #fff; border-radius: 99px; background: #f32973; font-size: 0.62rem; }
.sp-launcher.open { opacity: 0; pointer-events: none; }
.chat-app-body .sp-launcher { display: none; }
.sp-panel { position: fixed; right: 22px; bottom: 24px; z-index: 70; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; width: min(380px, calc(100% - 24px)); height: min(560px, calc(100vh - 48px)); overflow: hidden; border: 1px solid #f3dcec; border-radius: 24px; background: #fff; box-shadow: 0 30px 70px rgba(44, 31, 74, 0.3); animation: msgIn 0.2s ease-out; }
.sp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; color: #fff; background: linear-gradient(135deg, #2c1f4a, #6b2f8f); }
.sp-head > div { display: flex; align-items: center; gap: 12px; }
.sp-logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; color: #ed3399; background: #fff; font-size: 1.1rem; }
.sp-head strong, .sp-head small { display: block; }
.sp-head strong { font-size: 0.95rem; }
.sp-head small { margin-top: 2px; color: rgba(255, 255, 255, 0.78); font-size: 0.7rem; }
.sp-close { width: 32px; height: 32px; border: 0; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, 0.14); }
.sp-topic { padding: 8px 18px; color: #6b2f8f; background: #f6efff; font-size: 0.74rem; font-weight: 700; }
.sp-messages { display: flex; flex-direction: column; gap: 10px; overflow-y: auto; padding: 16px; background: #fdf8fc; }
.sp-msg { max-width: 82%; }
.sp-msg p { margin: 0; padding: 10px 14px; border-radius: 18px 18px 18px 6px; color: #3f3259; background: #fff; box-shadow: 0 3px 10px rgba(120, 60, 120, 0.08); font-size: 0.84rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.sp-msg.out { align-self: flex-end; }
.sp-msg.out p { border-radius: 18px 18px 6px 18px; color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); }
.sp-msg small { display: block; margin: 4px 6px 0; color: #b0a0b9; font-size: 0.62rem; }
.sp-msg.out small { text-align: right; }
.sp-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid #f5e6f0; }
.sp-form textarea { flex: 1; min-height: 44px; max-height: 120px; padding: 11px 14px; border: 1px solid #f0dcea; border-radius: 16px; color: #3a2a5c; background: #fdf8fc; font: inherit; font-size: 0.86rem; resize: none; outline: 0; }
.sp-form textarea:focus { border-color: #f3a3cf; background: #fff; }
.sp-send { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border: 0; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); }
.sp-send svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

/* Admin panel */
.ad-body { min-height: 100vh; }
.ad-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 28px; border-bottom: 1px solid #f3dcec; background: rgba(255, 255, 255, 0.9); }
.ad-header .home-brand small { color: #ed3399; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.ad-tabs { display: flex; gap: 4px; padding: 5px; border: 1px solid #f5dcec; border-radius: 999px; background: #fff; }
.ad-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 0; border-radius: 999px; color: #7d6b93; background: none; font-size: 0.84rem; font-weight: 800; }
.ad-tabs button.active { color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); }
.ad-tabs b { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; color: #d63b93; background: #fff; font-size: 0.66rem; }
.ad-header-actions { display: flex; gap: 8px; }
.ad-main { padding: 22px 28px 30px; }
.ad-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr) 300px; height: calc(100vh - 140px); min-height: 520px; overflow: hidden; border: 1px solid #f3dcec; border-radius: 26px; background: #fff; box-shadow: 0 24px 60px rgba(106, 55, 118, 0.12); }
.ad-threads-panel { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid #f5e6f0; background: #fffafd; }
.ad-panel-head { padding: 20px 20px 12px; }
.ad-panel-head h1 { margin: 0; color: #2c1f4a; font-size: 1.25rem; }
.ad-panel-head p { margin: 4px 0 0; color: #9a8aac; font-size: 0.76rem; }
.ad-threads-panel .conversation-search { height: 40px; margin: 0 16px 10px; background: #fff; }
.ad-threads { flex: 1; min-height: 0; overflow-y: auto; padding: 6px 10px 12px; }
.ad-thread { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; width: 100%; margin-bottom: 4px; padding: 11px 10px; border: 0; border-radius: 16px; text-align: left; background: none; transition: background 0.15s ease; }
.ad-thread:hover { background: #fff3f9; }
.ad-thread.active { background: linear-gradient(135deg, #ffe9f5, #fbe8ff); box-shadow: inset 0 0 0 1px #f8d3e8; }
.ad-face { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #ffc1e0, #d7b8ff) center/cover; }
.ad-thread strong, .ad-thread em, .ad-thread small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ad-thread strong { color: #2c1f4a; font-size: 0.86rem; }
.ad-thread em { margin-top: 2px; color: #b447d8; font-size: 0.7rem; font-style: normal; font-weight: 700; }
.ad-thread small { margin-top: 3px; color: #9a8aac; font-size: 0.72rem; }
.ad-thread.unread small { color: #2c1f4a; font-weight: 700; }
.ad-meta { display: grid; justify-items: end; align-content: start; gap: 6px; }
.ad-meta time { color: #a99bb8; font-size: 0.64rem; }
.ad-meta i { padding: 2px 8px; border-radius: 99px; font-size: 0.6rem; font-style: normal; font-weight: 800; }
.ad-meta i.new { color: #fff; background: #ed3399; }
.ad-meta i.closed { color: #13724f; background: #e3f8ef; }
.ad-chat { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; min-width: 0; min-height: 0; }
.ad-chat-empty { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 30px; background: #fff; text-align: center; }
.ad-chat-empty span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: #ed3399; background: #ffe5f3; font-size: 1.8rem; }
.ad-chat-empty h2 { margin: 10px 0 0; color: #2c1f4a; font-size: 1.1rem; }
.ad-chat-empty p { margin: 0; color: #9a8aac; font-size: 0.85rem; }
.ad-chat.ready .ad-chat-empty { display: none; }
.ad-chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #f5e6f0; }
.ad-chat-head > div { flex: 1; min-width: 0; }
.ad-chat-head strong, .ad-chat-head small { display: block; }
.ad-chat-head strong { color: #2c1f4a; font-size: 1.02rem; }
.ad-chat-head small { margin-top: 2px; color: #b447d8; font-size: 0.76rem; font-weight: 700; }
.ad-messages { min-height: 0; overflow-y: auto; padding: 20px 24px; background: linear-gradient(180deg, #fffafd, #fdf4fb); }
.ad-messages p { white-space: pre-wrap; overflow-wrap: anywhere; }
.ad-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 20px 0; }
.ad-quick button { padding: 6px 12px; border: 1px solid #efdcea; border-radius: 999px; color: #6a5a80; background: #fff; font-size: 0.72rem; font-weight: 700; }
.ad-quick button:hover { border-color: #f3a3cf; color: #ed3399; }
.ad-form { display: flex; align-items: flex-end; gap: 10px; padding: 12px 20px 18px; }
.ad-form textarea { flex: 1; min-height: 50px; max-height: 160px; padding: 12px 14px; border: 1px solid #f0dcea; border-radius: 16px; color: #3a2a5c; background: #fdf8fc; font: inherit; font-size: 0.88rem; resize: vertical; outline: 0; }
.ad-form textarea:focus { border-color: #f3a3cf; background: #fff; }
.ad-side { min-height: 0; overflow-y: auto; padding: 20px; border-left: 1px solid #f5e6f0; background: #fffafd; }
.ad-side-empty { margin-top: 40px; color: #a092b3; font-size: 0.82rem; text-align: center; }
.ad-user { display: grid; justify-items: center; text-align: center; }
.ad-user-photo { width: 96px; height: 96px; margin-bottom: 10px; border: 4px solid #fff; border-radius: 50%; background: linear-gradient(135deg, #ffc1e0, #d7b8ff) center/cover; box-shadow: 0 10px 24px rgba(120, 40, 110, 0.18); }
.ad-user strong { color: #2c1f4a; font-size: 1.05rem; }
.ad-user small { margin-top: 2px; color: #9a8aac; font-size: 0.78rem; }
.ad-facts { display: grid; gap: 8px; width: 100%; margin: 16px 0 0; text-align: left; }
.ad-facts div { padding: 9px 12px; border-radius: 12px; background: #fff; }
.ad-facts dt { color: #a092b3; font-size: 0.64rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.ad-facts dd { margin: 2px 0 0; overflow-wrap: anywhere; color: #33264f; font-size: 0.8rem; font-weight: 600; }
.ad-premium { display: grid; gap: 8px; margin-top: 16px; padding: 16px; border: 1px solid #f0dcea; border-radius: 18px; background: #fff; }
.ad-premium.on { border-color: #ffd98a; background: linear-gradient(135deg, #fffaf0, #fff4e0); }
.ad-premium strong { color: #2c1f4a; font-size: 0.92rem; }
.ad-premium small { color: #7a5b2a; font-size: 0.76rem; }
.ad-premium select { height: 40px; padding: 0 10px; border: 1px solid #efdcea; border-radius: 12px; color: #3a2a5c; background: #fdf8fc; font: inherit; font-size: 0.82rem; }
.ad-reports { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.ad-report { display: grid; gap: 10px; padding: 18px; border: 1px solid #f5dcec; border-radius: 20px; background: #fff; box-shadow: 0 8px 20px rgba(106, 55, 118, 0.06); }
.ad-report-who { display: flex; align-items: center; gap: 12px; }
.ad-report-who strong, .ad-report-who small { display: block; }
.ad-report-who strong { color: #2c1f4a; }
.ad-report-who small { margin-top: 2px; color: #9a8aac; font-size: 0.74rem; }
.ad-reason { justify-self: start; padding: 5px 11px; border-radius: 99px; color: #b3264f; background: #ffe6ee; font-size: 0.74rem; font-weight: 800; }
.ad-report p { margin: 0; color: #4f4268; font-size: 0.86rem; line-height: 1.55; }
.ad-report code { color: #a092b3; font-size: 0.7rem; overflow-wrap: anywhere; }
.ad-back { display: none; }

@media (max-width: 1100px) {
  .ad-layout { grid-template-columns: 300px minmax(0, 1fr); }
  .ad-side { display: none; }
}
@media (max-width: 760px) {
  .ad-header { flex-wrap: wrap; padding: 12px 14px; }
  .ad-tabs { order: 3; width: 100%; }
  .ad-tabs button { flex: 1; justify-content: center; }
  .ad-main { padding: 12px; }
  .ad-layout { grid-template-columns: 1fr; height: calc(100vh - 150px); }
  .ad-layout:not(.show-chat) .ad-chat { display: none; }
  .ad-layout.show-chat .ad-threads-panel { display: none; }
  .ad-back { display: grid; }
  .sp-launcher { right: 14px; bottom: 96px; padding: 12px 14px; }
  .sp-launcher span { display: none; }
  .sp-panel { right: 12px; bottom: 12px; height: min(560px, calc(100vh - 24px)); }
  .pm-banner { flex-direction: column; align-items: flex-start; }
  .pm-plans { grid-template-columns: 1fr; }
}

.sp-panel { display: flex; flex-direction: column; }
.sp-messages { flex: 1; min-height: 0; }

/* Language picker */
.lang-picker { display: grid; gap: 10px; }
.lang-selected { display: flex; flex-wrap: wrap; gap: 6px; min-height: 32px; align-items: center; }
.lang-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border: 0; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); font-size: 0.76rem; font-weight: 700; }
.lang-chip b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); font-size: 0.6rem; }
.lang-chip:hover b { background: rgba(255, 255, 255, 0.45); }
.lang-empty, .lang-none, .lang-footer small { color: #a092b3; font-size: 0.74rem; }
.lang-picker .lang-search, .auth-light .auth-form .lang-search { display: flex !important; align-items: center; gap: 8px; margin: 0 !important; padding: 0 12px; border: 1px solid #efdcea; border-radius: 14px; background: #fff; }
.lang-search svg { flex: 0 0 auto; width: 17px; height: 17px; fill: none; stroke: #b09fbd; stroke-width: 2; stroke-linecap: round; }
.lang-picker .lang-search input, .auth-light .auth-form .lang-search input { width: 100%; height: 42px; margin: 0; padding: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 0.86rem; outline: 0; }
.lang-search:focus-within { border-color: #f3a3cf; box-shadow: 0 0 0 4px rgba(237, 51, 153, 0.08); }
.lang-list { display: flex; flex-wrap: wrap; gap: 6px; max-height: 190px; overflow-y: auto; padding: 2px; scrollbar-width: thin; }
.lang-picker .lang-option, .auth-light .auth-form .lang-option { position: relative; display: inline-flex !important; margin: 0 !important; cursor: pointer; }
.lang-picker .lang-option input, .auth-light .auth-form .lang-option input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.lang-option span { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; border: 1px solid #efdcea; border-radius: 999px; color: #5b4a73; background: #fff; font-size: 0.76rem; font-weight: 700; transition: all 0.15s ease; }
.lang-option span i { color: #a898b8; font-size: 0.7rem; font-style: normal; font-weight: 500; }
.lang-option.popular span { border-color: #f5cde3; background: #fff7fb; }
.lang-option:hover span { border-color: #f3a3cf; }
.lang-option input:checked + span { border-color: transparent; color: #fff; background: linear-gradient(135deg, #ff4aa8, #b447d8); }
.lang-option input:checked + span i { color: rgba(255, 255, 255, 0.8); }
.lang-option input:focus-visible + span { outline: 2px solid #ed3399; outline-offset: 2px; }
.lang-option.disabled { cursor: not-allowed; opacity: 0.45; }
.lang-footer { display: flex; justify-content: space-between; gap: 10px; }
.auth-light .lang-field legend { margin-bottom: 4px; }

.lang-picker .lang-option[hidden], .auth-light .auth-form .lang-option[hidden] { display: none !important; }

/* Extra profile fields */
.auth-optional { margin: 6px 0 12px; padding-top: 16px; border-top: 1px dashed #f0d6e8; color: #2c1f4a; font-size: 0.86rem; font-weight: 800; }
.auth-optional span { color: #9a8aac; font-weight: 500; }
.hs-first-date { margin-top: 14px; padding: 14px 16px; border-left: 4px solid #ed3399; border-radius: 12px; background: #fff5fa; }
.hs-first-date small { color: #ed3399; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.hs-first-date p { margin: 4px 0 0; color: #3f3259; font-size: 0.9rem; font-style: italic; line-height: 1.5; }
.hs-card .hs-first-date { margin-top: 0; }
.hs-edit-form .hobby-options { display: flex; flex-wrap: wrap; gap: 8px; }

.auth-light .auth-form .form-grid { row-gap: 0; }
.auth-light .auth-form select:has(option[value='']:checked), .hs-field select:has(option[value='']:checked) { color: #a898b8; }

/* Admin sign-in */
.ad-locked .ad-tabs, .ad-locked .ad-header-actions { display: none; }
.ad-login { display: grid; justify-items: center; gap: 6px; width: min(420px, 100%); margin: 50px auto; padding: 34px 30px; border: 1px solid #f5dcec; border-radius: 28px; background: #fff; box-shadow: 0 24px 60px rgba(106, 55, 118, 0.14); text-align: center; }
.ad-login-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(135deg, #ffe6f3, #efe3ff); font-size: 1.8rem; }
.ad-login h1 { margin: 10px 0 0; color: #2c1f4a; font-size: 1.5rem; }
.ad-login > p { margin: 0; color: #8f7ea3; font-size: 0.86rem; line-height: 1.55; }
.ad-login .ad-login-error { margin-top: 8px; padding: 10px 12px; border-radius: 12px; color: #b3264f; background: #ffe6ee; font-weight: 600; }
.ad-login-form { display: grid; gap: 14px; width: 100%; margin-top: 18px; text-align: left; }
.ad-login-form .hs-btn { width: 100%; padding: 14px; }
.ad-login-form .hs-link { justify-self: center; }
.ad-login-pass { position: relative; }
.ad-login-pass input { padding-right: 64px !important; }
.ad-login-toggle { position: absolute; top: 50%; right: 10px; padding: 4px 8px; border: 0; color: #ed3399; background: none; font-size: 0.74rem; font-weight: 800; transform: translateY(-50%); }

/* Demo mode */
.demo-ribbon { position: fixed; left: 16px; bottom: 16px; z-index: 250; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 999px; color: #fff; background: #2c1f4a; box-shadow: 0 12px 28px rgba(44, 31, 74, 0.35); font-size: 0.78rem; font-weight: 800; }
.demo-ribbon small { color: rgba(255, 255, 255, 0.7); font-size: 0.68rem; font-weight: 500; }
.demo-ribbon button { padding: 6px 12px; border: 0; border-radius: 999px; color: #2c1f4a; background: #ffe7a3; font-size: 0.72rem; font-weight: 800; }
.home-app-body .demo-ribbon, .chat-app-body .demo-ribbon { bottom: 100px; }
.demo-login { display: grid; gap: 8px; margin: 0 0 20px; padding: 16px; border: 1.5px dashed #c9a6ff; border-radius: 18px; background: #f7f0ff; }
.demo-login strong { color: #6b2f8f; font-size: 0.9rem; }
.demo-login p { margin: 0; color: #5b4a73; font-size: 0.8rem; overflow-wrap: anywhere; }
.demo-login .hs-btn { justify-self: start; }
@media (max-width: 760px) {
  .demo-ribbon small { display: none; }
  .demo-ribbon { left: 12px; bottom: 12px; }
  .home-app-body .demo-ribbon { bottom: 96px; }
}

.chat-app-body .demo-ribbon, .ad-body .demo-ribbon { top: 12px; bottom: auto; left: auto; right: 16px; }

.demo-ribbon, .home-app-body .demo-ribbon, .chat-app-body .demo-ribbon, .ad-body .demo-ribbon { top: 10px; right: auto; bottom: auto; left: 50%; transform: translateX(-50%); }

/* Job picker */
.job-picker { position: relative; }
.job-list { position: absolute; top: calc(100% + 6px); right: 0; left: 0; z-index: 40; max-height: 260px; margin: 0; padding: 6px; overflow-y: auto; border: 1px solid #f0d6e8; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px rgba(106, 55, 118, 0.18); list-style: none; scrollbar-width: thin; }
.job-group { padding: 8px 10px 4px; color: #ed3399; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.job-option { padding: 9px 12px; border-radius: 10px; color: #3f3259; font-size: 0.86rem; font-weight: 600; cursor: pointer; }
.job-option:hover, .job-option.active { color: #d63b93; background: #fff0f8; }
.job-own { color: #6b2f8f; }
.job-own b { color: #ed3399; }
.auth-light .auth-form .job-picker input { margin-top: 8px; }

/* Landing: photo marquee */
.lp-faces { padding: 20px 0 60px; overflow: hidden; }
.lp-faces .lp-heading { margin-bottom: 30px; }
.lp-faces-rows { display: grid; gap: 16px; margin: 0 calc(50% - 50vw); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lp-faces-track { display: flex; width: max-content; animation: lpFaces 60s linear infinite; }
.lp-faces-rows .reverse .lp-faces-track { animation-direction: reverse; animation-duration: 70s; }
.lp-faces-rows:hover .lp-faces-track { animation-play-state: paused; }
.lp-faces-set { display: flex; gap: 16px; padding-right: 16px; }
.lp-faces-set img { width: 160px; height: 200px; flex: 0 0 auto; border: 4px solid #fff; border-radius: 26px; object-fit: cover; background: #f6e4f0; box-shadow: 0 14px 30px rgba(106, 55, 118, 0.16); transition: transform 0.3s ease; }
.lp-faces-set img:nth-child(odd) { transform: translateY(10px) rotate(-1.5deg); }
.lp-faces-set img:nth-child(even) { transform: rotate(1.5deg); }
.lp-faces-set img:hover { transform: scale(1.06); }
@keyframes lpFaces { to { transform: translateX(-50%); } }
@media (max-width: 600px) { .lp-faces-set img { width: 120px; height: 150px; border-radius: 20px; } }
@media (prefers-reduced-motion: reduce) { .lp-faces-track { animation: none; } }

.lp-body { overflow-x: clip; }
.lp-faces { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.lp-faces .lp-heading { padding: 0 20px; }
.lp-faces-rows { margin: 0; }
.demo-ribbon a { color: #ffe7a3; font-size: 0.72rem; text-decoration: underline; }

.lp-faces-rows { padding: 12px 0 28px; }

/* Admin: dashboard, users, member details */
.ad-tabs { flex-wrap: wrap; }
.ad-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0 22px; }
.ad-stat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 16px 18px; border: 1px solid #f5dcec; border-radius: 18px; background: #fff; text-align: left; box-shadow: 0 8px 20px rgba(106, 55, 118, 0.06); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.ad-stat:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(106, 55, 118, 0.12); }
.ad-stat span { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff0f8; font-size: 1.2rem; }
.ad-stat strong { color: #2c1f4a; font-size: 1.5rem; line-height: 1.1; }
.ad-stat small { color: #9383a6; font-size: 0.74rem; font-weight: 700; }
.ad-dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ad-list { display: grid; gap: 4px; }
.ad-person { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 14px; text-align: left; background: none; transition: background 0.15s ease; }
.ad-person:hover { background: #fff3f9; }
.ad-person strong, .ad-person small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ad-person strong { color: #2c1f4a; font-size: 0.88rem; }
.ad-person small { margin-top: 2px; color: #9a8aac; font-size: 0.74rem; }
.ad-face { position: relative; }
.ad-face.is-online::after { content: ""; position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; background: #15bd82; }
.ad-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.ad-badge { padding: 3px 9px; border-radius: 99px; font-size: 0.64rem; font-weight: 800; }
.ad-badge.banned { color: #fff; background: #d6336c; }
.ad-badge.premium { color: #7a4a00; background: linear-gradient(135deg, #ffe7a3, #ffc75a); }
.ad-badge.new { color: #2f6fd6; background: #e3efff; }
.ad-badge.online { color: #13724f; background: #e3f8ef; }
.ad-meta i.premium { color: #7a4a00; background: #ffe7a3; }
.ad-users-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ad-users-head .ad-panel-head { padding: 0; }
.ad-users-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0; }
.ad-users-tools .conversation-search { flex: 1; min-width: 240px; height: 44px; margin: 0; background: #fff; }
.ad-users-tools .hs-tabs { margin: 0; }
.ad-users { padding: 8px; border: 1px solid #f5dcec; border-radius: 22px; background: #fff; }
.ad-users .ad-person { grid-template-columns: 44px minmax(0, 1fr) auto auto; }
.ad-user-meta { display: grid; justify-items: end; gap: 2px; }
.ad-user-meta small { margin: 0; color: #a092b3; font-size: 0.7rem; }
.ad-detail { display: grid; gap: 16px; }
.ad-detail-top { display: flex; align-items: center; gap: 16px; }
.ad-detail-top .ad-user-photo { margin: 0; }
.ad-detail-top h3 { margin: 0; color: #2c1f4a; font-size: 1.3rem; }
.ad-detail-top p { margin: 4px 0 8px !important; }
.ad-detail-top .ad-badges { justify-content: flex-start; }
.ad-facts.two { grid-template-columns: 1fr 1fr; margin: 0; }
.ad-facts.two div { background: #fcf6fb; }
.ad-detail-bio { margin: 0 !important; padding: 12px 14px; border-radius: 12px; color: #4f4268 !important; background: #fcf6fb; font-style: italic; }
.ad-detail .ad-premium { margin: 0; }
.ad-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ad-actions .hs-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.hs-btn.danger { background: linear-gradient(135deg, #e0336f, #b3264f); box-shadow: 0 8px 18px rgba(214, 51, 108, 0.3); }
.ad-note { margin: 0 !important; color: #9a8aac !important; font-size: 0.74rem !important; }
.ad-side .hs-btn { width: 100%; margin-top: 14px; }
.ad-side .ad-badges { justify-content: center; margin-top: 8px; }
.ad-login.suspended { margin-top: 12vh; }
.ad-report .hs-btn { justify-self: start; }
@media (max-width: 960px) {
  .ad-stats { grid-template-columns: repeat(2, 1fr); }
  .ad-dash-grid { grid-template-columns: 1fr; }
  .ad-users .ad-person { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .ad-user-meta { display: none; }
  .ad-facts.two { grid-template-columns: 1fr; }
}

.ad-body.home-app-body .demo-ribbon { top: auto; right: auto; bottom: 16px; left: 16px; transform: none; }

/* Modal inputs + assisted setup form */
.live-form input, .live-modal input[type="email"], .live-modal input[type="text"], .live-modal input[type="number"] { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #efdcea; border-radius: 12px; color: #3a2a5c; background: #fdf8fc; font: inherit; font-size: 0.88rem; outline: 0; }
.live-form input:focus, .live-modal input:focus { border-color: #f3a3cf; background: #fff; box-shadow: 0 0 0 4px rgba(237, 51, 153, 0.08); }
.ad-invite-form { gap: 12px; }
.ad-invite-form .ad-note { margin-bottom: 4px !important; line-height: 1.5; }
.ad-invite-photo-field { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1.5px dashed #f0c3dd; border-radius: 16px; color: #6a5a80; background: #fff8fc; font-size: 0.84rem; font-weight: 700; cursor: pointer; }
.ad-invite-photo-field input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ad-invite-photo { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #ffc1e0, #d7b8ff) center/cover; }

.ad-reset { display: grid; gap: 6px; margin-top: 14px; padding: 14px; border: 1px solid #f0dcea; border-radius: 16px; background: #fff; }
.ad-reset strong { color: #2c1f4a; font-size: 0.88rem; }
.ad-reset small { color: #9a8aac; font-size: 0.74rem; overflow-wrap: anywhere; }
.ad-reset .hs-btn { width: 100%; margin-top: 4px; }
.ad-reset .hs-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Legal pages: Terms, Privacy */
.legal { max-width: 780px; margin: 40px auto 70px; padding: 44px 48px; border: 1px solid #f5dcec; border-radius: 28px; background: #fff; box-shadow: 0 14px 34px rgba(106, 55, 118, 0.08); color: #4a3a63; font-size: 0.96rem; line-height: 1.75; }
.legal h1 { margin: 8px 0 4px; color: #22183f; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.1; letter-spacing: -0.04em; }
.legal-date { margin: 0 0 22px; color: #9a89ad; font-size: 0.85rem; }
.legal h2 { margin: 30px 0 8px; color: #2c1f4a; font-size: 1.15rem; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: #ed3399; }
.legal a { color: #d63b93; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal-table { width: 100%; margin: 6px 0 14px; border-collapse: collapse; font-size: 0.9rem; }
.legal-table th, .legal-table td { padding: 10px 12px; border-bottom: 1px solid #f5e3ef; text-align: left; vertical-align: top; }
.legal-table th { color: #2c1f4a; background: #fff4fa; }
.legal-table td:first-child { width: 55%; }
.lp-nav a[aria-current="page"] { color: #ed3399; }
@media (max-width: 600px) {
  .legal { margin: 20px 0 40px; padding: 26px 18px; border-radius: 22px; font-size: 0.93rem; }
  .legal-table th, .legal-table td { padding: 8px 6px; }
}

/* Admin verify (profile checked by hand) */
.ad-user-line { display: flex; align-items: center; gap: 10px; }
.ad-user-line > .ad-person { flex: 1; min-width: 0; }
.ad-verify-btn { flex: none; padding: 9px 14px; border: 1px solid #f0d6e8; border-radius: 999px; color: #5b4a73; background: #fff; font-size: 0.8rem; font-weight: 800; cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.ad-verify-btn:hover { border-color: #12b76a; color: #0e8a52; }
.ad-verify-btn.on { border-color: #12b76a; color: #fff; background: #12b76a; }
.ad-badge.verified { color: #0e8a52; background: #dff7ea; }
.hs-verified-badge { display: inline-flex; align-items: center; margin-left: 8px; padding: 3px 9px; border-radius: 999px; color: #fff; background: #12b76a; font-size: 0.72rem; font-weight: 800; letter-spacing: 0; vertical-align: middle; }
@media (max-width: 600px) {
  .ad-verify-btn { padding: 8px 10px; font-size: 0.74rem; }
}

/* Admin: ready-made message after creating an account */
.ad-share-text { width: 100%; padding: 14px 16px; border: 1px solid #f0d6e8; border-radius: 16px; color: #3d2f55; background: #fff8fc; font: inherit; font-size: 0.88rem; line-height: 1.6; resize: none; }
.ad-share-text:focus { outline: 2px solid #f7b3d8; outline-offset: 1px; }

/* Login: members stay signed in */
.stay-signed { color: #8f7ea3; font-size: 0.8rem; font-weight: 600; }

/* Toasts never block clicks on the buttons underneath them */
.live-toasts { pointer-events: none; }

/* Discover: like/skip right under the photo, and nothing hides behind the floating bottom menu */
.hs-card-actions { position: relative; z-index: 2; margin-top: -40px; padding: 0 22px 6px; }
.hs-card-actions .hs-counter { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 4px 12px rgba(106, 55, 118, 0.12); }
.hs-card-photo { height: clamp(260px, 46vh, 440px); }
.hs-card-overlay { padding-bottom: 46px; }
.home-app-body:not(.ad-body) main { padding-bottom: 120px; }

/* Chat: "… is typing" line above the message box */
.chat-typing-line { padding: 4px 22px 6px; color: #b0569a; font-size: 0.78rem; font-weight: 700; font-style: italic; animation: typingPulse 1.4s ease-in-out infinite; }
.chat-typing-line[hidden] { display: none; }
@keyframes typingPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

/* Admin invite: temporary password row */
.ad-temp-row { display: flex; gap: 8px; }
.ad-temp-row input { flex: 1; min-width: 0; font-family: ui-monospace, Consolas, monospace; letter-spacing: 0.02em; }
.ad-gen-btn { flex: none; padding: 10px 14px; }
.ad-field-hint { color: #9a89ad; font-size: 0.74rem; }

/* "Continue with Google" on login + signup */
.google-signin { display: grid; gap: 14px; margin-bottom: 16px; }
.google-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 54px; padding: 12px 18px; border: 1px solid #e6d8ef; border-radius: 16px; color: #2c1f4a; background: #fff; box-shadow: 0 6px 16px rgba(106, 55, 118, 0.08); font: 700 0.95rem/1.2 Inter, sans-serif; cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.google-btn:hover { border-color: #f3a3cf; box-shadow: 0 10px 22px rgba(106, 55, 118, 0.14); transform: translateY(-1px); }
.google-btn:disabled { opacity: 0.7; cursor: wait; transform: none; }
.google-btn svg { width: 22px; height: 22px; flex: none; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: #9a89ad; font-size: 0.78rem; font-weight: 600; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: #eedfee; }

/* Admin: logins that have not finished their profile yet */
.ad-badge.unfinished { color: #9a5b00; background: #fff1d6; }
