/* Maintenance curtain: language picker bottom-left (footer switcher look). */
.uf-maint .uf-maint-lang {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 5;
  touch-action: manipulation;
}

.uf-maint .uf-maint-lang .language-switcher__trigger {
  border-radius: 999px;
  padding: 8px 12px 8px 10px;
  background: rgb(10 8 12 / 52%);
}

/* No support chat over the curtain (admin peek keeps it). */
html.uf-maint-boot:not(.uf-admin-peek) .crisp-client,
html:not(.uf-admin-peek) body:has(.uf-maint) .crisp-client {
  display: none !important;
}

/* Plain boot fallback hides as soon as the real curtain renders. */
html body:has(.uf-maint) #uf-maint-boot-fallback#uf-maint-boot-fallback {
  display: none !important;
}
