/* MarsAI modern auth shell (B002/T008 redesign brief; V10 refinement).
   The story column keeps Mars warmth and illustration; the form side uses the
   premium graphite system (ink #0b0c0f, panel #121419, edge #3a424e) with
   orange #f97316 as the only action accent and red reserved for errors. One
   token set drives the auth card, fields, checks, buttons, validation and
   social rows. Desktop is a balanced two-column composition; tablet narrows
   the columns; mobile (<=900px) prioritizes the form beneath a compact scene.
   Ambient motion (aurora, orbit, particles, entrance) runs only at normal
   motion preference and is fully disabled under prefers-reduced-motion while
   every piece of information remains visible in a useful final state. */

:root {
  --auth-ink: #0a0606;
  --auth-ink-2: #0d0808;
  --auth-panel: #171110;
  --auth-panel-2: #1d1514;
  --auth-field: #100b0b;
  --auth-edge: rgba(255, 255, 255, 0.075);
  --auth-edge-warm: rgba(249, 115, 22, 0.24);
  --auth-edge-hi: rgba(255, 255, 255, 0.14);
  --auth-acc: #f97316;
  --auth-acc-2: #ef4444;
  --auth-pink: #ec4899;
  --auth-acc-soft: rgba(249, 115, 22, 0.14);
  --auth-text: #f4ede9;
  --auth-muted: #b9aaa5;
  --auth-dim: #8d7c77;
  --auth-ok: #6ee7b7;
  --auth-err: #fca5a5;
  --auth-radius-sm: 10px;
  --auth-radius: 14px;
  --auth-radius-lg: 22px;
  --auth-input-h: 52px;
  --auth-btn-h: 54px;
  --auth-gap: 20px;
  --auth-card-w: 472px;
  --auth-shadow: 0 40px 120px -36px rgba(0, 0, 0, 0.9), 0 18px 50px -26px rgba(0, 0, 0, 0.8);
  --auth-glow: 0 0 0 1px rgba(249, 115, 22, 0.16), 0 0 60px -14px rgba(249, 115, 22, 0.34), 0 30px 90px -30px rgba(0, 0, 0, 0.9);
}

html[data-page="auth"],
body.mars-auth-body {
  margin: 0;
  background: var(--auth-ink);
  color: var(--auth-text);
  color-scheme: dark;
  font-family: Inter, "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04";
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100%;
}

body.mars-auth-body {
  min-height: 100svh;
  overflow-x: hidden;
}

.mars-auth-body *,
.mars-auth-body *::before,
.mars-auth-body *::after {
  box-sizing: border-box;
}

.mars-auth-body .skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  /* V07: #f97316 + white ink is 2.97:1 — one shade deeper, same brand read. */
  background: #c2410c;
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
  text-decoration: none;
}
.mars-auth-body .skip:focus {
  left: 0;
}

/* ---- Stage layout ---------------------------------------------------------- */

.auth-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  width: 100%;
  min-height: 100svh;
}

/* ---- Brand story ----------------------------------------------------------- */

.auth-story {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr;
  align-items: stretch;
  border-right: 1px solid rgba(45, 30, 30, 0.7);
  background:
    radial-gradient(900px 620px at 18% 8%, rgba(234, 88, 12, 0.2), transparent 64%),
    radial-gradient(700px 520px at 84% 76%, rgba(239, 68, 68, 0.14), transparent 66%),
    radial-gradient(520px 420px at 54% 108%, rgba(249, 115, 22, 0.16), transparent 70%),
    linear-gradient(168deg, #120909 0%, #0a0606 54%, #080505 100%);
}

.auth-story::before {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: 0;
  background:
    radial-gradient(560px 360px at 28% 26%, rgba(234, 88, 12, 0.12), transparent 62%),
    radial-gradient(460px 320px at 72% 64%, rgba(192, 38, 211, 0.09), transparent 64%);
  pointer-events: none;
}

.auth-story::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(120% 90% at 40% 40%, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.auth-stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.8;
  background-image:
    radial-gradient(1.6px 1.6px at 22px 34px, rgba(255, 220, 190, 0.95), transparent 60%),
    radial-gradient(1.4px 1.4px at 84px 120px, rgba(255, 198, 160, 0.8), transparent 60%),
    radial-gradient(1.8px 1.8px at 148px 58px, rgba(255, 232, 208, 0.9), transparent 60%),
    radial-gradient(1.4px 1.4px at 196px 166px, rgba(255, 182, 152, 0.7), transparent 60%),
    radial-gradient(1.3px 1.3px at 62px 196px, rgba(255, 216, 188, 0.65), transparent 60%);
  background-size: 240px 240px;
  pointer-events: none;
}

.auth-aurora {
  position: absolute;
  z-index: 0;
  left: -18%;
  top: -22%;
  width: 760px;
  height: 620px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 42%, rgba(249, 115, 22, 0.2), transparent 58%),
    radial-gradient(circle at 66% 58%, rgba(236, 72, 153, 0.1), transparent 62%);
  filter: blur(18px);
  pointer-events: none;
}

