/* ---------- the account page ---------- */
.acct-page { min-height: 100vh; min-height: 100dvh; background: radial-gradient(ellipse at 50% 0%, #17193a 0%, var(--bg) 65%); }
.acct-waves { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .85; }
.acct-links a { font-size: 15px; color: var(--soft); }
.acct-links a:hover { color: var(--text); }
.acct { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 110px 16px 60px; }

.acct-card { position: relative; width: 100%; max-width: 440px; padding: 34px 34px 30px; border-radius: 26px;
  background: rgba(17,19,29,.78); border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  animation: acctIn .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes acctIn { from { opacity: 0; transform: translateY(26px) scale(.98); } }
.acct-glow { position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), transparent 0 60%, var(--cyan), var(--violet), var(--pink), transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: acctSpin 6s linear infinite; opacity: .8; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes acctSpin { to { --a: 360deg; } }

.acct-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: rgba(255,255,255,.04); border-radius: 40px; padding: 4px; margin-bottom: 22px; }
.acct-tabs button { position: relative; z-index: 1; border: 0; background: none; color: var(--soft); font: 600 15px "Outfit", sans-serif; padding: 10px 0; cursor: pointer; transition: color .3s; }
.acct-tabs button.on { color: #0a0a10; }
.acct-tab-bar { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 40px; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink));
  transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.acct-tabs.right .acct-tab-bar { transform: translateX(100%); }
.acct-tabs[hidden] { display: none; }

.acct-view { display: flex; flex-direction: column; gap: 14px; animation: viewIn .45s ease both; }
.acct-view[hidden] { display: none; }
@keyframes viewIn { from { opacity: 0; transform: translateX(14px); } }
.acct h1 { font-size: 28px; font-weight: 600; line-height: 1.2; }
.acct h2 { font-size: 16px; font-weight: 600; letter-spacing: .5px; }
.acct-sub { color: var(--soft); margin-top: -6px; }
.acct-sub b { color: var(--text); word-break: break-all; }
.acct label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--soft); }
.acct input { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(5,6,12,.6);
  color: var(--text); font: 400 16px "Outfit", sans-serif; outline: none; transition: border-color .25s, box-shadow .25s; }
