/* Reserve the submit button's resting height independently of its tactile
   borders: 1.15em label + two 16px paddings + 4px depth. A collapsed lower
   edge must never pull the login link and the form's bottom edge upwards.
   A minimum (rather than a fixed height) still allows larger content to grow. */
html:root body.tw-register #registrationForm .submit-btn {
  min-height: calc(1.15em + 36px) !important;
}

/* The shared tactile engine normally compresses a button's lower edge into a
   transparent top spacer. On the full-width registration action that moves the
   icon and label while the OAuth navigation is pending, making the whole form
   appear to jump. Preserve its complete neutral 1/4 contour in every pressed
   state; colour/filter feedback still communicates the interaction. */
html:root body.tw-register:not(#registration-google-stability#registration-google-stability#registration-google-stability#registration-google-stability#registration-google-stability#registration-google-stability#registration-google-stability#registration-google-stability#registration-google-stability) .social-google-btn:is(
  :active,
  .is-site-tactile-pressed,
  .is-site-action-pending
) {
  border-top-width: 1px !important;
  border-bottom-width: 4px !important;
}
