/* ═══════════════════════════════════════════════════════════
   NECTUS · account.css — the member mark and its panel
   ═══════════════════════════════════════════════════════════ */

/* ── the mark in the chrome ───────────────────────────────── */
.acct-link{
  position:relative;width:38px;height:38px;display:grid;place-items:center;
  color:var(--mercury);background:transparent;border:1px solid transparent;
  transition:color .3s var(--ease),border-color .3s var(--ease);
}
.acct-link:hover{color:var(--platinum)}
.acct-link:focus-visible{outline:none;border-color:var(--hair-lit)}
.acct-link svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round}
.acct-link.is-member{color:var(--live)}

.acct-dot{
  position:absolute;top:7px;right:7px;width:6px;height:6px;border-radius:50%;
  background:var(--live);box-shadow:0 0 0 2px var(--pitch);
}

/* ── the popover ──────────────────────────────────────────── */
.acct-pop{
  position:fixed;z-index:80;width:min(340px,calc(100vw - 24px));
  background:var(--pitch);border:1px solid var(--hair);
  padding:20px;opacity:0;transform:translateY(-8px);pointer-events:none;
  transition:opacity .3s var(--ease),transform .3s var(--ease);
  box-shadow:0 24px 60px rgba(0,0,0,.5);
}
.acct-pop.on{opacity:1;transform:translateY(0);pointer-events:auto}

.acct-hd{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.acct-eyebrow{font-family:var(--mono);font-size:.68rem;letter-spacing:.24em;text-transform:uppercase;color:var(--iron)}
.acct-x{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--hair);background:transparent}
.acct-x svg{width:12px;height:12px;stroke:var(--mercury);fill:none;stroke-width:1.4}
.acct-x:hover{border-color:var(--platinum)}
.acct-x:hover svg{stroke:var(--platinum)}

.acct-note{font-size:.86rem;line-height:1.7;color:var(--mercury);margin:0 0 16px}
.acct-foot{font-size:.8rem;line-height:1.7;color:var(--iron);margin:16px 0 0;border-top:1px solid var(--hair-2);padding-top:14px}
.acct-foot a{color:var(--mercury)}
.acct-foot a:hover{color:var(--platinum)}

/* member view */
.acct-who{margin-bottom:14px}
.acct-badge{display:inline-flex;align-items:center;gap:8px;font-family:var(--mono);font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:var(--live);margin-bottom:12px}
.acct-badge .dt{width:5px;height:5px;border-radius:50%;background:var(--live)}
.acct-nm{font-family:var(--disp);font-weight:500;font-size:1.4rem;line-height:1;text-transform:uppercase;color:var(--platinum)}
.acct-ref{font-family:var(--mono);font-size:.78rem;letter-spacing:.1em;color:var(--iron);margin-top:6px}

.acct-acts{display:flex;flex-direction:column;gap:9px}
.acct-acts .mag{width:100%;justify-content:center}

/* the sign-in form */
.acct-fld{margin-bottom:12px}
.acct-fld label{display:block;font-family:var(--mono);font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;color:var(--iron);margin-bottom:7px}
.acct-fld input{
  width:100%;background:var(--pitch);border:1px solid var(--hair);color:var(--platinum);
  font-family:var(--mono);font-size:.86rem;letter-spacing:.04em;padding:11px 12px;outline:none;
  transition:border-color .25s var(--ease);
}
.acct-fld input:focus{border-color:var(--platinum)}
.acct-err{font-family:var(--mono);font-size:.74rem;letter-spacing:.03em;color:#d98a8a;min-height:1em;margin-bottom:10px}
#acctForm .mag{width:100%;justify-content:center;margin-top:2px}

/* ── the one-time reminder ────────────────────────────────── */
.acct-tip{
  position:fixed;z-index:79;max-width:280px;
  display:flex;align-items:flex-start;gap:10px;
  background:var(--platinum);color:var(--pitch);
  padding:12px 12px 12px 15px;
  opacity:0;transform:translateY(-6px);transition:opacity .4s var(--ease),transform .4s var(--ease);
  box-shadow:0 18px 40px rgba(0,0,0,.45);
}
.acct-tip.on{opacity:1;transform:translateY(0)}
.acct-tip::before{
  content:'';position:absolute;top:-6px;right:16px;width:12px;height:12px;
  background:var(--platinum);transform:rotate(45deg);
}
.acct-tip span{font-size:.84rem;line-height:1.5;cursor:pointer}
.acct-tip b{font-weight:700}
.acct-tip-x{flex:0 0 auto;width:22px;height:22px;display:grid;place-items:center;background:transparent;border:0;margin-top:-1px}
.acct-tip-x svg{width:12px;height:12px;stroke:var(--pitch);fill:none;stroke-width:1.6}
.acct-tip-x:hover{opacity:.6}

@media (max-width:560px){
  .acct-pop{width:calc(100vw - 20px)}
  .acct-tip{max-width:calc(100vw - 28px)}
}
