html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0F1535;
  /* Niente selezione, lente d'ingrandimento e "tira per aggiornare": l'app e' a schermo intero. */
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
/* I campi di testo (anche quello nascosto che Compose usa per la tastiera) devono poter essere
   selezionati: su iOS un campo con user-select: none ereditato dal body non prende il fuoco e la
   tastiera non si apre. */
input, textarea, [contenteditable], [contenteditable] * {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
#aila-splash {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #0F1535;
  color: #fff;
  font: 700 34px/1 system-ui, -apple-system, sans-serif;
  letter-spacing: 6px;
  z-index: 10;
  transition: opacity 0.25s ease;
}
#aila-splash.done { opacity: 0; pointer-events: none; }
#aila-splash.startup-slow { z-index: 2147483647; }
#aila-startup-recovery {
  max-width: 320px;
  padding: 0 24px;
  text-align: center;
  font: 16px/1.5 system-ui, -apple-system, sans-serif;
  letter-spacing: normal;
}
#aila-startup-retry {
  border: 0;
  border-radius: 12px;
  padding: 12px 24px;
  font: inherit;
  background: #fff;
  color: #16204A;
  cursor: pointer;
}
