/* account.css: conta online (login com Google), js/account.js. Cor da conta online: azul (a do progresso local é dourada). */
:root { --acc: #5fb8ff; --acc2: #2f7fd8; }

/* chip no menu principal */
.acctField { min-width: 0; }
.acctChip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; max-width: 240px; padding: 4px 14px 4px 6px; border-radius: 999px; border: 2px solid rgba(95, 184, 255, 0.55); background: rgba(16, 32, 70, 0.92); font-size: 15px; text-align: left; transition: background 0.15s, transform 0.08s; }
.acctChip:hover { background: rgba(30, 58, 120, 0.95); }
.acctChip:active { transform: translateY(1px); }
.acctChip.out { padding-left: 10px; }
.acctChip .acG { width: 20px; height: 20px; flex: none; background: #fff; border-radius: 50%; padding: 2px; box-sizing: border-box; }
.acChTx { display: flex; flex-direction: column; min-width: 0; line-height: 1.1; }
.acChNick { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.acChLv { color: var(--acc); font-size: 12px; white-space: nowrap; }
.acLvDot { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 15px; color: #061a33; background: radial-gradient(circle at 35% 30%, #bfe6ff, var(--acc) 60%, var(--acc2)); border: 2px solid #dff2ff; }

/* nivel online na lista da sala */
.nbLv { font-size: 11px; font-weight: 700; padding: 0 6px; border-radius: 7px; background: var(--acc); color: #061a33; white-space: nowrap; }

/* janela da conta */
#acctBox { z-index: 40; }
.overlay .box.acBoxIn { width: min(460px, 94vw); text-align: left; padding: 14px 18px 16px; }
.acTop { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.acTop h2 { margin: 0 !important; font-size: 28px !important; color: var(--acc) !important; text-shadow: 0 3px 0 #0b2a55 !important; line-height: 1.05; }
.acX { width: 38px; height: 38px; font-size: 26px; line-height: 1; flex: none; }
.acHelp, .acPriv, .acPriv2 { margin: 0 0 10px; font-size: 14px; color: var(--mut); line-height: 1.35; }
.acPriv, .acPriv2 { font-size: 12px; margin: 10px 0 0; }
.acGBtn { display: flex; justify-content: center; min-height: 44px; margin: 6px 0; }
.acHeadIn { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.acLv { width: 64px; height: 64px; flex: none; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; color: #061a33; background: radial-gradient(circle at 35% 30%, #bfe6ff, var(--acc) 60%, var(--acc2)); border: 3px solid #dff2ff; box-shadow: 0 0 20px rgba(95, 184, 255, 0.45); }
.acLv small { font-size: 11px; font-weight: 700; } .acLv b { font-size: 26px; }
.acInfo { flex: 1; min-width: 0; }
.acName { font-size: 20px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acBar i { background: linear-gradient(90deg, var(--acc2), var(--acc)) !important; }
.acStatGrid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; margin-bottom: 10px; }
.acNickL { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--mut); }
.acNickRow { display: flex; gap: 8px; }
.acNickIn { flex: 1; min-width: 0; font-family: var(--font); font-size: 17px; padding: 7px 10px; border-radius: 10px; border: 2px solid var(--panel-b); background: rgba(8, 5, 24, 0.7); color: #fff; outline: none; user-select: text; -webkit-user-select: text; touch-action: auto; }
.acNickIn:focus { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(95, 184, 255, 0.25); }
.acNickBtn { font-size: 15px; padding: 7px 14px; flex: none; }
.acBtns { display: flex; justify-content: flex-end; margin-top: 12px; }
.acLogout { font-size: 15px; padding: 7px 18px; }
.acStatus { margin-top: 10px; padding: 7px 10px; border-radius: 10px; font-size: 14px; background: rgba(8, 5, 24, 0.55); border: 1px solid var(--panel-b); }
.acStatus.good { color: #b6ff5a; border-color: rgba(91, 227, 122, 0.5); }
.acStatus.bad { color: #ffb0b0; border-color: rgba(255, 90, 90, 0.5); }
.acStatus.busy { color: #cfe9ff; }

/* secao Online do Perfil */
.acSecH { color: var(--acc) !important; }
.acSec { padding: 10px 12px; border-radius: 14px; background: rgba(16, 32, 70, 0.55); border: 1px solid rgba(95, 184, 255, 0.4); }
.acSecHead { margin-bottom: 8px; }
.acSecBtn { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; padding: 7px 16px; }
.acSecBtn .acG { width: 20px; height: 20px; background: #fff; border-radius: 50%; padding: 2px; box-sizing: border-box; }

/* resumo no fim da partida */
.endMeta .acEnd { margin: -8px -12px; padding: 8px 12px; border-radius: 14px; background: rgba(16, 32, 70, 0.6); box-shadow: inset 0 0 0 1px rgba(95, 184, 255, 0.5); }
.acEnd .emHead em { color: var(--acc); }
.acEnd .emBar i { background: linear-gradient(90deg, var(--acc2), var(--acc)); }

@media (max-width: 520px) {
  .acctChip { max-width: 80vw; }
  .acStatGrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .acTop h2 { font-size: 23px !important; }
  .overlay .box.acBoxIn { padding: 12px 12px 14px; }
  .nbLv { font-size: 10px; padding: 0 4px; }
}
@media (max-height: 520px) {
  .acctChip { min-height: 34px; }
  .acLvDot { width: 26px; height: 26px; font-size: 13px; }
}
