[hidden] {
  display: none !important;
}

/* Identidade Nós: preto como cor principal em toda a interface. */
:root {
  --green: #111111 !important;
  --green2: #111111 !important;
  --green-deep: #000000 !important;
  --green-soft: rgba(17, 17, 17, .09) !important;
}

.primary-btn,
.modal-primary,
.apply-btn,
.filter-footer .apply,
.save-btn,
.continue-btn,
.checkout-btn {
  border-color: #111111 !important;
  background: #111111 !important;
  color: #fffaf3 !important;
}

.primary-btn:hover,
.modal-primary:hover,
.apply-btn:hover,
.filter-footer .apply:hover,
.save-btn:hover,
.continue-btn:hover,
.checkout-btn:hover {
  background: #000000 !important;
}

.objective-chip.active,
.choice-card.active,
.highlight-option.active,
.filter-choice.active,
.tier-choice.active,
.filter-chip.active,
.segment-control button.active,
.intent-option.active,
.custom-select-option.active,
.modal-interest.active,
.like-mode.active,
.plan button.selected,
[aria-pressed="true"].selectable-chip {
  border-color: #111111 !important;
  background: #111111 !important;
  color: #fffaf3 !important;
  box-shadow: none !important;
}

.choice-card.active span,
.like-mode.active span {
  color: rgba(255, 250, 243, .76) !important;
}

.objective-chip.active svg,
.choice-card.active svg,
.highlight-option.active svg,
.filter-choice.active svg,
.tier-choice.active svg,
.filter-chip.active svg,
.segment-control button.active svg,
.intent-option.active svg,
.custom-select-option.active svg,
.modal-interest.active svg,
.like-mode.active svg {
  color: #fffaf3 !important;
  stroke: currentColor !important;
}

.custom-select-option.active::after {
  background: #fffaf3 !important;
}

.tag.objective,
.bio-callout,
.action.super:hover {
  border-color: rgba(17, 17, 17, .38) !important;
  background: rgba(17, 17, 17, .09) !important;
  color: #111111 !important;
}

.auth-page .illustration::before,
.auth-page .mobile-illustration::before,
.auth-page .spark,
.auth-page .banana-wordmark-leaf {
  display: none !important;
}

.auth-page .illustration,
.auth-page .mobile-illustration,
.auth-page .illustration-art {
  background: transparent !important;
}

.auth-page .illustration-art {
  display: grid;
  place-items: center;
}

.auth-page .nos-wordmark {
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: scaleX(.78);
  transform-origin: center;
  color: #050505 !important;
  font-family: Inter, Arial Black, system-ui, sans-serif !important;
  font-size: clamp(92px, 15vw, 210px) !important;
  font-style: normal !important;
  font-weight: 900 !important;
  line-height: .78 !important;
  letter-spacing: -.115em !important;
  text-transform: uppercase;
  text-shadow: none !important;
}

.auth-page .nos-wordmark span {
  color: inherit !important;
  font: inherit !important;
  letter-spacing: inherit !important;
}

.membership-badge {
  min-height: 27px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 17, 17, .32);
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  color: #111111;
  font: 750 9px/1 Inter, system-ui, sans-serif;
  letter-spacing: .04em;
  white-space: nowrap;
  text-transform: uppercase;
}

