/* Sinuca Pix Online — estilos da aba Social, da entrada por e-mail e da proteção da conta. */

/* ABA SOCIAL */
.social { display: grid; gap: 12px; }
.social > h2 { margin: 10px 0 0; }
.soc-h2-nota { order: 1; font-family: Archivo, system-ui, sans-serif; font-weight: 700; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.soc-secoes .chip { display: inline-flex; align-items: center; gap: 7px; }
.soc-num { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--vermelho); color: #fff; font-family: Archivo, system-ui, sans-serif; font-style: normal; font-weight: 900; font-size: 10px; line-height: 18px; text-align: center; }
.soc-ao-vivo { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--vermelho); animation: soc-pulso 1.6s ease-out infinite; }
@keyframes soc-pulso { 0% { box-shadow: 0 0 0 0 rgba(255,93,93,.65); } 70%, 100% { box-shadow: 0 0 0 7px rgba(255,93,93,0); } }

.soc-grade { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.soc-cartao { display: grid; gap: 8px; align-content: start; padding: 14px; }
.soc-cartao .miudo { margin: 0; }
.soc-rotulo { font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.soc-codigo { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.1; letter-spacing: .22em; text-align: center; padding: 12px 0 10px .22em; border-radius: 14px; background: #0c1411; border: 1px dashed var(--ouro); color: var(--ouro); user-select: all; -webkit-user-select: all; }
.soc-cartao .btn { min-height: 42px; padding: 0 12px; font-size: 14px; }
.soc-cartao form.linha { flex-wrap: nowrap; margin-top: auto; }
.soc-cartao form.linha input { min-width: 0; }
.soc-campo-codigo { text-transform: uppercase; letter-spacing: .2em; text-align: center; }
.soc-campo-codigo::placeholder { letter-spacing: 0; text-transform: none; font-weight: 500; }

/* amigos e pedidos */
.soc-lista { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.soc-linha { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 8px 9px 12px; border-radius: 16px; background: rgba(0,0,0,.25); border: 1px solid var(--linha); }
.soc-linha.online { border-color: rgba(43,214,123,.45); background: linear-gradient(90deg, rgba(43,214,123,.12), rgba(0,0,0,.25) 62%); }
.soc-linha.jogando { border-color: rgba(244,197,66,.42); background: linear-gradient(90deg, rgba(244,197,66,.09), rgba(0,0,0,.25) 62%); }
.soc-linha.offline .mold { filter: grayscale(.85); opacity: .65; }
.soc-linha.offline .soc-quem b { color: #b9c9bf; }
.soc-linha.pedido { border-color: rgba(95,192,255,.5); background: linear-gradient(90deg, rgba(47,159,208,.16), rgba(0,0,0,.25) 62%); padding-right: 10px; }
.soc-quem, .soc-txt { display: grid; gap: 2px; min-width: 0; }
.soc-quem b, .soc-txt b { display: flex; align-items: center; gap: 6px; min-width: 0; font-family: var(--display); font-weight: 400; font-size: 15px; }
.soc-quem b span:first-child, .soc-txt b span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soc-quem small, .soc-txt small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soc-ponto { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #5b6b73; }
.soc-linha.online .soc-ponto { background: var(--verde); box-shadow: 0 0 8px rgba(43,214,123,.8); }
.soc-linha.jogando .soc-ponto { background: var(--ouro); box-shadow: 0 0 8px rgba(244,197,66,.7); }
.soc-linha.online small { color: #9be8bf; }
.soc-linha.jogando small { color: var(--ouro2); }
.soc-acoes { display: flex; align-items: center; gap: 6px; }
.soc-acoes .btn { min-height: 38px; padding: 0 14px; font-size: 13px; }
.soc-tirar { flex: none; width: 34px; height: 34px; border-radius: 50%; font-size: 21px; line-height: 1; color: var(--fraco); transition: color .15s, background .15s; }
.soc-tirar:hover, .soc-tirar:focus-visible { color: #ffb0b0; background: rgba(255,93,93,.14); outline: none; }

/* clube */
.soc-clube-topo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; background: linear-gradient(120deg, rgba(244,197,66,.22), rgba(16,26,21,.96) 62%), #101a15; }
.soc-brasao { flex: none; display: grid; place-items: center; width: 54px; height: 60px; padding-bottom: 6px; font-style: normal; font-family: var(--display); font-size: 26px; color: #2a1c00; text-transform: uppercase; background: linear-gradient(180deg, #ffe07a, #e9a914); clip-path: polygon(50% 0, 100% 14%, 100% 62%, 50% 100%, 0 62%, 0 14%); text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.soc-brasao.pequeno { width: 32px; height: 36px; padding-bottom: 4px; font-size: 15px; }
.soc-clube-nome { display: grid; gap: 2px; min-width: 0; }
.soc-clube-nome b { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.15; overflow-wrap: anywhere; }
.soc-clube-pontos { display: grid; justify-items: end; text-align: right; }
.soc-clube-pontos b { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1; color: var(--ouro); font-variant-numeric: tabular-nums; }
.soc-rank > div { grid-template-columns: 22px auto minmax(0, 1fr) auto; }
.soc-pts { font-family: var(--display); font-weight: 400; color: var(--ouro); white-space: nowrap; font-variant-numeric: tabular-nums; }
.soc-pts small { font-family: Archivo, system-ui, sans-serif; font-weight: 700; }
.soc-dono { flex: none; font-family: Archivo, system-ui, sans-serif; font-style: normal; font-size: 9px; font-weight: 900; letter-spacing: .07em; line-height: 15px; text-transform: uppercase; padding: 0 6px; border-radius: 6px; color: var(--ouro); border: 1px solid rgba(244,197,66,.5); }

/* partidas ao vivo */
.soc-vivo { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.soc-partida { display: grid; gap: 12px; padding: 14px; }
.soc-duelo { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.soc-jog { display: grid; justify-items: center; gap: 7px; min-width: 0; text-align: center; }
.soc-jog b { max-width: 100%; font-family: var(--display); font-weight: 400; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soc-x { font-style: normal; font-family: var(--display); font-size: 22px; color: var(--ouro); opacity: .85; }
.soc-partida-pe { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.soc-partida-pe .soc-txt b { font-size: 14px; }
.soc-partida-pe .soc-txt small { white-space: normal; line-height: 1.35; }
.soc-partida-pe .btn { flex: none; min-height: 40px; padding: 0 18px; font-size: 14px; }
.soc-nota { margin: 2px 2px 0; font-size: 12px; }

/* nada para mostrar e espera */
.soc-vazio { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 22px 16px; border-radius: 16px; border: 1px dashed var(--linha); background: rgba(0,0,0,.18); }
.soc-vazio > b { font-family: var(--display); font-weight: 400; font-size: 16px; }
.soc-vazio .miudo { margin: 0; max-width: 430px; }
.soc-vazio.grande { gap: 10px; padding: 30px 18px 26px; border-style: solid; border-color: rgba(244,197,66,.26); border-radius: 18px; }
.soc-vazio.grande > b { font-size: 19px; }
.soc-bola8 { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 4px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #6d7a73 0, #1b211e 34%, #050706 72%); box-shadow: 0 12px 18px rgba(0,0,0,.5), 0 0 0 6px rgba(244,197,66,.07); animation: flutua 4s ease-in-out infinite; }
.soc-bola8 i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #f3f1e6; color: #111; font-style: normal; font-family: var(--display); font-size: 17px; line-height: 1; }
.soc-espera { display: grid; justify-items: center; gap: 8px; padding: 22px 12px; }

/* janelas: desafiar e convite */
.soc-desafio-topo { display: flex; align-items: center; gap: 14px; padding-right: 30px; }
.soc-desafio-topo .soc-txt b { font-size: 18px; }
.soc-desafio-topo em { font-style: normal; font-weight: 900; color: var(--ouro); }
.ficha.soc-sem { opacity: .45; }
.soc-convite { gap: 12px; }
.soc-convite-mesa { display: grid; gap: 4px; text-align: center; padding: 12px; border-radius: 14px; background: #0c1411; border: 1px dashed var(--ouro); }
.soc-convite-mesa b { font-family: var(--display); font-weight: 400; font-size: 17px; color: var(--ouro); }
.soc-convite-mesa small { font-size: 13px; }
.soc-alerta { color: #ffcf8a; text-align: center; line-height: 1.4; }
.soc-tempo { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.09); overflow: hidden; }
.soc-tempo i { display: block; height: 100%; border-radius: 2px; background: var(--ouro); transform-origin: left center; animation: soc-esvazia 60s linear forwards; }
@keyframes soc-esvazia { to { transform: scaleX(0); } }

/* ENTRADA POR E-MAIL */
#entrada-email { margin-top: 12px; }
.soc-link { display: inline-block; padding: 8px 10px; font-size: 14px; font-weight: 700; color: var(--ouro2); text-decoration: underline; text-underline-offset: 3px; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.soc-entrar { display: grid; gap: 10px; text-align: left; padding: 16px; }
.soc-entrar label { font-size: 13px; color: var(--fraco); font-weight: 700; }
.soc-entrar .soc-link { justify-self: center; padding: 4px 10px; font-size: 13px; text-shadow: none; }
.soc-erro { margin: 0; padding: 9px 12px; border-radius: 12px; font-size: 13px; font-weight: 700; line-height: 1.35; color: #ffb0b0; background: rgba(255,93,93,.1); border: 1px solid rgba(255,93,93,.4); }

/* PROTEGER A CONTA (janela do perfil) */
.soc-conta { display: grid; gap: 9px; padding: 14px; border-radius: 16px; background: rgba(0,0,0,.25); border: 1px solid var(--linha); }
.soc-conta > b { font-family: var(--display); font-weight: 400; font-size: 16px; }
.soc-conta.alerta { border-color: rgba(244,197,66,.55); background: linear-gradient(180deg, rgba(244,197,66,.1), rgba(0,0,0,.25)); }
.soc-conta.alerta > b { color: var(--ouro); }
.soc-conta.ok { border-color: rgba(43,214,123,.45); }
.soc-conta.ok > b { color: var(--verde); }
.soc-conta .miudo { margin: 0; }
.soc-conta .btn { min-height: 42px; padding: 0 12px; font-size: 13px; }
.soc-conta input { height: 46px; font-size: 16px; }
.soc-email { color: var(--texto); overflow-wrap: anywhere; }
.soc-conta-resumo { margin: 8px 2px 0; }
.soc-conta-resumo b { color: var(--texto); }

@media (max-width: 430px) {
  .soc-codigo { font-size: 30px; }
  /* pedido de amizade: os dois botões descem para baixo do nome */
  .soc-linha.pedido { grid-template-columns: auto minmax(0, 1fr); }
  .soc-linha.pedido .soc-acoes { grid-column: 1 / -1; }
  .soc-linha.pedido .soc-acoes .btn { flex: 1; }
  .soc-clube-topo { gap: 10px; padding: 12px; }
  .soc-clube-nome b { font-size: 17px; }
  .soc-clube-pontos b { font-size: 24px; }
}
