/* Account, profilo e statistiche — stessi token di style.css */
.acct { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-top: 2px; padding-top: 10px; border-top: 1px solid var(--line); min-height: 44px; }
.acct > small { font-size: 12px; color: var(--muted); padding-left: 4px; }
.acct-chip { width: 100%; display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; padding: 8px 12px 8px 8px; border-radius: 14px; background: rgba(220, 200, 255, 0.12); border: 1.5px solid rgba(220, 200, 255, 0.35); }
.acct-chip .lv { grid-row: 1 / 3; width: 38px; height: 38px; border-radius: 12px; background: #f3ecff; color: #1a1840; display: grid; place-items: center; font: 800 18px var(--display); }
.acct-chip .nm { font: 800 16px var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-chip small { font-size: 12px; color: var(--lilac); font-weight: 600; }

.acc-tabs { display: flex; background: rgba(6, 16, 36, 0.6); border-radius: 12px; padding: 3px; border: 1px solid var(--line); }
.acc-tabs button { flex: 1; height: 36px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--muted); }
.acc-tabs button[aria-pressed="true"] { background: #f3ecff; color: #1a1840; }
.acc-form { display: flex; flex-direction: column; gap: 10px; }
.acc-form input { width: 100%; height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: rgba(6, 16, 36, 0.6); padding: 0 14px; font-size: 17px; font-weight: 600; color: var(--ink); user-select: text; -webkit-user-select: text; }
.acc-form input:focus { outline: none; border-color: var(--lilac); }
.acc-err { margin: 0; padding: 9px 12px; border-radius: 12px; background: rgba(255, 93, 108, 0.14); border: 1px solid rgba(255, 93, 108, 0.5); color: #ffc4c9 !important; font-size: 14px; font-weight: 600; }
.acc-note { margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); padding: 9px 12px; border-radius: 12px; background: rgba(150, 190, 255, 0.08); }

.acc-head { display: flex; align-items: center; gap: 14px; }
.acc-head h2 { font-size: 26px; }
.acc-mail { font-size: 13px; overflow-wrap: anywhere; }
.acc-lv { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--lilac) var(--pct), rgba(160, 200, 255, 0.18) 0); }
.acc-lv b { width: 46px; height: 46px; border-radius: 50%; background: #12264a; display: grid; place-items: center; font: 800 22px var(--display); }
.acc-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.acc-big div { padding: 12px 6px 10px; border-radius: 16px; background: rgba(220, 200, 255, 0.12); text-align: center; }
.acc-big b { display: block; font: 800 30px/1 var(--display); font-variant-numeric: tabular-nums; }
.acc-big small { font-size: 12px; font-weight: 600; color: var(--muted); }
.acc-dl { margin: 0; display: flex; flex-direction: column; }
.acc-dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
.acc-dl div:last-child { border-bottom: 0; }
.acc-dl dt { color: var(--muted); }
.acc-dl dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.modal h3 { margin: 6px 0 -4px; font: 800 16px var(--display); }
.acc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.acc-list li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(150, 190, 255, 0.08); font-size: 13.5px; }
.acc-list li.w, .acc-list li.me { background: rgba(220, 200, 255, 0.18); }
.acc-list .res, .acc-list .nm { font-weight: 700; white-space: nowrap; }
.acc-list .pos { width: 16px; font: 800 14px var(--display); color: var(--muted); }
.acc-list .what { flex: 1; min-width: 0; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-list.board .what { text-align: right; }
.acc-list .gl { color: var(--lilac); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.acc-empty { font-size: 13.5px; }

.acc-google { display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; border-radius: 14px; background: #fff; color: #1f1f1f; font-weight: 700; text-decoration: none; }
.acc-google:hover { background: #f2f4f8; }
.acc-or { display: flex; align-items: center; gap: 10px; margin: 2px 0; font-size: 12.5px; color: var(--muted); }
.acc-or::before, .acc-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.acc-rename { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 2px; }
.acc-rn-row { display: flex; gap: 8px; margin-top: 6px; }
.acc-rn-row input { flex: 1; min-width: 0; }
.acc-rn-row .btn { flex: none; padding: 0 16px; }
.acc-at { display: flex; align-items: center; height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: rgba(6, 16, 36, 0.6); padding-left: 14px; }
.acc-at:focus-within { border-color: var(--lilac); }
.acc-at i { font: 700 17px var(--body); font-style: normal; color: var(--lilac); }
.acc-form .acc-at input, .acc-at input { flex: 1; min-width: 0; height: 100%; border: 0 !important; background: none !important; padding: 0 12px 0 4px; font-size: 17px; font-weight: 700; }
.acc-at input:focus { outline: none; }
.field small { font-weight: 500; opacity: 0.8; }
.acc-un { margin: -4px 0 0 4px !important; font-size: 13px; font-weight: 600; color: var(--muted) !important; min-height: 1.2em; }
.acc-un.good { color: var(--go) !important; }
.acc-un.bad { color: #ffb4bb !important; }
.acc-un.wait { opacity: 0.7; }
.acc-handle { color: var(--lilac); font-weight: 700; }

/* lingua: piccola scelta in alto in accedi/crea account, riga nel profilo */
.acc-langrow { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-bottom: -4px; }
.acc-langrow-p { justify-content: space-between; margin: 0; font-size: 14px; color: var(--muted); }
.acc-lang { appearance: none; -webkit-appearance: none; height: 34px; padding: 0 28px 0 12px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); font: 600 14px var(--body); cursor: pointer;
  background: rgba(6, 16, 36, 0.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23b9c7e0' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 11px center; }
.acc-lang:focus { outline: none; border-color: var(--lilac); }
.acc-lang option { color: #111; }
