:root {
  --bg: #120a2a;
  --bg-elevated: #1b1139;
  --surface: #221845;
  --surface-soft: #2a1d52;
  --line: rgba(255, 255, 255, .10);
  --ink: #ffffff;
  --muted: #b7a8d4;
  --purple: #8b5cf6;
  --purple-deep: #5b21b6;
  --purple-soft: rgba(139, 92, 246, .18);
  --pink: #ff4fb2;
  --pink-strong: #e0298a;
  --accent: linear-gradient(135deg, #ff58b8, #c026d3 55%, #7c3aed);
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f87171;
  --shadow: 0 18px 40px rgba(0, 0, 0, .35);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, .22);
  --radius: 20px;
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.eyebrow { color: var(--pink); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
i.fa-solid, i.fa-regular { line-height: 1; }

.btn { border: 0; border-radius: 999px; padding: .82rem 1.15rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 44px; transition: transform .18s ease, opacity .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { color: white; background: var(--accent); box-shadow: 0 6px 20px rgba(255, 79, 178, .28); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-secondary { color: white; background: var(--surface-soft); border: 1px solid var(--line); }
.btn-ghost { color: white; background: transparent; border: 1px solid rgba(255,255,255,.28); }
.btn-danger { color: white; background: #b91c1c; }
.btn-sm { min-height: 36px; padding: .55rem .85rem; font-size: .86rem; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: white; display: grid; place-items: center; }

.field { display: grid; gap: .45rem; }
.field label { font-weight: 750; font-size: .9rem; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: .85rem .95rem; background: var(--bg-elevated); color: var(--ink); outline: none; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 79, 178, .18); }
.field input::placeholder, .field textarea::placeholder { color: #7d6f99; }
.form-grid { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.checkbox-row { display: flex; gap: .65rem; flex-wrap: wrap; }
.check-chip input { position: absolute; opacity: 0; pointer-events: none; }
.check-chip span { display: inline-flex; padding: .65rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-weight: 700; }
.check-chip input:checked + span { background: white; color: #120a2a; border-color: white; }

.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1.08fr .92fr; background: var(--bg); }
.auth-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #1a0b36, #2d1260); padding: clamp(2rem, 6vw, 5rem); color: white; display: flex; align-items: center; min-height: 100vh; }
.auth-hero-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,10,42,.88) 12%, rgba(18,10,42,.45) 48%, rgba(18,10,42,.12) 100%); }
.auth-hero-photo { background-size: cover; background-position: center right; }
.auth-panel { position: relative; padding: 2rem; display: grid; place-items: center; background: var(--bg); }

.btn-block { width: 100%; }
.onboard-page { min-height: 100vh; background: var(--bg); display: flex; flex-direction: column; padding: 1rem 1.15rem 1.5rem; max-width: 520px; margin: 0 auto; }
.onboard-bg { display: none; }
.onboard-panel { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.onboard-page--welcome .onboard-hero-side {
  display: block;
  padding: 0;
  margin: 0 0 1rem;
  border-radius: 22px;
  overflow: hidden;
  min-height: 220px;
}
.onboard-full-photo {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center right;
}
.onboard-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.brand-logo { height: 28px; width: auto; display: block; object-fit: contain; }
.onboard-brand .brand-logo { height: 32px; }
.topbar-brand .brand-logo { height: 24px; }
.sidebar .brand { display: flex; align-items: center; gap: .55rem; }
.sidebar .brand .brand-logo { height: 30px; }
.brand-admin { font-size: .72rem; color: var(--pink); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.onboard-brand { display: inline-flex; align-items: center; }
.onboard-skip { border: 0; background: transparent; color: var(--muted); font-weight: 700; }
.onboard-progress { display: flex; gap: .4rem; justify-content: center; margin: .4rem 0 1rem; }
.onboard-progress span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.onboard-progress span.active { background: var(--pink); width: 22px; border-radius: 999px; }
.onboard-body { flex: 1; display: flex; flex-direction: column; gap: 1.1rem; }
.onboard-hero-visual { display: grid; place-items: center; padding: 1rem 0 0.5rem; }
.onboard-orbit { position: relative; width: min(280px, 78vw); height: min(280px, 78vw); }
.onboard-circle-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid var(--line); display: block; }
.onboard-float { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--purple); box-shadow: var(--shadow-sm); }
.onboard-float.f1 { top: 8%; left: -4%; }
.onboard-float.f2 { top: -2%; right: 6%; width: 56px; height: 56px; background: linear-gradient(135deg, #ff58b8, #c026d3); color: white; border: 0; }
.onboard-float.f3 { bottom: 18%; right: -6%; }
.onboard-copy { text-align: center; padding: 0 .4rem; }
.onboard-copy h1, .onboard-step-head h1 { font-size: clamp(1.7rem, 5vw, 2.35rem); line-height: 1.15; letter-spacing: -.03em; margin: 0 0 .7rem; }
.onboard-copy h1 span, .onboard-step-head h1 span { color: var(--pink); }
.onboard-copy p, .onboard-step-head p { margin: 0; color: var(--muted); line-height: 1.55; }
.onboard-step-head { text-align: center; }
.onboard-banner { width: 100%; height: 140px; object-fit: cover; object-position: center right; border-radius: 22px; margin-bottom: 1rem; border: 1px solid var(--line); }
.onboard-chips { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; }
.onboard-chip { border: 1px solid var(--line); background: var(--surface); color: #efe8ff; border-radius: 999px; padding: .72rem .95rem; font-weight: 750; display: inline-flex; align-items: center; gap: .45rem; }
.onboard-chip i { color: var(--pink); }
.onboard-chip.active { background: white; color: #120a2a; border-color: white; }
.onboard-chip.active i { color: var(--pink-strong); }
.intent-chips .onboard-chip { min-width: min(100%, 220px); justify-content: flex-start; }
.onboard-actions { margin-top: auto; display: grid; gap: .7rem; padding-top: 1rem; }
.onboard-login-link { text-align: center; color: var(--muted); margin: 0; }
.onboard-login-link button { border: 0; background: transparent; color: var(--pink); font-weight: 800; }
.onboard-form { text-align: left; }

.city-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
  color: #efe8ff;
  font-weight: 800;
  font-size: .82rem;
  margin-bottom: .85rem;
}
.city-badge i { color: var(--pink); }
.city-badge--onboard { align-self: center; }
.city-badge--hero { margin-bottom: 1rem; }

.landing-page {
  position: relative;
  min-height: 100vh;
  color: white;
  overflow-x: hidden;
  background: transparent;
}

.landing-nav,
.landing-hero-banner,
.landing-social,
.landing-cities {
  position: relative;
  z-index: 1;
}

html.landing-active,
html.landing-active body {
  background:
    radial-gradient(ellipse 95% 75% at 72% 42%, rgba(168, 85, 247, 0.55) 0%, rgba(124, 58, 237, 0.22) 34%, transparent 68%),
    radial-gradient(ellipse 60% 50% at 12% 8%, rgba(236, 72, 153, 0.2) 0%, transparent 62%),
    radial-gradient(ellipse 130% 90% at 50% 105%, rgba(109, 40, 217, 0.4) 0%, transparent 58%),
    linear-gradient(155deg, #23124f 0%, #18103a 42%, #0d0618 100%);
}

.landing-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 95% 75% at 72% 42%, rgba(168, 85, 247, 0.55) 0%, rgba(124, 58, 237, 0.22) 34%, transparent 68%),
    radial-gradient(ellipse 60% 50% at 12% 8%, rgba(236, 72, 153, 0.2) 0%, transparent 62%),
    radial-gradient(ellipse 130% 90% at 50% 105%, rgba(109, 40, 217, 0.4) 0%, transparent 58%),
    linear-gradient(155deg, #23124f 0%, #18103a 42%, #0d0618 100%);
}

.landing-nav {
  position: relative;
  z-index: 30;
  background: transparent;
  border-bottom: 0;
}
.landing-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}
.landing-logo { display: inline-flex; align-items: center; text-decoration: none; }
.landing-logo .brand-logo { height: 34px; }
.landing-menu {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  flex-wrap: wrap;
}
.landing-menu a {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-weight: 650;
  font-size: .92rem;
}
.landing-menu a:hover { color: white; }
.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.landing-link-btn {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .88);
  font-weight: 700;
  padding: .5rem .2rem;
}
.landing-invite-btn {
  padding: .72rem 1.15rem;
  min-height: 42px;
  font-size: .88rem;
  white-space: nowrap;
}

.landing-hero-banner {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 1.25rem 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}
.landing-invite-tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .82rem;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, .45);
  background: rgba(91, 33, 182, .18);
  color: #ddd6fe;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 1.15rem;
}
.landing-invite-tag i { color: #c084fc; font-size: .72rem; }
.landing-hero-copy h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: -.045em;
  margin: 0 0 1rem;
  max-width: 620px;
  font-weight: 800;
}
.landing-hero-copy h1 span {
  background: linear-gradient(90deg, #ff58b8, #c026d3 45%, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.landing-lead {
  color: rgba(255, 255, 255, .78);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 0 1.5rem;
  font-size: clamp(.98rem, 1.5vw, 1.06rem);
}
.landing-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}
.btn-lg {
  padding: .95rem 1.35rem;
  min-height: 50px;
  font-size: .95rem;
}
.landing-play-btn i { color: white; opacity: .92; }

.landing-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 640px;
}
.landing-trust-item {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}
.landing-trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 88, 184, .28), rgba(124, 58, 237, .35));
  border: 1px solid rgba(255, 255, 255, .28);
  display: grid;
  place-items: center;
  color: #fff;
  flex: 0 0 auto;
  box-shadow: 0 0 22px rgba(236, 72, 153, .35), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.landing-trust-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.landing-trust-item strong {
  display: block;
  font-size: .82rem;
  line-height: 1.25;
  margin-bottom: .12rem;
  color: rgba(255, 255, 255, .95);
}
.landing-trust-item span {
  display: block;
  color: rgba(255, 255, 255, .52);
  font-size: .72rem;
  line-height: 1.35;
}

