/* MediaBUZZ.press — Auth popup (Login system_2) */

:root {
  --auth-red: #e60000;
  --auth-red-dark: #c40000;
  --auth-ink: #111;
  --auth-muted: #666;
  --auth-border: #e5e5e5;
  --auth-font: "Inter", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body.mb-auth-body {
  font-family: var(--auth-font);
  color: var(--auth-ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  background: #e8eaef;
}

/* Blurred platform page behind the auth modal (standalone auth pages) */
.mb-auth-page-blur {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #e8eaef;
}

.mb-auth-page-blur iframe {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  border: 0;
  transform: scale(1.03);
  transform-origin: center top;
  filter: blur(16px) saturate(1.05);
  -webkit-filter: blur(16px) saturate(1.05);
}

.mb-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px) saturate(1.12);
  -webkit-backdrop-filter: blur(10px) saturate(1.12);
  overflow-y: auto;
}

.mb-auth-overlay[hidden] {
  display: none !important;
}

.mb-auth-overlay.is-open {
  display: flex;
}

body.is-auth-open {
  overflow: hidden;
}

.mb-auth-modal {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(400px, 1.35fr);
  width: min(1080px, 100%);
  height: min(820px, calc(100vh - 1.5rem));
  height: min(820px, calc(100dvh - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  align-self: center;
}

/* —— Left brand —— */
.mb-auth__brand {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.15rem 1.2rem;
  color: #fff;
  overflow: hidden;
  min-height: 0;
  height: 100%;
}

.mb-auth__brand-bg {
  position: absolute;
  inset: 0;
  background: #0a0a0c;
}

.mb-auth__brand-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mb-auth__brand-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top right,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.78) 28%,
      rgba(0, 0, 0, 0.35) 58%,
      rgba(0, 0, 0, 0.12) 78%,
      rgba(0, 0, 0, 0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.2) 22%,
      rgba(0, 0, 0, 0.55) 70%,
      rgba(0, 0, 0, 0.88) 100%
    );
  pointer-events: none;
}

.mb-auth__brand-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  min-height: 0;
  gap: 1.15rem;
  overflow-y: auto;
}

.mb-auth__brand-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.mb-auth__logo {
  display: inline-block;
  text-decoration: none;
}

.mb-auth__logo-brand {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
}

.mb-auth__logo-brand span {
  color: var(--auth-red);
}

.mb-auth__logo-tag {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

.mb-auth__order {
  display: none;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(12, 14, 20, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mb-auth__order.is-visible {
  display: block;
}

.mb-auth__marketing {
  width: 100%;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
  min-height: 0;
}

.mb-auth__marketing[hidden] {
  display: none !important;
}

.mb-auth__marketing-label {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.mb-auth__benefits {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  width: 100%;
}

.mb-auth__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.48rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(18, 18, 22, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mb-auth__benefit-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 0.08rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--auth-red);
  background: none;
  border-radius: 0;
}

.mb-auth__benefit-icon svg,
.mb-auth__benefit-icon img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

.mb-auth__benefit-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.mb-auth__benefit-copy strong {
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.mb-auth__benefit-copy small {
  font-size: 0.64rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
}

.mb-auth__brand-trust {
  margin-top: 0.5rem;
  padding-top: 0;
  margin-bottom: 0.15rem;
  display: grid;
  gap: 0.55rem;
  width: 100%;
  max-width: 220px;
  transform: translateY(-6px);
}

.mb-auth__brand-trust-lead {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.7rem;
  line-height: 1.4;
  color: #fff;
}

.mb-auth__brand-trust-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--auth-red);
  margin-top: 0;
  background: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mb-auth__brand-trust-icon svg,
.mb-auth__brand-trust-icon img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

/* Standard Mode: left panel is marketing only — hide large title */
.mb-auth--standard .mb-auth__page-title,
.mb-auth--standard .mb-auth__brand-bottom {
  display: none;
}

.mb-auth--standard .mb-auth-modal {
  width: min(780px, calc(100% - 1.5rem));
  height: min(820px, calc(100dvh - 0.75rem));
  max-height: calc(100dvh - 0.75rem);
  grid-template-columns: minmax(240px, 0.82fr) minmax(340px, 1.18fr);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.mb-auth--standard .mb-auth__panel {
  padding: 0.7rem 1.05rem 0.75rem;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mb-auth--standard .mb-auth__panel::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.mb-auth--standard .mb-auth__card-top {
  margin-bottom: 0.45rem;
}

/* Compact Create Account so it fits without a visible scrollbar */
.mb-auth--standard #view-signup-standard .mb-auth__eyebrow {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
}

.mb-auth--standard #view-signup-standard .mb-auth__title {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  margin: 0 0 0.2rem;
}

.mb-auth--standard #view-signup-standard .mb-auth__subtitle {
  margin: 0 0 0.45rem;
  font-size: 0.76rem;
}

.mb-auth--standard #view-signup-standard .mb-auth__signup-as {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
}

.mb-auth--standard #view-signup-standard .mb-auth__account-types {
  margin: 0 0 0.55rem;
  gap: 0.4rem;
}

.mb-auth--standard #view-signup-standard .mb-auth__type {
  padding: 0.48rem 0.55rem;
  gap: 0.45rem;
}

.mb-auth--standard #view-signup-standard .mb-auth__type-icon {
  width: 28px;
  height: 28px;
}

.mb-auth--standard #view-signup-standard .mb-auth__type-icon svg {
  width: 15px;
  height: 15px;
}

.mb-auth--standard #view-signup-standard .mb-auth__type-copy strong {
  font-size: 0.76rem;
}

.mb-auth--standard #view-signup-standard .mb-auth__type-copy small {
  font-size: 0.6rem;
}

.mb-auth--standard #view-signup-standard .mb-auth__field {
  margin-bottom: 0.32rem;
}

.mb-auth--standard #view-signup-standard .mb-auth__field-label {
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
}

.mb-auth--standard #view-signup-standard .mb-auth__input {
  height: 36px;
  font-size: 0.8rem;
}

.mb-auth--standard #view-signup-standard .mb-auth__terms {
  margin: 0.35rem 0 0.5rem;
  font-size: 0.72rem;
}

.mb-auth--standard #view-signup-standard .mb-auth__submit {
  height: 40px;
  font-size: 0.88rem;
}

.mb-auth--standard #view-signup-standard .mb-auth__divider {
  margin: 0.45rem 0;
}

.mb-auth--standard #view-signup-standard .mb-auth__social-btn {
  height: 36px;
  font-size: 0.74rem;
}

.mb-auth--standard #view-signup-standard .mb-auth__footer {
  margin: 0.55rem 0 0;
  font-size: 0.76rem;
}