.acct input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(138,92,255,.18); }
.acct input.bad { border-color: #ff5d73; box-shadow: 0 0 0 4px rgba(255,93,115,.15); }
.pw { position: relative; display: block; }
.pw input { padding-right: 48px; }
.eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 8px; background: none; cursor: pointer; opacity: .6; }
.eye::before { content: ''; position: absolute; inset: 9px 6px; border: 2px solid var(--soft); border-radius: 50% / 60%; }
.eye::after { content: ''; position: absolute; left: 14px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--soft); }
.eye.on { opacity: 1; } .eye.on::before { border-color: var(--cyan); } .eye.on::after { background: var(--cyan); }
.meter { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: -4px; }
.meter i { display: block; height: 100%; width: 0; border-radius: 4px; transition: width .35s, background .35s; }
.hint, .acct-fine { font-size: 13px; color: #7d849c; }
.hint { margin-top: -8px; }
.human { min-height: 65px; display: flex; justify-content: center; }
.human:empty { min-height: 0; }
.acct-go { width: 100%; text-align: center; border: 0; cursor: pointer; font: 600 17px "Outfit", sans-serif; position: relative; }
.acct-go[disabled] { opacity: .65; cursor: wait; }
.acct-go.busy::after { content: ''; position: absolute; right: 22px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%;
  border: 2px solid rgba(10,10,16,.3); border-top-color: #0a0a10; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.acct-alt { text-align: center; font-size: 14px; }
.acct-alt a, .acct-fine a { color: var(--cyan); }
.acct-alt a:hover { text-decoration: underline; }
.acct .btn-ghost { background: none; color: var(--text); cursor: pointer; font: 600 16px "Outfit", sans-serif; }

.acct-note { display: none; margin-bottom: 16px; padding: 12px 15px; border-radius: 12px; font-size: 14px; line-height: 1.5; animation: viewIn .35s ease both; }
.acct-note.show { display: block; }
.acct-note.err { background: rgba(255,93,115,.1); border: 1px solid rgba(255,93,115,.35); color: #ffb3bd; }
.acct-note.ok { background: rgba(46,197,211,.1); border: 1px solid rgba(46,197,211,.35); color: #aef1f7; }

.acct-center { text-align: center; align-items: center; }
.envelope { position: relative; width: 86px; height: 60px; margin: 6px auto 6px; border-radius: 10px; background: linear-gradient(135deg, var(--violet), var(--pink));
  box-shadow: 0 12px 40px rgba(255,79,163,.35); animation: float 3s ease-in-out infinite; }
.envelope::before { content: ''; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(to bottom right, transparent 49%, rgba(255,255,255,.35) 50%, transparent 51%),
  linear-gradient(to bottom left, transparent 49%, rgba(255,255,255,.35) 50%, transparent 51%); background-size: 50% 100%; background-repeat: no-repeat; background-position: left, right; }
.envelope span { position: absolute; left: 50%; top: -14px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 18px var(--amber); animation: ping 1.6s ease-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,179,64,.7); } 100% { box-shadow: 0 0 0 18px rgba(255,179,64,0); } }
.resend { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }

.avatar { width: 74px; height: 74px; border-radius: 50%; background: var(--grad); background-size: 200% 100%; animation: shimmer 6s linear infinite;
  display: grid; place-items: center; font: 700 30px "Outfit", sans-serif; color: #0a0a10; box-shadow: 0 10px 34px rgba(138,92,255,.4); }
.acct-box { padding: 18px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.product { display: flex; align-items: center; gap: 12px; }
.product img { width: 46px; height: 46px; object-fit: contain; }
.product div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.product span { font-size: 13px; color: var(--soft); }
.product .btn { padding: 9px 18px; font-size: 14px; }

@media (max-width: 480px) {
  .acct-card { padding: 26px 20px 24px; border-radius: 22px; }
  .acct h1 { font-size: 24px; }
  .acct-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(17,19,29,.94); }
}
@media (prefers-reduced-motion: reduce) {
  .acct-card, .acct-view, .acct-glow, .envelope, .envelope span { animation: none; }
}
/* the nav here has one link and no menu button: keep it in the bar on phones */
@media (max-width: 900px) {
  .acct-page .links.acct-links { position: static; inset: auto; flex-direction: row; background: none; padding: 0; transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .acct-page .links.acct-links a { padding: 0; width: auto; font-size: 14px; }
}

/* Continue with Google */
.social { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 13px 18px; border-radius: 40px;
  background: #fff; color: #1f1f1f; font: 600 16px "Outfit", sans-serif; transition: transform .2s, box-shadow .3s; }
.social:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,255,255,.15); }
.social svg { width: 20px; height: 20px; }
.social[hidden], .or[hidden] { display: none; }
.or { display: flex; align-items: center; gap: 12px; color: #7d849c; font-size: 13px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------------------------------------------------------------- Prisma licence: computers, activation */
.lic { margin-top: 12px; }
.computers { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.computers li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.computers li .pc { flex: 1; min-width: 0; }
.computers li b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.computers li span { font-size: .82rem; opacity: .6; }
.computers li button { background: none; border: 1px solid rgba(255,93,115,.45); color: #ff8b9b; border-radius: 999px;
  padding: 5px 12px; font: inherit; font-size: .82rem; cursor: pointer; }
.computers li button:hover { background: rgba(255,93,115,.12); }
.computers li.empty { justify-content: center; opacity: .6; font-size: .9rem; }
.lic-ok { color: #2ec5d3; font-weight: 600; }
.act-prism { width: 168px; margin: 4px auto 8px; filter: drop-shadow(0 0 26px rgba(138,92,255,.45)); }
.act-prism img { width: 100%; display: block; }
.act-code { font: 600 1.15rem/1 "Outfit", sans-serif; letter-spacing: .28em; color: #2ec5d3; margin: 4px 0 18px; }
.act-buttons { display: grid; gap: 10px; margin: 6px 0 4px; }
.act-done { font-size: 3rem; line-height: 1; margin: 6px 0 10px; color: #2ec5d3; }

.acct [hidden] { display: none !important; }   /* (a hidden block stays hidden whatever its display) */