.auth-horizon {
  position: absolute;
  z-index: 1;
  left: -10%;
  right: -10%;
  bottom: -46%;
  height: 74%;
  border-radius: 50% 50% 0 0 / 42% 42% 0 0;
  background:
    radial-gradient(70% 44% at 50% 8%, rgba(255, 146, 74, 0.55), transparent 62%),
    linear-gradient(180deg, #2a100a 0%, #120807 34%, #070404 100%);
  box-shadow:
    0 -2px 0 rgba(255, 190, 140, 0.34),
    0 -20px 80px rgba(249, 115, 22, 0.32),
    0 -60px 160px rgba(239, 68, 68, 0.18);
  pointer-events: none;
}

.auth-story-glow {
  position: absolute;
  z-index: 0;
  left: -12%;
  bottom: -28%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.16), transparent 66%);
  pointer-events: none;
}

.auth-story-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 720px;
  min-height: 100%;
  margin: 0 auto;
  padding: clamp(32px, 5vh, 72px) clamp(36px, 5.5vw, 96px) clamp(36px, 5vh, 64px);
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-bottom: clamp(32px, 5vh, 72px);
  color: var(--auth-text);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-decoration: none;
}

.auth-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.1);
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.28);
}

.auth-brand-orb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fdba74 0%, #f97316 38%, #c2410c 72%, #7c2d12 100%);
  box-shadow: 0 0 18px rgba(234, 88, 12, 0.6), inset -2px -3px 6px rgba(0, 0, 0, 0.45);
}

.auth-brand-name {
  line-height: 1;
}

.auth-story-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  gap: clamp(18px, 3vh, 32px);
}

.auth-story-copy {
  max-width: 560px;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #dcb8a4;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--auth-acc);
  box-shadow: 0 0 10px 2px rgba(249, 115, 22, 0.55);
}

.auth-story-title {
  margin: 0 0 20px;
  max-width: 13ch;
  font-size: clamp(38px, 4.3vw, 58px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(112deg, #ffb26b 0%, #f97316 34%, #f43f5e 68%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}

.auth-story-sub {
  margin: 0;
  max-width: 42ch;
  color: #cdbbb4;
  font-size: 17px;
  line-height: 1.62;
  text-wrap: pretty;
}

/* ---- Proof-point strip (truthful claims already used on the public site) --- */

.auth-features {
  display: flex;
  align-items: center;
  gap: 0;
  margin: clamp(24px, 4vh, 48px) 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 168, 110, 0.16);
  list-style: none;
}

.auth-features li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 26px;
}

.auth-features li:first-child {
  padding-left: 0;
}

.auth-features li + li {
  border-left: 1px solid rgba(255, 168, 110, 0.18);
}

.auth-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 11px;
  color: #fbbf77;
  background: rgba(249, 115, 22, 0.1);
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.22);
}

.auth-feature-icon svg {
  width: 20px;
  height: 20px;
}

.auth-feature-text {
  display: grid;
  gap: 2px;
  line-height: 1.25;
}

.auth-feature-text b {
  color: #f4e3d9;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.auth-feature-text small {
  color: #a8958d;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

/* ---- Mars visual: textured planet + elliptical rings ----------------------- */

.auth-visual {
  position: relative;
  width: min(100%, 620px);
  height: clamp(230px, 27vw, 344px);
  margin-top: clamp(4px, 2vh, 20px);
  pointer-events: none;
}

.auth-halo {
  position: absolute;
  left: 14%;
  top: 50%;
  width: 58%;
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.3), rgba(239, 68, 68, 0.1) 46%, transparent 72%);
  filter: blur(10px);
}

.auth-orb-core {
  position: absolute;
  left: 19%;
  top: 50%;
  width: clamp(180px, 19vw, 252px);
  height: clamp(180px, 19vw, 252px);
  transform: translateY(-50%);
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 24%, #ffd9ae 0%, #fb9d55 22%, #f2691f 46%, #c2410c 68%, #701a08 88%, #4a0f04 100%);
  box-shadow:
    0 0 90px 18px rgba(234, 88, 12, 0.34),
    0 0 34px 6px rgba(239, 68, 68, 0.2),
    inset -18px -22px 48px rgba(20, 3, 1, 0.6),
    inset 10px 12px 30px rgba(255, 206, 160, 0.22);
}

.auth-orb-texture {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(26px 22px at 30% 34%, rgba(122, 30, 8, 0.42), transparent 68%),
    radial-gradient(34px 26px at 52% 52%, rgba(122, 30, 8, 0.34), transparent 70%),
    radial-gradient(20px 16px at 40% 70%, rgba(140, 38, 10, 0.4), transparent 66%),
    radial-gradient(16px 12px at 62% 30%, rgba(150, 44, 12, 0.32), transparent 68%),
    radial-gradient(30px 40px at 70% 62%, rgba(90, 20, 6, 0.3), transparent 70%),
    radial-gradient(12px 10px at 24% 56%, rgba(150, 44, 12, 0.35), transparent 70%);
  mix-blend-mode: multiply;
  opacity: 0.75;
}