.mb-auth--standard .mb-auth__brand-inner {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mb-auth--standard .mb-auth__brand-inner::-webkit-scrollbar {
  width: 0;
  display: none;
}

.mb-auth--standard .mb-auth__brand {
  padding: 1.15rem 1rem 1.2rem 1.25rem;
}

.mb-auth--standard .mb-auth__brand-inner {
  justify-content: flex-start;
  gap: 1rem;
  align-items: flex-start;
}

.mb-auth--standard .mb-auth__brand-top {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.mb-auth--standard .mb-auth__marketing {
  flex: 1;
  overflow-y: auto;
  max-width: 220px;
  width: 100%;
}

.mb-auth--standard .mb-auth__title {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

.mb-auth--standard .mb-auth__subtitle {
  font-size: 0.84rem;
  margin-bottom: 1rem;
}

.mb-auth--standard .mb-auth__submit {
  height: 46px;
  font-size: 0.95rem;
}

.mb-auth--standard .mb-auth__social-btn {
  height: 42px;
  font-size: 0.78rem;
}

.mb-auth--standard .mb-auth__close {
  width: 34px;
  height: 34px;
  background: transparent;
  color: #666;
  border: none;
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.mb-auth--standard .mb-auth__close svg {
  width: 20px;
  height: 20px;
}

.mb-auth--standard .mb-auth__close:hover {
  color: var(--auth-red);
  background: rgba(230, 0, 0, 0.08);
  transform: rotate(90deg);
}

.mb-auth__trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #efefef;
  align-items: start;
}

.mb-auth__trust-item {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.25rem;
}

.mb-auth__trust-icon {
  width: auto;
  height: auto;
  margin-bottom: 0.1rem;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--auth-red);
  background: none;
}

.mb-auth__trust-icon svg,
.mb-auth__trust-icon img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

/* Nudge Enterprise Ready icon/column slightly up */
.mb-auth__trust-item:last-child {
  transform: translateY(-4px);
}

.mb-auth__trust-item strong {
  font-size: 0.68rem;
  font-weight: 700;
  color: #333;
  line-height: 1.25;
}

.mb-auth__trust-item small {
  font-size: 0.62rem;
  color: #999;
  line-height: 1.3;
}

.mb-auth__welcome {
  text-align: center;
  width: 100%;
  max-width: 420px;
  margin: 0.35rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mb-auth__welcome-hero {
  margin: 0.1rem auto 0.55rem;
  width: 132px;
  height: 132px;
}

.mb-auth__welcome-hero .mb-complete__badge {
  position: relative;
  z-index: 2;
  transform: scale(0.72);
  opacity: 0;
}

.mb-auth__welcome-hero.is-animate .mb-complete__badge {
  animation: mb-welcome-badge-pop 0.55s cubic-bezier(0.34, 1.45, 0.64, 1) 0.12s both;
}

.mb-auth__welcome-rings {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(79, 184, 0, 0.22);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: scale(0.85);
}

.mb-auth__welcome-rings::before,
.mb-auth__welcome-rings::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(79, 184, 0, 0.14);
  inset: -10px;
}

.mb-auth__welcome-rings::after {
  inset: -20px;
  border-color: rgba(79, 184, 0, 0.1);
}

.mb-auth__welcome-hero.is-animate .mb-auth__welcome-rings {
  animation: mb-welcome-rings-in 0.5s ease 0.05s both;
}

.mb-auth__welcome-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(160, 170, 180, 0.35);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

.mb-auth__welcome-orbit--outer {
  inset: 2px;
}

.mb-auth__welcome-orbit--mid {
  inset: 14px;
}

.mb-auth__welcome-orbit--inner {
  inset: 26px;
}

.mb-auth__welcome-hero.is-animate .mb-auth__welcome-orbit--outer {
  animation:
    mb-welcome-orbit-in 0.45s ease both,
    mb-welcome-spin 12s linear 0.45s infinite;
}

.mb-auth__welcome-hero.is-animate .mb-auth__welcome-orbit--mid {
  animation:
    mb-welcome-orbit-in 0.45s ease 0.08s both,
    mb-welcome-spin-rev 9s linear 0.5s infinite;
}

.mb-auth__welcome-hero.is-animate .mb-auth__welcome-orbit--inner {
  animation:
    mb-welcome-orbit-in 0.45s ease 0.16s both,
    mb-welcome-spin 7s linear 0.55s infinite;
}

.mb-auth__welcome-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px;
  border-radius: 50%;
  background: #e60000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.65);
  transform: rotate(calc(var(--i) * 120deg)) translateX(var(--orbit-r, 64px));
}

.mb-auth__welcome-orbit--outer .mb-auth__welcome-dot {
  --orbit-r: 64px;
}

.mb-auth__welcome-orbit--outer .mb-auth__welcome-dot:nth-child(1) { background: #e60000; }
.mb-auth__welcome-orbit--outer .mb-auth__welcome-dot:nth-child(2) { background: #2f80ed; }
.mb-auth__welcome-orbit--outer .mb-auth__welcome-dot:nth-child(3) { background: #9b51e0; }

.mb-auth__welcome-orbit--mid .mb-auth__welcome-dot {
  --orbit-r: 52px;
}

.mb-auth__welcome-orbit--mid .mb-auth__welcome-dot:nth-child(1) { background: #4fb800; }
.mb-auth__welcome-orbit--mid .mb-auth__welcome-dot:nth-child(2) { background: #f5c518; }
.mb-auth__welcome-orbit--mid .mb-auth__welcome-dot:nth-child(3) { background: #e60000; }

.mb-auth__welcome-orbit--inner .mb-auth__welcome-dot {
  --orbit-r: 40px;
  width: 6px;
  height: 6px;
  margin: -3px;
}

.mb-auth__welcome-orbit--inner .mb-auth__welcome-dot:nth-child(1) { background: #2f80ed; }
.mb-auth__welcome-orbit--inner .mb-auth__welcome-dot:nth-child(2) {
  background: #9b51e0;
  transform: rotate(180deg) translateX(var(--orbit-r));
}

@keyframes mb-welcome-badge-pop {
  from {
    opacity: 0;
    transform: scale(0.35);
  }
  70% {
    opacity: 1;
    transform: scale(0.82);
  }
  to {
    opacity: 1;
    transform: scale(0.72);
  }
}

@keyframes mb-welcome-rings-in {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes mb-welcome-orbit-in {
  from {
    opacity: 0;
    transform: scale(0.6) rotate(-40deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes mb-welcome-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes mb-welcome-spin-rev {
  to {
    transform: rotate(-360deg);
  }
}

.mb-auth__welcome-title {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--auth-ink);
  line-height: 1.25;
}

.mb-auth__welcome-title span {
  color: var(--auth-red);
}

.mb-auth__welcome-sub {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--auth-muted);
  line-height: 1.45;
}

.mb-auth__welcome-list {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  text-align: left;
  display: grid;
  gap: 0.55rem;
  width: 100%;
}

.mb-auth__welcome-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #fff;
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.mb-auth__welcome-list li.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.mb-auth__welcome-check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mb-auth__welcome-check img {
  width: 22px;
  height: 22px;
  display: block;
  transform: scale(0.4);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mb-auth__welcome-list li.is-visible .mb-auth__welcome-check img {
  transform: scale(1);
}

.mb-auth__welcome-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.mb-auth__welcome-copy strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--auth-ink);
  line-height: 1.3;
}

.mb-auth__welcome-copy small {
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--auth-muted);
}

.mb-auth__welcome .mb-auth__submit {
  width: 100%;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mb-auth__welcome .mb-auth__submit.is-ready {
  opacity: 1;
  pointer-events: auto;
  animation: mb-complete-btn-in 0.35s ease both;
}

@keyframes mb-welcome-tick-pop {
  from {
    transform: scale(0.4);
  }
  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mb-auth__welcome-hero.is-animate .mb-complete__badge,
  .mb-auth__welcome-hero.is-animate .mb-auth__welcome-rings,
  .mb-auth__welcome-hero.is-animate .mb-auth__welcome-orbit--outer,
  .mb-auth__welcome-hero.is-animate .mb-auth__welcome-orbit--mid,
  .mb-auth__welcome-hero.is-animate .mb-auth__welcome-orbit--inner,
  .mb-auth__welcome .mb-auth__submit.is-ready {
    animation: none;
  }

  .mb-auth__welcome-hero .mb-complete__badge,
  .mb-auth__welcome-rings,
  .mb-auth__welcome-orbit,
  .mb-auth__welcome-list li,
  .mb-auth__welcome .mb-auth__submit {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .mb-auth__welcome-check img {
    transform: scale(1);
  }
}

.mb-auth__welcome .mb-auth__divider {
  width: 100%;
  margin: 0.85rem 0;
}

.mb-auth__welcome-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--auth-border);
  border-radius: 10px;
  background: #fff;
  color: var(--auth-ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.mb-auth__welcome-secondary:hover {
  border-color: #d0d0d0;
  background: #fafafa;
}

.mb-auth__welcome-secondary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.mb-auth__welcome-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  width: 100%;
  margin-top: 1rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: rgba(230, 0, 0, 0.06);
  text-align: left;
}

.mb-auth__welcome-tip-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--auth-red);
  margin-top: 0.05rem;
}

.mb-auth__welcome-tip-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.mb-auth__welcome-tip-copy {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.mb-auth__welcome-tip-copy p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #555;
}

.mb-auth__welcome-tip-copy strong {
  color: var(--auth-ink);
  font-weight: 800;
}

.mb-auth__welcome-tip-copy a {
  color: var(--auth-red);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.mb-auth__welcome-tip-copy a:hover {
  text-decoration: underline;
}

/* Welcome page — match Welcome to MediaBUZZ.press!.png */
.mb-auth-modal--welcome {
  grid-template-columns: minmax(280px, 0.9fr) minmax(400px, 1.35fr);
  width: min(980px, 100%);
  height: min(780px, calc(100vh - 1.5rem));
  height: min(780px, calc(100dvh - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
}

.mb-auth--welcome-page .mb-auth__marketing-label--red {
  color: var(--auth-red);
}

.mb-auth--welcome-page .mb-auth__marketing {
  max-width: 250px;
}

.mb-auth--welcome-page .mb-auth__panel--welcome {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow-y: auto;
  padding-bottom: 1.25rem;
}

.mb-auth--welcome-page .mb-auth__panel--welcome::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.mb-auth--welcome-page .mb-auth__card-top {
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

@media (max-width: 860px) {
  .mb-auth-modal--welcome {
    grid-template-columns: 1fr;
    height: auto;
    max-height: calc(100dvh - 1rem);
  }

  .mb-auth--welcome-page .mb-auth__brand {
    display: none;
  }
}

.mb-auth__goal-list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 1.15rem;
  width: 100%;
}

.mb-auth__goal {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1.5px solid var(--auth-border);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font: inherit;
  color: inherit;
}

.mb-auth__goal:hover {
  border-color: rgba(230, 0, 0, 0.45);
}

.mb-auth__goal.is-selected {
  border-color: var(--auth-red);
  box-shadow: 0 0 0 1px var(--auth-red);
}

.mb-auth__goal-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(230, 0, 0, 0.08);
  color: var(--auth-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mb-auth__goal-icon--visibility {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
}

.mb-auth__goal-icon--expert {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.mb-auth__goal-icon svg {
  width: 20px;
  height: 20px;
}

.mb-auth__goal-copy {
  display: grid;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}

.mb-auth__goal-copy strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--auth-ink);
}

.mb-auth__goal-copy small {
  font-size: 0.78rem;
  color: var(--auth-muted);
  line-height: 1.4;
}

.mb-auth__goal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.mb-auth__goal-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.3;
  border: 1px solid rgba(230, 0, 0, 0.22);
  background: rgba(230, 0, 0, 0.06);
  color: var(--auth-red);
}

.mb-auth__goal[data-goal="visibility"] .mb-auth__goal-tags span {
  border-color: rgba(124, 58, 237, 0.22);
  background: rgba(124, 58, 237, 0.08);
  color: #7c3aed;
}

.mb-auth__goal[data-goal="expert"] .mb-auth__goal-tags span {
  border-color: rgba(37, 99, 235, 0.22);
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}

.mb-auth__goal-radio {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 0.35rem;
  border-radius: 50%;
  border: 2px solid #cfcfcf;
  background: #fff;
  position: relative;
}

.mb-auth__goal.is-selected .mb-auth__goal-radio {
  border-color: var(--auth-red);
}

.mb-auth__goal.is-selected .mb-auth__goal-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--auth-red);
}

.mb-auth__goal-body {
  width: 100%;
  max-width: 440px;
  margin: 0.25rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.mb-auth__goal-body .mb-auth__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: left;
}

.mb-auth__goal-body .mb-auth__subtitle {
  margin: 0 0 0.25rem;
  text-align: left;
}

.mb-auth__goal-body .mb-auth__submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.mb-auth__goal-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: #f6f6f7;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--auth-muted);
  text-align: left;
}

.mb-auth__goal-tip strong {
  display: block;
  color: var(--auth-ink);
  font-weight: 700;
}

.mb-auth__goal-tip-icon {
  flex: 0 0 auto;
  color: var(--auth-red);
  font-size: 0.9rem;
  line-height: 1.3;
}

/* Goal page — blurred homepage + achieve.png layout */
.mb-auth-modal--goal {
  grid-template-columns: minmax(280px, 0.9fr) minmax(400px, 1.35fr);
  width: min(980px, 100%);
  height: min(780px, calc(100vh - 1.5rem));
  height: min(780px, calc(100dvh - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
}

.mb-auth--goal-page .mb-auth__marketing {
  max-width: 250px;
}

.mb-auth--goal-page .mb-auth__marketing-label--red {
  color: var(--auth-red);
}

.mb-auth--goal-page .mb-auth__panel--goal {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow-y: auto;
  padding-bottom: 1.15rem;
}

.mb-auth--goal-page .mb-auth__panel--goal::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.mb-auth--goal-page .mb-auth__card-top {
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

@media (max-width: 860px) {
  .mb-auth-modal--goal {
    grid-template-columns: 1fr;
    height: auto;
    max-height: calc(100dvh - 1rem);
  }

  .mb-auth--goal-page .mb-auth__brand {
    display: none;
  }
}

.mb-auth__panel--center .mb-auth__submit {
  display: inline-flex;
  text-decoration: none;
  justify-content: center;
}

.mb-auth__order-label {
  margin: 0 0 0.2rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--auth-red);
}

.mb-auth__order-plan {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.mb-auth__order-meta {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
}

.mb-auth__page-title {
  margin: 0 0 0.85rem;
  font-size: clamp(2.15rem, 4.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: #fff;
}

.mb-auth__page-title em {
  font-style: normal;
  color: var(--auth-red);
}

.mb-auth__brand-bottom {
  margin-top: 0.35rem;
  padding-top: 0;
  flex-shrink: 0;
}

.mb-auth__signup-stage[hidden] {
  display: none !important;
}

.mb-auth__signup-stage--left {
  margin-top: 0;
}

.mb-auth__signup-stage--left .mb-auth__signup-as {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
}

.mb-auth__signup-stage--left .mb-auth__account-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0;
}

.mb-auth__signup-stage--left .mb-auth__type {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.85rem 0.8rem;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(8, 10, 16, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mb-auth__signup-stage--left .mb-auth__type:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(8, 10, 16, 0.68);
}

.mb-auth__signup-stage--left .mb-auth__type.is-selected {
  border-color: var(--auth-red);
  background: rgba(225, 37, 27, 0.22);
  box-shadow: 0 0 0 1px rgba(225, 37, 27, 0.4);
}

.mb-auth__signup-stage--left .mb-auth__type-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.mb-auth__signup-stage--left .mb-auth__type.is-selected .mb-auth__type-icon {
  background: var(--auth-red);
  color: #fff;
}

.mb-auth__signup-stage--left .mb-auth__type-copy strong {
  font-size: 0.92rem;
  color: #fff;
}

.mb-auth__signup-stage--left .mb-auth__type-copy small {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.75);
}

.mb-auth__workspace-summary {
  margin-top: 0.15rem;
}

.mb-auth__workspace-summary[hidden],
#signup-type-picker[hidden],
#profile-individual-fields[hidden],
#profile-organization-fields[hidden],
#signup-name-field[hidden] {
  display: none !important;
}

.mb-auth__workspace-label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.mb-auth__workspace-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.9rem;
  border: 1.5px solid var(--auth-red);
  border-radius: 10px;
  background: rgba(225, 37, 27, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mb-auth__workspace-card .mb-auth__type-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--auth-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mb-auth__workspace-card .mb-auth__type-icon svg {
  width: 18px;
  height: 18px;
}

.mb-auth__workspace-card .mb-auth__type-copy {
  flex: 1;
  min-width: 0;
}

.mb-auth__workspace-card .mb-auth__type-copy strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.mb-auth__workspace-card .mb-auth__type-copy small {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.75);
}

.mb-auth__workspace-selected {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.mb-auth__workspace-change {
  margin-top: 0.55rem;
  padding: 0;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.8);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.mb-auth__workspace-change:hover {
  color: #fff;
}

.mb-auth__textarea {
  min-height: 88px;
  resize: vertical;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  line-height: 1.45;
}

.mb-auth__complete-checks {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
  width: 100%;
  max-width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.mb-auth__complete-checks li {
  padding: 0;
  border: none;
}

.mb-auth-modal--complete {
  grid-template-columns: minmax(260px, 0.85fr) minmax(380px, 1.35fr);
  width: min(980px, 100%);
  height: min(720px, calc(100dvh - 0.9rem));
  max-height: calc(100dvh - 0.9rem);
}

.mb-complete__brand .mb-auth__brand-inner {
  gap: 0.85rem;
  justify-content: flex-start;
  padding-top: 0;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mb-complete__brand .mb-auth__brand-inner::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.mb-complete__brand-copy {
  margin-top: 0.35rem;
  padding-top: 0;
  max-width: 22.5rem;
}

.mb-complete__rocket {
  width: 44px;
  height: 44px;
  margin: 0 0 0.75rem;
  border-radius: 50%;
  border: none;
  background: var(--auth-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(230, 0, 0, 0.35);
  overflow: hidden;
}

.mb-complete__rocket svg,
.mb-complete__rocket img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  transform: scale(1.12);
}

.mb-complete__brand-copy .mb-auth__page-title {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  line-height: 1.18;
  position: relative;
  padding-bottom: 0.65rem;
}

.mb-complete__brand-copy .mb-auth__page-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--auth-red);
  border-radius: 2px;
}

.mb-complete__brand-copy .mb-auth__page-title br {
  display: none;
}

.mb-complete__features small br {
  display: none;
}

.mb-complete__brand-copy .mb-auth__lead {
  display: none;
}

.mb-complete__features {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.85rem;
  position: relative;
}

.mb-complete__features::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 0;
  border-left: 2px dashed rgba(230, 0, 0, 0.95);
  background: none;
  pointer-events: none;
}

.mb-complete__features li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.mb-complete__feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--auth-red);
  box-shadow: 0 4px 12px rgba(230, 0, 0, 0.3);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.mb-complete__feature-icon svg,
.mb-complete__feature-icon img {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
  transform: scale(1.15);
}

.mb-complete__features strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.mb-complete__features small {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.74rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
  max-width: 16.5rem;
}

.mb-auth__panel--complete {
  overflow: hidden;
  align-items: stretch;
  text-align: center;
  justify-content: flex-start;
  gap: 0;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mb-auth__panel--complete::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.mb-auth__panel--complete > * {
  flex-shrink: 0;
  width: 100%;
}

.mb-complete__steps {
  margin-bottom: 0.45rem;
}

.mb-complete__steps .mb-auth__step.is-done .mb-auth__step-num,
.mb-complete__steps .mb-auth__step.is-active .mb-auth__step-num {
  background: var(--auth-red);
  border-color: var(--auth-red);
  color: #fff;
}

.mb-complete__steps .mb-auth__step.is-done .mb-auth__step-label,
.mb-complete__steps .mb-auth__step.is-active .mb-auth__step-label {
  color: var(--auth-ink);
  font-weight: 700;
}

.mb-auth__step.is-complete-step .mb-auth__step-num {
  font-size: 0;
}

.mb-auth__step.is-complete-step .mb-auth__step-num svg {
  width: 14px;
  height: 14px;
}

.mb-complete__hero {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0.1rem auto 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mb-complete-hero-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mb-complete__badge {
  width: 62px;
  height: 62px;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 14px rgba(79, 184, 0, 0.28));
}

.mb-complete__confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 28%, #e1251b 0 2.5px, transparent 3.5px),
    radial-gradient(circle at 88% 22%, #4fb800 0 2.5px, transparent 3.5px),
    radial-gradient(circle at 18% 78%, #f5c518 0 2px, transparent 3px),
    radial-gradient(circle at 82% 72%, #2f80ed 0 2.5px, transparent 3.5px),
    radial-gradient(circle at 50% 8%, #e1251b 0 2px, transparent 3px),
    radial-gradient(circle at 70% 90%, #9b51e0 0 2px, transparent 3px);
  animation: mb-complete-confetti 0.8s ease both 0.15s;
}

@keyframes mb-complete-hero-in {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes mb-complete-confetti {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.mb-complete__copy {
  margin: 0 auto 0.5rem;
  max-width: 34rem;
  text-align: center;
}

.mb-complete__copy p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #666;
}

.mb-complete__copy strong {
  color: var(--auth-ink);
  font-weight: 800;
}

.mb-complete-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.5rem 0.65rem !important;
  border: 1px solid #ececec !important;
  border-radius: 10px;
  background: #f7f7f7;
  min-height: 44px;
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, background 0.35s ease;
}

.mb-complete-check.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  background: #fff;
}

.mb-complete-check__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mb-complete-check__icon img {
  width: 28px;
  height: 28px;
  display: block;
  transform: scale(0.4);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mb-complete-check.is-visible .mb-complete-check__icon img {
  transform: scale(1);
}

.mb-complete-check__text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--auth-ink);
  line-height: 1.3;
}

.mb-complete__next {
  margin: 0.5rem 0 1rem;
}

.mb-complete__next-title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--auth-ink);
  text-align: center;
}

.mb-complete__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.15rem;
}

.mb-complete__action[hidden] {
  display: none !important;
}

.mb-complete__actions:has(.mb-complete__action--dash[hidden]) {
  grid-template-columns: 1fr 1fr;
}

.mb-complete__action {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  min-height: 64px;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mb-complete__action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.mb-complete__action-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mb-complete__action-icon svg,
.mb-complete__action-icon img {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}

.mb-complete__action-text {
  flex: 1;
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.mb-complete__action-arrow {
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  align-self: center;
  line-height: 1;
}

.mb-complete__action--publish {
  background: #fdeceb;
  color: #c41e16;
}

.mb-complete__action--publish .mb-complete__action-icon {
  background: #c41e16;
}

.mb-complete__action--dash {
  background: #eaf3ff;
  color: #1f6feb;
}

.mb-complete__action--dash .mb-complete__action-icon {
  background: #1f6feb;
}

.mb-complete__action--team {
  background: #f3eaff;
  color: #7a3ff2;
}

.mb-complete__action--team .mb-complete__action-icon {
  background: #7a3ff2;
}

.mb-auth__panel--complete .mb-auth__submit {
  border-radius: 999px;
  margin-top: 0.85rem;
}

.mb-complete__settings {
  margin: 0.85rem 0 0;
  text-align: center;
}

.mb-complete__settings a {
  color: #666;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
}

.mb-complete__settings a:hover {
  color: #333;
}

#complete-continue:disabled,
#complete-continue:not(.is-ready) {
  opacity: 0.7;
}

#complete-continue.is-ready {
  animation: mb-complete-btn-in 0.35s ease both;
}

/* Complete page — blurred homepage + fit one viewport (no scroll) */
.mb-auth--complete-page {
  background: transparent;
}

.mb-auth--complete-page .mb-auth-overlay {
  overflow: hidden;
  padding: 0.45rem;
  background: rgba(12, 14, 20, 0.28);
}

.mb-auth--complete-page .mb-auth-modal--complete {
  height: calc(100dvh - 0.9rem);
  max-height: calc(100dvh - 0.9rem);
}

.mb-auth--complete-page .mb-auth__panel--complete {
  overflow: hidden;
  padding: 0.85rem 1.1rem 0.9rem;
  gap: 0;
  justify-content: flex-start;
}

.mb-auth--complete-page .mb-auth__brand {
  padding: 1.15rem 1.15rem 1.1rem;
}

.mb-auth--complete-page .mb-complete__brand-copy .mb-auth__page-title {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  margin-bottom: 1.15rem;
  padding-bottom: 0.65rem;
}

.mb-auth--complete-page .mb-complete__brand-copy .mb-auth__lead {
  display: none;
}

.mb-auth--complete-page .mb-complete__rocket {
  width: 44px;
  height: 44px;
  margin-bottom: 0.75rem;
  background: var(--auth-red);
  box-shadow: 0 6px 16px rgba(230, 0, 0, 0.35);
}

.mb-auth--complete-page .mb-complete__rocket img {
  width: 40px;
  height: 40px;
}

.mb-auth--complete-page .mb-complete__features {
  gap: 1.85rem;
}

.mb-auth--complete-page .mb-complete__features li {
  gap: 1rem;
}

.mb-auth--complete-page .mb-complete__feature-icon {
  width: 40px;
  height: 40px;
  background: var(--auth-red);
  box-shadow: 0 4px 12px rgba(230, 0, 0, 0.3);
}

.mb-auth--complete-page .mb-complete__feature-icon img {
  width: 36px;
  height: 36px;
}

.mb-auth--complete-page .mb-complete__features::before {
  left: 19px;
  top: 20px;
  bottom: 20px;
}

.mb-auth--complete-page .mb-complete__features strong {
  font-size: 0.86rem;
}

.mb-auth--complete-page .mb-complete__features small {
  font-size: 0.72rem;
  margin-top: 0.28rem;
}

.mb-auth--complete-page .mb-auth__progress-head {
  display: none;
}

.mb-auth--complete-page .mb-complete__steps {
  margin-bottom: 0.65rem;
}

.mb-auth--complete-page .mb-complete__hero {
  width: 64px;
  height: 64px;
  margin: 0.15rem auto 0.45rem;
}

.mb-auth--complete-page .mb-complete__badge {
  width: 50px;
  height: 50px;
}

.mb-auth--complete-page .mb-complete__status-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0 0 0.4rem;
  flex-wrap: wrap;
}

.mb-auth--complete-page .mb-auth__step-meta {
  margin: 0;
  font-size: 0.62rem;
}

.mb-auth--complete-page .mb-complete__confirmed {
  margin: 0;
  font-size: 0.68rem;
}

.mb-auth--complete-page .mb-auth__verify-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.mb-auth--complete-page .mb-complete__copy {
  margin-bottom: 0.7rem;
}

.mb-auth--complete-page .mb-complete__copy p {
  font-size: 0.68rem;
  line-height: 1.35;
  margin: 0;
}

.mb-auth--complete-page .mb-complete__details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
  width: 100%;
}

.mb-auth--complete-page .mb-complete__invoice-wrap {
  grid-column: 1 / -1;
}

.mb-complete__invoice-wrap[hidden] {
  display: none !important;
}

.mb-complete__invoice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 0.45rem 0.75rem;
  border: 1px solid #111;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
}

.mb-complete__invoice:hover,
.mb-complete__invoice:focus-visible {
  background: #e60000;
  border-color: #e60000;
  color: #fff;
}

.mb-complete__invoice svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.mb-auth--complete-page .mb-complete__sub-card {
  margin: 0;
  padding: 0.55rem 0.65rem;
  gap: 0.25rem;
  border-radius: 10px;
}

.mb-auth--complete-page .mb-complete__card-label {
  margin: 0 0 0.15rem;
  font-size: 0.58rem;
}

.mb-auth--complete-page .mb-complete__sub-row {
  font-size: 0.68rem;
  gap: 0.4rem;
}

.mb-auth--complete-page .mb-complete__next {
  margin: auto 0 0.55rem;
}

.mb-auth--complete-page .mb-complete__next-title {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
}

.mb-auth--complete-page .mb-complete__actions {
  gap: 0.45rem;
}

.mb-auth--complete-page .mb-complete__action {
  min-height: 46px;
  padding: 0.45rem 0.5rem;
  border-radius: 10px;
}

.mb-auth--complete-page .mb-complete__action-icon {
  width: 24px;
  height: 24px;
}

.mb-auth--complete-page .mb-complete__action-icon svg,
.mb-auth--complete-page .mb-complete__action-icon img {
  width: 12px;
  height: 12px;
}

.mb-auth--complete-page .mb-complete__action-text {
  font-size: 0.64rem;
  line-height: 1.2;
}

.mb-auth--complete-page .mb-auth__panel--complete .mb-auth__submit {
  margin-top: 0.55rem;
  min-height: 38px;
  font-size: 0.84rem;
  text-decoration: none;
  color: #fff;
}

.mb-auth--complete-page .mb-complete__invoice {
  min-height: 36px;
  font-size: 0.72rem;
  border-radius: 9px;
}

.mb-auth--complete-page .mb-complete__settings {
  margin-top: 0.5rem;
}

.mb-auth--complete-page .mb-complete__settings a {
  font-size: 0.68rem;
}

.mb-auth--complete-page .mb-complete-check {
  padding: 0.4rem 0.55rem !important;
  min-height: 36px;
  border-radius: 8px;
}

.mb-auth--complete-page .mb-complete-check__text {
  font-size: 0.64rem;
}

.mb-auth--complete-page .mb-complete-check__icon,
.mb-auth--complete-page .mb-complete-check__icon img {
  width: 16px;
  height: 16px;
}

.mb-auth--complete-page .mb-auth__complete-checks {
  margin-bottom: 0.2rem;
  gap: 0.5rem;
}

@media (max-width: 800px) {
  .mb-auth--complete-page .mb-complete__details-grid {
    grid-template-columns: 1fr;
  }

  .mb-auth--complete-page .mb-auth-modal--complete {
    height: auto;
    max-height: none;
  }

  .mb-auth--complete-page .mb-auth-overlay {
    overflow-y: auto;
  }

  .mb-auth--complete-page .mb-auth__panel--complete {
    overflow: visible;
  }
}

@keyframes mb-complete-btn-in {
  from {
    opacity: 0.55;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .mb-complete__features {
    display: none;
  }

  .mb-auth__complete-checks,
  .mb-complete__actions {
    grid-template-columns: 1fr;
  }

  .mb-complete__action {
    min-height: 56px;
  }
}

.mb-auth__headline {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  color: #fff;
}

.mb-auth__headline em {
  font-style: normal;
  color: var(--auth-red);
}

.mb-auth__lead {
  display: none;
}

.mb-auth--verify-page .mb-auth__brand-top {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.mb-auth--verify-page .mb-auth__marketing {
  flex: 1;
  overflow-y: auto;
  max-width: 220px;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mb-auth--verify-page .mb-auth__marketing::-webkit-scrollbar {
  width: 0;
  display: none;
}

.mb-auth--verify-page .mb-auth__brand-bottom,
.mb-auth--verify-page .mb-auth__page-title {
  display: none !important;
}

.mb-auth--verify-page .mb-auth__marketing-label {
  color: #fff;
}

.mb-auth__features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mb-auth__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
}

.mb-auth__features li:last-child {
  margin-bottom: 0;
}

.mb-auth__feature-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--auth-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.05rem;
}

.mb-auth__feature-icon svg {
  width: 11px;
  height: 11px;
  display: block;
}

/* —— Right panel —— */
.mb-auth__panel {
  display: flex;
  flex-direction: column;
  padding: 0.95rem 1.25rem 1rem;
  background: #fff;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  height: 100%;
  overscroll-behavior: contain;
}

.mb-auth__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
  flex-shrink: 0;
}

.mb-auth__card-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mb-auth__back {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}

.mb-auth__back:hover {
  color: var(--auth-red);
}

.mb-auth__back svg {
  width: 14px;
  height: 14px;
}

.mb-auth__help {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #555;
  text-decoration: none;
}

.mb-auth__help:hover {
  color: var(--auth-red);
}

.mb-auth__help svg {
  width: 15px;
  height: 15px;
  color: var(--auth-red);
}

.mb-auth__close {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--auth-red);
  color: #fff;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.mb-auth__close:hover {
  background: var(--auth-red-dark);
}

.mb-auth__close svg {
  width: 11px;
  height: 11px;
}

.mb-auth__eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--auth-red);
}

.mb-auth__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--auth-ink);
}

