/* Bloxnari log-in and account pages (builds on landing.css) */
.muted {
  color: var(--l-muted);
}
.small {
  font-size: 13px;
}
.input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--l-line-strong);
  background: #fff;
  color: var(--l-ink);
  font: 500 15.5px var(--font-body);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:focus {
  outline: none;
  border-color: #3aa7f5;
  box-shadow: 0 0 0 4px rgba(58, 167, 245, 0.18);
}
.field-label {
  display: block;
  margin: 18px 0 8px;
  font-weight: 600;
  font-size: 14px;
}
.hint-light {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--l-muted);
}
.form-error {
  margin: 16px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff0f1;
  border: 1px solid #ffd0d5;
  color: #b4232f;
  font-size: 14px;
}

/* ---------- Auth page ---------- */
.auth-page {
  min-height: 100vh;
}
.auth-sky {
  position: fixed;
  inset: 0 0 auto 0;
  height: 56vh;
  background: linear-gradient(180deg, var(--l-sky-1), var(--l-sky-2) 55%, var(--l-bg));
  z-index: -1;
}
.auth-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 16px 64px;
}
.auth-logo {
  margin-bottom: 28px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 34px 30px 28px;
}
.auth-card h1 {
  font-size: 32px;
  font-weight: 900;
  font-stretch: 78%;
  letter-spacing: -0.02em;
}
.auth-sub {
  margin: 8px 0 6px;
  color: var(--l-muted);
}
.auth-submit {
  width: 100%;
  margin-top: 22px;
}
.auth-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
.auth-switch {
  margin: 18px 0 0;
  text-align: center;
  font-size: 14.5px;
  color: var(--l-muted);
}
.auth-switch a,
.auth-local a,
.acct a {
  color: var(--l-link);
  font-weight: 600;
}
.auth-local {
  max-width: 420px;
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  text-align: center;
}

/* ---------- Account page ---------- */
.acct-nav {
  background: var(--l-bg);
  border-bottom: 1px solid var(--l-line);
}
.auth-logo .logo-mark {
  width: 46px;
}
.acct-nav .logo {
  color: var(--l-ink);
  text-shadow: none;
}
.acct-nav .nav-cta {
  margin-left: auto;
}
.acct {
  max-width: 980px;
  padding-top: 40px;
  padding-bottom: 80px;
}
.acct-head h1 {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 900;
  font-stretch: 76%;
  letter-spacing: -0.02em;
}
.acct-head p {
  margin: 6px 0 0;
}
.banner {
  margin: 0 0 24px;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 600;
}
.banner.ok {
  background: #f0ffd6;
  border: 1px solid #d4f59a;
  color: #2c4a07;
}
.banner.info {
  background: #eef6ff;
  border: 1px solid #cfe5ff;
  color: #0b4f8a;
}
.banner.err {
  background: #fff0f1;
  border: 1px solid #ffd0d5;
  color: #b4232f;
}
.wallet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
  padding: 30px;
}
.wallet .label {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--l-muted);
}
.big {
  margin: 6px 0 4px;
  font: 900 64px/1 var(--display);
  font-stretch: 70%;
  background: linear-gradient(180deg, #1e9bf0, #58c4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.plan-name {
  margin: 8px 0 4px;
  font: 900 34px/1.05 var(--display);
  font-stretch: 76%;
}
.wallet p.muted {
  margin: 0 0 14px;
}
.acct-section {
  margin-top: 48px;
}
.acct-section h2 {
  font-size: 30px;
}
.acct-section > p.muted {
  margin: 6px 0 0;
}
.acct-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.billing-toggle.small {
  margin: 0;
}
.billing-toggle.small button {
  height: 36px;
  font-size: 14px;
}
.mini-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.mini-plan {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
}
.mini-plan.current {
  border-color: var(--l-accent);
  box-shadow: 0 0 0 3px rgba(29, 91, 214, 0.25), var(--l-shadow);
}
.mini-plan h3 {
  font-size: 22px;
}
.mini-plan p {
  margin: 0;
}
.mini-price {
  font: 900 38px/1.1 var(--display);
  font-stretch: 72%;
}
.mini-price span {
  font: 600 14px var(--font-body);
  color: var(--l-muted);
}
.mini-plan .b3d {
  margin-top: auto;
  width: 100%;
}
.mini-plan .muted.small {
  margin-bottom: 14px;
}
.b3d:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}
.packs-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.pack {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  font: inherit;
  color: var(--l-ink);
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.pack:hover {
  transform: translateY(-2px);
  border-color: var(--l-accent);
}
.pack-credits {
  font-weight: 700;
}
.pack-price {
  font: 900 26px var(--display);
  font-stretch: 78%;
}
.connect-steps {
  margin: 14px 0 20px;
  padding-left: 22px;
  color: var(--l-ink-2);
}
.connect-steps li {
  margin: 6px 0;
}
.connect-steps code {
  padding: 1px 6px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--l-line);
}
.key-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
}
.key-form .input {
  height: 40px;
  border-radius: 12px;
}
.new-key {
  margin-top: 16px;
  max-width: 560px;
}
.new-key p {
  margin: 0 0 8px;
}
.new-key .code {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.keys {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  max-width: 560px;
}
.keys li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--l-line);
}
.link-btn {
  border: none;
  background: none;
  color: #c62a37;
  font: 600 14px var(--font-body);
  cursor: pointer;
}

