/* CoroEsperanza — la pantalla de carga y la página de error · © 2026 Fedes10 */
html, body {
  margin: 0;
  height: 100%;
  background: #FFFFFF;
  color: #111111;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  html, body { background: #121414; color: #F2F2F2; }
}
#arranque {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  z-index: 10;
}
#arranque img {
  width: min(300px, 75vw);
  height: auto;
}
@media (prefers-color-scheme: dark) {
  /* El logo lleva letras negras: en oscuro, sobre una tarjeta blanca. */
  #arranque img { background: #FFFFFF; border-radius: 16px; padding: 12px; }
}
.cargando { color: #4E6E6A; font-size: 16px; margin: 0; }
@media (prefers-color-scheme: dark) { .cargando { color: #9DB9B5; } }
.sin-js .cargando { display: none; }
.sin-js-aviso, .fallo-titulo { font-size: 18px; font-weight: 600; margin: 0; }
.fallo-texto { margin: 4px 0 12px; }
.fallo-boton {
  display: inline-block;
  background: #7C9C98;
  color: #111111;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.oculto-visual {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.pagina-error { position: static; min-height: 100%; box-sizing: border-box; }