.landing-hero-phones {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
  padding-right: .5rem;
}
.landing-hero-phones::before {
  content: '';
  position: absolute;
  width: min(520px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 38, 211, .45) 0%, rgba(124, 58, 237, .18) 42%, transparent 70%);
  top: 48%;
  left: 52%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.landing-hero-phones::after {
  content: '';
  position: absolute;
  width: min(460px, 82%);
  aspect-ratio: 1;
  top: 48%;
  left: 52%;
  transform: translate(-50%, -50%) rotate(-22deg);
  border: 2px solid rgba(236, 72, 153, .45);
  border-radius: 50%;
  border-top-color: transparent;
  border-left-color: rgba(168, 85, 247, .2);
  box-shadow: 0 0 36px rgba(192, 38, 211, .22);
  pointer-events: none;
  z-index: 0;
}
.landing-hero-phones img {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  max-width: none;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, .4));
}

.landing-social {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2.5rem;
  text-align: center;
}
.landing-social > p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, .58);
  font-size: .88rem;
}
.landing-city-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
}
.landing-city-pill {
  display: inline-flex;
  align-items: center;
  padding: .58rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  font-weight: 700;
  font-size: .86rem;
}
.landing-city-pill.is-active {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .22);
  color: white;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.landing-city-pill-more { color: rgba(255, 255, 255, .55); }

