/* OYVRA auth — split marketing login */

body.auth-body-page {
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(216, 106, 154, 0.12), transparent 55%),
    radial-gradient(900px 520px at 88% 0%, rgba(124, 77, 255, 0.14), transparent 50%),
    linear-gradient(180deg, #fbf9fd 0%, #f3eef8 100%);
  overflow-x: clip;
}

.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 18px 22px 28px;
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto;
}

.auth-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 4px 6px;
  animation: auth-fade-up 0.7s ease both;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.auth-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(124, 77, 255, 0.28));
}

.auth-brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--oyvra-text);
}

.auth-brand span {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--oyvra-text-muted);
}

.auth-nav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  justify-self: center;
}

.auth-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--oyvra-text-secondary);
  transition: color 0.2s ease;
}

.auth-nav a:hover { color: var(--oyvra-primary); }

.auth-top-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.auth-top-hint {
  font-size: 13px;
  font-weight: 600;
  color: var(--oyvra-text-secondary);
}

.auth-btn-create {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ec4899 0%, #a855f7 52%, #8b5cf6 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(168, 85, 247, 0.28);
  border: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.auth-btn-create:hover {
  transform: translateY(-1px);
  background: linear-gradient(90deg, #db2777 0%, #9333ea 52%, #7c3aed 100%);
  box-shadow: 0 14px 28px rgba(168, 85, 247, 0.38);
  color: #fff;
}

.auth-main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(400px, 0.82fr);
  grid-template-areas: "banner form";
  gap: 28px;
  align-items: stretch;
  min-height: 0;
}

.auth-stage { grid-area: banner; }
.auth-panel { grid-area: form; }

/* —— Login: original hero panel mockup —— */
.auth-shell--login {
  padding: 18px 24px 28px;
  gap: 0;
  max-width: 1480px;
}

.auth-shell--login .auth-main {
  min-height: calc(100vh - 48px);
}

.auth-shell--login .auth-stage {
  min-height: 0;
  height: 100%;
  animation: auth-fade-up 0.75s ease both 0.05s;
}

.auth-shell--login .auth-stage-frame--hero {
  height: 100%;
  min-height: calc(100vh - 48px);
  border-radius: 36px;
}

.auth-shell--login .auth-stage-veil--hero {
  background:
    linear-gradient(180deg,
      rgba(255, 248, 252, 0.72) 0%,
      rgba(255, 248, 252, 0.28) 14%,
      rgba(18, 10, 32, 0.05) 32%,
      rgba(18, 10, 32, 0.38) 58%,
      rgba(14, 8, 26, 0.8) 82%,
      rgba(12, 6, 22, 0.92) 100%);
}

.auth-hero-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 22px 26px 10px;
}

.auth-brand--dark {
  justify-self: auto;
}

.auth-brand--dark strong {
  color: #25212b;
  letter-spacing: 0.12em;
}

.auth-brand--dark span {
  color: #6f6878;
}

.auth-brand--dark img {
  filter: drop-shadow(0 6px 14px rgba(124, 77, 255, 0.22));
}

.auth-nav--hero {
  justify-self: auto;
  margin-left: auto;
}

.auth-nav--hero a {
  color: #4a4454;
  font-weight: 600;
}

.auth-nav--hero a:hover {
  color: var(--oyvra-primary);
}

.auth-shell--login .auth-stage-copy--hero {
  max-width: 540px;
  padding: 40px 42px 64px;
}

.auth-shell--login .auth-stage-copy--hero h1 em {
  background: linear-gradient(135deg, #e9d5ff 0%, #f9a8d4 50%, #fda4af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.auth-shell--login .auth-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 18px 18px 8px;
  position: relative;
  gap: 18px;
}

.auth-shell--login .auth-card {
  max-width: 460px;
  width: 100%;
}

.auth-shell--login .auth-float-a {
  top: 26%;
  right: 22px;
}

.auth-shell--login .auth-scribble-a {
  top: 16%;
  right: 12%;
  color: #f5d0fe;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.auth-shell--login .auth-scribble-b {
  top: auto;
  bottom: 28%;
  right: 6%;
  color: #fbcfe8;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.auth-shell--login .auth-scribble-c {
  top: 12%;
  right: 58px;
}

.auth-shell--login .auth-scribble-d {
  bottom: 14%;
  right: 10px;
}

.auth-shell--login .auth-float-b {
  top: 22%;
  right: 2px;
}

/* —— Left stage (shared / signup overlays) —— */
.auth-stage {
  position: relative;
  min-height: 640px;
  animation: auth-fade-up 0.8s ease both 0.05s;
}

.auth-stage-frame {
  position: relative;
  height: 100%;
  min-height: 640px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(74, 40, 120, 0.18),
    0 8px 24px rgba(37, 33, 43, 0.06);
}

.auth-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.04);
  animation: auth-kenburns 18s ease-in-out infinite alternate;
}