.mb-auth__title span {
  color: var(--auth-red);
}

.mb-auth__subtitle {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--auth-muted);
}

.mb-auth__subtitle--left {
  text-align: left;
  margin-top: -0.35rem;
}

/* —— Payment / Complete —— */
.mb-auth__panel--center {
  align-items: center;
}

.mb-auth__panel--center .mb-auth__steps {
  width: 100%;
}

.mb-pay__summary {
  border: 1px solid #ebebeb;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 0 0 1rem;
  background: #fafafa;
}

.mb-pay__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 0.84rem;
  color: #666;
}

.mb-pay__row + .mb-pay__row {
  border-top: 1px solid #eee;
}

.mb-pay__row strong {
  color: var(--auth-ink);
  font-weight: 700;
  text-align: right;
}

.mb-pay__row--total {
  padding-top: 0.7rem;
  font-size: 0.95rem;
}

.mb-pay__row--total span,
.mb-pay__row--total strong {
  color: var(--auth-ink);
  font-weight: 800;
}

.mb-pay__credits-opt {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.65rem 0 0.2rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(230, 0, 0, 0.18);
  border-radius: 10px;
  background: #fff8f8;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--auth-ink);
  cursor: pointer;
}

.mb-pay__credits-opt input {
  margin-top: 0.15rem;
}