.membership-badge.tier-unverified { color: #766f67; border-color: rgba(83, 77, 71, .25); }
.membership-badge.tier-verified { color: #111111; border-color: #111111; }
.membership-badge.tier-elite { border: 3px double #111111; font-weight: 850; }
.membership-badge.tier-black { border-color: #050505; background: #050505; color: #fffaf3; }

.tier-choice {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line, rgba(53, 46, 39, .18));
  border-radius: 12px;
  background: rgba(255, 255, 255, .16);
  font: 700 10px/1.2 Inter, system-ui, sans-serif;
}

.tier-filter,
.tier-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.tier-filter .tier-choice,
.tier-choice-grid .tier-choice {
  width: 100%;
}

.profile-page .action-row {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.profile-page .membership-pill.tier-black {
  border-color: #050505;
  background: #050505;
  color: #fffaf3;
}

.profile-page .membership-pill.tier-elite {
  border: 3px double #111111;
}

/* Descoberta: opções permanecem leves; somente o coração/check mostra a seleção. */
.discover-page .filter-icon,
.discover-page .filter-icon:hover {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.discover-page .intent-option.active:not(.gender-option),
.discover-page .custom-select-option.active {
  border-color: transparent !important;
  background: transparent !important;
  color: var(--ink, #241f1a) !important;
}

.discover-page .intent-option.active:not(.gender-option) svg {
  color: var(--ink, #241f1a) !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

.discover-page .intent-option:not(.active) svg {
  fill: transparent !important;
}

.discover-page .intent-panel-head {
  min-height: 38px;
  padding: 3px 7px 3px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 700 10px Inter, sans-serif;
  color: var(--muted, #83796f);
  text-transform: uppercase;
}

.discover-page .intent-panel-head button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.discover-page .intent-panel-head svg { width: 17px; height: 17px; }
.discover-page .gender-option { justify-content: center; padding: 0 6px; }
.discover-page .gender-option svg { width: 15px; height: 15px; }

.discover-page .custom-select-option {
  justify-content: flex-start;
  cursor: pointer;
}

.discover-page .custom-select-option input {
  appearance: none;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  padding: 0;
  border: 1px solid var(--line2, rgba(53,46,39,.36));
  border-radius: 4px;
  background: transparent;
}

.discover-page .custom-select-option input:checked {
  background: var(--ink, #241f1a);
  box-shadow: inset 0 0 0 3px var(--paper, #fbf6ee);
}

.discover-page .custom-select-option.active::after { display: none !important; }

@media (max-width: 560px) {
  .profile-page .action-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .profile-page .action-btn:nth-child(2) {
    border-right: 0;
  }

  .profile-page .action-btn:nth-child(-n+2) {
    border-bottom: 1px solid var(--line, rgba(53, 46, 39, .18));
  }
}

/* Marca simples e forte: sem moldura ao redor do N. */
.brand-mark,
.brand {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  font-family: Inter, "Arial Black", Arial, sans-serif !important;
  font-size: 29px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -.13em !important;
}
.brand-mark:hover,
.brand:hover { background: transparent !important; transform: none !important; }
.brand-letter {
  display: block;
  font-family: Inter, "Arial Black", Arial, sans-serif;
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.13em;
  transform: scaleX(.78);
  transform-origin: center;
}

/* Estados vazios reais. */
.conversation-empty,
.empty-chat-state {
  min-height: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--muted, #81776d);
  font-family: Inter, system-ui, sans-serif;
  text-align: center;
}
.conversation-empty svg,
.empty-chat-state svg { width: 34px; height: 34px; stroke-width: 1.3; }
.conversation-empty strong,
.empty-chat-state strong { color: var(--ink, #211d19); font-size: 14px; }
.conversation-empty span,
.empty-chat-state span { max-width: 330px; font-size: 11px; line-height: 1.55; }
.empty-chat .chat-avatar,
.empty-chat .more-btn,
.empty-chat .composer-wrap { display: none !important; }
.empty-chat .chat-head { grid-template-columns: 44px minmax(0,1fr); }
.empty-chat .chat-person { pointer-events: none; }
.empty-chat .chat-person p::before { display: none; }

/* No celular, conteúdos expansivos viram páginas completas. */
@media (max-width: 900px) {
  .discover-page .filter-panel {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-height: none !important;
    padding: 0 18px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: translateY(100%) !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .discover-page .filter-panel.open {
    transform: none !important;
  }

  .discover-page .filter-panel-head {
    margin: 0 -18px !important;
    padding: calc(16px + env(safe-area-inset-top, 0px)) 18px 14px !important;
  }

  .discover-page .filter-footer {
    bottom: 0 !important;
    margin: 20px -18px 0 !important;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid var(--line, rgba(53, 46, 39, .18));
  }

  .discover-page .filter-footer button {
    flex: 1;
    min-height: 48px;
  }

  .profile-sheet,
  .profile-overlay,
  .profile-page .modal-overlay,
  .auth-page .modal-overlay,
  .membership-page .overlay,
  .banana-profile-overlay,
  .secret-like-overlay {
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    padding: 0 !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    background: var(--paper, #fbf6ee) !important;
    backdrop-filter: none !important;
  }

  .profile-sheet .profile-panel,
  .profile-overlay .profile-card,
  .profile-page .modal,
  .auth-page .modal,
  .membership-page .checkout,
  .banana-profile-dialog,
  .secret-like-dialog {
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: translateY(100%) !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .profile-sheet.open .profile-panel,
  .profile-overlay.open .profile-card,
  .profile-page .modal-overlay.open .modal,
  .auth-page .modal-overlay.open .modal,
  .membership-page .overlay.open .checkout,
  .banana-profile-overlay.open .banana-profile-dialog,
  .secret-like-overlay.open .secret-like-dialog {
    transform: none !important;
  }

  .profile-sheet .profile-head,
  .profile-page .modal-head,
  .auth-page .modal-head,
  .membership-page .checkout-head {
    position: sticky !important;
    top: 0;
    z-index: 10;
    min-height: calc(68px + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px) !important;
    background: rgba(251, 246, 238, .97) !important;
    backdrop-filter: blur(12px);
  }

  .profile-page .modal,
  .auth-page .modal,
  .membership-page .checkout {
    display: flex;
    flex-direction: column;
  }

  .profile-page .modal-body,
  .auth-page .modal-body,
  .membership-page .checkout-body {
    flex: 1;
    overflow-y: auto;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .profile-page .modal-footer {
    position: sticky !important;
    bottom: 0;
    z-index: 10;
    flex: 0 0 auto;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .profile-overlay .profile-close,
  .banana-profile-close,
  .secret-like-close {
    top: calc(14px + env(safe-area-inset-top, 0px)) !important;
  }

  .profile-sheet .profile-content,
  .profile-overlay .profile-body,
  .secret-like-dialog {
    padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .secret-like-dialog {
    padding-top: calc(30px + env(safe-area-inset-top, 0px)) !important;
  }

  .banana-profile-dialog {
    overflow: hidden !important;
  }

  .banana-profile-scroll {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh !important;
  }
}

@media (max-width: 820px) {
  .auth-page .nos-wordmark {
    font-size: clamp(72px, 25vw, 132px) !important;
  }
}

@media (max-width: 560px) {
  .discover-page .main {
    padding-bottom: calc(190px + var(--safe, 0px)) !important;
  }

  .discover-page .main-info {
    padding-bottom: 112px !important;
  }

  .discover-page .actions {
    position: fixed !important;
    right: 0 !important;
    bottom: calc(72px + var(--safe, 0px)) !important;
    left: 0 !important;
    z-index: 34 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 9px 42px 11px !important;
    background: rgba(251, 246, 238, .94) !important;
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line, rgba(53, 46, 39, .18));
  }

  .discover-page.discovery-filter-open .actions {
    display: none !important;
  }
}

.banana-person-photo,
.banana-couple-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banana-person-photo {
  object-position: center 35%;
  border-radius: inherit;
}

.banana-photo-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(145deg, #f7f1e7, #e9e0d2);
  color: #867d70;
}

.banana-photo-placeholder svg {
  width: 34%;
  height: 34%;
  stroke-width: 1.35;
}

.sidebar-profile,
.side-avatar,
.mini-avatar,
.avatar,
.match-avatar,
.all-match-avatar,
.conversation-avatar,
.chat-avatar,
.message-avatar,
.like-avatar,
.recent-avatar,
.profile-large-avatar,
.profile-avatar,
.portrait,
.photo-tile {
  overflow: hidden;
}

.portrait {
  border-radius: 48% 52% 44% 56% / 52% 47% 53% 48%;
}

.illustration-art {
  overflow: hidden;
  border-radius: 48% 52% 46% 54% / 52% 48% 52% 48%;
  pointer-events: none;
}

.banana-wordmark {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--green-deep, #686a4a);
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(82px, 12vw, 178px);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.07em;
  line-height: 1;
  text-shadow: 0 10px 28px rgba(74, 65, 51, .08);
}

.banana-wordmark-leaf {
  position: absolute;
  top: 27%;
  left: 50%;
  width: clamp(24px, 3.4vw, 48px);
  height: clamp(12px, 1.7vw, 24px);
  margin-left: clamp(34px, 5vw, 74px);
  border-radius: 100% 0 100% 0;
  background: var(--green, #80815e);
  transform: rotate(-18deg);
  opacity: .72;
}

.city-field {
  z-index: 20;
  overflow: visible !important;
}

.city-field > input {
  border-radius: 0 15px 15px 0;
}

.city-field .city-autocomplete {
  z-index: 80;
}

.banana-couple-photo {
  object-position: center center;
}

/* Fotos de perfil usam enquadramento quadrado em todas as telas. */
.sidebar-profile,
.side-avatar,
.mini-avatar,
.avatar,
.match-avatar,
.all-match-avatar,
.conversation-avatar,
.chat-avatar,
.message-avatar,
.like-avatar,
.recent-avatar,
.profile-large-avatar,
.profile-avatar,
.portrait,
.photo-frame,
.photo-tile {
  border-radius: 10px !important;
}

.profile-page .photo-gallery-hint {
  margin-bottom: 14px;
  color: var(--muted, #81776d);
  font: 500 11px/1.55 Inter, sans-serif;
}
.profile-page .gallery-photo { position: relative; }
.profile-page .gallery-photo .banana-person-photo { width: 100%; height: 100%; object-fit: cover; }
.profile-page .primary-photo-label { position: absolute; left: 8px; bottom: 8px; padding: 5px 8px; border-radius: 999px; background: rgba(17,17,17,.78); color: #fffaf3; font: 750 8px/1 Inter,sans-serif; text-transform: uppercase; }
.profile-page .remove-gallery-photo { position: absolute; top: 7px; right: 7px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(251,246,238,.9); color: #111; backdrop-filter: blur(7px); }
.profile-page .remove-gallery-photo svg { width: 15px; height: 15px; }

.profile-page .referral-summary { font-family: var(--sans); }
.profile-page .referral-summary > p { color: var(--ink-2); font-size: 13px; line-height: 1.65; }
.profile-page .referral-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0; }
.profile-page .referral-numbers div { min-width: 0; padding: 15px 9px; border: 1px solid var(--line); border-radius: 13px; text-align: center; background: rgba(255,255,255,.18); }
.profile-page .referral-numbers strong,.profile-page .referral-numbers span { display: block; }
.profile-page .referral-numbers strong { font-size: 18px; overflow-wrap: anywhere; }
.profile-page .referral-numbers span { margin-top: 4px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.profile-page .coupon-card { padding: 18px; border: 1px dashed var(--line-strong); border-radius: 15px; background: var(--green-soft); text-align: center; }
.profile-page .coupon-card > span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.profile-page .coupon-card > strong { display: block; margin: 7px 0 16px; font: 600 27px/1 var(--serif); letter-spacing: .12em; }
.profile-page .coupon-card .form-field { text-align: left; }
.profile-page .coupon-card input { background: rgba(255,255,255,.42); font-size: 11px; }
.profile-page .coupon-empty,.profile-page .coupon-loading { min-height: 150px; padding: 24px; display: grid; place-items: center; gap: 10px; border: 1px dashed var(--line-strong); border-radius: 15px; color: var(--muted); text-align: center; font-family: var(--sans); font-size: 13px; }
.profile-page .coupon-empty svg { width: 34px; height: 34px; stroke-width: 1.3; }
.profile-page .coupon-create { grid-template-columns: auto minmax(0,1fr); place-items: start; text-align: left; }
.profile-page .coupon-create > div strong { display: block; color: var(--ink); font-size: 13px; }
.profile-page .coupon-create > div p { margin-top: 5px; font-size: 10px; line-height: 1.5; }
.profile-page .coupon-create .form-field { grid-column: 1 / -1; width: 100%; color: var(--ink); }
.profile-page .coupon-create .form-field > span { font-size: 10px; font-weight: 700; }
.profile-page .coupon-create .form-field input { padding: 0 12px; background: rgba(255,255,255,.42); }
.profile-page .coupon-create .form-field small { color: var(--muted); font-size: 9px; line-height: 1.45; }
.profile-page .referral-history { margin-top: 22px; }
.profile-page .referral-history h3 { margin-bottom: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.profile-page .referral-history > div { min-height: 46px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); font-size: 11px; }
.profile-page .referral-history small { color: var(--muted); }

@media (max-width: 460px) {
  .profile-page .referral-numbers { grid-template-columns: 1fr 1fr; }
  .profile-page .referral-numbers div:last-child { grid-column: 1 / -1; }
}
.profile-page .photo-tile.add { gap: 8px; align-content: center; font: 700 9px/1.45 Inter,sans-serif; text-align: center; }

.sidebar-profile .banana-person-photo,
.side-avatar .banana-person-photo,
.mini-avatar .banana-person-photo,
.avatar .banana-person-photo,
.match-avatar .banana-person-photo,
.all-match-avatar .banana-person-photo,
.conversation-avatar .banana-person-photo,
.chat-avatar .banana-person-photo,
.message-avatar .banana-person-photo,
.like-avatar .banana-person-photo,
.recent-avatar .banana-person-photo,
.profile-large-avatar .banana-person-photo,
.profile-avatar .banana-person-photo,
.portrait .banana-person-photo,
.photo-tile .banana-person-photo,
.banana-photo-placeholder {
  border-radius: 8px !important;
}

.portrait-wrap,
.photo-tile {
  aspect-ratio: 1 / 1 !important;
}

.portrait-wrap .backdrop {
  border-radius: 16px !important;
}

.spark,
.mobile-illustration::before,
.illustration::before {
  pointer-events: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--green-deep, #657849);
  outline-offset: 3px;
}

.banana-bio-search textarea {
  display: block;
  width: 100%;
  min-height: 86px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.45;
  resize: vertical;
}

.banana-bio-search {
  width: 100%;
  min-width: 0;
}

@media (max-width: 900px) {
  .discover-page .banana-bio-search {
    width: 100% !important;
    margin-top: 18px !important;
  }

  .discover-page .banana-bio-search textarea {
    width: 100% !important;
    min-height: 112px;
    resize: none;
  }
}

.banana-bio-search small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  line-height: 1.4;
}

.toast {
  max-width: min(440px, calc(100vw - 28px));
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal !important;
}

.name-line h1,
.name-line h2,
.chat-person h2,
.profile-copy h2 {
  overflow-wrap: anywhere;
}

.mobile-nav .active i {
  fill: none !important;
}

@media (max-width: 900px) {
  .shell > .mobile-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 35;
  }

  body.show-conversation-list .shell {
    display: block;
    height: 100dvh;
    padding-bottom: calc(70px + var(--safe-bottom));
  }

  body.show-conversation-list .conversations {
    display: flex;
    height: calc(100dvh - 70px - var(--safe-bottom));
    border-right: 0;
  }

  body.show-conversation-list .chat {
    display: none;
  }

  .profile-hero,
  .chat-head,
  .conversation,
  .like-row {
    min-width: 0;
  }

  .stage .main-info {
    position: relative;
    z-index: 3;
    margin-top: 12px !important;
  }
}

@media (max-width: 820px) {
  html.auth-page,
  body.auth-page {
    height: auto !important;
    min-height: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .auth-page .page {
    height: auto !important;
    min-height: 100dvh;
  }

  .auth-page .login-side,
  .auth-page .form-side {
    height: auto !important;
    min-height: 100dvh;
    align-items: start;
  }

  .auth-page .login-content,
  .auth-page .form-content {
    height: auto !important;
    min-height: 0;
    justify-content: flex-start !important;
    padding-top: 12px;
    padding-bottom: calc(24px + var(--safe-bottom));
  }

  .auth-page .mobile-illustration,
  .auth-page .mobile-illustration * {
    pointer-events: none !important;
  }

  .auth-page .field input,
  .auth-page .modal-field input {
    font-size: 16px !important;
  }

  .auth-page .banana-wordmark {
    font-size: clamp(62px, 20vw, 112px);
  }
}

@media (max-width: 820px) and (max-height: 650px) {
  .auth-page .mobile-illustration {
    height: 140px !important;
  }
}

body.banana-profile-open {
  overflow: hidden !important;
}

.banana-profile-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(35, 30, 26, .58);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

.banana-profile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.banana-profile-dialog {
  position: relative;
  width: min(880px, 100%);
  max-height: min(780px, calc(100dvh - 48px));
  overflow: hidden;
  border: 1px solid var(--line-strong, rgba(53, 46, 39, .28));
  border-radius: 20px;
  background: var(--paper, #fbf6ee);
  box-shadow: 0 28px 80px rgba(35, 30, 26, .28);
  transform: translateY(16px) scale(.985);
  transition: transform .22s ease;
}

.banana-profile-overlay.open .banana-profile-dialog {
  transform: none;
}

.banana-profile-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(53, 46, 39, .2);
  border-radius: 50%;
  background: rgba(251, 246, 238, .9);
  color: var(--ink, #352e27);
  backdrop-filter: blur(8px);
}

.banana-profile-close svg {
  width: 21px;
  height: 21px;
}

.banana-profile-scroll {
  max-height: min(780px, calc(100dvh - 48px));
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(300px, 43%) minmax(0, 1fr);
}

.banana-profile-photo {
  position: sticky;
  top: 0;
  align-self: start;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #e8ded2;
}

.banana-profile-photo > #bananaProfilePhotoImage,
.banana-profile-photo > #bananaProfilePhotoImage .banana-person-photo {
  width: 100%;
  height: 100%;
}

.banana-profile-photo-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #171411;
  background: rgba(248, 242, 232, .82);
  backdrop-filter: blur(6px);
  transform: translateY(-50%);
  cursor: pointer;
}

.banana-profile-photo-nav.previous { left: 12px; }
.banana-profile-photo-nav.next { right: 12px; }
.banana-profile-photo-nav[hidden] { display: none; }
.banana-profile-photo-nav svg { width: 20px; height: 20px; }

.banana-profile-photo-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 14px;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.banana-profile-photo-dots[hidden] { display: none; }
.banana-profile-photo-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .58);
  cursor: pointer;
}
.banana-profile-photo-dots button.active { width: 18px; border-radius: 8px; background: #fff; }

.banana-profile-photo .banana-person-photo {
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  object-fit: cover !important;
}

.banana-profile-content {
  min-width: 0;
  padding: 54px clamp(24px, 4vw, 48px) 42px;
}

.banana-profile-kicker {
  margin: 0 0 8px;
  color: var(--muted, #82786f);
  font: 700 10px/1.2 var(--sans, Inter, sans-serif);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.banana-profile-content h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.banana-profile-location {
  margin: 12px 0 0;
  color: var(--muted, #82786f);
  font: 500 12px/1.45 var(--sans, Inter, sans-serif);
}

.banana-profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.banana-profile-chips span {
  padding: 7px 11px;
  border: 1px solid var(--line, rgba(53, 46, 39, .14));
  border-radius: 999px;
  background: rgba(255, 255, 255, .25);
  font: 600 10px/1 var(--sans, Inter, sans-serif);
}

.banana-profile-about {
  margin-top: 30px;
}

.banana-profile-about h3 {
  margin: 0 0 9px;
  font: 700 10px/1.2 var(--sans, Inter, sans-serif);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.banana-profile-about p {
  margin: 0;
  font: 400 14px/1.72 var(--sans, Inter, sans-serif);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.banana-profile-details {
  display: grid;
  grid-template-columns: minmax(86px, auto) 1fr;
  gap: 0 18px;
  margin: 28px 0 0;
  border-top: 1px solid var(--line, rgba(53, 46, 39, .14));
}

.banana-profile-details dt,
.banana-profile-details dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line, rgba(53, 46, 39, .14));
  font: 500 11px/1.35 var(--sans, Inter, sans-serif);
}

.banana-profile-details dt {
  color: var(--muted, #82786f);
}

.banana-profile-details dd {
  text-align: right;
}

@media (max-width: 680px) {
  .banana-profile-overlay {
    display: block;
    padding: 0;
    background: var(--paper, #fbf6ee);
  }

  .banana-profile-dialog,
  .banana-profile-scroll {
    width: 100%;
    max-height: 100dvh;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .banana-profile-scroll {
    display: block;
    padding-bottom: calc(28px + var(--safe-bottom, 0px));
  }

  .banana-profile-photo {
    position: relative;
    width: 100vw;
    aspect-ratio: 1/1;
  }

  .banana-profile-content {
    padding: 24px 16px 36px;
  }

  .banana-profile-content h2 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .banana-profile-about p {
    font-size: 13px;
    line-height: 1.68;
  }
}

.matches-card .new-ring::after {
  border-radius: 16px !important;
}

@media (max-width: 560px) {
  .stage .portrait,
  .stage .photo-frame,
  .stage .photo-frame .banana-person-photo {
    border-radius: 0 !important;
  }
}

.brand-letter {
  position: relative;
  width: 22px;
  height: auto;
  aspect-ratio: 21 / 26;
  display: block;
  color: transparent !important;
  font-size: 0;
  background: linear-gradient(90deg, #111 0 23.81%, transparent 23.81% 76.19%, #111 76.19% 100%);
  transform: none;
}

.brand-letter::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #111;
  clip-path: polygon(0 0, 23.81% 0, 100% 100%, 76.19% 100%);
}

/* A foto principal do próprio usuário é a exceção circular da página Perfil. */
.profile-page .avatar-stage .profile-avatar,
.profile-page .avatar-stage .profile-avatar .banana-person-photo,
.profile-page .avatar-stage .profile-avatar .banana-photo-placeholder,
.profile-page .sidebar-profile,
.profile-page .sidebar-profile .banana-person-photo,
.profile-page .sidebar-profile .banana-photo-placeholder {
  border-radius: 50% !important;
}

.discover-page .top-icon {
  border: 1px solid var(--line, rgba(53, 46, 39, .18));
  border-radius: 12px;
  background: rgba(255, 255, 255, .22);
  box-shadow: 0 5px 18px rgba(53, 46, 39, .05);
}

.discover-page .top-icon:hover,
.discover-page .top-icon:focus-visible {
  border-color: var(--line2, rgba(53, 46, 39, .36));
  background: rgba(255, 255, 255, .46);
}

.discover-page .filter-panel {
  max-height: calc(100dvh - 104px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(53, 46, 39, .25) transparent;
}

/* O menu faz parte do fluxo do filtro: nunca usa coordenadas da viewport. */
.discover-page .custom-select {
  position: relative;
}

.discover-page .custom-select-menu {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: 100% !important;
  max-height: min(260px, 34dvh) !important;
  margin-top: 6px;
  overscroll-behavior: contain;
}

.discover-page .custom-select.menu-open {
  z-index: 9;
  padding-bottom: 0 !important;
}

.filter-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.filter-panel-head span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted, #83796f);
  font: 700 9px/1.2 var(--sans, Inter, sans-serif);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.filter-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line, rgba(53, 46, 39, .18));
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
}

.filter-close svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  html.discover-page-root,
  body.discover-page {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  html.discover-page-root.discovery-filter-open,
  body.discover-page.discovery-filter-open {
    height: 100% !important;
    overflow: hidden !important;
  }

  .discover-page .app,
  .discover-page .main,
  .discover-page .layout,
  .discover-page .stage {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .discover-page .app {
    min-height: 100dvh !important;
  }

  .discover-page .main {
    padding-bottom: calc(112px + var(--safe, 0px)) !important;
  }

  .discover-page .topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(251, 246, 238, .96);
    backdrop-filter: blur(12px);
  }

  .discover-page .stage {
    padding-bottom: 34px !important;
  }

  .discover-page .main-info {
    padding-bottom: 12px;
  }

  .discover-page .actions {
    margin-bottom: 18px;
  }

  .discover-page .filter-panel {
    top: auto !important;
    right: 8px !important;
    bottom: calc(8px + var(--safe, 0px)) !important;
    left: 8px !important;
    width: auto !important;
    max-height: calc(100dvh - 16px - var(--safe, 0px)) !important;
    padding: 0 18px 18px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid var(--line2, rgba(53, 46, 39, .36)) !important;
    border-radius: 22px !important;
    touch-action: pan-y;
    scroll-padding: 82px 0;
  }

  .discover-page .filter-panel-head {
    position: sticky;
    top: 0;
    z-index: 7;
    margin: 0 -2px;
    padding: 18px 2px 13px;
    border-bottom: 1px solid var(--line, rgba(53, 46, 39, .18));
    background: rgba(251, 246, 238, .97);
    backdrop-filter: blur(10px);
  }

  .discover-page .filter-footer {
    position: sticky;
    bottom: -18px;
    z-index: 7;
    margin: 18px -2px -18px;
    padding: 12px 2px calc(12px + var(--safe, 0px));
    background: rgba(251, 246, 238, .97);
    backdrop-filter: blur(10px);
  }

  .discover-page .filter-footer button {
    min-width: 92px;
  }

  .discover-page .custom-select-menu {
    max-height: min(240px, 36dvh) !important;
  }
}

/* Palavra completa: sans-serif forte e limpa. A fita fica exclusiva do N solitário. */
.auth-page .nos-wordmark-ribbon {
  width: min(430px, 86%) !important;
  display: grid !important;
  place-items: center !important;
  transform: none !important;
  color: #050505 !important;
  font-size: inherit !important;
  letter-spacing: 0 !important;
}

.auth-page .nos-wordmark .nos-wordmark-text {
  display: block !important;
  color: #050505 !important;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif !important;
  font-size: clamp(78px, 12vw, 158px) !important;
  font-style: normal !important;
  font-weight: 800 !important;
  line-height: .88 !important;
  letter-spacing: -.045em !important;
  text-transform: none !important;
  white-space: nowrap;
  transform: none;
}

.install-login-btn {
  width: 100%;
  min-height: 58px;
  margin-top: 4px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong, rgba(53, 46, 39, .4));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, .16);
  font-family: Inter, system-ui, sans-serif;
  text-align: left;
}

.install-login-btn:hover { background: rgba(17, 17, 17, .07); }
.install-login-btn svg { width: 21px; height: 21px; }
.install-login-btn span { display: flex; flex-direction: column; gap: 3px; }
.install-login-btn strong { font-size: 11px; }
.install-login-btn small { color: var(--muted, #81776d); font-size: 8.5px; font-weight: 500; }

.identity-search-hint {
  display: block;
  margin-top: 6px;
  color: var(--muted, #81776d);
  font: 500 9px/1.45 Inter, system-ui, sans-serif;
}

.discover-page .filter-bio textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px 13px;
  border: 1px solid var(--line, rgba(53, 46, 39, .18));
  border-radius: 12px;
  display: block;
  background: rgba(255, 255, 255, .2);
  resize: vertical;
  outline: 0;
  font: 500 12px/1.5 Inter, system-ui, sans-serif;
}

.discover-page .filter-bio textarea:focus {
  border-color: var(--line2, rgba(53, 46, 39, .36));
  background: rgba(255, 255, 255, .38);
}

.profile-handle {
  margin-top: 8px;
  color: var(--muted, #81776d);
  font: 700 11px/1.2 Inter, system-ui, sans-serif;
  letter-spacing: .02em;
}

.revealed-secret {
  padding: 16px;
  border: 1px solid #111;
  border-radius: 14px;
  background: rgba(17, 17, 17, .07);
}
.revealed-secret[hidden] { display: none !important; }
.revealed-secret h3 { display: flex; align-items: center; gap: 7px; }
.revealed-secret h3 svg { width: 17px; }
.revealed-secret p { margin-top: 9px !important; font-style: italic; }

.conversation-secret {
  align-self: center;
  width: min(520px, 92%);
  margin: 4px auto 12px;
  padding: 14px 16px;
  border: 1px solid #111;
  border-radius: 14px;
  background: rgba(17, 17, 17, .07);
  font-family: Inter, system-ui, sans-serif;
  text-align: center;
}
.conversation-secret svg { width: 18px; margin: 0 auto 7px; }
.conversation-secret strong { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.conversation-secret p { margin-top: 8px; font-size: 11px; line-height: 1.5; font-style: italic; }

.secret-like-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(22, 19, 17, .42);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}

.secret-like-overlay.open { opacity: 1; pointer-events: auto; }
.secret-like-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: 92dvh;
  overflow-y: auto;
  padding: 30px;
  border: 1px solid var(--line2, rgba(53, 46, 39, .36));
  border-radius: 22px;
  background: var(--paper, #fbf6ee);
  transform: translateY(16px) scale(.985);
  transition: .2s ease;
}

.secret-like-overlay.open .secret-like-dialog { transform: none; }
.secret-like-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 1px solid var(--line, rgba(53,46,39,.19)); border-radius: 50%; display: grid; place-items: center; }
.secret-like-close svg { width: 18px; }
.secret-like-kicker { padding-right: 45px; font: 800 9px/1.2 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted, #81776d); }
.secret-like-dialog h2 { margin: 9px 0 0; padding-right: 45px; font: 600 36px/.95 var(--serif, Georgia, serif); }
.secret-like-copy { margin: 13px 0 0; max-width: 450px; color: var(--muted, #81776d); font: 500 11px/1.55 Inter, sans-serif; }
.like-mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 20px; }
.like-mode { min-height: 108px; padding: 15px; border: 1px solid var(--line, rgba(53,46,39,.19)); border-radius: 14px; display: grid; grid-template-columns: 24px 1fr; align-content: center; column-gap: 9px; background: rgba(255,255,255,.14); text-align: left; }
.like-mode.active { border-color: #111; background: #111; color: #fffaf3; box-shadow: none; }
.like-mode svg { grid-row: 1/3; width: 21px; }
.like-mode strong { font: 800 11px/1.2 Inter, sans-serif; }
.like-mode span { margin-top: 5px; color: var(--muted, #81776d); font: 500 9px/1.4 Inter, sans-serif; }
.secret-message-field { position: relative; display: block; margin-top: 16px; }
.secret-message-field[hidden] { display: none !important; }
.secret-message-field>span { display: block; margin-bottom: 7px; font: 750 10px/1.2 Inter, sans-serif; }
.secret-message-field small { color: var(--muted, #81776d); font-weight: 500; }
.secret-message-field textarea { width: 100%; min-height: 104px; padding: 13px 13px 27px; border: 1px solid var(--line, rgba(53,46,39,.19)); border-radius: 13px; background: rgba(255,255,255,.18); resize: vertical; font: 500 11px/1.5 Inter, sans-serif; outline: none; }
.secret-message-field output { position: absolute; right: 11px; bottom: 10px; color: var(--muted, #81776d); font: 600 8px/1 Inter, sans-serif; }
.secret-like-confirm { width: 100%; min-height: 49px; margin-top: 14px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 9px; background: #111; color: #fffaf3; font: 800 11px/1 Inter, sans-serif; }
.secret-like-confirm svg { width: 19px; }
body.secret-like-open { overflow: hidden !important; }

@media (max-width: 820px) {
  .auth-page .nos-wordmark .nos-wordmark-text {
    font-size: clamp(68px, 21vw, 94px) !important;
    letter-spacing: -.045em !important;
  }
}

@media (max-width: 560px) {
  .secret-like-overlay { padding: 0; align-items: end; }
  .secret-like-dialog { width: 100%; max-height: 94dvh; padding: 25px 18px calc(22px + var(--safe, 0px)); border-right: 0; border-bottom: 0; border-left: 0; border-radius: 22px 22px 0 0; transform: translateY(100%); }
  .like-mode-grid { grid-template-columns: 1fr; }
  .like-mode { min-height: 82px; }
}

@media (max-width: 900px) {
  .discover-page .filter-panel {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-height: none !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: translateY(100%) !important;
  }

  .discover-page .filter-panel.open {
    transform: none !important;
  }
}

/* Estados vazios reais. */
.conversation-empty,
.empty-chat-state {
  min-height: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--muted, #81776d);
  font-family: Inter, system-ui, sans-serif;
  text-align: center;
}
.conversation-empty svg,
.empty-chat-state svg { width: 34px; height: 34px; stroke-width: 1.3; }
.conversation-empty strong,
.empty-chat-state strong { color: var(--ink, #211d19); font-size: 14px; }
.conversation-empty span,
.empty-chat-state span { max-width: 330px; font-size: 11px; line-height: 1.55; }
.empty-chat .chat-avatar,
.empty-chat .more-btn,
.empty-chat .composer-wrap { display: none !important; }
.empty-chat .chat-head { grid-template-columns: 44px minmax(0,1fr); }
.empty-chat .chat-person { pointer-events: none; }
.empty-chat .chat-person p::before { display: none; }