.auth-stage-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 10, 32, 0.18) 0%, rgba(18, 10, 32, 0.08) 28%, rgba(18, 10, 32, 0.42) 58%, rgba(16, 8, 28, 0.82) 100%),
    linear-gradient(90deg, rgba(124, 77, 255, 0.18), transparent 42%);
  pointer-events: none;
}

.auth-stage-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 40px 72px;
  color: #fff;
  max-width: 560px;
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  animation: auth-fade-up 0.8s ease both 0.2s;
}

.auth-stage-copy h1 {
  font-family: var(--oyvra-display);
  font-weight: 600;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 18px 0 12px;
  text-wrap: balance;
  animation: auth-fade-up 0.8s ease both 0.28s;
}

.auth-stage-copy h1 em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(135deg, #e9d5ff 0%, #fbcfe8 45%, #fda4af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-visual-copy {
  font-size: 15px;
  line-height: 1.55;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.88);
  animation: auth-fade-up 0.8s ease both 0.34s;
}

.auth-features {
  display: grid;
  gap: 10px;
  margin: 22px 0 24px;
  animation: auth-fade-up 0.8s ease both 0.4s;
}

.auth-features li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
}

.auth-fico {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}

.auth-quote {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  animation: auth-fade-up 0.8s ease both 0.48s;
}

.auth-quote img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.auth-quote p {
  font-size: 13px;
  line-height: 1.4;
  color: #fff;
  margin: 0 0 6px;
}

.auth-quote figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.auth-quote strong { font-weight: 700; color: #fff; }
.auth-stars { color: #fbbf24; letter-spacing: 1px; font-size: 11px; }

.auth-pin {
  position: absolute;
  left: 40px;
  bottom: 38px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.auth-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 10px 18px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(180deg, transparent, rgba(12, 6, 24, 0.45));
}

/* Floating faces + scribbles */
.auth-float {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.auth-float img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #fff;
  box-shadow: 0 10px 24px rgba(37, 33, 43, 0.22);
  animation: auth-float 5.5s ease-in-out infinite;
}

.auth-float img:nth-child(2) { animation-delay: 0.6s; }
.auth-float img:nth-child(3) { animation-delay: 1.1s; }
.auth-float img:nth-child(4) { animation-delay: 1.5s; }
.auth-float img:nth-child(5) { animation-delay: 1.9s; }

.auth-float-a {
  top: 18%;
  right: 6%;
}

.auth-float-b {
  top: 12%;
  right: 8px;
}

.auth-scribble {
  position: absolute;
  z-index: 3;
  font-family: var(--oyvra-script);
  font-weight: 600;
  line-height: 1.15;
  pointer-events: none;
  color: #7c4dff;
}

.auth-scribble-a {
  top: 10%;
  right: 14%;
  font-size: clamp(22px, 2.2vw, 30px);
  transform: rotate(-8deg);
  color: #a855f7;
  animation: auth-fade-tilt 0.9s ease both 0.25s;
  text-shadow: 0 6px 18px rgba(255, 255, 255, 0.35);
}

.auth-scribble-b {
  top: 42%;
  right: 4%;
  font-size: 18px;
  transform: rotate(6deg);
  color: #db2777;
  animation: auth-fade-in 1s ease both 0.45s;
}

.auth-scribble-c {
  top: 8%;
  right: 64px;
  font-size: 24px;
  transform: rotate(8deg);
  color: #9333ea;
  animation: auth-fade-tilt 0.9s ease both 0.35s;
}

.auth-scribble-d {
  bottom: 18%;
  right: 12px;
  font-size: 20px;
  transform: rotate(-6deg);
  color: #c026d3;
  animation: auth-fade-in 1s ease both 0.55s;
}

/* —— Right panel / card —— */
.auth-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px 12px 0;
  animation: auth-fade-up 0.85s ease both 0.12s;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  padding: 22px 36px 24px;
  box-shadow:
    0 28px 64px rgba(92, 53, 214, 0.12),
    0 8px 24px rgba(37, 33, 43, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: relative;
  z-index: 2;
}

.auth-card-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 22px;
}

.auth-form-logo {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  margin: 0;
}

.auth-form-logo img {
  display: block;
  width: auto;
  height: 48px;
  max-width: min(280px, 100%);
  object-fit: contain;
  object-position: left center;
}

.auth-card-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  align-self: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 0;
  min-height: 42px;
}