.mb-pay__methods {
  margin: 0 0 0.55rem;
}

.mb-pay__method {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid var(--auth-red);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: box-shadow 0.15s;
}

.mb-pay__method:hover {
  box-shadow: 0 4px 14px rgba(230, 0, 0, 0.14);
}

.mb-pay__method:focus-visible {
  outline: 2px solid var(--auth-red);
  outline-offset: 2px;
}

.mb-pay__method-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e8e8e8;
  color: var(--auth-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 4px;
}

.mb-pay__method-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mb-pay__radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--auth-red);
  position: relative;
  flex-shrink: 0;
  margin-top: 0;
}

.mb-pay__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--auth-red);
}

.mb-pay__method-copy {
  flex: 1;
  min-width: 0;
}

.mb-pay__method-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.mb-pay__method-copy strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--auth-ink);
}

.mb-pay__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  background: #e6f7ed;
  color: #0d7a3f;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.3;
}

.mb-pay__method-copy small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.74rem;
  line-height: 1.35;
  color: #888;
}

.mb-pay__brands {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  margin-left: auto;
  flex-shrink: 0;
}

.mb-pay__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  line-height: 0;
  background: #fff;
  padding: 2px;
}

.mb-pay__brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mb-pay__method-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--auth-red);
}

.mb-pay__method-chevron svg {
  width: 18px;
  height: 18px;
  display: block;
}

