/* POP-UP DE SAIDA: 5 TESTES (07/10/2026) — ver assets/js/popup-saida.js */

/* Botao "‹ Voltar" (t3 fixo, t4 no gesto): canto de baixo a esquerda, igual ao da pagina de teste. */
.ps-voltar {
  position: fixed;
  left: 12px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 9000;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 99px;
  background: #111;
  color: #fff;
  font: 700 16px Arial, Helvetica, sans-serif;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.ps-voltar[hidden] { display: none; }

/* Barras iguais as do navegador do app (t1 no gesto, t5 em tela cheia). Instagram escuro, Facebook claro. */
.ps-barra {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 9001;
  display: flex;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.ps-barra[hidden] { display: none; }
.ps-barra-topo {
  top: 0;
  height: calc(64px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 14px 0;
  gap: 12px;
}
.ps-barra-baixo {
  bottom: 0;
  height: calc(70px + env(safe-area-inset-bottom));
  padding: 0 16px env(safe-area-inset-bottom);
  justify-content: space-between;
}
.ps-btn {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  touch-action: manipulation;
}
.ps-dominio {
  flex: 1;
  min-width: 0;
  text-align: center;
  line-height: 1.25;
}
.ps-dominio strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
}
.ps-dominio strong svg { vertical-align: -1px; }
.ps-dominio small { display: block; font-size: 13px; }

/* Instagram: escuro, botoes redondos com fundo. */
.ps-ig { background: #121212; color: #fff; }
.ps-ig .ps-btn { background: #262626; }
.ps-ig.ps-barra-baixo .ps-btn { background: transparent; border: 1.5px solid #3a3a3a; }
.ps-ig .ps-dominio small { color: #a8a8a8; }
.ps-ig .ps-apagado { color: #6b6b6b; }

/* Facebook: claro, icones soltos. */
.ps-fb { background: #fff; color: #1c1e21; }
.ps-fb.ps-barra-topo { border-bottom: 1px solid #e4e6eb; }
.ps-fb.ps-barra-baixo { border-top: 1px solid #e4e6eb; color: #4b4f56; justify-content: space-around; }
.ps-fb .ps-dominio small { color: #65676b; }
.ps-fb .ps-apagado { color: #bcc0c4; }

/* Tela cheia (t5): as nossas barras ficam no lugar das do app, entao a pagina abre espaco pra elas. */
.ps-com-barras .x1-topbar { top: calc(64px + env(safe-area-inset-top)); }
.ps-com-barras .x1-chat-area {
  padding-top: calc(92px + 64px + env(safe-area-inset-top));
  padding-bottom: calc(112px + 70px + env(safe-area-inset-bottom));
}
