/* Account pages (pulliq.app/account/…, rendered by apps/api/src/web/accountPages.ts), on top of styles.css. */
.auth { padding: 56px 0 96px; position: relative; overflow: hidden; }
.auth::before { content: ''; position: absolute; inset: -30% -10% auto auto; width: 720px; height: 720px; background: radial-gradient(closest-side, rgba(255,200,61,.10), transparent 70%); pointer-events: none; }
.auth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; align-items: center; position: relative; }
.auth-grid.single { grid-template-columns: minmax(0, 480px); justify-content: center; }

.auth-side .eyebrow { color: var(--gold); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.auth-side h1 { font-size: clamp(36px, 4.4vw, 56px); }
.auth-side .lead { color: var(--muted); font-size: 18px; margin: 18px 0 28px; max-width: 520px; }
.auth-perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.auth-perks li { display: flex; gap: 12px; align-items: flex-start; color: #D3DAE5; }
.auth-perks li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 11px; background: rgba(61,220,151,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='%233DDC97' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }
.auth-perks b { color: var(--text); }
.auth-note { margin-top: 30px; display: inline-flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; background: var(--surface); border: 1px solid var(--border); padding: 10px 14px; border-radius: 12px; }

.auth-card { background: linear-gradient(180deg, #1A2030, #151A24 70%); border: 1px solid var(--border-strong); border-radius: 24px; padding: 36px 32px 30px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.auth-card .icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; background: rgba(255,200,61,.12); color: var(--gold); }
.auth-card .icon.ok { background: rgba(61,220,151,.14); color: var(--gain); }
.auth-card .icon.warn { background: rgba(255,107,107,.12); color: var(--danger); }
.auth-card h2 { font-size: 30px; }
.auth-card .sub { color: var(--muted); margin: 8px 0 24px; }

.auth-form { display: grid; gap: 16px; }
.auth-form label { display: grid; gap: 7px; font-weight: 700; font-size: 14px; color: #D3DAE5; }
.auth-steps { margin: 0 0 20px; padding-left: 22px; color: var(--muted); line-height: 1.6; }
.auth-steps li { margin: 4px 0; }
.auth-steps b { color: var(--text); }
.auth-form .hint, .acct-rows .hint { font-weight: 500; color: var(--faint); font-size: 13px; }
.auth-form input { font: inherit; font-size: 16px; color: var(--text); background: #0F131B; border: 1px solid var(--border-strong); border-radius: 12px; padding: 13px 14px; transition: border-color .15s, box-shadow .15s; }
.auth-form input::placeholder { color: var(--faint); }
.auth-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,200,61,.2); }
.auth-row { display: flex; justify-content: space-between; align-items: baseline; }
.auth-row a { font-size: 13px; font-weight: 700; }
.auth-btn { font: inherit; font-weight: 800; font-size: 16px; border: 0; border-radius: 12px; padding: 14px 18px; background: var(--gold); color: #11151c; cursor: pointer; text-align: center; display: block; width: 100%; }
.auth-btn:hover { filter: brightness(1.05); text-decoration: none; }
.auth-btn.secondary { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.auth-btn.secondary:hover { background: var(--raised); filter: none; }

.auth-msg { border-radius: 12px; padding: 12px 14px; font-weight: 700; font-size: 15px; margin: 0 0 18px; }
.auth-msg.error { background: rgba(255,107,107,.1); color: var(--danger); border: 1px solid rgba(255,107,107,.35); }
.auth-msg.ok { background: rgba(61,220,151,.1); color: var(--gain); border: 1px solid rgba(61,220,151,.35); }

.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 13px; font-weight: 700; margin: 22px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-alt { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,.02); color: var(--text); font-weight: 700; font-size: 15px; }
.auth-alt:hover { background: var(--raised); text-decoration: none; }
.auth-alt b { display: block; color: var(--text); }
.auth-alt .alt-sub { display: block; color: var(--muted); font-weight: 500; font-size: 13px; margin-top: 2px; }
.auth-alt .qr { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--raised); display: grid; place-items: center; font-size: 18px; }
.auth-switch { text-align: center; color: var(--muted); font-size: 15px; margin: 22px 0 0; }
.auth-switch a { font-weight: 800; }
.auth-fine { color: var(--faint); font-size: 13px; margin: 14px 0 0; text-align: center; }

/* The signed-in account page */
.acct-head { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.acct-avatar { flex: none; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--raised); border: 3px solid var(--gold); font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 26px; }
.acct-head h2 { font-size: 28px; overflow-wrap: anywhere; }
.acct-head p { margin: 4px 0 0; color: var(--muted); }
.acct-rows { display: grid; gap: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-bottom: 20px; }
.acct-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 16px; background: rgba(255,255,255,.02); }
.acct-rows div + div { border-top: 1px solid var(--border); }
.acct-rows dt { color: var(--muted); }
.acct-rows dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.badge-pro { background: var(--gold); color: #11151c; font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; }
.plan-period { margin-left: 10px; color: var(--muted); font-size: 14px; font-weight: 700; }
.badge-streamer { background: linear-gradient(135deg, #b47cff, #7c5cff); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; }
.badge-free { background: var(--raised); color: var(--text); font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; }
.acct-verify { border: 1px solid rgba(255,200,61,.4); background: rgba(255,200,61,.07); border-radius: 14px; padding: 14px 16px; margin-bottom: 20px; display: grid; gap: 10px; }
.acct-verify p { margin: 0; color: #E9DDB8; font-size: 15px; }
.acct-verify .auth-btn { width: auto; justify-self: start; padding: 9px 14px; font-size: 14px; }
.acct-actions { display: grid; gap: 10px; margin-bottom: 18px; }

@media (max-width: 900px) {
  .auth { padding-top: 32px; }
  .auth-grid { grid-template-columns: 1fr; gap: 0; }
  .auth-side { display: none; }
  .auth-card { padding: 28px 22px 24px; border-radius: 20px; }
}