.mb-pay__select-hint {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.76rem;
  color: #888;
}

.mb-pay__slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.mb-pay__track {
  display: flex;
  width: 100%;
}

.mb-pay__pane {
  width: 100%;
  box-sizing: border-box;
}

.mb-pay__pane--card {
  padding-left: 0.1rem;
  padding-right: 0;
}

.mb-pay__back-method {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0 0 0.75rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
}

.mb-pay__back-method svg {
  width: 16px;
  height: 16px;
}

.mb-pay__back-method:hover {
  color: var(--auth-ink);
}

.mb-pay__card-form {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  padding: 0.95rem 1rem;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  background: #fff;
}

.mb-pay__field {
  margin-bottom: 0;
}

.mb-pay__field .mb-auth__field-label {
  display: block;
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #555;
}

.mb-pay__field .mb-auth__input {
  height: 42px;
  background: #fff;
}

.mb-pay__card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.mb-pay__note[hidden] {
  display: none !important;
}

.mb-pay__note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  background: rgba(230, 0, 0, 0.05);
  border: 1px solid rgba(230, 0, 0, 0.18);
  font-size: 0.76rem;
  line-height: 1.45;
  color: #7a1a1a;
}

.mb-pay__note-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--auth-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 0.05rem;
}

.mb-pay__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  color: #888;
  text-align: center;
}

.mb-pay__secure svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.mb-auth--payment-page {
  background: transparent;
}

.mb-auth--payment-page .mb-auth-overlay {
  background: rgba(12, 14, 20, 0.28);
}

.mb-auth__panel--payment .mb-auth__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
}

.mb-auth--payment-page .mb-auth-modal--payment {
  height: min(820px, calc(100dvh - 1.25rem));
  max-height: calc(100dvh - 1.25rem);
}

.mb-auth--payment-page .mb-auth__panel--payment {
  overflow-y: auto;
  scrollbar-width: thin;
}