.auth-orb-shade {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 66% 64%, transparent 26%, rgba(26, 5, 2, 0.42) 58%, rgba(14, 3, 1, 0.85) 84%),
    linear-gradient(108deg, rgba(255, 236, 214, 0.14) 0%, transparent 38%, rgba(10, 2, 1, 0.24) 74%, rgba(10, 2, 1, 0.5) 100%);
}

.auth-orb-shine {
  position: absolute;
  left: calc(19% + 26px);
  top: calc(50% - 76px);
  width: 52px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 236, 212, 0.4);
  filter: blur(9px);
  transform: rotate(-26deg);
}

.auth-rings {
  position: absolute;
  left: -2%;
  top: 50%;
  width: 104%;
  height: auto;
  transform: translateY(-50%);
  overflow: visible;
}

.auth-ring {
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(249, 115, 22, 0.35));
}

.auth-ring-1 {
  stroke: rgba(251, 146, 60, 0.55);
  stroke-dasharray: 86 14;
}

.auth-ring-2 {
  stroke: rgba(239, 68, 68, 0.4);
  stroke-dasharray: 90 10;
}

.auth-ring-3 {
  stroke: rgba(236, 72, 153, 0.3);
  stroke-dasharray: 84 16;
}

.auth-moon {
  fill: #ffd9b3;
  filter: drop-shadow(0 0 5px rgba(255, 190, 140, 0.7));
}

.auth-moon-2 {
  fill: #fda4af;
  filter: drop-shadow(0 0 5px rgba(253, 164, 175, 0.6));
}

.auth-moon-3 {
  fill: #f9a8d4;
  filter: drop-shadow(0 0 4px rgba(249, 168, 212, 0.6));
}

.auth-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fdba74;
  box-shadow: 0 0 8px 2px rgba(249, 115, 22, 0.5);
  opacity: 0.7;
}

.auth-particle-1 {
  left: 46%;
  top: 14%;
}

.auth-particle-2 {
  left: 74%;
  top: 62%;
  width: 2px;
  height: 2px;
  background: #f9a8d4;
}

.auth-particle-3 {
  left: 24%;
  top: 82%;
  width: 2px;
  height: 2px;
  background: #93c5fd;
}

.auth-particle-4 {
  left: 88%;
  top: 30%;
  width: 2px;
  height: 2px;
}

/* ---- Form panel ------------------------------------------------------------ */

.auth-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 64px);
  background: var(--auth-ink);
}

.auth-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 460px at 50% 38%, rgba(234, 88, 12, 0.075), transparent 70%),
    radial-gradient(420px 360px at 50% 100%, rgba(239, 68, 68, 0.04), transparent 70%);
  pointer-events: none;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--auth-card-w);
  padding: 36px;
  border: 1px solid rgba(249, 115, 22, 0.32);
  border-radius: var(--auth-radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 174, 120, 0.05), transparent 30%),
    linear-gradient(158deg, rgba(33, 22, 19, 0.97), rgba(16, 10, 10, 0.98));
  box-shadow: var(--auth-glow);
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(255, 176, 120, 0.35), rgba(236, 72, 153, 0.14) 55%, transparent 78%);
  pointer-events: none;
}

.auth-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--auth-radius-lg) - 1px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 26%),
    linear-gradient(158deg, rgba(30, 20, 18, 0.985), rgba(15, 9, 9, 0.99));
  pointer-events: none;
}
.auth-card > * {
  position: relative;
  z-index: 1;
}

.auth-card-wide {
  max-width: 484px;
}

.auth-card-head {
  margin-bottom: 28px;
}

.auth-card-head .auth-eyebrow {
  margin-bottom: 9px;
  font-size: 11px;
  color: #c99b84;
}

.auth-title {
  margin: 0;
  font-size: 32px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.024em;
  color: var(--auth-text);
}

.auth-sub {
  margin: 10px 0 0;
  color: #bfaea6;
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
}

/* ---- Form system ----------------------------------------------------------- */

.auth-form {
  display: grid;
  gap: var(--auth-gap);
}

.auth-field {
  display: grid;
  gap: 0;
  min-width: 0;
}

.auth-field-secondary {
  padding-top: 2px;
}

.auth-label {
  display: block;
  margin-bottom: 8px;
  color: #ddcfc9;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.auth-control {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-field-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  color: #8d7c77;
  pointer-events: none;
  transition: color 0.16s ease;
}

.auth-field-icon svg {
  width: 19px;
  height: 19px;
}

.auth-control:focus-within .auth-field-icon {
  color: #fb923c;
}

