:root {
  --bg: #0B0B10;
  --navy: #1B2845;
  --crimson: #C8102E;
  --gold: #D4AF37;
  --skin: #E8B98C;
  --text: #FFFFFF;
  --bg-soft: #11131A;
  --card: #1A1D27;
  --card-deep: #13151D;
  --card-hi: #232734;
  --gold-soft: #E8C96A;
  --gold-dark: #A8871E;
  --crimson-hot: #FF4D6D;
  --crimson-deep: #8E0B20;
  --slate: #6B7A90;
  --violet: #C8102E;
  --pink: #E8B98C;
  --green: #2BD98F;
  --red: #FF4D6D;
  --muted: #9BA3B4;
  --radius: 18px;
  --radius-lg: 22px;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ease-spring: cubic-bezier(.2, 1.4, .4, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.55);
  --shadow-md: 0 12px 28px rgba(0,0,0,.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
  /* Impede o Safari/iOS de rolar a página inteira pra "trazer o campo à
     vista" quando o teclado abre — isso arrastava header/rodapé junto
     mesmo sendo position:fixed. Cada tela cuida da própria rolagem interna. */
  position: fixed;
  width: 100%;
  overflow: hidden;
}

#app {
  max-width: 480px;
  margin: 0 auto;
  height: 100dvh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(35,39,52,.6), transparent 60%),
    var(--bg);
}

.hidden { display: none !important; }
.muted { color: var(--muted); }
.tiny { font-size: 12px; }
.error { color: var(--crimson-hot); font-size: 14px; margin: 8px 0; }

/* Header global — minimalista, marca à esquerda */
.app-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(11,11,16,.92), rgba(11,11,16,.4) 80%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  z-index: 45;
  padding: env(safe-area-inset-top) 16px 0;
  pointer-events: none;
}
.app-header .brand { display: flex; align-items: center; gap: 9px; pointer-events: auto; }
.app-header .logo-mark.small {
  width: 27px; height: 27px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0B0B10; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  -webkit-background-clip: unset; background-clip: unset; filter: none;
}
.app-header .brand-name {
  font-family: var(--font-display); font-style: normal; font-weight: 700;
  font-size: 19px; letter-spacing: .2px; color: #fff;
  background: none; -webkit-background-clip: unset; background-clip: unset;
}

