/* Modo demo: franja de Mainlit, pie legal y aviso de muestra vencida (colores de brand/). No es parte del diseño del cliente.
   Solo se enlaza cuando MODO_DEMO está activo. Escritorio: frase completa arriba. Celular: una línea fija abajo; el cuerpo deja su alto libre.
   Si la demo tiene su propia barra fija abajo, súbela con bottom: var(--mf-alto). */
:root { --mf-alto: 2.5rem; }
.mf, .mf-pie, .mf-v { font: 500 0.875rem/1.3 system-ui, sans-serif; letter-spacing: 0; text-transform: none; }
.mf { background: #1e2738; color: #edf0f4; }
.mf-p { margin: 0; padding: 0.5rem 1rem; text-align: center; }
.mf-a { color: #f2cd86; font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; margin-left: 0.5rem; white-space: nowrap; }
.mf-corta { display: none; }
.mf-pie { margin: 0; padding: 0.75rem 1rem; background: #1e2738; color: #edf0f4; text-align: center; position: relative; z-index: 1; }
@media (max-width: 899px) {
  body { padding-bottom: var(--mf-alto); }
  .mf { position: fixed; inset: auto 0 0 0; z-index: 50; height: var(--mf-alto); display: flex; align-items: center; justify-content: center; }
  .mf-p { padding: 0 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mf-larga { display: none; }
  .mf-corta { display: inline; }
}
/* Muestra vencida: solo queda el aviso */
html.mf-vencida body > *:not(.mf-v) { display: none !important; }
html.mf-vencida body { padding: 0; background: #1e2738; }
.mf-v { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 2rem 1rem; background: #1e2738; color: #edf0f4; text-align: center; }
.mf-v p { margin: 0; font-size: 1.5rem; font-weight: 600; }
.mf-v a { color: #1e2738; background: #f2cd86; font-weight: 600; text-decoration: none; padding: 0.75rem 1.25rem; border-radius: 12px; }

/* "Mainlit" enlazado a la web de Mainlit: mismo color del texto, subrayado para distinguirlo sin depender del color */
.mf-m { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