.auth-form,
.auth-form form,
.auth-form .field,
.input-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.auth-card h2 {
  font-family: var(--oyvra-display);
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: var(--oyvra-text);
}

.auth-card h2 span {
  background: linear-gradient(135deg, #7c4dff 0%, #d86a9a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-lead {
  color: var(--oyvra-text-secondary);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 380px;
}

.auth-founding {
  margin: -4px 0 14px;
  max-width: 420px;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--oyvra-primary-dark);
  background: var(--oyvra-primary-soft);
  border: 1px solid rgba(124, 77, 255, 0.16);
}

.auth-form .field label {
  font-size: 13px;
  font-weight: 800;
}

.input-wrap { position: relative; }

.input-ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--oyvra-text-muted);
  display: inline-flex;
  line-height: 0;
  pointer-events: none;
}

.auth-form .input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 52px;
  border-radius: 16px;
  padding: 0 16px;
  background: #fbf9fd;
  border: 1.5px solid var(--oyvra-border);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-form .input.has-ico { padding-left: 44px; }
.auth-form .input.has-peek { padding-right: 48px; }

.auth-form .input:focus {
  background: #fff;
  border-color: rgba(124, 77, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(124, 77, 255, 0.12);
}

.peek {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--oyvra-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.peek:hover { background: var(--oyvra-primary-soft); color: var(--oyvra-primary); }

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 22px;
}

.auth-row .check {
  font-size: 13px;
  font-weight: 700;
  color: var(--oyvra-text-secondary);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.auth-row .check input {
  width: 18px;
  height: 18px;
  accent-color: var(--oyvra-primary);
}

.auth-age {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--oyvra-text-secondary);
}

.auth-link {
  color: var(--oyvra-primary);
  font-weight: 800;
  font-size: 13px;
}

.auth-link:hover { color: var(--oyvra-primary-dark); }

.btn-auth {
  min-height: 52px;
  font-size: 15px;
  border-radius: 16px;
  position: relative;
  background: linear-gradient(90deg, #ec4899 0%, #a855f7 52%, #8b5cf6 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(168, 85, 247, 0.34);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-auth::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 48%, transparent 65%);
  transform: translateX(-120%);
  animation: auth-shimmer 4.5s ease-in-out infinite;
  pointer-events: none;
}

.btn-auth:hover {
  transform: translateY(-1px);
  background: linear-gradient(90deg, #db2777 0%, #9333ea 52%, #7c3aed 100%);
  box-shadow: 0 18px 36px rgba(168, 85, 247, 0.42);
  color: #fff;
}

.btn-auth .btn-label,
.btn-auth .btn-arrow {
  position: relative;
  z-index: 1;
}

.btn-arrow {
  font-size: 18px;
  line-height: 1;
  margin-left: 2px;
}

.auth-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 14px;
  color: var(--oyvra-text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-or::before,
.auth-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--oyvra-border);
}

.auth-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.auth-social-btn {
  min-height: 46px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid var(--oyvra-border);
  color: var(--oyvra-text);
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  padding: 0 10px;
}

.auth-social-btn:disabled,
.auth-social-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.auth-social-btn svg { flex-shrink: 0; }

.auth-foot {
  text-align: center;
  margin-top: 20px;
  color: var(--oyvra-text-secondary);
  font-size: 14px;
}

.auth-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--oyvra-border);
}

.auth-trust > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--oyvra-text-muted);
}

.auth-tico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--oyvra-primary-soft);
  color: var(--oyvra-primary);
}

.form-ok {
  display: none;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #e8f7f1;
  color: #1f7a5a;
  font-size: 13px;
  font-weight: 600;
}

.form-ok.is-on { display: block; }

.form-error {
  display: none;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fde8ec;
  color: #b4233b;
  font-size: 13px;
  font-weight: 600;
}

.form-error.is-on { display: block; }

@keyframes auth-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes auth-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes auth-fade-tilt {
  from { opacity: 0; transform: translateY(12px) rotate(-8deg); }
  to { opacity: 1; transform: translateY(0) rotate(-8deg); }
}

@keyframes auth-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes auth-kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