@media (max-width: 960px) {
  .mb-auth--payment-page .mb-auth-modal--payment {
    width: min(760px, calc(100% - 1rem));
    height: auto;
    max-height: calc(100dvh - 1rem);
    grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.1fr);
  }

  .mb-auth--payment-page .mb-auth__brand {
    padding: 1.1rem 1rem;
  }

  .mb-pay__brand-stack .mb-auth__order,
  .mb-pay__trust,
  .mb-pay__brand-safe {
    max-width: 100%;
  }

  .mb-pay__headline {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .mb-pay__brands {
    display: none;
  }
}

.mb-pay__stripe-word {
  color: var(--auth-red);
  font-style: normal;
  font-weight: 800;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.mb-pay__brand-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 0.15rem 0 0.25rem;
}

.mb-pay__brand-stack .mb-auth__logo {
  margin: 0 0 1.15rem;
}

.mb-pay__brand-stack .mb-auth__order {
  width: 100%;
  max-width: 260px;
  margin: 0 0 1.35rem;
}

.mb-pay__headline {
  margin: 0 0 1.15rem;
  max-width: 15ch;
}

.mb-pay__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.05rem;
  width: 100%;
  max-width: 280px;
}

.mb-pay__trust li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.mb-pay__trust-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--auth-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(230, 0, 0, 0.35);
}

.mb-pay__trust-icon svg {
  width: 16px;
  height: 16px;
}

.mb-pay__trust-copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  padding-top: 0.12rem;
}

.mb-pay__trust-copy strong {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.mb-pay__trust-copy small {
  font-size: 0.76rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.mb-pay__brand-safe {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.5rem;
  max-width: 260px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
}

.mb-pay__brand-safe svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 0.12rem;
}

.mb-auth--payment-page .mb-auth__brand {
  padding: 1.35rem 1.25rem 1.35rem;
}

.mb-auth--payment-page .mb-auth__order {
  display: block;
  border-radius: 12px;
  background: rgba(18, 20, 28, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 0.95rem;
}

.mb-auth--payment-page .mb-auth__order-label {
  margin: 0 0 0.35rem;
  color: var(--auth-red);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mb-auth--payment-page .mb-auth__order-plan {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

.mb-auth--payment-page .mb-auth__order-meta {
  display: inline-flex;
  margin-top: 0.55rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
}

.mb-auth--payment-page .mb-pay__headline {
  font-size: clamp(1.6rem, 2.8vw, 2.05rem);
  line-height: 1.18;
  color: #fff;
}

.mb-pay__btn-lock {
  font-size: 0.9rem;
  line-height: 1;
}

.mb-pay-redirect {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(10, 12, 18, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mb-pay-redirect[hidden] {
  display: none !important;
}

.mb-pay-redirect__card {
  width: min(380px, 100%);
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.mb-pay-redirect__spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 3px solid #ececf5;
  border-top-color: var(--auth-red);
  animation: mb-pay-spin 0.75s linear infinite;
}

@keyframes mb-pay-spin {
  to {
    transform: rotate(360deg);
  }
}

.mb-pay-redirect__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--auth-ink);
}

.mb-pay-redirect__text {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  color: #666;
}

.mb-pay-redirect__safe {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--auth-red);
}

.mb-auth--payment-page .mb-auth-modal--payment {
  height: min(820px, calc(100dvh - 1.25rem));
  max-height: calc(100dvh - 1.25rem);
}

.mb-auth--payment-page .mb-auth__panel--payment {
  overflow-y: auto;
  scrollbar-width: thin;
}

.mb-auth--payment-page .mb-auth__panel--payment::-webkit-scrollbar {
  width: 6px;
  height: 0;
}

.mb-complete__sub-card {
  width: 100%;
  margin: 0 0 0.65rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #fafafa;
  text-align: left;
  display: grid;
  gap: 0.35rem;
}

.mb-complete__card-label {
  margin: 0 0 0.15rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--auth-red);
}

.mb-complete__sub-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: #666;
}

.mb-complete__sub-row strong {
  color: var(--auth-ink);
  font-weight: 700;
  text-align: right;
}

.mb-complete__confirmed {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #1a9d4a;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mb-auth__form-label {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--auth-ink);
}

.mb-auth__signup-as {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--auth-ink);
}

.mb-auth__account-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
}

.mb-auth__account-types--panel {
  margin: 0 0 0.9rem;
}

.mb-auth--standard #view-signup-standard .mb-auth__signup-as {
  margin: 0.15rem 0 0.55rem;
  font-size: 0.84rem;
}

.mb-auth--standard #view-signup-standard .mb-auth__type {
  padding: 0.65rem 0.7rem;
}

.mb-auth--standard #view-signup-standard .mb-auth__type-copy strong {
  font-size: 0.8rem;
}

.mb-auth--standard #view-signup-standard .mb-auth__type-copy small {
  font-size: 0.64rem;
}

.mb-auth__type {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.8rem;
  border: 1.5px solid #e6e6e6;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.mb-auth__type:hover {
  border-color: #ccc;
}

.mb-auth__type.is-selected {
  border-color: var(--auth-red);
  background: rgba(225, 37, 27, 0.04);
  box-shadow: 0 0 0 1px rgba(225, 37, 27, 0.12);
}

.mb-auth__type-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f5f5f5;
  color: #444;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mb-auth__type.is-selected .mb-auth__type-icon {
  background: rgba(225, 37, 27, 0.1);
  color: var(--auth-red);
}

.mb-auth__type-icon svg {
  width: 18px;
  height: 18px;
}

.mb-auth__type-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.mb-auth__type-copy strong {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--auth-ink);
}

.mb-auth__type-copy small {
  font-size: 0.68rem;
  color: #888;
  line-height: 1.3;
}

.mb-auth__choose-hint {
  margin: 2rem 0 0;
  padding: 1rem 1.1rem;
  border: 1px dashed #e0e0e0;
  border-radius: 10px;
  background: #fafafa;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #666;
  text-align: center;
}

.mb-auth__choose-hint[hidden],
#signup-type-picker[hidden] {
  display: none !important;
}

.mb-auth--subscription #signup-type-picker .mb-auth__title {
  margin: 0 0 0.4rem;
}

.mb-auth--subscription #signup-type-picker .mb-auth__subtitle {
  margin: 0 0 1.1rem;
}

.mb-auth__signup-flow[hidden],
.mb-auth__panel-step[hidden],
.mb-auth__field[hidden] {
  display: none !important;
}

.mb-auth__step-meta {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--auth-red);
}

.mb-auth__panel-title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--auth-ink);
}

.mb-auth__field-label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #444;
}

.mb-auth__field-label span {
  color: var(--auth-red);
}

.mb-auth__optional {
  color: #999 !important;
  font-weight: 500 !important;
}

.mb-auth__hint {
  margin: 0.35rem 0 0;
  font-size: 0.7rem;
  line-height: 1.4;
  color: #888;
}

.mb-auth__select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}

.mb-auth__combo {
  position: relative;
}

.mb-auth__combo-input {
  padding-right: 2.4rem;
}

.mb-auth__combo-toggle {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #888;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mb-auth__combo-toggle:hover {
  color: #444;
  background: #f5f5f5;
}

.mb-auth__combo-toggle svg {
  width: 16px;
  height: 16px;
}

.mb-auth__combo.is-open .mb-auth__combo-toggle svg {
  transform: rotate(180deg);
}

.mb-auth__combo-list {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.mb-auth__combo-list[hidden] {
  display: none !important;
}

.mb-auth__combo-head {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 0;
  padding: 0.55rem 0.85rem;
  background: #4a4a4a;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.mb-auth__combo-option {
  display: block;
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: none;
  background: #fff;
  color: #222;
  font: inherit;
  font-size: 0.86rem;
  text-align: left;
  cursor: pointer;
}

.mb-auth__combo-option:hover,
.mb-auth__combo-option.is-active {
  background: #f3f3f3;
}

.mb-auth__combo-empty {
  padding: 0.75rem 0.85rem;
  font-size: 0.82rem;
  color: #888;
}

.mb-auth__field:has(> .mb-auth__field-label) > .mb-auth__field-icon {
  top: auto;
  bottom: 13px;
  transform: none;
}

.mb-auth__field:has(> .mb-auth__field-label) > .mb-auth__toggle-pass {
  top: auto;
  bottom: 5px;
  transform: none;
}

.mb-auth__form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.mb-auth__form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 0.9rem;
}

.mb-auth__form-grid .mb-auth__field {
  margin: 0;
}

.mb-auth__form-grid .mb-auth__field--full {
  grid-column: 1 / -1;
}

.mb-auth__submit--inline {
  width: auto;
  min-width: 110px;
  padding: 0 1.4rem;
  flex: 0 0 auto;
}

.mb-auth__secondary {
  height: 46px;
  padding: 0 1.25rem;
  border: 1px solid var(--auth-border);
  border-radius: 9px;
  background: #fff;
  color: #333;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.mb-auth__secondary:hover {
  border-color: #ccc;
  background: #fafafa;
}

