/* MeshMelo v145 — mobile login header: language auto-detected, clean header. */
@media (max-width: 700px) {
  /* Responsive fallback for phones whose browser requests desktop HTML. */
  html body.mm-auth-page #mmAuthV48 .mm104-auth-language {
    display: none !important;
  }
  html body.mm-auth-page #mmAuthV48 .mm-auth-top {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    align-items: center !important;
    justify-content: initial !important;
    width: 100% !important;
    min-height: 44px !important;
    column-gap: 12px !important;
  }
  html body.mm-auth-page #mmAuthV48 .mm-auth-top .mm-auth-brand {
    display: inline-flex !important;
    align-items: center !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: clamp(20px, 5.4vw, 24px) !important;
    line-height: 1.2 !important;
    letter-spacing: -.8px !important;
  }
  html body.mm-auth-page #mmAuthV48 .mm-auth-top .mm-auth-home {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    text-align: right !important;
    line-height: 1.3 !important;
    padding: 8px 0 !important;
    font-size: clamp(12px, 3.1vw, 14px) !important;
  }
  html body.mm-auth-page #mmAuthV48 .mm-auth-top .mm-auth-home > span {
    display: inline-block !important;
    flex: none !important;
  }
}