.landing-cities {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  scroll-margin-top: 2rem;
}
.landing-cities-head h2 {
  margin: 0 0 .35rem;
  letter-spacing: -.03em;
}
.landing-cities-head p { margin: 0 0 1.2rem; }
.landing-city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .85rem;
}
.landing-province-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.landing-province-entry {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: rgba(255, 255, 255, .55) !important;
  font-size: .74rem !important;
}
.landing-province-entry i { color: var(--pink); font-size: .68rem; }
@media (max-width: 1100px) {
  .landing-province-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .landing-province-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.landing-city-card {
  display: grid;
  gap: .25rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: white;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease;
}
.landing-city-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .22);
}
.landing-city-card i { color: var(--pink); }
.landing-city-card span { font-weight: 800; font-size: 1.05rem; }
.landing-city-card small { color: var(--muted); font-size: .78rem; }
.landing-city-status {
  font-style: normal;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-top: .15rem;
}
.landing-city-card.is-live .landing-city-status { color: #86efac; }
.landing-city-card.is-soon { opacity: .88; }
.landing-city-card.is-soon .landing-city-status { color: #fbbf24; }

.coming-soon-page {
  min-height: 100vh;
  background: var(--bg);
  color: white;
  padding: 1rem clamp(1rem, 4vw, 3rem) 3rem;
  max-width: 760px;
  margin: 0 auto;
}
.coming-soon-card {
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}
.coming-soon-card h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  margin: 0 0 .85rem;
}
.coming-soon-card p {
  line-height: 1.65;
  margin: 0 auto 1.4rem;
  max-width: 520px;
}
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, .12);
  border: 1px solid rgba(251, 191, 36, .35);
  color: #fcd34d;
  font-weight: 800;
  font-size: .82rem;
  margin-bottom: 1rem;
}
.coming-soon-actions {
  display: grid;
  gap: .75rem;
  max-width: 360px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .landing-nav-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
  .landing-menu { display: none; }
  .landing-hero-banner {
    grid-template-columns: 1fr;
  }
  .landing-hero-phones {
    min-height: 280px;
  }
  .landing-trust {
    grid-template-columns: 1fr;
    gap: .85rem;
  }
}

@media (max-width: 640px) {
  .landing-nav-actions .landing-invite-btn { display: none; }
  .landing-hero-ctas { flex-direction: column; }
  .landing-hero-ctas .btn { width: 100%; }
}

@media (max-width: 899px) {
  .city-badge--onboard { align-self: flex-start; }
}