.mb-auth__progress-head {
  margin: 0 0 0.75rem;
  text-align: center;
}

.mb-auth__choose-plan {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ca3af;
}

.mb-auth__choose-plan.is-done {
  color: #16a34a;
}

.mb-auth__choose-plan-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.7rem;
  font-weight: 800;
}

.mb-auth__progress-note {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #6b7280;
}

.mb-auth__progress-head + .mb-auth__steps {
  margin-top: 0.35rem;
}

/* Progress steps — step 1 turns red after account type is chosen */
.mb-auth__steps {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  position: relative;
  flex-shrink: 0;
}

.mb-auth__steps::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: #e8e8e8;
  z-index: 0;
}

.mb-auth__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  text-align: center;
}

.mb-auth__step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ececec;
  color: #999;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.mb-auth__step-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #999;
  line-height: 1.2;
}

.mb-auth__step.is-active .mb-auth__step-num {
  background: var(--auth-red);
  color: #fff;
}

.mb-auth__step.is-active .mb-auth__step-label {
  color: var(--auth-ink);
  font-weight: 700;
}

.mb-auth__step.is-done .mb-auth__step-num {
  background: var(--auth-red);
  color: #fff;
}

.mb-auth__field {
  position: relative;
  margin-bottom: 0.4rem;
}

.mb-auth__field-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #9a9a9a;
  pointer-events: none;
  z-index: 1;
}

.mb-auth__field-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.mb-auth__input {
  width: 100%;
  height: 40px;
  padding: 0 0.85rem;
  border: 1px solid var(--auth-border);
  border-radius: 9px;
  background: #fff;
  font-family: inherit;
  font-size: 0.84rem;
  color: var(--auth-ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.mb-auth__input--icon {
  padding-left: 2.55rem;
}

.mb-auth__input--pass {
  padding-right: 2.5rem;
}

.mb-auth__input::placeholder {
  color: #aaa;
}

.mb-auth__input:focus {
  border-color: var(--auth-red);
  box-shadow: 0 0 0 3px rgba(225, 37, 27, 0.1);
}

/* Hide browser native password reveal (Edge/IE) so only one eye shows */
.mb-auth__input--pass::-ms-reveal,
.mb-auth__input--pass::-ms-clear {
  display: none;
}

.mb-auth__toggle-pass {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #999;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
}

.mb-auth__toggle-pass:hover {
  color: #555;
}

.mb-auth__toggle-pass svg {
  width: 16px;
  height: 16px;
}

.mb-auth__toggle-pass .mb-auth__eye-hide[hidden],
.mb-auth__toggle-pass .mb-auth__eye-show[hidden] {
  display: none !important;
}

.mb-auth__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.4rem 0 0.65rem;
}

.mb-auth__remember {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #555;
  cursor: pointer;
  user-select: none;
}

.mb-auth__remember input {
  width: 14px;
  height: 14px;
  accent-color: var(--auth-red);
}

.mb-auth__terms {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.65rem 0 0.95rem;
  font-size: 0.76rem;
  color: #555;
  line-height: 1.45;
  cursor: pointer;
}

.mb-auth__terms input {
  margin-top: 0.15rem;
  width: 15px;
  height: 15px;
  accent-color: var(--auth-red);
  flex-shrink: 0;
}

.mb-auth__terms a {
  color: var(--auth-red);
  font-weight: 700;
  text-decoration: none;
}

.mb-auth__terms a:hover {
  text-decoration: underline;
}

.mb-auth__link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--auth-red);
  text-decoration: none;
}

.mb-auth__link:hover {
  text-decoration: underline;
}

.mb-auth__link--red {
  color: var(--auth-red);
}

.mb-auth__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  height: 42px;
  border: none;
  border-radius: 9px;
  background: var(--auth-red);
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.mb-auth__submit:hover {
  background: var(--auth-red-dark);
}

.mb-auth__divider {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.7rem 0;
  color: #999;
  font-size: 0.72rem;
}

.mb-auth__divider::before,
.mb-auth__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ebebeb;
}

.mb-auth__social {
  display: grid;
  gap: 0.5rem;
}

.mb-auth__social--row {
  grid-template-columns: 1fr 1fr;
}

.mb-auth__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 38px;
  border: 1px solid var(--auth-border);
  border-radius: 9px;
  background: #fff;
  color: #333;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.mb-auth__social-btn.is-loading {
  opacity: 0.65;
  pointer-events: none;
}

.mb-auth__social-btn:disabled {
  cursor: wait;
}

.mb-auth__social-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.mb-auth__footer {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--auth-muted);
}

.mb-auth__footer a,
.mb-auth__footer button {
  font-weight: 700;
  color: var(--auth-red);
  text-decoration: none;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
}

.mb-auth__footer a:hover,
.mb-auth__footer button:hover {
  text-decoration: underline;
}

.mb-auth__error {
  display: none;
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 7px;
  background: #fff0ef;
  border: 1px solid #f5cfcb;
  color: #b71c1c;
  font-size: 0.75rem;
  line-height: 1.4;
}

.mb-auth__error.is-visible {
  display: block;
}

.mb-auth__success {
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 7px;
  background: #eef8f0;
  border: 1px solid #cde8d3;
  color: #1b5e20;
  font-size: 0.75rem;
  line-height: 1.4;
}

/* —— Verify —— */
.mb-auth--verify-page .mb-auth-page-blur iframe {
  display: none;
}

.mb-auth--verify-page .mb-auth-page-blur {
  background: #0c0d12;
}

