/* McWayGo - Prueba de concepto. Código desechable. */
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; font-family: system-ui, sans-serif; background: #0f172a; color: #f1f5f9; }
#mapa { position: absolute; inset: 0; }
#barra {
  position: absolute; top: 0; left: 0; right: 0; padding: 8px 12px;
  background: rgba(15, 23, 42, .88); display: flex; gap: 10px; align-items: center; font-size: 14px;
}
.etiqueta { background: #f59e0b; color: #111; border-radius: 4px; padding: 1px 6px; font-size: 12px; }
#estado-datos { margin-left: auto; opacity: .8; }
#panel {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(15, 23, 42, .94);
}
.fila { display: flex; gap: 8px; margin-bottom: 8px; }
.dato { flex: 1; text-align: center; background: #1e293b; border-radius: 8px; padding: 6px; }
.dato span { display: block; font-size: 30px; font-weight: 700; }
.dato small { opacity: .7; }
.botones button {
  flex: 1; padding: 12px 6px; font-size: 15px; border: 0; border-radius: 8px;
  background: #2563eb; color: #fff; font-weight: 600;
}
#btn-simular { background: #475569; }
#btn-parar { background: #b91c1c; }
#panel .botones button:disabled { background: #334155; color: #94a3b8; }
.ajuste { font-size: 13px; opacity: .85; }
#nota { font-size: 11px; opacity: .6; margin: 6px 0 0; }
.aviso { border-radius: 10px; padding: 10px; margin-bottom: 8px; background: #dc2626; text-align: center; }
.aviso.tramo { background: #7c3aed; }
.aviso.oculto { display: none; }
#aviso-titulo { font-size: 22px; font-weight: 800; }
#aviso-detalle { font-size: 15px; }