@media (min-width: 900px) {
  .onboard-page--welcome {
    max-width: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr);
    grid-template-rows: auto 1fr;
    min-height: 100vh;
    background: var(--bg);
  }

  .onboard-page--welcome .onboard-top {
    grid-column: 2;
    grid-row: 1;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3.5rem) 0;
    margin-bottom: 0;
  }

  .onboard-page--welcome .onboard-hero-side {
    grid-column: 1;
    grid-row: 1 / -1;
    display: block;
    padding: 0;
    margin: 0;
    min-height: 100vh;
    border-radius: 0;
    overflow: hidden;
  }

  .onboard-page--welcome .onboard-full-photo {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
    object-position: center right;
  }

  .onboard-page--welcome .onboard-panel {
    grid-column: 2;
    grid-row: 2;
    padding: 0 clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
    justify-content: center;
  }

  .onboard-page--welcome .onboard-copy {
    text-align: left;
  }

  .onboard-page--welcome .onboard-copy h1 {
    font-size: clamp(2rem, 3.2vw, 3rem);
  }

  .onboard-page--welcome .onboard-actions {
    max-width: 420px;
  }

  .onboard-page--steps {
    max-width: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr);
    background: var(--bg);
  }

  .onboard-page--steps .onboard-bg {
    display: block;
    position: relative;
    min-height: 100vh;
    background-image: var(--onboard-photo);
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
  }

  .onboard-page--steps .onboard-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 10, 42, .08) 0%, rgba(18, 10, 42, .62) 100%);
  }

  .onboard-page--steps .onboard-panel {
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3.5rem);
    min-height: 100vh;
    overflow-y: auto;
    position: relative;
    z-index: 1;
    max-width: 640px;
  }

  .onboard-page--steps .onboard-banner { display: none; }

  .onboard-page--steps .onboard-copy,
  .onboard-page--steps .onboard-step-head { text-align: left; }

  .onboard-page--steps .onboard-chips { justify-content: flex-start; }

  .onboard-page--steps .onboard-progress { justify-content: flex-start; }

  .onboard-page--steps .onboard-actions { max-width: 420px; }

  .onboard-page--steps .intent-chips .onboard-chip { min-width: min(100%, 260px); }
}
.auth-copy { position: relative; z-index: 1; width: min(620px, 100%); }
.auth-logo { width: min(480px, 90%); border-radius: 28px; margin-left: -2rem; }
.auth-copy h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: .98; margin: 1rem 0 1.25rem; letter-spacing: -.04em; }
.auth-copy h1 span { color: var(--pink); }
.auth-copy p { font-size: 1.08rem; line-height: 1.7; color: var(--muted); max-width: 560px; }
.auth-badges { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.auth-badge { border: 1px solid var(--line); background: rgba(255,255,255,.06); padding: .68rem .9rem; border-radius: 999px; font-weight: 750; display: inline-flex; align-items: center; gap: .5rem; }
.auth-panel { position: relative; padding: 2rem; display: grid; place-items: center; background: var(--bg); }
.auth-skip {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  z-index: 3;
}
.auth-page--welcome .auth-card p.muted {
  margin: .35rem 0 0;
  line-height: 1.55;
}
.auth-card { width: min(520px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); padding: clamp(1.3rem, 4vw, 2.5rem); }
.auth-card h2 { margin: .25rem 0 .4rem; font-size: 2rem; letter-spacing: -.03em; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-elevated); padding: .3rem; border-radius: 999px; margin: 1.4rem 0; }
.auth-tab { border: 0; border-radius: 999px; padding: .72rem; background: transparent; color: var(--muted); font-weight: 800; }
.auth-tab.active { background: white; color: #120a2a; }
.demo-box { margin-top: 1.1rem; background: var(--bg-elevated); border: 1px solid var(--line); border-radius: 16px; padding: .9rem; font-size: .86rem; color: var(--muted); }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 260px minmax(0, 1fr); background: var(--bg); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 1.25rem 1rem; background: var(--bg-elevated); border-right: 1px solid var(--line); color: white; display: flex; flex-direction: column; z-index: 20; }
.brand { display: flex; align-items: center; gap: .75rem; padding: .6rem .7rem 1.4rem; }
.brand-icon { width: 46px; height: 46px; border-radius: 15px; object-fit: cover; }
.brand strong { font-size: 1.55rem; letter-spacing: -.04em; }
.invite-pill { margin: 0 .4rem 1.1rem; padding: .68rem .8rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: .82rem; color: var(--muted); display: flex; gap: .65rem; align-items: flex-start; }
.invite-pill i { color: var(--pink); margin-top: .15rem; }
.nav { display: grid; gap: .35rem; }
.nav button { width: 100%; border: 0; background: transparent; color: var(--muted); border-radius: 14px; padding: .82rem .9rem; display: flex; align-items: center; gap: .8rem; font-weight: 750; text-align: left; }
.nav button:hover, .nav button.active { background: var(--surface); color: white; }
.nav .nav-icon { width: 1.5rem; text-align: center; color: inherit; }
.sidebar-footer { margin-top: auto; display: grid; gap: .8rem; }
.user-mini { display: flex; align-items: center; gap: .7rem; padding: .75rem; border-radius: 16px; background: var(--surface); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: white; font-weight: 900; flex: 0 0 auto; box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); }
.user-mini small { display: block; color: var(--muted); }

