/* SUP87 additive and auth-scoped fix. Do not modify full bilingual corporate marks or SVG character animation. */
#auth .mh81-office-portal::before,
#auth .mh75-scene-gate::before {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  box-sizing: border-box !important;
  inset: 17% 12% !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  background: transparent url("/assets/mh-solo-mark-85.svg?v=20261021-85") center center/contain no-repeat !important;
  transform: none !important;
}
html body #auth.screen.auth:not(.hidden) .auth-art {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  justify-items: center !important;
  align-content: center !important;
  align-items: center !important;
  column-gap: clamp(8px, 1.5vw, 20px) !important;
  row-gap: clamp(4px, 1vh, 12px) !important;
  box-sizing: border-box !important;
}
html body #auth.screen.auth:not(.hidden) .auth-art > img.mh85-office-auth-logo {
  display: block !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  width: clamp(76px, 11vw, 172px) !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 1172/864 !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
}
html body #auth.screen.auth:not(.hidden) .auth-art > img.mh-group-auth-logo {
  display: block !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: start !important;
  width: clamp(70px, 10.5vw, 155px) !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
}
html body #auth.screen.auth:not(.hidden) .auth-art > h1#mhGroupAuthTitle {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  justify-self: center !important;
  text-align: center !important;
  margin: 0 !important;
  max-width: 100% !important;
}
@media (max-width: 779px) {
  html body #auth.screen.auth:not(.hidden) .auth-art {
    min-height: 160px !important;
    max-height: none !important;
    height: auto !important;
    padding: 13px 14px !important;
  }
  html body #auth.screen.auth:not(.hidden) .auth-art > img.mh85-office-auth-logo {
    width: clamp(90px, 24vw, 140px) !important;
  }
  html body #auth.screen.auth:not(.hidden) .auth-art > img.mh-group-auth-logo {
    width: clamp(78px, 20vw, 122px) !important;
  }
}
@media (max-width: 400px) {
  html body #auth.screen.auth:not(.hidden) .auth-art {
    padding: 11px 12px !important;
    min-height: 148px !important;
  }
  html body #auth.screen.auth:not(.hidden) .auth-art > img.mh85-office-auth-logo {
    width: min(100%, 96px) !important;
  }
  html body #auth.screen.auth:not(.hidden) .auth-art > img.mh-group-auth-logo {
    width: min(100%, 82px) !important;
  }
  html body #auth.screen.auth:not(.hidden) .auth-art > h1#mhGroupAuthTitle {
    font-size: clamp(15px, 4vw, 19px) !important;
    line-height: 1.4 !important;
  }
}

/* Tablet cinematic strip was 142px tall while inherited SUP83 artwork reached 205px and crossed its top. */
@media (min-width: 561px) and (max-width: 829px) {
  html body #auth.auth-wrap:not(.hidden) .mh75-scene .mh75-scene-gate {
    position: absolute !important;
    top: auto !important;
    bottom: 12px !important;
    right: 5% !important;
    left: auto !important;
    height: clamp(80px, 11vw, 105px) !important;
    width: clamp(62px, 9vw, 84px) !important;
    max-height: calc(100% - 26px) !important;
    box-sizing: border-box !important;
  }
  html body #auth.auth-wrap:not(.hidden) .mh75-scene .mh75-character {
    position: absolute !important;
    left: 48% !important;
    right: auto !important;
    top: auto !important;
    bottom: 8px !important;
    width: clamp(62px, 10vw, 92px) !important;
    height: clamp(93px, 13vw, 116px) !important;
    max-height: calc(100% - 13px) !important;
  }
  html body #auth.auth-wrap:not(.hidden) .mh75-scene .mh75-scene-top {
    left: 14px !important;
    right: auto !important;
    top: 20px !important;
    width: 42% !important;
  }
}
