.email-verification-label-slot {
  position: relative;
}

/* Preserve the previous label's footprint in the responsive button layout. */
.email-verification-label-slot::before {
  content: attr(data-width-label);
  visibility: hidden;
}

.email-verification-label-fit {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 50%;
  transform: translateY(-50%);
}

.email-verification-label {
  display: block;
  line-height: 1.14;
  text-align: center;
  white-space: nowrap;
}

/* Fit the longer translations into the existing button on narrow screens. */
:root:lang(bg) { --email-label-width: 13.1; }
:root:lang(mk) { --email-label-width: 10.7; }
:root:lang(ru) { --email-label-width: 11.9; }
:root:lang(uk) { --email-label-width: 11.7; }

@media (max-width: 375px) {
  :root:is(:lang(bg), :lang(mk), :lang(ru), :lang(uk)) .mi-online-editorial .form-entry-actions .email-verification-label-fit {
    container-type: inline-size;
    inset-inline-end: -9px;
  }

  :root:is(:lang(bg), :lang(mk), :lang(ru), :lang(uk)) .mi-online-editorial .form-entry-actions .email-verification-label {
    font-size: min(1em, calc(100cqi / var(--email-label-width)));
  }
}
