/* mod/conta.css — topo, janelas de login/cadastro, Pix e perfil. Medidas tiradas da 1win.io (02/11/2026, 1440 e 390). */
:root {
  --ct-ink: #141415;
  --ct-sub: #53575f;
  --ct-ico: #6f7480;
  --ct-campo: rgba(169, 172, 180, .12);
  --ct-campo-h: rgba(169, 172, 180, .2);
  --ct-linha: rgba(179, 182, 189, .16);
  --ct-azul: #0075ff;
  --ct-azul-h: #006eec;
  --ct-verde: #00b24b;
  --ct-verde-h: #00a545;
  --ct-erro: #ff614d;
  --ct-cash: #e8a400;
}

/* ---- topo ---- */
.ct-topo-btn {
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: rgba(179, 182, 189, .12);
  color: #f0f2f5;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .1s;
}
.ct-topo-btn:hover { background: rgba(179, 182, 189, .2); }
.ct-topo-btn.ct-verde { background: var(--ct-verde); color: #fff; }
.ct-topo-btn.ct-verde:hover { background: var(--ct-verde-h); }
.ct-topo-btn:active, .ct-btn:active { opacity: .86; }
#top-acts { flex: 0 1 auto; min-width: 0; }
#top-acts > * { flex: none; }
#top-acts > .ct-saldo { flex: 0 1 auto; min-width: 0; }
.ct-saldo span, .ct-saldo strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-curto { display: none; }
.bell-dot[hidden], .ndot[hidden] { display: none; }
.ct-sino svg { display: block; }

/* ---- janela ---- */
body.ct-trava { overflow: hidden; }
.ct-fundo {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(0, 0, 0, .8);
  opacity: 0;
  transition: opacity .3s;
}
.ct-fundo.on { opacity: 1; }
.ct-card {
  width: 390px;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ct-ink);
  border-radius: 24px;
  font-size: 14px;
  line-height: 20px;
  transform: translateY(12px);
  transition: transform .3s cubic-bezier(0, 0, .25, 1);
  scrollbar-width: thin;
}
.ct-fundo.on .ct-card { transform: none; }
/* perfil: painel à direita, embaixo do topo, como o menu da conta */
.ct-fundo.ct-lado { align-items: flex-start; justify-content: flex-end; padding: calc(var(--top) + 8px) var(--gutter) 24px; }
.ct-cab {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 20px 16px;
  background: #fff;
}
.ct-card:focus { outline: none; }
.ct-cab h2 {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 28px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -.59px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ct-ic {
  flex: none;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ct-ico);
  display: grid;
  place-items: center;
}
.ct-ic:hover { color: var(--ct-ink); }
/* subpágina (com voltar): título menor, como o cabeçalho interno da 1win */
.ct-cab:has(.ct-volta:not([hidden])) h2 { font-size: 20px; line-height: 24px; letter-spacing: -.33px; }
.ct-ic[hidden] { display: none; }
.ct-volta { margin-left: -4px; }
.ct-corpo { padding: 0 20px 20px; }
.ct-corpo form { margin: 0; }
.ct-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ct-etapa { margin: 0; padding: 0; border: 0; min-width: 0; }
.ct-etapa[hidden] { display: none; }

