.auth-shell {
  min-height: calc(100vh - 74px);
  padding: clamp(42px, 7vw, 88px) 24px;
  position: relative;
  overflow: hidden;
}
.auth-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 460px at 78% 4%, rgba(139, 92, 246, 0.18), transparent 65%),
    radial-gradient(760px 360px at 8% 22%, rgba(167, 139, 250, 0.08), transparent 70%),
    linear-gradient(var(--hair) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: auto, auto, 88px 88px, 88px 88px;
  mask-image: radial-gradient(ellipse at 50% 18%, #000 18%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 18%, #000 18%, transparent 78%);
  pointer-events: none;
}
.auth-wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 480px);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  position: relative;
  z-index: 1;
  min-width: 0;
}
.auth-wrap--single {
  max-width: 480px;
  grid-template-columns: 1fr;
}
.auth-copy { max-width: 560px; }
.auth-copy h1 {
  margin: 18px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.055em;
}
.auth-copy p {
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}
.auth-timeline {
  margin-top: 34px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(13, 13, 18, 0.76);
  box-shadow: inset 0 0 0 1px var(--hair);
  display: grid;
  gap: 10px;
}
.auth-timeline__row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  align-items: center;
  color: var(--fg-faint);
  font-family: var(--font-mono);
  font-size: 11px;
}
.auth-timeline__track {
  height: 30px;
  border-radius: 8px;
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
}
.auth-timeline__track span {
  position: absolute;
  top: 7px;
  height: 16px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.28);
}
.auth-card {
  background: rgba(13, 13, 18, 0.92);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--hair-2), 0 26px 80px -48px rgba(196, 181, 253, 0.42);
  padding: clamp(22px, 4vw, 34px);
  min-width: 0;
}
.auth-card__head { margin-bottom: 22px; }
.auth-logo {
  width: 112px;
  margin-bottom: 24px;
}
.auth-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.auth-card__head h2 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.035em;
}
.auth-card__head p { margin: 0; color: var(--fg-muted); line-height: 1.55; font-size: 14px; }
.auth-form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label {
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}
.field input,
.field select {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: var(--bg-1);
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--hair);
  padding: 13px 14px;
  outline: none;
}
.field input:focus,
.field select:focus {
  box-shadow: inset 0 0 0 1px rgba(196, 181, 253, 0.5), 0 0 0 4px rgba(139, 92, 246, 0.12);
}
.auth-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: var(--fg-muted);
  font-size: 13px;
  line-height: 1.5;
}
.auth-check input { accent-color: var(--accent); margin-top: 2px; }
.auth-check a,
.auth-alt a { color: var(--accent-ink); }
.auth-status {
  display: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
  background: rgba(139, 92, 246, 0.1);
  box-shadow: inset 0 0 0 1px rgba(196, 181, 253, 0.18);
  color: var(--fg-muted);
}
.auth-status.show { display: block; }
.auth-status.error {
  background: rgba(248, 113, 113, 0.1);
  box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.28);
  color: #fecaca;
}
.auth-alt {
  margin: 18px 0 0;
  color: var(--fg-muted);
  font-size: 14px;
  text-align: center;
}
.auth-card .btn { width: 100%; justify-content: center; }
.auth-google {
  margin-bottom: 14px;
  background: #fff;
  color: #111;
  box-shadow: none;
}
.auth-google:hover { background: #f4f4f5; color: #111; }
.auth-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 16px;
  color: var(--fg-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}
.auth-sep::before,
.auth-sep::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--hair);
}
@media (max-width: 860px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-copy { max-width: none; }
}
@media (max-width: 480px) {
  .auth-shell { padding-inline: 16px; }
  .auth-card { padding: 20px; }
  .nav__inner { padding-inline: 16px; }
}
.account-wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.account-head { max-width: 720px; margin-bottom: 24px; }
.account-head h1 {
  margin: 14px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}
.account-head p { margin: 0; color: var(--fg-muted); line-height: 1.65; }
.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.account-card {
  background: rgba(13, 13, 18, 0.92);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--hair-2);
  padding: 22px;
  min-width: 0;
}
.account-card h2 { margin: 0 0 16px; font-family: var(--font-display); letter-spacing: -0.03em; }
.account-card p { color: var(--fg-muted); line-height: 1.55; margin: 12px 0 0; }
.account-card--accent { background: linear-gradient(180deg, rgba(23,18,42,.96), rgba(13,13,18,.94)); }
.account-kv { display: grid; gap: 10px; color: var(--fg-muted); font-size: 14px; }
.account-kv div { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--hair); padding-top: 10px; }
.account-kv b { color: var(--fg); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.credit-number { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-display); }
.credit-number span { font-size: clamp(48px, 8vw, 76px); line-height: .9; color: var(--accent-ink); font-weight: 800; }
.credit-number small { color: var(--fg-muted); font-family: var(--font-mono); text-transform: uppercase; }
.account-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 760px) {
  .account-grid { grid-template-columns: 1fr; }
}