/* 10-28: friend pages through the public address (accounts.js) - phone first. */
body.onboarding .portal-sidebar, body.onboarding .series-strip, body.onboarding #banner, body.onboarding .foot,
body.onboarding .top-actions, body.onboarding .skip-link { display: none !important; }
body.onboarding .portal-frame { display: block; max-width: 520px; margin: 0 auto; padding: 16px; }
body.onboarding main { padding: 0; min-height: 0; background: none; border: 0; box-shadow: none; }

.onboard { display: flex; flex-direction: column; gap: 14px; padding: 26px 22px 24px; margin: 8px 0 24px;
  background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 10px; }
.onboard-brand { font: 11px/1 Consolas, monospace; letter-spacing: 2px; color: var(--muted); }
.onboard-brand b { color: var(--gold); font-weight: 400; }
.onboard h1 { margin: 0; font-size: 26px; line-height: 1.25; color: var(--text); word-break: keep-all; }
.onboard-lead { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; word-break: keep-all; }
.onboard-steps { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.onboard-steps li { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); color: var(--muted); font: 13px/1 Consolas, monospace; }
.onboard-steps li.on { border-color: var(--gold); color: #171312; background: var(--gold); }
.onboard-steps li.done { border-color: var(--gold); color: var(--gold); }
.onboard-form { display: flex; flex-direction: column; gap: 16px; margin-top: 4px; }
.onboard-field { display: flex; flex-direction: column; gap: 6px; }
.onboard-field > span { font-size: 13px; color: var(--text); font-weight: 600; }
.onboard-field small { color: var(--muted); font-size: 12px; }
.onboard-field[hidden] { display: none; }
.onboard-input { width: 100%; box-sizing: border-box; min-height: 52px; padding: 12px 14px; font-size: 18px;
  color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
.onboard-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(234, 183, 115, .18); }
.onboard-input.pin { letter-spacing: 10px; font-family: Consolas, monospace; font-size: 24px; text-align: center; }
.onboard-input.code { letter-spacing: 2px; font-family: Consolas, monospace; font-size: 18px; }
.onboard-count { align-self: flex-end; font-family: Consolas, monospace; }
.onboard-btn { min-height: 54px; border: 0; border-radius: 8px; background: var(--gold); color: #171312;
  font-size: 17px; font-weight: 700; cursor: pointer; }
.onboard-btn:disabled { opacity: .55; cursor: wait; }
.onboard-link { align-self: center; background: none; border: 0; color: var(--gold); font-size: 14px; padding: 10px; cursor: pointer; }
.onboard-msg { margin: 0; min-height: 1.2em; font-size: 14px; color: var(--muted); }
.onboard-msg.err { color: var(--lose); }

/* account chips in the header (the theme hides .all-games on phones, these stay) */
.acct-chip { display: inline-flex; align-items: center; padding: 6px 10px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 12px; color: var(--text); white-space: nowrap; }
.acct-chip.gold { color: var(--gold); border-color: #5a4a35; }
.acct-link { color: var(--gold); font-size: 12px; padding: 6px 8px; white-space: nowrap; text-decoration: none; }
.top-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 620px) {
  .onboard { padding: 22px 16px 20px; border-radius: 8px; }
  .onboard h1 { font-size: 23px; }
  body.remote .acct-chip, body.remote .acct-link { font-size: 11px; padding: 5px 7px; }
  body.remote .brand-archive { width: 128px; height: 53px; background-size: 778px auto; }   /* the whole logo, scaled (181 of 1100) */
}