.mb-auth--verify-page .mb-auth-modal--verify,
.mb-auth-modal--verify {
  width: min(920px, calc(100% - 1.5rem));
  height: min(780px, calc(100dvh - 0.75rem));
  max-height: calc(100dvh - 0.75rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  overflow: hidden;
}

.mb-auth--verify-page .mb-auth__panel {
  padding: 0.7rem 1.05rem 0.75rem;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mb-auth--verify-page .mb-auth__panel::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.mb-auth--verify-page .mb-auth__card-top {
  margin-bottom: 0.35rem;
}

.mb-auth--verify-page .mb-auth__verify-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.55rem;
}

.mb-auth--verify-page .mb-auth__verify-icon-mail {
  width: 22px;
  height: 22px;
}

.mb-auth--verify-page .mb-auth__verify-icon-badge {
  width: 18px;
  height: 18px;
}

.mb-auth--verify-page .mb-auth__verify-icon-tick {
  width: 18px;
  height: 18px;
}

.mb-auth--verify-page .mb-auth__verify-title {
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
}

.mb-auth--verify-page .mb-auth__verify-text {
  font-size: 0.78rem;
  margin: 0 0 0.55rem;
}

.mb-auth--verify-page .mb-auth__verify-tip {
  margin: 0 0 0.55rem;
  padding: 0.55rem 0.65rem;
}

.mb-auth--verify-page .mb-auth__verify-tip p {
  font-size: 0.7rem;
}

.mb-auth--verify-page .mb-auth__demo-code {
  margin: 0 auto 0.55rem;
  padding: 0.55rem 0.7rem;
}

.mb-auth--verify-page .mb-auth__demo-code-value {
  font-size: 1.25rem;
  letter-spacing: 0.2em;
}

.mb-auth--verify-page .mb-auth__code {
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.mb-auth--verify-page .mb-auth__code-input {
  height: 46px;
  font-size: 1.05rem;
}

.mb-auth--verify-page .mb-auth__expiry {
  margin: 0 0 0.55rem;
  font-size: 0.74rem;
}

.mb-auth--verify-page .mb-auth__submit {
  height: 40px;
}

.mb-auth--verify-page .mb-auth__resend-wrap {
  margin-top: 0.45rem;
}

.mb-auth--verify-page .mb-auth__resend {
  height: 38px;
}

.mb-auth--verify-page .mb-auth__footer {
  margin-top: 0.55rem;
}

.mb-auth--verify-page .mb-auth__brand-inner {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mb-auth--verify-page .mb-auth__brand-inner::-webkit-scrollbar {
  width: 0;
  display: none;
}

.mb-auth__brand-bottom--verify {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.mb-auth__verify-features {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.mb-auth__verify-features li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: rgba(12, 14, 20, 0.55);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
}

.mb-auth__verify-feature-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mb-auth__verify-feature-icon img {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}

.mb-auth__verify-safe {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
  font-size: 0.7rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}

.mb-auth__verify-safe-icon {
  flex: 0 0 auto;
  margin-top: 0.05rem;
}

.mb-auth__verify-safe-icon img {
  width: 14px;
  height: 14px;
  display: block;
}

.mb-auth__panel--verify {
  align-items: stretch;
}

.mb-auth__verify-body {
  width: 100%;
  max-width: 400px;
  margin: 0.35rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.mb-auth__verify-icon {
  width: 64px;
  height: 64px;
  margin: 0.15rem auto 0.85rem;
  border-radius: 50%;
  background: rgba(230, 0, 0, 0.1);
  color: var(--auth-red);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  flex-shrink: 0;
  transform-origin: center center;
  animation: mb-verify-circle-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mb-auth__verify-icon-mail {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
  transform-origin: center center;
  animation: mb-verify-mail-pop 0.55s cubic-bezier(0.34, 1.45, 0.64, 1) 0.18s both;
}

.mb-auth__verify-icon-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 0 0 2px #fff;
  transform-origin: center center;
  animation: mb-verify-tick-pop 0.5s cubic-bezier(0.34, 1.55, 0.64, 1) 0.48s both;
}

.mb-auth__verify-icon-tick {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

@keyframes mb-verify-circle-in {
  from {
    opacity: 0;
    transform: scale(0.55);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes mb-verify-mail-pop {
  0% {
    opacity: 0;
    transform: scale(0.2) translateY(8px);
  }
  70% {
    opacity: 1;
    transform: scale(1.12) translateY(-1px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes mb-verify-tick-pop {
  0% {
    opacity: 0;
    transform: scale(0) translate(4px, 4px);
  }
  65% {
    opacity: 1;
    transform: scale(1.2) translate(0, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate(0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mb-auth__verify-icon,
  .mb-auth__verify-icon-mail,
  .mb-auth__verify-icon-badge {
    animation: none;
  }
}

.mb-auth__verify-title {
  text-align: center;
  margin: 0 0 0.55rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--auth-ink);
}

.mb-auth__verify-text {
  text-align: center;
  margin: 0 0 0.75rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--auth-muted);
}

.mb-auth__verify-text strong {
  color: var(--auth-ink);
  word-break: break-all;
}

.mb-auth__verify-provider {
  margin: 0 0 0.65rem;
  font-size: 0.74rem;
  line-height: 1.45;
  color: #888;
  text-align: center;
}

.mb-auth__verify-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  width: 100%;
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: rgba(230, 0, 0, 0.06);
  border: 1px solid rgba(230, 0, 0, 0.16);
  text-align: left;
}

.mb-auth__verify-tip-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--auth-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  font-style: italic;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 0.05rem;
}

.mb-auth__verify-tip p {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: #555;
}

.mb-auth__verify-tip strong {
  color: var(--auth-red);
  font-weight: 700;
}

.mb-auth__panel--verify .mb-auth__submit {
  margin-top: 0.25rem;
}

.mb-auth__panel--verify .mb-auth__footer {
  margin-top: 0.85rem;
}

.mb-auth__demo-code {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto 1rem;
  padding: 0.85rem 1rem;
  border: 1px dashed rgba(225, 37, 27, 0.35);
  border-radius: 10px;
  background: rgba(225, 37, 27, 0.04);
  text-align: center;
}

.mb-auth__demo-code[hidden] {
  display: none !important;
}

.mb-auth__demo-code-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  color: #888;
  line-height: 1.4;
}

.mb-auth__demo-code-value {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--auth-red);
}

.mb-auth__code {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(0.18rem, 1.4vw, 0.45rem);
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.85rem;
}

.mb-auth__code-input {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  max-width: 46px;
  height: 48px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  text-align: center;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  color: #bbb;
  outline: none;
  transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.mb-auth__code-input:focus,
.mb-auth__code-input.has-value {
  border-color: var(--auth-red);
  color: var(--auth-red);
  box-shadow: 0 0 0 3px rgba(225, 37, 27, 0.1);
}

.mb-auth__expiry.is-expired,
.mb-auth__expiry.is-expired strong {
  color: var(--auth-red);
}

.mb-auth__expiry svg {
  width: 14px;
  height: 14px;
  color: #888;
}

.mb-auth__expiry strong {
  color: var(--auth-red);
  font-variant-numeric: tabular-nums;
}

.mb-auth__resend-wrap {
  margin-top: 0.95rem;
}

.mb-auth__resend-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.65rem;
  color: #999;
  font-size: 0.72rem;
}

.mb-auth__resend-label::before,
.mb-auth__resend-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ebebeb;
}

.mb-auth__resend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  height: 40px;
  border: 1.5px solid var(--auth-red);
  border-radius: 8px;
  background: #fff;
  color: var(--auth-red);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.mb-auth__resend:hover {
  background: rgba(225, 37, 27, 0.05);
}

.mb-auth__resend svg {
  width: 14px;
  height: 14px;
}

.mb-auth__view[hidden] {
  display: none !important;
}

@media (max-width: 800px) {
  .mb-auth-overlay {
    padding: 0.5rem;
    align-items: flex-start;
  }

  .mb-auth--payment-page .mb-auth-overlay {
    overflow-y: auto;
  }

  .mb-auth--payment-page .mb-auth-modal--payment {
    width: min(520px, 100%);
    height: auto;
    max-height: none;
    grid-template-columns: 1fr;
  }

  .mb-auth--payment-page .mb-auth__brand {
    display: none;
  }

  .mb-auth--payment-page .mb-auth__panel--payment {
    padding: 0.85rem 1rem 1rem;
    overflow: visible;
  }

  .mb-pay__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .mb-pay__row strong {
    text-align: left;
    word-break: break-word;
  }

  .mb-pay__method {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: start;
  }

  .mb-pay__method-copy small {
    margin-top: 0.3rem;
  }

  .mb-pay__method-chevron {
    align-self: center;
  }

  .mb-auth--verify-page .mb-auth__brand {
    display: none;
  }

  .mb-auth--verify-page .mb-auth-modal--verify {
    width: min(460px, 100%);
    height: auto;
    grid-template-columns: 1fr;
  }

  .mb-auth--standard .mb-auth-modal {
    width: min(460px, 100%);
    height: auto;
  }

  .mb-auth--standard .mb-auth__brand {
    display: none;
  }

  .mb-auth-modal,
  .mb-auth-modal--verify {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    width: min(460px, 100%);
  }

  .mb-auth__brand {
    min-height: 280px;
    height: auto;
    padding: 1.15rem;
  }

  .mb-auth__panel {
    height: auto;
  }

  .mb-auth__signup-stage--left .mb-auth__account-types {
    grid-template-columns: 1fr 1fr;
  }

  .mb-auth__form-grid {
    grid-template-columns: 1fr;
  }

  .mb-auth__account-types {
    grid-template-columns: 1fr;
  }

  .mb-auth__steps {
    gap: 0.15rem;
  }

  .mb-auth__step-label {
    font-size: 0.58rem;
  }

  .mb-auth__social--row {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 820px) and (min-width: 801px) {
  .mb-auth-modal {
    height: calc(100dvh - 1rem);
    max-height: calc(100dvh - 1rem);
  }

  .mb-auth__panel {
    padding: 0.75rem 1.1rem 0.85rem;
  }

  .mb-auth__card-top {
    margin-bottom: 0.5rem;
  }

  .mb-auth__steps {
    margin-bottom: 0.55rem;
  }

  .mb-auth__subtitle {
    margin-bottom: 0.55rem;
  }

  .mb-auth__field {
    margin-bottom: 0.3rem;
  }

  .mb-auth__input {
    height: 36px;
    font-size: 0.8rem;
  }

  .mb-auth__submit {
    height: 38px;
    font-size: 0.84rem;
  }

  .mb-auth__social-btn {
    height: 34px;
    font-size: 0.74rem;
  }

  .mb-auth__divider {
    margin: 0.5rem 0;
  }

  .mb-auth__brand {
    padding: 0.95rem 1rem 1rem;
  }

  .mb-auth__page-title {
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  }
}

@media (max-width: 420px) {
  .mb-auth--payment-page .mb-auth-overlay {
    padding: 0.35rem;
  }

  .mb-auth--payment-page .mb-auth__panel--payment {
    padding: 0.75rem;
  }

  .mb-pay__summary,
  .mb-pay__card-form {
    padding: 0.8rem 0.85rem;
  }

  .mb-pay__card-row {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .mb-pay__method {
    grid-template-columns: auto 1fr auto;
    gap: 0.55rem;
    padding: 0.75rem 0.8rem;
  }

  .mb-pay__method-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 36px;
    height: 36px;
  }

  .mb-pay__radio {
    display: none;
  }

  .mb-pay__method-copy {
    grid-column: 2;
  }

  .mb-pay__method-chevron {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .mb-pay__select-hint,
  .mb-pay__secure,
  .mb-pay__note,
  .mb-auth__subtitle,
  .mb-auth__footer {
    font-size: 0.74rem;
  }

  .mb-auth__panel-title {
    font-size: 1rem;
  }

  .mb-pay-redirect__card {
    padding: 1.35rem 1rem;
  }

  .mb-auth__step-label {
    font-size: 0.56rem;
  }

  .mb-auth__code-input {
    height: 42px;
    font-size: 1rem;
  }

  .mb-auth__card-actions .mb-auth__help {
    display: none;
  }

  .mb-auth__trust-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .mb-auth--standard .mb-auth__social--row {
    grid-template-columns: 1fr;
  }
}