@media (max-width: 760px) {
  .wallet,
  .mini-plans,
  .packs-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .acct-nav .nav-cta .b3d-dark {
    display: none;
  }
}

/* ---------- Additions: age step, consent boxes, danger zone (paper theme) ---------- */
.auth-sky {
  display: none;
}
.auth-card h1 {
  font-weight: 800;
  font-stretch: 84%;
  letter-spacing: -0.03em;
}
.birth-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px;
}
select.input {
  appearance: none;
  background: var(--l-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%236e6a5d' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center/12px no-repeat;
  padding-right: 34px;
  cursor: pointer;
}
.input {
  background-color: var(--l-card);
  border-radius: 10px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--l-ink-2);
  cursor: pointer;
}
.check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--l-ink);
}
.teen-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff8dc;
  border: 1px solid #efdc9a;
  font-size: 14.5px;
  color: #5b4a12;
}
.auth-legal,
.acct-legal {
  margin: 22px 0 0;
  font-size: 13.5px;
  color: var(--l-muted);
  text-align: center;
}
.auth-legal a,
.acct-legal a {
  color: var(--l-muted) !important;
  font-weight: 500;
}
.big {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--l-ink);
}
.guardian-box {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff8dc;
  border: 1px solid #efdc9a;
}
.danger {
  padding-top: 32px;
  border-top: 1px solid var(--l-line);
}
.danger-btn {
  color: #b4232f !important;
}
.wallet,
.mini-plan,
.pack {
  border-radius: 14px;
}

/* Connect page: the Studio code */
.code-input {
  height: 58px;
  text-align: center;
  font: 600 26px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Sign in with Roblox ---------- */
.roblox-btn {
  width: 100%;
  margin-top: 20px;
}
.or-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 4px;
  font-size: 13.5px;
  color: var(--l-muted);
}
.or-line::before,
.or-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--l-line);
}
.roblox-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--l-line);
  background: var(--l-bg-tint);
}
.roblox-who img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--l-line);
}
.roblox-who div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.roblox-who strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.roblox-who span {
  font-size: 14px;
  color: var(--l-muted);
}
.notice {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--l-accent-soft);
  border: 1px solid #c3d6f7;
  font-size: 14.5px;
  color: #12398f;
}
.roblox-who .link-btn {
  margin-left: auto;
}

/* ---------- Affiliate program ---------- */
.aff-form {
  display: grid;
  gap: 14px;
  max-width: 560px;
  margin-top: 14px;
}
.aff-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--l-ink);
}
.aff-form label.check {
  display: flex;
  align-items: center;
  gap: 8px;
}
.aff-form textarea.input {
  height: auto;
  padding: 10px 14px;
  resize: vertical;
  font: inherit;
}
.aff-form button {
  justify-self: start;
}
.aff-link-preview {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--l-muted);
}
.aff-link-preview .input {
  flex: 1;
}
.aff-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--l-line);
  background: #fff;
}
.aff-status.pending {
  border-color: rgba(255, 193, 69, 0.4);
}
.aff-status.off {
  border-color: rgba(255, 93, 108, 0.4);
  background: #fff1f1;
}
.aff-link-row {
  display: flex;
  gap: 10px;
  margin: 14px 0;
  max-width: 560px;
}
.aff-link-row .input {
  flex: 1;
}
.aff-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.aff-stats > div {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--l-line);
  color: var(--l-muted);
  font-size: 13px;
}
.aff-stats span {
  color: var(--l-ink);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

/* ---------- Confirm email / forgot password ---------- */
.mail-icon {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 8px;
}
.forgot-link {
  margin: 8px 0 0;
  text-align: right;
  font-size: 14px;
}
.change-email {
  margin-top: 18px;
  font-size: 14px;
}
.change-email summary {
  cursor: pointer;
  font-weight: 600;
}
.change-email form {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.change-email form button {
  justify-self: start;
}
a.auth-submit {
  display: flex;
  justify-content: center;
  text-decoration: none;
}