/* Screens */
.screen {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column;
  padding: env(safe-area-inset-top) 20px env(safe-area-inset-bottom);
}
.screen.active { display: flex; animation: screenIn .34s var(--ease-out); }
.screen.with-nav { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
.screen.with-header { padding-top: calc(36px + env(safe-area-inset-top)); }
.screen.no-pad { padding-left: 0; padding-right: 0; }
#screen-redirect { z-index: 55; padding-top: env(safe-area-inset-top); }

@keyframes screenIn { from { opacity: 0; transform: translateY(14px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Splash */
.splash {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 12px;
}
.logo-mark {
  width: 76px; height: 76px; border-radius: 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0B0B10; font-size: 38px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  -webkit-background-clip: unset; background-clip: unset;
  box-shadow: 0 18px 44px rgba(212,175,55,.28);
}
.brand { font-size: 38px; font-family: var(--font-display); font-style: italic; }
.tagline { color: var(--muted); font-size: 15px; }
.redirect-box { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.spinner {
  width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid rgba(212,175,55,.18);
  border-top-color: var(--gold);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.redirect-sub { font-size: 13px; color: var(--muted); max-width: 280px; }

/* Buttons */
.btn {
  width: 100%; padding: 16px 20px; border: 0; border-radius: 16px;
  font-size: 16px; font-weight: 700; cursor: pointer;
  transition: transform .12s ease, filter .15s ease;
}
.btn:active { transform: scale(.98); filter: brightness(.95); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0B0B10;
  box-shadow: 0 10px 26px rgba(212,175,55,.3);
}
.btn-ghost { background: transparent; color: var(--muted); }
.btn-outline {
  background: transparent; color: var(--gold-soft);
  border: 1px solid rgba(212,175,55,.45);
}

/* Prompt de localização */
.modal-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(8,8,12,.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fadeIn .25s ease;
}
.location-card {
  width: 100%; max-width: 340px;
  background: linear-gradient(180deg, var(--card-hi), var(--card-deep));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px; padding: 30px 24px 24px;
  text-align: center; display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: popIn .3s var(--ease-spring);
}
.location-icon {
  width: 64px; height: 64px; margin: 0 auto 4px; border-radius: 50%;
  background: rgba(212,175,55,.14); border: 1px solid rgba(212,175,55,.3);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.location-card h3 { font-family: var(--font-display); font-size: 24px; }
.location-card p { font-size: 14.5px; line-height: 1.5; }

/* Tutorial */
.tutorial-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(8,8,12,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.tutorial-card {
  width: 100%; max-width: 360px;
  text-align: center; display: flex; flex-direction: column; gap: 18px;
  animation: popIn .35s var(--ease-spring);
}
.tutorial-steps { position: relative; min-height: 230px; }
.tutorial-step {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.tutorial-step.active { opacity: 1; pointer-events: auto; }
.tutorial-icon {
  width: 84px; height: 84px; border-radius: 28px;
  background: linear-gradient(135deg, var(--card-hi), var(--card-deep));
  border: 1px solid rgba(212,175,55,.3);
  color: var(--gold); font-size: 38px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px rgba(0,0,0,.4);
}
.tutorial-card h2 { font-family: var(--font-display); font-size: 25px; }
.tutorial-card p { font-size: 15px; }
.tutorial-dots { display: flex; justify-content: center; gap: 8px; }
.tutorial-dots .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.18); transition: background .2s; }
.tutorial-dots .dot.active { background: var(--gold); }

/* Signup modal */
.signup-modal-overlay {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(0,0,0,.7); backdrop-filter: blur(6px);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fadeIn .2s ease;
}
.signup-modal-overlay.hidden { display: none; }
.signup-modal {
  background: linear-gradient(180deg, var(--card-deep), var(--bg-soft) 45%);
  border-radius: 28px 28px 0 0;
  border-top: 1px solid rgba(212,175,55,.3);
  width: 100%; max-width: 480px;
  max-height: 92dvh; overflow-y: auto;
  padding: 26px 22px calc(28px + env(safe-area-inset-bottom));
  position: relative;
  animation: slideUp .38s var(--ease-out);
  box-shadow: 0 -20px 60px rgba(0,0,0,.6);
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }
.signup-step { display: flex; flex-direction: column; animation: stepIn .3s var(--ease-out); }
.signup-step.hidden { display: none; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.signup-close-btn {
  position: absolute; top: 16px; right: 18px;
  background: rgba(255,255,255,.08); border: none; color: var(--muted);
  border-radius: 50%; width: 32px; height: 32px; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 5;
}
.signup-back-btn {
  background: none; border: none; color: var(--gold-soft);
  font-size: 14px; cursor: pointer; padding: 0; margin-bottom: 14px;
  text-align: left; font-weight: 600; align-self: flex-start;
}
.signup-back-btn.is-disabled, .signup-close-btn.is-disabled {
  opacity: .3; pointer-events: none;
}
.signup-header-icon {
  display: flex; justify-content: center; margin-bottom: 10px;
  color: var(--gold);
  filter: drop-shadow(0 0 14px rgba(212,175,55,.55));
}
.signup-modal h3 { font-size: 26px; font-weight: 700; margin: 0 0 6px; text-align: center; font-family: var(--font-display); font-style: italic; }

.source-options { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.source-card {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(180deg, var(--card), var(--card-deep));
  border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 16px;
  cursor: pointer; color: var(--text); text-align: left;
  transition: transform .16s var(--ease-spring), border-color .2s, box-shadow .3s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.source-card:active { transform: scale(.98); }
.source-card.ig .source-icon {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff;
}
.source-icon {
  flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0A0A0F;
  box-shadow: 0 6px 16px rgba(212,175,55,.35);
}
.source-icon.camera { background: linear-gradient(135deg, var(--crimson-hot), var(--crimson-deep)); color: #fff; }
.source-icon.upload { background: linear-gradient(135deg, var(--card-hi), var(--navy)); color: var(--gold); }
.source-text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.source-text strong { font-size: 15.5px; }
.source-text span { font-size: 12.5px; color: var(--muted); }
.source-arrow { color: var(--slate); font-size: 22px; }

.ig-input-wrap {
  display: flex; align-items: center;
  background: var(--card-deep); border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 4px 4px 4px 16px; margin-top: 16px;
}
.ig-input-prefix { color: var(--gold-soft); font-size: 18px; font-weight: 600; margin-right: 4px; }
.ig-handle-input {
  flex: 1; background: transparent; border: none;
  padding: 14px 12px; color: var(--text); font-size: 17px; outline: none;
}
.ig-loading { text-align: center; padding: 24px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ig-user-strip {
  display: flex; align-items: center; gap: 12px;
  background: var(--card-deep); border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; padding: 12px 14px; margin: 8px 0 6px;
}
.ig-user-strip strong { font-size: 15px; }
.ig-avatar-lg { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }

.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 6px; }
.pick-tile { position: relative; padding: 0; border: 0; cursor: pointer; background: var(--card); border-radius: 14px; overflow: hidden; aspect-ratio: 3/4; }
.pick-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick-check {
  position: absolute; top: 8px; right: 8px;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(10,10,15,.65); backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center; color: transparent;
}
.pick-num { position: absolute; bottom: 8px; left: 8px; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; background: var(--gold); color: #0A0A0F; font-weight: 800; font-size: 13px; display: none; align-items: center; justify-content: center; }
.pick-tile.picked { outline: 3px solid var(--gold); outline-offset: -3px; }
.pick-tile.picked .pick-check { background: var(--gold); color: #0A0A0F; border-color: var(--gold); }
.pick-tile.picked .pick-num { display: flex; }

.camera-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 14px; min-height: 30px; }
.camera-preview-grid:empty { display: none; }
.cam-tile { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3/4; background: var(--card); }
.cam-tile img { width: 100%; height: 100%; object-fit: cover; }
.cam-remove { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: rgba(10,10,15,.75); color: #fff; border: 0; font-size: 12px; cursor: pointer; }
.cam-main { position: absolute; bottom: 6px; left: 6px; background: var(--gold); color: #0A0A0F; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 4px; text-transform: uppercase; }

/* Form fields */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field span, .field > label { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.field input, .field select, .field textarea, .picker-btn {
  background: var(--card-deep); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 14px 16px; color: var(--text);
  font-size: 16px; font-family: inherit; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus, .picker-btn:focus { border-color: var(--gold); }
.field textarea { resize: none; }
.picker-btn { display: flex; align-items: center; justify-content: space-between; cursor: pointer; text-align: left; }
.picker-arrow { color: var(--muted); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 14px; }
.checkbox input { width: 20px; height: 20px; accent-color: var(--gold); flex-shrink: 0; margin-top: 1px; }

/* Wheel picker */
.picker-overlay { position: fixed; inset: 0; z-index: 110; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; }
.picker-overlay.hidden { display: none; }
.picker-sheet {
  width: 100%; max-width: 480px;
  background: linear-gradient(180deg, var(--card-deep), var(--bg-soft));
  border-radius: 22px 22px 0 0; border-top: 1px solid rgba(212,175,55,.3);
  padding: 6px 0 calc(14px + env(safe-area-inset-bottom));
  box-shadow: 0 -18px 50px rgba(0,0,0,.65);
  animation: slideUp .32s var(--ease-out);
}
.picker-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid rgba(255,255,255,.06); }
.picker-header strong { font-family: var(--font-display); font-size: 16px; font-style: italic; }
.picker-cancel, .picker-confirm { background: none; border: 0; font-size: 15px; cursor: pointer; padding: 6px 10px; font-weight: 600; }
.picker-cancel { color: var(--muted); }
.picker-confirm { color: var(--gold); }
.picker-wheel-wrap { position: relative; height: 220px; overflow: hidden; padding: 0 22px; }
.picker-indicator { position: absolute; left: 22px; right: 22px; top: 50%; height: 44px; transform: translateY(-50%); border-top: 1px solid rgba(212,175,55,.4); border-bottom: 1px solid rgba(212,175,55,.4); pointer-events: none; border-radius: 8px; }
.picker-wheel { height: 100%; overflow-y: scroll; scroll-snap-type: y mandatory; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; }
.picker-wheel::-webkit-scrollbar { display: none; }
.picker-spacer { height: 88px; scroll-snap-align: none; }
.picker-item { height: 44px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--text); scroll-snap-align: center; font-family: var(--font-display); }
.picker-item.picked { color: var(--gold); font-weight: 700; }

/* Feed */
.card-stack { flex: 1; position: relative; perspective: 1200px; margin: 0 0 4px; }
.swipe-card {
  position: absolute; inset: 0;
  border-radius: 24px; overflow: hidden;
  background: var(--card-deep);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 20px 48px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.3);
  transform-style: preserve-3d;
  will-change: transform;
  touch-action: none;
  user-select: none;
}
.swipe-card.behind-1 { transform: translateY(10px) scale(.965); filter: brightness(.78); }
.swipe-card.behind-2 { transform: translateY(20px) scale(.93); filter: brightness(.6); }
.card-photo { position: absolute; inset: 0; background-size: cover; background-position: center top; }
.card-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,12,.97) 0%, rgba(8,8,12,.62) 26%, transparent 55%); }
.photo-dots { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; gap: 5px; z-index: 3; }
.photo-dot { flex: 1; height: 3.5px; border-radius: 3px; background: rgba(255,255,255,.28); }
.photo-dot.on { background: #fff; }
.stamp {
  position: absolute; top: 32px; font-size: 24px; font-weight: 800;
  padding: 7px 14px; border: 3px solid; border-radius: 10px; opacity: 0;
  letter-spacing: 3px; pointer-events: none;
  background: rgba(8,8,12,.35); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.stamp.like { left: 20px; color: var(--green); border-color: var(--green); transform: rotate(-14deg); }
.stamp.nope { right: 20px; color: var(--red); border-color: var(--red); transform: rotate(14deg); }
.stamp.super-stamp { left: 50%; top: 44%; color: #4DA3FF; border-color: #4DA3FF; transform: translateX(-50%) rotate(-8deg); }
.card-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 20px 20px; }
.card-name { font-size: 29px; font-weight: 700; letter-spacing: -.4px; display: flex; align-items: baseline; gap: 9px; }
.card-name .age { font-weight: 400; font-size: 25px; opacity: .9; }
.card-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 8px; }
.chip {
  background: rgba(255,255,255,.13); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.chip-dist { background: rgba(212,175,55,.2); color: var(--gold-soft); border-color: rgba(212,175,55,.25); }
.chip-dist::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.card-bio { font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.88); margin-top: 6px; }
.card-verse { font-size: 12.5px; color: var(--gold-soft); opacity: .9; font-style: italic; margin-top: 10px; }

.action-bar { display: flex; justify-content: center; align-items: flex-start; gap: 22px; padding: 4px 0 0; }
.action-btn-wrap { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.action-btn-label {
  font-size: 11.5px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
  height: 14px;
}
.action-btn-label.label-pass { color: var(--red); }
.action-btn-label.label-like { color: #2BD98F; }
.action-btn {
  border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,.09);
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  transition: transform .12s ease, box-shadow .2s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,.45);
}
.action-btn:active { transform: scale(.88); }
.action-btn.dislike { width: 58px; height: 58px; color: var(--red); }
.action-btn.super { width: 48px; height: 48px; color: #4DA3FF; margin-top: 5px; }
.action-btn.like {
  width: 66px; height: 66px; border: none;
  background: linear-gradient(135deg, #3ADF9F, #14B87A);
  color: #05281A;
  box-shadow: 0 12px 30px rgba(20,184,122,.38);
}

/* Coach-mark: aponta pra aba Descobrir */
.coach-overlay { position: fixed; inset: 0; z-index: 92; pointer-events: none; }
.coach-overlay.hidden { display: none; }
.coach-spotlight {
  position: absolute; left: var(--cx, 50%); top: var(--cy, 92%);
  width: 60px; height: 60px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  box-shadow: 0 0 0 9999px rgba(4,4,8,.86);
}
.coach-ring {
  position: absolute; left: var(--cx, 50%); top: var(--cy, 92%);
  width: 60px; height: 60px; border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  border: 2px solid rgba(212,175,55,.6);
  opacity: 0;
  animation: coachRipple 2s ease-out infinite;
}
.coach-ring.r2 { animation-delay: .65s; }
.coach-ring.r3 { animation-delay: 1.3s; }
@keyframes coachRipple {
  0% { transform: translate(-50%, -50%) scale(1); opacity: .8; }
  100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; }
}
.coach-hand {
  position: absolute; left: var(--cx, 50%); top: calc(var(--cy, 92%) - 64px);
  transform: translate(-50%, 0);
  font-size: 32px; line-height: 1;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.5));
  animation: coachTap 1.1s ease-in-out infinite;
}
@keyframes coachTap {
  0%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, 22px); }
  60% { transform: translate(-50%, 22px); }
}
.coach-text {
  position: absolute; left: 50%; top: calc(var(--cy, 92%) - 150px);
  transform: translate(-50%, -100%);
  width: min(80%, 320px); text-align: center;
  font-size: 16px; font-weight: 700; line-height: 1.4; color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
}
.coach-text strong { color: var(--gold-soft); }

/* Demo de swipe (mostrado uma vez ao voltar pro Descobrir) */
.swipe-demo-text {
  position: absolute; left: 50%; top: 14%; transform: translateX(-50%);
  z-index: 20; width: min(86%, 320px); text-align: center;
  font-size: 15px; font-weight: 700; line-height: 1.4; color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.7);
  background: rgba(10,10,14,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 12px 16px;
  transition: opacity .4s ease;
}
.swipe-demo-text.hidden { display: none; }
.swipe-demo-text.fade-out { opacity: 0; }
.swipe-demo-text .hl-like { color: #2BD98F; font-weight: 800; }
.swipe-demo-text .hl-pass { color: var(--red); font-weight: 800; }

@keyframes demoWiggle {
  0%, 100% { transform: translate(0, 0) rotateZ(0deg); }
  22% { transform: translate(-46px, 6px) rotateZ(-9deg); }
  50% { transform: translate(0, 0) rotateZ(0deg); }
  72% { transform: translate(46px, 6px) rotateZ(9deg); }
}
.swipe-card.demo-wiggle { animation: demoWiggle 1.8s ease-in-out 2; }

.feed-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 30px; }
.feed-empty .logo-mark { width: 64px; height: 64px; border-radius: 20px; font-size: 30px; }
.feed-empty h3 { font-family: var(--font-display); font-size: 22px; }

/* Match modal */
.match-modal { position: fixed; inset: 0; z-index: 75; background: rgba(8,8,12,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; }
.match-modal.match-reveal { animation: matchReveal .55s var(--ease-out) forwards; }
.match-modal.match-reveal > * { animation: matchPop .65s var(--ease-spring) .12s both; }
@keyframes matchReveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes matchPop { from { opacity: 0; transform: scale(.88) translateY(18px); } to { opacity: 1; transform: none; } }
.match-content { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; width: 100%; max-width: 330px; }
.match-title {
  font-size: 46px; font-weight: 700; font-style: italic; font-family: var(--font-display);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.match-verse { color: var(--muted); font-style: italic; font-size: 14px; }
.match-photos { display: flex; align-items: center; justify-content: center; margin: 14px 0 4px; }
.match-photos img { width: 122px; height: 122px; border-radius: 50%; object-fit: cover; border: 4px solid var(--gold); box-shadow: 0 14px 34px rgba(0,0,0,.55); }
.match-photos img:first-child { transform: translateX(20px) rotate(-6deg); }
.match-photos img:last-child { transform: translateX(-20px) rotate(6deg); }
.match-heart {
  position: relative; z-index: 2;
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0B0B10; font-size: 23px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(212,175,55,.5);
  animation: matchHeartBeat 1.3s ease-in-out infinite;
}
@keyframes matchHeartBeat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.14); } }
.match-name { font-size: 19px; font-weight: 700; }

/* Matches screen */
.matches-scroll { flex: 1; overflow-y: auto; padding: 14px 16px calc(12px + env(safe-area-inset-bottom)); }
.matches-section { margin-bottom: 26px; }
.matches-section-title { font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.matches-section-sub { font-size: 12.5px; margin-bottom: 14px; }
.new-matches-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.new-match-card {
  position: relative; border: 0; padding: 0; cursor: pointer; text-align: left;
  background: var(--card-deep); border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 8px 20px rgba(0,0,0,.35); transition: transform .15s var(--ease-spring);
}
.new-match-card:active { transform: scale(.97); }
.new-match-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.new-match-info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 12px 12px;
  background: linear-gradient(to top, rgba(4,4,7,.92) 0%, rgba(4,4,7,.75) 45%, transparent 100%);
}
.new-match-info strong {
  font-size: 15.5px; font-weight: 700; display: block; color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.new-match-info p {
  font-size: 12px; color: rgba(255,255,255,.82); margin-top: 2px;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.new-match-hint {
  position: absolute; top: 10px; right: 10px;
  background: var(--green); color: #05281A; font-size: 10.5px; font-weight: 800;
  padding: 4px 9px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(43,217,143,.4);
}
/* Conversas — lista vertical estilo Tinder (foto | nome + preview) */
.conversations-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: visible;
  padding: 0;
}
.conversation-card {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 12px 4px;
  cursor: pointer;
  background: none;
  text-align: left;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.conversation-card:active { background: rgba(255,255,255,.03); }
.conversation-card img {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(212,175,55,.35);
}
.conversation-card .conv-body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 3px;
}
.conversation-card strong {
  display: block; margin: 0;
  font-size: 15px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.conversation-card p {
  margin: 0; font-size: 13px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.empty-mini { padding: 20px 4px; text-align: center; }
.list-loading { display: flex; justify-content: center; padding: 30px; }

/* Chat */
.chat-view { position: fixed; inset: 0; z-index: 78; max-width: 480px; margin: 0 auto; background: var(--bg); display: flex; flex-direction: column; }
.chat-header {
  display: flex; align-items: center; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(17,19,26,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.chat-header .icon-btn { background: transparent; border: none; width: 38px; height: 38px; }
.chat-header img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(212,175,55,.45); }
.chat-header strong { font-size: 16px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 18px 14px; display: flex; flex-direction: column; gap: 6px; }
.bubble {
  max-width: 76%; padding: 11px 15px; border-radius: 20px;
  font-size: 15px; line-height: 1.45;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  animation: bubbleIn .22s var(--ease-out);
}
@keyframes bubbleIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.bubble.me {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0B0B10; font-weight: 500;
  border-bottom-right-radius: 6px;
}
.bubble.them {
  align-self: flex-start;
  background: #1E222D;
  border: 1px solid rgba(255,255,255,.05);
  border-bottom-left-radius: 6px;
}
/* Digitanding… */
.chat-typing {
  display: flex; align-items: center; gap: 5px;
  padding: 4px 18px 10px; min-height: 28px;
}
.chat-typing.hidden { display: none !important; }
.chat-typing-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.45);
  animation: typingBounce 1.2s ease-in-out infinite;
}
.chat-typing-dot:nth-child(2) { animation-delay: .15s; }
.chat-typing-dot:nth-child(3) { animation-delay: .3s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.chat-form {
  display: flex; gap: 8px; align-items: center;
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  background: rgba(17,19,26,.95);
  border-top: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.chat-form input {
  flex: 1; background: var(--card); border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px; padding: 12px 16px; color: var(--text); font-size: 15px; outline: none;
}
.chat-form input:focus { border-color: rgba(212,175,55,.4); }
.icon-btn {
  background: var(--card); border: 1px solid rgba(255,255,255,.08); width: 42px; height: 42px; border-radius: 50%;
  font-size: 18px; cursor: pointer; color: var(--text); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-btn.send { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #0B0B10; border: 0; }

/* Toast + pill */
.toast {
  position: fixed; top: calc(50px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%);
  width: min(92%, 440px); z-index: 85;
  background: linear-gradient(180deg, var(--card-hi), var(--card-deep));
  border: 1px solid rgba(212,175,55,.3); border-radius: 18px; padding: 12px 14px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-md);
  cursor: pointer; animation: toastIn .35s var(--ease-spring);
}
@keyframes toastIn { from { transform: translate(-50%, -120%); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.toast.leaving { transition: transform .3s ease, opacity .3s ease; transform: translate(-50%, -120%); opacity: 0; }
.toast img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.toast-body strong { font-size: 14px; display: block; }
.toast-body p { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.interaction-pill {
  position: absolute; top: calc(48px + env(safe-area-inset-top)); left: 50%;
  z-index: 35; border: 0; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #0B0B10;
  font-weight: 700; font-size: 13.5px; padding: 9px 18px 9px 9px; border-radius: 999px;
  box-shadow: 0 10px 26px rgba(212,175,55,.4), inset 0 1px 0 rgba(255,255,255,.35);
  white-space: nowrap;
  animation: pillIn .4s var(--ease-spring) both, pillPulse 2.2s ease 0.4s infinite;
}
.interaction-pill-icon {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(11,11,16,.16); display: flex; align-items: center; justify-content: center;
}
@keyframes pillIn { from { transform: translateX(-50%) translateY(-140%); opacity: 0; } to { transform: translateX(-50%) translateY(0); opacity: 1; } }
@keyframes pillPulse { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.04); } }

/* Paywall */
.paywall-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(8,8,12,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.paywall-card { position: relative; width: 100%; max-width: 380px; background: linear-gradient(160deg, var(--card-hi), var(--card-deep) 70%); border: 1px solid rgba(212,175,55,.35); border-radius: 24px; padding: 30px 24px 24px; text-align: center; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-lg); animation: popIn .32s var(--ease-spring); max-height: 92dvh; overflow-y: auto; }
.paywall-close { position: absolute; top: 12px; right: 14px; background: rgba(255,255,255,.08); border: 0; color: var(--muted); width: 30px; height: 30px; border-radius: 50%; font-size: 15px; cursor: pointer; }
.paywall-hero { font-size: 48px; }
.paywall-title { font-size: 23px; font-weight: 800; line-height: 1.25; font-family: var(--font-display); }
.paywall-sub { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.paywall-sub strong { color: var(--gold-soft); }
.paywall-bullets { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 8px; margin: 4px 0; }
.paywall-bullets li { font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.paywall-bullets li::before { content: "\2713"; color: var(--green); font-weight: 900; }
.paywall-timer-box { display: flex; align-items: center; justify-content: center; gap: 10px; background: rgba(255,77,109,.1); border: 1px solid rgba(255,77,109,.4); border-radius: 12px; padding: 10px; }
.paywall-timer-box span { font-size: 12.5px; color: #f0a3ad; }
.paywall-timer-box strong { font-size: 20px; color: var(--crimson-hot); }
.btn-paywall-cta { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #0B0B10; font-size: 16.5px; padding: 16px; font-weight: 800; }
.btn-paywall-cta:disabled { opacity: .7; }

/* Install drawer */
.drawer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; max-width: 480px; margin: 0 auto; background: linear-gradient(180deg, var(--card-deep), var(--bg-soft) 60%); border-radius: 24px 24px 0 0; border-top: 1px solid rgba(212,175,55,.25); max-height: 82dvh; display: flex; flex-direction: column; box-shadow: 0 -18px 50px rgba(0,0,0,.6); animation: slideUp .35s var(--ease-out); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
.drawer-header strong { font-family: var(--font-display); font-size: 18px; font-style: italic; }
.install-body { overflow-y: auto; padding: 22px 22px calc(30px + env(safe-area-inset-bottom)); }
.install-hero { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 22px; font-style: italic; margin-bottom: 6px; }
.install-hero-icon { font-size: 26px; background: linear-gradient(135deg, var(--gold), var(--gold-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.install-lead { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin-bottom: 22px; }
.install-steps { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.install-steps li { display: flex; gap: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; padding: 14px 16px; }
.install-steps .step-num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #0A0A0F; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.install-steps strong { font-size: 15px; display: block; margin-bottom: 3px; }
.install-steps p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.ios-share { display: inline-block; width: 22px; height: 22px; border-radius: 5px; background: rgba(10,132,255,.15); color: #0a84ff; font-size: 14px; line-height: 22px; text-align: center; vertical-align: middle; }
.install-tip { margin-top: 20px; padding: 12px 14px; background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.3); border-radius: 12px; font-size: 13.5px; color: var(--gold-soft); }

/* Profile */
.profile-scroll { flex: 1; overflow-y: auto; }
.profile-hero { position: relative; height: 50dvh; min-height: 320px; background-size: cover; background-position: center top; }
.profile-hero-grad { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 2%, rgba(8,8,12,.5) 30%, transparent 62%), linear-gradient(180deg, rgba(8,8,12,.3), transparent 22%); }
.profile-id { position: absolute; left: 0; right: 0; bottom: 14px; padding: 0 22px; }
.profile-id h2 { font-size: 31px; font-weight: 700; letter-spacing: -.4px; text-shadow: 0 2px 14px rgba(0,0,0,.7); }
.profile-ig { color: var(--gold-soft); font-size: 14px; margin-top: 2px; }
.profile-body { padding: 10px 20px 30px; display: flex; flex-direction: column; gap: 14px; }
.profile-stats { display: flex; gap: 10px; }
.pstat { flex: 1; background: var(--card-deep); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; padding: 14px 8px; text-align: center; display: flex; flex-direction: column; gap: 3px; }
.pstat strong { font-size: 23px; font-weight: 700; }
.pstat span { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }
.pstat.gold { border-color: rgba(212,175,55,.35); background: linear-gradient(160deg, rgba(212,175,55,.12), var(--card-deep) 75%); }
.pstat.gold strong { color: var(--gold-soft); }
.profile-card { background: var(--card-deep); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); padding: 16px 18px; }
.profile-card h4 { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 10px; font-weight: 700; }
.profile-card p { font-size: 15px; line-height: 1.55; }
.plan-free { border-left: 3px solid var(--gold); }
.plan-premium { border-left: 3px solid var(--green); }
.profile-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.photo-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; }
.profile-guest { flex: 1; min-height: 70dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 40px 34px; position: relative; }
.profile-guest-glow { position: absolute; top: 20%; left: 50%; transform: translate(-50%, -50%); width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(212,175,55,.16), transparent 70%); pointer-events: none; }
.profile-guest h2 { font-size: 27px; font-family: var(--font-display); }
.btn-install {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, var(--card-hi), var(--card-deep));
  border: 1px solid rgba(212,175,55,.35);
  border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-install:active { transform: scale(.98); }
.install-icon {
  flex-shrink: 0; width: 42px; height: 42px; color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: rgba(212,175,55,.16);
  border: 1px solid rgba(212,175,55,.3);
}
.install-text { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; flex: 1; text-align: left; }
.install-text strong { font-size: 14.5px; color: #fff; }
.install-text small { font-size: 12px; color: var(--muted); }
.install-arrow { font-size: 22px; color: var(--gold-soft); opacity: .8; }

/* Visualizador de fotos (perfil próprio / match) */
.photo-viewer-overlay, .match-profile-overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(4,4,8,.94);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.photo-viewer-overlay.hidden, .match-profile-overlay.hidden { display: none; }
.photo-viewer-overlay img {
  max-width: 100%; max-height: 90dvh; border-radius: 14px; object-fit: contain; cursor: pointer;
}
.photo-viewer-dots {
  position: absolute; top: 24px; left: 20px; right: 20px; display: flex; gap: 5px; z-index: 3;
}
.photo-viewer-dots .photo-dot { flex: 1; height: 3.5px; border-radius: 3px; background: rgba(255,255,255,.28); }
.photo-viewer-dots .photo-dot.on { background: #fff; }
.photo-viewer-close, .match-profile-close {
  position: absolute; top: 18px; right: 18px; z-index: 4;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; border: none;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
}

.match-profile-sheet {
  width: 100%; max-width: 420px; max-height: 90dvh; overflow-y: auto;
  border-radius: 22px; background: var(--card-deep);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.match-profile-photo { position: relative; aspect-ratio: 3/4; }
.match-profile-photo img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; display: block; border-radius: 22px 22px 0 0; }
.match-profile-info { padding: 18px 20px 22px; }

.chat-avatar-tap { cursor: pointer; }
.chat-header-id { cursor: pointer; }

/* Tab bar */
.tab-bar {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 100%; max-width: 480px;
  height: calc(52px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(13,15,20,.96);
  border-top: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; z-index: 50;
}
.tab-bar.hidden { display: none; }
.tab-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: none; border: 0; color: var(--muted); font-size: 11px; font-weight: 500;
  cursor: pointer; transition: color .2s; position: relative;
}
.tab-item svg { width: 26px; height: 26px; }
.tab-item.active { color: var(--gold); }
.tab-item.active::before {
  content: ''; position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--gold);
}
.tab-badge { position: absolute; top: 5px; right: 22px; background: var(--crimson-hot); color: #fff; font-size: 10px; font-weight: 800; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* FAB limpar cache (DEV) */
.fab-cache {
  position: fixed; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 999; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  color: var(--muted); font-size: 18px; cursor: pointer; backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.4); transition: transform .15s ease, background .2s ease;
}
.fab-cache:active { transform: scale(.92); background: rgba(255,255,255,.14); }

/* ============================================================
   PRESELL FUNNEL
   ============================================================ */
#screen-presell { display: none; background: var(--bg); min-height: 100vh; padding: 0; position: relative; }
#screen-presell.active { display: block; }
body:has(#screen-presell.active) { height: auto; overflow-y: auto; position: static; }
html:has(#screen-presell.active) { height: auto; overflow-y: auto; position: static; }
#screen-presell .presell-stage { min-height: 100vh; padding: 28px 20px 48px; display: flex; flex-direction: column; align-items: stretch; animation: psFade .45s var(--ease-out); }
#screen-presell .presell-stage.hidden { display: none; }
#screen-presell .gold { color: var(--gold); }
#screen-presell .muted { color: var(--muted); }
#screen-presell .muted.center, .ps-paywall .center { text-align: center; }
@keyframes psFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* --- CTAs --- */
.ps-cta-primary { width: 100%; padding: 17px 20px; border: none; border-radius: 14px; background: linear-gradient(180deg, #f0d078, var(--gold) 40%, #b8922a); color: #0A0A0F; font-weight: 700; font-size: 15px; letter-spacing: .2px; cursor: pointer; box-shadow: 0 8px 24px rgba(212,175,55,.28), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .15s var(--ease-spring), filter .15s; }
.ps-cta-primary:active { transform: scale(.98); filter: brightness(.96); }
.ps-cta-secondary { width: 100%; padding: 16px 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.06); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; transition: transform .15s var(--ease-spring), background .15s; }
.ps-cta-secondary:active { transform: scale(.98); background: rgba(255,255,255,.1); }
.ps-cta-secondary:active { transform: scale(.97); }
.ps-cta-text { width: 100%; padding: 12px; background: transparent; border: none; color: var(--muted); font-size: 14px; cursor: pointer; }
.ps-cta-text.underline { text-decoration: underline; color: var(--gold); }

/* --- HERO --- */
.ps-hero { max-width: 400px; margin: auto; text-align: center; padding: 48px 0 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.ps-logo { font-size: 52px; background: linear-gradient(135deg, var(--gold-soft), var(--gold) 40%, var(--crimson)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(212,175,55,.45)); }
.ps-title { font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -.5px; line-height: 1.15; }
.ps-sub { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.ps-social-card { width: 100%; background: linear-gradient(180deg, var(--card-hi), var(--card-deep)); border: 1px solid rgba(212,175,55,.22); border-radius: var(--radius-lg); padding: 26px 20px 22px; box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.06); }
.ps-avatars { display: flex; justify-content: center; align-items: center; margin-bottom: 18px; }
.ps-av { width: 46px; height: 46px; border-radius: 50%; margin-left: -12px; background: linear-gradient(135deg, var(--skin), var(--crimson)); background-size: cover; background-position: center; border: 2.5px solid var(--card-deep); box-shadow: 0 4px 10px rgba(0,0,0,.35); }
.ps-av:first-child { margin-left: 0; }
.ps-av.main { width: 62px; height: 62px; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,.22), 0 6px 16px rgba(0,0,0,.4); z-index: 1; }
.ps-social-label { font-size: 10px; letter-spacing: 2.5px; color: var(--muted); font-weight: 700; }
.ps-social-num { font-size: 36px; font-weight: 800; margin-top: 4px; letter-spacing: -1px; background: linear-gradient(180deg, #fff, #cfd8ea); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ps-online { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.07); font-size: 13px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 8px; }
.ps-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; display: inline-block; box-shadow: 0 0 0 4px rgba(46,204,143,.22); animation: dotPulse 1.6s infinite; flex-shrink: 0; }
@keyframes dotPulse { 50% { box-shadow: 0 0 0 8px rgba(46,204,143,0); } }
.ps-trust { display: flex; gap: 20px; justify-content: center; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.ps-skip { margin-top: 26px; background: transparent; border: none; color: var(--muted); font-size: 12px; text-decoration: underline; cursor: pointer; opacity: .7; }

/* --- QUIZ --- */
.ps-quiz-header { display: flex; align-items: center; gap: 16px; margin-bottom: 44px; }
.ps-back { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); color: #fff; font-size: 18px; cursor: pointer; flex-shrink: 0; transition: background .2s; }
.ps-back:active { background: rgba(255,255,255,.14); }
.ps-progress { flex: 1; text-align: right; font-size: 10px; letter-spacing: 2.5px; color: var(--muted); font-weight: 700; }
.ps-progress-label { display: block; margin-bottom: 2px; }
.ps-progress-bar { width: 100%; max-width: 160px; height: 5px; background: rgba(255,255,255,.09); border-radius: 5px; margin: 8px 0 5px auto; overflow: hidden; }
.ps-progress-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); border-radius: 5px; transition: width .4s var(--ease-out); box-shadow: 0 0 10px rgba(212,175,55,.5); }
.ps-progress-pct { color: var(--gold); font-weight: 800; font-size: 12px; letter-spacing: 1px; }

.ps-quiz-body { max-width: 400px; margin: auto; text-align: center; width: 100%; }
.ps-quiz-badge { display: inline-block; background: rgba(212,175,55,.12); color: var(--gold); font-weight: 700; padding: 6px 16px; border-radius: 100px; font-size: 12.5px; margin-bottom: 18px; border: 1px solid rgba(212,175,55,.3); letter-spacing: .5px; }
.ps-quiz-title { font-family: var(--font-display); font-size: 27px; font-weight: 700; line-height: 1.25; margin-bottom: 30px; }
.ps-quiz-options { display: flex; flex-direction: column; gap: 12px; animation: psFade .35s var(--ease-out); }
.ps-quiz-options.cards { flex-direction: row; gap: 14px; }
.ps-option { position: relative; padding: 18px 20px 18px 52px; text-align: left; background: linear-gradient(180deg, var(--card-hi), var(--card)); border: 1px solid rgba(255,255,255,.07); border-radius: 16px; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform .12s var(--ease-spring), border-color .2s, background .2s; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.ps-option::before { content: ''; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(212,175,55,.55); transition: background .15s, box-shadow .15s; }
.ps-option:hover { border-color: rgba(212,175,55,.55); transform: translateY(-1px); }
.ps-option:hover::before { background: rgba(212,175,55,.35); box-shadow: 0 0 10px rgba(212,175,55,.4); }
.ps-option:active { transform: scale(.98); border-color: var(--gold); }
.ps-option:active::before { background: var(--gold); }
.ps-option-card { flex: 1; padding: 28px 16px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.ps-option-card::before { display: none; }
.ps-option-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(212,175,55,.1); display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--gold); border: 2px solid rgba(212,175,55,.4); }
.ps-select { width: 100%; padding: 18px 48px 18px 18px; background: linear-gradient(180deg, var(--card-hi), var(--card)); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; color: #fff; font-size: 15px; font-weight: 600; appearance: none; -webkit-appearance: none; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 18px center; }
.ps-select:focus { border-color: rgba(212,175,55,.6); outline: none; }
.ps-select option { background: var(--card-deep); color: #fff; }

.ps-text-wrap { display: flex; flex-direction: column; gap: 14px; }
.ps-text-input { cursor: text; background-image: none; padding: 18px; text-align: left; }
.ps-text-continue { opacity: 1; transition: opacity .2s, transform .12s var(--ease-spring); }
.ps-text-continue:disabled { opacity: .35; cursor: not-allowed; }
.ps-text-continue:not(:disabled):active { transform: scale(.97); }

/* --- LOADING --- */
.ps-loading { max-width: 360px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; padding: 40px 0; width: 100%; }
.ps-loading-badge { padding: 8px 18px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); border-radius: 100px; font-size: 10px; letter-spacing: 2px; color: var(--muted); font-weight: 700; margin-bottom: 36px; display: inline-flex; align-items: center; gap: 8px; }
.ps-loading-icon {
  position: relative;
  width: 120px; height: 120px;
  margin: 0 auto 28px;
  display: flex; align-items: center; justify-content: center;
}
.ps-morph-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(212,175,55,.35);
  animation: morphRing 2.4s ease-out infinite;
}
.ps-morph-ring.delay { animation-delay: 1.2s; border-color: rgba(200,16,46,.3); }
@keyframes morphRing {
  0% { transform: scale(.55); opacity: .9; }
  100% { transform: scale(1.45); opacity: 0; }
}
.ps-morph-symbol {
  position: relative;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(255,255,255,.12), rgba(212,175,55,.1) 50%, rgba(200,16,46,.12));
  border: 1px solid rgba(212,175,55,.35);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 28px rgba(212,175,55,.2);
}
.ps-morph-heart, .ps-morph-cross {
  position: absolute;
  font-size: 34px;
  line-height: 1;
  transition: opacity .4s, transform .4s;
}
.ps-morph-heart {
  color: #e85a6b;
  animation: morphFlip 2.8s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(232,90,107,.45));
}
.ps-morph-cross {
  color: var(--gold-soft);
  animation: morphFlipCross 2.8s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(212,175,55,.4));
}
@keyframes morphFlip {
  0%, 38% { opacity: 1; transform: scale(1) rotateY(0deg); }
  48%, 88% { opacity: 0; transform: scale(.6) rotateY(90deg); }
  100% { opacity: 1; transform: scale(1) rotateY(0deg); }
}
@keyframes morphFlipCross {
  0%, 38% { opacity: 0; transform: scale(.6) rotateY(-90deg); }
  48%, 88% { opacity: 1; transform: scale(1) rotateY(0deg); }
  100% { opacity: 0; transform: scale(.6) rotateY(-90deg); }
}
.ps-loading-title { font-family: var(--font-display); font-size: 23px; font-weight: 700; margin-bottom: 8px; }
.ps-loading-sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.ps-loading-name { min-height: 24px; color: var(--gold); font-size: 14px; margin-bottom: 32px; opacity: .95; font-weight: 600; }
.ps-check { color: var(--green); margin-right: 6px; }
.ps-loading-analytics { display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: 2px; color: var(--muted); font-weight: 700; margin-bottom: 44px; width: 100%; }
.ps-loading-bar { flex: 1; height: 5px; background: rgba(255,255,255,.09); border-radius: 5px; overflow: hidden; }
.ps-loading-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); border-radius: 5px; transition: width .18s linear; box-shadow: 0 0 10px rgba(212,175,55,.5); }
.ps-loading-foot { font-size: 10px; letter-spacing: 2.5px; color: var(--muted); font-weight: 700; opacity: .7; }

/* Análise profunda IA — camada extra antes do check de compatibilidade */
.ps-scan { max-width: 360px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; padding: 40px 0; width: 100%; }
.ps-scan-badge {
  padding: 8px 18px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04);
  border-radius: 100px; font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 40px; display: inline-flex; align-items: center; gap: 8px;
}
.ps-scan-icon-ring {
  position: relative; width: 120px; height: 120px; margin: 0 auto 30px;
  border-radius: 50%; background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
}
.ps-scan-icon-ring::before {
  content: ''; position: absolute; inset: -1px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.16), transparent 70%);
  animation: scanPulse 2.2s ease-in-out infinite;
}
@keyframes scanPulse { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.ps-scan-icon {
  position: relative; z-index: 1; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  opacity: 1; transform: scale(1) rotate(0deg);
  transition: opacity .22s ease, transform .22s ease;
}
.ps-scan-icon svg { width: 100%; height: 100%; }
.ps-scan-icon.is-swapping { opacity: 0; transform: scale(.7) rotate(-8deg); }
.ps-scan-title {
  font-family: var(--font-display); font-size: 23px; font-weight: 700; margin-bottom: 8px; min-height: 29px;
  opacity: 1; transform: translateY(0);
  transition: opacity .22s ease, transform .22s ease;
}
.ps-scan-sub {
  color: var(--muted); font-size: 14px; margin-bottom: 26px; min-height: 18px;
  opacity: 1; transform: translateY(0);
  transition: opacity .22s ease, transform .22s ease;
}
.ps-scan-title.is-swapping, .ps-scan-sub.is-swapping { opacity: 0; transform: translateY(6px); }
.ps-scan-name {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  border-radius: 100px; padding: 9px 16px; margin-bottom: 30px;
  font-size: 13.5px; font-weight: 600; color: #fff;
  animation: scanNameIn .3s var(--ease-out);
}
.ps-scan-name.hidden { visibility: hidden; }
@keyframes scanNameIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ps-scan-name-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(43,217,143,.7); flex-shrink: 0; }
.ps-scan-analytics { display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 700; width: 100%; }
.ps-scan-bar { flex: 1; height: 5px; background: rgba(255,255,255,.09); border-radius: 5px; overflow: hidden; }
.ps-scan-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); border-radius: 5px; transition: width .5s linear; box-shadow: 0 0 10px rgba(212,175,55,.5); }

/* Popup "5 pessoas querem te conhecer" — some sozinho ao abrir os resultados */
.ps-unlock-overlay {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(6,8,16,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: unlockFadeIn .35s var(--ease-out);
}
.ps-unlock-overlay.hidden { display: none; }
@keyframes unlockFadeIn { from { opacity: 0; } to { opacity: 1; } }
.ps-unlock-card {
  width: 100%; max-width: 340px; text-align: center;
  background: linear-gradient(180deg, #1a2438, #0f172a);
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 24px; padding: 30px 24px 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  animation: unlockPop .4s var(--ease-spring);
}
@keyframes unlockPop { from { opacity: 0; transform: scale(.88) translateY(16px); } to { opacity: 1; transform: none; } }
.ps-unlock-lock {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 50%; background: rgba(212,175,55,.14); border: 1px solid rgba(212,175,55,.3);
  color: var(--gold); display: flex; align-items: center; justify-content: center;
}
.ps-unlock-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 18px; line-height: 1.3; }
.ps-unlock-avatars { display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ps-unlock-avatars img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid #0f172a; margin-left: -12px; box-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.ps-unlock-avatars img:first-child { margin-left: 0; }
.ps-unlock-more {
  width: 44px; height: 44px; border-radius: 50%; margin-left: -12px;
  background: rgba(212,175,55,.18); border: 2px solid #0f172a;
  color: var(--gold); font-size: 12.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.ps-unlock-sub { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin-bottom: 22px; }
.ps-unlock-cta {
  width: 100%; padding: 16px 20px; border: none; border-radius: 14px;
  background: linear-gradient(90deg, #2BD98F, var(--gold));
  color: #0A0A0F; font-weight: 800; font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 10px 26px rgba(43,217,143,.28);
  transition: transform .15s var(--ease-spring);
}
.ps-unlock-cta:active { transform: scale(.98); }
.ps-unlock-arrow { transition: transform .2s ease; }
.ps-unlock-cta:hover .ps-unlock-arrow { transform: translateX(3px); }

.ps-compat-rows {
  width: 100%;
  max-width: 240px;
  margin: 0 auto 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  overflow: visible;
  padding: 2px 0;
  box-sizing: border-box;
}
.ps-compat-rows:empty { display: none; margin: 0; }
.ps-compat-row {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 16px 14px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  min-height: 124px;
  opacity: 0;
  transform: translateY(10px) scale(.96);
  animation: compatRowIn .35s var(--ease-spring) forwards;
  box-sizing: border-box;
}
@keyframes compatRowIn { to { opacity: 1; transform: translateY(0) scale(1); } }
.ps-compat-you {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2px;
}
.ps-compat-heart {
  color: #e85a6b;
  font-size: 22px;
  line-height: 1;
  animation: heartPulse 1.1s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(232,90,107,.45));
}
@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22); }
}
.ps-compat-her {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.ps-compat-badge {
  margin-top: 4px;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s, transform .2s;
}
.ps-compat-row.green {
  border-color: rgba(46,204,143,.5);
  background: linear-gradient(180deg, rgba(46,204,143,.14), rgba(46,204,143,.05));
  box-shadow: 0 0 0 1px rgba(46,204,143,.12), 0 8px 20px rgba(46,204,143,.08);
}
.ps-compat-row.green .ps-compat-badge { color: var(--green); }
.ps-compat-row.green .ps-compat-heart { color: var(--green); filter: drop-shadow(0 0 8px rgba(46,204,143,.5)); }
.ps-compat-row.red {
  border-color: rgba(200,16,46,.45);
  background: linear-gradient(180deg, rgba(200,16,46,.14), rgba(200,16,46,.05));
}
.ps-compat-row.red .ps-compat-badge { color: #ff6b7a; }
.ps-compat-row.red .ps-compat-heart { color: #ff6b7a; opacity: .55; animation: none; }

/* Select custom + picker */
.ps-select-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px;
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.ps-select-btn span:first-child { flex: 1; color: rgba(255,255,255,.92); }
.ps-select-chevron { color: var(--gold); font-size: 14px; }
.ps-picker-overlay {
  position: fixed; inset: 0; z-index: 220;
  background: rgba(4,5,10,.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 16px;
}
.ps-picker-overlay.hidden { display: none; }
.ps-picker-sheet {
  width: 100%; max-width: 420px;
  max-height: min(72vh, 560px);
  background: linear-gradient(180deg, #1a2438, #0f172a);
  border: 1px solid rgba(212,175,55,.22);
  border-radius: 22px 22px 18px 18px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: psCardIn .3s var(--ease-spring);
}
.ps-picker-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.ps-picker-head strong { font-family: var(--font-display); font-size: 18px; }
.ps-picker-list {
  overflow-y: auto;
  padding: 8px;
  -webkit-overflow-scrolling: touch;
}
.ps-picker-item {
  width: 100%;
  text-align: left;
  padding: 15px 16px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
}
.ps-picker-item:active, .ps-picker-item:hover {
  background: rgba(212,175,55,.12);
  color: var(--gold-soft);
}
.ps-picker-outro {
  color: var(--gold);
  border: 1px dashed rgba(212,175,55,.35);
  margin: 4px 0;
}

.ps-city-search-input {
  margin: 4px 16px 0; padding: 13px 16px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(212,175,55,.3);
  border-radius: 12px; color: #fff; font-size: 15px; outline: none;
  flex-shrink: 0;
}
.ps-city-search-input:focus { border-color: var(--gold); }
.ps-city-search-hint {
  padding: 14px 16px 4px; color: var(--muted); font-size: 13px; flex-shrink: 0;
}
.ps-city-search-hint.hidden { display: none; }

.ps-form-hello {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 12px;
}
.ps-form-hello:not(.hidden) { display: block; }
.ps-bump-solo { margin: 8px 0 16px; }
.ps-bump-card {
  margin: 4px 0 18px;
  padding: 20px 18px 18px;
  border-radius: 20px;
  border: 1px solid rgba(212,175,55,.4);
  background:
    radial-gradient(500px 180px at 50% 0%, rgba(212,175,55,.16), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
}
.ps-bump-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.ps-bump-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.ps-bump-old {
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
}
.ps-bump-price-block strong {
  font-size: 22px;
  color: var(--gold-soft);
  font-weight: 800;
  letter-spacing: -.3px;
}
.ps-bump-title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 8px;
  color: #fff;
}
.ps-bump-lead {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 16px;
}
.ps-bump-perks {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ps-bump-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,.9);
  line-height: 1.4;
  font-weight: 500;
}
.ps-bump-perks li::before {
  content: '✓';
  color: var(--green);
  font-weight: 900;
  flex-shrink: 0;
}
.ps-bump-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(212,175,55,.1);
  border: 1px solid rgba(212,175,55,.28);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.ps-bump-toggle input {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.ps-text-wrap { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.ps-text-input {
  width: 100%;
  padding: 16px 18px;
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  color: #fff;
  font-size: 16px;
  outline: none;
}
.ps-text-input:focus { border-color: rgba(212,175,55,.55); }
.ps-text-continue:disabled { opacity: .45; pointer-events: none; }

/* --- RESULTS --- */
.ps-results { max-width: 440px; margin: auto; text-align: center; width: 100%; }
.ps-city-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; background: linear-gradient(180deg, var(--card-hi), var(--card)); border: 1px solid rgba(212,175,55,.35); border-radius: 100px; color: var(--gold); font-weight: 800; font-size: 11px; letter-spacing: 2px; margin-bottom: 22px; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.ps-results-title { font-family: var(--font-display); font-size: 29px; font-weight: 700; margin-bottom: 6px; }
.ps-results-sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.ps-results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 26px; }
.ps-result-card { position: relative; aspect-ratio: 3/4; border-radius: 16px; overflow: hidden; background-size: cover; background-position: center top; background-color: var(--card-deep); box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.ps-result-card.revealed { outline: 2px solid rgba(212,175,55,.6); outline-offset: -2px; }
.ps-result-card.locked { background-color: rgba(255,255,255,.05); }
.ps-result-card.locked::before { content: ''; position: absolute; inset: 0; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(10,10,20,.45); z-index: 1; }
.ps-lock { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; z-index: 3; font-size: 14px; }
.ps-compat { position: absolute; top: 12px; left: 12px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); color: #0A0A0F; font-weight: 800; font-size: 10px; letter-spacing: .5px; padding: 6px 11px; border-radius: 100px; z-index: 3; box-shadow: 0 3px 10px rgba(212,175,55,.45); }
.ps-card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.9)); display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; text-align: left; z-index: 2; }
.ps-privado-tag { position: absolute; top: 40%; left: 50%; transform: translate(-50%,-50%); color: rgba(255,255,255,.8); font-weight: 800; letter-spacing: 4px; font-size: 11px; z-index: 3; }
.ps-view-btn { position: absolute; top: 54%; left: 50%; transform: translate(-50%, -50%); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; padding: 9px 18px; border-radius: 100px; font-size: 13px; font-weight: 700; cursor: pointer; z-index: 3; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .2s; }
.ps-view-btn:active { background: rgba(255,255,255,.28); }
.ps-card-name { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.ps-card-city, .ps-card-priv { font-size: 12px; color: rgba(255,255,255,.72); margin-top: 3px; }
.ps-card-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.ps-rev-tag { font-size: 9px; letter-spacing: 1px; background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.14); padding: 4px 9px; border-radius: 5px; font-weight: 700; }
.ps-online-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; display: inline-block; box-shadow: 0 0 6px rgba(46,204,143,.8); }
.ps-results-hint { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.ps-safe { margin-top: 16px; font-size: 10px; letter-spacing: 2.5px; color: var(--muted); font-weight: 700; opacity: .7; }

/* --- PAYWALL --- */
.ps-paywall { max-width: 440px; margin: auto; width: 100%; display: flex; flex-direction: column; gap: 28px; }
.ps-brand-inline { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: -8px; letter-spacing: .3px; }
.ps-mini-logo { color: var(--gold); }
.ps-vsl-card { background: linear-gradient(180deg, var(--card-hi), var(--card-deep)); border: 1px solid rgba(212,175,55,.18); border-radius: var(--radius-lg); padding: 24px; text-align: center; box-shadow: var(--shadow-md); }
.ps-vsl-card h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 6px; }
.ps-vsl-thumb { position: relative; margin-top: 18px; aspect-ratio: 16/9; background: linear-gradient(135deg, #8a5a26, #d99a55 60%, var(--gold)); border-radius: 14px; overflow: hidden; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 60px rgba(0,0,0,.35); }
.ps-vsl-title { color: #fff; font-family: var(--font-display); font-size: 22px; font-weight: 700; text-align: center; line-height: 1.15; text-shadow: 0 2px 10px rgba(0,0,0,.65); padding: 0 16px; }
.ps-vsl-play { position: absolute; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.94); border: none; font-size: 22px; color: #0A0A0F; cursor: pointer; box-shadow: 0 0 0 8px rgba(255,255,255,.18), 0 8px 24px rgba(0,0,0,.4); transition: transform .15s var(--ease-spring); }
.ps-vsl-play:active { transform: scale(.94); }
.ps-vsl-cta { position: absolute; bottom: 10px; right: 12px; font-size: 9px; color: rgba(255,255,255,.9); letter-spacing: 1.5px; font-weight: 800; }

.ps-paywall-title { font-family: var(--font-display); font-size: 27px; font-weight: 700; text-align: center; line-height: 1.22; }
.ps-countdown { display: flex; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(90deg, rgba(200,16,46,.14), rgba(212,175,55,.12)); border: 1px solid rgba(212,175,55,.35); border-radius: 100px; padding: 11px 22px; margin: 0 auto; font-size: 11px; letter-spacing: 1.5px; color: var(--gold); font-weight: 800; }
.ps-countdown span:last-child { font-variant-numeric: tabular-nums; }

.ps-plan { border-radius: var(--radius-lg); overflow: visible; box-shadow: var(--shadow-md); position: relative; margin-top: 8px; }
.ps-plan-head { padding: 26px 24px 22px; color: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0; position: relative; }
.ps-plan-basic .ps-plan-head { background: linear-gradient(135deg, #5c3616, #2e1a09); border: 1px solid rgba(217,154,85,.25); border-bottom: none; }
.ps-plan-main { outline: 2px solid rgba(212,175,55,.55); outline-offset: -2px; border-radius: var(--radius-lg); box-shadow: 0 0 40px rgba(212,175,55,.14), var(--shadow-md); }
.ps-plan-main .ps-plan-head { background: linear-gradient(135deg, #a37c22, #5c440f); }
.ps-plan-head h3 { font-size: 21px; font-weight: 800; letter-spacing: 1px; }
.ps-plan-tier { color: var(--gold-soft); font-size: 10px; letter-spacing: 2.5px; margin-top: 5px; font-weight: 800; }
.ps-plan-old { color: rgba(255,255,255,.45); text-decoration: line-through; margin-top: 16px; font-size: 14px; }
.ps-plan-price { font-size: 34px; font-weight: 800; margin-top: 2px; letter-spacing: -1px; display: flex; align-items: baseline; gap: 4px; }
.ps-plan-price span { font-size: 50px; }
.ps-plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, #35e0a1, var(--green)); color: #0A0A0F; padding: 7px 18px; border-radius: 100px; font-size: 11px; font-weight: 800; letter-spacing: 1px; z-index: 2; white-space: nowrap; box-shadow: 0 4px 14px rgba(46,204,143,.4); }
.ps-plan-body { background: #F7F6F3; color: #16130E; padding: 24px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.ps-plan-label { font-size: 10px; letter-spacing: 2.5px; color: #8a8578; font-weight: 800; margin-bottom: 14px; }
.ps-plan-list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ps-plan-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 500; line-height: 1.4; }
.ps-plan-list li::before { content: '✓'; color: #1da875; font-weight: 900; flex-shrink: 0; }
.ps-safe-small { font-size: 10px; letter-spacing: 2px; color: #8a8578; margin-top: 14px; text-align: center; font-weight: 700; }
.ps-plan-body .ps-safe-small { color: #8a8578; }
.ps-checkout-overlay .ps-safe-small, #screen-presell .ps-paywall > .ps-safe-small { color: var(--muted); }

.ps-community { background: linear-gradient(180deg, var(--card-hi), var(--card-deep)); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius-lg); padding: 26px 22px; text-align: center; box-shadow: var(--shadow-md); }
.ps-community h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 22px; }
.ps-community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 12px; }
.ps-num { font-size: 30px; font-weight: 800; color: var(--gold); letter-spacing: -.5px; }
.ps-lbl { font-size: 9px; letter-spacing: 2.5px; color: var(--muted); font-weight: 800; margin-top: 5px; }

.ps-testimonials { background: linear-gradient(180deg, var(--card-hi), var(--card-deep)); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius-lg); padding: 26px 22px; box-shadow: var(--shadow-md); }
.ps-testimonials h3 { font-family: var(--font-display); font-size: 22px; text-align: center; margin-bottom: 4px; }
.ps-testimonials-list { display: flex; gap: 12px; overflow-x: auto; padding: 18px 2px 8px; scroll-snap-type: x mandatory; }
.ps-testimonials-list::-webkit-scrollbar { display: none; }
.ps-test-card { flex: 0 0 264px; background: #fff; color: #16130E; padding: 18px; border-radius: 16px; scroll-snap-align: start; box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.ps-test-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ps-test-photo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(212,175,55,.4); }
.ps-test-name { font-weight: 700; font-size: 14px; }
.ps-test-city { font-size: 11px; color: #8a8578; margin-top: 1px; }
.ps-test-text { font-size: 13px; line-height: 1.55; font-style: italic; color: #3a352c; }
.ps-test-stars { color: var(--gold-dark); margin-top: 12px; font-size: 13px; letter-spacing: 3px; }

.ps-faq { background: linear-gradient(180deg, var(--card-hi), var(--card-deep)); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius-lg); padding: 26px 22px; box-shadow: var(--shadow-md); }
.ps-faq h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 16px; }
.ps-faq-list { display: flex; flex-direction: column; }
.ps-faq-item { border-bottom: 1px solid rgba(255,255,255,.07); padding: 14px 0; }
.ps-faq-item:last-child { border-bottom: none; padding-bottom: 4px; }
.ps-faq-item summary { list-style: none; display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; font-size: 14px; line-height: 1.4; }
.ps-faq-item summary::-webkit-details-marker { display: none; }
.ps-faq-item summary::after { content: '+'; margin-left: auto; color: var(--gold); font-size: 18px; font-weight: 700; transition: transform .2s; flex-shrink: 0; }
.ps-faq-item[open] summary::after { transform: rotate(45deg); }
.ps-faq-num { width: 24px; height: 24px; border-radius: 50%; background: rgba(212,175,55,.12); border: 1px solid rgba(212,175,55,.4); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.ps-faq-answer { padding: 12px 0 2px 36px; color: var(--muted); font-size: 13px; line-height: 1.65; }

.ps-guarantee { text-align: center; background: linear-gradient(180deg, rgba(212,175,55,.1), rgba(212,175,55,.02)); border: 1px solid rgba(212,175,55,.3); border-radius: var(--radius-lg); padding: 30px 22px; }
.ps-guarantee-shield { font-size: 42px; margin-bottom: 10px; filter: drop-shadow(0 4px 12px rgba(212,175,55,.3)); }
.ps-guarantee-badge { display: inline-block; padding: 6px 16px; background: rgba(212,175,55,.18); border: 1px solid rgba(212,175,55,.4); color: var(--gold); border-radius: 100px; font-size: 10px; letter-spacing: 2px; font-weight: 800; margin-bottom: 14px; }
.ps-guarantee h3 { font-family: var(--font-display); font-size: 17px; line-height: 1.35; margin-bottom: 10px; }
.ps-guarantee p { color: var(--muted); font-size: 13px; line-height: 1.6; max-width: 320px; margin: 0 auto; }
.ps-guarantee-tags { display: flex; justify-content: center; gap: 16px; margin-top: 18px; }
.ps-guarantee-tags span { font-size: 9px; letter-spacing: 2px; color: var(--muted); font-weight: 800; opacity: .8; }

/* --- LIVE TOAST --- */
.ps-live-toast { position: fixed; top: 14px; left: 50%; transform: translate(-50%, -16px); background: rgba(19,28,49,.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(212,175,55,.35); border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; z-index: 90; opacity: 0; transition: all .35s var(--ease-spring); box-shadow: 0 14px 36px rgba(0,0,0,.6); width: min(320px, calc(100vw - 32px)); pointer-events: none; }
.ps-live-toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.ps-toast-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); flex-shrink: 0; }
.ps-toast-body { flex: 1; min-width: 0; }
.ps-toast-name { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.ps-toast-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 6px rgba(46,204,143,.8); }
.ps-toast-action { font-size: 12px; color: var(--muted); margin-top: 2px; }
.ps-toast-close { background: transparent; border: none; color: var(--muted); font-size: 18px; cursor: pointer; padding: 4px; flex-shrink: 0; line-height: 1; }

/* --- CHECKOUT MODAL --- */
.ps-checkout-overlay { position: fixed; inset: 0; background: rgba(4,5,10,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 200; display: flex; align-items: flex-start; justify-content: center; padding: 48px 16px; overflow-y: auto; animation: psOverlayIn .25s ease-out; }
.ps-checkout-overlay.hidden { display: none; }
@keyframes psOverlayIn { from { opacity: 0; } }
.ps-checkout-card { background: linear-gradient(180deg, var(--card-deep), #0d1220); border: 1px solid rgba(212,175,55,.25); border-radius: 24px; padding: 24px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); animation: psCardIn .35s var(--ease-spring); }
@keyframes psCardIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.ps-checkout-steps { display: flex; justify-content: center; gap: 8px; margin-bottom: 22px; }
.ps-step { width: 44px; height: 4px; background: rgba(255,255,255,.12); border-radius: 4px; transition: background .3s; }
.ps-step.active { background: linear-gradient(90deg, var(--gold), var(--gold-soft)); box-shadow: 0 0 8px rgba(212,175,55,.5); }
.ps-checkout-stage.hidden { display: none; }
.ps-checkout-stage { animation: psFade .3s var(--ease-out); }
.ps-checkout-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.ps-checkout-head h3 { font-family: var(--font-display); font-size: 21px; }
.ps-checkout-x { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 17px; cursor: pointer; line-height: 1; }
.ps-order-box { background: rgba(255,255,255,.04); border-radius: 16px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; border: 1px solid rgba(212,175,55,.15); }
.ps-order-plan div:first-child { font-weight: 800; font-size: 13px; letter-spacing: .5px; margin-bottom: 5px; }
.ps-order-view { background: transparent; border: none; color: var(--gold); font-size: 12px; cursor: pointer; padding: 0; }
.ps-order-price { text-align: right; flex-shrink: 0; }
.ps-order-old { color: var(--muted); text-decoration: line-through; font-size: 12px; }
.ps-order-now { font-weight: 800; font-size: 19px; margin-top: 2px; color: var(--gold-soft); }
.ps-input { width: 100%; padding: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; color: #fff; font-size: 15px; margin-bottom: 10px; outline: none; transition: border-color .2s, box-shadow .2s; }
.ps-input::placeholder { color: rgba(155,170,191,.6); }
.ps-input:focus { border-color: rgba(212,175,55,.6); box-shadow: 0 0 0 3px rgba(212,175,55,.12); }
.ps-phone-row { display: flex; gap: 8px; margin-bottom: 10px; }
.ps-phone-ddi { padding: 16px 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; color: #fff; font-size: 15px; font-weight: 700; flex-shrink: 0; }
.ps-phone-row .ps-input { margin-bottom: 0; }
.ps-total-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; margin: 6px 0 16px; border-top: 1px solid rgba(255,255,255,.08); }
.ps-total-row span { color: var(--muted); font-size: 14px; }
.ps-total-row strong { font-size: 24px; font-weight: 800; color: var(--gold-soft); }

/* --- UPSELL --- */
.ps-upsell-tag { display: block; width: fit-content; margin: 0 auto 14px; padding: 6px 16px; background: rgba(212,175,55,.16); border: 1px solid rgba(212,175,55,.4); color: var(--gold); border-radius: 100px; font-size: 10px; letter-spacing: 2px; font-weight: 800; }
.ps-upsell-title { font-family: var(--font-display); font-size: 23px; text-align: center; line-height: 1.28; margin-bottom: 10px; }
.ps-upsell-sub { text-align: center; color: var(--muted); font-size: 13px; line-height: 1.55; margin-bottom: 22px; }
.ps-upsell-reasons { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; padding: 6px; margin-bottom: 20px; }
.ps-upsell-reason { display: flex; align-items: center; gap: 14px; padding: 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.ps-upsell-reason:last-child { border-bottom: none; }
.ps-upsell-reason > span { width: 42px; height: 42px; border-radius: 50%; background: rgba(212,175,55,.14); border: 1px solid rgba(212,175,55,.3); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.ps-upsell-reason strong { display: block; font-size: 14px; margin-bottom: 2px; }
.ps-upsell-reason small { color: var(--muted); font-size: 12px; }
.ps-upsell-math { padding: 14px 4px; border-top: 1px solid rgba(255,255,255,.08); }
.ps-upsell-math > div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: var(--muted); }
.ps-upsell-total { padding-top: 14px !important; border-top: 1px solid rgba(255,255,255,.08); margin-top: 6px; color: #fff !important; font-weight: 700; }
.ps-upsell-total strong { color: var(--gold-soft); font-size: 24px; }
.ps-upsell-proof { text-align: center; color: var(--green); font-size: 12px; margin-top: 16px; font-weight: 600; }

/* --- PIX --- */
.ps-pix-head { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--green); font-size: 13px; font-weight: 600; margin-bottom: 22px; padding: 11px; background: rgba(46,204,143,.08); border: 1px solid rgba(46,204,143,.25); border-radius: 100px; }
.ps-pix-head strong { font-variant-numeric: tabular-nums; }
.ps-pix-body { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; }
.ps-pix-qr { width: 132px; height: 132px; background: #fff; border-radius: 12px; padding: 8px; flex-shrink: 0; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.ps-pix-qr img { width: 100%; height: 100%; display: block; }
.ps-pix-info { flex: 1; min-width: 0; }
.ps-pix-plan { color: var(--gold); font-size: 11px; letter-spacing: 1.5px; font-weight: 800; }
.ps-pix-price { font-size: 28px; font-weight: 800; margin: 5px 0 10px; letter-spacing: -.5px; }
.ps-pix-info p { font-size: 12px; color: var(--muted); line-height: 1.5; }
.ps-pix-steps { list-style: none; padding: 0; margin: 22px 0; display: flex; flex-direction: column; gap: 12px; counter-reset: pix-step; }
.ps-pix-steps li { padding-left: 36px; position: relative; font-size: 13px; color: var(--muted); line-height: 1.5; }
.ps-pix-steps li::before { content: counter(pix-step); counter-increment: pix-step; position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%; background: rgba(46,204,143,.12); border: 1px solid rgba(46,204,143,.4); color: var(--green); font-weight: 800; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.ps-pix-steps li strong { color: #fff; }
.ps-pix-seals { display: flex; gap: 8px; margin-top: 22px; justify-content: center; flex-wrap: wrap; }
.ps-pix-seals span { padding: 8px 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: 8px; font-size: 9px; color: var(--muted); letter-spacing: 1px; font-weight: 800; }

/* Order bump */
.ps-bump {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 14px;
  margin: 4px 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(212,175,55,.35);
  background: linear-gradient(135deg, rgba(212,175,55,.1), rgba(255,255,255,.03));
  cursor: pointer;
}
.ps-bump input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); cursor: pointer; }
.ps-bump-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0A0A0F;
  background: var(--gold);
  padding: 2px 8px;
  border-radius: 100px;
  margin-bottom: 6px;
}
.ps-bump-body strong { display: block; font-size: 14px; margin-bottom: 4px; color: #fff; }
.ps-bump-body p { font-size: 12px; color: var(--muted); line-height: 1.45; margin: 0; }
.ps-bump-price { font-size: 13px; font-weight: 800; color: var(--gold-soft); white-space: nowrap; padding-top: 2px; }

.ps-plan-list.excluded li { color: #9a9488; text-decoration: line-through; opacity: .85; }
.ps-plan-list.excluded li::before { content: '–'; color: #c45c5c; font-weight: 700; }
.ps-plan-label.muted-label { margin-top: 14px; color: #a39e92; }

/* Presell shell — tom slate mais limpo */
#screen-presell {
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(51, 65, 98, .55), transparent 55%),
    #0f172a;
}
#screen-presell .presell-stage { max-width: 480px; margin: 0 auto; }
.ps-logo { font-size: 40px; filter: none; color: var(--gold); background: none; -webkit-background-clip: unset; background-clip: unset; }
.ps-title { font-size: 28px; }
.ps-social-num { background: none; -webkit-background-clip: unset; background-clip: unset; color: #fff; }
.ps-plan-body { background: #f8fafc; }
.ps-countdown { border-radius: 12px; letter-spacing: 1px; text-transform: none; font-size: 12px; }
.ps-plan-badge { text-transform: none; letter-spacing: .3px; font-size: 11px; }
.ps-faq h3, .ps-community h3, .ps-testimonials h3 { font-weight: 600; }



/* Boas-vindas p�s-pagamento */
.welcome-overlay {
  position: fixed; inset: 0; z-index: 88;
  background: rgba(8,8,12,.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 28px; animation: fadeIn .3s ease;
  transition: opacity .35s ease;
}
.welcome-overlay.welcome-out { opacity: 0; }
.welcome-overlay.hidden { display: none !important; }
.welcome-card {
  width: 100%; max-width: 300px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  animation: popIn .4s var(--ease-spring);
}
.welcome-icon {
  width: 64px; height: 64px; border-radius: 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0B0B10; font-size: 30px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 36px rgba(212,175,55,.28);
}
.welcome-title {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  margin: 0; line-height: 1.2;
}
.welcome-sub {
  font-size: 15px; color: var(--muted); line-height: 1.5; margin: 0;
}

.match-explain {
  font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.88);
  max-width: 300px; margin: 0 auto;
}

/* Transição forçada swipe → mensagens (fim do fluxo scriptado) */
.script-transition {
  position: fixed; inset: 0; z-index: 89;
  background: rgba(8,8,12,.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 28px; animation: fadeIn .3s ease;
}
.script-transition.hidden { display: none !important; }
.script-transition-card {
  width: 100%; max-width: 300px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  animation: popIn .4s var(--ease-spring);
}
.script-transition-icon {
  width: 64px; height: 64px; border-radius: 20px; font-size: 30px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 36px rgba(212,175,55,.28);
}
.script-transition-card h3 {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  margin: 0; line-height: 1.2;
}
.script-transition-card p {
  font-size: 15px; color: var(--muted); line-height: 1.5; margin: 0;
}
.script-transition-card .btn { width: 100%; margin-top: 6px; }

/* Badge de não lidas na conversa */
.conv-unread {
  flex-shrink: 0; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--gold); color: #0B0B10;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