@keyframes auth-shimmer {
  0%, 70% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

/* —— Signup mode —— */
.auth-shell--signup {
  max-width: none;
  padding: 0;
  gap: 0;
  background: #fff;
}

.auth-shell--signup .auth-main {
  min-height: 100vh;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  grid-template-areas: "banner form";
  gap: 0;
}

.auth-shell--signup .auth-stage {
  min-height: 100vh;
  animation: none;
}

.auth-shell--signup .auth-stage-frame {
  min-height: 100vh;
  height: 100%;
  border-radius: 0 36px 36px 0;
  box-shadow: none;
}

.auth-shell--signup .auth-photo {
  object-position: center 48%;
}

.auth-shell--signup .auth-stage-veil {
  background:
    linear-gradient(180deg, rgba(20, 12, 28, 0.22) 0%, rgba(20, 12, 28, 0.05) 34%, rgba(18, 10, 28, 0.55) 68%, rgba(14, 8, 24, 0.88) 100%),
    linear-gradient(90deg, rgba(236, 72, 153, 0.12), transparent 40%);
}

.auth-brand--onphoto {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 4;
  justify-self: auto;
}

.auth-brand--onphoto strong,
.auth-brand--onphoto span { color: #fff; }
.auth-brand--onphoto span { opacity: 0.82; }
.auth-brand--onphoto img {
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
}

.auth-scribble--signup {
  top: 12%;
  right: 8%;
  color: #f9a8d4;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  font-size: clamp(24px, 2.4vw, 32px);
}

.auth-kicker--solid {
  background: rgba(28, 18, 40, 0.55);
  border-color: rgba(255, 255, 255, 0.12);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
}

.auth-shell--signup .auth-stage-copy {
  max-width: 620px;
  padding: 40px 44px 48px;
}

.auth-shell--signup .auth-stage-copy h1 em {
  background: linear-gradient(90deg, #f472b6 0%, #c084fc 55%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.auth-features--row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
  max-width: 560px;
}

.auth-features--row li {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.auth-features--row .auth-fico {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.auth-shell--signup .auth-panel {
  padding: 28px 40px;
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(244, 114, 182, 0.16), transparent 60%),
    radial-gradient(480px 300px at 0% 100%, rgba(167, 139, 250, 0.14), transparent 55%),
    #fbfafc;
  overflow: hidden;
  animation: auth-fade-up 0.7s ease both 0.08s;
}

.auth-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.auth-blob-a {
  width: 280px;
  height: 280px;
  top: -90px;
  right: -70px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.28), transparent 70%);
  animation: auth-blob 8s ease-in-out infinite;
}

.auth-blob-b {
  width: 260px;
  height: 260px;
  bottom: -80px;
  left: -60px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.26), transparent 70%);
  animation: auth-blob 9s ease-in-out infinite reverse;
}

.auth-scribble-side {
  top: 50%;
  right: 10px;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  font-size: 22px;
  color: #c084fc;
  letter-spacing: 0.04em;
  animation: auth-fade-in 1s ease both 0.4s;
}

.auth-shell--signup .auth-card {
  max-width: 460px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  padding: 12px 8px 8px 0;
}

.auth-shell--signup .auth-form-logo {
  padding: 0;
}

.auth-shell--signup .auth-form-logo img {
  height: 50px;
  max-width: min(300px, 100%);
}

.auth-card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.auth-back {
  font-size: 13px;
  font-weight: 700;
  color: var(--oyvra-text-secondary);
  transition: color 0.2s ease;
}

.auth-back:hover { color: var(--oyvra-primary); }

.auth-btn-outline {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid #d8d0e0;
  color: var(--oyvra-text);
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.auth-btn-outline:hover {
  border-color: var(--oyvra-primary);
  color: var(--oyvra-primary);
  transform: translateY(-1px);
}

.auth-hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--oyvra-text-muted);
  font-weight: 500;
}

.auth-shell--signup .auth-form .input {
  border-radius: 999px;
  background: #fff;
  min-height: 54px;
}

