/* Auth-only styles: no selectors reach the game beneath Clerk's modal. */
.mj-auth-backdrop {
  background: rgba(3, 12, 21, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mj-auth-modal {
  width: min(440px, calc(100vw - 32px));
  max-width: none;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
  animation: mj-auth-enter 240ms ease-out both;
}
.mj-auth-root { width: 100%; direction: rtl; text-align: right; }
.mj-auth-root .mj-auth-input {
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid rgba(150, 165, 180, .22);
  box-shadow: none;
  font-size: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.mj-auth-root input[type=email],
.mj-auth-root input[type=password],
.mj-auth-root input[autocomplete=one-time-code] { direction: ltr; text-align: left; }
.mj-auth-root .mj-auth-input:focus {
  border-color: #E58D00;
  box-shadow: 0 0 0 3px rgba(229, 141, 0, .12);
}
.mj-auth-root .mj-auth-primary {
  min-height: 58px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  text-transform: none;
  box-shadow: none;
  background: #E58D00;
  color: #071523;
  transition: opacity 140ms ease, transform 140ms ease;
}
.mj-auth-root .mj-auth-primary:hover { background: #F0A323; }
.mj-auth-root .mj-auth-primary:active { transform: scale(.985); }
.mj-auth-root .mj-auth-social {
  min-height: 54px;
  border: 1px solid rgba(150, 165, 180, .22);
  box-shadow: none;
  transition: background-color 160ms ease;
}
.mj-auth-root .mj-auth-social:hover { background: rgba(150, 165, 180, .1); }
@keyframes mj-auth-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 480px) {
  .mj-auth-modal { width: calc(100vw - 24px); border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .mj-auth-modal { animation: none; }
  .mj-auth-root .mj-auth-input,
  .mj-auth-root .mj-auth-primary,
  .mj-auth-root .mj-auth-social { transition: none; }
  .mj-auth-root .mj-auth-primary:active { transform: none; }
}