/* ---- campos ---- */
.ct-campo { margin-bottom: 12px; }
.ct-campo.ct-perto { margin-bottom: 8px; }
.ct-in {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--ct-campo);
  color: var(--ct-sub);
  cursor: text;
  transition: border-color .1s;
}
.ct-in:focus-within { border-color: rgba(0, 117, 255, .68); }
.ct-campo.err .ct-in { border-color: var(--ct-erro); }
.ct-in input, .ct-in select {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ct-ink);
  font: inherit;
  font-size: 14px;
  line-height: 20px;
}
.ct-in select { cursor: pointer; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%236f7480' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 20px no-repeat; padding-right: 22px; }
.ct-in select:invalid, .ct-in select option[value=""] { color: var(--ct-sub); }
.ct-in input::placeholder { color: var(--ct-sub); opacity: 1; }
.ct-in input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #f1f2f4 inset; -webkit-text-fill-color: var(--ct-ink); }
.ct-ico { flex: none; width: 16px; height: 16px; color: var(--ct-ico); display: grid; place-items: center; }
.ct-ico svg { display: block; }
.ct-div { flex: none; width: 1px; height: 16px; background: var(--ct-linha); }
.ct-ddi, .ct-moeda { flex: none; display: inline-flex; align-items: center; gap: 8px; color: var(--ct-ink); font-size: 14px; font-weight: 600; }
.ct-ddi img { border-radius: 50%; }
.ct-moeda { color: var(--ct-sub); }
.ct-olho { flex: none; width: 24px; height: 24px; margin-right: -4px; padding: 0; border: 0; background: none; color: var(--ct-ico); display: grid; place-items: center; }
.ct-olho.on { color: var(--ct-azul); }
.ct-max { flex: none; height: 24px; padding: 2px; border: 0; background: none; color: var(--ct-azul); font-size: 14px; line-height: 20px; font-weight: 600; }
.ct-dica { margin: 8px 0 0; font-size: 12px; line-height: 16px; letter-spacing: .01px; color: var(--ct-sub); }
.ct-dica:empty { display: none; }
.ct-campo.err .ct-dica { color: var(--ct-erro); }
.ct-campo.ok .ct-dica { color: var(--ct-verde); }
.ct-par { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.ct-par.ct-par-uf { grid-template-columns: minmax(0, 1fr) 96px; }

/* ---- botões e textos ---- */
.ct-btn {
  width: 100%;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--ct-verde);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .1s, opacity .1s;
}
.ct-btn:hover { background: var(--ct-verde-h); }
.ct-btn:disabled { opacity: .5; cursor: not-allowed; }
.ct-btn:disabled:hover { background: var(--ct-verde); }
.ct-btn.azul { background: var(--ct-azul); }
.ct-btn.azul:hover { background: var(--ct-azul-h); }
.ct-btn.cinza { background: var(--ct-campo); color: var(--ct-ink); }
.ct-btn.cinza:hover { background: var(--ct-campo-h); }
.ct-btn[aria-busy] { cursor: progress; }
.ct-btn + .ct-btn { margin-top: 12px; }
.ct-link { padding: 0; border: 0; background: none; color: var(--ct-azul); font-size: 14px; line-height: 20px; font-weight: 600; }
.ct-link:hover { color: var(--ct-azul-h); }
.ct-link[hidden] { display: none; }
.ct-direita { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.ct-pe { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 16px 0 0; color: var(--ct-sub); font-size: 14px; line-height: 20px; text-align: center; }
.ct-pe[hidden] { display: none; }
/* no cadastro a 1win põe "Já possui uma conta? Entrar" numa linha só; no login fica empilhado */
.ct-cadastro .ct-pe { flex-direction: row; justify-content: center; gap: 8px; }
.ct-txt { margin: 0 0 12px; color: var(--ct-sub); font-size: 14px; line-height: 20px; }
.ct-erro { margin: 0 0 12px; color: var(--ct-erro); font-size: 14px; line-height: 20px; }
.ct-erro[hidden] { display: none; }
.ct-aviso { margin: 0 0 12px; padding: 12px; border-radius: 12px; background: var(--ct-campo); color: var(--ct-ink); font-size: 14px; line-height: 20px; }
.ct-aviso.ok { background: rgba(0, 178, 75, .12); color: #0a7a3a; }
.ct-aviso.err { background: rgba(255, 97, 77, .12); color: #c4321f; }
.ct-rot { margin: 4px 0 8px; font-size: 14px; line-height: 20px; font-weight: 600; }
.ct-carga { display: flex; justify-content: center; gap: 6px; padding: 32px 0; }
.ct-carga i { width: 8px; height: 8px; border-radius: 50%; background: var(--ct-ico); animation: ct-pisca 1s infinite ease-in-out; }
.ct-carga i:nth-child(2) { animation-delay: .15s; }
.ct-carga i:nth-child(3) { animation-delay: .3s; }
@keyframes ct-pisca { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* ---- cadastro ---- */
.ct-passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 8px; }
.ct-passos i { height: 4px; border-radius: 999px; background: var(--ct-campo-h); }
.ct-passos i.on { background: var(--ct-azul); }
.ct-passo { margin: 0 0 16px; color: var(--ct-sub); font-size: 12px; line-height: 16px; }
.ct-passo b { color: var(--ct-ink); font-weight: 600; }
/* 16px acima: soma com a margem de 12px do campo (colapsa em 16, como na 1win) */
.ct-promo-link { display: block; margin: 16px 0; }
.ct-promo[hidden] { display: none; }
.ct-check { display: flex; gap: 8px; margin: 0 0 16px; color: var(--ct-sub); font-size: 12px; line-height: 16px; letter-spacing: .01px; cursor: pointer; }
.ct-check span { padding-top: 2px; }
.ct-check a { color: var(--ct-azul); font-weight: 600; }
.ct-check b { color: var(--ct-ink); }
.ct-check input {
  appearance: none;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 2px solid #c2c6ce;
  border-radius: 6px;
  background: #fff center / 16px no-repeat;
  cursor: pointer;
}
.ct-check input:checked { border-color: var(--ct-azul); background-color: var(--ct-azul); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.ct-check input:focus-visible { outline: 2px solid rgba(0, 117, 255, .68); outline-offset: 2px; }
.ct-check.err input { border-color: var(--ct-erro); }

/* ---- depósito / saque ---- */
.ct-metodo { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px; margin-bottom: 16px; border: 2px solid var(--ct-azul); border-radius: 14px; }
.ct-metodo > svg { flex: none; }
.ct-metodo span { flex: 1; display: flex; flex-direction: column; }
.ct-metodo b { font-size: 14px; line-height: 20px; font-weight: 600; }
.ct-metodo small { color: var(--ct-sub); font-size: 12px; line-height: 16px; }
.ct-radio { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 6px solid var(--ct-azul); }
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.ct-chip { flex: 1 0 auto; height: 36px; padding: 0 8px; border: 0; border-radius: 10px; background: var(--ct-campo); color: var(--ct-ink); font-size: 14px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.ct-chip:hover { background: var(--ct-campo-h); }
.ct-chip.on { background: var(--ct-azul); color: #fff; }
.ct-bonus { display: grid; gap: 8px; margin-bottom: 12px; }
.ct-bonus[hidden] { display: none; }
.ct-opcao { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--ct-campo); cursor: pointer; }
.ct-opcao input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ct-azul); }
.ct-opcao span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ct-opcao b { font-weight: 600; }
.ct-opcao small { color: var(--ct-sub); font-size: 12px; line-height: 16px; }
.ct-pix { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ct-pix-valor { font-size: 28px; line-height: 32px; font-weight: 600; letter-spacing: -.59px; }
.ct-pix-st { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 16px; padding: 4px 12px; border-radius: 999px; background: var(--ct-campo); color: var(--ct-sub); font-size: 12px; line-height: 16px; }
.ct-pix-st i { width: 8px; height: 8px; border-radius: 50%; background: #f5a623; animation: ct-pisca 1.4s infinite; }
.ct-pix-st b { color: var(--ct-ink); font-variant-numeric: tabular-nums; }
.ct-pix-st.exp i { background: var(--ct-erro); animation: none; }
.ct-qr { width: 216px; height: 216px; padding: 8px; margin-bottom: 12px; border: 1px solid var(--ct-linha); border-radius: 16px; background: #fff; display: grid; place-items: center; }
.ct-qr svg { display: block; width: 100%; height: 100%; }
.ct-pix .ct-txt { margin-bottom: 12px; }
.ct-cola-box { width: 100%; max-height: 72px; overflow: auto; margin-bottom: 12px; padding: 10px 12px; border-radius: 12px; background: var(--ct-campo); color: var(--ct-ink); font: 12px/16px ui-monospace, Consolas, monospace; text-align: left; word-break: break-all; user-select: all; }
.ct-pix .ct-btn + .ct-btn { margin-top: 12px; }
.ct-feito { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 0 0; }
.ct-feito-ico { width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%; background: rgba(0, 178, 75, .16); color: var(--ct-verde); display: grid; place-items: center; }
.ct-feito.falhou .ct-feito-ico { background: rgba(255, 97, 77, .14); color: var(--ct-erro); }
.ct-feito.espera .ct-feito-ico { background: rgba(0, 117, 255, .12); color: var(--ct-azul); }
.ct-feito > b { font-size: 28px; line-height: 32px; font-weight: 600; letter-spacing: -.59px; }
.ct-feito h3 { margin: 8px 0 0; font-size: 16px; line-height: 22px; font-weight: 600; letter-spacing: -.12px; }
.ct-feito p { margin: 4px 0 20px; color: var(--ct-sub); }
.ct-info { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.ct-info div { padding: 10px 12px; border-radius: 12px; background: var(--ct-campo); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ct-info small { color: var(--ct-sub); font-size: 12px; line-height: 16px; }
.ct-info b { font-weight: 600; overflow-wrap: anywhere; }
.ct-seg { display: flex; gap: 3px; padding: 2px; margin-bottom: 12px; border-radius: 14px; background: var(--ct-campo); }
.ct-seg button { flex: 1; min-width: 0; height: 40px; padding: 0 8px; border: 0; border-radius: 12px; background: none; color: var(--ct-ink); font-size: 14px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.ct-seg button:hover { background: rgba(163, 171, 187, .16); }
.ct-seg button.on { background: var(--ct-azul); color: #fff; }

/* ---- perfil ---- */
.ct-saldo-card { padding: 16px; margin-bottom: 16px; border-radius: 16px; background: var(--ct-campo); }
.ct-saldo-l { display: flex; flex-direction: column; margin-bottom: 12px; }
.ct-saldo-l small { color: var(--ct-sub); font-size: 12px; line-height: 16px; }
.ct-saldo-l b { font-size: 28px; line-height: 32px; font-weight: 600; letter-spacing: -.59px; }
.ct-saldo-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ct-saldo-acts .ct-btn + .ct-btn { margin-top: 0; }
.ct-saldo-acts .ct-btn.cinza { background: #fff; }
.ct-saldo-acts .ct-btn.cinza:hover { background: #f4f5f7; }
.ct-menu { display: flex; flex-direction: column; gap: 2px; }
.ct-row {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--ct-ink);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-align: left;
}
.ct-row:hover { background: var(--ct-campo); }
.ct-row span { flex: 1; min-width: 0; }
.ct-row > svg { color: var(--ct-ico); flex: none; }
.ct-row em, .ct-msg-q em { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #ff4000; color: #fff; font-size: 12px; line-height: 20px; font-style: normal; font-weight: 600; text-align: center; }
.ct-sair { margin-top: 8px; border-top: 1px solid var(--ct-linha); border-radius: 0 0 12px 12px; color: var(--ct-sub); }
.ct-mi { flex: none; width: 20px; height: 20px; background: var(--ct-ico); -webkit-mask: var(--ico) center / 20px 20px no-repeat; mask: var(--ico) center / 20px 20px no-repeat; }
.ct-mi.ct-mi-svg { background: none; -webkit-mask: none; mask: none; color: var(--ct-ico); display: grid; place-items: center; }
.ct-mi-svg svg { width: 20px; height: 20px; }
.ct-filtros { display: flex; gap: 4px; margin-bottom: 8px; overflow-x: auto; scrollbar-width: none; }
.ct-filtros::-webkit-scrollbar { display: none; }
.ct-filtros button { flex: none; height: 32px; padding: 6px 12px; border: 0; border-radius: 999px; background: var(--ct-campo); color: var(--ct-ink); font-size: 14px; line-height: 20px; font-weight: 600; }
.ct-filtros button.on { background: var(--ct-ink); color: #fff; }
.ct-dia { margin: 16px 0 8px; color: var(--ct-sub); font-size: 12px; line-height: 16px; font-weight: 600; }
.ct-lista { display: flex; flex-direction: column; gap: 1px; border-radius: 16px; overflow: hidden; }
.ct-tx, .ct-msg { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--ct-campo); }
.ct-msg { width: 100%; border: 0; color: inherit; font: inherit; text-align: left; }
.ct-msg:hover { background: var(--ct-campo-h); }
.ct-msg.nova b { color: var(--ct-azul); }
.ct-tx-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ct-tx-m b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-tx-m small, .ct-tx-v small, .ct-msg-q small { color: var(--ct-sub); font-size: 12px; line-height: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-tx-v, .ct-msg-q { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.ct-tx-v b { font-weight: 600; white-space: nowrap; }
.ct-tx-v b.mais { color: var(--ct-verde); }
.ct-vazio { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 24px 8px; text-align: center; }
.ct-vazio .ct-mi { width: 48px; height: 48px; margin-bottom: 8px; border-radius: 50%; background-color: rgba(0, 117, 255, .12); -webkit-mask: none; mask: none; position: relative; }
.ct-vazio .ct-mi::after { content: ""; position: absolute; inset: 12px; background: var(--ct-azul); -webkit-mask: var(--ico) center / 24px 24px no-repeat; mask: var(--ico) center / 24px 24px no-repeat; }
.ct-vazio .ct-mi-svg::after { content: none; }
.ct-vazio .ct-mi-svg svg { width: 24px; height: 24px; color: var(--ct-azul); }
.ct-vazio b { font-size: 16px; line-height: 22px; font-weight: 600; letter-spacing: -.12px; }
.ct-vazio p { margin: 0; color: var(--ct-sub); }
.ct-fb { display: flex; flex-direction: column; gap: 6px; padding: 12px; margin-bottom: 8px; border-radius: 16px; background: var(--ct-campo); }
.ct-fb-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ct-fb-top span { font-weight: 600; }
.ct-fb-top b { flex: none; height: 24px; min-width: 56px; padding: 0 8px; border-radius: 8px; background: var(--ct-azul); color: #fff; font-weight: 600; line-height: 24px; text-align: center; }
.ct-fb-nome { margin: 0; color: var(--ct-sub); }
.ct-fb small { color: var(--ct-sub); font-size: 12px; line-height: 16px; }
.ct-fb .ct-btn { margin-top: 6px; }
.ct-fb-regras { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 0; }
.ct-fb-regras div { display: flex; flex-direction: column; }
.ct-fb-regras dt { color: var(--ct-sub); font-size: 12px; line-height: 16px; }
.ct-fb-regras dd { margin: 0; font-weight: 600; }
.ct-barra { height: 8px; border-radius: 999px; background: var(--ct-campo-h); overflow: hidden; }
.ct-barra i { display: block; height: 100%; border-radius: 999px; background: var(--ct-verde); }
/* cashback: pílula âmbar para diferenciar do bônus (azul) e da freebet, sem mudar o layout do cartão */
.ct-cb .ct-fb-top b { background: var(--ct-cash); }
.ct-dados { display: flex; flex-direction: column; gap: 1px; margin: 0 0 16px; border-radius: 16px; overflow: hidden; }
.ct-dados div { display: flex; flex-direction: column; gap: 2px; padding: 12px; background: var(--ct-campo); }
.ct-dados dt { color: var(--ct-sub); font-size: 12px; line-height: 16px; display: flex; align-items: center; gap: 6px; }
.ct-dados dd { margin: 0; font-weight: 600; word-break: break-word; }
.ct-selo { padding: 0 6px; border-radius: 999px; background: rgba(255, 97, 77, .14); color: #c4321f; font-size: 10px; line-height: 16px; font-style: normal; font-weight: 600; }
.ct-selo.ok { background: rgba(0, 178, 75, .14); color: #0a7a3a; }
.ct-dados + .ct-btn { margin-bottom: 12px; }
.ct-cfg { margin-bottom: 12px; }
.ct-cfg .ct-row { background: var(--ct-campo); }
.ct-cfg .ct-row:hover { background: var(--ct-campo-h); }
.ct-conversa { display: flex; flex-direction: column; gap: 8px; }
.ct-bolha { max-width: 88%; padding: 10px 12px; border-radius: 16px 16px 16px 4px; background: var(--ct-campo); }
.ct-bolha.eu { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: rgba(0, 117, 255, .12); }
.ct-bolha p { margin: 0 0 4px; white-space: pre-wrap; word-break: break-word; }
.ct-bolha small { color: var(--ct-sub); font-size: 12px; line-height: 16px; }

/* ---- aviso flutuante ---- */
.ct-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 70;
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  border-radius: 12px;
  background: #141415;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.ct-toast.on { opacity: 1; transform: translate(-50%, 0); }
.ct-toast.ok { background: #0b6b35; }
.ct-toast.err { background: #b3301f; }

/* ---- celular: folha que sobe de baixo, como a da 1win ---- */
@media (max-width: 800px) {
  .ct-topo-btn { height: 32px; padding: 0 12px; border-radius: 8px; }
  #top-acts[data-ct-estado="dentro"] { gap: 8px; }
  .ct-longo { display: none; }
  .ct-curto { display: inline; }
  /* folha de baixo da 1win: 24px de folga no topo (ou o notch), max-height calc(100% - folga), radius 24 24 0 0 */
  .ct-fundo, .ct-fundo.ct-lado { align-items: stretch; justify-content: stretch; padding: max(24px, env(safe-area-inset-top)) 0 0; }
  .ct-card { width: 100%; max-width: none; height: 100%; max-height: 100%; border-radius: 24px 24px 0 0; transform: translateY(48px); padding-bottom: env(safe-area-inset-bottom); }
  /* fechar alinhado ao topo do título (y 40 na 1win); no toque a 1win usa um título menor (22/26) que no PC (28/32) */
  .ct-cab { align-items: flex-start; padding: 17px 16px 12px; }
  .ct-cab h2 { font-size: 22px; line-height: 26px; letter-spacing: -.4px; }
  .ct-corpo { padding: 0 16px 16px; }
  /* 16px no toque evita o zoom automático do iOS ao focar o campo (a 1win usa 14px; diferença de propósito) */
  .ct-in input, .ct-in select { font-size: 16px; }
  /* depósito e saque: o botão primário vira rodapé fixo quando a lista de bônus/opções rola (como a 1win);
     a sombra branca (lados + topo, fora da caixa) tapa o que passa atrás ao rolar, sem cobrir o próprio botão nem o que vem depois.
     login/cadastro ficam na posição normal, como a folha da 1win (conteúdo cabe sem rolar) */
  .ct-deposito .ct-corpo form > .ct-btn[type="submit"],
  .ct-saque .ct-corpo form > .ct-btn[type="submit"] { position: sticky; bottom: 0; box-shadow: -16px 0 0 #fff, 16px 0 0 #fff, 0 -12px 0 #fff; }
  .ct-toast { bottom: 76px; }
}
@media (max-width: 360px) {
  .ct-topo-btn { padding: 0 10px; }
}