.auth-input {
  width: 100%;
  height: var(--auth-input-h);
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  background: #0d0808;
  color: var(--auth-text);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.45);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.auth-control-icon .auth-input {
  padding-left: 46px;
}

.auth-input::placeholder {
  color: #7d6d67;
  opacity: 1;
}

@media (hover: hover) {
  .auth-input:hover {
    border-color: rgba(255, 255, 255, 0.22);
  }
}

.auth-input:focus {
  border-color: rgba(249, 115, 22, 0.72);
  background: #110b0a;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.16), inset 0 1px 2px rgba(0, 0, 0, 0.45);
}

.auth-input:user-invalid {
  border-color: rgba(239, 68, 68, 0.65);
}

.auth-input-password {
  padding-right: 50px;
}

.auth-pw-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--auth-dim);
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

@media (hover: hover) {
  .auth-pw-toggle:hover {
    color: #f4c7b2;
    background: rgba(249, 115, 22, 0.08);
  }
}

.auth-pw-toggle:focus-visible {
  outline: 2px solid var(--auth-acc);
  outline-offset: 1px;
}

.auth-eye {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hidden password shows the crossed eye; revealed shows the open eye. */
.auth-eye-open {
  display: none;
}

.auth-pw-toggle[aria-pressed="true"] .auth-eye-open {
  display: block;
}

.auth-pw-toggle[aria-pressed="true"] .auth-eye-off {
  display: none;
}

.auth-hint {
  margin: 7px 0 0;
  color: var(--auth-dim);
  font-size: 12.5px;
  line-height: 1.55;
}

.auth-field-error {
  margin: 6px 0 0;
  color: var(--auth-err);
  font-size: 12.5px;
  line-height: 1.5;
  min-height: 0;
}

.auth-field-error:not(:empty) {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.auth-optional {
  margin-left: 4px;
  color: var(--auth-dim);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1px;
}

.auth-check {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: #d6c6bf;
  font-size: 13.5px;
  line-height: 1.5;
  cursor: pointer;
}

.auth-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.auth-checkbox-ui {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: #120c0c;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.auth-checkbox-ui::after {
  content: "";
  width: 5px;
  height: 9px;
  margin-top: -2px;
  border: solid #fff;
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 0.12s ease;
}

.auth-checkbox:checked + .auth-checkbox-ui {
  border-color: rgba(249, 115, 22, 0.85);
  background: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
  box-shadow: 0 0 16px -2px rgba(249, 115, 22, 0.6);
}

.auth-checkbox:checked + .auth-checkbox-ui::after {
  transform: rotate(45deg) scale(1);
}

.auth-checkbox:focus-visible + .auth-checkbox-ui {
  outline: 2px solid var(--auth-acc);
  outline-offset: 2px;
}

.auth-check-label {
  min-width: 0;
}

.auth-agree-wrap {
  padding: 0;
}

.auth-agree {
  font-size: 13px;
  line-height: 1.55;
}

.auth-link {
  color: #fb923c;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

@media (hover: hover) {
  .auth-link:hover {
    color: #fda4af;
    text-decoration: underline;
  }
}

.auth-link:focus-visible {
  outline: 2px solid var(--auth-acc);
  outline-offset: 2px;
  border-radius: 3px;
}

.auth-link-quiet {
  color: #d0a998;
  font-size: 13px;
}

.auth-submit,
.auth-social-btn,
.auth-pw-toggle,
.auth-check {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.auth-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: var(--auth-btn-h);
  padding: 0 20px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(120deg, #f97316 0%, #f43f5e 55%, #ec4899 100%);
  color: #fff;
  font: inherit;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 16px 40px -16px rgba(244, 63, 94, 0.75), 0 4px 14px -6px rgba(249, 115, 22, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: filter 0.16s ease, transform 0.15s ease-out, box-shadow 0.16s ease, opacity 0.16s ease;
}

.auth-submit-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

@media (hover: hover) {
  .auth-submit:hover {
    filter: brightness(1.08) saturate(1.05);
    transform: translateY(-1px);
    box-shadow: 0 20px 46px -16px rgba(244, 63, 94, 0.85), 0 6px 18px -6px rgba(249, 115, 22, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  }
}

.auth-submit:not([aria-disabled="true"]):active {
  transform: translateY(0) scale(0.96);
  filter: brightness(0.96);
}

.auth-submit:focus-visible {
  outline: 2px solid #fdba74;
  outline-offset: 3px;
}

.auth-submit[aria-disabled="true"],
.auth-submit.auth-off {
  opacity: 0.82;
  filter: saturate(0.92);
  transform: none;
  box-shadow: 0 10px 26px -16px rgba(244, 63, 94, 0.5);
}

.auth-submit[aria-busy="true"] {
  pointer-events: none;
  opacity: 0.8;
}

.auth-submit-label {
  display: inline-block;
}

.auth-spinner {
  display: none;
  width: 17px;
  height: 17px;
  margin-left: 10px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
}

.auth-submit[aria-busy="true"] .auth-spinner {
  display: inline-block;
}

.auth-submit-link {
  display: inline-flex;
  text-align: center;
  text-decoration: none;
}

.auth-alt {
  margin: 2px 0 0;
  text-align: center;
  color: var(--auth-muted);
  font-size: 13.5px;
}

/* Strength meter */
.auth-strength {
  margin-top: 9px;
  height: 5px;
  border-radius: 99px;
  background: #241818;
  overflow: hidden;
}

.auth-strength > span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 99px;
  background: var(--auth-acc-2);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.auth-strength-text {
  margin: 7px 0 0;
  color: var(--auth-dim);
  font-size: 12px;
  line-height: 1.4;
  min-height: 0;
}

.auth-strength-text:not(:empty) {
  color: #d8b6a6;
}

/* Flash + error summary */
.auth-flash {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  padding: 11px 13px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.auth-flash-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.auth-flash-ok {
  border-color: rgba(16, 185, 129, 0.28);
  background: rgba(6, 78, 59, 0.55);
  color: var(--auth-ok);
}

.auth-flash-ok .auth-flash-icon {
  background: rgba(16, 185, 129, 0.2);
}

.auth-flash-err {
  border-color: rgba(239, 68, 68, 0.32);
  background: rgba(127, 29, 29, 0.42);
  color: var(--auth-err);
}

.auth-flash-err .auth-flash-icon {
  background: rgba(239, 68, 68, 0.22);
}

.auth-error-summary {
  margin-bottom: 20px;
  padding: 11px 13px;
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.11);
  color: var(--auth-err);
  font-size: 13px;
  line-height: 1.5;
}

.auth-success {
  margin: 0 0 20px;
  padding: 11px 13px;
  border: 1px solid rgba(16, 185, 129, 0.26);
  border-radius: 12px;
  background: rgba(6, 78, 59, 0.5);
  color: var(--auth-ok);
  font-size: 13px;
  line-height: 1.5;
}

/* Captcha slot */
.auth-captcha {
  margin: 0;
}

/* Social buttons */
.auth-social {
  margin-top: 24px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--auth-dim);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Inline alt link inside the divider (login/register) reads as normal copy. */
.auth-divider-alt {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #b9aaa5;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.11));
}

.auth-divider::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.11), transparent);
}

.auth-social-stack {
  display: grid;
  gap: 10px;
}

.auth-social-form {
  margin: 0;
}

.auth-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--auth-text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

@media (hover: hover) {
  .auth-social-btn:hover {
    border-color: rgba(249, 115, 22, 0.42);
    background: rgba(249, 115, 22, 0.07);
    transform: translateY(-1px);
  }
}

.auth-social-btn:not(:disabled):active {
  transform: translateY(0) scale(0.96);
}

.auth-social-btn:focus-visible {
  outline: 2px solid var(--auth-acc);
  outline-offset: 2px;
}

.auth-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.auth-social-icon svg {
  width: 18px;
  height: 18px;
}

/* Code input (TOTP) */
.auth-code-input {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 19px;
  letter-spacing: 0.3em;
  text-align: center;
}

/* ---- Ambient motion (normal preference only) ------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .auth-orb-core {
    animation: authOrbDrift 9s ease-in-out infinite;
  }

  .auth-orb-texture {
    animation: authSurface 80s linear infinite;
  }

  .auth-halo {
    animation: authHalo 9s ease-in-out infinite alternate;
  }

  .auth-ring-1 {
    animation: authRingShift 16s ease-in-out infinite alternate, authOrbitDash 18s linear infinite;
  }

  .auth-ring-2 {
    animation: authRingShift 24s ease-in-out infinite alternate-reverse, authOrbitDash 26s linear infinite;
  }

  .auth-ring-3 {
    animation: authOrbitDash 34s linear infinite;
  }

  .auth-rings-front .auth-ring {
    animation-direction: reverse;
  }

  .auth-aurora {
    animation: authAurora 18s ease-in-out infinite alternate;
  }

  .auth-starfield,
  .auth-stars {
    animation: authTwinkle 7s ease-in-out infinite alternate;
  }

  .auth-particle-1 {
    animation: authParticle 6s ease-in-out infinite;
  }

  .auth-particle-2 {
    animation: authParticle 7.5s ease-in-out infinite 0.8s;
  }

  .auth-particle-3 {
    animation: authParticle 8.5s ease-in-out infinite 1.6s;
  }

  .auth-particle-4 {
    animation: authParticle 9.5s ease-in-out infinite 2.4s;
  }

  .auth-card {
    animation: authEnter 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .auth-moon {
    animation: authHubPulse 4s ease-in-out infinite;
  }

  .auth-spinner {
    animation: authSpin 0.8s linear infinite;
  }
}

@keyframes authOrbDrift {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 12px)); }
}

@keyframes authHalo {
  from { opacity: 0.72; transform: translateY(-50%) scale(1); }
  to { opacity: 1; transform: translateY(-50%) scale(1.06); }
}

@keyframes authSpin {
  to { transform: rotate(360deg); }
}

@keyframes authAurora {
  from { transform: translate3d(-2%, -1%, 0) scale(1); opacity: 0.8; }
  to { transform: translate3d(2%, 2%, 0) scale(1.06); opacity: 1; }
}

@keyframes authRingShift {
  from { opacity: 0.75; }
  to { opacity: 1; }
}

@keyframes authOrbitDash {
  to { stroke-dashoffset: -100; }
}

@keyframes authSurface {
  to { transform: rotate(360deg); }
}

@keyframes authTwinkle {
  from { opacity: 0.4; }
  to { opacity: 0.65; }
}

@keyframes authPulseTravel {
  from { stroke-dashoffset: 44; }
  to { stroke-dashoffset: 0; }
}

@keyframes authParticle {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.45; }
  50% { transform: translate3d(6px, -12px, 0); opacity: 0.9; }
}

@keyframes authEnter {
  from { opacity: 0; transform: translateY(12px) scale(0.992); }
  to { opacity: 1; transform: none; }
}

@keyframes authHubPulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

/* ---- Reduced motion: everything rests, nothing hides ----------------------- */

@media (prefers-reduced-motion: reduce) {
  .auth-orb-core,
  .auth-orb-texture,
  .auth-halo,
  .auth-ring-1,
  .auth-ring-2,
  .auth-ring,
  .auth-moon,
  .auth-particle,
  .auth-card,
  .auth-spinner,
  .auth-stars,
  .auth-aurora {
    animation: none !important;
  }

  .auth-ring {
    /* Useful final state: solid readable lines instead of travelling dashes. */
    stroke-dasharray: none;
    stroke: rgba(249, 115, 22, 0.5);
  }

  .auth-card {
    opacity: 1;
    transform: none;
  }

  .auth-submit,
  .auth-social-btn,
  .auth-input,
  .auth-field-icon,
  .auth-pw-toggle,
  .auth-checkbox-ui,
  .auth-checkbox-ui::after,
  .auth-link,
  .auth-strength > span {
    transition: none;
    animation: none;
  }
}

/* ---- Tablet: keep two columns, tighten proportions ------------------------- */

@media (max-width: 1180px) {
  .auth-story-inner {
    padding: 40px 40px 44px;
  }

  .auth-brand {
    margin-bottom: 40px;
  }

  .auth-story-title {
    font-size: clamp(34px, 4.2vw, 46px);
    max-width: 12ch;
  }

  .auth-story-sub {
    font-size: 15px;
  }

  .auth-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding-top: 18px;
  }

  .auth-features li {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
  }

  .auth-features li + li {
    padding-left: 16px;
  }

  .auth-feature-text b {
    font-size: 12px;
    white-space: nowrap;
  }

  .auth-feature-text small {
    font-size: 11px;
    white-space: nowrap;
  }

  .auth-feature-icon {
    width: 34px;
    height: 34px;
  }

  .auth-panel {
    padding: 40px 28px;
  }

  .auth-card {
    max-width: 430px;
    padding: 32px 30px;
  }

  .auth-card-wide {
    max-width: 440px;
  }
}

/* ---- Mobile: focused single column, compact static brand ------------------- */

@media (max-width: 900px) {
  .auth-stage {
    grid-template-columns: 1fr;
    min-height: 100svh;
  }

  .auth-story {
    grid-template-rows: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(45, 30, 30, 0.7);
    padding: 24px 22px 0;
  }

  .auth-story-inner {
    min-height: 0;
    max-width: 560px;
    padding: 0 0 24px;
  }

  .auth-brand {
    margin-bottom: 16px;
  }

  .auth-form {
    gap: 16px;
  }

  .auth-story-body {
    gap: 6px;
  }

  .auth-story-title {
    font-size: 30px;
    max-width: 16ch;
    margin-bottom: 10px;
  }

  .auth-story-sub {
    font-size: 14.5px;
    line-height: 1.6;
  }

  .auth-features {
    display: none;
  }

  .auth-horizon {
    bottom: -58%;
    height: 60%;
  }

  .auth-visual {
    width: 100%;
    max-width: 440px;
    height: clamp(112px, 26vw, 168px);
    margin-top: 8px;
  }

  .auth-halo {
    left: 8%;
    width: 210px;
  }

  .auth-orb-core {
    left: 12%;
    width: 112px;
    height: 112px;
  }

  .auth-orb-shine {
    left: calc(12% + 16px);
    top: calc(50% - 36px);
    width: 28px;
    height: 14px;
  }

  .auth-rings {
    left: -6%;
    width: 112%;
  }

  .auth-particle-4 {
    display: none;
  }

  .auth-panel {
    align-items: flex-start;
    min-height: 0;
    padding: 24px 20px 48px;
  }

  .auth-card,
  .auth-card-wide {
    max-width: 470px;
    padding: 30px 26px;
    margin: 0 auto;
  }
}

@media (max-width: 390px) {
  .auth-story {
    padding: 20px 16px 0;
  }

  .auth-story-inner {
    padding: 0 0 20px;
  }

  .auth-story-title {
    font-size: 27px;
  }

  .auth-panel {
    padding: 26px 12px 40px;
  }

  .auth-card,
  .auth-card-wide {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .auth-title {
    font-size: 26px;
  }

  .auth-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-social-btn {
    font-size: 13px;
  }
}

/* ---- V10 premium auth refinement ------------------------------------------
   Keep the Mars story, but make the form side agree with the panel system:
   warm graphite surfaces, one orange action signal, strong field boundaries
   and less ornamental depth. The public pages do not load this stylesheet. */

:root {
  --auth-ink: #0b0c0f;
  --auth-ink-2: #0e1014;
  --auth-panel: #121419;
  --auth-panel-2: #191c22;
  --auth-field: #0e1014;
  --auth-edge: #2a2f38;
  --auth-edge-hi: #3a424e;
  --auth-input-edge: #5a6475;
  --auth-acc: #f97316;
  --auth-acc-fill: #c2410c;
  --auth-text: #f4f6f8;
  --auth-muted: #a6afbc;
  --auth-dim: #8993a2;
  --auth-submit-off: #352923;
  --auth-submit-off-text: #b7bec8;
  --auth-shadow: 0 28px 80px -34px rgba(0, 0, 0, 0.92), 0 12px 34px -24px rgba(0, 0, 0, 0.86);
  --auth-glow: inset 0 1px 0 rgba(255, 255, 255, 0.055), var(--auth-shadow);
}

body.mars-auth-body {
  scrollbar-width: thin;
  scrollbar-color: var(--auth-edge-hi) var(--auth-ink);
}

body.mars-auth-body::-webkit-scrollbar { width: 8px; }
body.mars-auth-body::-webkit-scrollbar-track { background: var(--auth-ink); }
body.mars-auth-body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--auth-edge-hi);
}

.auth-story {
  border-color: var(--auth-edge);
  background:
    radial-gradient(900px 620px at 18% 8%, rgba(234, 88, 12, 0.18), transparent 64%),
    radial-gradient(700px 520px at 84% 76%, rgba(239, 68, 68, 0.08), transparent 66%),
    radial-gradient(520px 420px at 54% 108%, rgba(249, 115, 22, 0.12), transparent 70%),
    linear-gradient(168deg, #140b08 0%, #0d0908 54%, #090708 100%);
}

.auth-story::before {
  background:
    radial-gradient(560px 360px at 28% 26%, rgba(234, 88, 12, 0.1), transparent 62%),
    radial-gradient(460px 320px at 72% 64%, rgba(239, 68, 68, 0.055), transparent 64%);
}

.auth-story-title {
  background: linear-gradient(112deg, #fdba74 0%, #f97316 42%, #ea580c 72%, #ef4444 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-ring-2 { stroke: rgba(234, 88, 12, 0.42); }
.auth-ring-3 { stroke: rgba(239, 68, 68, 0.3); }
.auth-moon-2 { fill: #fb923c; filter: drop-shadow(0 0 5px rgba(251, 146, 60, 0.55)); }
.auth-moon-3 { fill: #f87171; filter: drop-shadow(0 0 4px rgba(248, 113, 113, 0.5)); }
.auth-particle-2 { background: #fb923c; }
.auth-particle-3 { background: #f87171; }

.auth-panel {
  background: var(--auth-ink);
}

.auth-panel::before {
  background:
    radial-gradient(560px 460px at 50% 34%, rgba(249, 115, 22, 0.055), transparent 70%),
    radial-gradient(420px 360px at 50% 100%, rgba(234, 88, 12, 0.025), transparent 72%);
}

.auth-card {
  max-width: 464px;
  padding: 34px;
  border-color: var(--auth-edge-hi);
  background: var(--auth-panel);
  box-shadow: var(--auth-glow);
}

.auth-card::before {
  inset: 0;
  background: linear-gradient(145deg, rgba(249, 115, 22, 0.065), transparent 30%);
}

.auth-card::after { display: none; }

.auth-card-wide {
  max-width: 492px;
  --auth-input-h: 48px;
  --auth-btn-h: 52px;
}

.auth-card-wide .auth-card-head { margin-bottom: 22px; }
.auth-card-wide .auth-form { gap: 16px; }
.auth-card-wide .auth-hint { margin-top: 5px; }
.auth-card-wide .auth-social { margin-top: 20px; }

.auth-title { color: var(--auth-text); }
.auth-sub { color: var(--auth-muted); }
.auth-label { color: #d6dbe3; }
.auth-field-icon { color: var(--auth-dim); }
.auth-control:focus-within .auth-field-icon { color: #fb923c; }

.auth-input {
  border-color: var(--auth-input-edge);
  background: var(--auth-field);
  color: var(--auth-text);
  caret-color: var(--auth-acc);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.34);
}

.auth-input::placeholder {
  color: var(--auth-dim);
}

@media (hover: hover) {
  .auth-input:hover { border-color: #6b7584; }
}

.auth-input:focus {
  border-color: var(--auth-acc);
  background: var(--auth-field);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2), inset 0 1px 2px rgba(0, 0, 0, 0.34);
}

.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover,
.auth-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--auth-text);
  caret-color: var(--auth-text);
  -webkit-box-shadow: 0 0 0 1000px var(--auth-field) inset, 0 0 0 3px rgba(249, 115, 22, 0.12);
  transition: background-color 9999s ease-out 0s;
}

.auth-pw-toggle {
  width: 40px;
  height: 40px;
  color: var(--auth-dim);
}

.auth-hint,
.auth-strength-text,
.auth-optional,
.auth-divider { color: var(--auth-dim); }
.auth-check { color: #d6dbe3; }

.auth-checkbox-ui {
  border-color: var(--auth-input-edge);
  background: var(--auth-field);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.32);
}

.auth-checkbox:checked + .auth-checkbox-ui {
  border-color: var(--auth-acc-fill);
  background: var(--auth-acc-fill);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
}

.auth-submit {
  border: 1px solid #9a3412;
  background: linear-gradient(180deg, #c94b13 0%, #b83b0b 100%);
  color: #fff;
  box-shadow: 0 12px 28px -16px rgba(194, 65, 12, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

@media (hover: hover) {
  .auth-submit:hover {
    filter: none;
    background: linear-gradient(180deg, #c2410c 0%, #9a3412 100%);
    transform: translateY(-1px);
    box-shadow: 0 16px 34px -18px rgba(194, 65, 12, 0.82), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }
}

.auth-submit[aria-disabled="true"]:not([aria-busy="true"]),
.auth-submit.auth-off {
  border-color: #594238;
  background: var(--auth-submit-off);
  color: var(--auth-submit-off-text);
  opacity: 1;
  filter: none;
  transform: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

@media (hover: hover) {
  .auth-submit[aria-disabled="true"]:not([aria-busy="true"]):hover,
  .auth-submit.auth-off:hover {
    border-color: #594238;
    background: var(--auth-submit-off);
    transform: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  }
}

.auth-submit[aria-busy="true"] {
  opacity: 1;
  filter: none;
}

.auth-social-btn {
  border-color: var(--auth-edge-hi);
  background: var(--auth-field);
  color: var(--auth-text);
}

@media (hover: hover) {
  .auth-social-btn:hover {
    border-color: rgba(249, 115, 22, 0.5);
    background: var(--auth-panel-2);
  }
}

.auth-divider-alt { color: var(--auth-muted); }
.auth-divider::before { background: linear-gradient(90deg, transparent, var(--auth-edge-hi)); }
.auth-divider::after { background: linear-gradient(90deg, var(--auth-edge-hi), transparent); }

@media (max-width: 1180px) {
  .auth-card { max-width: 430px; padding: 30px; }
  .auth-card-wide { max-width: 452px; }
}

@media (max-width: 900px) {
  .auth-story {
    padding: 18px 20px 0;
    border-color: var(--auth-edge);
  }

  .auth-story-inner { padding: 0 0 16px; }
  .auth-brand { margin-bottom: 12px; gap: 10px; font-size: 18px; }
  .auth-brand-mark { width: 34px; height: 34px; }
  .auth-brand-orb { width: 23px; height: 23px; }
  .auth-story-title { max-width: none; margin-bottom: 7px; font-size: 26px; line-height: 1.08; }
  .auth-story-sub { max-width: 48ch; font-size: 13.5px; line-height: 1.52; }
  .auth-visual { height: 88px; max-width: 420px; margin-top: 2px; }
  .auth-halo { left: 7%; width: 160px; filter: blur(8px); }
  .auth-orb-core { left: 12%; width: 82px; height: 82px; }
  .auth-orb-shine { left: calc(12% + 12px); top: calc(50% - 27px); width: 22px; height: 10px; }
  .auth-rings { left: -2%; width: 104%; }
  .auth-panel { padding: 20px 16px 40px; }
  .auth-card,
  .auth-card-wide { max-width: 470px; padding: 28px 24px; border-radius: 18px; }
}

@media (max-width: 390px) {
  .auth-story { padding: 16px 16px 0; }
  .auth-story-inner { padding-bottom: 14px; }
  .auth-story-title { font-size: 24px; }
  .auth-visual { height: 72px; }
  .auth-halo { width: 132px; }
  .auth-orb-core { width: 68px; height: 68px; }
  .auth-panel { padding: 18px 12px 36px; }
  .auth-card,
  .auth-card-wide { padding: 24px 18px; }
}