.main { min-width: 0; background: var(--bg); }
.topbar { height: 82px; position: sticky; top: 0; z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 clamp(1rem, 3vw, 2.2rem); background: rgba(18, 10, 42, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.topbar h1 { margin: 0; font-size: 1.5rem; letter-spacing: -.03em; }
.top-actions { display: flex; align-items: center; gap: .7rem; }
.city-pill { display: inline-flex; align-items: center; gap: .45rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .62rem .85rem; font-weight: 750; }
.content { width: min(1320px, 100%); margin: 0 auto; padding: clamp(1rem, 3vw, 2.3rem); padding-bottom: 110px; }

.membership-banner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; margin-bottom: 1.25rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.membership-banner strong { display: block; }
.membership-banner.expired { background: #3b1220; border-color: rgba(248, 113, 113, .35); }
.paywall { text-align: center; padding: 3rem 1.2rem; background: var(--surface); border-radius: 28px; border: 1px solid var(--line); }
.paywall .price { font-size: 3rem; font-weight: 950; color: white; letter-spacing: -.055em; }

.hero-card { padding: clamp(1.25rem, 3vw, 2rem); border-radius: 24px; color: white; background: linear-gradient(135deg, #3b0a78, #6d28d9); border: 1px solid rgba(255,255,255,.08); overflow: hidden; position: relative; }
.hero-card h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin: .2rem 0 .7rem; letter-spacing: -.04em; max-width: 720px; display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.hero-card h2 i { font-size: .72em; color: #ffb4e0; }
.hero-card p { color: #e8dbff; max-width: 720px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.hero-card .chip { background: white; color: #1f1830; border-color: transparent; }
.hero-card .chip i { color: var(--pink-strong); }
.searchbar { margin-top: 1.3rem; display: flex; align-items: center; gap: .75rem; background: var(--surface); border: 1px solid var(--line); padding: .85rem 1rem; border-radius: 999px; max-width: 650px; }
.searchbar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: white; }
.searchbar input::placeholder { color: var(--muted); }

.section { margin-top: 1.6rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.section-head h2, .section-head h3 { margin: 0; letter-spacing: -.03em; }
.grid { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.card-hover { transition: transform .18s ease, border-color .18s ease; }
.card-hover:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.2); box-shadow: var(--shadow); }

.interest-cloud { display: flex; flex-wrap: wrap; gap: .65rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .57rem .75rem; border-radius: 999px; background: var(--surface-soft); border: 1px solid var(--line); color: #efe8ff; font-size: .84rem; font-weight: 750; }
.chip i { color: var(--pink); }
.chip.highlight { color: #120a2a; background: white; border-color: white; }
.chip.pink { color: white; background: rgba(255, 79, 178, .18); border-color: rgba(255, 79, 178, .35); }
.nav button.active .nav-icon { color: var(--pink); }
.city-pill i { color: var(--pink); }
.profile-summary p i { color: var(--pink); }

.person-card { display: flex; flex-direction: column; gap: .9rem; min-height: 240px; }
.person-top { display: flex; align-items: center; gap: .85rem; }
.person-top .avatar { width: 58px; height: 58px; font-size: 1.15rem; }
.person-card h3 { margin: 0; }
.person-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.person-card .actions { margin-top: auto; display: flex; gap: .6rem; flex-wrap: wrap; }
.match-score { margin-left: auto; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--bg-elevated); color: white; font-size: .75rem; font-weight: 900; text-align: center; border: 1px solid var(--line); }

.post-card { display: grid; gap: .85rem; }
.post-meta { display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.post-author { display: flex; align-items: center; gap: .6rem; }
.post-author .avatar { width: 38px; height: 38px; font-size: .82rem; }
.post-card h3 { margin: 0; font-size: 1.14rem; }
.post-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.post-actions { display: flex; justify-content: space-between; align-items: center; gap: .7rem; flex-wrap: wrap; }

.toolbar { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: 1rem; }
.toolbar select, .toolbar input { border: 1px solid var(--line); border-radius: 999px; background: var(--surface); padding: .72rem .9rem; color: white; }
.toolbar .grow { flex: 1; min-width: 200px; }

.messages-layout { display: grid; grid-template-columns: 360px minmax(0,1fr); min-height: 650px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.conversation-list { border-right: 1px solid var(--line); background: var(--bg-elevated); }
.conversation-list header, .chat header { padding: 1rem; border-bottom: 1px solid var(--line); }
.conversation-item { width: 100%; border: 0; background: transparent; display: flex; gap: .8rem; padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--line); color: white; }
.conversation-item:hover, .conversation-item.active { background: var(--surface); }
.conversation-item strong { display: block; }
.conversation-item span { display: block; color: var(--muted); font-size: .84rem; margin-top: .2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.chat { min-width: 0; display: grid; grid-template-rows: auto 1fr auto; background: var(--bg); }
.chat-messages { padding: 1rem; overflow-y: auto; max-height: 520px; display: flex; flex-direction: column; gap: .65rem; background: var(--bg); }
.bubble { max-width: min(78%, 560px); border-radius: 18px 18px 18px 5px; padding: .72rem .9rem; background: var(--surface); align-self: flex-start; line-height: 1.45; }
.bubble.mine { align-self: flex-end; color: white; background: var(--accent); border-radius: 18px 18px 5px 18px; }
.bubble small { display: block; margin-top: .28rem; opacity: .7; font-size: .7rem; }
.chat-compose { display: flex; gap: .7rem; padding: 1rem; border-top: 1px solid var(--line); background: var(--bg-elevated); }
.chat-compose input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: .8rem 1rem; outline: none; background: var(--surface); }
.empty-state { min-height: 320px; display: grid; place-items: center; text-align: center; padding: 2rem; color: var(--muted); }
.empty-state i { font-size: 1.8rem; color: var(--pink); margin-bottom: .6rem; }

.profile-grid { display: grid; grid-template-columns: 330px minmax(0,1fr); gap: 1.2rem; align-items: start; }
.profile-summary { position: sticky; top: 102px; text-align: center; }
.profile-summary .avatar { width: 96px; height: 96px; margin: 0 auto 1rem; font-size: 2rem; }
.profile-summary h2 { margin: 0; }
.profile-summary p { color: var(--muted); line-height: 1.55; }

.stats { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 1rem; }
.stat { padding: 1rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-align: left; color: inherit; width: 100%; }
.admin-stats .stat { cursor: pointer; transition: border-color .18s ease, transform .18s ease; }
.admin-stats .stat:hover { border-color: rgba(255,255,255,.25); transform: translateY(-2px); }
.stat strong { display: block; font-size: 1.65rem; color: white; margin: .2rem 0; }
.admin-quick { display: grid; gap: .65rem; margin-top: 1rem; }
.admin-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.toolbar-search { border: 1px solid var(--line); border-radius: 999px; background: var(--surface); padding: .72rem .9rem; color: white; min-width: 220px; }
.admin-shell .bottom-nav { grid-template-columns: repeat(5, 1fr); }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
table { width: 100%; border-collapse: collapse; min-width: 820px; }
th, td { padding: .8rem .9rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .88rem; }
th { color: var(--muted); background: var(--bg-elevated); }
.status { display: inline-flex; align-items: center; gap: .35rem; border-radius: 999px; padding: .4rem .62rem; font-size: .76rem; font-weight: 800; }
.status.active { color: #065f46; background: #a7f3d0; }
.status.trial { color: #5b21b6; background: #ddd6fe; }
.status.inactive, .status.banned { color: #991b1b; background: #fecaca; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(8, 4, 20, .72); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 1rem; }
.modal { width: min(680px, 100%); max-height: 90vh; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 1.2rem; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.modal-head h2 { margin: 0; }
.toast-root { position: fixed; right: 1rem; bottom: 1rem; z-index: 200; display: grid; gap: .65rem; }
.toast { min-width: 260px; max-width: 420px; padding: .9rem 1rem; border-radius: 15px; background: #0b0618; color: white; border: 1px solid var(--line); box-shadow: var(--shadow); animation: toast-in .2s ease; }
.toast.error { background: #7f1d1d; }
.toast.success { background: #065f46; }
@keyframes toast-in { from { transform: translateY(10px); opacity: 0; } }

.bottom-nav { display: none; }
.install-tip { display: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.user-topbar { justify-content: space-between; gap: .6rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.user-topbar .topbar-brand { justify-self: start; }
.user-topbar .city-pill { justify-self: center; }
.user-topbar .notify-btn { justify-self: end; }
.topbar-brand { display: inline-flex; align-items: center; }
.notify-btn { position: relative; background: var(--surface); border-color: var(--line); color: white; }
.notify-badge { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; border-radius: 999px; background: #ef4444; color: white; font-size: .65rem; font-weight: 800; display: grid; place-items: center; padding: 0 4px; }

.home-pills { display: grid; grid-template-columns: auto 1fr; gap: .55rem; margin-bottom: 1rem; }
.home-pill { border: 1px solid var(--line); background: var(--surface); color: white; border-radius: 999px; padding: .62rem .85rem; font-weight: 750; font-size: .78rem; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; white-space: nowrap; }
.home-pill.accent { background: linear-gradient(135deg, rgba(255,79,178,.18), rgba(124,58,237,.2)); border-color: rgba(255,79,178,.35); color: white; justify-content: flex-start; text-align: left; white-space: normal; line-height: 1.25; }
.home-pill.accent i.fa-crown { color: var(--pink); }
.home-pill.danger { background: rgba(248,113,113,.12); border-color: rgba(248,113,113,.35); }
.home-hello h2 { margin: 0 0 .35rem; font-size: 1.55rem; letter-spacing: -.03em; display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; line-height: 1.15; }
.home-hello h2 i { color: #ffb4e0; font-size: .95rem; }
.home-hello p { margin: 0 0 1rem; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.home-search { display: flex; align-items: center; gap: .7rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .9rem 1rem; margin-bottom: .4rem; }
.home-search i { color: var(--muted); font-size: .95rem; }
.home-search input { flex: 1; border: 0; outline: 0; background: transparent; color: white; font-size: .92rem; }
.home-search input::placeholder { color: #7d6f99; }
.home-section { margin-top: 1.35rem; }
.section-head.tight { margin-bottom: .75rem; align-items: center; display: flex; justify-content: space-between; gap: .75rem; }
.section-head.tight h3 { margin: 0; font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }
.text-link { border: 0; background: transparent; color: var(--pink); font-weight: 800; font-size: .82rem; padding: 0; white-space: nowrap; }
.vibe-row { display: flex; gap: .55rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; }
.vibe-row::-webkit-scrollbar { display: none; }
.vibe-chip { flex: 0 0 auto; border: 0; background: white; color: #1f1830; border-radius: 999px; padding: .58rem .82rem; font-weight: 750; font-size: .82rem; display: inline-flex; align-items: center; gap: .42rem; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.vibe-chip i { color: var(--pink-strong); font-size: .88rem; }

.people-rail { display: flex; gap: .75rem; overflow-x: auto; padding-bottom: .35rem; scrollbar-width: none; }
.people-rail::-webkit-scrollbar { display: none; }
.person-rail-card { flex: 0 0 132px; border: 0; background: transparent; text-align: left; padding: 0; color: inherit; cursor: pointer; }
.person-rail-photo { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3/4; background: #2a1d52; }
.person-rail-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person-rail-initials { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2rem; font-weight: 900; color: white; letter-spacing: -.04em; }
.online-dot { position: absolute; top: 10px; right: 10px; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; border: 2px solid rgba(18, 10, 42, .85); z-index: 2; }
.person-rail-overlay { position: absolute; inset: auto 0 0; padding: 2.2rem .65rem .65rem; background: linear-gradient(180deg, rgba(18,10,42,0) 0%, rgba(18,10,42,.55) 38%, rgba(18,10,42,.88) 100%); color: white; text-align: left; }
.person-rail-overlay strong { display: block; font-size: .88rem; font-weight: 800; margin-bottom: .12rem; }
.person-rail-distance { display: flex; align-items: center; gap: .25rem; font-size: .72rem; color: rgba(255,255,255,.88); margin-bottom: .18rem; }
.person-rail-distance i { font-size: .62rem; color: var(--purple); }
.person-rail-interests { display: block; font-size: .68rem; color: rgba(255,255,255,.78); line-height: 1.25; }

.featured-card { display: grid; grid-template-columns: 96px 1fr; gap: .8rem; background: white; color: #1f1830; border-radius: 20px; padding: .8rem; align-items: stretch; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.featured-media { width: 96px; min-height: 96px; border-radius: 16px; overflow: hidden; background: #efe9ff; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 96px; }
.featured-body { display: flex; flex-direction: column; min-width: 0; }
.featured-body strong { display: flex; align-items: center; gap: .35rem; margin-bottom: .35rem; font-size: .95rem; line-height: 1.2; }
.featured-body strong i { color: #7c3aed; font-size: .82rem; }
.featured-meta { margin: 0 0 .18rem; color: #6b6280; font-size: .76rem; display: flex; align-items: center; gap: .35rem; }
.featured-meta .meta-icon { color: var(--pink-strong); font-size: .72rem; width: .85rem; }
.featured-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .45rem; }
.facepile { display: flex; align-items: center; min-width: 0; }
.facepile .avatar, .facepile-avatar, .facepile-photo { width: 26px; height: 26px; font-size: .58rem; border: 2px solid white; margin-left: -7px; box-shadow: none; flex-shrink: 0; border-radius: 50%; overflow: hidden; display: inline-grid; place-items: center; }
.facepile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.facepile .avatar:first-child, .facepile-avatar:first-child, .facepile-photo:first-child { margin-left: 0; }
.facepile-more { margin-left: .35rem; min-width: 26px; height: 26px; border-radius: 50%; background: #efe9ff; color: #6b6280; font-size: .68rem; font-weight: 800; display: grid; place-items: center; border: 2px solid white; flex-shrink: 0; }
.facepile-label { margin-left: .4rem; font-size: .74rem; font-weight: 800; color: #6b6280; white-space: nowrap; }
.featured-go { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #7c3aed; color: white; display: grid; place-items: center; flex-shrink: 0; font-size: .82rem; }

.oproep-list { display: grid; gap: .7rem; }
.oproep-banner { width: 100%; border: 0; display: grid; grid-template-columns: 52px 1fr auto; gap: .75rem; align-items: center; background: white; color: #1f1830; border-radius: 18px; padding: .85rem .9rem; text-align: left; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.oproep-banner-icon { width: 52px; height: 52px; border-radius: 14px; background: #dcfce7; color: #16a34a; display: grid; place-items: center; font-size: 1.15rem; }
.oproep-banner-body strong { display: block; font-size: .9rem; line-height: 1.3; margin-bottom: .35rem; }
.oproep-banner-meta { display: flex; flex-wrap: wrap; gap: .65rem; color: #8a829c; font-size: .74rem; font-weight: 650; }
.oproep-banner-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.oproep-banner-meta i { color: #a8a0b8; font-size: .72rem; }
.oproep-banner-chevron { color: #c4bdd4; font-size: .85rem; padding-right: .15rem; }

.cat-chips { justify-content: flex-start; }
.cat-chip { cursor: pointer; position: relative; }
.cat-chip input { position: absolute; opacity: 0; pointer-events: none; }
.cat-chip:has(input:checked) { background: white; color: #120a2a; border-color: white; }
.doel-row { display: grid; grid-template-columns: 1fr; gap: .55rem; }
.doel-chip { cursor: pointer; position: relative; }
.doel-chip input { position: absolute; opacity: 0; pointer-events: none; }
.doel-chip span { display: flex; align-items: center; gap: .55rem; padding: .85rem 1rem; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-elevated); font-weight: 750; }
.doel-chip input:checked + span { background: white; color: #120a2a; border-color: white; }
.doel-chip i { color: var(--pink); }

.nav-create { display: grid; place-items: center; align-self: stretch; position: relative; }
.nav-create-btn { width: 56px; height: 56px; margin-top: -26px; border-radius: 50%; background: #7c3aed; color: white; display: grid; place-items: center; font-size: 1.35rem; box-shadow: 0 8px 20px rgba(124, 58, 237, .35); }
.nav-icon-badge { position: relative; display: inline-grid; place-items: center; }
.nav-badge { position: absolute; top: -6px; right: -10px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #ff4fb2; color: white; font-size: .62rem; font-weight: 800; display: grid; place-items: center; line-height: 1; }

.invite-screen { max-width: 560px; margin: 0 auto; }
.invite-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: .75rem; }
.invite-head h2 { margin: .35rem 0 .2rem; font-size: 1.8rem; letter-spacing: -.03em; }
.invite-intro { color: var(--muted); line-height: 1.55; margin: 0 0 1.2rem; }
.invite-block { margin-bottom: 1rem; }
.invite-label { display: flex; justify-content: space-between; font-weight: 750; margin-bottom: .5rem; font-size: .9rem; }
.invite-emails { background: white; color: #1f1830; border-radius: 20px; padding: .9rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.email-chip { display: inline-flex; align-items: center; gap: .4rem; background: #efe8ff; color: #4c1d95; border-radius: 999px; padding: .45rem .7rem; font-weight: 750; font-size: .84rem; }
.email-chip button { border: 0; background: transparent; color: #7c3aed; padding: 0; }
.invite-add-row { width: 100%; display: grid; gap: .45rem; }
.invite-add-row input { width: 100%; border: 1px solid #e7e0f0; border-radius: 12px; padding: .7rem .8rem; background: #faf8ff; color: #1f1830; }
.invite-message { width: 100%; min-height: 110px; border: 0; border-radius: 20px; padding: 1rem; background: white; color: #1f1830; resize: vertical; }
.invite-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: .3rem 0 1.1rem; }
.invite-tag { border: 0; background: white; color: #1f1830; border-radius: 999px; padding: .55rem .8rem; font-weight: 750; display: inline-flex; align-items: center; gap: .4rem; }
.invite-tag i { color: var(--pink); }
.invite-tag.active { outline: 2px solid #c026d3; }
.invite-status { margin-top: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: .9rem 1rem; display: flex; gap: .7rem; align-items: flex-start; color: var(--muted); font-size: .9rem; }
.invite-status i { color: var(--pink); margin-top: .15rem; }
.invite-history { display: grid; gap: .55rem; }
.invite-history-row { display: flex; justify-content: space-between; gap: .7rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .75rem .85rem; }

@media (max-width: 1100px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .profile-grid { grid-template-columns: 270px minmax(0,1fr); }
}
@media (max-width: 820px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-hero { min-height: 44vh; padding: 2rem; }
  .auth-copy h1 { font-size: 3rem; }
  .auth-panel { padding: 1rem; margin-top: -2.5rem; position: relative; z-index: 2; }
  .app-shell { display: block; }
  .sidebar { display: none; }
  .topbar { height: 68px; }
  .content { padding: 1rem; padding-bottom: 95px; }
  .bottom-nav { position: fixed; display: grid; grid-template-columns: 1fr 1fr 64px 1fr 1fr; align-items: end; left: 0; right: 0; bottom: 0; z-index: 30; min-height: 64px; padding: .35rem .2rem calc(.4rem + env(safe-area-inset-bottom)); background: #ffffff; border-top: 1px solid #eee8f6; box-shadow: 0 -4px 20px rgba(18, 10, 42, .06); }
  .bottom-nav button { border: 0; background: transparent; color: #9a91ad; display: grid; justify-items: center; gap: .2rem; font-size: .68rem; font-weight: 700; padding: .25rem 0 .1rem; }
  .bottom-nav button.active { color: #7c3aed; }
  .bottom-nav .nav-icon { font-size: 1.2rem; line-height: 1; }
  .user-topbar { height: 64px; background: rgba(18, 10, 42, .96); }
  .user-content { padding-top: .85rem; padding-bottom: 110px; }
  .nav-create { background: transparent !important; color: inherit !important; padding: 0 !important; }
  .messages-layout { grid-template-columns: 1fr; }
  .conversation-list { border-right: 0; }
  .chat { border-top: 1px solid var(--line); }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-summary { position: static; }
  .install-tip { display: inline-flex; }
}
@media (max-width: 620px) {
  .grid-3, .grid-2, .form-row, .stats { grid-template-columns: 1fr; }
  .topbar h1 { font-size: 1.18rem; }
  .city-pill { font-size: .8rem; }
  .membership-banner { align-items: flex-start; flex-direction: column; }
  .hero-card h2 { font-size: 2rem; }
  .auth-logo { margin-left: -1rem; }
  .messages-layout { min-height: 570px; }
  .conversation-list { max-height: 280px; overflow-y: auto; }
  .chat-messages { max-height: 360px; }
  .modal { padding: 1rem; border-radius: 20px; }
}
