/* ── ACCOUNT page ── */
.acc-guest { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 34px 16px 26px; text-align: center; }
.acc-guest__ico {
  width: 54px; height: 54px; padding: 12px; border-radius: 50%;
  fill: none; stroke: rgb(var(--cyan)); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  border: 1px solid rgba(var(--cyan),.5); background: rgba(var(--cyan),.06);
  filter: drop-shadow(0 0 6px rgba(var(--cyan),.4));
}
.acc-guest__t { margin: 6px 0 0; font-size: 17px; font-weight: 700; color: var(--text); }
.acc-guest__s { margin: 0; max-width: 460px; font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.acc-login { flex: none; margin-top: 10px; padding: 10px 26px; }
.acc-login[hidden] { display: none; }

.acc-head { display: flex; align-items: center; gap: 16px; padding: 18px 4px 16px; flex-wrap: wrap; }
.acc-avatar {
  flex: none; width: 72px; height: 72px; border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(var(--cyan),.6); background: rgba(var(--cyan),.12);
  box-shadow: 0 0 16px rgba(var(--cyan),.3);
}
.acc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acc-who { flex: 1; min-width: 0; }
.acc-name { font-size: 22px; font-weight: 800; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-handle { margin-top: 2px; font-size: 13px; color: var(--text-muted); }
.acc-rank { flex: none; }
/* Hàng Redeem key + thời gian còn lại: kéo ngang như nút Đăng xuất */
.acc-row { display: flex; gap: 10px; margin-bottom: 10px; }
.acc-bar {
  flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 12px; border-radius: 8px; white-space: nowrap;
  border: 1px solid rgba(var(--cyan),.5); background: rgba(var(--cyan),.06);
  color: rgb(var(--cyan)); font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .3px;
  text-shadow: 0 0 6px rgba(var(--cyan),.4);
}
.acc-redeem { cursor: pointer; transition: background .2s, box-shadow .2s; }
.acc-redeem:hover, .acc-redeem:focus-visible { background: rgba(var(--cyan),.14); box-shadow: 0 0 12px rgba(var(--cyan),.3); outline: none; }
.acc-left { cursor: default; user-select: none; font-variant-numeric: tabular-nums; }
.acc-left.is-warn { color: #fbbf24; border-color: rgba(251,191,36,.55); background: rgba(251,191,36,.07); text-shadow: 0 0 6px rgba(251,191,36,.4); }
.acc-left.is-none { color: var(--text-muted); border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.03); text-shadow: none; }


.acc-logout {
  width: 100%; height: 40px; font-size: 13px;
  border-color: rgba(244,63,94,.55) !important; color: #ff4d6d !important; background: rgba(244,63,94,.08) !important;
}
.acc-logout:hover { background: rgba(244,63,94,.16) !important; box-shadow: 0 0 12px rgba(244,63,94,.25); }

@media (max-width: 560px) {
  .acc-avatar { width: 56px; height: 56px; }
  .acc-name { font-size: 18px; }
}

/* ── Redeem key / Tạo key ── */
.acc-key-st { margin: 0 2px 12px; font-size: 14px; color: var(--text); display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.acc-key-st b { color: rgb(var(--cyan)); font-variant-numeric: tabular-nums; }
.acc-key-st.is-none { color: var(--text-muted); }
.acc-key-st.is-none b { color: #ff4d6d; }
.acc-key-dot { width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.acc-key-row { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.acc-key-row .perf-adv-input { height: 38px; font-size: 14px; }
.acc-key-in { height: 42px; font-size: 15px !important; margin-top: 6px; font-family: ui-monospace, Consolas, monospace !important; letter-spacing: .5px; text-transform: uppercase; }
.acc-key-btn { flex: 0 0 auto; min-width: 120px; height: 38px; }
.acc-f { display: flex; flex-direction: column; gap: 5px; flex: 1 1 160px; }
.acc-f span { font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--text-muted); }
.acc-new-out { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; }
.acc-new-out textarea { flex: 1; resize: vertical; font-family: ui-monospace, Consolas, monospace; font-size: 13px; line-height: 1.6; }
.acc-keys { margin-top: 14px; }
.acc-code { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; white-space: nowrap; }
.acc-free { color: #4ade80; }
.acc-dead { color: #f43f5e; }
#acc-key-msg { margin-top: 2px; }
#acc-key-modal .rj-modal__panel { max-width: 520px; }

/* ── Server Discord ── */
.acc-dc { display: flex; align-items: center; gap: 16px; padding: 14px 4px 14px; }
.acc-dc__ico { flex: none; width: 64px; height: 64px; border-radius: 18px; object-fit: contain; background: #05060b; border: 1px solid rgba(129,140,248,.45); box-shadow: 0 0 16px rgba(99,102,241,.35); }
.acc-dc__who { min-width: 0; }
.acc-dc__name { font-size: 18px; font-weight: 800; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-dc__sub { margin-top: 2px; font-size: 13px; color: var(--text-muted); }
.acc-dc__join { flex: none; height: 40px; gap: 8px; text-decoration: none; cursor: pointer; color: #fff !important; border-color: rgba(88,101,242,.8) !important; background: #5865F2 !important; text-shadow: none !important; transition: background .2s, box-shadow .2s; }
.acc-dc__join:hover, .acc-dc__join:focus-visible { background: #4752c4 !important; box-shadow: 0 0 14px rgba(88,101,242,.5); outline: none; }
.acc-dc__join svg { width: 18px; height: 18px; fill: currentColor; }