.auth-shell--signup .btn-auth {
  border-radius: 999px;
  background: linear-gradient(90deg, #ec4899 0%, #a855f7 52%, #8b5cf6 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(168, 85, 247, 0.34);
}

.auth-shell--signup .btn-auth:hover {
  background: linear-gradient(90deg, #db2777 0%, #9333ea 52%, #7c3aed 100%);
  box-shadow: 0 18px 36px rgba(168, 85, 247, 0.42);
  color: #fff;
  filter: none;
}

.auth-shell--signup .auth-social-btn {
  border-radius: 999px;
  min-height: 48px;
}

.auth-shell--signup .auth-age {
  font-weight: 600;
  line-height: 1.45;
}

.auth-shell--signup .auth-age strong {
  color: var(--oyvra-text);
  font-weight: 800;
}

.auth-shell--signup .auth-age .auth-link {
  font-weight: 800;
}

.auth-shell--signup .auth-card h2 span {
  background: linear-gradient(90deg, #ec4899 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

@keyframes auth-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -10px) scale(1.06); }
}

@media (max-width: 1100px) {
  .auth-nav { display: none; }
  .auth-topbar { grid-template-columns: 1fr auto; }
  .auth-float-b,
  .auth-scribble-c,
  .auth-scribble-d,
  .auth-scribble-side { display: none; }
}

@media (max-width: 1100px) {
  .auth-shell { padding: 14px 14px 22px; gap: 14px; }
  .auth-main,
  .auth-shell--signup .auth-main,
  .auth-shell--login .auth-main {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "form"
      "banner";
    gap: 16px;
  }
  .auth-panel,
  .auth-stage,
  .auth-card {
    min-width: 0;
    max-width: 100%;
  }
  .auth-stage,
  .auth-stage-frame { min-height: 220px; }
  .auth-stage-copy {
    padding: 22px 20px 36px;
    max-width: none;
  }
  .auth-stage-copy h1 { font-size: clamp(26px, 7vw, 34px); margin: 12px 0 8px; }
  .auth-stage-copy .auth-features,
  .auth-stage-copy .auth-visual-copy,
  .auth-quote,
  .auth-pin,
  .auth-scribble-a,
  .auth-scribble-b,
  .auth-float-a { display: none; }
  .auth-panel { padding: 0; }
  .auth-card { padding: 16px 18px 18px; border-radius: 22px; max-width: none; }
  .auth-card-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 2px 0 18px;
  }
  .auth-form-logo {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    padding: 2px 0;
  }
  .auth-form-logo img {
    height: 42px;
    max-width: min(240px, calc(100vw - 148px));
  }
  .auth-card-actions {
    padding-top: 0;
    align-self: center;
    flex: 0 0 auto;
  }
  .auth-btn-create,
  .auth-btn-outline {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }
  .auth-top-hint { display: none; }
  .auth-social { grid-template-columns: 1fr; }
  .auth-trust { gap: 6px; }
  .auth-trust > div { font-size: 9px; }
  .auth-marquee { letter-spacing: 0.1em; font-size: 10px; }

  .auth-shell--login .auth-main { min-height: 0; }
  .auth-shell--login .auth-stage-frame--hero {
    min-height: 200px;
    height: auto;
    border-radius: 24px;
  }
  .auth-shell--login .auth-stage-copy--hero { padding: 20px 18px 32px; }
  .auth-shell--login .auth-panel { padding: 4px 0 0; gap: 12px; }
  .auth-hero-top { padding: 14px 16px; }
  .auth-nav--hero { display: none; }

  .auth-shell--signup {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding:
      max(12px, env(safe-area-inset-top, 0px))
      max(16px, env(safe-area-inset-right, 0px))
      max(20px, env(safe-area-inset-bottom, 0px))
      max(16px, env(safe-area-inset-left, 0px));
    background: #fbfafc;
  }
  .auth-shell--signup .auth-main { min-height: 0; }
  .auth-shell--signup .auth-stage,
  .auth-shell--signup .auth-stage-frame {
    min-height: 168px;
    width: 100%;
    border-radius: 22px;
  }
  .auth-shell--signup .auth-stage-copy { padding: 16px 16px 22px; }
  .auth-shell--signup .auth-panel {
    padding: 4px 0 12px;
    overflow: visible;
    width: 100%;
  }
  .auth-shell--signup .auth-card {
    padding: 6px 0 10px;
    width: 100%;
    max-width: none;
  }
  .auth-shell--signup .auth-form-logo { padding: 2px 0; }
  .auth-shell--signup .auth-form-logo img {
    height: 44px;
    max-width: min(248px, calc(100vw - 140px));
  }
  .auth-shell--signup .auth-card-head { margin: 0 0 20px; }
  .auth-shell--signup .auth-card h2 {
    font-size: clamp(24px, 7vw, 30px);
    margin-top: 2px;
  }
  .auth-blob { display: none; }
  .auth-features--row { display: none; }
}

@media (max-width: 420px) {
  .auth-stage,
  .auth-stage-frame { min-height: 160px; }
  .auth-card { padding: 14px 16px 16px; }
  .auth-card-head { gap: 10px; margin-bottom: 16px; }
  .auth-form-logo { padding: 0; }
  .auth-form-logo img {
    height: 38px;
    max-width: min(210px, calc(100vw - 132px));
  }
  .btn-auth { min-height: 48px; }
  .auth-shell--signup {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .auth-shell--signup .auth-stage,
  .auth-shell--signup .auth-stage-frame { min-height: 140px; }
  .auth-shell--signup .auth-form .input {
    min-height: 50px;
  }
  .auth-shell--signup .auth-form-logo img {
    height: 40px;
    max-width: min(220px, calc(100vw - 128px));
  }
}
