/* Original isometric pixel city, with resolution-independent geometry. */
.md-login-abstract-background {
  position:absolute;
  inset:0;
  z-index:-2;
  pointer-events:none;
  user-select:none;
  background:url('/assets/manodata/institutions-isometric-v9.svg') center bottom/100% auto no-repeat;
  filter:grayscale(1);
  opacity:.82;
}
html:root body.md-auth-page {position:relative;min-height:max(900px,100dvh);}
html:root body.md-auth-page .md-auth-main {padding-bottom:250px;}
/* The fingerprint inherits the shared site-wide appearance. */
html:root[data-theme=dark] .md-login-abstract-background {
  filter:grayscale(1) invert(1);
  mix-blend-mode:screen;
  opacity:.55;
}
@media(max-width:900px) {
  html:root body.md-auth-page {min-height:100svh;}
  html:root body.md-auth-page .md-auth-main {padding-bottom:40px;}
  .md-login-abstract-background {
    /* Keep the city alongside the form, not in an extra section below it.
       Small viewport units keep its position stable while the keyboard opens. */
    position:fixed;
    bottom:auto;
    height:100svh;
    background-size:100% auto;
    background-position:center 48%;
    opacity:.5;
    mask-image:linear-gradient(to right,black 8%,#0005 30%,#0005 70%,black 92%);
  }
  html:root[data-theme=dark] .md-login-abstract-background {opacity:.3;}
}
@media print {.md-login-abstract-background {display:none;}}
